183a28a34a2184395e14d4682fbb425b5791eac6 |
21-Feb-2013 |
Andreas Boll <andreas.boll.dev@gmail.com> |
mesa: Bump version to 9.0.3
ain/version.h
|
be7048477a2989bd11ab590c65ea1515f764a86c |
14-Feb-2013 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Set up all samplers even if samplers are sparsely used. In GLSL, sampler indices are allocated contiguously from 0. But in the case of ARB_fragment_program (and possibly fixed function), an app that uses texture 0 and 2 will use sampler indices 0 and 2, so we were only allocating space for samplers 0 and 1 and setting up sampler 0. We would read garbage for sampler 2, resulting in flickering textures and an angry simulator. Fixes bad rendering in 0 A.D. and ETQW. This was fixed for pre-gen7 by 28f4be9eb91b12a2c6b1db6660cca71a98c486ec Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=25201 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58680 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for stable branches. (cherry picked from commit 5bb05c6e6d596d66c177e42a36128d2ca2e300aa)
rivers/dri/i965/gen7_sampler_state.c
|
4e35ffa762d763820b7defc14af564b2a02c61c8 |
03-Oct-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Try again when we've successfully spilled a reg. Before, we'd spill one reg, then continue on without actually register allocating, then assertion fail when we tried to use a vgrf number as a register number. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit d4bcc6591812ebe72a363cf98371de5e5016f481) This should have been picked when 9237f0e was picked. Bugzill: https://bugs.freedesktop.org/show_bug.cgi?id=59700
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
15693b7925ccdd45bbb60b375ce6b7a3f60bfa3e |
01-Dec-2012 |
Brian Paul <brian.e.paul@gmail.com> |
nouveau: Fix build. Fixes nouveau build failure introduced at c73245882c7ff1277b190b97f093f7b423a22f10. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57746 Signed-off-by: Vinson Lee <vlee@freedesktop.org> (cherry picked from commit a17750b6884939a36947c76a30d3077f1488f943)
rivers/dri/nouveau/nouveau_fbo.c
|
dddc5df5192931f40da4f9a4a3b7b59438bc908a |
02-Feb-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix the SF Vertex URB Read Length calculation for Gen7 platforms. Ivybridge doesn't appear to have the same errata as Sandybridge; no corruption was observed by setting it to more than the minimal correct value. It's possible that we were simply lucky, since the URB entries are 1024-bit on Ivybridge vs. 512-bit Sandybridge. Or perhaps the underlying hardware issue is fixed. Either way, we may as well program the minimum value since it's now readily available, likely to be more efficient, and possibly more correct. v2: Use GEN7_SBE_* defines rather than GEN6_SF_*. (A copy and paste mistake.) They're the same, but using the right names is better. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 44aa2e15f692965be76229e67f919bf967fc7d67)
rivers/dri/i965/gen7_sf_state.c
|
e11ef54a92843be70850ae0244169b5b9708ecab |
02-Feb-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix the SF Vertex URB Read Length calculation for Sandybridge. (This commit message was primarily written by Paul Berry, who explained what's going on far better than I would have.) Previous to this patch, we thought that the only restrictions on 3DSTATE_SF's URB read length were (a) it needs to be large enough to read all the VUE data that the SF needs, and (b) it can't be so large that it tries to read VUE data that doesn't exist. Since the VUE map already tells us how much VUE data exists, we didn't bother worrying about restriction (a); we just did the easy thing and programmed the read length to satisfy restriction (b). However, we didn't notice this erratum in the hardware docs: "[errata] Corruption/Hang possible if length programmed larger than recommended". Judging by the context surrounding this erratum, it's pretty clear that it means "URB read length must be exactly the size necessary to read all the VUE data that the SF needs, and no larger". Which means that we can't program the read length based on restriction (b)--we have to program it based on restriction (a). The URB read size needs to precisely match the amount of data that the SF consumes; it doesn't work to simply base it on the size of the VUE. Thankfully, the PRM contains the precise formula the hardware expects. Fixes random UI corruption in Steam's "Big Picture Mode", random terrain corruption in PlaneShift, and Piglit's fbo-5-varyings test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56920 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60172 Tested-by: Jordan Justen <jordan.l.justen@intel.com> (v1/Piglit) Tested-by: Martin Steigerwald <martin@lichtvoll.de> (PlaneShift) Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 09fbc298283b41cf3f25d75842a6d8ab4952dca1)
rivers/dri/i965/gen6_sf_state.c
|
2de8874ec37bfc548de2e16bbefa51341e25d340 |
02-Feb-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Compute the maximum SF source attribute. The maximum SF source attribute is necessary to compute the Vertex URB read length properly, which will be done in the next commit. Reviewed-by: Paul Berry <stereotype441@gmail.com> Tested-by: Martin Steigerwald <martin@lichtvoll.de> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 5e9bc7bd1290b0c34be90e9a0b8298ebe4b4b131)
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
d47020b6d4d810ac3f20c1e47c90d9de3fb8a53a |
02-Feb-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Refactor Gen6+ SF attribute override code. The next patch will benefit from easy access to the source attribute number and whether or not we're swizzling. It doesn't want the final attr_override DWord form, however. Reviewed-by: Paul Berry <stereotype441@gmail.com> Tested-by: Martin Steigerwald <martin@lichtvoll.de> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b3efc5bea85a84493a4b81eea0d3c3acfe42813f)
rivers/dri/i965/gen6_sf_state.c
|
cef854dba71dc1af27b0e32cc026e9a54bc45473 |
11-Feb-2013 |
Brian Paul <brianp@vmware.com> |
mesa: don't expose IBM_rasterpos_clip in a core context glRasterPos doesn't exist in the core profile. NOTE: This is a candidate for the stable branches (9.0 and 9.1). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit cc5fdaf2dce4465b09653f4bf3113674fb346646) Conflicts: src/mesa/main/extensions.c
ain/extensions.c
|
adcf0a0cf464fb27762ae04d599f50f778c32481 |
28-Jan-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: only enable GL_EXT_framebuffer_multisample if GL_MAX_SAMPLES >= 2 We never really have multisampling with one sample per pixel. See also http://bugs.freedesktop.org/show_bug.cgi?id=59873 Note: This is a candidate for the 9.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit c80bacba2ed88bccc92ab7a7151e14ad32729249)
tate_tracker/st_extensions.c
|
663e41547a2ff2ada167c078922b63aaf9a3f9fb |
11-Feb-2013 |
Brian Paul <brianp@vmware.com> |
mesa: don't enable GL_EXT_framebuffer_multisample for software drivers Note: This is a candidate for the 9.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit 8f3c81d0182b10d99976dd0a80f10eebebf54017) Conflicts: src/mesa/main/extensions.c
ain/extensions.c
|
c760677c85a1019eef67b2ce0ce97e8218918f44 |
24-Jan-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: do proper error checking for u_upload_alloc() calls We weren't properly checking the return value of these calls (and calls to u_upload_data()) to detect OOM errors. Note: This is a candidate for the 9.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit 8c3f9ea07392177b6de9d946d40f97128fa51632)
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_draw.c
|
d32aff91c1c42b3f8bfb6c4109a8ea79c1f46d8d |
03-Dec-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: add null pointer check in st_renderbuffer_delete() In my testing I haven't found any cases where we get a null context pointer, but it might still be possible. Check for null just to be safe. Note: This is a candidate for the stable branches. (cherry picked from commit a4311054c78536acba0c3006c5d2805e182fa483)
tate_tracker/st_cb_fbo.c
|
d4fc90c129389de2b5ac6e2ac1561cca7e1f1185 |
01-Dec-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove warning message in _mesa_reference_renderbuffer_() We were warning when there was no current context and we're about to delete a renderbuffer, but that happens fairly often and isn't really a problem. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=57754 Note: This is a candidate for the stable branches. Tested-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 006918c0db77e945ac56b15bc64eba502b86d56c)
ain/renderbuffer.c
|
527b3b8555f695d5b349d00eb1e63208b797bf2c |
30-Nov-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix context use-after-free problem in st_renderbuffer_delete() The use-after-free happened when the renderbuffer was shared by multiple contexts and we tried to delete the renderbuffer using a context which was previously deleted. Note: this is a candidate for the stable branches. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit 4cedb65a43ae81c7ac71e631c854b7404dd2b61b)
tate_tracker/st_cb_fbo.c
|
9d4ab9a663d4088ec553edaae0eeafb746d2490d |
11-Feb-2013 |
Brian Paul <brianp@vmware.com> |
mesa: pass context parameter to gl_renderbuffer::Delete() We sometimes need a rendering context when deleting renderbuffers. Pass it explicitly instead of trying to grab a current context (which might be NULL). The next patch will make use of this. Note: this is a candidate for the stable branches. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit c73245882c7ff1277b190b97f093f7b423a22f10) Conflicts: src/mesa/swrast/s_renderbuffer.c
rivers/dri/intel/intel_fbo.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/swrast/swrast.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_buffer.c
ain/fbobject.c
ain/mtypes.h
ain/renderbuffer.c
ain/renderbuffer.h
ain/shared.c
tate_tracker/st_cb_fbo.c
wrast/s_renderbuffer.c
wrast/s_texrender.c
|
dca04373c2efb177dbb7dca3ad2b57cb36b2ebe6 |
30-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix-up and use _mesa_delete_renderbuffer() _mesa_delete_renderbuffer() should free the mutex (though that may be a no-op) and then free the renderbuffer object itself. Subclasses of gl_renderbuffer can use this function too. Reviewed-by: José Fonseca <jfonseca@vmware.com> (cherry picked from commit 8472bb4508515cf0f717344ef5cc863b6e97e56a)
rivers/dri/intel/intel_fbo.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/swrast/swrast.c
ain/renderbuffer.c
tate_tracker/st_cb_fbo.c
wrast/s_renderbuffer.c
|
d2d3cd2be78022e585b4a155d742d346471453d0 |
26-Jan-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: set ctx->Const.MaxSamples = 0, not 1 The gallium docs for pipe_screen::is_format_supported() says that samples==0 or samples==1 both mean that multisampling is not supported. Return GL_MAX_SAMPLES==0 instead of 1 for consistency with other drivers. Note: This is a candidate for the 9.0 branch. Reviewed-by: Marek Olšák <maraeo@gmail.com> (cherry picked from commit d60da27273d2cdb68bc32cae2ca66718dab15f27)
tate_tracker/st_extensions.c
|
f4e33c551df241bb07a457c67ed515fdad72b5b4 |
26-Jan-2013 |
Brian Paul <brianp@vmware.com> |
xlib: use _mesa_generate_mipmap() for mipmap generation, not meta The swrast fragment program interpreter has trouble computing the right texture LOD because it doesn't have easy access to input derivatives. This causes the GLSL-based meta generate mipmap code to fetch texels from the wrong mipmap level. One possible fix would be to set the GL_TEXTURE_MIN/MAX_LOD parameters to limit sampling from the right level. But let's just use the _mesa_generate_mipmap() fallback since it's a lot faster than using the fragment shader interpreter. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=54240 Note: This is a candidate for the 9.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com> (cherry picked from commit 89551ae04f4cf994c0f7f2ac3aef7e1c57936a29)
rivers/x11/xm_dd.c
|
8d38c7229827cf76a29f942725e1d907fd335dc1 |
26-Jan-2013 |
Brian Paul <brianp@vmware.com> |
osmesa: use _mesa_generate_mipmap() for mipmap generation, not meta See previous commit for more info. Note: This is a candidate for the 9.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com> (cherry picked from commit 2180f3297285e96d7b69e1cef4414461ba42b0d2)
rivers/osmesa/osmesa.c
|
3fa0423c0230154c80d8f45d3232acc10b6e2014 |
25-Jan-2013 |
Brian Paul <brianp@vmware.com> |
vbo: add a null pointer check to handle OOM instead of crashing Note: This is a candidate for the 9.0 branch. (cherry picked from commit 7a89f08a22eb83ed2f0c51e516397d6415e64a3d)
bo/vbo_exec_api.c
|
998f402af5b37aadc6dc8adcc19f7b6428ada007 |
23-Jan-2013 |
Brian Paul <brianp@vmware.com> |
mesa: use GLbitfield64 when copying program inputs Note: This is a candidate for the 9.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com> (cherry picked from commit ccbb479f4090948ed3765495192332ebc4cf1f4f)
rogram/program.c
|
c10c3eab4c9d8617bb12dc5958eb9cfe06cc2e4d |
04-Jan-2013 |
Adam Jackson <ajax@redhat.com> |
r200: Fix probable thinko in r200EmitArrays Effectively this path would always assert. Move the break statement to the (probable) intended place. Note: This is a candidate for the stable branches. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> (cherry picked from commit 06f3a1f792e5f280c8e83581622b2f4bab811720)
rivers/dri/r200/r200_maos_arrays.c
|
2cde1e592e404bd382ee392449673dbb6c67b034 |
27-Dec-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
unpack: support unpacking MESA_FORMAT_ARGB2101010 Note: This is a candidate for the stable branches. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 2ace406b1fa502219d353e5d259d1c4bcd5633a5)
ain/format_unpack.c
|
938b156d824d2dd34eea9247e0efc4467a3fc804 |
04-Jan-2013 |
Brian Paul <brianp@vmware.com> |
xlib: allow GLX_DONT_CARE for glXChooseFBConfig() attribute values Fixes piglit glx-dont-care-mask test. Note: This is a candidate for the stable branches. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 46bad058eb1f2fa73a4db19655bc660dde1befb9)
rivers/x11/fakeglx.c
|
439842e434c87ea1775e828820d11e8194982bcc |
27-Dec-2012 |
Brian Paul <brianp@vmware.com> |
xlib: handle _mesa_initialize_visual()'s return value If the call fails, we should return NULL from XMesaCreateVisual(). This was found when Waffle tried to create a visual with depth/stencil bits = -1. That's an illegal value for glXChooseFBConfig() and we should return NULL in that situation. Note: This is a candidate for the stable branches. (cherry picked from commit 05cd6cfd5f5a128404f09c4de1a7cf12f3f6f08a)
rivers/x11/xm_api.c
|
3bdb75893491acaca571de6c8caf241dc47b9953 |
14-Dec-2012 |
Frank Henigman <fjhenigman@google.com> |
mesa: add bounds checking for uniform array access No piglit regressions and now passes glsl-uniform-out-of-bounds-2. validate_uniform_parameters now checks that the array index is valid. This means if an index is out of bounds, glGetUniform* now fails with GL_INVALID_OPERATION, as it should. _mesa_uniform and _mesa_uniform_matrix also call validate_uniform_parameters so the bounds checks there became redundant and were removed. The test in glGetUniformLocation is modified to check array bounds so it now returns GL_INVALID_INDEX (-1) if you ask for the location of a non-existent array element, as it should. Signed-off-by: Frank Henigman <fjhenigman@google.com> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> (cherry picked from commit 46e3aeb07702f57d389fbfcade9d4ef66218dc53)
ain/uniform_query.cpp
|
dcb6a7ccbb63aaeec719b873a809c61a8bf45297 |
19-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Allow glReadBuffer(GL_NONE) for winsys framebuffers. Previously, Mesa code assumed that glReadBuffer(GL_NONE) was only valid for user-created framebuffer objects. However, the spec is quite clear that is should also be valid for the default framebuffer. From section 18.2.1 ("Obtaining Pixels from the Framebuffer") of the GL 4.3 spec: "When READ_FRAMEBUFFER_BINDING is zero, i.e. the default framebuffer, src must be one of the values listed in table 17.4, including NONE." Similar language exists in the GLES 3.0 spec, and in desktop GL all the way back to ARB_framebuffer_object. Partially fixes GLES3 conformance test "CoverageES30.test". NOTE: This is a candidate for stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit cf5632094ba0c19d570ea47025cf6da75ef8457a)
ain/buffers.c
|
5f8a8716b6b58a470be0b0d176e38d37eda2c8f7 |
08-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
mesa/uniform_query: Don't write to *params if there is an error The GL 3.1 and ES 3.0 specs say of glGetActiveUniformsiv: "If an error occurs, nothing will be written to params." So, make a pass through the indices and check that they're valid before the pass that actually writes to params. Checking pname happens on the first iteration of the second loop. Fixes es3conform's getactiveuniformsiv_for_nonexistent_uniform_indices test. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 11cea472466f731fa9c44d56f1643dec26e6601c)
ain/uniform_query.cpp
|
460096f5da820d3701cf7ca2800d94ef00b5967e |
05-Dec-2012 |
Stefan Dösinger <stefandoesinger@gmx.at> |
r200: Initialize swrast before setting limits Otherwise the driver announces 4096 vertex shader constants and other way too high limits. NOTE: This is a candidate for stable release branches. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 654a945f4d5fa00a40d47b952162a3b7f71dca5d) Conflicts: src/mesa/drivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.c
|
25e34c3526e5a999997d8966ede8a11d2deb0122 |
05-Dec-2012 |
Stefan Dösinger <stefandoesinger@gmx.at> |
radeon: Initialize swrast before setting limits NOTE: This is a candidate for stable release branches. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit f6a4e1bc1eb3df1e9172474b60cf9fce571e35d1) Conflicts: src/mesa/drivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.c
|
794c133dfb954268fe8ee5989af81d891901de08 |
05-Dec-2012 |
Stefan Dösinger <stefandoesinger@gmx.at> |
meta: Disable GL_FRAGMENT_SHADER_ATI in MESA_META_SHADER Fixes clears in Wine on r200. NOTE: This is a candidate for stable release branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit d8069b7603c368c59e7a605d696d2bd65ad414f6) Port to 9.0: Andreas Boll <andreas.boll.dev@gmail.com> s/API_OPENGL_COMPAT/API_OPENGL/
rivers/common/meta.c
|
e582e35227adefccdfa5954008ee8543d5d81fcf |
03-Dec-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Disable GL_NV_primitive_restart extension in core contexts. The NV formulation of primitive restart is turned on/off with glEnableClientState/glDisableClientState. These two functions don't exist in core contexts, which mean that GL_NV_primitive_restart is essentially useless...even broken. However, leaving it on causes oglconform's primitive-restart-nv tests to run in OpenGL 3.1 contexts, which results in them all failing. This patch causes 29 subtests to go from "fail" to "not run". NOTE: This is a candidate for stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 32c6db3978e89e61660d9479d7548cb7a5e04ba2)
ain/extensions.c
|
b086d9ced7d3ab07afa008aea0253c75e827f392 |
16-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix GL_LUMINANCE handling for textures in glGetTexImage We need to rebase colors (ex: set G=B=0) when getting GL_LUMINANCE textures in following cases: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance A similar fix was pushed by Brian Paul for uncompressed textures in commit: f5d0ced. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47220 Observed no regressions in piglit and ogles2conform due to this fix. This patch will cause failures in intel oglconform pxconv-gettex, pxstore-gettex and pxtrans-gettex test cases. The cause of failures is a bug in test cases. Expected luminance value is calculted incorrectly in test cases: L = R+G+B. V2: Set G = 0 when getting a RG texture but returning luminance. Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> (cherry picked from commit 9ab896243cfdee7f6a626aceb26e4cb88bd4da2d)
rivers/common/meta.c
ain/texgetimage.c
|
ce220540744c0dde30e5670441bbc7eab915cf89 |
27-Nov-2012 |
Matt Turner <mattst88@gmail.com> |
mesa: Set transform feedback's default buffer mode to INTERLEAVED_ATTRIBS Fixes part of es3conform's transform_feedback_init_defaults test. NOTE: This is a candidate for the stable branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 13f9012ad3837c98a2c891244e64878fa61f9cd2)
ain/shaderobj.c
|
b7af6550b1201f8883823c9fece85fedf1a49a92 |
23-Nov-2012 |
Matt Turner <mattst88@gmail.com> |
mesa: Return 0 for XFB_VARYING_MAX_LENGTH if no varyings v2: Perform this count the same way as elsewhere in this file, per Brian Paul's review. Fixes part of es3conform's transform_feedback_init_defaults test. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 7c2060f0f08134e8c4ea00af94f59c18f30d05e2)
ain/shaderapi.c
|
738d1ae3b59b073605c7fb58ec6f0a85a185ffd3 |
25-Oct-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Don't use 4bits for GL_UNSIGNED_BYTE_3_3_2(_REV) 4bits and 3bits quantitization values differ significantly for values other than 0 and 1. Fixes piglit draw-pixels for softpipe/llvmpipe. NOTE: Probably a candidate for stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> (cherry picked from commit 0cb0c38ccea84ab524d10447585000d41fbb8c74)
tate_tracker/st_cb_drawpixels.c
|
ebd4883a0c53a3584f6da78042dbc38da779291b |
17-Oct-2012 |
Eric Anholt <eric@anholt.net> |
i965: Actually add support for GL_ANY_SAMPLES_PASSED from GL_ARB_oq2. v2: Fix mangled sentence in the comment, and make the loop exit early. Fixes assertion failures in Piglit's spec/ARB_occlusion_query2/render test as well as the game PlaneShift. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1) (cherry picked from commit e755c1a36b27d6e45f0ae81729908342b8775c74)
rivers/dri/i965/brw_queryobj.c
|
d9c7fcff8fb3247f2ff241d97326b329f5bab487 |
23-Jan-2013 |
Chad Versace <chad.versace@linux.intel.com> |
i965/disasm: Fix horizontal stride of dest registers The bug: The printed horizontal stride was the numerical value of the BRW_HORIZONTAL_$N enum. The fix: Translate the enum before printing. Note: This is a candidate for the stable releases. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit ca7d332253e237c51fdf5c88a8f7937e65e8abff)
rivers/dri/i965/brw_disasm.c
|
bc7112746d4663b814aab018c8c1fb97af03fb42 |
17-Jan-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Store texturing results into a vec4 temporary. The sampler appears to ignore writemasks (even when correcting the WRITEMASK_XYZW in brw_vec4_emit.cpp to the proper writemask) and just always writes all four values. To cope with this, just texture into a temporary, then MOV out into a register that has the proper number of components. NOTE: This is a candidate for stable branches. Fixes es3conform's shadow_execution_vert.test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <idr@freedesktop.org> (cherry picked from commit f0dbd9255b5813d1567e1f09266f80e35dcbeb70)
rivers/dri/i965/brw_vec4_visitor.cpp
|
29bc8e7d8f166ae09edb8efda0b8c3bd8b7b7321 |
17-Jan-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Set LOD to 0 for ordinary texture() calls. Previously it was left undefined, causing us to select a random LOD. NOTE: This is a candidate for stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <idr@freedesktop.org> (cherry picked from commit aeff9a0d9889c4583e4f7fc89539380c1e6d043c)
rivers/dri/i965/brw_vec4_visitor.cpp
|
de150e24781cfb9f2f7e62355f3af68d23c681df |
17-Jan-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Create a 'lod_type' temporary for ir->lod_info.lod->type. This is purely a refactor. However, in a moment, we'll want to set lod_type to float for ir_tex, where ir->lod_info.lod is NULL. NOTE: This is a candidate for stable branches (for the next patch). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <idr@freedesktop.org> (cherry picked from commit 56ce55d198af65d4a9de7119eb9e2417296c54ea)
rivers/dri/i965/brw_vec4_visitor.cpp
|
a3d2e3e061f219edc684e46b4c27d3fbcf322c18 |
29-Nov-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state. This is needed to compute render_to_fbo. It even has the comment. NOTE: This is a candidate for stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit bd87441ac028068f422e2c96b39f93644a0f246f)
rivers/dri/i965/gen7_sf_state.c
|
0ba14013f66c03c6a3cc0a5e3ef74e92bfe5afb9 |
26-Nov-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Don't generate saturates over existing variable values. Fixes a crash in http://workshop.chromeexperiments.com/stars/ on i965, and the new piglit test glsl-fs-clamp-5. We were trying to emit a saturating move into a uniform, which the code generator appropriately choked on. This was broken in the change in 32ae8d3b321185a85b73ff703d8fc26bd5f48fa7. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57166 NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b9b033d8e456228fb05c5e28f85323de40f3292f) Conflicts: 9.0 doesn't have the MOV() helper. Convert to old style.
rivers/dri/i965/brw_fs_visitor.cpp
|
457eab5a9bf563b54d46fa57cba513837224b120 |
12-Nov-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix the gen6-specific if handling for 80ecb8f15b9ad7d6edc Fixes oglconform shad-compiler advanced.TestLessThani. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629 NOTE: This is a candidate for the 9.0 branch. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 0482998ccc205a9d29953c7a8b33f41ae3584935) Conflicts: fs_inst doesn't have a "predicate" field on the 9.0 branch, so convert it to "predicated = true". See 54679fcbcae7a2d41cb43.
rivers/dri/i965/brw_fs_visitor.cpp
|
871da78263673cf123e28b3c0aa88b48745ac93d |
13-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add chipset limits for Haswell GT1/GT2. The maximum number of URB entries come from the 3DSTATE_URB_VS and 3DSTATE_URB_GS state packet documentation; the thread count information comes from the 3DSTATE_VS and 3DSTATE_PS state packet documentation. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com> (cherry picked from commit 9add4e803877f97ad7f6d479d81d537426f09b6f)
rivers/dri/i965/brw_context.c
|
d02343e5016a5795451af3e0315b658b39463a30 |
04-Jan-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use Haswell's sample_d_c for textureGrad with shadow samplers. The new hardware actually just supports this now. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 899017fc54c40c969b5239b33f3a17b311878b0d)
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_vec4_emit.cpp
|
e4793701647c9b4112c7789926a564f796d4faeb |
16-Jan-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Lower textureGrad() with samplerCubeShadow. We weren't lowering textureGrad() with samplerCubeShadow because I couldn't figure out the LOD calculations. It turns out they're easy: you just have to use 1 for the depth. This causes it to pass oglconform's four tests. (cherry picked from commit 613e64060c2bc58c3920c3c6ff77291642ba0e23) When cherry-picking this to stable, I've reordered this before the Haswell commit that would have introduced a regression. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Anuj Phogat <anuj.phogat@gmail.com> (original) Tested-by: Ian Romanick <idr@freedesktop.org> (original)
rivers/dri/i965/brw_lower_texture_gradients.cpp
|
42df904f88a3515bf8bea5c1228380714c9146fb |
21-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Do texture swizzling in hardware on Haswell. Haswell supports EXT_texture_swizzle and legacy DEPTH_TEXTURE_MODE swizzling by setting SURFACE_STATE entries. This means we don't have to bake the swizzle settings into the shader code by emitting MOV instructions, and thus don't have to recompile shaders whenever the swizzles change. Unfortunately, we can't handle GL_ALPHA this way: unlike all the others, which store the comparison result in the .r channel (and possibly others as well), GL_ALPHA puts it in the .a channel. The GLSL 1.30+ style functions which return a float always simply return the .r channel, which would be zero if we handled this as a surface override. In this case, fall back to doing it the old way. DEPTH_TEXTURE_MODE = GL_ALPHA isn't an interesting performance path anyway. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 6d6aef79742ece3bb570ae44e6c13791aae15e01)
rivers/dri/i965/brw_wm.c
rivers/dri/i965/gen7_wm_surface_state.c
|
3ebfd3f7743e5c05661eab977b23441e45441b39 |
07-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Refactor texture swizzle generation into a helper. It's going to be reused in a second place soon. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b5a042a657fed45264406cbd0d67fa6217a410a1)
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
|
b922999a404322a1034c4f96c21acae860483bb0 |
25-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix primitive restart on Haswell. Haswell moved the "Cut Index Enable" bit from the INDEX_BUFFER packet to a new 3DSTATE_VF packet, so we need to emit that. Also, it requires us to specify the cut index rather than assuming it's 0xffffffff. This adds a new Haswell-specific tracked state atom to gen7_atoms. Normally, we would create a new generation-specific atom list, but since there's only one difference over Ivybridge so far, I chose to simply make it return without doing any work on non-Haswell systems. Fixes five piglit tests: - general/primitive-restart-DISABLE_VBO - general/primitive-restart-VBO_COMBINED_VERTEX_AND_INDEX - general/primitive-restart-VBO_INDEX_ONLY - general/primitive-restart-VBO_SEPARATE_VERTEX_AND_INDEX - general/primitive-restart-VBO_VERTEX_ONLY Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> (cherry picked from commit 815d9d405c69bb07d550ae9f79283dcdc7466e2c)
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_primitive_restart.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
2b2ab2b3eab6f016dc7027ee4610f5f9500a0ac7 |
20-Jan-2013 |
Andreas Boll <andreas.boll.dev@gmail.com> |
mesa: Bump version to 9.0.2
ain/version.h
|
320b5abda5026f23f327c6f60c1b6287cc507e78 |
03-Jan-2013 |
smoki <smoki00790@gmail.com> |
radeon/r200: Fix tcl culling Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=57842 (cherry picked from commit 5bf357db89836d0f4e4b8a4cb559755d4734b81b)
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
b694aa4ab9579815903220a0a3536f648914551a |
10-Dec-2012 |
smoki <smoki00790@gmail.com> |
r200: fix broken tcl lighting command mistakenly used vector instead of scalar emit (the more or less identical code in radeon is already correct). Seems like it would be broken ever since kms probably. Should fix bugs 22576, 26809. (cherry picked from commit 320d531373e7b0873f5de42f6173b986290f593f)
rivers/dri/r200/r200_state_init.c
|
f05a0226b88bd58f3d2f07ec0e7df8032b739304 |
16-Nov-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Fix memory leak each time compile_gs_prog() is called. Commit 774fb90db3e83d5e7326b7a72e05ce805c306b24 introduced a ralloc context to each user of struct brw_compile, but for this one a NULL context was used, causing the later ralloc_free(mem_ctx) to not do anything. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55175 NOTE: This is a candidate for the stable branches. (cherry picked from commit 59bfd66a614177320817a97e1dadfcfcf3b9b092)
rivers/dri/i965/brw_gs.c
|
b5d25dd849a8b843f05bdc92c5f06bbd321b8eb6 |
14-Nov-2012 |
Vinson Lee <vlee@freedesktop.org> |
i915: Fix wrong sizeof argument in i915_update_tex_unit. The bug was found by Coverity. NOTE: This is a candidate for the stable branches. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 10f214e5b248e5dd5f323c689549cd66d2f6ad22)
rivers/dri/i915/i915_texstate.c
|
8a3a76e1dac98244140b3e8d663719965c38be5f |
09-Nov-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Validate requested GLES context version in brwCreateContext For GLES1 and GLES2, brwCreateContext neglected to validate the requested context version received from the DRI layer. If DRI requested an OpenGL ES2 context with version 3.9, we provided it one. Before this fix, the switch statement that validated the requested GL context flavor was an ugly #ifdef copy-paste mess. Instead of reproducing the copy-past-mess for GLES1 and GLES2, I first refactored it. Now the switch statement is readable. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 243cf7a924eaef78ce0d5150747fae6c3c4e6974)
rivers/dri/i965/brw_context.c
|
b683891fdabda6b8dcec655652c0709419d4922c |
13-Nov-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix segfault on reading from a missing color read buffer. The diff looks funny, but it's moving the integer vs non-integer check below the _mesa_source_buffer_exists() check that ensures _ColorReadBuffer is non-null, so we get a GL_INVALID_OPERATION instead of a segfault. This looks like it had regressed in the _mesa_error_check_format_and_type() changes, which removed the first of the two duplicated checks for the source buffer. Fixes segfault in the new piglit ARB_framebuffer_object/negative-readpixels-no-rb. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45877 NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 5c99697f74c68f7e170564d791b95d986a18774a)
ain/readpix.c
|
3ec28fc976dcf75960c023c31ddc663925763e92 |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2 MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures. NOTE: This is a candidate for the stable branches. v2: correct the comment at MaxNumlevels Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 8111342e814304730bed34446ea816cbc17a5775)
ain/teximage.h
|
ba36bd0375d89e78e3c2ffb923b9ba7af0e4bfb9 |
08-Nov-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix AA Line Distance Mode in 3DSTATE_SF on Ivybridge. We were accidentally setting bit 14 in DWord 2 (which is Reserved/MBZ) rather than bit 14 in DWord 3 (which is AA Line Distance Mode). There's also no reason to ever set it to legacy mode; the bit is only used when drawing antialiased lines anyway. Set it unconditionally. NOTE: This is a candidate for stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit e639385064663ba401544de5dbd463fa7f6cce2d)
rivers/dri/i965/gen7_sf_state.c
|
2d00d104b4c0c7e51b6f969b658573cbe60b0046 |
07-Oct-2012 |
Mario Kleiner <mario.kleiner@tuebingen.mpg.de> |
mesa: Don't glPopAttrib() GL_POINT_SPRITE_COORD_ORIGIN on < OpenGL-2.0 The GL_POINT_BIT state attribute GL_POINT_SPRITE_COORD_ORIGIN is only supported on OpenGL-2.0 or later. Prevent glPopAttrib() from trying to restore it on OpenGL-1.4 implementations which support GL_ARB_POINT_SPRITE, as otherwise the sequence... glPushAttrib(GL_POINT_BIT); glPopAttrib(); throws an GL_INVALID_ENUM error in glPopAttrib(). See also commit f778174ea1e431a7113f12c12beb4aba9e825a9f NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit eabbe5c45f5d05822c5f841628afa4008398d553)
ain/attrib.c
|
422f3bb8ab95f00e17aa969f7a09c7ceee5f8bef |
08-Nov-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Fix glGetVertexAttribI[u]iv now that we have real integer attribs. Since cf438f5375e242, we store actual integers for the attribute data. We just need to reinterpret the GLfloat array as a GLint/GLuint array so we can read the proper data. Fixes oglconform's glsl-vertex-attrib/basic.VertexAttribI[1234][u]i subtests (after fixing an unrelated bug in those test cases). v2: Use the COPY_4V macro to be concise. NOTE: This is a candidate for the stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com> [v1] (cherry picked from commit c299f44782d7d7d6719fce622a121aad58856139)
ain/varray.c
|
cc8ff5354da0eeba5551b5d5bd12898c38e6191f |
01-Sep-2012 |
Dave Airlie <airlied@gmail.com> |
glsl_to_tgsi: fix dst register for texturing fetches. I've no idea why there isn't a piglit that triggers this behaviour, but while enabling TBOs for softpipe and r600g, I noticed all the integer tests failed. I tracked it back to the TXF returning a float when it should be returning an int. This fixed it and I haven't seen any regressions in a full piglit run on softpipe. http://bugs.freedesktop.org/55010 NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 9785ae0973cc206afc36dbc7d5b9553f92d06b47)
tate_tracker/st_glsl_to_tgsi.cpp
|
c4263ac0baa37ee7cff9e36f973afab5fda433d4 |
02-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
meta: Remove redundant code in _mesa_meta_GenerateMipmap Integer textures generate invalid operation in glGenerateMipmap. So, the code related to integer textures is now redundant. Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit a196f43596f6cb85a8f3e446596a2fb8e0ee7872)
rivers/common/meta.c
|
cb3bcb73e5646d25e9a313b478671c71a3440bf7 |
02-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Generate invalid operation in glGenerateMipMap for integer textures Khronos has reached a conclusion and disallowed following texture formats in glGenerateMipMap(): (a) ASTC textures (b) integer internal formats (e.g., RGBA8UI, RG16I) (c) textures with stencil formats (e.g., STENCIL_INDEX8) (d) textures with packed depth/stencil formats (e.g, DEPTH24_STENCIL8) https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471 Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit c0a78d7d7b51e125d143e693fdfc78b90f2d68cf)
ain/fbobject.c
|
7e80685340dad7c76f72285c2f6c8268c413fbde |
31-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix core GL genned-name handling for glBeginQuery(). Fixes piglit gl-3.1/genned-names. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 4fce0230fc3528be32562410bcddfc887c4d25a0)
ain/queryobj.c
|
e6174a9fd91071841d432a6e63523840b97e4e0e |
31-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the core GL genned-name handling for glBindBufferBase()/Range(). This is part of fixing gl-3.1/genned-names. v2: Fix a missing return value. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 947d8ff4a7c4b7ffb4013056b48dbabe6b3931b0)
ain/bufferobj.c
|
18a9979dc138adc743f4c19acde7218538614db9 |
23-Oct-2012 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: set correct register type for array and structure elements This fixes an issue where glsl_to_tgsi_visior::get_opcode() would emit the wrong opcode because the register type was GLSL_TYPE_ARRAY/STRUCT instead of GLSL_TYPE_FLOAT/INT/UINT/BOOL, so the function would use the float opcodes for operations on integer or boolean values dereferenced from an array or structure. Assertions have been added to get_opcode() to prevent this bug from reappearing in the future. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit 170f0459a2367406d4ec838b2eebdc6ff2f84f2c)
tate_tracker/st_glsl_to_tgsi.cpp
|
05974cb8c6cce68344b5622c5cb55adf3e51164c |
25-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Preserve the type when copy propagating into an instruction. Consider the following code, which reinterprets a register as a different type: mov(8) g6<1>F g1.4<0,4,1>.xF and(8) g5<1>.xUD g6<4,4,1>.xUD 0x7fffffffUD Copy propagation would notice that we can replace the use of g6 with g1.4 and eliminate the MOV. Unfortunately, it failed to preserve the UD type, incorrectly generating: and(8) g5<1>.xUD g6<4,4,1>.xF 0x7fffffffUD Found while debugging Ian's uncommitted ARB_vertex_program LOG opcode test with my new Mesa IR -> Vec4 IR translator. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 03ea156f1b3e57ef223c0340afb49e513fa0b407)
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
97eed6da9704deb2c57fe47cd110c2b70191e2c2 |
25-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Don't lose the MRF writemask when doing compute-to-MRF. Consider the following code sequence: mul(8) g4<1>F g1<0,4,1>.wzwwF g3<4,4,1>.wzwwF mov.sat(8) m1<1>.xyF g4<4,4,1>F mul(8) g4<1>F g1<0,4,1>.xxyxF g3<4,4,1>.xxyxF mov.sat(8) m1<1>.zwF g4<4,4,1>F The compute-to-MRF pass will discover the first mov.sat and attempt to replace it by rewriting earlier instructions. Everything works out, so it replaces scan_inst's destination file, reg, and reg_offset, resulting in: mul(8) m1<1>F g1<0,4,1>.wzwwF g3<4,4,1>.wzwwF mul(8) g4<1>F g1<0,4,1>.xxyxF g3<4,4,1>.xxyxF mov.sat(8) m1<1>.zwF g4<4,4,1>F Unfortunately, it loses the .xy writemask on the mov.sat's MRF destination. While this doesn't pose an immediate problem, it then proceeds to transform the second mov.sat, resulting in: mul(8) m1<1>F g1<0,4,1>.wzwwF g3<4,4,1>.wzwwF mul(8) m1<1>F g1<0,4,1>.xxyxF g3<4,4,1>.xxyxF Instead of writing both halves of the vector (like the original code), it overwrites the full vector both times, clobbering the desired .xy values. When encountering a MOV, the compute-to-MRF code scans for instructions which generate channels of the MOV source. It ensures that all necessary channels are available (possibly written by several instructions). In this case, *more* channels are available than necessary, so we want to take the subset that's actually used. Taking the bitwise and of both writemasks should accomplish that. This was discovered by analyzing an ARB_vertex_program test (glean/vertProg1/MUL test (with swizzle and masking)) with my new Mesa IR -> Vec4 IR translator code. However, it should be possible with GLSL programs as well. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 10ff6772c8054aea12ac0f08e2e3898fd4a7f76b)
rivers/dri/i965/brw_vec4.cpp
|
f1188d4464c78bfa0cd114d9331de8fba70724ac |
19-Oct-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: free TGSI tokens with ureg_free_tokens() since they're allocated by ureg_get_tokens(). NOTE: This is a candidate for the 8.0 and 9.0 branches. (cherry picked from commit 11070105f0b5ad20f12bb40a8dd0b357924bcfdd)
tate_tracker/st_mesa_to_tgsi.c
|
fb8d6b41d89c6221c8477eab229ecf0750c2c4e0 |
19-Oct-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace REALLOC() with realloc() We should use the later since we're freeing the memory with free(), not the gallium FREE() macro. This fixes a mismatch when using the gallium debug memory functions. NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit bb93439873e0f270383d8a802eec79807d32c10a)
tate_tracker/st_mesa_to_tgsi.c
|
b63f8f7906e4bc8a074cee8dbdbcb1c66e90448f |
20-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Don't flatten IF statements by default. MaxIfDepth of 0 means "flatten all the time", not "never flatten". This is only desirable on hardware that can't support control flow; software rasterization and most hardware drivers want this. This alters behavior for swrast as well as i915. Tested on i915. NOTE: This is a candidate for stable release branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 56705cd36bf48d5050ac9ec10d91fd097a577f42)
ain/shaderapi.c
|
a5848562b501f67e4f51013277b12157d9c7fb18 |
12-Oct-2012 |
Abdiel Janulgue <abdiel.janulgue@linux.intel.com> |
mesa: Fix a crash in update_texture_state() for external texture type NOTE: This is a candidate for the stable branch. Signed-off-by: Abdiel <abdiel.janulgue@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit bcb10ca17221833b2502970fb94ff52cf328ee30)
ain/texobj.c
ain/texstate.c
|
070f317d99f03a111c79d7c8b0cee954ee77e5ee |
02-Oct-2012 |
Tapani Pälli <tapani.palli@intel.com> |
android: generate matching remap_helper to dispatch table commit a010215463c63680c69e90202fe3fcd2e5b25fa6 removed ES2 specific dispatch table and remap_helper, since now we are using dispatch.h which is generated from gl_and_es_API.xml we need to generate a matching remap_helper using the same xml. Note: This is a candidate for the 9.0 branch. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 60565b564bc969ce47fb8417c79050c261e5aec9)
ndroid.gen.mk
|
b22de71c1bc2530e139d75d934e203f4eee89f41 |
02-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Implement register spilling. To validate this code, I ran piglit -t vs quick.tests with the "go spill everything" debugging code enabled. There was only one regression: glsl-vs-unroll-explosion simply ran out of registers. This should be fine in the real world, since no one actually spills every single register. NOTE: This is a candidate for the 9.0 branch. Even if it proves to have bugs, it's likely better than simply failing to compile. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 9237f0ea8d176fb5dcd41868dcc723fe34f6b1f3)
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
cb415d4df644a8caffe861626dec5f7aa4cefa49 |
02-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Fix unit mismatch in scratch base_offset parameter. move_grf_array_access_to_scratch() calculates scratch buffer offsets in bytes. However, emit_scratch_read/write() expects the base_offset parameter to be measured in OWords. As a result, a shader using a scratch read/write offset greater than zero (in practice, a shader containing more than one variable in scratch) would use too large an offset, frequently exceeding the available scratch space. This patch corrects the mismatch by removing spurious conversion from OWords to bytes in move_grf_array_access_to_scratch(). This is based on a patch by Paul Berry. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 46e529672bb124b78eb454cbf55c72074ef6d35c)
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
e1cb624a43cf3ef1c928bf03c26c0cf2f236a1a1 |
23-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix BlitFramebuffer between linear and sRGB formats NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 91ca053714957aca5205122e8478002c62cc4344)
ain/fbobject.c
|
7bcc228beb754a8f1586590d2c5b1786be281531 |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix computation of last_level in GenerateMipmap Array textures were broken. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit e7dde5c8fb8ae6964bd5972d5962c2a26fc6ee0f)
tate_tracker/st_gen_mipmap.c
|
7ca75b62cdd9ddc943ded3a6904b11f62162affb |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix computation of last_level during texture creation Array textures were broken. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 6dd839f23a8ee7b6853f7320a2715df44040b358)
tate_tracker/st_cb_texture.c
|
d1dfe4e020e563606e7d987968682501829800db |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix guessing the base level size It was pretty broken with array textures, where the array size (height or depth depending on the target) shouldn't be magnified. The guessing also doesn't fail with 1D and cube textures. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit c06258dd0297e1fe7910f48a59aa0de79029ce39) Conflicts: src/mesa/state_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.c
|
5b007761fef03547ef09585bef6920a8dcedf1ce |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix error checking of TexStorage(levels) for array and rect textures NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 985f2aec4a2ca74f6612f34ce0887eafcc163e08) Conflicts: src/mesa/main/texstorage.c
ain/texstorage.c
|
efa6b5e42b427c1ec9f2d636d280c84e7da71346 |
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2 MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures. NOTE: This is a candidate for the stable branches. v2: correct the comment at MaxNumlevels Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 8111342e814304730bed34446ea816cbc17a5775) Conflicts: src/mesa/main/teximage.h
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_mipmap_tree.c
ain/mtypes.h
ain/teximage.c
ain/teximage.h
|
492b69f3be3e355064c67bc6f4a30d40e997ce9d |
30-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: fix glVertexAttribI* functions The functions were broken, because they converted ints to floats. Now we can finally advertise OpenGL 3.0. ;) In this commit, the vbo module also tracks the type for each attrib in addition to the size. It can be one of FLOAT, INT, UNSIGNED_INT. The little ugliness is the vertex attribs are declared as floats even though there may be integer values. The code just copies integer values into them without any conversion. This implementation passes the glVertexAttribI piglit test which I am going to commit in piglit soon. The test covers vertex arrays, immediate mode and display lists. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> v2: cosmetic changes as suggested by Brian (cherry picked from commit acf438f5375e2426386694e541b843dc6f8fd11a)
ain/imports.h
ain/macros.h
bo/vbo_attrib_tmp.h
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
|
8ff8c91893cee8b1893de91e145c8496a12ab9ca |
26-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: bump MAX_VARYING to 32 We're starting to get apps utilizing more than 16 varyings and most current hardware supports 32 anyway. Tested with r600g. swrast, softpipe and llvmpipe still advertise 16 varyings. This fixes a WebGL crash after launching this demo: https://developer.mozilla.org/en-US/demos/detail/falling-cubes Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54402 NOTE: This is a candidate for the stable branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b3921e1f53833420e0a0fd581f741744e7957a05) Conflicts: src/mesa/main/context.c
ain/config.h
ain/context.c
rogram/prog_print.c
|
23c71839e994c9c0ca684e54630991e16b0530af |
15-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix integer texture border color for some formats (v2) And the clear color too, though that may be an issue only with GL_RGB if it's actually RGBA in the driver. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> v2: The types of st_translate_color parameters were changed to gl_color_union and pipe_color_union as per Brian's comment. (cherry picked from commit 2bbd307fa638f6d256d020ddf1cff5fc7f735fd2)
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_clear.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
c4f392aafb78c80dde4b126984a498f8f2feee10 |
08-Nov-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Bump version to 9.0.1 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/version.h
|
5fe5aa8e55a8db0b80f6ff9838bad47ce0406fd0 |
19-Oct-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Fix regression in depth texture rendering on pre-SNB This was introduced by commit 24db6d6 (cherry-picked from a683012). The original patch fixed potential GPU hangs on SNB, and it caused some rendering regressions there. The benefits outweigh the costs. However, the work-around is not necessary for pre-SNB chipsets. Applying the work-around there gives rendering regressions with no benefit. This patch disables the work-around on pre-SNB chipsets. Without the original patch, the piglit test depthstencil-render-miplevels would reliably hang an SNB GPU. On ILK this test would not hang, and it does not hang with this patch. NOTE: This is a candidate for the 8.0 and 9.0 branches Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_misc_state.c
|
8e019506257b720a1a6ff668aef57bff445a1725 |
22-Oct-2012 |
Michel Dänzer <michel.daenzer@amd.com> |
st/mesa: Fix assertions for copying texture image to finalized miptree. The layer dimension of array textures is not subject to mipmap minification. OTOH we were missing an assertion for the depth dimension. Fixes assertion failures with piglit {f,v}s-textureSize-sampler1DArrayShadow. For some reason, they only resulted in piglit 'warn' results for me, not failures. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56211 NOTE: This is a candidate for the stable branches. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit eee1ff423c6a0c9c776b4e76b79bb5ed5480d83c)
tate_tracker/st_cb_texture.c
|
8f772b34b0d59e369177c129a1d195917b288adf |
19-Oct-2012 |
Michel Dänzer <michel.daenzer@amd.com> |
st/mesa: Fix source miptree level for copying data to finalized miptree. Fixes WebGL texture mips conformance test, no piglit regressions. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44912 NOTE: This is a candidate for the stable branches. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> (cherry picked from commit c2e37b1d2e1b8014475c7d2698fba317c9082d70)
tate_tracker/st_cb_texture.c
|
3913cd19b82802449dad2008ff4cfc1d546c05a6 |
09-Oct-2012 |
Quentin Glidic <sardemff7@sardemff7.net> |
intel: Add missing #include <time.h> Commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279 introduced a call to clock_gettime, but failed to include <time.h>, breaking the build in some cases. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 7cb8764ca39cb7f325d6da10a8b11bf24adf2ae0)
rivers/dri/intel/intel_screen.c
|
d56ee2433578ff10ca47b76e2303b2bf70270b7a |
09-Oct-2012 |
Imre Deak <imre.deak@intel.com> |
glget: fix make check for glGet GL_POLYGON_OFFSET_BIAS This got broken by: 22b7ddc7f glapi: rename/move GL_POLYGON_OFFSET_BIAS to its extension section Fix it by appending the _EXT suffix to the enum in the test too. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/tests/enum_strings.cpp
|
8dc79ae7d73cf6711c2182ff9a5d37ef6c989d23 |
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix parameter lookup for apps using multiple APIs The glGet hash was initialized only once for a single GL API, even if the application later created a context for a different API. This resulted in glGet failing for otherwise valid parameters in a context if that parameter was invalid in another context created earlier. Fix this by using a separate hash table for each API. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/context.c
ain/get.c
ain/mtypes.h
|
dc74c9d0f45824f6d08a0132c7d7025c371fdfad |
11-Sep-2012 |
Tomeu Vizoso <tomeu@tomeuvizoso.net> |
mesa/es: Define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT enum for all GLs instead of just for GL and ES1. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/get.c
|
b4419477fb3b4384ef91959bbf1f098d2efd63c8 |
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix API check for EGL_image_external enums These enums are valid only in ES1 and ES2. So far they were marked valid incorrectly, depending on the previous API mask in the enum list. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/get.c
|
dee121b88520fd4c39f1d195900239d204ffc20c |
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix indentation of print_table_stats No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/get.c
|
0c3c77ba17811ed9b89e252369b524c50979c7db |
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix indentation of find_value No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/get.c
|
0f5d87c3ddfe02cbdf311827fa77017b9d021620 |
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix indentation of _mesa_init_get_hash No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
ain/get.c
|
e75051d1967350ceff0209dde24ae42696b13b5c |
06-Oct-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error check for zero-sized compressed subtexture For glCompressedTexSubImage, width or height = 0 is legal. Fixes a failure in piglit's s3tc-errors test. This is for the 9.0 and 8.0 branches. Already fixed on master.
ain/teximage.c
|
32faf7ab0de8b88bb15a2cb262a73c411dce9d0d |
06-Oct-2012 |
Brian Paul <brianp@vmware.com> |
mesa: don't call TexImage driver hooks for zero-sized images This simply avoids some failed assertions but there's no reason to call the driver hooks for storing a tex image if its size is zero. Note: This is a candidate for the stable branches. (cherry picked from commit 91d84096497ff538f55591f7e6bb0b563726db8d)
ain/teximage.c
|
e5fdeef1e08b55acd48dc68f0cc8fe213f2820b8 |
08-Oct-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Bump version number to 9.0 (final) Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/version.h
|
ad4b3b93ded960c22388c7bc3ba14d32b30b8f1d |
31-Aug-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
_mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime This is a squash for the following 7 commits. The first introduces the functionality, and the remaining six fix various bugs. Patch 1: _mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime glsl path of _mesa_meta_GenerateMipmap() function would require different fragment shaders depending on the texture target. This patch adds the code to generate appropriate fragment shader programs at run time. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54296 V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. Now using ralloc_asprintf in setup_glsl_generate_mipmap(). NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 299acac849eb8506de9760c94c6e8e8b1046d909) Patch 2: _mesa_meta_GenerateMipmap: Generate separate shaders for glsl 120 / 130 glsl version of _mesa_meta_GenerateMipmap() would require separate shaders for glsl 120 and 130. V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 15bf3103b48a5928321fe56fbb3ed28a0f314418) Patch 3: meta: Add on demand compilation of per target shader programs A call to glGenerateMipmap() follows the generation of a relevant shader program in setup_glsl_generate_mipmap(). To support all texture targets and to avoid compiling shaders everytime, per target shader programs are compiled on demand and saved for the next call. Fixes float-texture(mipmap.manual): See Comment 6: https://bugs.freedesktop.org/show_bug.cgi?id=54296 NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit eb1d87fb945783448cc40ad43c9cd4d98002d424) Patch 4: meta: make mem_ctx non-global. I can't see any external users, and this is a global symbol, Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 36639ec6e9a2758e344235fbdc1450719d8851e3) Patch 5: meta: Remove unsafe global mem_ctx pointer NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit ab097dde0c958dd8b1c06a07ef8913512753760c) Patch 6: meta: Rearrange shader creation in setup_glsl_generate_mipmap The diff looks weird, but this moves the code from the first 'if (ctx->Const.GLSLVersion < 130)' block down into the second block. It also moves some variable decalarations closer to their use. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 3308c079bd00e9b9aa546f5214ce197a904d059b) Patch 7: meta: Don't use GLSL 1.30 shader on OpenGL ES 2 Fixes GLES2 CoverageGL conformance test. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 0242381f06edb09dcf0eaacd6d26ccd8584700cc)
rivers/common/meta.c
|
19a15cd5ba320b71295c4afbe73c5d656f829ad8 |
02-Oct-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove bogus compressed texture size checks A compressed texture image size doesn't have to be a multiple of the compressed block size (only sub-images do). Fixes issues when building compressed mipmaps because we often wind up with non-block-size images for the higher mipmap levels. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=55445 Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Sven Arvidsson <sa@whiz.se> (cherry picked from commit df4a88ac4398ec4c152eb57a7129c07bb623edd7)
ain/teximage.c
ain/texstore.c
|
c566267f5c3b480c1a805790c45fc13ab52c98e2 |
22-Sep-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
intel/i965: Disable SampleAlphaToOne if dual source blending enabled From SandyBridge PRM, volume 2 Part 1, section 12.2.3, BLEND_STATE: DWord 1, Bit 30 (AlphaToOne Enable): "If Dual Source Blending is enabled, this bit must be disabled" Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit ea0d08872724b5e31e9e32db2338e15fdfdcc4de)
rivers/dri/i965/gen6_cc.c
|
8491e03b2befd7e9d16c5d17f95a83d91c5b16c9 |
02-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Flag _NEW_VARYING_VP_INPUTS when TexEnv programs are active. The idea here is to not flag _NEW_VARYING_VP_INPUTS when shaders (either GLSL or ARB vp/fp) are in use. If either TNL or TexEnv programs are active, at least one stage is using fixed function. On Pineview, fixes 20 Piglit, 60 oglconforms, and 7 ES 1.1 conformance tests, as well as missing textures in Xonotic. These were all regressions since commit fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8. NOTE: This is a candidate for the 9.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49127 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54807 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 7fa0f10cd85ccb5afbc3a961164011de70970ff3)
ain/state.c
|
78c9adb17e158ef40f03b5041803991ea8a0aa27 |
03-Oct-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: don't enable glVertexPointer() when using API_OPENGLES2. This function is only present in GLES1 and in the OpenGL compatibility profile. Fixes the following "make check" failure: [----------] 1 test from DispatchSanity_test [ RUN ] DispatchSanity_test.GLES2 Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable dispatch_sanity.cpp:122: Failure Value of: table[i] Actual: 0x4de54e Expected: (_glapi_proc) _mesa_generic_nop Which is: 0x41af72 i = 321 [ FAILED ] DispatchSanity_test.GLES2 (4 ms) [----------] 1 test from DispatchSanity_test (4 ms total) NOTE: This is a candidate for stable release branches. Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Tested-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 8f0b81bf7ddcdf5715a3e00af67395b91f27a243)
ain/api_exec.c
|
b2048c5e905cb6321212e33391926fc720b89121 |
21-Sep-2012 |
Eric Anholt <eric@anholt.net> |
i965: Use visibility cflags on the driver code. (cherry picked from commit 837f06b42fd46fdfdc0c85734dbad5497ea6d19f) The only symbols that need to be public (those in intel_screen.c that the loader looks for) are already marked public. Saves 100k of compiled driver size. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
rivers/dri/i965/Makefile.am
|
ddb9ecca3b0f820feb4dee6bd8901f8b6e3ee0d8 |
21-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Don't build libdricore if not building classic drivers (cherry picked from commit 523c01524638b3d1bb363f4c0a647b0777840b7a)
akefile.am
|
76732c9ca5ae857ba8fa4773b25847299b50d098 |
28-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Add visibility CFLAGS to OSMesa (cherry picked from commit 24ded898761757ec68e8f6dbe7de1f18c0be3f63)
rivers/osmesa/Makefile.am
|
c8669c7ba7a01780d4cfd1cfc6ab8cc6f7fc2510 |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Link OSMesa with glapi, libdl, libstdc++ (cherry picked from commit 1762ec28db4bfb85eeb6e61377839a3889f77216) Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=399813 https://bugs.freedesktop.org/show_bug.cgi?id=53179
rivers/osmesa/Makefile.am
|
f9a8673a7ad286af46931a09761bef435074bfe8 |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/swrast (cherry picked from commit 4cfff7211c7897353a07c48ad80a681c8e1e8298)
rivers/dri/swrast/Makefile.am
|
f88046a1f04a4ea20544de8d1a554350d3efa1b2 |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/r200 (cherry picked from commit 362840270702f32c1b4e5a52e04f4cad3f1de004)
rivers/dri/r200/Makefile.am
|
8ebcf34d87002334a0df0dbdfb2a43ce2aecd7e9 |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/radeon (cherry picked from commit 55d45efdd8276ec4b2795e82e3d9bb57c3b1425d)
rivers/dri/radeon/Makefile.am
|
3b794e4a5680a201c429c6943c12c7cf92478edf |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/nouveau (cherry picked from commit 340637d54db171d9b5ee95ee943b590c416c0b66)
rivers/dri/nouveau/Makefile.am
|
0470fa395fef898b3e13203bb5fa62bd854799af |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/i915 (cherry picked from commit 381d120b8af9e25d3bcb829a250e602b61d0971a)
rivers/dri/i915/Makefile.am
|
6512610f9acb7dab70f66a8dc0d316b120b9f167 |
27-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Set visibility CFLAGS in dri/common (cherry picked from commit d2872b561258d66e1b606310d12398a64002a25d)
rivers/dri/common/Makefile.am
|
a1f1add42d5ee0122627df3b2b5f4ab12e49752b |
21-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Turn on visibility CFLAGS for core mesa (cherry picked from commit 710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce)
akefile.am
|
421dda800de3aff588e97ccb6398b94e780590cd |
19-Sep-2012 |
Matt Turner <mattst88@gmail.com> |
build: Use PTHREAD_LIBS and PTHREAD_CFLAGS (cherry picked from commit b6651ae6ad314a93287e431a41f5c7a8f8f6c855) Conflicts: src/mesa/main/tests/Makefile.am
ain/tests/Makefile.am
|
89e76252ca3fd015544f76d0f528babe9c723938 |
01-Oct-2012 |
Matt Turner <mattst88@gmail.com> |
dri drivers: Link dricommon before dynamic libraries I think libtool should be handling this for us, but the build fails for Jordan because libdricommon (a static library, which uses expat) appears before -lexpat on the linker command. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Jordan Justen <jordan.l.justen@intel.com> (cherry picked from commit 31ab61cac10bf75210134b6d8a354ac3cbd3b4da) Conflicts: src/mesa/drivers/dri/i965/Makefile.am
rivers/dri/i915/Makefile.am
rivers/dri/i965/Makefile.am
rivers/dri/nouveau/Makefile.am
rivers/dri/r200/Makefile.am
rivers/dri/radeon/Makefile.am
|
f2b4f588f5a5b656843b720f59b8cd6ce573ac93 |
02-Oct-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
Revert "i965: Implement guardband clipping on Ivybridge." This reverts commit 610910a66d1a97ca51ad8a003bdeadfe9563d721. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55523 Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_viewport_state.c
|
dbe13c105faafed6823c32ed37596f530577be91 |
02-Oct-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
Revert "i965: Implement guardband clipping on Sandybridge." This reverts commit 85cd30406ff8414bc6ac6de1064d059a4c564160. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55523 Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_viewport_state.c
|
604cd6b966d060334fdaa11ae8444797d54d3142 |
27-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix glCompressedTexSubImage assertion/segfault If the destination texture image doesn't exist we'd hit an assertion (or crash in a release build). The piglit/s3tc-errors test hits this. This has already been fixed in master by the error checking code consolidation. Note: This is a candidate for the 8.0 branch.
ain/teximage.c
|
e642d61d130b725c0c3efbc87f86a4968311ba2a |
15-Sep-2012 |
Brian Paul <brianp@vmware.com> |
scons: add new -p (prefix) options for yacc These were recently added to the Makefiles. (cherry picked from commit e78ebbc5f9448d459b57884d90b0a6496294c1dd)
Conscript
|
549129838ca5f80152c83474276b65f89b0f8013 |
16-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Use float for temporary images, not (un)signed normalized. In commit 091eb15b694, Jordan changed get_temp_image_type() to use _mesa_get_format_datatype() instead of returning GL_FLOAT. That has several possible return values: GL_FLOAT, GL_INT, GL_UNSIGNED_INT, GL_SIGNED_NORMALIZED, and GL_UNSIGNED_NORMALIZED. We do want to use GL_INT/GL_UNSIGNED_INT for integer formats. However, we want to continue using GL_FLOAT for the normalized fixed-point types. There isn't any code in pack.c to handle GL_(UN)SIGNED_NORMALIZED. Fixes oglconform's fboarb advanced.blit.copypix, which was regressed by commit 091eb15b694a396f8453093575ccec2db7f14eb8. NOTE: This is a candidate for the 9.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53573 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 3767b25bd3f77cede452cfbe9b66a51b352d9036)
rivers/common/meta.c
|
0586a94929bb276c349220026cfac6267b776fb3 |
21-Sep-2012 |
Eric Anholt <eric@anholt.net> |
i965: Remove broken non-interleaved-to-interleaved upload code. This failed when all the uploads to occur were uniform-type vertex data (like glColor4f being active across a DrawArrays), because it would upload 1 element instead of 1 element per vertex. There was no citation for how this code helped any particular application, and it breaks ETQW, so just remove it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47170 NOTE: This is a candidate for the 9.0 and 8.0 branches. Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 0334e8dc25d09e3254e61d5d122b4fd7bfbd627a)
rivers/dri/i965/brw_draw_upload.c
|
fdabc7d9f6db82d0c8dbca09c30cf25be29b30d8 |
14-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Don't _mesa_set_enable() invalid targets in ES 1. GL_TEXTURE_1D, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_GEN_S/T/R/Q don't exist in ES 1 contexts, so any meta ops that used _mesa_meta_begin with MESA_META_TEXTURE would trigger GL errors. One such operation is _mesa_meta_Clear(). On ES 1, we want to disable GL_TEXTURE_GEN_STR_OES instead. Fixes the ES1 conformance test miplin.c, which was regressed by commit 08be1d288f216232d3974f5997b266a8dd720928. NOTE: This is a candidate for the 9.0 branch. v2: Also blacklist GL_TEXTURE_3D, per Brian's comment. v3: Disable GL_TEXTURE_GEN_STR_OES, per Ian's comment. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54297 Reviewed-by: Brian Paul <brianp@vmware.com> [v1] Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 679c93ff89c71cbd3b1d24e88abd38f00b8c1f02)
rivers/common/meta.c
|
5ef472dd83b7b96538432157e2569dedf5625161 |
22-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error for glCompressedSubTexImage If a subtexture region isn't aligned to the compressed block size, return GL_INVALID_OPERATION, not gl_INVALID_VALUE. NOTE: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 1f586684d62c4f5208d1f3929d067a79ea2140ac)
ain/teximage.c
|
7c60a95a0e4e4e8b31c9028a5edc22dca791dcb7 |
27-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Don't free the intel_context structure when intelCreateContext fails. intelDestroyContext will eventually be called, and it will clean things up. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53618 (cherry picked from commit de958de71b1450952e021af4e729c87406353db6)
rivers/dri/i915/i915_context.c
|
8aaef12a599db583def7aa3558dfab98ce76f913 |
31-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Don't free the intel_context structure when intelCreateContext fails. This squashes two commits from master: i965: Don't free the intel_context structure when intelCreateContext fails. intelDestroyContext will eventually be called, and it will clean things up. The call to brwInitVtbl is moved earlier so that intelDestroyContext can call the device-specific destructor. This also makes the code look more like the i915 code. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54301 (cherry picked from commit 87f26214d6bdeb439b30615ec53c293c5141cf11) And: i965: brwInitVtbl needs to know the chipset generation Fixes major regressions since de958de. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit e87c63f2889fcbeb5a8bbd91eda1333d7ed44bf2) The second commit message should have read 'since 87f2621', of course.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_vtbl.c
|
a87b0110b93597c6df5d84e720f685816d01ed40 |
28-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Don't call intelDestroyContext if there is no context to destroy Some error paths in the device-specific context creation functions can exit before the deintel_context structure is allocated. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53618 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54301 (cherry picked from commit 22897c74979aa02facdd5cd729db8dadf86924f5)
rivers/dri/intel/intel_screen.c
|
5174eed79343346e7e39cf47d1cb18e6caa76c54 |
26-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri_util: Use calloc to allocate __DRIcontext The __DRIcontext contains some pointers, and some drivers check for them to be NULL in some failure paths. Instead of sprinkling NULL assignments across the various drivers, just zero out the whole thing. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Lu Hua <huax.lu@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53618 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54301 (cherry picked from commit f93cb0bebb10e3e3e5df099be51021b211650356)
rivers/dri/common/dri_util.c
|
8c1c18769ef4838b11065b353f6f62bfd1de1cd2 |
12-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/blorp: Add support for blits between SRGB and linear formats (fixed). This is a squash of 2 commits from master. The first commit is: i965/blorp: Add support for blits between SRGB and linear formats. Fixes colorspace issues in L4D2 when multisampling is enabled (the scene was far too dark, but the flashlight area was way too bright). The nVidia and AMD binary drivers both allow this kind of blit. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff) The second commit is: i965/blorp: Fix sRGB MSAA resolves. Commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff (i965/blorp: Add support for blits between SRGB and linear formats) changed blorp to always configure surface states for in linear format (even if the underlying surface is sRGB). This allowed sRGB-to-linear and linear-to-sRGB blits to occur without causing the image to be inappropriately brightened or darkened. However, it broke sRGB MSAA resolves, since they rely on the destination buffer format being sRGB in order to ensure that samples are averaged together in sRGB-correct fashion. This patch fixes the problem by instead configuring the source buffer to use the *same* format as the destination buffer. This ensures that the image won't be brightened or darkened, but preserves proper sRGB averaging. Fixes piglit tests "EXT_framebuffer_multisample/accuracy srgb". Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55265 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 124b214f094fa63ff1ddb7e9f0a1c2e0ba8214fb)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp_blit.cpp
|
849a3d243d8a0d951202515c06d9b17daf59d2f2 |
19-Sep-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Don't spill "smeared" registers. Fixes an assertion failure when compiling certain shaders that need both pull constants and register spilling: brw_eu_emit.c:204: validate_reg: Assertion `execsize >= width' failed. NOTE: This is a candidate for the 8.0 release branch. Signed-off-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit ab5ce2789fe9e5f2789ee22fdb02bcfed42a7125)
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
36bc0fe4f2e90ea9efa19940f477472dad6fb18f |
12-Sep-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Increase Y alignment for multisampled stencil blits. This patch is a band-aid fix for a bug in commit 5fd67fa (i965/blorp: Reduce alignment restrictions for stencil blits), which causes multisampled stencil blits to work incorrectly on Sandy Bridge. When blitting to or from a normal stencil buffer, we have to use a coordinate transformation that swizzles coordinates to account for the fact that stencil buffers use W tiling, but the most similar tiling format available for textures and render targets is Y tiling. The differences between W and Y tiling cause pixels to be scrambled within a block of size 8x4 (width x height) as measured relative to a W tile, or 16x2 as measured relative to a Y tile. So in order to make sure that pixels at the edges of the blit aren't lost, we need to align the rendering rectangle (and the buffer sizes) to multiples of the 8x4 block size. This alignment happens in the brw_blorp_blit_params constructor, whereas the determination of how to swizzle the coordinates happens during code generation, in the brw_blorp_blit_program class. When blitting to or from a multisampled stencil buffer, the coordinate swizzling is more complex, because it has to account for the interleaving pattern of samples, which uses 4x4 blocks for 4x MSAA and 8x4 blocks for 8x MSAA. The end result is that if multisampling is in use, the 16x2 block size (relative so a Y tile) needs to be expanded to 16x4, and the corresponding size relative to a W tile expands to 8x8. The problem doesn't affect Ivy Bridge severely enough to crop up in Piglit tests because on Ivy Bridge we have to disable multisampling when blitting *to* a multisampled stencil buffer (the blorp compiler generates code to compensate for the fact that multisampling is disabled). However I suspect a bug is still present because we don't disable multisampling when blitting *from* a multisampled stencil buffer. This patch fixes the problem by doubling the vertical alignment requirement when blitting to or from a multisampled stencil buffer, and multisampling has not been disabled. In the long run I would like to rework the brw_blorp_blit_params constructor--it's difficult to follow and has had several subtle bugs like this one. However this band-aid fix should be suitable for cherry-picking to release branches. Fixes Piglit tests "unaligned-blit {2,4} stencil {msaa,upsample}" on Sandy Bridge. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit a33ce665a5827c598b85bb04d94b33e6a5e41c28)
rivers/dri/i965/brw_blorp_blit.cpp
|
76c1c34c4aa2fa48126aee8d16e943bf0e3ff750 |
30-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Fix offsets and width/height for stencil blits. Fixes piglit test "framebuffer-blit-levels draw stencil". Acked-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 1a5d4f7cb2367c7863b28efbd78e9169114baf42)
rivers/dri/i965/brw_blorp_blit.cpp
|
21e9850d5369f9757b5005df4c8af38668a3053b |
29-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Reduce alignment restrictions for stencil blits. Previously, we aligned all stencil blit operations to multiples of the size of a tile, since stencil buffers use W-tiling, and blorp has to approximate this by configuring the 3D pipeline for Y-tiling and swizzling coordinates. However, this was unnecessarily conservative; it turns out that the differences between W-tiling and Y-tiling are confined to 32-byte sub-tiles within the 4k tiling pattern; the layout of these 32-byte sub-tiles within the larger 4k tile is the same (8 sub-tiles across by 16 sub-tiles down, in column-major order). Therefore we only need to align stencil blit operations to multiples of the sub-tile size. Note: although the performance improvement of this change is probably quite small, the fact that W-tiling and Y-tiling formats only differ within 32-byte sub-tiles will be essential in a future patch to ensure that stencil blits work correctly between parts of the miptree other than level/layer 0. Making this change provides handy documentation (and validation) of this fact. Acked-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 5fd67fac14d7f35c311eb5c671be8d4ae9b2ea37)
rivers/dri/i965/brw_blorp_blit.cpp
|
62bc4af0e18f76dd30a4d5ae6d45a365a1fa226f |
30-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: don't reduce stencil alignment restrictions when multisampling. When blitting to a stencil buffer, we need to align the rectangle we send down the rendering pipeline, to account for the fact that the stencil buffer uses a W-tiled layout, but we are configuring its surface state as Y-tiled. Previously, when the stencil buffer was multisampled, we assumed that we could reduce the amount of alignment that was necessary, since each pixel occupies a block of 2x2 or 4x2 samples in the stencil buffer. That would have been correct if the coordinates we were adjusting were measured in pixels. However, the conversion from pixel coordinates to coordinates within the interleaved buffer has already been done; therefore the full alignment restriction applies. Note: the reason this mistake wasn't previously uncovered by piglit tests is because it is being masked by another mistake: the blorp engine is using overly conservative alignment restrictions when doing stencil blits. The overly conservative alignment restrictions will be removed in the patch that follows. Doing this fix now will prevent the subsequent patch from introducing regressions. Acked-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 1a75063d5f829547b75b60ae64bddf3905b4cb8f)
rivers/dri/i965/brw_blorp_blit.cpp
|
68da5dfc2c2e9c0aca47431076be0cd43406d4aa |
30-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Add map_stencil_as_y_tiled to intel_region_get_aligned_offset. This patch modifies intel_region_get_aligned_offset() to make the appropriate calculation when the blorp engine sets up a W-tiled stencil buffer using a Y-tiled SURFACE_STATE. Acked-by: Eric Anholt <eric@anholt.net> (cherry picked from commit b760c9913dcff848a2aa0e60abeb48e596ae8fee)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
96fd94ba9421c7c3072988f999ee869534f2bc2a |
30-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Add map_stencil_as_y_tiled to intel_region_get_tile_masks. When the blorp engine is performing a blit from one stencil buffer to another, it sets up the surface state for these buffers as Y-tiled, so it needs to be able to force intel_region_get_tile_masks() to return the appropriate masks for a Y-tiled region. Acked-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 50dec7fc2d5ba813aaa822596d124098a22db301)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
239e9bef92bd4602bc30e05177fa85a6e5b69fe0 |
30-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Account for offsets when emitting SURFACE_STATE. Fixes piglit tests "framebuffer-blit-levels {read,draw} depth". Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit f04f219906e40a6647a10fd9c1928509fe25fb84)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
e87174cf4b499c8e9558438e70b0da5f0f38f54a |
16-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Thread level and layer through brw_blorp_blit_miptrees(). Previously, when performing a blit using the blorp engine, we failed to account for the level and layer of the source and destination. As a result, all blits would occur between miplevel 0 and layer 0 of the corresponding textures, regardless of which level/layer was bound to the framebuffer. This patch passes the correct level and layer through brw_blorp_miptrees() into the brw_blorp_blit_params data structure. Further patches in the series will adapt gen{6,7}_blorp_emit_surface_state to make use of these parameters. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 3123f0621561549c4566248100661ef77cab2834)
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/intel/intel_mipmap_tree.c
|
127dc6d136db64fcf9448d66cb4c86db3bb11226 |
29-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: store x and y offsets in brw_blorp_mip_info. Currently, gen{6,7}_blorp_emit_surface_state assumes that the src and dst surfaces are mapped to miplevel 0 and layer 0 (thus no surface offset is required). This is a bug, since the user might try to blit to and from levels/layers other than 0. To fix this bug, it will not be sufficient to have gen6_{6,7}_blorp_emit_surface_state look up the surface offset at the time they set up the surface state, since these offsets will need to be tweaked when blitting stencil buffers (due to the fact that stencil buffer blits have to swizzle between W and Y tiling formats). So, to pave the way for the bug fix, this patch causes the x and y offsets to be computed during blit setup and stored in brw_blorp_mip_info. As a result of this change, brw_blorp_mip_info doesn't need to store the level and layer anymore. For consistency, this patch makes a similar change to the handling of depth buffers when doing HiZ operations. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit c130ce7b2b26b4b67d4bf2b6dd1044a200efe25d)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
602e9a0f3727b036caf3a7b228fe90d36d832ea7 |
29-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: store surface width/height in brw_blorp_mip_info. Previously, gen{6,7}_blorp_emit_surface_state would look up the width and height of the surface at the time they set up the surface state, and then tweak it if necessary (it's necessary when a W-tiled surface is being mapped as Y-tiled). With this patch, we look up the width and height when setting up the blit, and store them in brw_blorp_mip_info. This allows us to do the necessary tweak in the brw_blorp_blit_params constructor (where it makes more sense). It also reduces the need to keep track of level and layer in brw_blorp_mip_info, so that a future patch can eliminate them entirely. For consistency, this patch makes a similar change to the handling of depth buffers when doing HiZ operations. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 09b0fa8499d8035fa31ccb2b550056305fbd149b)
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
5c66640ac7c271a96f66f4cb49adad54eb58cc47 |
15-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Change gl_renderbuffer* params to intel_renderbuffer*. This makes it more convenient for blorp functions to get access to Intel-specific data inside the renderbuffer objects. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit e14b1288ef5b5b6091facaecd42e86f0a8157f28)
rivers/dri/i965/brw_blorp_blit.cpp
|
cb9765ca94b5a73eaafe0468ed40052dce55fdc8 |
29-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Clarify why width/height must be adjusted for Gen6 IMS surfaces. Also add a clarifying comment for why the width/height doesn't need adjustment for Gen7. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 32c7b2769cbe80ff56d1c73c4f9b62f13f577c8d)
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
5db1deab5118a986167ea6e8f8c7c196c74457c1 |
04-Sep-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Adjust stencil buffer size after computing miptree layout. Since Gen6+ stencil buffers use W-tiling (a tiling arrangement which drm and the kernel are not aware of) we need to round up the width and height of a stencil buffer to multiples of the W-tile size (64x64) before allocating a stencil buffer. Previously, we rounded up the size of the base miplevel, and then computed the miptree layout based on the rounded up size. This was incorrect, because it meant that the total size of the miptree would not be properly W-tile aligned, and therefore we would not always allocate enough pages. (Note: even though the GL API doesn't allow creation of mipmapped stencil textures, it does allow mipmapping of a combined depth/stencil texture, and on Gen6+, a combined depth/stencil texture is internally implemented as a pair of separate depth and stencil buffers.) For example, on Sandy Bridge, when allocating a mipmapped stencil texture of size 128x128, we would first round up to the nearest multiple of 64x64 (causing no change to the size), and then compute the miptree layout (whose size worked out to 128x196). Then we would request an allocation of 128*196 bytes (6.125 pages), causing 7 pages to be allocated to the texture. However, the texture needs 8 pages, since each W-tile occupies a page, and it takes 2 W-tiles to cover a width of 128 and 4 W-tiles to cover a height of 196. This patch changes the order of operations so that the miptree layout is computed first and then the total size of the miptree is rounded up to be W-tile aligned. NOTE: This is a candidate for the 8.0 release branch. Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit bde833c9d014ad8aebfab0d2285184d7e6d5896d)
rivers/dri/intel/intel_mipmap_tree.c
|
4cdbf27fac2537fe1c5216afd5c10bde224eb57b |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set uniform dispatch pointers for many things in ES2 or core NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 6c01a0e770432eda0e29dbd7278a94efc688a6d3)
ain/api_exec.c
ain/uniforms.c
ain/uniforms.h
|
0fb12a40e48ca804653a51e2f5ff1acba13e703e |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set shaderapi dispatch pointers for many things in ES2 or core v2: Allow GL_ARB_shader_objects functions in core profile because we still expose the extension string there. Don't allow glBindFragDataLocation in GLES3 because it's not part of that API. Based (mostly) on review comments from Eric Anholt. NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit be66cf950e01d217b5341f8e56676dc5bf81ca47)
ain/api_exec.c
ain/dlist.c
ain/shaderapi.c
ain/shaderapi.h
|
f16031513f32f9094238af80c01db4025c70519b |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set vtxfmt dispatch pointers for many things in ES2 or core NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit aa0f588e2d4c160879699180f0e7f4d3e52b55b9)
ain/vtxfmt.c
|
0dc989ea5b54a35bbafb00a0d40a799f8cdf0fac |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set loopback dispatch pointers for most things in ES2 or core NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit a13c07f7528c74fc433a7227777351110087b89d)
ain/api_exec.c
ain/api_loopback.c
ain/api_loopback.h
ain/dlist.c
|
c01f89606214e1b630c9a58c5dafc1aca2b97f40 |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Pass GL context to _mesa_create_save_table This isn't used by this patch, but it will be necessary for several follow-on patches. Separating this out will make it easier to reorder patches later. NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 3ef9e43865f38e9c8c5681768645513ce26e0488)
ain/context.c
ain/dlist.c
ain/dlist.h
|
b56c93dfff1e718c4e4a2f688d1275580c2c4ce0 |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glTexStorage in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit ee77061277b640d78befb43c26a3ffbe227e9244)
ain/api_exec.c
|
90ec1db9f4c62d345fc78518570f4fde5e177d57 |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glGetProgramivARB in ES2 This function is not the same as glGetProgramiv. NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 7f7268d385cc1435264b8d3111e1596b2dae9183)
ain/api_exec.c
|
dd0dd9aa52061eb1ce8436bb3e1fdc5234e79987 |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glResizeBuffersMESA in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit a83b01371e60356d2ed69c131bf9e0a0daba59a4)
ain/api_exec.c
|
7dc8dc0f7cb21b23190f59ec2fc61fbf8b1556ae |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointers for glPointParameter[if][v] in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 1c0a44aaf5c095ca261d1ce11bb8a67dbbce54a2)
ain/api_exec.c
|
961567d0fe29915b9b5ed0be9970d180a18eea4e |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointers for glClearDepth or glDepthRange in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 2a3a68e4c7b15860ac9398c5a56c0d6762573633)
ain/api_exec.c
|
de4e2227948f9f65fdadfb7cc9fe5fee7e95d92b |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glGetBufferSubData in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 11927bfc4a43aefbac5af35aae34d5cdf5d9e6bb)
ain/bufferobj.c
|
f57bc97c7a7f225a3844817748db011f53ef5e06 |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glGetDoublev in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 850412b8ab272b9616da9a0df29e424b07bddde9)
ain/api_exec.c
|
bb16b471d28b575fe3e7346aa1d6dbefa9bf90cd |
05-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't set dispatch pointer for glPointSize in ES2 NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit aa129b0833052f613a6ec570aef092733769ee0e)
ain/api_exec.c
|
cf81335712d489a1f4778596c5a6610fc8547692 |
18-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow glGetTexParameter of GL_TEXTURE_SRGB_DECODE_EXT This was already (correctly) supported for glGetSamplerParameter paths. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit ae3023e9675a033ff66b9bb14598aa1f02530d7f)
ain/texparam.c
|
8d06574d2b80ea645b27a0b1c2b68054a80dad3f |
16-Sep-2012 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: fix dropped && in glGetStringi() This fixes glGetStringi(GL_EXTENSIONS,.. for core contexts. Previously, all extension names returned would be NULL. NOTE: This is a candidate for release branches. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit d30a7d2eb4b6d853bfa90169341334f2b2a643d5)
ain/extensions.c
|
82a08e2f469d7f7a09006aaf28290ece26dd979d |
04-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Ignore SRGB when determining compatible resolve formats. MSAA resolves and other blit-like operations ignore SRGB state anyway, so we should be able to safely allow resolves between compatible SRGB/linear formats like SRGBA8 and RGBA8888. This matches the behavior of the nVidia and AMD binary drivers. Fixes completely black rendering when using multisampling in L4D2. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit c96828ecb46b5aee3121a018be365b738c35cbdc)
ain/fbobject.c
|
3dd84a58bb3a066eeaf854dd83a8d33801011367 |
19-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Don't override S3TC internalFormat if data is pre-compressed. Commit 42723d88d intended to override an S3TC internalFormat to a generic compressed format when the application requested online compression of uncompressed data. Unfortunately, it also broke pre-compressed textures when libtxc_dxtn isn't installed but the extensions are forced on. Both glCompressedTexImage2D() and glTexImage2D() call teximage(), which calls _mesa_choose_texture_format(), hitting this override code. If we have actual S3TC source data, we can't treat it as any other format, and need to avoid the override. Since glCompressedTexImage2D() passes in a format of GL_NONE (which is illegal for glTexImage), we can use that to detect the pre-compressed case and avoid the overrides. Fixes a regression since 42723d88d370a7599398cc1c2349aeb951ba1c57. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com> (cherry picked from commit 328961d95586931a17fe81ba816d362e8389c105)
ain/teximage.c
|
0231c54ebbfd4ace99c3be6bb6e5c76127279aca |
14-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Don't _mesa_set_enable() invalid targets in ES 1. GL_TEXTURE_1D, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_GEN_* don't exist in ES 1 contexts, so any meta ops that used _mesa_meta_begin with MESA_META_TEXTURE would trigger GL errors. One such operation is _mesa_meta_Clear(). Fixes the ES1 conformance test miplin.c, which was regressed by commit 08be1d288f216232d3974f5997b266a8dd720928. NOTE: This is a candidate for the 9.0 branch. v2: Also blacklist GL_TEXTURE_3D, per Brian's comments. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54297 Cc: Ian Romanick <idr@freedesktop.org> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
7cfd42cefe1949af51ecced9891f415eca2c0e66 |
14-Sep-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/glsl: rename preprocess to glcpp_preprocess This symbol with dricore escapes into the namespace, its too generic, we should prefix it with something just to be nice. Should be applied to stable + 9.0 Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 88b0790b1ae8864d4ec6196b3939498bbffdbb5f)
rogram/ir_to_mesa.cpp
|
a834381506d5be80251953666198fc3b9bc4b731 |
14-Sep-2012 |
Dave Airlie <airlied@redhat.com> |
mesa: use a prefix for the program lex This avoids us making a global yylex symbol which will interfere will all sorts of apps. with libdricore which can't do symbol visibility currently we pollute the namespace with this. This is a candidate for 9.0 & stable branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit cc943c8470b38a1f13d2493f293a153f75754caa)
akefile.am
rogram/program_lexer.l
|
a5a86652f17c5bc249a55b558310947a76de3d33 |
12-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix out-of-order sampler unit usage in ARB fragment programs. ARB fragment programs use texture unit numbers directly, unlike GLSL which has an extra indirection. If a fragment program only uses one texture assigned to GL_TEXTURE1, SamplersUsed will only contain a single bit, which would make us only upload a single surface/sampler state entry. However, it needs to be the second entry. Using _mesa_fls() instead of _mesa_bitcount() solves this. For ARB programs, this makes num_samplers the ID of the highest texture unit used. Since GLSL uses consecutive integers assigned by the linker, _mesa_fls() should give the same result as _mesa_bitcount().. Fixes a regression since 85e8e9e000732908b259a7e2cbc1724a1be2d447, which caused GPU hangs in ETQW (and probably others), as well as breaking piglit test fp-fragment-position. v2: Add a comment, as suggested by Matt. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54098 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54179 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Tested-by: meng <mengmeng.meng@intel.com> (cherry picked from commit 28f4be9eb91b12a2c6b1db6660cca71a98c486ec)
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
66e8f863d34fc8b8f7602c45bb3230fe663d4eb0 |
12-Sep-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add a _mesa_fls() function to find the last bit set in a word. ffs() finds the least significant bit set; _mesa_fls() finds the /most/ significant bit. v2: Make it an inline function in imports.h, per Brian's suggestion. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 0fc163408e6b9521d545daba19f70631011d5752)
ain/imports.h
|
405d47bbe78106f44e4283925e58a1d1ebc88455 |
31-Aug-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
mesa: don't wait in _mesa_ClientWaitSync if timeout is 0 From ARB_sync spec: If the value of <timeout> is zero, then ClientWaitSync does not block, but simply tests the current state of <sync>. TIMEOUT_EXPIRED will be returned in this case if <sync> is not signaled, even though no actual wait was performed. Fixes random fails of the arb_sync-timeout-zero piglit test on r600g. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit b05a1fc156c4776d97d6ff3dcce71e6e34bac21d)
ain/syncobj.c
|
04f902b47226f976d3d81c66ddadb7414051c957 |
08-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix proxy texture error handling in glTexStorage() This is basically a follow-on to 1f5b1f98468d5e80be39e619ed15c422fbede8d3. Basically, generate GL errors for ordinary invalid parameters for proxy targets the same as for non-proxy targets. Only texture size and OOM errors should be handled specially for proxies. Note: This is a candidate for the stable branches. (cherry picked from commit 35c75f6777c177a59df8a87adf0777403113ce74)
ain/texstorage.c
|
f9bb66b1cee2272b20ff3086e84d17026b8e8bb9 |
08-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_get_proxy_target() non-static Needed for the next patch. Note: This is a candidate for the stable branches. (cherry picked from commit d17440dcaa42ac4c19dad1be7d4c7199395135a9)
ain/teximage.c
ain/teximage.h
|
10b9a02952ff0918c40024326228324704992329 |
08-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: do internal format error checking for glTexStorage() Turns out we weren't doing any format checking before. Now check the internal format and, in particular, make sure that unsized internal formats aren't accepted. Note: This is a candidate for the stable branches. (cherry picked from commit 2e4fc54977977e674ee77294e6632a24e594d17f)
ain/texstorage.c
|
1f4d074f75055fd9591c5b5506727000e4a5526d |
06-Sep-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa/msaa: Allow X and Y flips in multisampled blits. From the GL 4.3 spec, section 18.3.1 "Blitting Pixel Rectangles": If SAMPLE_BUFFERS for either the read framebuffer or draw framebuffer is greater than zero, no copy is performed and an INVALID_OPERATION error is generated if the dimensions of the source and destination rectangles provided to BlitFramebuffer are not identical, or if the formats of the read and draw framebuffers are not identical. It is not clear from the spec whether "dimensions" should mean both sign and magnitude, or just magnitude. Previously, Mesa interpreted "dimensions" as meaning both sign and magnitude, so any multisampled blit that attempted to flip the image in the X and/or Y direction would fail. However, Y flips are likely to be commonplace in OpenGL applications that have been ported from DirectX applications, as a result of the fact that DirectX and OpenGL differ in their orientation of the Y axis. Furthermore, at least one commercial driver (nVidia) permits Y filps, and L4D2 relies on them being permitted. So it seems prudent for Mesa to permit them. This patch changes Mesa to allow both X and Y flips, since there is no language in the spec to indicate that X and Y flips should be treated differently. NOTE: This is a candidate for stable release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit 5d5f0f349135786cdd76b6004f38b12e50d7f8f9)
ain/fbobject.c
|
e2b4f9aac38b6fcd8eacef24afab47e9d346ba22 |
06-Sep-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix virtual_grf_interferes() between calculate_live_intervals() and DCE. This fixes the blue zombies bug in l4d2. NOTE: This is a candidate for the 9.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 39aca5076fa0e31d418b481167063933f5f7b74f)
rivers/dri/i965/brw_fs_live_variables.cpp
|
6e9baa85a95495e9343ca899a808d264076d67f8 |
05-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix per-level max texture size error checking This is a long-standing omission in Mesa's texture image size checking. We need to take the mipmap level into consideration when checking if the width, height and depth are too large. Fixes the new piglit max-texture-size-level test. Thanks to Stéphane Marchesin for finding this problem. Note: This is a candidate for the stable branches. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (cherry picked from commit 771e7b6d884bb4294a89f276a904d90b28efb90a)
ain/teximage.c
|
3f6ce3454f4d1331234f74670c82595f84269b1b |
31-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/CALLOC/calloc/ to fix allocation bug The CALLOC() macro only takes one argument so this was being treated as a comma expression. Simply use calloc() instead. A follow-on patch will replace all CALLOC() calls with calloc(). NOTE: This is a candidate for the 8.0 and 9.0 branches. (cherry picked from commit 43ed822a50db6b980041ddf91c16c7f8fccc4092)
tate_tracker/st_mesa_to_tgsi.c
|
7f011e20758b1f4552d56dd40204605f7ae0e3c3 |
02-Sep-2012 |
Johannes Obermayr <johannesobermayr@gmx.de> |
Set OSMESA_VERSION=8. VERSION_NUMBER is not required anymore. So it will be removed. Reviewed-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit 10a96f4a4d3d3166fa6907d4b302e01ece5ccd7e)
rivers/osmesa/Makefile.am
rivers/osmesa/osmesa.pc.in
|
13b8eb64523a70af30b576271886a737f51dbe40 |
04-Sep-2012 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Don't advertise GLES extensions in GL contexts glGetStringi(GL_EXTENSIONS) failed to respect the context's API, and so returned all internally enabled GLES extensions from a GL context. Likewise, glGetIntegerv(GL_NUM_EXTENSIONS) also failed to repsect the context's API. Note: This is a candidate for the 8.0 and 9.0 branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit f29a4b0157c6a7a31d2a2991a431b4211d01d162)
ain/extensions.c
|
8cffec495c73f104819deab2bc5631abc1b36429 |
05-Jun-2012 |
Tapani Pälli <tapani.palli@intel.com> |
xmlconfig: use __progname when building for Android __progname symbol and strrchr are available with bionic. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 4d02b018f456c447e2c24ebd1460c27d6e5fb385)
rivers/dri/common/xmlconfig.c
|
284fe97515998178962b5abb4ed0b828b3497c77 |
01-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Don't save and restore fog state when there is no fog state I wonder if the better solution is to have _mesa_meta_GenerateMipmap not use MESA_META_ALL for the GLSL path. Even on compatibility profiles there is no reason to save and restore fog on this path. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Lu Hua <huax.lu@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54295 (cherry picked from commit 51b069e7aa81cdc8f38db71554ae3dd12ce0a6c4)
rivers/common/meta.c
|
6886da783ac2fc549b4ffc1f42a47985044757f0 |
31-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Don't use brw->fragment_program in calculate_urb_setup(). Reading brw->fragment_program is nonsensical in compiler code: it contains the currently active program (if any), not the one currently being compiled. Attempting to access it may either lead to crashes (null pointer dereference if no program is active) or wrong results. Fixes piglit regressions since 9ef710575b914ddfc8e9a162d98ad554c1c217f7 on pre-Sandybridge hardware. The actual bug was created in commit 7b1fbc688999fd568e65211d79d7678562061594. NOTE: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54183 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> (cherry picked from commit 4d9abd96cc177cade79b64544096eb45bf8313a2)
rivers/dri/i965/brw_fs.cpp
|
00978098794f723230a33cab1c1152686f1c4fa5 |
31-Aug-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
dri: Rework planar image interface As discussed with Kristian on #wayland. Pushes the decision of components into the dri driver giving it greater freedom to allow t to implement YUV samplers in hardware, and which mode to use. This interface will also allow drivers like SVGA to implement YUV surfaces without the need to sub-allocate and instead send 3 seperate buffers for each channel, currently not implemented. I have tested these changes on Gallium Svga. Scott tested them on both intel and Gallium Radeon. Kristan and Pekka tested them on intel. v2: Fix typo in dri2_from_planar. v3: Merge in intel changes. (cherry picked from commit 6a7dea93fa70d670a5954e47a47075a2703209d4) Tested-by: Scott Moreau <oreaus@gmail.com> Tested-by: Pekka Paalanen <ppaalanen@gmail.com> Tested-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
0791484c4233f3b474b1d9ba1af2f4608fe7e962 |
30-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Bump version to 9.0 Now that OpenGL 3.1 is supported by at least one driver, follow tradition and bump the major version number. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/version.h
|
f8a8f069ee2dae35470c6e2a681e5e110044e6fe |
29-Aug-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
i965/msaa: flag _NEW_MULTISAMPLE in the brw_tracked_state This is required to get the program recompiled when SampleAlphaToCoverage is enabled. Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
055093e33fc90705c429e948caefedf0e0fb82af |
30-Aug-2012 |
Brian Paul <brianp@vmware.com> |
meta: remove call to _meta_in_progress(), fix multisample enable/disable This partially reverts d638da23d2ec2e9c52655b1ea138249e7f8bcccb. With gallium the meta code is not always built so the call to _meta_in_progress() was unresolved. Simply special-case the GL_MULTISAMPLE case in the meta code. There might be other special cases in the future given all the differences between legacy GL, core GL, GLES, etc. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54234 and https://bugs.freedesktop.org/show_bug.cgi?id=54239 v2 (Paul Berry <stereotype441@gmail.com>): keep _meta_in_progress function, since it's needed by the i965 driver, but don't call it from core mesa. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
ain/enable.c
|
aad7ccd261e67e9d943dcab17ebe8082d7b6f4d9 |
30-Aug-2012 |
Brian Paul <brianp@vmware.com> |
meta: add parenthesis to silence compiler warnings Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/common/meta.c
|
9121460f13c420d9cd2783636fe79bc4798eebed |
28-Aug-2012 |
Tapani Pälli <tapani.palli@intel.com> |
scons : add HAVE_DLOPEN to build environment fixes dlopen issue caused by 57c57df7b4579b60a84062df2e64f84dd84558b5 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54140 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
Conscript
|
83933606596a0197e6cd1740cb439eaf055e544d |
05-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Remove a dead member from live variables analysis. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_live_variables.cpp
rivers/dri/i965/brw_fs_live_variables.h
|
6928bea7ca1f2ed308d8255c6816f44467306255 |
29-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Initialize output_components[] by filling it with zeros. Prior to commit 2f1869822, emit_fb_writes() looped from 0 to 3, writing all four components of a vec4 color output. However, that broke for smaller output types (float, vec2, or vec3). To fix that, I introduced a new variable (output_components[]) containing the size of the output type for each render target. Unfortunately, I forgot to actually initialize it in the constructor, which meant that unless a shader wrote to gl_FragColor, or the specific output for each render target, output_components would contain a garbage value, and we'd loop for a completely non-deterministic amount of time. Not actually emitting any color writes seems like the right approach. We may still need to emit a render target write (to terminate the thread), but don't have to put in any sensible values (the shader didn't write anything, after all). Fixes a regression since 2f18698220d8b27991fab550c4721590d17278e0. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54193 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Tested-by: Ian Romanick <idr@freedesktop.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
42723d88d370a7599398cc1c2349aeb951ba1c57 |
22-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Do something sensible when on-line compression is requested but not possible It is possible to force S3TC extensions to be enabled. This is generally done to support applications that will only supply pre-compressed textures. This accounts for the vast majority of applications. However, there is still the possibility of an application asking for on-line compression. In that case, generate a warning and substitute a generic compressed format. The driver will either pick an uncompressed format or a compressed format that Mesa can handle on-line (e.g., FXT1). This should only cause problems for applications that request on-line compression and read the compressed texture back. This is likely an infinitesimal subset of an already infinitesimal subset. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/teximage.c
|
0e0d66446194ab0b2d114dc83e76ec9c9b1a01f1 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Allow creation of OpenGL 3.1 contexts v2: Fix API_OPENGL_CORE handling when TEXTURE_FLOAT_ENABLED is not defined. Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
|
2a33a997376e1b628ad91e609a090bedf5964704 |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Advertise GLSL 1.40 and TexBOs in core contexts Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_extensions.c
|
91473485fcf3e2cef465784ae5581787a2a8a3b3 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clean up bits of cruft in intelCreateContext This and the previous three commits should probably be squashed together... Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_screen.c
|
bf8644e64daa4e1d59d1e399355b349406438d7a |
17-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Set context flags Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_screen.c
|
ca2b1fcb30bb1bec2eab520626c58727949f7cd6 |
17-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/dri: Allow creation of forward-compatible contexts This is done by changing the API to API_OPENGL_CORE. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/dri_util.c
|
36ceabfb745f27bc5754ee2a9766945d1dd59551 |
22-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Enable GL_OES_vertex_array_object Functionally the same as GL_ARB_vertex_array_object. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/api_exec.c
ain/extensions.c
ain/get.c
|
35cf6aeb8c26821e704db737b61cf2623b3e8f6b |
22-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Enable GL_{ARB,APPLE}_vertex_array_object in all drivers This is a purely software extension. The drivers don't need to do any work to support it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_extensions.c
rivers/dri/r200/r200_context.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
d1cf5c77b73d6b2c1cfd79ce0e3363e097177b6a |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Don't use deprecated keyword in 1.30 shader Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
ae88281b7b67d656a7d1467c39c8d93dc8778485 |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Disallow alpha, luminance, and LA textures in core context Also disallow the 1, 2, 3, and 4 formats. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/teximage.c
|
04d6ffa06deff792aea49eccc4bceb1a91a1892e |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Disallow more deprecated functions in core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_exec.c
ain/vtxfmt.c
|
91107b4ccf7a47633fce98b9ccfba7f559098cb7 |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Require names from Gen in core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/bufferobj.c
ain/texobj.c
|
843b876ba3e01af73ea4ca55a529911448c10b2a |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow NULL vertex pointer without a VBO There is text in the OpenGL 3.x specs to explicitly allow this case. Weird. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/varray.c
|
792214e8d45675b756e02a5e39bfe2ab32f7383d |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Disallow VertexAttribPointer without a VAO in a core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/varray.c
|
29512df6355706cc678d3994185c20c4d66b57c4 |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Disallow wide lines in forward compatible context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/lines.c
|
7e1cab09a155a0f986342323624f460340de355f |
18-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Only FRONT_AND_BACK is allowed for PolygonMode in core context Page 407 (page 423 of the PDF) of the OpenGL 3.0 spec says (in the list of deprecated functionality): "Separate polygon draw mode - PolygonMode face values of FRONT and BACK; polygons are always drawn in the same mode, no matter which face is being rasterized." Also modify meta to not use FRONT or BACK in a core context. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
ain/polygon.c
|
d638da23d2ec2e9c52655b1ea138249e7f8bcccb |
08-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
meta: Don't stray outside the confines of the API specified in the context Signed-off-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
ain/enable.c
|
8e7b6a69e9cb00345e0c08966036b305cbda46c9 |
17-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't allow display lists or evaluators in core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/context.c
ain/vtxfmt.c
|
2bcf55549026972c186b5e6c9f351ee77da30166 |
17-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't allow GL_EXTENSIONS query in core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/getstring.c
|
c85a9a99965745bac23a72a6794cd9d9493e27be |
15-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Non-sprite points are deprecated Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/points.c
|
7d8d1c781967e0c29b0523e2c8056c2d7412dd60 |
09-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix VAO deletion on GL 3.1 core. We were calling through a dispatch table entry that was NULL, since the apple variant is only on legacy desktop. Just call the function we mean instead of indirecting through the dispatch.
ain/arrayobj.c
|
8a4d560796f0ec3424c363fc82852a02c2701fe5 |
09-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Enable a bunch of missing getters on 3.1 core. NOTE: maybe I enabled too many?
ain/get.c
|
bb4a39ec951a696efa07a120c9446b677703abab |
27-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Expose texture buffer objects when the context is GL 3.1 core. v2: Use API_OPENGL_CORE. v3: Only require desktop GL. If a driver can't support TexBOs in a non-core context, it should not enable them. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
ain/teximage.c
|
1b86a91c643fdd4c3de1a2f5e84f94e812105766 |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow PACK / UNPACK queries for ES2 These are part of the GL_EXT_unpack_subimage extension and ES 3.0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/get.c
|
a010215463c63680c69e90202fe3fcd2e5b25fa6 |
29-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill ES2 wrapper functions v2: Fix completely broken condition around ClearColorIiEXT and ClearColorIuiEXT. v3: Add special VertexAttrib handling for ES2. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ndroid.gen.mk
akefile.am
Conscript
ain/.gitignore
ain/api_exec.c
ain/context.c
ain/vtxfmt.c
ources.mak
bo/vbo_exec_api.c
|
fc2219e4482c4b940ea32dbe8ad220a22c300f3d |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: glGetVertexAttribPointerv is part of core profile and ES2 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_exec.c
|
917f68071bcba705970f474fae2cb56cfffa20f5 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glPointParameter pname in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/es1_conversion.c
ain/points.c
|
f778174ea1e431a7113f12c12beb4aba9e825a9f |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Require OpenGL 2.0 for GL_POINT_SPRITE_COORD_ORIGIN The comment in the code even says this is the right thing to do. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/points.c
|
25ffb8689350bc7bb58a564bb1c5fc3ba62cb1df |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Require that drivers supporting point sprites support point parameters All drivers in Mesa do. This allows a lot of extension checking code to be gutted from the function. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/points.c
|
33e01d93ca1a1d3183243c308a2c87f4b969b3bd |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetTexEnv parameters in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/texenv.c
|
8a263b6efd2c520a4ed9c98b9c8142c6c2c6f389 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexEnv parameters in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texenv.c
|
d2b03f6e993f08b0a80a206d7bf6f0d42b308266 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetTexGen parameters in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texgen.c
ain/texgen.h
|
f329adfa497b6b2e0a125ab98a38c656a017270d |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexGen parameters in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texgen.c
|
0fa4ed05cf51fc64f5e43d8ea6916115672bf7ab |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glLightModel pname in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/light.c
|
fb4f2d34256aee6b0005b18769a395dd066d3820 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glMaterial face and pname in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
bo/vbo_exec_api.c
|
8df3f9bd5f7626a4548e9901c0b7af33a21af8a6 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapper Fixes a bug that glGetMaterial[fx]v in ES1 contexts would (try to) allow queries of GL_AMBIENT_AND_DIFFUSE. This enum can only be used in glMaterial, not in the get. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/light.c
|
9555d7bdc1cec4cf08be85a2d1e9095de8dd3771 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetPointerv pname in Mesa code rather than the ES wrapper v2: Add proper core-profile, GLES1, and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/getstring.c
|
d6c8913bc629fedc520353cd9de51f1c7ba262a4 |
28-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glMatrixMode mode in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/matrix.c
|
10e7db1ccf4d3b2023f04663f7a6c079eb6afc57 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glFog pname in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/fog.c
|
b7c7e5e45a14ed78eda104ebca25072172730645 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glReadPixels format and type in Mesa code rather than the ES wrapper v2: Add proper GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/readpix.c
|
4114dee99ecd848693302078597076ced9426f95 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glPixelStore pname in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/pixelstore.c
|
08be1d288f216232d3974f5997b266a8dd720928 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper Also handle glDisable, glIsEnabled, glEnableClientState, and glDisableClientState. v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/enable.c
|
bca2cece02385a14f61d5dd8d31aba775b0afb8e |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glHint target in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/hint.c
|
2c87030a00eb5b7034f14f6060093d4b264bc5c0 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetVertexAttribf pname in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Allow glGetVertexAttribfv(0, GL_CURRENT_VERTEX_ATTRIB_ARB, param) in OpenGL 3.1, just like OpenGL ES 2.0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
c13f36ce4e34821144ca6479e4bc3598b598d855 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetString pname in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/getstring.c
|
6a9b8f897a8b59fae03c73e05203bc708fb17793 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate primitive modes in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/api_validate.c
|
72e076cb17e47c608fa6534641653cdc6133fb27 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor _mesa_valid_prim_mode to use a switch-statement This makes the next change a bit easier. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_validate.c
|
01497a356048ce23e089ad8ab8ab0102aae97b3c |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate blend function enums in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. v3: Allow GL_SRC_ALPHA_SATURATE as a destination factor in GLES3. Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/blend.c
|
e58c19a204a028b0c3db7416250387ba98ed0a2d |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glClear mask in Mesa code rather than the ES wrapper
ain/APIspec.xml
ain/clear.c
|
f0c99d0a6a897189dd4b66f508385eb2ecf3f76f |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glRenderbufferStorage internalFormat in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Allow GL_RGB10_A2UI in GLES3 based on review feedback from Eric Anholt. v4: Arg. Reject unsized RED and RG enums on GLES. More feedback from Eric. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/fbobject.c
|
ae86ebfcc9fb3e89744c3ee38766a505857b3e7a |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetRenderbufferParameter pname in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/fbobject.c
|
0cdaa471ecb7ce6442b5ed4a54314de0ffeab614 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetFramebufferAttachmentParameter pname in Mesa code rather than the ES wrapper v2: Add proper core-profile, GLES1, and GLES3 filtering. v3: Fix the GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query when the attachment type is GL_NONE on GLES3. Other cleanups. Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/fbobject.c
|
5b44a77428863292d49aeed2960afbde5ee8f509 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Fix a typo in GL_TEXTURE_2D_ARRAY checking. v4: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test. The test around GL_TEXTURE_2D_ARRAY got some other changes because that enum is also available with GLES3 (which uses API_OPENGLES2). Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/fbobject.c
|
7f991d26ad189bc3c08c04dc248a5b2df5ce9f68 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test. The test around GL_TEXTURE_2D_ARRAY got some other changes because that enum is also available with GLES3 (which uses API_OPENGLES2). Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/fbobject.c
|
0fc11a24c85413a335b87bc34659d2381fd6670c |
29-Aug-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl version when ARB_{vertex, fragmet}_shader are present. Remove redundant code. V3: Remove redundant border related code leaving the assertion. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
ec6478fd322646ae4f6ae20eed8d9c14ea503dfc |
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: convert a few more macros to inline functions
ain/macros.h
|
cf41d7c63aab2289d739c0f9df116caf2cc410e3 |
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove COPY_4V_CAST() macro Only used in one place, and not really needed.
ain/clear.c
ain/macros.h
|
fd9afb87d81f922ea3c13a5bf2d6b17d06b43424 |
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: convert a bunch of math macros to inline functions
ain/macros.h
|
454e23776dbcb4946fbd6e610d837137f7f8ed76 |
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
tnl: use INTERP_4F() instead of four INTERP_F() calls
nl/t_vertex_generic.c
|
ba6f47132d057937cb55f5aaf9b79bd667b7a48d |
25-Aug-2012 |
Brian Paul <brianp@vmware.com> |
swrast: fix wrong assignments in _swrast_add_spec_terms_line()
wrast/s_lines.c
|
1aee8803f83f7ae24d9c2150c70afff2b1ee4c2f |
28-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: test for GL_EXT_framebuffer_sRGB in glPopAttrib() To avoid spurious GL_INVALID_ENUM errors if the extension isn't supported.
ain/attrib.c
|
c4c4d4ad1e2dd25656543bac5bde3a59b85e22b8 |
29-Aug-2012 |
Martin Pieuchot <mpi@openbsd.org> |
mesa: Define CPU_TO_LE32 to work on OpenBSD Signed-off-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
|
67e9ae856355be532455c1cf1211d59b3a4c5992 |
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Disable the swrast context setup on GL 3.1 core. I've reviewed the code, and the swrast callsites remaining are all in drawpixels/copypixels/bitmap/accum, or _swrast_BlitFramebuffer that shouldn't be hit. A piglit run with the context setup disabled on legacy GL and GLES2 showed regressions only in the copypixels and drawpixels tests. If the context type is forced, this reduces the shader_runner maximum heap size for glsl-algebraic-add-add-1.shader_test from 15,137,496b to 4,165,376b. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_span.c
|
993c52d0be5bdf0e30e64ab4c6e1347c5dcb8e3b |
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Replace general sw fallback support with a manual check for rendermode. There were no other cases that set it any more. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
b0d23b66cf2514949650bdfa9c918ab2fb1d8986 |
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
intel: Move RenderMode fallback func to i915 driver. The Fallback field of the context struct doesn't work that way on i965, and it's the only caller of FALLBACK() in the driver. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_state.c
|
628dfe9511c15cc265b103e4752e3ee31b04602b |
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop the old sw fallback for position array being disabled. This code has been in the driver since the first commit. I think it was trying to stop rendering from happening with a disabled position array. Core mesa has since had changes to deal with disabled position arrays correctly. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_draw_upload.c
|
5e3c093ff866b74fbf6483ece671edbf5eb3ae7a |
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop support for forcing drawing through sw fallbacks. It turns out it hasn't worked since at least 8.0. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fallback.c
rivers/dri/intel/intel_context.c
|
bfae8650ec25d9f03ed1f58435325fd9b62b8da8 |
26-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Move depth resolve for span fallbacks to a simpler place. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_validate.c
|
707f242c4be9bd6ea9140b9a7a7673ae5e4e191d |
26-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop manual hiz resolves in span rendering. swrast uses MapRenderbuffer, which leads to intel_miptree_map, which does the depth resolve. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_span.c
|
77d675926a5a5b6cfafe11d1b692e0ba93fdac85 |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make VS programs obey the shader_precompile driconf option. Now that it's on by default, we may as well make it obey the flag, for consistency's sake if nothing else. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_shader.cpp
|
9ef710575b914ddfc8e9a162d98ad554c1c217f7 |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Reenable the fragment shader precompile. Precompiling the shader at link time often allows us to avoid compiling it at the first use. This moves the expensive compilation and optimization process to game or level load time, rather than at draw time, where we really can't avoid any cycles and don't want to risk stalling the GPU. The downside is that we have to guess the non-orthagonal state the program will have set when it draws with the shader. Previously, we guessed wrong for nearly every shader, so it wasn't useful. With the recent SamplerUnits rework and this series, we've either eliminated state or made smarter guesses, and usually get it right now. In the L4D2 time demo, I now have 39 fragment shader recompiles and no vertex shader recompiles. Before this series and the SamplerUnits rework, I had 206 fragment shader recompiles and 192 vertex shader recompiles. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_screen.c
|
88b3850c272636e0385f2111b4bc56724febb45b |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set swizzle fields in the VS precompile program key. This fixes a regression since 76d1301e8e8e50dc962601a9977bc52148798349: I began setting SWIZZLE_XYZW for unused sampler units in the actual program keys, since this matched the FS precompile behavior. However, the VS precompile was expecting zero, so that commit made essentially every vertex shader (even those not using texturing) mismatch and need to be recompiled. Setting them in the VS precompile key solves the issue. It also is an improvement over our old behavior: previously we guessed that vertex shaders didn't use any textures at all. Now we actually look to see if the VS had any sampler uniforms and guess based on that. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.c
|
c20cb8d1f6cac0b98950828e69376bb9406761ff |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Add VS program key dumping to INTEL_DEBUG=perf. Eric added support for WM key debugging. This adds it for the VS. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
85b24b07512c5f3f05c5a3eb9561598ace97526c |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Assume shadow sampler swizzling is <X, X, X, 1>. Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth textures. There are no Y, Z, or W components. DEPTH_TEXTURE_MODE has three options: - GL_LUMINANCE: <X, X, X, 1> - GL_INTENSITY: <X, X, X, X> - GL_ALPHA: <0, 0, 0, X> The default value is GL_LUMINANCE, and most applications don't seem to alter DEPTH_TEXTURE_MODE. Make that our precompile guess. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
f3d0daf7ea7e42ff9ce11e8bd6fba1059a2406e8 |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Index sampler program key data by linker-assigned index. Now that most things are based on the linker-assigned index, it makes sense to convert the arrays in the VS/WM program key as well. It seems silly to leave them indexed by texture unit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_program.h
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_wm.c
|
ab17762c70852ca8fc400d7b5c6696d412ff2afe |
14-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Only set proj_attrib_mask for fixed function. brw_wm_prog_key's proj_attrib_mask field is designed to enable an optimization for fixed-function programs, letting us avoid projecting attributes where the divisor is 1.0. However, for shaders, this is not useful, and is pretty much impossible to guess when building the FS precompile key. Turning it off for shaders should allow the precompile to work and not lose much. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Suggested-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
|
6cc14c2493bb6957f2581671020809e90a8d8643 |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't set stats_wm in the WM program key on Gen6+. It's only needed for Gen4/5 IZ lookup workarounds. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm.c
|
b6b1fc1261e86e2aa03ae8d2dd587c88a207354f |
14-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't set vp_outputs_written in the WM program key on Gen6+. It's only used by on pre-Sandybridge hardware. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
|
87cdefed405da1a57a006737297d20ba0c25fa1b |
26-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Double the size of the state cache. We probably want to do something more sophisticated here, but this at least makes it through L4D2 without dumping the program cache. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state_cache.c
|
a971476cc7913edde1944f33f164cd507199e1dd |
27-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use fallback path for glCopyTexSubImage(GL_TEXTURE_1D_ARRAY) Fixes many failing cases in piglit copyteximage test. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
88edbdf9f0c79e05593a71929f791fa4efb08ffb |
14-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Move hiz resolve to after renderbuffer resizing (v2) Do all pre-draw hiz resolves *after* the renderbuffers are resized by intel_prepare_render. Otherwise, we may resolve buffers that are immediately discarded afterwards. Fixes the assertion failure below when resizing windows in KDE and under some unknown circumstance in Chrome OS: intel_resolve_map.c:46: intel_resolve_map_set: Assertion `(*tail)->need == need' failed. Also, remove the comment that "resolves must occur [...] before setting up any hardware state". That was true when resolves were implemented with meta-ops, but no longer with blorp. v2: - Keep brw_predraw_resolve_buffers in its current position, which is before any brw_context bits are modified. Instead, move the call to intel_prepare_render. Note: This is a candiate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52252 Reported-by: Lu Hua <huax.lu@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_draw.c
|
a2a7e640a4e81c906e42a98602c84757c37ed0b1 |
14-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Remove redundant null check intel_renderbuffer_resolve_hiz checks if rb->mt is null, so there is no need for the caller to do so. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_draw.c
|
7540f25a345ed8d35d97ba4fbf66227a281eff6a |
23-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Rewrite the comment describing the query object support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_queryobj.c
|
f0159018d7709b57d9916575512d75cb3f2fb395 |
18-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Add support for GL_ARB_timer_query. Needs updated libdrm. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_reg.h
|
9a2943ddf28eee417b692d9338b81aa89a51dea8 |
23-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_ARB_occlusion_query2. This extension is just a bit of core code on top of the GL_ARB_occlusion_query support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
b765119c5d2cd41a7f47cce10fd1fdbcf162b03d |
23-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add constants for the GL_QUERY_COUNTER_BITS per target. Drivers need to be able to communicate their actual number of bits populated in the field in order for applications to be able to properly handle rollover. There's a small behavior change here: Instead of reporting the GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid), just return 1, because more bits don't make any sense. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
ain/queryobj.c
|
6754ec831e5aaec516db929c8db6e7478a2f5540 |
13-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix accumulator_contains() test to also reject swizzles of the dst. When faced with this sequence: MOV R1, c[1]; MAD R0, R2, R1.x, R1.y; we were concluding that the MOV of R1 set up our accumulator and so we could just use the previous result. Only, it's got R1.xyzw in it instead of the r1.y we're looking for. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46784 NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_vs_emit.c
|
6bb71b8cbe6b17a5d59e369631502e642804406e |
15-Aug-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
dri: Remove image write function Since its not used by anything anymore and no release has gone out where it was being used. Tested-by: Scott Moreau <oreaus@gmail.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
a3685544e1e88828c4931059686cf3acc199079c |
14-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't set iz_lookup the FS precompile's program key on Gen6+. We already changed the actual program key builder to only set these bits on gen < 6; this patch just brings the precompile state back in line so it doesn't mismatch every time. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
98211d5af7efa26c350f6191457ab2564847abde |
16-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix INTEL_DEBUG=perf program key printing. When dumping differences in program keys, it printed messages of the format: [Name of thing that changed] [new]->[old] This was terribly confusing: the right arrow implies "the value changed from this to that", when in fact the message conveyed the opposite. Except that some of the time, it didn't, since we accidentally swapped the arguments to brw_debug_recompile_sampler_key. With two swaps, it would often come out in the expected format. This patch fixes it to properly print: [Name of thing that changed] [old]->[new] Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
|
174d44a9c4d39a030fe3528acf07f9ac9aa617a1 |
22-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Use a new, more specific hook for shader uniform changes. Gallium drivers and i965 don't require special notification when sampler uniforms change. They simply see the _NEW_TEXTURE and adjust their indirection tables. These drivers don't want ProgramStringNotify: it simply causes pointless recompiles. Unfortunately, i915 still requires shader recompiles and needs ProgramStringNotify. Rather than trying to fix that, simply change the hook to a new, more specific one: ShaderUniformChange. On i915, this translates to ProgramStringNotify; others simply ignore it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_fragprog.c
ain/dd.h
ain/ff_fragment_shader.cpp
ain/uniform_query.cpp
|
85e8e9e000732908b259a7e2cbc1724a1be2d447 |
24-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use linker-assigned sampler IDs in instruction encoding. When assigning uniform locations, the linker assigns each sampler uniform a sequential numerical ID. gl_shader_program::SamplerUnits maps these sampler variable IDs to the actual texture units they reference (specified via glUniform1i). Previously, we encoded this mapping in the SEND instruction encoding: the "sampler" was the texture unit number, and the binding table index was SURF_INDEX_TEXTURE(the texture unit number). This unfortunately meant that whenever the application changed the value of a sampler uniform, we had to recompile the shader to change the SEND instructions. This was horrible for the game Cogs, which repeatedly switches between using texture unit 0 and 1. It also made fragment shader precompiles useless: we'd do the precompile at glLinkShader() time, before the application called glUniform1i to set the sampler values. As soon as it did that, we'd have to recompile, wasting time and space in the program cache. This patch encodes the SamplerUnits indirection in the binding table, sampler state, and sampler default color tables. Instead of baking the texture unit number into the shader, we bake in the sampler variable ID assigned by the linker. Since those never change, we don't need to recompile programs on uniform changes. This does mean that the tables now depend on the linked shader program being used for rendering, rather than simply representing all available texture units. This could cause an increase in state emission. Another plus is that the sampler state and sampler default color tables are now compact: we only emit as many entries as there are sampler uniforms, with no holes in the table since the new sampler IDs are sequential. Previously we had to emit a full 16 entries every time, since the tables tracked the state of all active texture units. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_sampler_state.c
|
2faa592e7f54ef21b799b61ffa50c6bc8039ddc1 |
24-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add a "sampler state index" parameter to update_sampler_state(). This represents the index into the sampler state table or sampler default color table (the two are identical). Right now, this is still the texture unit, but that will change shortly. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
28fab4295e9631ca91c5ebdf26d1bee23011d57e |
15-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Un-hardcode WM binding table from update_texture_surface. Currently, we mirror the VS and WM binding tables' texture entries. That may not continue to be true, so in preparation, pass in the binding table and surface index as arguments. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_context.h
|
96a22f35830859c938901ecbb4817aa8e1a9dff9 |
21-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Rename "sampler" to "texunit" in texturing code. The number we're passing around is actually the ID of the texture unit, as opposed to the numerical value our of sampler uniforms. Calling it "texunit" clarifies this slightly. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
0ad2dce24aa0475e607e3c58b8aa50057412c6ef |
21-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Rename "sampler" to "texunit" in texturing code. The number we're passing around is actually the ID of the texture unit, as opposed to the numerical value our of sampler uniforms. Calling it "texunit" clarifies this slightly. Don't bother renaming fs_instruction::sampler. Although it's currently the texture unit, this series will change that. No need for the churn. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
bf0308d8d6fbc842d0120060e65a3fe445f5b2fb |
21-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Remove unused 'sampler' parameter in emit_texture_genX(). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
76d1301e8e8e50dc962601a9977bc52148798349 |
14-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set SWIZZLE_NOOP for unused texture units in the program keys. Previously, we left the swizzle key field as zero for unused texture units. The precompile sets all of them to SWIZZLE_NOOP, which meant that we mismatched almost every time. Since either works equally well, change it to SWIZZLE_NOOP to match the precompiles. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm.c
|
f510dd5d60401ee44512ba7ae4ded3b32b19f12d |
22-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove four and a half year old TODO comments about samplers. I can't actually understand what these mean, and they seem to essentially say "we should simplify things", which is a nice goal but not very specific. Presumably things got cleaned up at some point. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
d1447f5bc92e6bcbc9180e606cdfef9540678918 |
21-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix brw_link_shader to return false rather than NULL. Fixes brw_shader.cpp:101:9: warning: converting to non-pointer type 'GLboolean {aka unsigned char}' from NULL [-Wconversion-null] Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-with-great-enthusiasm-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_shader.cpp
|
f9767dac9a06aad93a9d61d108055ad673498bf8 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetBufferParameteriv pname in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/bufferobj.c
|
93d109645a2b3d43b4b0106f2b496ece11970c01 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glMapBuffer access in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: *Really* add proper core-profile and GLES3 filtering based on review feedback from Eric Anholt. It looks like previously there was some rebase / merge fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/bufferobj.c
|
bd4e5dd3553c5d7152af419f8b12ce228aba2dd2 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glBufferData usage in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering based on review feedback from Eric Anholt. It looks like previously there was some rebase / merge fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/bufferobj.c
|
b0b6b76d5213587250c567d7ca62451813a10366 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate buffer object targets in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/APIspec.xml
ain/bufferobj.c
|
e2cf14d7b273657cce364236cd041c4ca3f94a6b |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate VertexPointer types in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
ef723ecce42c1823e5a9eb3b9e25be9bd9d66208 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant vertex pointer size validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
|
a8f475d8f6b56ddec36634437d007e06b48ff1cd |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate TexCoordPointer size in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
c3e9a207d0cb650045304cac559958d275a63284 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate TexCoordPointer types in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
e5ef0cbe0e4e45df6ff74a2a40ddb83d8bc3a8cc |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate NormalPointer types in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
fb8218508a9b5cfe9e14830f9590df889e5b8785 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate ColorPointer size in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
07ccfef8d175f6c4b408ee48f7da210975a09fb9 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate ColorPointer types in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
ain/varray.c
|
28ee443d7baea642e267e49c8e74850ecce22a3e |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant vertex attrib pointer type validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
|
ae633d0b2e1ef85191027aca6987557091345fc1 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant vertex attrib pointer size validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
|
946ddec163b9360be44e7db04ce67a2165daa3b7 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Disallow BGRA vertex arrays in ES or ES2 contexts Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/varray.c
|
bbceed268e14593a07a7cc08060ffd20f2718718 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rearrange array type checking, filter more types in ES v2: Fix handling of GL_INT and GL_UNSIGNED_INT types pre-ES3.0, and fix handling of GL_INT_2_10_10_10_REV and GL_UNSIGNED_INT_2_10_10_10_REV in ES3.0. Based on review comments by Ken Graunke. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/varray.c
|
a33f360e8f8138c5b37b5e33324283e764d0750c |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor element type checking into its own function This consolidates the tests and makes the emitted error message consistent. v2: Rename _mesa_valid_element_type to valid_elements_type. Log the enum string instead of the hex value in error messages. Based on review comments from Brian Paul and Ken Graunke. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_validate.c
|
4b7c0938e43dcc534fa2fbba012e12dbbf4aefd6 |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't do (generic) compression of 1D or 1D_ARRAY textures As with the previous commit for core Mesa. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
tate_tracker/st_format.c
|
a3af27e99362c0da9f467a39427d32d1270a720f |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add generic compressed -> uncompressed format helper _mesa_generic_compressed_format_to_uncompressed_format() probably wins the prize for longest function name in Mesa. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
ain/glformats.c
ain/glformats.h
|
13d0bb21a9ba04424019df25d6757e77304a1f9a |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: don't try (generic) compression of 1D and 1D_ARRAY textures See comments in the code for details. Note: we only need to special-case the generic compressed formats since specific texture formats are error-checked earlier to see if the compression format is compatible with the texture type. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
ain/texformat.c
|
d47a6ada9ca9670c60fc141fabadf40c63031c08 |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add texture target field to ChooseTextureFormat() driver hook This will let us choose the actual hardware format depending on the type of texture. v2: fixup radeon, nouveau, intel and swrast drivers too Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_fbo.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
rivers/dri/swrast/swrast.c
ain/dd.h
ain/texformat.c
ain/texformat.h
ain/teximage.c
ain/texobj.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_manager.c
|
ba7218061b6a6c09d5d20f12de6267673276e094 |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
xlib: remove texture compression hackery I think this was left-over debug code from long ago. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
09fafd3b856109ad4b24ac082ccf436022a1701c |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean up use of 'target' variable in st_context_teximage() 'target' was used both as a parameter of type st_texture_type and then re-used for GL_TEXTURE_x targets. Rename the function parameter and add a new local 'GLenum target'. And remove an extraneous break statement.
tate_tracker/st_manager.c
|
179d8aa3317eaadcdfe73a2fcd1894612b7380d0 |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
Move _mesa_dl* functions into dlopen.h and inline them No point in having an extra function call for inlinable functions. Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Conscript
ain/dlopen.c
ain/dlopen.h
ources.mak
|
57c57df7b4579b60a84062df2e64f84dd84558b5 |
16-Aug-2012 |
Tapani Pälli <tapani.palli@intel.com> |
mesa/dlopen: use HAVE_DLOPEN instead of _GNU_SOURCE Patches changes mesa to use 'HAVE_DLOPEN' defined by configure and Android.mk instead of _GNU_SOURCE for detecting dlopen capability. This makes dlopen to work also on Android where _GNU_SOURCE is not defined. [mattst88] v2: HAVE_DLOPEN is sufficient for including dlfcn.h, remove mingw/blrts checks around dlfcn.h inclusion. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
ain/dlopen.c
|
df4dccc7a9691555e05c8945048603621340b5d7 |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Only add links to .so files if we're building them Xlib-GLX and OSMesa support static building. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53962
rivers/osmesa/Makefile.am
rivers/x11/Makefile.am
|
c56b57f4a124b218aec21e6a53cd6b5ae1718054 |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Add libOSMesa.so.$(VERSION) link to libdir
rivers/osmesa/Makefile.am
|
a8fd8cb9e7840c508d20466ff6e7c04bdc09d3bf |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Replace OSMESA_VERSION with generic VERSION_NUMBER Can be used by other modules.
rivers/osmesa/Makefile.am
|
8cdce6c136799aa75310086c078d8cd5f19b84ce |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Only build libmesa.la when needed Namely, for Xlib-GLX, OSMesa, or test programs.
akefile.am
|
00f3d9b11acd366329c347e4797b8af3437fcfe6 |
22-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Remove duplicate DRI automake conditionals
ibdricore/Makefile.am
|
5133bd6585552a5708b294180fa9a561bf7564a6 |
22-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: don't clear resolve map when doing fast depth clears. Previously, when performing a fast depth clear, we would also clear the miptree's resolve map. This destroyed important information, since the resolve map contains information about needed resolves for all levels and layers of the miptree, whereas a depth clear only applies to a single level/layer combination at a time. As a result, resolves would sometimes fail to occur, leading to incorrect rendering. Fixes rendering artifacts with shadow maps in Unigine Heaven and Unigine Sanctuary. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50270 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
4b8b6f385e855ecb6da0b7dea56e70e69d1517b9 |
22-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/HiZ: remove assertion from intel_resolve_map_set(). There are three possible resolve map states for each (level, layer) of a depth miptree: "needs HiZ resolve", "needs depth resolve", and "needs neither". When HiZ was first implemented on i965, any attempt to directly transition between "needs HiZ resolve" and "needs depth resolve" without passing through the "needs neither" state would have been a bug indicating that a necessary resolve hadn't been performed. Accordingly, intel_resolve_map_set() contained an assertion to verify that no such direct transition happened. However, now that we support fast depth clears, there is a valid transition from the "needs HiZ resolve" to the "needs depth resolve" state. When doing a fast depth clear, the old state of the buffer is irrelevant, since we are completely replacing it with the clear value, so it is not necessary to do any resolves before clearing--we can transition, if necessary, directly from the "needs HiZ resolve" state to the "needs depth resolve" state. To avoid spurious assertions in this valid case, this patch just removes the assertion. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_resolve_map.c
|
86f29cf7d0817f1b6c9a9665c044ce36822b23b4 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glCreateShader targets in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/APIspec.xml
ain/shaderapi.c
|
b042f7a1ff905a7136557f35f368166526fab9ed |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetProgramiv pnames in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/APIspec.xml
ain/shaderapi.c
|
1a200b68cd57e2aee419e45ac8f1ce32e5cf8951 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Filter glGetProgramiv pnames based on available extensions Previously you could always glGetProgramiv one of the transform feedback or geometry shader enums even if the extension wasn't supported. In addtion, this reverts part of bda6ad27. I think the hunks involving GL_PROGRAM_BINARY_LENGTH_OES were spurious. Mesa has no support for any other part of GL_OES_get_program_binary. v2: Remove redundant return in get_programiv based on review feedback from Matt Turner. v3: Correctly handle UBO related enums. v4: Emit the bad enum in the _mesa_error call based on review feedback from Brian Paul. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
|
9282ebbaa5fdb4bc1d6234d746acac525660185d |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
swrast: implement cubical depth texture sampling Fixes a few more failures in the piglit copyteximage test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_texfilter.c
|
388af5b6f43fc81d7a9423a42358bcea65ab8ba9 |
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
main: fix ES compile breakage
ain/teximage.c
|
4fec5e9154582439bc185eb143e89f220b169c32 |
23-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa/swrast: fix GL_TEXTURE_2D_ARRAY texture fetches for dxt formats As with the previous commit. This fixes the last crash in the piglit copyteximage test but there's still some failures.
ain/texcompress.c
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
wrast/s_texfetch.c
|
d78b44c2651b45c337dda71b17351beb41eb9c14 |
23-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa/swrast: fix GL_TEXTURE_2D_ARRAY texture fetches for latc/rgtc formats Fix-up the texel fetch functions so that they handle 3D coords (as used for array textures) and remove the "f_2d" part from their names. Helps fix swrast crashes in piglit's copyteximage test. More to come.
ain/texcompress.c
ain/texcompress_rgtc.c
ain/texcompress_rgtc.h
wrast/s_texfetch.c
|
fe2cc65fbb37bca40ff215a3709dacbcd317350c |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: code movement in teximage.c To get rid of a forward declaration.
ain/teximage.c
|
bdff1dfb398afdc187787b70bb62511ae1edd4ee |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glTexImage and glCompressedTexImage code There was a lot of similar or duplicated code before. To minimize this patch's size, use a forward declaration for compressed_texture_error_check(). Move the function in the next patch.
ain/teximage.c
|
e93cb4b34fed27eccf291963b5fe2c26cea46251 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make glTexImage, glCompressedTexImage proxy code more alike Next up, we can combine the teximage() and compressed_teximage() functions.
ain/teximage.c
|
c1a9e6010baceeff78f72ac0692aefc4312d815f |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename texpal.[ch] to texcompress_cpal.[ch] To be consistent with other files related to texture compression.
Conscript
ain/texcompress_cpal.c
ain/texcompress_cpal.h
ain/teximage.c
ain/texpal.c
ain/texpal.h
ources.mak
|
aab06dc0f0bf295abe213021b79ff65d70a4f4c0 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: s/GLuint/gl_format/ in _mesa_compressed_format_to_glenum() No real change here, just use the right type.
ain/texcompress.c
ain/texcompress.h
|
46751edca9a95baff81771aa69986fa6e2422ed6 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_num_tex_faces() helper Not a real big help now, but will be useful for the GL_ARB_texture_cube_map_array extension in the future.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
ain/mipmap.c
ain/texobj.c
ain/texobj.h
ain/texstorage.c
tate_tracker/st_cb_texture.c
wrast/s_texture.c
|
8a935d71ff4ded6f3cdd8e06dcd1a5e3de3d3cc0 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_get_proxy_tex_image() static It's not used by any other file.
ain/teximage.c
ain/teximage.h
|
637a79aa2381e363d6b94c0bb5692a1882e9c945 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: don't clear proxy image fields when regular GL error is generated If a proxy texture call generates a regular GL error, we should not clear the proxy image's width/height/depth/format fields. Use a new PROXY_ERROR token to distinguish proxy errors from regular GL errors. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
ain/teximage.c
|
1f5b1f98468d5e80be39e619ed15c422fbede8d3 |
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix glTexImage proxy texture error generation When calling glTexImage() with a proxy target most error conditions should generate a GL error. We were erroneously doing the proxy-error behaviour (where we zeroed-out the image's width/height/depth/format fields) in too many places. There's another issue with proxy textures, but that'll be fixed in the next patch. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
ain/teximage.c
|
e84d45fdb73687019a6798cfb37b01291b212f4d |
24-Aug-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
build: don't leave git_sha1.h.tmp after build/install Fixes "`main/git_sha1.h.tmp': Permission denied" build error. See https://bugs.freedesktop.org/show_bug.cgi?id=52064 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
akefile.am
|
e592f7df0361eb8b5c75944f0151c4e6b3f839dd |
02-Aug-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
i965/msaa: Add sample-alpha-to-coverage support for multiple render targets Render Target Write message should include source zero alpha value when sample-alpha-to-coverage is enabled for an FBO with multiple render targets. Source zero alpha value is used as fragment coverage for all the render targets. This patch makes piglit tests draw-buffers-alpha-to-coverage and alpha-to-coverage-no-draw-buffer-zero to pass on Sandybridge. No regressions are observed with piglit all.tests. V2: Revert all the changes made in emit_color_write() function to include src0 alpha for targets > 0. Now handling this case in a if block. V3: Correctly calculate the instruction length for buffer zero. Properly handle the case of dual_src_blend when alpha-to-coverage is enabled. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
9b028faeaa2c4b0ca2e86892aac70a2f2b872fbb |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glCompressedTexSubImage internalFormat in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
dd0eb004874645135b9aaac3ebbd0aaf274079ea |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glCompressedTexImage internalFormat in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/glformats.c
|
c11096e94a68ce0a1d7c9cda0f178ceca44ce25d |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glCopyTexImage internalFormat in Mesa code rather than the ES wrapper v2: Add GLES3 filtering. I'm not 100% sure this is correct. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
9848e86af0c937a6f7609289ab2705c3535f378f |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexSubImage format and type in Mesa code rather than the ES wrapper v2: Add proper GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
409620e47748479aaef593dc9bec0d6dd520e14a |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather than the ES wrapper v2: Add proper GLES3 filtering. v3: Collapse ALPHA, LUMINANCE, and LUMINANCE_ALPHA cases per review comment from Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
ain/teximage.h
|
0686ccac950bac1a650400b29c47ddaafea22fa9 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexImage border in Mesa code rather than the ES wrapper Also validate glCopyTexImage border. This fixes a bug in the APIspec. Previously glTexImage3DOES could be passed a non-zero border without error. NOTE: This is a candidate for stable release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
59d965333c05534475b60042571366656b97ab9d |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Generate an error when glCopyTexImage border is invalid NOTE: This is a candidate for stable release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/teximage.c
|
2dcb40bb44a813295e3133bcec66c0de1e5f5a34 |
15-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Add support for GL_APPLE_texture_max_level This is desktop OpenGL functionality that has always existed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/extensions.c
|
c9689e3e55928d4a95f1c10c7a33fffba8cbdece |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glGetTexParameter pnames in Mesa code rather than the ES wrapper This also adds a missing extension (and API) check around GL_TEXTURE_CROP_RECT_OES. v2: Add proper core-profile and GLES3 filtering. GL_TEXTURE_MAX_LEVEL is (incorrectly) accepted in ES contexts. A future patch will add GL_APPLE_texture_max_level, and meta really needs this. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/texparam.c
|
b3dd524a1082efd12d4a796122c300a61ba016d9 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexParameter pnames in Mesa code rather than the ES wrapper This also adds a missing extension (and API) check around GL_TEXTURE_CROP_RECT_OES. v2: Add proper core-profile, GLES1, and GLES3 filtering. GL_TEXTURE_MAX_LEVEL is (incorrectly) accepted in ES contexts. A future patch will add GL_APPLE_texture_max_level, and meta really needs this. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texparam.c
|
4269cace7944b465860213acbaf82ffddb91efcb |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glBindTexture target validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
|
3f7c8364cf1d763f04413aecfac66df5534aeb34 |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Filter glBindTexture targets based on supported features. Fixed the piglit test arb_texture_buffer_object-negative-unsupported. NOTE: This is a candidate for stable release branches. v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/texobj.c
|
530c9d764b84035728a28ee2db996fffe49125ce |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate tex image targets in Mesa code rather than the ES wrapper This should take care of all the TexImage, TexSubImage, CopyTexImage, CompressedTexImage3DOES, and CopyTexSubImage type paths. v2: Add proper core-profile and GLES3 filtering. v3: Squash the CompressedTexImage3DOES patch per review comment from Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
ea9b212fca78eada7cc7c4449de3f31d2ceea1c3 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate EGLImageTargetTexture2DOES target in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/teximage.c
|
a0595cb4506251509e032a2592d6bb684480de4b |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate glTexParameter targets in Mesa code rather than the ES wrapper Ditto for glGetTexParameter targets. v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texparam.c
|
842efb9447bd4c8c29599f1baeee8a380d5276c2 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate GL_TEXTURE_WRAP param in Mesa code rather than the ES wrapper v2: Add proper core-profile filtering. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/APIspec.xml
ain/es1_conversion.c
ain/texparam.c
|
d53101a9f31e1cba553c80dbafd23c748dd58a1d |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor validate_texture_wrap_mode to use a switch-statement This makes the next couple changes a little easier. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
ain/texparam.c
|
2abf555496b8f5a7319542756508dd2f2e8ed07c |
23-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Don't modify GL_GENERATE_MIPMAP state when it doesn't exist This is a bit of a hack. _mesa_meta_GenerateMipmap shouldn't even be used in contexts where GL_GENERATE_MIPMAP doesn't exist (i.e., core profile and ES2) because it uses fixed-function, and fixed-function doesn't exist there either! A GLSL-based _mesa_meta_GenerateMipmap should be available soon. When that is available, this patch will be irrelevant and should be reverted. v2: Change (ctx->API != API_OPENGLES2 && ctx->API != API_OPENGL_CORE) to (ctx->API == API_OPENGL || ctx->API == API_OPENGLES) based on review comment from Brian Paul. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
a6457c0692f1bc292ae4120ff5cd0bed340271b9 |
12-Apr-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
st/mesa: accept and handle configuration options from st/dri Currently there is a single option - force_glsl_extensions_warn. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
tate_tracker/st_manager.c
|
bfd7d6f58b47984853cf0831057e84a617de25ed |
18-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Only build libmesagallium.la if building Gallium Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
625651cf813f2b18626f0d26e68e3a2935325b8d |
17-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build/x11: Force usage of C++ linker Tested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/x11/Makefile.am
|
9049b7f0fa8689582437ad5413c100fdb607e37b |
17-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build/x11: Don't link against shared-glapi Tested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/x11/Makefile.am
|
df2c4cbcedb2dcf2aa44adaa6462d9becccbea49 |
21-Aug-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix generic compressed texture formats' handling in glTexImage/glCopyTexImage The generic texture formats should be accepted by the <internalformat> parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D functions. When the application specifies a generic format, the driver is free to pick an uncompressed format. This patch reverts the changes due to following commit: commit a36581ccc06693231011c3fe136207e73191b1ce mesa: do more teximage error checking for generic compressed formats This patch fixes compressed texture format failures in intel oglconform pxconv-gettex test case: https://bugs.freedesktop.org/show_bug.cgi?id=47220 Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
c1114c619acf347917565cd1d0467240a89a76c0 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
APIspec: Remove cruft about AMD_compressed_???_texture Mesa doesn't support these extensions, and it seems unlikely that it ever will Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
4c32ee5bcaa0815f4f975066de98c6598bdaf51d |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glFramebufferTexture3D textarget validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
7c9afe50fd674c3503d880b1f0f5216577bf7d9d |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glGetShaderiv pname validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
aaef4416385883a1bb23785164c0ca3973b3267e |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glCompressedTexImage border validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
d39cb8e9ef23b7fadde945f27e956f762301a0ec |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glPointSizePointer type validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
d54004c3526e2040be6521546b263f29c77f06ce |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glGetBufferPointer pname validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
68d7ce3e9e54bfa544a1438b73d0920bf89a2de7 |
26-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glGetVertexAttribPointer pname validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
5be5cf69341c4acf0ae666373790db9ad1df06fd |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant element type validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
b99a8caff14d66a963a68d5599da2b50a9938765 |
25-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant glGetShaderPrecisionFormat shader type validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
c914ac239e74282458f69956a4358545b41f9c3f |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant depth func validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
af276d9d4bbdafe0845956480edeacfe820bcd84 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant stencil op fail/zfail/zpass validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
f3f993153c5310c35e79bb6184d32e2271793b0f |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant shade model mode validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
5a193557d115e62bf70c599e4037d8e1e3f5a9fc |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant light pname and light validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/es1_conversion.c
|
02344107913f6322360fe4bb09133eda5d57e5b8 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant hint mode validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
a4251da3b220079a8326fcc39bde00ec16240ae1 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant separate stencil face validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
9113d0e686caf5f5e28728fa9b2157234aa33662 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant stencil function validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
1087745afe0035d2240014697155577f1a0bd573 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant logic op operand validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
bf03589882ee4b36a9c3fb618a1d5f6b567163db |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant alpha function validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/es1_conversion.c
|
8f55d83569aa364ac7c6928c30b13d846d187389 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant separate stencil mask face validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
52d57985c69a0d8dab23db7070e2d83d914438f4 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant front-face mode validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
e1dbf56a10b08aa51a9186979548fcc929615b27 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant face culling mode validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
66404557db9d20aa6c761680a2188960e946dd6a |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant blend equation mode validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
e39ea674d0a51bdd10205a1c554f5e25df09156f |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant texture target validation Mesa doesn't check the parameter passed to glMultiTexCoord*. It does, however, mask the texture value to prevent out-of-bounds writes. This patch will promote this non-conformant behavior to OpenGL ES 1. I don't think anyone will care, and the gets some silly code out of a hot path. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/es1_conversion.c
|
386e2f32895b5e66982fc4c18a636ceabfb762fd |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Rearrange placement of GL_TEXTURE_MAX_ANISOTROPY_EXT in APIspec Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
27e55805fbc4b11331c402b1185d097a2564f6b1 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant min/mag filter validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/es1_conversion.c
|
d0ace4e949d0e2f11e6f0fb0fd97ccde58457937 |
18-Aug-2012 |
Tilman Sauerbeck <tilman@code-monkey.de> |
mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure. mfeatures.h will define FEATURE_ES1 to 0 if it's not defined yet. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53664 Signed-off-by: Brian Paul <brianp@vmware.com>
ain/es1_conversion.c
|
5b542681dc05b8b9eba677ee74323ac0ff85a5f0 |
17-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix sampler view counting In the past, when we called pipe::set_sampler_views(n) the drivers set samplers [n..MAX] to NULL. We no longer do that. The state tracker code was already trying to set unused sampler views to NULL to cover that case, but the logic was broken and unnoticed until now. This patch fixes it. Strictly speaking, this patch shouldn't be necessary. Drivers should simply ignore unused samplers and sampler views. But some drivers like llvmpipe (and others?) count those things and they figure into state validation. That could be fixed in the future. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53617 Reviewed-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_atom_texture.c
|
84e5cb37d3cf0dd0b224d2431c7417d5e2fa6453 |
17-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use Elements() instead of hard-coded number And add a comment about the velems_util_draw[] array.
tate_tracker/st_context.c
|
1a9e4d5113cf1fd608668506312167a676fcdb4f |
17-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused params, add const qualifiers Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texparam.c
|
a6af24ee14a3e3cef99e96db539aa2abc911e6e0 |
17-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: querying GL_TEXTURE_COMPRESSED_IMAGE_SIZE for a buffer obj is illegal GL_INVALID_OPERATION is to be raised when querying a non-compressed image/buffer. Since a buffer object can't have a compressed format this query always generates an error. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texparam.c
|
34472a0d8713c4eb300c9d1de0844c8b78bcf1ab |
27-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Don't generate ES1 type conversion wrappers These are gradually going to get whittled away and eventually folded into the source files with the native type functions. v2: Add (speculative) SConscript changes. These may be broken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Conscript
ain/es1_conversion.c
ain/es1_conversion.h
ain/es_generator.py
ources.mak
|
d707e337f5f9a7b6ed465ade1b0b7c06606dde22 |
14-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix bug in the old FS backend's projtex() calculation. In the old backend, we looked at any FS attribute's proj_attrib_mask bits, not just texcoords. Now that we have _mesa_vert_result_to_frag_attrib(), we can fill in the other FS inputs with correct proj_attrib_mask info. NOTE: This is a candidate for stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46644 Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_constval.c
|
3df13b32e56dbc76bdc72b75ea1462f79b44dce9 |
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Support GL_TEXTURE_BUFFER in GetTexLevelParameter[if]v in GL 3.1+. The OpenGL 3.1 specification explicitly allows this. Oddly, the ARB_texture_buffer_object spec's issues section claims this isn't allowed, but proceeds to explain that the extension simply doesn't edit the underlying spec to allow it, and thus it didn't appear in the list of legal texture targets. Thus, this patch legalizes it only in 3.1+ contexts, but still returns INVALID_ENUM in earlier contexts that expose ARB_texture_buffer_object. Unfortunately, the behavior of the call is horrendously undefined. Fixes oglconform's tbo/negative.textureParams test. v2: Require desktop OpenGL. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/teximage.c
ain/texparam.c
|
8c37fc1e9240a323b07c21da83dbd5432fc6895a |
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Split out part of glGetTexLevelParameter into a helper function. Move the _mesa_GetTexLevelParameter[iv] functions below the helper function so the prototype is available. This will be useful in the next commit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texparam.c
|
58d11524dace34f6e9e513b23eaeb098d1eafd0b |
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add GL_TEXTURE_CUBE_MAP to _mesa_max_texture_levels(). [v2] For cube maps, _mesa_generate_mipmap() calls this with GL_TEXTURE_CUBE_MAP (the gl_texture_object's Target) rather than one of the faces. This caused _mesa_max_texture_levels() to return 0, which resulted in maxLevels == -1 and the next line's assertion to fail. This function is called from seven places: - fbobject.c: framebuffer_texture() - mipmap.c: _mesa_generate_mipmap() - texgetimage.c: - getteximage_error_check() - getcompressedteximage_error_check() - texparam.c: _mesa_GetTexLevelParameteriv() - texstorage.c: tex_storage_error_check() All of these (or their callers) now explicitly check for invalid targets already, so this shouldn't cause invalid targets to slip through. (Technically _mesa_generate_mipmap() doesn't check for invalid targets, but the API-facing _mesa_GenerateMipmapEXT() function does.) +2 oglconforms (float-texture/mipmap.automatic and mipmap.manual) In addition to fixing the mipmap bug, it should also cause glTexStorage to accept GL_TEXTURE_CUBE_MAP, which is explicitly allowed by the spec. v2: Drop alterations to callers; this is now in a patch series that adds explicit checking to API functions. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/teximage.c
|
9e4fde85e46f406b37ad372487fbff4ed51c65e4 |
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add explicit target checking to GetTexLevelParameter[if]v(). Previously, it relied on _mesa_max_texture_levels() for texture target error checking. This was somewhat dodgy, as _mesa_max_texture_levels() is called in seven diferent places, not all of which necessarily accept the same list of targets. I copied the list of legal targets from _mesa_max_texture_levels(), so this patch should not introduce any change in behavior. Future patches will cause the two to diverge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texparam.c
|
63396ce4c0fe067f69d1b53d0408627a421c4678 |
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add explicit target checking to Get[Compressed]TexImage(). Previously, they relied on _mesa_max_texture_levels() for texture target error checking. This was somewhat dodgy, as _mesa_max_texture_levels() is called in seven diferent places, not all of which necessarily accept the same list of targets. I copied the list of legal targets from _mesa_max_texture_levels() but removed the proxy targets, as both functions explicitly rejected those targets. This changes the order in which we check errors, which could change whether we return INVALID_VALUE or INVALID_ENUM. However, it shouldn't change the list of accepted targets. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texgetimage.c
|
81ba2c53b698b3926e71dd37e7898719fd2deb3e |
14-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Remove -shared from OSMesa's LDFLAGS Would break the static build.
rivers/osmesa/Makefile.am
|
f6b7157550205a0633b4c2cb49a807d581176e21 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: raise GL_INVALID_OPERATION in glGenerateMipmap for missing base image This seems to be expected by the WebGL texture-mips test. The error makes sense, but I haven't found (yet) any OpenGL documentation specifying this error condition. See http://bugs.freedesktop.org/show_bug.cgi?id=44912 Note: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/fbobject.c
|
f3c3aff6efed49b7740a144f767c713cb22561e2 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: add support for GS textures and samplers
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
|
6c8a13215813841703e7c2efa233e8d4cf517dfd |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: combine vertex/fragment sampler state in arrays As with other recent changes, put the vertex and fragment sampler state into arrays indexed by the shader type. This will let us easily add support for other types of shaders in the future.
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
cab2fed135bc1edf7b65ddca3236020638427061 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
gallium: remove PIPE_MAX_VERTEX/GEOMETRY_SAMPLERS #define PIPE_MAX_SAMPLERS, PIPE_MAX_VERTEX_SAMPLERS and PIPE_MAX_GEOMETRY_SAMPLERS were all defined to the same value (16). In various places we're creating arrays such as sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS] so we were assuming the same number of max samplers for all shader stages anyway. Of course, drivers are still free to advertise different numbers of max samplers for different shaders.
tate_tracker/st_context.h
|
a8ed00d5f13d7b016bc2ea56f130adc3fa857cc8 |
16-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence signed/unsigned comparison warning
tate_tracker/st_glsl_to_tgsi.cpp
|
8cc1860d4a55c93ce12a649c281012b37212ffbd |
12-Aug-2012 |
Niels Ole Salscheider <niels_ole@salscheider-online.de> |
st/mesa: index can be negative in the PROGRAM_CONSTANT case NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
fd41cbc557509a36ae513eb7170edffbaa5e5715 |
16-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints()
ain/pack.c
|
658044cde1dbdd6d58ad61ef44850da7afa5c413 |
16-Aug-2012 |
Brian Paul <brianp@vmware.com> |
meta: remove unused variable
rivers/common/meta.c
|
03b78ceb50b97611bcaa2d2354ff5b505306b0a1 |
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't clamp fragment color with integer colorbuffer
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
e06d6168cb4367728fac68264757a700932c2f73 |
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: flush vertices in test_framebuffer_completeness
ain/fbobject.c
|
b3900ed5ad9bd5df112490dd2b5d2c17d6124067 |
09-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: add ARB_texture_rgb10_a2ui support Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
|
091eb15b694a396f8453093575ccec2db7f14eb8 |
21-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
meta: allow CopyTexSubImage on integer formats Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
6671d0dad300e591ac7c0e5110c6778373d0149a |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa ReadPixels: handle signed/unsigned integer clamping Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
|
f7333b6345deb1c0322079039544bc322ca1dad9 |
10-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa pack: handle packed integer formats with clamping Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
1a814217c336529b6f3133f9491ff5920ecaf346 |
10-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa unpack: call _mesa_problem when unpack function is not available Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
b3dd048cbb310b2c3ea40f09f9d89944851b2048 |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa texstore: handle signed/unsigned integer clamping Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
7208505d30fe05e828eb7d2450bfd8c2bee289a0 |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa GetTexImage: handle signed/unsigned integer clamping Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
7ef270867cb1f3e19067c93449e48987a32730d3 |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa pack: handle uint and int clamping properly Rename _mesa_pack_rgba_span_int to _mesa_pack_rgba_span_from_uints. Add _mesa_pack_rgba_span_from_ints. These separate routines allow the integer clamping to be handled properly for signed versus unsigned integers. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
ain/pack.h
ain/readpix.c
ain/texgetimage.c
|
1938501fbfb5052b1de7d78dc7ca8a8738f814e2 |
09-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix rendering to a multisample front buffer We need to downsample before flushing BUFFER_FAKE_FRONT_LEFT to BUFFER_FRONT_LEFT in intel_flush_front. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
|
a43599d1d1a583b25c0a63c28c0a5001387fa518 |
09-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Clean up intel_flush_front Stop repeating ourselves. Replace the 4 instances of `driContext->driDrawablePriv` with `driDrawable`. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
|
38b748ce29a6415558bbe4886589134e3db047c8 |
09-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_downsample_for_dri2_flush Move it from intel_screen.c to intel_context.c. Redeclare as non-static. A future commit will use it in multiple files. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
0c445bb618479adceb9243098fc20bebac4eecc7 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri_util: Compare against the correct API enums Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/dri_util.c
|
258771882d8996c0f8f66c01071c26b0d85f9a0e |
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Enable GL_ARB_invalidate_subdata v2: Add GL_ARB_invalidate_subdata to release notes at Brian's suggestion. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
07e12c49175e0bf23dbd8bdc3afd7aa79ccc7140 |
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add skeleton implementations of glInvalidateTex{Sub,}Image These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). v2: Add comment explaining why minimum dimensions are set to 1 for some texture targets. Add default case to switch statement to silence compiler warnings and detect new texture targets. Both changes suggested by Brian. Also use _mesa_is_desktop_gl as suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_exec.c
ain/texobj.c
ain/texobj.h
|
f241ffd48c2063557461f5b7bb2dea0b744b8bef |
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add skeleton implementations of glInvalidateBuffer{Sub,}Data These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). v2: Use _mesa_bufferobj_mapped instead of testing gl_buffer_object::Pointer as suggested by Brian. Also use _mesa_is_desktop_gl as suggested by Ken. v3: Add a comment by the map subrange / discard range overlap test and fix an off-by-one error noticed by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
e2370bcc1ddde84d5d1ff676c29638645cb21731 |
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Pass context to _mesa_init_bufferobj_dispatch With this change _mesa_init_bufferobj_dispatch won't set function pointers that don't exist in OpenGL ES. v2: Use _mesa_is_desktop_gl and _mesa_is_gles3 as suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_exec.c
ain/bufferobj.c
ain/bufferobj.h
|
342be8aa88819446220bba680d8e0b628078156f |
13-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add skeleton implementations of glInvalidate{Sub,}Framebuffer These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0. v2: Reject aux buffers in core context, and use _mesa_is_desktop_gl and _mesa_is_gles3. Both suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_exec.c
ain/fbobject.c
ain/fbobject.h
|
2a1ca4ff73129825a7578b0a5ed1f0ac9476a4c3 |
14-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es3: Add _mesa_is_gles3 predicate Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.h
|
9bcb9fad65f0926d665317d6830e9812baafcf86 |
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Implement ARB_texture_storage This is basically cut-and-paste from the swrast implementation, and it could probably be (slightly) more optimal. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex.c
|
79e9e1b32f54f4fb6d752643fc9843c45eddd2f6 |
01-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Use MKDIR_P in src/mesa/Makefile.am Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
02f52e8df58aad16e6b59fe35ac0c10b46dad36e |
01-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Use AM_V_GEN in src/mesa/Makefile.am Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
e939250b63f70c671b5d7654b6b326237b1e353e |
01-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build: Fix out-of-tree generation of api_exec_es{1,2}.c Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
5c2a6b74ed67021545b0f89fec558dacde37792e |
01-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build/sources.mak: Add src/glsl/glcpp to INCLUDE_DIRS Fixes problem where libdricore's of-out-tree build couldn't find glcpp.h. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ources.mak
|
fa7417521045d9bf6eea32607066543bd3ce07bb |
01-Aug-2012 |
Matt Turner <mattst88@gmail.com> |
build/sources.mak: Remove unused GLSL_LIBS Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ources.mak
|
707f0679157f83ac45127e41647b96ed924d45c9 |
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill GL_ARB_shadow_ambient with fire No driver supports this extension, and it seems unlikely than any driver ever will. I think r300c may have supported it at one time, but that driver has already been removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/attrib.c
ain/extensions.c
ain/mtypes.h
ain/samplerobj.c
ain/texobj.c
ain/texparam.c
rogram/prog_statevars.c
rogram/prog_statevars.h
wrast/s_texfilter.c
|
605f964d5cc7016fc74e0563829fa794da845c20 |
13-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Use GLdouble for depthMax in final unpack conversions. The final step of _mesa_unpack_depth_span is to take the temporary GLfloat depth values and convert them to the desired format. When converting to GL_UNSIGNED_INTEGER with depthMax > 0xffffff, we use double-precision math to avoid overflow and precision problems. Or at least that's the idea. Unfortunately GLdouble z = depthValues[i] * (GLfloat) depthMax; actually causes single-precision multiplication, since both operands are GLfloats. Casting depthMax to GLdouble causes the scaling to be done with double-precision math. Fixes a regression in oglconform's depth-stencil basic.read.ds test since c60ac7b17993d28af65b04f9bbbf3ee74c35358c, where the expected and actual values differed slightly. For example, 0xcfa7a6 vs. 0xcfa7a4. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49772 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
43e3a7533d5537e48cef23588131dd25d938ee4b |
14-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix the scaling of seconds to ms in perf debug. *headdesk*
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vec4_emit.cpp
|
d60692601388b5448fb0ed4eb894103293b2f074 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Validate API and version in brwCreateContext v2: Use base-10 for versions like gl_context::Version. Suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_screen.c
|
db273724c9484d513f5caa34729475d2873d9f7b |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Validate API and version in i915CreateContext v2: Use base-10 for versions like gl_context::Version. Suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/intel/intel_screen.c
|
a81e4b3e9272f70ab9074f1c133dda94c58daeff |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i830: Validate API and version before calling i830CreateContext Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_screen.c
|
2b636243265f0f09b7fd8d42046119222a63cad4 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: In the i915 driver, the chipset cannot be i965 In the i965 dirver, the chipset must be i965. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_screen.c
|
70f47505a2e5d4cf949b7c2650f3d9f6559bacb3 |
07-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Pass API_OPENGL_CORE through to the drivers This forces the drivers to do at least some validation of context API and version before creating the context. In r100 and r200 drivers, this means that they don't do any post-hoc validation. v2: Actually reject compatibility profile 3.2+ contexts. Thanks Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/dri_util.c
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/swrast/swrast.c
|
7e81f553bccda66fafa769f8456b4918d088181a |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Filter a bunch more functions based on API Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_exec.c
|
0fef911ce4c8b35311213cab36f1d8510cf6f814 |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't advertise extensions that are part of GL 1.5 in a core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
aa0b1e902b33f95a2aa7c822239bd960fce13b1b |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't advertise extensions that are part of GL 1.4 in a core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
213945385a1fb24e57d5d9609a9f4ec0ead41cae |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't advertise extensions that are part of GL 1.3 in a core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
7ef1869d69005c523ad81b23060ed02e306073f3 |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't advertise extensions that are part of GL 1.2 in a core context Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
4d39b8631587e59416d7b956fa147f00c6b6b174 |
08-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't advertise deprecated extensions in a core context It may be possible to trim the list of extensions futher. These are just the obvious extensions that add functionality that the core context explicitly forbids. Apple's core-context extension list is *just* the extensions on top of the core GL version. I'm not sure we want to go that far, but removing some things that have been in core since 2.1 may be okay. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
cd4a61100da889afec96dc79b33a88b7b8049cec |
18-Jul-2012 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
build: Fix libdricore out-of-tree builds (v2) v2: Add both top_srcdir and top_builddir to mesa asm include dirs. These require both in-tree and build-time-generated files. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
ibdricore/Makefile.am
|
b2ecaab7ad671f97840867c26869e0accf25592c |
18-Jul-2012 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
build: fix location of generated files in src/mesa (v4) Also fix include paths for the generated headers. v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from top_builddir/top_srcdir rather than the ambiguous TOP. v3: Add both top_builddir and top_srcdir to include flags for mesa asm. These rely on both in-tree and build-time-generated includes. v4: Rebased on top of 948c8f502a. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
akefile.am
ibdricore/Makefile.am
ources.mak
|
4e087de51ad0e7ba4a7199d3664e1d096f8dc510 |
10-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Reserve enough space to finish occlusion queries on Gen6. After realizing that brw_finish_batch emitted some final PIPE_CONTROLs to record occlusion queries, Chris noted that we probably hadn't reserved enough space to actually emit them. Reserving a full 60 bytes seems a bit harsh, since we only need that much if occlusion queries are actually active. Plus, 28 bytes would be sufficient for Gen7, and 24 for Gen4-5. We could optimize this in the future, but it doesn't seem too critical. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53311 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_batchbuffer.h
|
9da50667f490ba2c6240f4c91c9707e3f181adae |
10-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Move finish_batch() call before MI_BATCH_BUFFER_END and padding. On Gen4+, brw_finish_batch() calls brw_emit_query_end(), which emits some extra PIPE_CONTROLs to capture the current occlusion query data. Unfortunately, it was being called *after* _intel_batchbuffer_flush added the MI_BATCH_BUFFER_END, meaning those PIPE_CONTROLs didn't get inside the batch. Not only does this likely cause bogus occlusion query values, it can also cause crashes: with the recent change to use 64-bit depth count writes on Gen6+, we started emitting an odd-length PIPE_CONTROL, which happened after the MI_NOOP padding. This resulted in an odd-length batch buffer, which resulted in execbuf2 returning -EINVAL and the application dying with an intel_do_flush_locked failure. On older generations, finish_batch() doesn't emit any state, so this change shouldn't have any effect. Huge thanks to Chris Wilson for helping me figure this out. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53311 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_batchbuffer.c
|
006c1a3c652803e2ff8d5f7ea55c9cb5d8353279 |
07-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add perf debug for stalls during shader compiles. v2: fix bad comment from before I gave up and decided to just use doubles. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
97a5f0ff2eb3a6e8b303ce402a4e1d9be7e7b323 |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add performance debug for when the state cache gets nuked. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_cache.c
|
fc3b7c9b56701f23b002543de33a8d8c43f9bdc2 |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add performance debug for shader recompiles. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_program.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
b4da272a6ea58a7c81c71477d65d82651555709a |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add performance debug for fast clear fallbacks. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clear.c
|
0e723b135bfd59868c92c3ae243f1adaedaec3a5 |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Add performance debug for some common GPU stalls. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_queryobj.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_regions.c
|
4cfb9e30000eea9cb1f316ace9347083b619cdb0 |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add performance debug for register spilling. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
d72ff03e699e78381049e29d89163519e6730dd4 |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add INTEL_DEBUG=perf for failure to compile 16-wide shaders. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/intel/intel_context.h
|
79198063b8adb23536b291081f8df8571926950e |
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Rename INTEL_DEBUG=fall to INTEL_DEBUG=perf. I want to introduce some more debug output for performance surprises that includes fallbacks, but aren't necessarily software rasterization. Leave INTEL_DEBUG=fall in place for those that have used that flag before. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i915_program.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_urb.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_tex_copy.c
|
bf6c1b74705243efdd43f07d381768fceede1f91 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
meta: texture rectangle textures may not have mipmaps Avoid INVALID_OPERATION error if decompressing rectangle texture. Setting mipmap level limits for those textures is error that must not be hit by meta code to mislead user. [v3/Kayden]: Resolve conflicts due to Eric picking a subset of Pauli's original changes. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
b9daa834633f0e012a35f67cf232464e5cb3b9b6 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
meta: Use sampler object for mipmap generation Sampler objects are perfect for meta operations.Sampler object is separate state object that shadows the sampling state in texture object. With sampler object mipmap can maintain same sampling state for all subsequent generation requests. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
ac4dc5e9312f3ef154135a68521e7a20c88b7837 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa/samplerobj: Avoid crash in sampler query if texture unit is disabled Sampler queries are so far made only for enabled texture unit. But if any code would query sampler before checking texture unit state that would result to NULL deference. Making the inline helper easier to use with NULL check makes a lot sense because compiler is likely to combine the checks for the current texture. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/samplerobj.h
|
5606bd574e264c4beda8eb1d10b48d17e9b8b497 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Remove unnecessary parameters CompressedTexImage In tune with previous patches. Again there is duplication of information in function parameters that is good to remove. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/nouveau/nouveau_texture.c
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
c9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Remove unnecessary parameters from AllocTextureImageBuffer Size and format information is always stored in gl_texture_image structure. That makes it preferable to remove duplicate information from parameters to make interface easier to understand. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
ain/dd.h
ain/mipmap.c
ain/texstore.c
tate_tracker/st_cb_texture.c
wrast/s_texture.c
wrast/swrast.h
|
c5af8891805fc4f590c1371c098cdbc704c44e00 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Remove unnecessary parameters from TexImage gl_texture_image structure always holds size and internal format before TexImage driver hook is called. Those passing same information in function parameters only duplicates information making the interface harder to understand. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
ain/dd.h
ain/teximage.c
ain/texobj.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
cf77c29e6015d177c046adee3c48589cc9fb5015 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix renderbuffer validation bug After we attach a new renderbuffer in this function we need to make sure Mesa's update_framebuffer() gets called. Fixes crash in WebGL conformance/textures/texture-attachment-formats.html, but the test still fails for other reasons. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53316 Note: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
9b04abe36812a34ba447e5b1f8d8e44a10510820 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyTexSubImage crash Fixes a WebGL crash. The dest texture image is at level 2 and is of size 1x1 texel. The st texture image is a stand-alone resource, not a pointer into a complete mipmap. So the resource has one level and trying to write to level 2 blows up. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53314 and http://bugs.freedesktop.org/show_bug.cgi?id=53319 Note: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba |
09-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Always downsample in intel_miptree_map_multisample Always downsample before mapping, even if the map mode contains GL_MAP_INVALIDATE_RANGE_BIT. If we neglect to downsample when only a subrect is mapped then the upsample in intel_miptree_unmap_multisample may write garbage to the region outside the subrect. (Eric gave my patch e88cfbb a conditional reviewed-by with the condition that it always downsample before mapping. I forgot to make that change before pushing the patch.) Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
04a11b5f5e22155e5816e2da560b485eb0eaaec9 |
28-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Add support for edge flags. Fixes the 3 new piglit edgeflag tests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40707 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vs.c
|
b3367f56d880550befb31a0100c448e1d607915f |
28-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Convert EdgeFlagPointer values appropriately for the VS on gen4. Fixes piglit gl-2.0/edgeflag. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_draw_upload.c
|
3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432 |
28-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add comment noting copy_edgeflag state dependency. It's already in the state struct. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs.c
|
e119f98472f6ceb03ffd564eb0398233e7b81437 |
27-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for copying user edge flags. Fixes the glsl skinning demo regression since changing to the new GLSL compiler, and is part of fixing piglit gl-2.0-edgeflag. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50079 NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
7426d9d7699452f15f3288e781e1791d8d00a64a |
19-Jul-2012 |
Olivier Galibert <galibert@pobox.com> |
i965/fs: Fix the FS inputs setup when some SF outputs aren't used in the FS. If there was an edge flag or a two-side-color pair present, we'd end up mismatched and read values from earlier in the VUE for later FS inputs. v2: Fix regression in gles2conform shaders generating point size. (change by anholt) Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_pass2.c
|
34665381713249c29b7da5028396222dfea477c2 |
08-Aug-2012 |
Vinson Lee <vlee@freedesktop.org> |
st/mesa: Initialize tgsi_texture_offset Padding field. Fixes uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
94f22fbe787214580a1a13a774114d2650c166cb |
08-Aug-2012 |
Tapani Pälli <tapani.palli@intel.com> |
intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2 Patch changes i915 and i965 drivers to use fixed function version of meta clear when running on ES 1.1. This fixes rendering errors seen with Google Maps, Angry Birds and Gallery3D on Android platform. Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions internally to be available independent of GL flavour, therefore check against ARB_fragment_shader does not work. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50333 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/intel_clear.c
rivers/dri/i965/brw_clear.c
|
5deb1d1a1f9e3354597569032af9bdf27d629cca |
08-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rework the extra flushes surrounding occlusion queries. This removes the CS stall on Ivybridge. On Sandybridge, the depth stall needs to be preceded by a non-zero post-sync op, which requires a CS stall, which needs a stall at scoreboard. Emit the full workaround. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_queryobj.c
|
b0adbda75a092a92211bb519a395494532ddb17e |
07-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Protect pow(x,y) MOV of y on gen4 from other instruction flags. I don't know if it was possible to trigger this bug -- we don't merge saturates into the math instruction because we're bad at coalescing currently, and there's nothing generating these with predicates. Still, let's avoid future bugs when we do smarter codegen. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
9b4053cabd8bda180b352d2d2047209f6ca5f6e8 |
06-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop the confusing saturate argument to math instruction setup. This was ridiculous. We were ignoring the inst->header.saturate flag in the case of math and only math. On gen4, we would leave inst->header.saturate in place if it happened to be set, which would end up being applied to the implicit mov and thus trash the first argument. On gen6, we would overwrite inst->header.saturate with the saturate flag from the argument, which was not set appropriately in brw_vec4_emit.cpp, and was only not a bug due to our incompetence at coalescing saturate moves. By ripping the argument out and making saturate work just like all the other brw_eu_emit.c code generation, we can avoid both these classes of bugs. Fixes piglit fog-modes, and the new specific fs-saturate-exp2 case. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48628 NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_eu_util.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_emit.c
|
33dfdc735e052d9c9b33883350e926d40220b6ac |
09-Aug-2012 |
Eric Anholt <eric@anholt.net> |
i965: Make brw_set_saturate() use stdbool. There was a chance for brw_wm_emit.c to screw up and pass (1 << 4) instead of 1, which would get converted to 0 when stored. Instead, use stdbool which converts nonzero to true/1 like we want.
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
|
1b148e660e4cefcfbdc65ef8a58a7e52e8820782 |
06-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: In conditional rendering fallback, check the query status. Otherwise, conditional rendering always takes the fallthrough "render it anyway" case unless the application had itself done a check or wait on the query. Fixes intel oglconform's conditional_render advanced.nofbo.readpixels. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/condrender.c
|
4bbd12036819ed6a2d0993c437e0c02bf0c92b0b |
01-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glPopAttrib() behavior on GL_FRAMEBUFFER_SRGB. I happened to notice this while looking at a blit pass in l4d2, which had an optional push/pop around framebuffer srgb setting. It didn't matter in the end, but the fix is sitting in my tree now. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/attrib.c
|
e45a9ce474c3562f16c8a773260752d77a4fed5c |
07-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use 64-bit writes for occlusion queries. The hardware seems to use the length of the PIPE_CONTROL command to indicate whether the write is 64-bits or 32-bits. Which makes sense for immediate writes. Daniel discovered this by writing a pattern into the query object bo and noticing that the high 32-bits were left intact, even on those pipe control writes that seemingly worked. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
20c09b82d0520843f1c168adaf9bd5d17a572085 |
07-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Refactor depth count write PIPE_CONTROLs into a helper function. This consolidates the complexity in one place, which is important because it's about to get even more complicated. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
a2cdd5ada8ae315acbc4225398b7cbf78181f610 |
07-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit a CS stall before timestamp writes. This implements one of the Sandybridge PIPE_CONTROL workarounds. It doesn't appear to be required for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
c4c78c275abffe8d1014b1355f02239859d6aa2b |
07-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use 64-bit writes for timestamp queries. The hardware seems to use the length of the PIPE_CONTROL command to indicate whether the write is 64-bits or 32-bits. Which makes sense for immediate writes. Daniel discovered this by writing a pattern into the query object bo and noticing that the high 32-bits were left intact, even on those pipe control writes that seemingly worked. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
03f14664b6b12bc7853866fe613d8af350e51e08 |
07-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Refactor timestamp write PIPE_CONTROLs into a helper function. This consolidates the complexity in one place, which is important because it's about to get even more complicated. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
61d0b9f52c6be4a4a64c30ea3a2a93ef8260c67b |
26-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Make the length for PIPE_CONTROL explicit. PIPE_CONTROL has variable length, depending upon generation and whether we want to do 32-bit or 64-bit data writes. Make it explicit, rather than hiding a length of 4 in the #define for _3DSTATE_PIPE_CONTROL. Generated by s/3DSTATE_PIPE_CONTROL/3DSTATE_PIPE_CONTROL | (4 - 2)/g. This is equivalent since the #define used to have | 2 in it. A grep through the sources shows that all instances have been converted, so it's safe to remove the | 2 from the #define. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_reg.h
|
ecac178aa2591afc36e5d34d11a773ff07cb71b1 |
08-Aug-2012 |
Brian Paul <brianp@vmware.com> |
swrast: add missing switch case for API_OPENGL_CORE To silence compiler warning. Reviewed-by: José Fonseca <jfonseca@vmware.com>
rivers/dri/swrast/swrast.c
|
4a078516b6e9dd6876aaa2c95f0a98b7f5e08d19 |
27-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965: Enable uniform buffer objects on gen6+. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
04871058eb01c5b51a0180055e7dbdc967f56604 |
25-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for loading uniform buffer variables as pull constants. Unlike the FS side in the previous commit, this does variable indexing just fine, using the same code as we used for other variable-indexed pull constants. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
|
90de96ff0d6d54ba0f9a337a6a107acf4134682d |
21-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for loading uniform buffer variables as pull constants. Variable array indexing isn't finished, because the lowering pass turns it all into conditional moves of constant index accesses so I can't test it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_shader.cpp
|
bb020d09c382285210a5aebe412ddabfad19e4a0 |
25-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add a surface index to VS_OPCODE_PULL_CONSTANT instructions. Similar to the previous commit for the fragment shader, now we have a buffer index and an offset. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
454dc83f66643e66ea7ee9117368211f0cfe84d7 |
21-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Communicate the pull constant block read parameters through fs_regs. I wanted to add the surface index as a variable value for UBO support, and a reg seemed like the obvious way to go. This exposes more of the information to CSE, which we'll probably want to apply to pull constant loads for UBOs eventually (you might access 4 floats in a row, each of which would produce an oword block read of the same block). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
|
25d2bf3845e9a6faaef8d808c1255ec57dc71dba |
20-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965: Bind UBOs as surfaces like we do for pull constants. v2: Comment fix, drop extraneous parens (review by Kenneth) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7 |
20-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add an offset argument to constant buffer setup. We'll use this for UBO surfaces. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_context.h
|
5fc5b29a543a7a229bf03f8f9f37ed4c592a67e7 |
31-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glUniformBlockBinding() in display lists. Fixes piglit GL_ARB_uniform_buffer_object/dlist. v2: Use the .ui fields instead of .i for type consistency (review by Brian Paul) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/dlist.c
|
bfa046b5f2e50a0297ecb7e325395367362c4c39 |
31-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Unbind uniform buffer bindings on glDeleteBuffers(). Fixes piglit GL_ARB_uniform_buffer_object/deletebuffers. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
1eb3c06ae82cc962c5d867238acd089f833c2337 |
27-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Default to GL 3.1's limits on uniform blocks. The ARB spec lets you get away with the default block counting against the blocks for combined size limits. The core spec says you need to be able to support the maximum size of default block *and* the maximum size of each uniform block. I see no reason that any driver would have a problem with that. Fixes gl 3.1/minmax (with an associated fix to the test) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
|
af3fc6bb2836ce545c624bce2b47c3fd8cf4f9fa |
21-Jul-2012 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't whack the ->location field of uniform block variables. Fixes some failures in GL_ARB_uniform_buffer_object/maxblocks. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
56e82e30cb60368bb3605f95130732f5edbab0a0 |
26-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Make glBindBufferBase/glBindBufferRange() work on just-genned names. In between glGenBuffers() and glBindBuffer(), the buffer object points to this dummy buffer with a name of 0, and a glBindBufferBase() would point to that. It seems pretty clear, given that glBindBufferBase() only cares about the current size of the buffer at render time, that it should bind up the buffer that you passed in instead of pointing it at this useless dummy buffer. However, what should glBindBufferRange() do? As of this patch, it will promote the genned buffer to a proper buffer like it had been glBindBuffer()ed, and then detect that the size is greater than the buffer's current size of 0 and throw INVALID_VALUE. It seems like the most reasonable answer here. Note that this also changes the behavior of these two on non-glGenBuffers() bo names. We haven't yet set up the error throwing for glBindBuffers() on gl 3.1+, and my assumption is that these two functions should inherit their behavior on un-genned names from glBindBuffers(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
2ea3ab14f2182978f471674c9dfce029d37f70a7 |
10-Jul-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add a "ubo_load" expression type for fetches from UBOs. Drivers will probably want to be able to take UBO references in a shader like: uniform ubo1 { float a; float b; float c; float d; } void main() { gl_FragColor = vec4(a, b, c, d); } and generate a single aligned vec4 load out of the UBO. For intel, this involves recognizing the shared offset of the aligned loads and CSEing them out. Obviously that involves breaking things down to loads from an offset from a particular UBO first. Thus, the driver doesn't want to see variable_ref(ir_variable("a")), and even more so does it not want to see array_ref(record_ref(variable_ref(ir_variable("a")), "field1"), variable_ref(ir_variable("i"))). where a.field1[i] is a row_major matrix. Instead, we're going to make a lowering pass to break UBO references down to expressions that are obvious to codegen, and amenable to merging through CSE. v2: Fix some partial thoughts in the ir_binop comment (review by Kenneth) Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
9c1b41879aab2ff7386c547a2ccce7686c018cf5 |
26-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Replace VersionMajor/VersionMinor with a Version field. As we get into supporting GL 3.x core, we come across more and more features of the API that depend on the version number as opposed to just the extension list. This will let us more sanely do version checks than "(VersionMajor == 3 && VersionMinor >= 2) || VersionMajor >= 4". v2: Fix a bad <= 30 check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
ain/enable.c
ain/fbobject.c
ain/get.c
ain/glformats.c
ain/mtypes.h
ain/texformat.c
ain/teximage.c
ain/texparam.c
ain/varray.c
ain/version.c
tate_tracker/st_manager.c
|
3aaeb3e5e76b7b468e2eb2a26f30d68d19d3c854 |
07-Aug-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix compiler warnings from winsys msaa.
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/intel/intel_screen.c
|
e943e5c291c5f4c017f9f5a483f1940313333fc3 |
03-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Advertise multisample DRI2 configs on gen >= 6 This turns on window system MSAA. This patch changes the id of many GLX visuals and configs, but that couldn't be prevented. I attempted to preserve the id's of extant configs by appending the multisample configs to the end of the extant ones. But somewhere, perhaps in the X server, the configs are reordered with multisample configs interspersed among the singlesample ones. Test results: Tested with xonotic and `glxgears -samples 1` on Ivybridge. No piglit regressions on Ivybridge. On Sandybridge, passes 68/70 of oglconform's winsys multisample tests. The two failing tests are: multisample(advanced.pixelmap.depth) multisample(advanced.pixelmap.depthCopyPixels) These tests hang the gpu (on kernel 3.4.6) due to a glDrawPixels/glReadPixels pair on an MSAA depth buffer. I don't expect realworld apps to do that, so I'm not too concerned about the hang. On Ivybridge, passes 69/70. The failing case is multisample(advanced.line.changeWidth). Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
8b5d68dd28a78c2250bfc4a7fa62cd9e5cdd756e |
02-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Clarify intel_screen_make_configs This function felt sloppy, so this patch cleans it up a little bit. - Rename `color` to `i`. It is not a color value, only an iterator int. - Move `depth_bits[0] = 0` into the non-accum loop because that is where it used. The accum loop later overwrites depth_bits[0]. - Rename `depth_factor` to `num_depth_stencil_bits`. - Redefine `msaa_samples_array` as static const because it is never modified. Rename to `singlesample_samples`. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
a4bf68ca50da0ce291a464aec9b03a469ab2561a |
02-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
dri: Simplify use of driConcatConfigs If either argument to driConcatConfigs(a, b) is null or the empty list, then simply return the other argument as the resultant list. All callers were accomplishing that same behavior anyway. And each caller accopmplished it with the same pattern. So this patch moves that external pattern into the function. Reviewed-by: <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/common/utils.c
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/radeon/radeon_screen.c
|
b2d428cb8d20e003b65769c7757a137406c671e6 |
12-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor creation of DRI2 configs DRI2 configs were constructed in intelInitScreen2. That function already does too much, so move verbatim the code for creating configs to a new function, intel_screen_make_configs. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
61fd6847827048ce9b01b1d164111472ad8bf593 |
12-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Downsample on DRI2 flush Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
e88cfbb95f631ca1275a5cef4ccc5aaffb70aaba |
28-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Support mapping multisample miptrees Add two new functions: intel_miptree_{map,unmap}_multisample, to which intel_miptree_{map,unmap} dispatch. Only mapping flat, renderbuffer-like miptrees are supported. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
4c0ccc13bd3ec149c4a51c4937811894fbe713f0 |
28-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor use of intel_miptree_map Move the opencoded construction and destruction of intel_miptree_map into new functions, intel_miptree_attach_map and intel_miptree_release_map. This patch prevents code duplication in a future commit that adds support for mapping multisample miptrees. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
81980958d0d3def26741cfe78b7c23f6635f826a |
28-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_miptree_map/unmap Move the body of intel_miptree_map into a new function, intel_miptree_map_singlesample. Now intel_miptree_map dispatches to the new function. A future commit adds a multisample variant. Ditto for intel_miptree_unmap. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
6b56140b4bafcef8bea5ca67cb31023a533c3bd4 |
27-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Mark needed downsamples for msaa winsys buffers Add function intel_renderbuffer_set_needs_downsample. It is a no-op except on multisample winsys buffers shared with DRI2. Mark the needed downsamples with the new function at two locations: - Immediately after drawing is complete. - After blitting. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
d3746354fbfadf821dc108e072d86b5329737444 |
12-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Define functions for up/downsampling on miptrees Flesh out the stub functions intel_miptree_{up,down}sample. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
6cc9df331b4799715b31d7ec606ad09fa914e260 |
07-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Add function brw_blorp_blit_miptrees Define a function, brw_blorp_blit_miptrees, that simply wraps brw_blorp_blit_params + brw_blorp_exec with C calling conventions. This enables intel_miptree.c, in a following commit, to perform blits with blorp for the purpose of downsampling multisample miptrees. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
|
f4873babdc27f697df9f4642209eca21a02ac476 |
19-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Allocate miptree for multisample DRI2 buffers Immediately after obtaining, with DRI2GetBuffersWithFormat, the DRM buffer handle for a DRI2 buffer, we wrap that DRM buffer handle with a region and a miptree. This patch additionally allocates an accompanying multisample miptree if the DRI2 buffer is multisampled. Since we do not yet advertise multisample GL configs, the code for allocating the multisample miptree is currently inactive. This patch adds the following fields to intel_mipmap_tree: singlesample_mt needs_downsample and the following function stubs: intel_miptree_downsample intel_miptree_upsample Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
4eba67285fb6b5d2dd4927e8dc4b3e2945435309 |
20-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor creation of hiz and mcs miptrees Move the logic for creating the ancillary hiz and mcs miptress for winsys and non-texture renderbuffers from intel_alloc_renderbuffer_storage to intel_miptree_create_for_renderbuffer. Let's try to isolate complex miptree logic to intel_mipmap_tree.c. Without this refactor, code duplication would be required along the intel_process_dri2_buffer codepath in order to create the mcs miptree. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
|
e2f2376e884225705e2369caee4a8c4e90e938f3 |
12-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Set num samples for winsys renderbuffers Add a new param, num_samples, to intel_create_renderbuffer and intel_create_private_renderbuffer. No multisample GL config is yet advertised, so the value of num_samples is currently 0. For server-owned winsys buffers, gl_renderbuffer::NumSamples is not yet used. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> (v1) Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
|
53fa28f7b1f21251a3807abf1f234f52beff0256 |
11-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor quantize_num_samples Rename quantize_num_samples to intel_quantize_num_samples and change the first param from struct intel_context* to struct intel_screen*. The function will later be used by intelCreateBuffer, which is not bound to any context but is bound to a screen. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com> (v1) Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
7a2e40ed283b70e1da8ea762959ca7462b0f2fc3 |
01-Aug-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Update stale comment for intel_miptree_slice::map The comment referred to intel_tex_image_map/unmap, but should more accurately refer to intel_miptree_map/unmap. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.h
|
4b40375c438f9a10231dabedcf72bf6f27bbe327 |
06-Aug-2012 |
Paulo Zanoni <paulo.r.zanoni@intel.com> |
i965: add more Haswell PCI IDs Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
7d65356d8a4d268dce4c933d7704d709e1cdacfa |
04-Aug-2012 |
Vinson Lee <vlee@freedesktop.org> |
st/mesa: Fix a potential memory leak in get_mesa_program. Fixes resource leak defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
63adb6b9eaa723f6bf9603f3f567e04451df857e |
18-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri2: Fix bug in attribute handling for non-desktop OpenGL contexts Previously an error would be generated if any attributes were specified when creating a non-desktop OpenGL context. This was a mistake, and it will prevent old drivers from working with new EGL libraries that add support for the createContextAttribs interface. Instead, match the behavior of EGL_KHR_create_context: allow versions that make sense, reject non-zero flags. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cc: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/common/dri_util.c
|
caa4ae5d7d864278ffbf5dbd9c25bb2932e91fc5 |
05-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Allocate dummy slots for point sprites before computing VUE map. Commit f0cecd43d6b6d moved the VUE map computation to be only once, at VS compile time. However, it did so in slightly the wrong place: it made the one call to brw_vue_compute_map happen right before the allocation of dummy slots for replaced point sprite coordinates, causing a different VUE map to be generated (at least on Ironlake). Fixes a regression in Piglit's point-sprite test on Ironlake. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46489 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.c
|
54c045b93cd205bcf031e70d65238d60bfc07da4 |
05-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Don't clobber sampler message MRFs with subexpressions. See the preceding commit for a description of the problem. NOTE: This is a candidate for stable release branches. v2: Use a separate dPdx variable rather than reusing the lod src_reg. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52129 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
c0f60106df724188d6ffe7c9f21eeff22186ab25 |
05-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Don't clobber sampler message MRFs with subexpressions. Consider a texture call such as: textureLod(s, coordinate, log2(...)) First, we begin setting up the sampler message by loading the texture coordinates into MRFs, starting with m2. Then, we realize we need the LOD, and go to compute it with: ir->lod_info.lod->accept(this); On Gen4-5, this will generate a SEND instruction to compute log2(), loading the operand into m2, and clobbering our texcoord. Similar issues exist on Gen6+. For example, nested texture calls: textureLod(s1, c1, texture(s2, c2).x) Any texturing call where evaluating the subexpression trees for LOD or shadow comparitor would generate SEND instructions could potentially break. In some cases (like register spilling), we get lucky and avoid the issue by using non-overlapping MRF regions. But we shouldn't count on that. Fixes four Piglit test regressions on Gen4-5: - glsl-fs-shadow2DGradARB-{01,04,07,cumulative} NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52129 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
27bf9c1997b77f85c2099436e9ad5dfc0f1608c7 |
05-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Factor out texcoord setup into a helper function. With the textureRect support and GL_CLAMP workarounds, it's grown sufficiently that it deserves its own function. Separating it out makes the original function much more readable. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
82bfb4b41af7d61aa45e41d62c1842b6a09e9585 |
05-Aug-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Move message header and texture offset setup to generate_tex(). Setting the texture offset bits in the message header involves very specific hardware register descriptions. As such, I feel it's better suited for the lower level "generate" layer that has direct access to the weird register layouts, rather than at the fs_inst abstraction layer. This also parallels the approach I took in the VS backend. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
8eeeef37057e8f31834e421902c529b273295d0b |
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: merge fragment/vertex sampler update code Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_sampler.c
|
819e786339fe0eebcd6e8e0ec9e501da548846ba |
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: massage update_vertex_samplers() code ...to look like update_fragment_samplers() code, as with the previous commit. The next step would be to merge the two functions. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_sampler.c
|
2aac0d145a3f03572f19fd913bed2e951d543030 |
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: merge fragment/vertex texture update code Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_texture.c
|
dd6aafcf72e79d7caacd4406528da9b2003915da |
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: massage the update_vertex_textures() code ...to look like update_fragment_textures() code. The next step would be to merge the two functions. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_texture.c
|
5749ae919e386e49dbf373e362dd74b513c96360 |
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename some vertex/fragment state fields for better consistency Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
61b62c007a7941e9b45e83440e932160a597e0e1 |
04-Aug-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Fix off-by-one error in Parse_TextureImageId. Fixes out-of-bounds write defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/nvfragparse.c
|
e7689303a8e4790c38cc69ae7a197712f98e8f5b |
24-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: set sample mask to ~0 for clear, blit and gen_mipmap The sample mask affects single-sampled rendering too (it's orthogonal to the color mask). Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_clear.c
|
ea6f035ae90895bd4ee3247408eb179dfdf96d22 |
02-Aug-2012 |
Brian Paul <brianp@vmware.com> |
gallium: consolidate CSO sampler and sampler_view functions Merge the vertex/fragment versions of the cso_set/save/restore_samplers() functions. Now we pass the shader stage (PIPE_SHADER_x) to the function to indicate vertex/fragment/geometry samplers. For example: cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler); This results in quite a bit of code reduction, fewer CSO functions and support for geometry shaders. Reviewed-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
350f12fb657a2ac860796c179233fa357e4bf46c |
02-Aug-2012 |
Vinson Lee <vlee@freedesktop.org> |
st/mesa: Ensure dst in compile_instruction is initialized. Fixes uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_mesa_to_tgsi.c
|
8551635242470b1487b65a9ecf43c385f6fe4134 |
02-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix default_access_mode() result for ES2 The GL_OES_mapbuffer extension is supported by OpenGL ES 1 and ES 2 so return GL_MAP_WRITE_BIT for both ES versions, not just ES 1. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/bufferobj.c
|
3eb2b5c5e4e98b18844a90c93afad7b56f82269b |
02-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: default_access_mode() returns a GLbitfield, not GLenum
ain/bufferobj.c
|
204bfb904bd5d4dd9ce90fe4d3e8e48b0d01fdae |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
meta: Use sampler object in framebuffer blit Framebuffer blit needs to setup texture sampling with no reference to the user's texturing state, and a sampler object lets us avoid a bunch of changes to the user's state setup. We don't bother caching the sampler object since we're changing parameters in it based on the filtering option to glBlitFramebuffer(). Fixes piglit GL_ARB_sampler_objects/framebufferblit and rendering in l4d2 (our setting of srgb decode wasn't being respected due to the user's sampler object being active). Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
676a563d5bdcd9c75e1e33d75e2fa16bedcf5e83 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
meta: Add sampler object to texture decompression Sampler objects can be used to shadow texture object state without modifying original application state. Decompression path feels a bit like path where caching shouldn't happen. But as everything else is cached already I decided to cache sampler state too. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
5a320d5bcfb66afca6fe9fe5da133c2675ab4d27 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Allow meta module to call sampler functions To allow meta module to use sample objects mesa GL functions need to be visible and linkable for meta module. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/samplerobj.c
ain/samplerobj.h
|
cbdc1d53542b3ecca0085399c4bb3b3371f94809 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
swrast: Support sampler object for texture fetching state swrast needs to pass sampler object into all texture fetching functions to use correct sampling state when sampler object is bound to the unit. The changes were made using half manual regular expression replace. v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current values aren't set yet, so we need to look at our texObj2D. (anholt) Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_span.c
wrast/s_texcombine.c
wrast/s_texfetch.c
wrast/s_texfetch.h
wrast/s_texfilter.c
wrast/s_triangle.c
nl/t_vb_program.c
|
8129dabb5f5ff717bb1ca32710ca6204d5345461 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Make ARB_sampler_objects mandatory To allow meta acceleration operations to use sampler objects the ARB_sampler_objects extension needs to be mandatory for all drivers. Because the extension doesn't have any hardware dependencies it is trivial to implement. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_extensions.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
ae58f9696c5f82c98767b3f244b2ad4b966905e5 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa/program: Use sampler object state if present CompareFailValue is part of Sampler state that needs to be read from bound sampler object if present. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/prog_statevars.c
|
cae76368523b2dd25f26069b9872a8993384fa57 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa/ff_shader: Fix sampler state reading Fixed function fragment shader generator was incorrectly read texture sampling state directly from texture object. To make sure that ARB_sampler_object works correctly shader generator has to use the bound sampler if one exist. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/ff_fragment_shader.cpp
|
6f6bd8aedcf2b2f0e1ca9a1fa7ded1cb1f5a88ed |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
radeon&r200: Add support for ARB_sampler_objects Preparation for the mandatory support of ARB_sampler_objects. I have tested this patch with rv280 only. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.h
|
10169e7adc40b445776453fcc6d3227d7dda5879 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
radeon: Fix printf format not to warn in 64bit When I build tested radeon changes I noticed two warnings about format size missmatch in 64bit. I decided to clean them to make relevant compiler warnings easier to spot. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_blit.c
|
54808e560f773f652919a2865c7371e4715df510 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
nouveau: Add support for ARB_sampler_objects ARB_sampler_objects is very simple software only extension to support. I want to make it a mandatory extension for Mesa drivers to allow the meta module to use it. This patch add support for the extension to nouveau. It is completely untested search and replace patch, except for flagging the texture state as needing to be recomputed when a sampler object is present. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
765509903b3c560f9c19169d736f284480e88942 |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa/samplerobj: Support EXT_texture_sRGB_decode sRGBDecode state is part of sampler object state but mesa was missing handlers to access the state. This patch adds the support for required state changes and queries. GL_EXT_texture_sRGB_decode issue 4: "4) Should we add forward-looking support for ARB_sampler_objects? RESOLVED: YES If ARB_sampler_objects exists in the implementation, the sampler objects should also include this parameter per sampler." Fixes piglit GL_ARB_sampler_objects/GL_EXT_texture_sRGB_decode. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/samplerobj.c
|
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf |
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Move DepthMode to texture object GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on compatibility profile specifications. OpenGL specification 4.1 compatibility 20100725 3.9.2: "... The values accepted in the pname parameter are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_- FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_- LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and in the sampler state in table 6.26 is not part of the sampler state, and remains in the texture object." The list of states is in Table 6.24 "Textures (state per texture object)" instead of 6.25 mentioned in the specification text. Same can be found from 3.3 compatibility specification. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
ain/attrib.c
ain/mtypes.h
ain/samplerobj.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
tate_tracker/st_atom_texture.c
wrast/s_texfilter.c
|
c18806cebf107d03751b11cc8866062c3822a56f |
27-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Allow GL_SAMPLES to be set to 1 prior to Gen6. This patch allows GL_SAMPLES to be set to either 0 or 1 on i965 platforms that don't support MSAA (those prior to Gen6). Setting GL_SAMPLES=1 has the same effect as setting it to 0 on these platforms (because MSAA is unsupported), but is distinguishable via the GL API. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50165 Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_fbo.c
|
97fc89c6cbaa3b5ef7f678d2dc2c7d5bbba05315 |
27-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Treat GL_SAMPLES=1 as equivalent to GL_SAMPLES=0. EXT_framebuffer_multisample is a required subpart of ARB_framebuffer_object, which means that we must support it even on platforms that don't support MSAA. Fortunately EXT_framebuffer_multisample allows for this by allowing GL_MAX_SAMPLES to be set to 1. This leads to a tricky quirk in the GL spec: since GlRenderbufferStorageMultisamples() accepts any value for its "samples" parameter up to and including GL_MAX_SAMPLES, that means that on platforms that don't support MSAA, GL_SAMPLES is allowed to be set to either 0 or 1. On platforms that do support MSAA, GL_SAMPLES=1 is not used; 0 means no MSAA, and 2 or higher means MSAA. In other words, GL_SAMPLES needs to be interpreted as follows: =0 no MSAA (possible on all platforms) =1 no MSAA (only possible on platforms where MSAA unsupported) >1 MSAA (only possible on platforms where MSAA supported) This patch modifies all MSAA-related code to choose between multisampling and single-sampling based on the condition (GL_SAMPLES > 1) instead of (GL_SAMPLES > 0) so that GL_SAMPLES=1 will be treated as "no MSAA". Note that since GL_SAMPLES=1 implies GL_SAMPLE_BUFFERS=1, we can no longer use GL_SAMPLE_BUFFERS to distinguish between MSAA and non-MSAA rendering. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_multisample_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
|
8c94f6bbd80908fd2cae8e27fe78c429e54a78b8 |
10-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Use consistent pattern in intelCreateBuffer The 16-bit depth case did not follow the function's prevalent pattern. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
2b4fbc4d7d3578642ca57b5e45094e66e03626fc |
10-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Decrease nesting level in intelCreateBuffer Nearly the whole function body was contained in the 'else' branch. The 'if' branch did one thing: return early with an error. Clean things up by moving all the code out of the 'else' branch. Decreases max nesting level from 4 to 3. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
83fa0842ca0772e9a3493bd7a66f69c458a1739b |
10-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Remove dead code in intelAllocateBuffer After commit "intel: Convert to using private depth/stencil buffers", we request from DRI2GetBuffersWithFormat only the front left and back left buffers. We no longer request depth and stencil buffers. Assert that in intelAllocateBuffer and remove the related dead code. Reviewed-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
6286d9810b7ebae588060370cd7a63c327478a2f |
31-Jul-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
Revert "gallium: specify resource_resolve destination via a pipe_surface" This reverts commit 5d5af7d359e0060fa00b90a8f04900b96f9058b0. It turns out the issue this was supposed to fix merely counter-acted a bug in the hardware driver that I wasn't aware of. The resource_resolve is not supposed to do sRGB conversion, period. (This would violate the requirement that source and destination must be of the same format).
tate_tracker/st_cb_blit.c
|
be2dcc5e9f61d380aec93eeb01227cbb6b5037c1 |
27-Jul-2012 |
Roland Scheidegger <sroland@vmware.com> |
r200: get rid of dubious aux scissor bits no point in emitting aux scissor values if we a) never enable them b) never set the actual values plus it is enough to have that aux scissor enable reg (which we never set to enable) in one place not two.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state_init.c
|
c0c216c4690f1d39ae384b45be5d5350d5bde875 |
27-Jul-2012 |
Roland Scheidegger <sroland@vmware.com> |
radeon/r200: get rid of some unneeded cliprect/scissor code Noone was interested in the number of cliprects, and noone cared about the intersect result neither. So just nuke this.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
549470aa1a0149795b17bb81d98d70a57abb70ef |
27-Jul-2012 |
Roland Scheidegger <sroland@vmware.com> |
r200: get rid of old gart memory functions from old dri1 Those functions are SO dead.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
|
de694b6b10b7ce23a00cd7296a955f162704ee62 |
27-Jul-2012 |
Roland Scheidegger <sroland@vmware.com> |
radeon/r200: fix bogus clears There were several problems with these functions (which are a remnant of dri1 hyperz mostly - should bring it back somehow someday). First, it would always do a swrast clear if the buffer to clear was a fbo. Second, for buffers we wouldn't handle the clear (I guess aux/accum?) we would actually still have tried to clear that later even when we already cleared it with swrast.
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
5b88a2a22daae4d09596804d8edc6b8796d05150 |
27-Jul-2012 |
Roland Scheidegger <sroland@vmware.com> |
radeon/r200: fix bogus assert/scissor wrt width/height 2048 This addresses one issue raised in bug #51658 discovered by Eugene St Leger. The assert is bogus since there's no problem with texture width/height being 2048 (the width/height programmed is width/height minus one). OTOH though the programmed size for scissor rect should be width/height minus one too otherwise bad things may happen (as it is inclusive, and there's not enough bits for more than a value of 2047).
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
fa08b8ad549ef0ad0ee46f525f6f5dd0d6332f99 |
25-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Return -1 for glGetUniformLocation on UBOs. Fixes piglit ARB_uniform_buffer_object/getuniformlocation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
eed967bc9c27ff911c036b1363e5303bf6c7827f |
21-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for GL_ARB_ubo's glGetActiveUniformName(). This is like a stripped-down version of glGetActiveUniform that just returns the name, since the other return values (type and size) of that function are now meant to be handled with glGetActiveUniformsiv(). Fixes piglit ARB_uniform_buffer_object/getactiveuniformname Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
dc654370c39d6597b63ff469fc79aa1c22c079fe |
19-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for most of the other pnames of glGetActiveUniformBlockiv(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
5a165d1f3ae8eddb96c2d2026ac4a8f981733ac5 |
20-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for getting active uniform block names. Fixes piglit ARB_uniform_buffer_object/getactiveuniformblockname. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
467304dfe56bb4e3a66f500db5754500cc18955a |
19-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glUniformBlockBinding() and the API to get it back. Fixes piglit ARB_uniform_buffer_object/uniformbufferbinding. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
4070036259555a7791f1bc6a3a161c5a62500a21 |
14-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetProgramiv pnames for UBOs. Fixes piglit ARB_uniform_buffer_object/getprogramiv. v2: Add extension checks. v3: Appease MSVC. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/shaderapi.c
|
19bd5936af7278c0cce0728e8d6dec1a951eaf58 |
30-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats. Fixes some failures in getteximage-formats. v2: Remove stray include, and drop extra test for encoding == GL_SRGB -- _mesa_get_srgb_format_linear() returns the same format if it wasn't SRGB. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48120 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_wm_surface_state.c
|
d84b3a5a3c855e3f2ffc83bbbda9d615b04c0ad2 |
27-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Support glGetString(GL_SHADING_LANGUAGE_VERSION) for >= 1.40. This will need to get refactored when we add support for core profiles or forward-compatible contexts, but we may as well have it in the meantime. This allows us to override the GLSL version and experiment. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/getstring.c
|
591594ea1e5e9e5865b10b786509b9c3cec042a7 |
31-Jul-2012 |
Brian Paul <brianp@vmware.com> |
ir_to_mesa: make size_swizzles[] array static const
rogram/ir_to_mesa.cpp
|
27013e5164a1823d5bdcb5ca21ae4ca0df40b8f8 |
26-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Move installing osmesa.pc to drivers/osmesa Move installing osmesa.pc to drivers/osmesa, where it belongs better This also restores the installation of gl.pc if we are building osmesa at the same time as libGL, which was broken in commit 39785488 when the .pc installation was converted to automake v2: Remove HAVE_OSMESA_DRIVER automake conditional, it's now pointless as we will only be building in the drivers/osmesa directory if the condition it checked was true. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net>
akefile.am
rivers/osmesa/Makefile.am
rivers/osmesa/osmesa.pc.in
smesa.pc.in
|
3d0b54c7c6021becb3cae9245fc8f88a0f0f2be9 |
25-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: don't enable legacy GL functions when using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_exec.c
ain/api_exec.h
ain/context.c
ain/vtxfmt.c
|
1fea3df6f4455fd2047e631d4d3c85d3ff1029ae |
24-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
intel: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_extensions.c
|
0f099df5672a68cf165f550278831356c903515f |
24-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
meta: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
09714c09a40501d82823e42f7461d7b8d7bf11c0 |
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_validate.c
ain/context.c
ain/extensions.c
ain/fbobject.c
ain/get.c
ain/getstring.c
ain/texformat.c
ain/teximage.c
ain/varray.c
ain/version.c
ain/vtxfmt.c
|
3d284dcba6f692ce268c9a2178a30e7a308b2cfc |
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add api check functions These functions make it easier to check for multiple API types. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/context.h
|
1c29b73f4d9f633e32c03bebc8d505b321d833d9 |
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add API_OPENGL_CORE api Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
|
f56dfc32134d65599159f53215713bf372c51a13 |
09-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Support MESA_FORMAT_SIGNED_RGBA_16. The hardware supports this format with no known quirks, so we may as well enable it. Alpha blending is not supported until Sandybridge, but as far as I can tell, OpenGL doesn't require alpha blending on SNORM formats. Plus, we already expose R8G8B8A8_SNORM which has a similar restriction. Fixes 6 piglit texwrap-2D-*SNORM* cases, gl-3.1/required-sized-texture-formats, and 10 oglconform snorm-textures subcases Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_surface_state.c
|
b51be8786f681210ed865c46065770ba91bc7bcb |
30-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix _math_matrix_copy(), again The matrix is 16 GLfloats in size. Since from->inv is just a pointer (not an array), sizeof(*from->inv) wasn't right.
ath/m_matrix.c
|
502c10839e53e7f7e709c10927405d1b84961b80 |
30-Jul-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Fix wrong sizeof argument in _math_matrix_copy. Fixes Coverity wrong sizeof argument defect. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Brian Paul <brianp@vmware.com>
ath/m_matrix.c
|
5d5af7d359e0060fa00b90a8f04900b96f9058b0 |
25-Jul-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
gallium: specify resource_resolve destination via a pipe_surface The format member of pipe_surface may differ from that of the pipe_resource, which is used to communicate, for instance, whether sRGB encode should be enabled in the resolve operation or not. Fixes resolve to sRGB surfaces in mesa/st when GL_FRAMEBUFFER_SRGB is disabled. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_blit.c
|
51e41a0d894109249448ecc6a6bfc09e095acada |
20-Jul-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: call update_renderbuffer_surface for sRGB renderbuffers, too sRGBEnabled should affect both textures and renderbuffers, so we need to check/update the pipe_surface format for both. Fixes, for instance, rendering appearing too bright in wine applications using sRGB multisample renderbuffers. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_framebuffer.c
|
f612e55e45402c14b2099238e8d41e911932fd26 |
28-Jul-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: undo a couple static asserts Hmm, gcc didn't catch these mistakes, but MSVC did.
tate_tracker/st_atom_depth.c
|
322a2938f320f8a39cb6d86f249a339625a8772a |
27-Jul-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use STATIC_ASSERT in a few places
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_depth.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
59c67f81165fadd46c99cda5623397c798f015eb |
27-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace, etc. fixes in program.h
rogram/program.h
|
906febaf8bd37fffa4fc14c56eda1dd6e4b4dcda |
27-Jul-2012 |
Brian Paul <brianp@vmware.com> |
meta: fix glDrawPixels fallback test, stencil drawing Remove the check for pixel transfer ops. If any RGB/depth scale/bias is in effect, it'll be applied in the glTexImage step. If drawing stencil pixels we need to disable pixel transfer so that alpha scale/bias are not applied to the stencil data. These issues were spotted by Roland. Fixes Blender performance issues reported in http://bugs.freedesktop.org/show_bug.cgi?id=47375 NOTE: This is a candidate for the 8.0 branch. Tested-by: Barto <mister.freeman@laposte.net> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
rivers/common/meta.c
|
a80b7407f3724ddac96167d640a0f9a91d60ac5f |
27-Jul-2012 |
Brian Paul <brianp@vmware.com> |
radeon: fix 'sowftware' typo
rivers/dri/radeon/radeon_mipmap_tree.c
|
fbf86c7f0f1f12e52b927e3870535073879d0a4d |
27-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Reduce GT1 WM thread count according to updated BSpec. Acked-by: Kenneth Graunke <kenneth@whitecape.org> https://bugs.freedesktop.org/show_bug.cgi?id=52382
rivers/dri/i965/brw_context.c
|
cbcf750d5f2c4695c39766938b4cd9d8942d850b |
27-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix typo in shader channel select field name. "chanel" isn't very searchable. I can type, honest! Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_wm_surface_state.c
|
ee9f6a34ccf7f51111b21bba8d8f9d03cc0a2c74 |
26-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Use MESA_FORMAT_R8 for MCS buffer. No functional change. This patch modifies intel_miptree_alloc_mcs to allocate the 4x MCS buffer using MESA_FORMAT_R8 instead of MESA_FORMAT_A8. In principle it doesn't matter, since we only access the buffer using MCS-specific hardware mechanisms, so all that's important is to use a format with the correct size. However, MESA_FORMAT_A8 has enough unusual behaviours that it seems prudent to avoid it. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_mipmap_tree.c
|
588881430a3d328f2d99fbd5197d85dafc31209b |
27-Jul-2012 |
Zou Nan hai <nanhai.zou@intel.com> |
intel: increase wm thread number to 80 on gen6 GT2 It seems reset is not required for setting the max_wm_threads to 80 on gen6 GT2. Increases performance in the Counter-Strike: Source video stress test by 7.18% (n=5). Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Matt Turner <mattst88@gmail.com> Acked-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
|
4df2848786d4778a2ce7dbf2e046e191036ccb56 |
24-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: use ROUND_DOWN_TO macro. No functional change. This patch modifies brw_blorp_blit.cpp to use the ROUND_DOWN_TO macro instead of open-coded bit manipulations, for clarity. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
38184dcd54e77c8f9adc89d337a97afd630b2c07 |
26-Jul-2012 |
Brian Paul <brianp@vmware.com> |
radeon: fix Base/base typo Fixes http://bugs.freedesktop.org/show_bug.cgi?id=52563
rivers/dri/radeon/radeon_span.c
|
948c8f502a3b3144588a6e707b0ea60afa766ebb |
26-Jul-2012 |
Daniel Charles <daniel.charles@intel.com> |
android-build: fix dricore build for autogenerated files (v3) Recently more files were removed from control to be auto-generated in the dricore library. Android build was not able to locate the new files if they were not created beforehand. LOCAL_SRC_FILES includes some of those files and Android.gen.mk re-defines this variable by filtering out the auto-generated files. Unfortunately for this variable it is not the same to have the SRCDIR variable defined as the current directory. By re-defining SRCDIR for the autotools build the Android build system is happy again and the new files were actually removed from the sources to use the auto generated versions. Also patch d5c1801a018efda8ac2b was partially reverted as the files can not be compiled to the LOCAL_PATH, instead they should live on the intermediates folder so that a clean can wipe them out. v3: [chad] Fix the definition of SRCDIR in libdricore/Makefile.am. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Signed-off-by: Daniel Charles <daniel.charles@intel.com>
ndroid.gen.mk
ndroid.mk
akefile.am
ibdricore/Makefile.am
ources.mak
|
0e893b42610a2e8f2797bd7da68669dac38d9538 |
26-Jul-2012 |
Brian Paul <brianp@vmware.com> |
radeon: set swrast_renderbuffer::ColorType field when mapping renderbuffers Fixes http://bugs.freedesktop.org/show_bug.cgi?id=47375 NOTE: This is a candidate for the 8.0 branch. Tested-by: Barto <mister.freeman@laposte.net>
rivers/dri/radeon/radeon_span.c
|
a73e9207da188a65af50da279f1436566c4a8418 |
26-Jul-2012 |
Brian Paul <brianp@vmware.com> |
xlib: add X error handler around XGetImage() call XGetImage() will generate a BadMatch error if the source window isn't visible. When that happens, create a new XImage. Fixes piglit 'select' test failures with swrast/xlib driver. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/x11/xm_buffer.c
|
66adc807c496c0329bf298a59991565fa4bfb0e3 |
25-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete matrix comment
ath/m_matrix.c
|
1e37d54d9d323482b39bf888c09c9857a379bb1c |
25-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo: s/pointer/point/
ath/m_matrix.c
|
66d9ac5ac7896538d38f57950888a0184c933925 |
25-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove _math_matrix_alloc_inv() Always allocate space for the inverse matrix in _math_matrix_ctr() since we were always calling _math_matrix_alloc_inv() anyway. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/matrix.c
ath/m_matrix.c
ath/m_matrix.h
rogram/prog_statevars.c
|
50db8129152f3d5ea8db13d55f82673d53bf1b8f |
24-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: loosen small matrix determinant check When computing a matrix inverse, if the determinant is too small we could hit a divide by zero. There's a check to prevent this (we basically give up on computing the inverse and return the identity matrix.) This patch loosens this test to fix a lighting bug reported by Lars Henning Wendt. v2: use abs(det) to handle negative values NOTE: This is a candidate for the 8.0 branch. Tested-by: Lars Henning Wendt <lars.henning.wendt@gris.tu-darmstadt.de>
ath/m_matrix.c
|
148c8e639da7ee10fc9e002e3c6d60e17d218b21 |
19-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Use sendc for all render target writes on Gen6+. The sendc instruction causes the fragment shader thread to wait for any dependent threads (i.e. threads rendering to overlapping pixels) to complete before sending the message. We need to use sendc on the first render target write in order to guarantee that fragment shader outputs are written to the render target in the correct order. Previously, we only used the "sendc" instruction when writing to binding table index 0. This did the right thing for fragment shaders, because our fragment shader back-ends always issue their first render target write to binding table index 0. However, it did the wrong thing for blorp, which performs its render target writes to binding table index 1. A more robust solution is to use sendc for all render target writes. This should not produce any performance penalty, since after the first sendc, all of the dependent threads will have completed. For more information about sendc, see the Ivy Bridge PRM, Vol4 Part3 p218 (sendc - Conditional Send Message), and p54 (TDR Registers). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
8f37ea414fca66d03f6f4460d6b7730411abb2a2 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Remove TODO comments that are no longer relevant. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_blorp.cpp
|
c738ea1191cd1b5a0dc60b0e6d05fd918083e961 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Make more consistent use of _mesa_is_{user,winsys}_fbo() A lot of code was still differentiating between between winsys and user fbos by testing the fbo's name against zero. This converts everything in the i915 and 965 drivers over to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_tex_copy.c
|
284ad9c3b29a6d6f0bade050ea9e949d67967983 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Make more consistent use of _mesa_is_{user,winsys}_fbo() A lot of code was still differentiating between between winsys and user fbos by testing the fbo's name against zero. This converts everything in core mesa, the state tracker, and src/mesa/program over to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
ain/drawpix.c
ain/framebuffer.c
ain/readpix.c
rogram/prog_statevars.c
tate_tracker/st_cb_viewport.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
|
cc44aa77490e1360b099eb0b887266f434298b4f |
21-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Remove unused param conversion code. Ever since ctx->NativeIntegers was set, the conversion flag has been PARAM_NO_CONVERT. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_wm_state.c
|
f9089f40224b8680bd5cfc2cba509d2c709cf403 |
10-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Remove redundant osmesa shared library install from Makefile.old Since osmesa now has been converted to Makefile.am, an appropriate install: rule is generated to install the shared libary, so we no longer need to do that in src/mesa/Makefile.old This leaves nothing in src/mesa/Makefile.old but the tags: rule, so move that to Makefile.am and remove Makefile.old Also, nothing now uses OSMESA_LIB_GLOB anymore, so remove it Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
akefile.am
akefile.old
|
bd4a3cce968566b639d21a6463ffdbbac83e4274 |
12-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Update mesa/drivers/x11/Makefile.am for xm_image.h removal Commit 6c6803f28de0d4cb6937fcd95a47aa81da31fd78 removed xm_image.[ch], and removed xm_image.c, but not xm_image.h from the Makefile, this was subsequently carried over into Makefile.am Remove xm_image.h from Makfile.am. This allows 'make dist' to succeed, even if it doesn't do anything useful Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/Makefile.am
|
9f84d645a422a024b01ebcfc654c2909cdca91b5 |
07-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
drivers/osmesa: Link OSMesa using -no-undefined libtool flag "Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library on platforms require that all symbols are resolved when the library is linked." Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/osmesa/Makefile.am
|
50b13217ba13f569ef851fffcd920e756f255687 |
07-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
drivers/X11: Link X11 libGL with -no-undefined libtool flag "Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library on platforms require that all symbols are resolved when the library is linked." Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/Makefile.am
|
497bf5dd2b36c7d0c8ae23d2bf039c91b97140fc |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Switch on 8x MSAA for Gen7. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_fbo.c
|
728561271303baa6aaeb5bdd953e62b117feba4d |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Adjust MCS buffer allocation for 8x MSAA. MCS buffers use 32 bits per pixel in 8x MSAA, and 8 bits per pixel in 4x MSAA. This patch adjusts the format we use to allocate the buffer so that enough memory is set aside for 8x MSAA. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_mipmap_tree.c
|
304be9db1437b9c7cb4ea17f2a05aa50b6483dc9 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Remove assertion in 3DSTATE_SAMPLE_MASK to allow 8x MSAA. The code to emit 3DSTATE_SAMPLE_MASK was already correct for 8x MSAA--this patch just removes an assertion that would have prevented it from being used for 8x MSAA. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_multisample_state.c
|
2a9ab29ed9ff3a5e92ade4c44b4deaededc1c4bc |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Adjust 3DSTATE_MULTISAMPLE packet for 8x MSAA. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_multisample_state.c
|
7fae97c98bfa13bff0e9da857e86eefdb625584c |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Encode and decode IMS format for 8x MSAA correctly. This patch updates the blorp functions encode_msaa() and decode_msaa() to properly handle the encoding of IMS MSAA buffers when num_samples=8. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
619471dc322de80942f7dbb29a437890e48155c6 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Compute sample number correctly for 8x MSAA. When operating in persample dispatch mode, the blorp engine would previously assume that subspan N always represented sample N (this is correct assuming 4x MSAA and a 16-wide dispatch). In order to support 8x MSAA, we must compute which sample is associated with each subspan, using the "Starting Sample Pair Index" field in the thread payload. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
082874e3891e588f674508be6578f600b35852c4 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Properly adjust primitive size for 8x MSAA. When rendering to an IMS MSAA surface on Gen7, blorp sets up the rendering pipeline as though it were rendering to a single-sampled surface; accordingly it must adjust the size of the primitive it sends down the pipeline to account for the interleaving of samples in an IMS surface. This patch modifies the size adjustment code to properly handle 8x MSAA, which makes room for the extra samples by using an interleaving pattern that is twice as wide as 4x MSAA. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
17eae9762cdd6cfa69a060001e26113dfc0d7c86 |
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Parameterize manual_blend() by num_samples. This patch adds a num_samples argument to the blorp function manual_blend(), allowing it to be told how many samples need to be blended together. Previously it assumed 4x MSAA, since that was all we supported. We also bump up LOG2_MAX_BLEND_SAMPLES from 2 to 3, so that manual_blend() will be able to handle 8x MSAA. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
4afee38a2f2f9d0aedc02f1d7ba9b780914fce27 |
10-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Remove comment about falsely claiming to support MSAA. Gen6+ hardware now supports MSAA properly. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.c
|
ff9313fac70fa85d051dd4d2b9d3402d39f67cea |
13-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Handle DrawBuffers properly. When the client program uses glDrawBuffer() or glDrawBuffers() to select more than one color buffer for drawing into, and then performs a blit, we need to blit into every single enabled draw buffer. +2 oglconforms. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50407 Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
fa1d267beb4adb542ea90b805306599f602c38d2 |
13-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Rearrange order of blit validation and preparation steps. This patch rearranges the order of steps performed by a blorp blit from this: - Sync up state of window system buffers. - Find buffers. - Find miptrees. - Make sure buffer formats match. - Handle mirroring. - Make sure width and height match. - Handle clipping/scissoring. - Account for window system origin conventions. - Do depth resolves, if applicable. - Do the blit. - Record the need for a future HiZ resolve, if applicable. To this: - Sync up state of window system buffers. - Handle mirroring. - Make sure width and height match. - Handle clipping/scissoring. - Account for window system origin conventions. - Find buffers. - Make sure buffer formats match. - Find miptrees. - Do depth resolves, if applicable. - Do the blit. - Record the need for a future HiZ resolve, if applicable. The steps are the same, but they are now performed in an order that will make it possible to implement correct DrawBuffers support. Note that the last four steps are now in a separate function (do_blorp_blit), since they will need to be executed repeatedly when DrawBuffers support is added. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
eac4f1a70772c1480778bae2563199c12634893e |
13-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Don't fall back to swrast when miptrees absent. Previously, the blorp engine would fall back to swrast if the source or destination of a blit had no associated miptree. This was unnecessary, since _mesa_BlitFramebufferEXT() already takes care of making the blit silently succeed if there are no buffers bound, so the fallback paths could never actually happen in practice. Removing these fallback paths will simplify the implementation of correct DrawBuffers support in blorp. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
0dbec6ae07e7b3d566cc397ab09caa413e412846 |
14-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Fixup scissoring of blits to window system buffers. This patch modifies the order of operations in the blorp engine so that clipping and scissoring are performed before adjusting the coordinates to account for the difference in origin convention between window system buffers and framebuffer objects. Previously, we would do clipping and scissoring after adjusting for origin conventions, so we would get scissoring wrong in window system buffers. Fixes Piglit test "fbo-scissor-blit window". Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
da54d2e576426122009be083ecbfb9eefd8a3799 |
14-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Simplify check that src/dst width/height match. When checking that the source and destination dimensions match, we don't need to store the width and height in variables; doing so just risks confusion since right after the check, we do clipping and scissoring, which may alter the width and height. No functional change. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
bac43b8bb7ace5401a2cc0d92f416340344df1bd |
10-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Work around problems with null render targets on Gen6. On Gen6, multisampled null render targets don't seem to work properly--they cause the GPU to hang. So, as a workaround, we render into a dummy color buffer. Fortunately this situation (multisampled rendering without a color buffer) is rare, and we don't have to waste too much memory, because we can give the workaround buffer a very small pitch. Fixes piglit test "EXT_framebuffer_multisample/no-color {2,4} depth-computed *" on Gen6. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_surface_state.c
|
0aeb87023e64807734aee323e76f81796d525a36 |
13-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Set width, height, and tiling properly for null render targets. The HW docs say that the width and height of null render targets need to match the width and height of the corresponding depth and/or stencil buffers, and that they need to be marked as Y-tiled. Although leaving these values at 0 doesn't seem to cause any ill effects, it seems wise to follow the documented requirements. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
691c55f3560e5b8b9db9ecd2c089f13b41ec684f |
10-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Control multisampling behaviour via the visual. Previously, we used the number of samples in draw buffer 0 to determine whether to set up the 3D pipeline for multisampling. Using the visual is cleaner, and has the benefit of working properly when there is no color buffer. Fixes all piglit tests "EXT_framebuffer_multisample/no-color" on Gen7. On Gen6, the "depth-computed" variants of these tests still fail; this will be addresed in a later patch. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_multisample_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
|
48fdfbcb58929f1c20cb21190846faa388b1abba |
10-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
msaa: Compute visual samples/sampleBuffers from all buffers. This patch ensures that Visual.samples and Visual.sampleBuffers are set correctly even in the case where there is no color buffer. Previously, these values would retain their default value of 0 in this circumstance, even if the depth or stencil buffer was multisampled. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
ain/framebuffer.c
|
f35e380dd240b418e17a179af73bbab74ceea784 |
24-Jul-2012 |
Anthony G. Basile <blueness@gentoo.org> |
Fix compile time errors when building against uclibc Mesa misses a few checks when compiling on a uclibc system which cause it to fall back on glibc-ism. This patch addresses those issues. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
ain/imports.c
|
881bb4ac7285c462079844072fc1d0b26e340b12 |
17-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
intel: move error on create context to proper path The error was being set on the non-error path, rather than the error path. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_screen.c
|
01168df4d999f84105928d69fdd3eeed6baeeab4 |
17-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa context: generate an error for uninstalled context functions For 'non-legacy' contexts we will want to generate an error if an uninstalled function is called. The effect of this change will be that we can avoid installing legacy functions, and they will then generate an error as needed for deprecated functions in GL >= 3.1. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/context.c
|
1f9239ec8d67c3e8ee64e6f5306499b6d97ea136 |
24-Jul-2012 |
Brian Paul <brianp@vmware.com> |
nouveau: include glformats.h to get missing prototype Fixes http://bugs.freedesktop.org/show_bug.cgi?id=52449
rivers/dri/nouveau/nouveau_vbo_t.c
|
a271a0c9f66bdc88a4635a7aecb6606f78871846 |
24-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: improve comment in build_tnl_program()
ain/ffvertex_prog.c
|
7e18a039ee7a402bac4882ae793824d6523061fa |
22-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_error_check_format_and_type() to glformats.c Now all the format/type-related helper functions are in glformats.c and image.c is just image-related functions.
ain/glformats.c
ain/glformats.h
ain/image.c
ain/image.h
|
a1287f549a3e6527b8cf3bf5b5f563ba63c6f48c |
22-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move more format helper functions to glformats.c
ain/arrayobj.h
ain/dlist.c
ain/fbobject.c
ain/glformats.c
ain/glformats.h
ain/image.c
ain/image.h
ain/mipmap.c
ain/pbo.c
ain/texparam.c
tate_tracker/st_atom_array.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
8b762ebd72c1bb1a9827a667ad55ba9516505adf |
22-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move some format helper functions to glformats.c
rivers/common/meta.c
rivers/dri/intel/intel_mipmap_tree.c
ain/glformats.c
ain/glformats.h
ain/image.c
ain/image.h
ain/texgetimage.c
tate_tracker/st_format.c
|
27382c0f7ba2ae826531ba4c254741b2a9df1882 |
16-Jul-2012 |
Brad King <brad.king@kitware.com> |
automake: Honor GL_LIB for mangled/custom lib names Commit 2d4b77c7 (automake: Convert src/mesa/drivers/x11/Makefile to automake, 2012-06-12) dropped the old Makefile, which used GL_LIB, and replaced it with a Makefile.am hard-coding the name "GL". This broke handling of --enable-mangling and --with-gl-lib-name options which depend on GL_LIB to specify the GL library name. Use "@GL_LIB@" in src/mesa/drivers/x11/Makefile.am to configure the library name. Also use this approach to simplify src/glx/Makefile.am and drop the HAVE_MANGLED_GL conditional. While at it, fix the compatibility link we create in "lib" for the software-only driver to use version GL_MAJOR instead of hard-coding "1". Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
rivers/x11/Makefile.am
|
82fc813ca870c4002502e098519bead7bec1a7e8 |
23-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix DDY opcode for FBOs This fixes piglit/fbo-deriv. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
f40b5723f017bfb9e3819a5463184627ee727cc1 |
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set the centroid qualifier in fragment shader inputs This fixes some centroid tests in the EXT_framebuffer_multisample piglit group. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
tate_tracker/st_program.c
|
162b3ad94d52b28d83462202952987012387e12f |
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: flush the glBitmap cache before changing framebuffer state This fixes the piglit EXT_framebuffer_multisample/bitmap tests. Note that we must not rely on ctx->DrawBuffer when flushing the cache, because that's already updated with a new framebuffer. We want to draw into the old framebuffer where glBitmap was called. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.h
|
07b9b3c37b33e4994ff71930aed77821e758f0c9 |
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set the correct window renderbuffer internal format The multisample-resolve blit relies on this being correct. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
592722757648efc723663d6c9dbe874c7475e95c |
21-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix format checking when doing a multisample resolve v2: make it more bullet-proof Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
c3bc41011f9ffe648b7dd4915c6202b776cd1ab4 |
19-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Prevent repeated glDeleteShader() from blowing away our refcounts. Calling glDeleteShader() should mark shaders as pending for deletion, but shouldn't decrement the refcount every time. Otherwise, repeated glDeleteShader() is not safe. This is particularly bad since glDeleteProgram() frees shaders: if you first call glDeleteShader() on the shaders attached to the program (thus decrementing the refcount), then called glDeleteProgram(), it would try to free them again (decrementing the refcount another time), causing a refcount > 0 assertion to fail. Similar to commit d950a778. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/shaderapi.c
|
cfdf60f236a525a0309146ce2da156bd3856c8b7 |
21-Jul-2012 |
Matt Turner <mattst88@gmail.com> |
imports.h: Correct ceilf typo. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/imports.h
|
f96405f254819238ef6bce8e7341fcc7d00eaf85 |
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove st_flush_bitmap wrapper just a cleanup
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_flush.c
|
749c9060aca85277c388377d15fd6323ba20b78e |
09-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa formats: add MESA_FORMAT_ABGR2101010_UINT Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_pack.c
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/texformat.c
ain/texstore.c
wrast/s_texfetch.c
|
1c8812c244d74dd562a3db7c9226405bd6333735 |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa formats: unpack ARGB8888/XRGB8888 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
8c265cf5ef47ac8ae8565456d8ac023d6c847d57 |
20-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa pack: use _mesa_problem instead of assert If the pack type is not supported, use _mesa_problem rather than asserting. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
ain/pack_tmp.h
|
9ad8f431b2a47060bf05517246ab0fa8d249c800 |
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add glformats integer type/format detection routines _mesa_is_integer_format is moved to formats.c and renamed as _mesa_is_enum_format_integer. _mesa_is_format_unsigned, _mesa_is_type_integer, _mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer are added. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Conscript
ain/drawpix.c
ain/formats.c
ain/formats.h
ain/glformats.c
ain/glformats.h
ain/image.c
ain/image.h
ain/pack.c
ain/readpix.c
ain/teximage.c
ources.mak
tate_tracker/st_cb_drawpixels.c
|
d24cf88a1a68591397d27efb209a7b8381911ce2 |
20-Jul-2012 |
Matt Turner <mattst88@gmail.com> |
Remove unused _mesa_memset16 Unused since commit fd104a845. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/imports.c
ain/imports.h
|
f58ba6ca9147137c7a2d31a1014235f7077b7752 |
20-Jul-2012 |
Matt Turner <mattst88@gmail.com> |
Remove _mesa_inv_sqrtf in favor of 1/SQRTF Except for a couple of explicit uses, _mesa_inv_sqrtf was disabled since its addition in 2003 (see f9b1e524). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/imports.c
ain/imports.h
nl/t_rasterpos.c
nl/t_vb_texgen.c
|
948b1c541f32b12e8264b1eeb79ccbb696661f54 |
20-Jul-2012 |
Matt Turner <mattst88@gmail.com> |
Remove _mesa_sqrt* in favor of plain sqrt Temporarily disabled since 2003 (see 386578c5b). This saves us from calling sqrt() 128 times to generate the sqrttab in one_time_init(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
ain/imports.c
ain/imports.h
|
ec79138138c3c88afb2052823b1e3f5271493085 |
20-Jul-2012 |
Matt Turner <mattst88@gmail.com> |
Use INV_SQRT instead of 1/SQRTF Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ath/m_debug_norm.c
nl/t_vb_points.c
|
735070c45b403a9631415b09e9fd519f601f0229 |
21-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i830: Fix stack corruption Found by compiler warning: i830_texstate.c:131:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(state, 0, sizeof(state)); ~~~~~ ^~~~~ On 64-bit systems, memset here would write an extra 4 bytes. Note: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i915/i830_texstate.c
|
1a8f6ac5a46dfbb8287ee2bacdd11c3a1a3a65c7 |
21-Jul-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa: disable MSVC global optimization in pack.c To reduce excessive compilation time in release mode. NOTE: This is a candidate for the 8.0 branch. Tested-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
9fd4e9e9e6d2ed4dc24bd5eeb4f45d414ad1eacc |
20-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace fixes in pbo.c
ain/pbo.c
|
ac14f569fef6a8d92c14cd02d51c09bab53c5e45 |
19-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: update texstore.c comment
ain/texstore.c
|
b2a44cde6468fb6065169194fe3a67b2f4738b71 |
19-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Increase the WM threads to hardware limits. This thread count is only supposed to be enabled when "WIZ Hashing Disable in GT_MODE register enabled." I've always been confused whether that means the bit in the register should be 1 or 0. For my IVB GT2's register 0x7008 value of 0x0, this appears to work fine. Improves l4d2 performance at 640x480 by 0.88 +/- 0.11% (n=88). Improves performance with rasterization at 1280x1024 by 1.45% +/- 0.36% (n=6). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
548bce473367a53f45275356f8d5b9e7d98be5ce |
01-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Implement the UBO-specific pnames of glGetActiveUniformsiv. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniform_query.cpp
|
ddc88fbf510ee8ba35b974cc21c595e96d115cc8 |
01-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add implementation of glGetUniformBlockIndex(). Now that we finally have a list of uniform blocks in the linked shader program, we can tell what their indices are. Fixes piglit GL_ARB_uniform_buffer_object/getuniformblockindex. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
9f1a4a6340824786142be9bc14f0c3418f14a69f |
28-Apr-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetActiveUniformsiv on non-UBO pnames. We'll need to propagate the UBO fields to the uniform storage records before we can handle the other pnames. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
|
acfbdfcbc8263cc0ace3468457a209dd80da017e |
28-Apr-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetUniformIndices(). This is a single entrypoint that maps from a series of names to the indices of those names within the active uniforms list. Each index is like glGetUniformLocation()'s return value, except that it doesn't encode an array offset. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
abcdbdf9cce3c7520ee999fac3099d609960847d |
25-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Move the _mesa_uniform_merge_location_offset to glGetUniformLocation(). With the upcoming GL_ARB_uniform_buffer_object changes, the only other caller that will want the cooked value is state_tracker. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
tate_tracker/st_glsl_to_tgsi.cpp
|
f609cf782ab5e90ddf045dc4b0da8cebf99be0d1 |
27-Apr-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Merge the lists of uniform blocks into the linked shader program. This attempts error-checking, but the layout isn't done yet. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
rogram/ir_to_mesa.cpp
|
b3c093c79c2ec49c36af37aa290d5ae452149f6e |
27-Apr-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Translate the AST for uniform blocks into some IR structures. We're going to need this structure to cross-validate the uniform blocks between shader stages, since unused ir_variables might get dropped. It's also the place we store the RowMajor qualifier, which is not part of the GLSL type (since that would cause a bunch of type equality checks to fail). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
|
60c3e69dbf297426c42e4b8f94c5f0493bd9be5f |
09-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Use IMS layout when texturing from depth/stencil surfaces. Previously, on Gen7, when texturing from a depth or stencil surface, the blorp engine would configure the 3D pipeline as though the input surface was non-multisampled, and perform the necessary coordinate transformations in the fragment shader to account for the IMS layout. This meant outputting a lot of extra fragment shader code, and it raised some uncertainty about how to deal with very large surfaces. This patch modifies blorp to configure the 3D pipeline properly for IMS layout when reading from depth and stencil surfaces. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
0dd5e98aa5c146ef21ab44b34fb7714206d5ec08 |
09-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Loosen assertions in compute_msaa_layout_for_pipeline. Previously, on Gen7, compute_msaa_layout_for_pipeline() would verify that IMS layout is not used. However, now that we configure SURFACE_STATE correctly for IMS surfaces, IMS layout is available. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
989218b9801f0afd0cbadce19a5719b0aa0deb70 |
09-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Configure SURFACE_STATE correctly for IMS surfaces. This patch modifies gen7_set_surface_num_multisamples() to set up the SURFACE_STATE appropriately for texturing from IMS format MSAA surfaces (which are only used on Gen7 for depth and stencil buffers). Since the function now sets more than just the number of multisamples, it's been renamed to gen7_set_surface_msaa(). This will make it possible to remove some kludginess from the blorp engine. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_wm_surface_state.c
|
f91b4d92b97664e6354f66138705e93bec363ba0 |
09-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Optimize manual_blend() for compressed multisampled surfaces. When downsampling a compressed multisampled surface, we can take a shortcut to downsample any pixels that were completely covered by a single primitive. In this case, the first color value we fetch is the correct final color for the downsampled pixel, so we can skip the rest of the blending operation. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
e5d983267a98bf9f73f0ea981eaca339b975a8db |
07-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Fix integer downsampling on Gen7. When downsampling an integer-format buffer on Gen7, we need to use the "avg" instruction rather than the "add" instruction, to ensure that we don't overflow the range of 32-bit integers. Also, we need to use the proper register type (BRW_REGISTER_TYPE_D or BRW_REGISTER_TYPE_UD) for intermediate color data and for writing to the render target. Note: this patch causes blorp to use the proper register type for all operations (downsampling, upsampling, and ordinary blits). Strictly speaking, this is only necessary for downsampling, because the other operations exclusively use MOV instructions on the color data. But it's simpler to use the proper register type in all cases. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
|
b961d37e613b8b14927c42e09d16d09d70ebcb77 |
07-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Modify manual_blend() to avoid unnecessary loss of precision. When downsampling from an MSAA image to a single-sampled image, it is inevitable that some loss of numerical precision will occur, since we have to use 32-bit floating point registers to hold the intermediate results while blending. However, it seems reasonable to expect that when all samples corresponding to a given pixel have the exact same color value, there will be no loss of precision. Previously, we averaged samples as follows: blend = (((sample[0] + sample[1]) + sample[2]) + sample[3]) / 4 This had the potential to lose numerical precision when all samples have the same color value, since ((sample[0] + sample[1]) + sample[2]) may not be precisely representable as a 32-bit float, even if the individual samples are. This patch changes the formula to: blend = ((sample[0] + sample[1]) + (sample[2] + sample[3])) / 4 This avoids any loss of precision in the event that all samples are the same, by ensuring that each addition operation adds two equal values. As a side benefit, this puts the formula in the form we will need in order to implement correct blending of integer formats. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
6a27506181b29c8b7eda7bd6cf80689f849e181d |
07-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Add support for AVG instruction. From the Ivy Bridge PRM, Vol4 Part3 p152: "The avg instruction performs component-wise integer average of src0 and src1 and stores the results in dst. An integer average uses integer upward rounding. It is equivalent to increment one to the addition of src0 and src1 and then apply an arithmetic right shift to this intermediate value." Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
9544e44262651a51ffdb3a572f99f902807a6205 |
19-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Replace fs_visitor::kill_emitted with gl_fragment_program::UsesKill. The kill_emitted variable was duplicating the functionality of gl_fragment_program::UsesKill. There's no need for both. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
0f1f2ff8db8c19be27b9f51f07134091e109e4b2 |
19-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Set gl_fragment_program::UsesKill in do_set_program_inouts. Previously, the code for setting this flag for GLSL programs was duplicated in three places: brw_link_shader(), glsl_to_tgsi_visitor, and ir_to_mesa_visitor. In addition to the unnecessary duplication, there was a performance problem on i965: brw_link_shader() set the flag before doing its final round of optimizations, which meant that if the optimizations managed to eliminate all the discard operations, the flag would still be set, resulting (at least in theory) in slower performance. This patch consolidates all of the code that sets UsesKill for GLSL programs into do_set_program_inouts(), which already is doing a similar job for UsesDFdy, and which occurs after i965's final round of optimizations. Non-GLSL programs (ARB programs and the state tracker's glBitmap program) are unaffected. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_shader.cpp
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
d08fdacd58dfa6b1926e9df4707dd9e8dd5370c5 |
20-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Avoid unnecessary recompiles for shaders that don't use dFdy(). The i965 back-end needs to compile dFdy() differently for FBOs and window system framebuffers, because Y coordinates are flipped between the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs). This patch avoids unnecessarily recompiling shaders that don't use dFdy(), by only setting render_to_fbo in the wm program key if the shader actually uses dFdy(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_emit.c
|
a0f7b869592013b24a5bacf0ceb2bdb1e9146378 |
20-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Set UsesDFdy appropriately for assembly programs. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/arbprogparse.c
rogram/program_parse.y
rogram/program_parser.h
|
5e310e9f8300a357d6bdaf098c72098518b564f3 |
20-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add UsesDFdy to struct gl_fragment_program. The i965 back-end needs to compile dFdy() differently for FBOs and window system framebuffers, because Y coordinates are flipped between the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs). This boolean will allow it to avoid unnecessarily recompiling shaders that don't use dFdy(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
rogram/program.c
|
658a63e5d9777e4cf67e0a72848944bc11533cf8 |
19-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
drirc: Add disable_blend_func_extended workaround for Unigine OilRush. The previous commit implemented the workaround, cited a bug report about OilRush, but actually only enabled the workaround for the demos. Turn it on for OilRush too. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50291 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/drirc
|
040894391a2cf85035c6ad85f3f85c6efb23324b |
18-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add a driconf option to disable GL_ARB_blend_func_extended. Unigine Heaven (at least) has a bug where it incorrectly uses the GL_ARB_blend_func_extended extension. Dual source blending allows two color outputs per render target; individual shader outputs can be assigned to be either the first or second blending input by setting the 'index' via one of two methods: - An API call: glBindFragDataLocationIndexed() - The GLSL 'layout' qualifier provided by GL_ARB_explicit_attrib_location Both of these only work on user defined fragment shader outputs; it's an error to use either on built-in outputs like gl_FragData. Unigine uses gl_FragData and gl_FragColor exclusively, and doesn't even attempt to use either method to set index == 1. However, it does set the blending function to SRC1 enums, which requires a fragment shader output with index == 1 or else rendering is undefined. In other words, enabling ARB_blend_func_extended causes Unigine to render incorrectly, resulting in an apparent regression, even though our driver code (as far as I can tell) is perfectly fine. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50291 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/common/drirc
rivers/dri/common/xmlpool/options.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_screen.c
|
768be75c44a5ce2d11306ad5eb838f0e6a614c19 |
18-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove stale comment
ain/ffvertex_prog.c
|
e4f8d33aea7e0112dfbf3a38fdc36d11b2e7be10 |
18-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_program cast wrappers In a few cases, remove unneeded casts. And fix a few other const-correctness issues. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/arbprogram.c
ain/ffvertex_prog.c
ain/nvprogram.c
ain/shared.c
ain/state.c
rogram/program.c
|
1170b5aa9f8394fefcbab759c09d26293ba4b0ee |
18-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add some gl_program cast wrappers Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/program.h
|
a40c1f95229915214be061fbbf9a02e5225fbf01 |
07-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Make register spill/unspill only do the regs for that instruction. Previously, if we were spilling the result of a texture call, we would store all 4 regs, then for each use of one of those regs as the source of an instruction, we would unspill all 4 regs even though only one was needed. In both lightsmark and l4d2 with my current graphics config, the shaders that produce spilling do so on split GRFs, so this doesn't help them out. However, in a capture of the l4d2 shaders with a different snapshot and playing the game instead of using a demo, it reduced one shader from 2817 instructions to 2179, due to choosing a now-cheaper texture result to spill instead of piles of texcoords. v2: Fix comment noted by Ken, and fix the if condition associated with it for the current state of what constitutes a partial write of the destination. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
a454f8ec6df9334df42249be910cc2d57d913bff |
07-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs.h: Refactor tests for instructions modifying a register. There's one instance of a potential behavior change: propagate_constants may now propagate into a part of a vgrf after a different part of it was overwritten by a send that returns multiple registers. I don't think we ever generate IR that meets that condition, but it's something to note if we bisect behavior change to this. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_copy_propagation.cpp
rivers/dri/i965/brw_fs_cse.cpp
|
fc01376c50c15938f3b78431023ca3281304663d |
06-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Replace usage is_tex() with regs_written() checks. In these places, we care about any sort of send that hits more than one reg, not just textures. We don't yet have anything else returning more than one reg, so there's no change. v2: Use mlen instead of is_tex() for the is-it-a-send check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
a6411520b40d59a8806289c7aaea4a6b26a54443 |
06-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Rename virtual_grf_next to virtual_grf_count. "count" is a more useful name, since most of the time we're using it for looping over the variables. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_live_variables.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
40cd60a315542f1b1f35ebab836b52716c131d6c |
07-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Move a block out of a loop in live variables setup. This was accidentally copy-and-pasted inside. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_live_variables.cpp
|
cd5cd85a43dc43f62274be72d3252503dfc88bab |
18-Jul-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
i965/msaa: Disable alpha-to-{coverage, one} when drawbuffer zero is in integer format OpenGL specification 3.3 (page 196), section 4.1.3 says: If drawbuffer zero is not NONE and the buffer it references has an integer format, the SAMPLE_ALPHA_TO_COVERAGE and SAMPLE_ALPHA_TO_ONE operations are skipped." This should work properly even if there are other draw buffers that are not in integer format. This patch makes following piglit tests pass on mesa: int-draw-buffers-alpha-to-coverage int-draw-buffers-alpha-to-one Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/gen6_cc.c
|
e9b908b014be57cd2d3f0432adf16ac5b9631325 |
16-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
msaa: Generate proper error for operations prohibited on MSAA buffers. From the GL 3.0 spec, section 4.3.3, in the documentation for CopyPixels(): "An INVALID_OPERATION error will be generated if the object bound to READ_FRAMEBUFFER_BINDING is framebuffer complete and the value of SAMPLE_BUFFERS is greater than zero." The same applies to CopyTexImage...() and CopyTexSubImage...() functions, since they are defined in terms of CopyPixels(). Previously we were generating an INVALID_FRAMEBUFFER_OPERATION error in these cases. Fixes piglit tests "EXT_framebuffer_multisample/negative-{copypixels,copyteximage}". Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/drawpix.c
ain/teximage.c
|
fadc9eaf97c0916d5680c1d3b47e80532ede22c1 |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Add a comment explaining why we early return on matching BO names. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
|
2b311fd8024ab20065568236bdc60b9f69706d4c |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop other checks for old loader version. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
|
1b4374d364f877d1b7d01e1231adeee2e0f63a4d |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Replace the non-getBuffersWithFormat compat path with an error message. It's been broken (using NULL getBuffersWithFormat() instead of getBuffers()) due to a copy and paste error for a year now. GetBuffersWithFormat has been around since 2009, so I don't feel any guilt in not supporting it. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
9bbf7c139bb02fe9fc3822bf2ca9ac5963d0d5af |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead intel_framebuffer_has_hiz(). Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
bce58e155db7202a98642c10e6132dee4e08162b |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Convert to using private depth/stencil buffers (v2) This means that GLX buffer sharing of these no longer works. On the other hand, just *look* at this code reduction. v2: - [chad] Fix intelCreateBuffer for gen < 6. When the branch for !screen->hw_has_separate_stencil was taken, intel_create_private_renderbuffer was incorrectly not used. - [chad] Remove all code in intel_process_dri2_buffer for processing depth, stencil, and hiz buffers. That code is now dead. CC: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
433ff3e16e8e090fd3a1bf427e61f3e5971a5740 |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Add a function for creating a private window system buffer. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
aa0becdbb6368af20c8348fb2353ee31f4b14a8c |
17-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: include inttypes.h to get uint8_t type To fix MSVC build.
ain/texcompress_etc.h
|
d80fd04639a6e378c6e13c8ffaa91d43decf58a8 |
16-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Fix building mesa with assembly enabled since a112ca5d a112ca5d rather crassly smashed all the compiler flags together into AM_CFLAGS. Separate them out the way they were before, putting pre-processor flags into AM_CPPFLAGS, so assembly source gets preprocessed with the correct pre-processor flags as well. Also, remove unneeded CFLAGS from AM_CFLAGS, and CXXFLAGS from AM_CXXFLAGS Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Tested-by: Brian Paul <brianp@vmware.com>
akefile.am
|
8dc074cd92dfc2f80f6c69f80f0d169ad5bb10aa |
16-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix build broken by ETC1 patch I suck at resolving merge conflicts and broke the build in a5a34b1. This patch adds the missing field intel_mipmap_tree::wraps_etc1. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.h
|
a5a34b153d494ad4374e7b2c8ea13b1073a887e2 |
19-Jun-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Enable GL_OES_compressed_ETC1_RGB8_texture Enable it for all hardware. No current hardware supports ETC1, so this patch implements it by translating the ETC1 data to RGBX data during the call to glCompressedTexImage2D(). For details, see the doxygen for intel_mipmap_tree::wraps_etc1. Passes the Piglit test spec/OES_compressed_ETC1_RGB8_texture/miptree and the ETC1 test in the GLES2 conformance suite. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
8ec721264c7ae0f73a520362963b2691bf098b9b |
11-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Add function for decoding ETC1 textures Add function _mesa_etc1_unpack_rgba8888. It is intended to be used by glCompressedTexSubImage2D to decode ETC1 textures into RGBA. CC: Chia-I <olv@lunarg.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/texcompress_etc.c
ain/texcompress_etc.h
|
d7458e401e97aea882309855cc72730aa3b39920 |
11-Jul-2012 |
Chad Versace <chad.versace@linux.intel.com> |
gallium/util, mesa: Refactor etc1 unpack function Move the body of util_etc1_rgb8_unpack_rgba_unorm8 into a new function that can be shared between gallium and dri drivers, texcompress_etc_tmp.h:etc1_unpack_rgba8888. CC: Chia-I <olv@lunarg.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/texcompress_etc_tmp.h
|
44f066b9ffb7749e872c9cc44ab4d6e2973c2372 |
13-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
gbm: Add new gbm_bo_import entry point This generalizes and replaces gbm_bo_create_for_egl_image. gbm_bo_import will create a gbm_bo from either an EGLImage or a struct wl_buffer.
rivers/dri/intel/intel_screen.c
|
636646a481ef6ce29e74e4604125a42def3ed1e5 |
16-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Don't call _mesa_get_format_bytes for MESA_FORMAT_NONE When we don't intend to texture from or render to a __DRIimage we use __DRI_IMAGE_FORMAT_NONE. In that case, we just create the __DRIimage to reference the underlying buffer, and will create usable __DRIimages from it using createSubImage later. If we try to use _mesa_get_format_bytes() on MESA_FORMAT_NONE in a debug build, we hit an assertion, so let's not do that.
rivers/dri/intel/intel_screen.c
|
b3ba0a7afa6311e12852fb1373452e480f89ea96 |
12-Jul-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Generates TGSI that always recognizes INSTANCEID/VERTEXID as integers. Tested by running piglit draw-instanced, and by forcing llvmpipe advertise no native integer support, which now produces: VERT DCL IN[0] DCL SV[0], INSTANCEID DCL OUT[0], POSITION DCL OUT[1], COLOR DCL CONST[0..19] DCL TEMP[0], LOCAL DCL TEMP[1], LOCAL DCL TEMP[2], LOCAL DCL ADDR[0] 0: U2F TEMP[0].x, SV[0] 1: ARL ADDR[0].x, TEMP[0].xxxx 2: MOV TEMP[1].xy, CONST[ADDR[0].x+8].xyxx 3: ADD TEMP[2].x, IN[0].xxxx, TEMP[1].xxxx 4: ADD TEMP[1].x, IN[0].yyyy, TEMP[1].yyyy 5: MUL TEMP[2], CONST[16], TEMP[2].xxxx 6: MAD TEMP[2], CONST[17], TEMP[1].xxxx, TEMP[2] 7: MAD TEMP[2], CONST[18], IN[0].zzzz, TEMP[2] 8: MAD TEMP[2], CONST[19], IN[0].wwww, TEMP[2] 9: ARL ADDR[0].x, TEMP[0].xxxx 10: MOV TEMP[1], CONST[ADDR[0].x] 11: MOV OUT[0], TEMP[2] 12: MOV OUT[1], TEMP[1] 13: END
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
|
99728076ec1a8bd3feb0f23e41198d8d5e56d0c9 |
09-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Don't explicitly link libOsmesa with libmesa's dependency libglsl The libmesa convenience library is linked with the libglsl convenience library. libOsmesa is linked with libmesa, and also directly with libglsl. When using libtool, this gives rise to duplicate symbol errors. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
rivers/osmesa/Makefile.am
|
b2a37e242ea60fde6d616814a30b89325875d0df |
29-Jun-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
automake: convert libglapi * "configure substitutions are not allowed in _SOURCES variables" in automake, so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS to choose which asm sources are used * Change GLAPI_LIB to point to the .la file in other Makefile.am files, and make a link to the .a file for the convenience of other Makefiles which have not yet been converted to automake v2: - Use AM_CPPFLAGS for cleaner build output - EXTRA_SOURCES is not needed - Remove libglapi.a compatibility link on clean Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
rivers/osmesa/Makefile.am
rivers/x11/Makefile.am
|
a112ca5d5f8504310bf157d440c859676aae7753 |
07-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
automake: convert libmesa and libmesagallium * "configure substitutions are not allowed in _SOURCES variables" in automake, so instead of MESA_ASM_FILES, use some AM_CONDITIONALS to choose which architecture's asm sources are used in libmesa_la_SOURCES. (Can't remove MESA_ASM_FILES autoconf variable as it's still used in sources.mak) * Update to link with the .la file in other Makefile.am files, and make a link to the .a file for the convenience of other Makefiles which have not yet been converted to automake v2: Remove stray -static from LDFLAGS v3: Remove .a compatibility link on clean Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
akefile.am
akefile.old
rivers/osmesa/Makefile.am
rivers/x11/Makefile.am
ain/tests/Makefile.am
|
8676890018a94b475dd0bb7389f3b77f37e36fdb |
07-Jul-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Rename sparc/clip.S -> sparc/sparc_clip.S Automake can't handle having both clip.S and clip.c, even though they have different paths "src/mesa/Makefile.am: object `clip.lo' created by `$(SRCDIR)/sparc/clip.S' and `$(SRCDIR)/main/clip.c'" Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
Conscript
ources.mak
parc/clip.S
parc/sparc_clip.S
|
68e04cc6014bf7a2c9bd0b3b783b4ec12aa2e824 |
29-Jun-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
automake: convert libglsl v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES v3: - Fix an accidental // in a path - Use automake make rules for lex/yacc rather than writing our own - Update .gitignore appropriately - Build a libglcpp convenience library rather than awkwardly including the files in libglsl and delegating the generation - Remove libglsl.a compatibility link on clean v4: - Automake's rules for lex/yacc make .cc if source is .ll or .yy, and apparently we must use those extensions "because of scons", so update everywhere glsl_parser.cpp -> glsl_parser.cc and glsl_lexer.cpp -> glsl_lexer.cc. This fixes 'make tarballs' and building with dricore enabled. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
rivers/osmesa/Makefile.am
|
284325d97b3049e59e64daf784e2b3858f0ffcf5 |
24-Jun-2012 |
Laurent Carlier <lordheavym@gmail.com> |
automake: convert libOSmesa This also currently fix the installation of libOSmesa. v2: Remove old Makefile, libOSmesa is now versioned, fix typos v3: Keep config substitution alphabetized v4: Update .gitignore v5: Libraries will be in the builddir, not the srcdir. Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
rivers/osmesa/.gitignore
rivers/osmesa/Makefile
rivers/osmesa/Makefile.am
|
1a06e8454ec714e950bc88882cd985534a18bf1f |
12-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility This was not implemented, because the spec was changed just recently. Everything has been in place already. Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
ain/image.c
ain/texformat.c
ain/teximage.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
|
fe911c1d433c6fddc8f1e1226286b26d635d6ad4 |
16-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Move loop over texture units into brw_populate_sampler_prog_key. The whole reason I avoided this was because it might operate on a brw_vertex_program or a brw_fragment_program. However, that isn't a problem: all we need is the gl_program base type. This avoids awkwardly passing the loop counter 'i' as a parameter, simplifies both callers, and also plumbs prog in place for future use. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_program.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
86e401b771ce4a6f9a728f76c5061c339f012d0a |
12-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Always emit alpha when nr_color_buffers == 0. If alpha-testing is enabled, we need to send alpha down the pipeline even if nr_color_buffers == 0. However, tracking whether alpha-testing is enabled in the WM program key is expensive: it causes us to compile multiple specializations of the same shader, using program cache space. This patch removes the check for alpha-testing, and simply emits alpha whenever nr_color_buffers == 0. We believe this will also be necessary for alpha-to-coverage, and it should add minimal overhead to an uncommon case. Saving the recompiles should more than make up the difference. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
16060531baa837304eb7a427d0cdbeccd95cf09a |
03-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use the blitter in intel_bufferobj_subdata for busy BOs on Gen6+. Previously we only did this pre-Gen6, and used pwrite on Gen6+. In one workload, this cuts significant amount of overhead. v2: Simplify the function based on Eric's suggestions. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
b546aebae922214dced54c75e6f64830aabd5d1c |
10-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Delete previous workaround for textureGrad with shadow samplers. It had many problems: - The shadow comparison was done post-filtering. - It required state-dependent recompiles whenever the comparison function changed. - It didn't even work: many cases hit assertion failures. - I never implemented it for the VS. The new lowering pass which converts textureGrad to textureLod by computing the LOD value works much better. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_program.h
rivers/dri/i965/brw_wm.c
|
b0c8d3be73ea777e1fd5870c344afb1d31921411 |
09-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add a lowering pass to convert TXD to TXL by computing the LOD. Intel hardware doesn't natively support textureGrad with shadow comparisons. So we need to generate code to handle it somehow. Based on the equations of page 205 of the OpenGL 3.0 specification, it's possible to compute the LOD value that would be selected given the gradient values. Then, we can simply convert the TXD to a TXL. Currently, this passes 34/46 of oglconform's shadow-grad subtests; four cubemap tests are regressed. We should investigate this in the future. v2: Apply abs() to the scalar case (thanks to Eric). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_lower_texture_gradients.cpp
rivers/dri/i965/brw_shader.cpp
|
63d8c8baa99560c7a051b88afae645e60f07bc8f |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: expose new transform feedback extensions
tate_tracker/st_extensions.c
|
d24ece97e5ac755b9fd11d1d00d2eafc8524ca04 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ARB_transform_feedback_instanced extension enable flag Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/extensions.c
ain/mtypes.h
|
db7404defd47aa22082b52a6a31a08fb39fab626 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new DrawTransformFeedback functions Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_validate.c
ain/api_validate.h
ain/vtxfmt.c
bo/vbo_exec_array.c
bo/vbo_save_api.c
|
7e0cb473b063072fee121d536e7e37679528e991 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement display list support for new DrawTransformFeedback functions Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/dd.h
ain/dlist.c
|
ce16ca4635152db4c1af45888cb9c225e8d94f5a |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement display list support for indexed query functions Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/dlist.c
|
553e13dbc2d5eff16f2c9a384ee5c5cf70b90901 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement indexed query functions from ARB_transform_feedback3 Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/queryobj.c
|
375e73d85948b43aa509e25f0a210ebd10238b6f |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement glGet queries and error handling for ARB_transform_feedback3 Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/context.c
ain/get.c
ain/mtypes.h
ain/transformfeedback.c
|
21cb5ed20d1d7984b7695395327ed0ba0b0d16e2 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl: implement ARB_transform_feedback3 in the linker Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/extensions.c
ain/mtypes.h
|
5ba15d8d38d98cb7b625fa55e7d818ef9c6629ce |
09-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement accelerated stencil blitting using shader stencil export Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
a7f3697eb849376dda23556df479127909cb7fd4 |
09-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set colormask to zero when blitting depth Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tate_tracker/st_cb_blit.c
|
24e0a2633512afa3208969520b9e29a8b974275d |
09-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/u_blit: drop not-very-useful wrapper around util_blit_pixels_writemask just rename it to util_blit_pixels Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_texture.c
|
76db2c121c5436dc37a66d398fcaa9b26478c5ec |
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add util_format_stencil_only helper function used for stencil sampler views. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tate_tracker/st_cb_drawpixels.c
|
13b0af721a6ff9e98d47a2c0a740fe843c034016 |
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove assertions that do not allow compressed 2D_ARRAY textures NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
ain/formats.c
|
33202b4876a88b6f54ca7022eadd2875a2d3508a |
06-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Enable CMS layout on Gen7 for the formats that support it. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
4ebbc766210190cb1f03fa4fc762bf7ecc0c7f90 |
03-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add CMS support to blorp. This patch updates the blorp engine to properly handle the case where the surface being textured from uses Gen7's CMS MSAA layout. The following changes were necessary: - Before reading color values from the surface, we need to read from the MCS buffer using the ld_mcs sampler message. This is done by the mcs_fetch() function, and the result is stored in the mcs_data register. This only needs to be done once per pixel, since the MCS value is shared between all samples belonging to a pixel. - When reading color values from the surface, we need to use the ld2dms sampler message instead of the ld2dss message, and we need to provide the value read from the MCS buffer as an argument. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp_blit.cpp
|
754953693db784d4f96d57bb6c7fa11a855a9e22 |
03-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add CMS-related sampler messages to brw_defines.h. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_defines.h
|
7b3263af696e504ec68b91b0ce128d46a0691dce |
03-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Set SURFACE_STATE properly when CMS MSAA is in use. When a buffer using Gen7's CMS MSAA layout is bound to a texture or a render target, the SURFACE_STATE structure needs to point to the MCS buffer and to indicate its pitch. This patch updates the functions that emit SURFACE_STATE to handle CMS layout properly. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_wm_surface_state.c
|
0ba813506d770ead7eb181fb2bf48d5a408fe0ea |
03-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add CMS MSAA settings to brw_structs.h. Previously the DWORD used to control the CMS MSAA layout was just a pad value, because we didn't use it. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_structs.h
|
ccae1b1cd7b89102a9d9bfc29eb1e7e48aad8969 |
03-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Allocate MCS buffer when CMS MSAA is in use. To implement Gen7's CMS MSAA layout, we need an extra buffer, the MCS (Multisample Control Surface) buffer. This patch introduces code for allocating and deallocating the buffer, and storing a pointer to it in the intel_mipmap_tree struct. No functional change, since the CMS layout is not enabled yet. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
1bd4d456cdecf7bea55f4e3dac574af54efad994 |
04-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add an enum to describe MSAA layout. From the Ivy Bridge PRM, Vol 1 Part 1, p112: There are three types of multisampled surface layouts designated as follows: - IMS Interleaved Multisampled Surface - CMS Compressed Mulitsampled Surface - UMS Uncompressed Multisampled Surface Previously, the i965 driver only used IMS and UMS formats, and distinguished beetween them using the boolean intel_mipmap_tree::msaa_is_interleaved. To facilitate adding support for the CMS format, this patch replaces that boolean (and other booleans derived from it) with an enum INTEL_MSAA_LAYOUT_{IMS,CMS,UMS}. It also updates the terminology used in comments throughout the driver to match the IMS/CMS/UMS terminology used in the PRM. CMS layout is not yet used. The enum has a fourth possible value, INTEL_MSAA_LAYOUT_NONE, which is used for non-multisampled surfaces. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
67b0f7c7dddeb92ee4d24ed3977e20b70f5674f6 |
05-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Move {rt,tex}_interleaved into blorp program key. On Gen6, MSAA buffers always use an interleaved layout and non-MSAA buffers always use a non-interleaved layout, so it is not strictly necessary to keep track of the layout of the texture and render target surfaces in the blorp program key. However, it is cleaner to do so, since (a) it makes the blorp compiler less dependent on implicit knowledge about how the GPU pipeline is configured, and (b) it paves the way for implementing compressed multisampled surfaces in Gen7. This patch won't cause any redundant compiles, because the layout of the texture and render target surfaces depends on other parameters that are already in the blorp program key. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
|
95bc0527e9f81c62cbfe02dace94e73d9950d04d |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement __DRIimage::createSubImage and bump supported version to 5 We use the new miptree offset to pick out the sub-image when we bind the EGLImage to a texture. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
02ebad900db4ef1ac42cbfb41b433919a4c857a2 |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Add offset field to miptree This lets us specify an offset into the bo where the miptree starts, which will let us set up a texture for a single plane in a planar buffer. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
|
44a2b57f93ab68f873eab543f1ecb9dc7f230a7e |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Add support for new __DRIimage formats
rivers/dri/intel/intel_screen.c
|
f9b3e257d19587f4b9fae31610df857b10d69d1b |
05-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965: Revert the VBOs-in-system-memory hack. It didn't change performance on Lightsmark or Nexuiz, which both used DYNAMIC_DRAW buffers, but it was killing performance (40% CPU wasted pwriting buffers) on a closed-source app we're looking at. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
de9ed5152533c87c21d27b71211a834b4c9767bc |
03-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri2: Hard-code the DRI2 version This allows revising the dri_interface.h separately from adding driver support. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/dri_util.c
|
551078bb62f526edac274c30671508a33973236f |
22-Jun-2012 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Remove unneeded extern qualifiers Remove 'extern' from the functions declared in texcompress_etc.h. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/texcompress_etc.h
|
860d5bdf984730f69cd19b4f7145f3c84b57d33d |
12-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add hardware context support. With fixes and updates from Ben Widawsky and comments from Paul Berry. v2: Use drm_intel_gem_context_destroy to destroy hardware context; remove useless initialization of hw_ctx, both suggested by Eric. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.h
|
4fae5e32d5272986e9e64303eadc974d57e7b3ed |
10-Jul-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/test: Update name of GL_TIME_ELAPSED 4952caa caused the _EXT to fall off the name of this enum. This is fine. Update the unit test to expect the new value. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51956
ain/tests/enum_strings.cpp
|
21f78d21898dd8aa74beb6aeeabda68f4c07ae1b |
05-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement ARB_timer_query
tate_tracker/st_cb_queryobj.c
tate_tracker/st_extensions.c
|
d5a7866902af2a60a2d350c0d4970b30aed0b97a |
05-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement glGet(GL_TIMESTAMP) v2 This is adds a new driver function to retrieve the timestamp. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dd.h
ain/get.c
|
509453304087d58b61b6d69d82e9b231da8a9a4c |
26-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ARB_timer_query to the extension list Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
204777c5dcf7d4e489e299094f0dc8cb15569354 |
26-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add QueryCounter display list support Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
f601dcdf7025fbc6e7d624649a0f097af3b88d65 |
26-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement TIMESTAMP query and glQueryCounter Reviewed-by: Brian Paul <brianp@vmware.com>
ain/queryobj.c
|
1e28f55ab7909496d93ab1b552faad17453c10ac |
05-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Invalidate live intervals after copy propagation. For copy propgation, we've dropped the use of a GRF in favor of a (probably later) use of a different GRF. This definitely requires invalidating intervals. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_copy_propagation.cpp
|
2343fe9a5d1786413453e6e8e5c7700143d68a26 |
05-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Invalidate live intervals in passes that remove an instruction. Since live intervals are based on ip, removing an instruction trashes the intervals unless we were to go do some surgery. These happen to usually remove a use of a grf, so it's time to recalculate, anyway. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 8.0 release branch.
rivers/dri/i965/brw_fs.cpp
|
25ca9cc8236845a4be32a6f39b4a6d1664d4b403 |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Move the other two src_reg/dst_reg constructors to brw_vec4.cpp. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
b2f5d4c3ec9ec2fec8b39c87eb00121a24107276 |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Move class functions to brw_vec4.cpp. This has less impact than for the FS (4k savings), because it was partially done already, but makes things more consistent. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
|
fe27916ddf41b9fb60c334c47c1aa81b8dd9005e |
04-Jul-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Move class functions from the header to .cpp files. Cuts compile time for brw_fs.h changes from 2.7s to .7s and reduces i965_dri.so size by 70k. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
c445b0f76db5fd6cf7340bba9db09118c8639e0d |
04-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: only expose ARB_shader_bit_encoding with GLSL 1.3 I don't think it's possible or even useful to use the extension with GLSL 1.2. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
1bb15c0a089cb268960d164d354ee6d942b4238f |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Share common __DRIimage allocation code We have the same switch and allocation code in two places. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_screen.c
|
454fc07ddefe2b750d78c94e8d52a11a8741c42f |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Just look up image->internal_format using _mesa_get_format_base_format Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_screen.c
|
e408c17767c82c3bbd32d0386d5d9141c1fb20dc |
05-Jul-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove unused __DRIimage::data_type field Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
76a6801240fb550b8de0295b1a935dd7c610a1f2 |
03-Jul-2012 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: #define fprintf to be __mingw_fprintf() on Mingw32" This reverts commit cbffaf20e9e6154310ba68bb2b44adc37ba83bcd. Use the PRIx64 macro in the fprintf() call instead, as suggested by Dylan Noblesmith. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/imports.h
|
df2d81ea59993a77bd1f1ef96c5cf19ac692d5f7 |
03-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use the PRIx64 macro for printing 64-bit hexadecimal values We'll revert the #define fprintf __mingw_fprintf change next. Reviewed-by: José Fonseca <jfonseca@vmware.com>
rogram/prog_print.c
|
33526a2ffe37aa5e861ea3895b20d4585396b86b |
30-May-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix a comment typo.
rivers/dri/intel/intel_syncobj.c
|
69f031cc198b2ce3095cde3f8e00dcd2eed39301 |
18-Apr-2012 |
Gwenole Beauchesne <gwenole.beauchesne@intel.com> |
mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x.
ain/APIspec.xml
ain/extensions.c
|
e620f3e763f69245531d605ff383f160bd0c0e8c |
24-Jun-2012 |
Olivier Galibert <galibert@pobox.com> |
mesa/st: gl_ClipDistance must be interpolated in 3d space. That old bug was hidden but the clipper always interpolating in 3d space no matter what it should have been doing. Now that the interpolation has been fixed, the bug shows up. Fixes fdo 51364. Signed-off-by: Olivier Galibert <galibert@pobox.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_program.c
|
2668aaa5570b29cb02af2b79a9397d917379026f |
04-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
Revert "mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x." This reverts commit d1665388ce53d23ee7853e5083ce6f7192061109.
ain/APIspec.xml
ain/extensions.c
|
d1665388ce53d23ee7853e5083ce6f7192061109 |
18-Apr-2012 |
Gwenole Beauchesne <gwenole.beauchesne@intel.com> |
mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x.
ain/APIspec.xml
ain/extensions.c
|
dd4282e38fd92c081875da6bce0b2345bd472532 |
07-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Allow copy propagation on uniforms. This is a big win for savage2, hon and yofrankie. 62 new programs for savage2/hon get 16-wide mode, along with one for humus demos and two for tropics. Even a few shaders from tropics see reductions of 15% or more. total instructions in shared programs: 216536 -> 207353 (-4.24%) instructions in affected programs: 123941 -> 114758 (-7.41%) In benchmarking Tropics, only a .040% +/- 034% performance improvement was observed (n=90). Rather disappointing, but I was primarily motivated to do this patch by a regression in the number of 16-wide shaders compiled after a GRF texturing on IVB patch I'm working on. Hopefully this helps avoid that regression. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_copy_propagation.cpp
|
0c4630bae001139dea42b78cd08157de4d90542b |
06-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Allow copy propagation with source modifiers. This shaves a few instructions off of a ton of programs. For 12 shaders from tropics and sanctuary, it's enough reduction in register pressure to get 16-wide mode. 7 shaders from heroes of newerth and savage2 are hurt by about 1.1%, where copy propagation of negates ends up preventing coalescing, but we could regain that by doing dataflow analysis in our copy propagation. No significant performance difference in tropics (n=11) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_copy_propagation.cpp
|
458f7f014139deb48a4cf0a9e6bdca3a57d24208 |
06-Jun-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Move copy propagation test out to a separate function. It's going to get more complicated in a moment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_copy_propagation.cpp
|
f34764ea5308221dc35479bd118142a0e249049c |
28-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
msaa: Make meta-ops save and restore state of GL_MULTISAMPLE. The meta-ops _mesa_meta_Clear() and _mesa_meta_glsl_Clear() need to ignore the state of GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_VALUE, and GL_SAMPLE_COVERAGE_INVERT when clearing multisampled buffers. The easiest way to accomplish this is to disable GL_MULTISAMPLE during the clear meta-ops. Note: this patch also causes GL_MULTISAMPLE to be disabled during _mesa_meta_GenerateMipmap() and _mesa_meta_GetTexImage() (since those two meta-ops use MESA_META_ALL). Arguably this isn't strictly necessary, since those meta-ops use their own non-MSAA fbo's, but it shouldn't do any harm. Fixes Piglit tests "EXT_framebuffer_multisample/clear {2,4} {color,stencil}" on i965. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/common/meta.c
rivers/common/meta.h
|
8313f44409ceb733e9f8835926364164237b3111 |
21-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Fix centroid interpolation of unlit pixels. From the Ivy Bridge PRM, Vol 2 Part 1 p280-281 (3DSTATE_WM: Barycentric Interpolation Mode): "Errata: When Centroid Barycentric mode is required, HW may produce incorrect interpolation results when a 2X2 pixels have unlit pixels." To work around this problem, after doing centroid interpolation, we replace the centroid-interpolated values for unlit pixels with non-centroid-interpolated values (which are interpolated at pixel centers). This produces correct rendering at the expense of a slight increase in shader execution time. I've conditioned the workaround with a runtime flag (brw->needs_unlit_centroid_workaround) in the hopes that we won't need it in future chip generations. Fixes piglit tests "EXT_framebuffer_multisample/interpolation {2,4} {centroid-deriv,centroid-deriv-disabled}". All MSAA interpolation tests pass now. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
|
3f929efa2872aa5a4402520ec9fd551392e2413a |
18-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/fs: Add FS_OPCODE_MOV_DISPATCH_TO_FLAGS to fragment shader backend. In order to compute centroid varyings correctly, the fragment shader needs to be able to load the current pixel/sample mask into a flag register. This patch adds an opcode to the fragment shader back-end to do this; the opcode gets translated into the instruction mov(1) f0<1>UW g1.14<0,1,0>UW { align1 WE_all } Since this instruction clobbers f0, instruction scheduling has to treat it the same as instructions that have a conditional modifier. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
8aa78c104a6fa9497cba558b54c41f6f2292bd74 |
28-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: fix transform feedback with primitive restart When querying GL_PRIMITIVES_GENERATED, if primitive restart is also used, then take the software primitive restart path so GL_PRIMITIVES_GENERATED is returned correctly. GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN is also updated since it will also affected by the same issue. As noted in brw_primitive_restart.c, with further work we should be able to move this situation back to a hardware handled path. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_primitive_restart.c
rivers/dri/i965/brw_queryobj.c
|
14311ef3f2031307fb660328db14eb535da9a4fa |
09-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Re-enable rendering to SNORM formats. Commit d73f6375f50b fixed the cause of the Piglit failure with ARB_color_buffer_float fragment clamp modes. Now that it's fixed, there's no reason to leave snorm format rendering disabled. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
d73f6375f50be6a76991e240222a8e25906bfe4b |
09-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Don't alter fragment color clamp in DrawPixels(). DrawPixels uses the MESA_META_CLAMP_FRAGMENT_COLOR flag to save/restore the fragment color clamp mode. This is unnecessary since it never alters it. It's also harmful: when the clamp mode is GL_FIXED_ONLY, setting this flag causes _mesa_meta_begin to force it to GL_FALSE, breaking clamping on SNORM formats. DrawPixels should use the user-specified clamp mode and not change it. Fixes Piglit's spec/ARB_color_buffer_float/GL_RGBA8_SNORM-drawpixels test on i965/Sandybridge (with SNORM render targets re-enabled). Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
9f0f2f9512c3c9dcf875efa490b587f010b260c1 |
02-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: use FLUSH_CURRENT and not FLUSH_VERTICES in _mesa_validate_* ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH_WITH_RETVAL calls FLUSH_VERTICES, which is not what we want. This fixes a breakage in classic drivers, introduced in: 62b971673950148eb949ba23d7fdc47debea16f0 vbo: first ASSERT_OUTSIDE_BEGIN_END then FLUSH, not the other way around It should fix: https://bugs.freedesktop.org/show_bug.cgi?id=51629 https://bugs.freedesktop.org/show_bug.cgi?id=51642 Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
|
876889b35502a110ca18c7325abe6e0727dc89f5 |
28-Jun-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: point to Makefile.old in the srcdir Gets out-of-tree builds slightly closer to working. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
91ecba9d052dccf745144c6fc8be74e203164b75 |
28-Jun-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: fix parser source gen for out-of-tree builds Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
261b1389eb7cc268eb90402753ca52cc481d542a |
28-Jun-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: fix api source gen for out-of-tree builds Add $(srcdir) where needed. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile.am
|
9dfe92019a6f76943316d84f437ca323c75234bc |
29-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use DEBUG_INCOMPLETE_FBO debug flag
tate_tracker/st_cb_fbo.c
|
b186a9df32bb90cfa50f28f3df56abaffac40d8b |
29-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unused gl_dlist_state fields
ain/mtypes.h
|
fcebb157f0eb6c2f374dee609a01b0b14856e7fc |
27-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: optimize validation for glMultiDrawElements Some parameters need to be checked only once. check_valid_to_render needs to be called only once. The validate function is based on the one for DrawElements. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
ain/api_validate.h
bo/vbo_exec_array.c
|
62b971673950148eb949ba23d7fdc47debea16f0 |
27-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: first ASSERT_OUTSIDE_BEGIN_END then FLUSH, not the other way around Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
bo/vbo_exec_array.c
|
d9eb1a12254add75f6842fdebe5b78512855d04d |
27-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: don't call twice _mesa_valid_to_render in DrawArraysInstancedBaseInstance It's called in _mesa_validate_DrawArraysInstanced already. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_array.c
|
15ac66e331abdab12e882d80a6b4f647bc905298 |
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers This is a cleanup for ARB_transform_feedback3, where GL_MAX_TRANSFORM_FEEDBACK_BUFFERS is introduced for interleaved attribs and has the same meaning as GL_MAX_.._SEPARATE_ATTRIBS for separate attribs. Also, the maximum number of TFB buffers is reduced from 32 to 4, which makes this patch useful even without the extension. I don't know of any hardware which can do more than 4. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_context.c
ain/bufferobj.c
ain/config.h
ain/context.c
ain/get.c
ain/mtypes.h
ain/transformfeedback.c
tate_tracker/st_extensions.c
|
9881bf6e69b52efc1eb57a4027d9a8817ef8cbcb |
27-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: more const qualifiers to match the latest glext.h For some reason regular gcc on Linux didn't catch these but the mingw compiler did (generated errors, not warnings). v2: include the changes in src/mapi/ too
ain/dd.h
ain/errors.c
bo/vbo_exec_array.c
bo/vbo_noop.c
bo/vbo_save_api.c
|
827bdee7d1ec29ce07f35780f7d2262f2fa0acf4 |
27-Jun-2012 |
Brian Paul <brianp@vmware.com> |
glapi: add const qualifier to glShaderSourceARB() parameter Fixes the es2 build with gcc. Note: in glext.h the prototypes for glShaderSource() and glShaderSourceARB() disagree: only the former has the extra const qualifier. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/APIspec.xml
|
3588098ed85bbd6bacac5a8dd3774569f1314783 |
27-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: enable ARB_instanced_arrays extension Set the step_rate value when drawing to implement ARB_instanced_arrays for gen >= 4. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_extensions.c
|
8459f4a63aec97847b0e3957ffb82beff94035fa |
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_reference_array_object() an inline function As we do for texture objects, buffer objects, etc.
ain/arrayobj.c
ain/arrayobj.h
|
dcf1dafa9ec93f9300ecffe5bddfd2b131bc218f |
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: look up enum name for glEnable/Disable errors
ain/enable.c
|
86ccd9aaacc5358984faa11c3b94281f0b1a85f9 |
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move TEXGEN defines closer to gl_texgen struct
ain/mtypes.h
|
4cb3579e52fed48d623698610e31d05ac8c8946f |
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask Since it's a derived field.
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_state_tnl.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
ain/ffvertex_prog.c
ain/light.c
ain/mtypes.h
nl/t_vb_light.c
bo/vbo_exec_api.c
86/gen_matypes.c
|
b114ff3783c1aff636c4293eccfc9e04b802d3bf |
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: re-order, update comments on lighting-related structs
ain/mtypes.h
|
6c355cca9149e43850cf27f2d0821fab1e7a69f5 |
26-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Set KILL_ENABLE when GL_ALPHA_TO_COVERAGE enabled. i965 hardware needs to be informed of situations in which it's possible for pixels (or samples) to be discarded for reasons other than depth/stencil testing (e.g. due to an explicit "discard" in the fragment shader). One of these situations is when GL_ALPHA_TO_COVERAGE is enabled, since that can cause samples to be discarded by the color calculator when the pixel's alpha value is less than 1.0. Without this patch, GL_ALPHA_TO_COVERAGE does not take effect on depth buffers. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
bc53e14d98de11593788d302c0bb198e3a2097a4 |
23-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Implement GL_SAMPLE_ALPHA_TO_{COVERAGE,ONE}. This patch enables the multisampling parameters GL_SAMPLE_ALPHA_TO_COVERAGE and GL_SAMPLE_ALPHA_TO_ONE, which allow the fragment shader's alpha output to be converted into a sample coverage mask and ignored for blending. i965 supports these parameters through the BLEND_STATE structure. The GL spec allows, but does not require, the implementation to dither the conversion from alpha to a sample coverage mask, so that alpha values that aren't a multiple of 1/num_samples result in the correct proportion of samples being lit. A bit exists in the BLEND_STATE structure to enable this functionality, but according to the hardware docs it must be disabled on Sandy Bridge (see the Sandy Bridge PRM, Vol2, Part1, p379: AlphaToCoverage Dither Enable). So it is enabled for Gen7 only. Fixes piglit tests "EXT_framebuffer_multisample/sample-alpha-to-{coverage,one} {2,4}". Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/gen6_cc.c
|
9ea60ce58f8494e0b79771f93227f4b8181731de |
23-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Implement glSampleCoverage. This patch enables glSampleCoverage() functionality, which allows the client program to specify that only a portion of the samples be lit up when performing multisampled rendering. i965 supports glSampleCoverage() through the 3DSTATE_SAMPLE_MASK command packet, which allows the driver to specify a bitfield indicating which samples to light up. Fixes piglit tests "EXT_framebuffer_multisample/sample-coverage {2,4} {inverted,non-inverted}". Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_multisample_state.c
rivers/dri/i965/gen7_blorp.cpp
|
cf0bbb30f6bd9d3fa61b5207320e8f34c563a2c6 |
21-Jun-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965/fs: Fix conversions float->bool, int->bool Fixes gles2conform GL.equal.equal_bvec2_frag. This fixes brw_fs_visitor's translation of ir_unop_f2b. It used CMP to convert the float to one of 0 or ~0. However, the convention in the compiler is that true is represented by 1, not ~0. This patch adds an AND to convert ~0 to 1. By inspection, a similar problem existed with ir_unop_i2b, with a similar fix. [v2 kayden]: eliminate extra temporary register. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49621 Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
|
9ccf5bffe360def72c8f96340a524fdd672354ec |
25-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new MESA_LOG_FILE env var to log errors, warnings, etc., to a file Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/errors.c
|
d1056541e239dfcee0ad6af2fd2d9fab37dbf025 |
18-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add backend support for centroid interpolation. This patch causes the fragment shader to be configured correctly (and the correct code to be generated) for centroid interpolation. This required two changes: brw_compute_barycentric_interp_modes() needs to determine when centroid barycentric coordinates need to be included in the pixel shader thread payload, and fs_visitor::emit_general_interpolation() needs to interpolate using the correct set of barycentric coordinates. Fixes piglit tests "EXT_framebuffer_multisample/interpolation {2,4} centroid-edges" on i965. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_wm.c
|
cf0e7aa9f8bc9c175ebd9b2ab3a8bfec4afc5abf |
21-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/fs: Refactor interpolation code to prepare for adding centroid support. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
6d7ebb21f8848a4a407e458e2772a45f9c3bd28a |
18-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Adapt clip setup for centroid noperspective interpolation. To save time, we only instruct the clip stage of the pipeline to compute noperspective barycentric coordinates if those coordinates are needed by the fragment shader. Previously, we would determine whether the coordinates were needed by seeing whether the fragment shader used the BRW_WM_NONPERSPECTIVE_PIXEL_BARYCENTRIC interpolation mode. However, with MSAA, it's possible that the fragment shader might use BRW_WM_NONPERSPECTIVE_CENTROID_BARYCENTRIC instead. In the future, when we support ARB_sample_shading, it might use BRW_WM_NONPERSPECTIVE_SAMPLE_BARYCENTRIC. This patch modifies the upload_clip_state() functions to check for all three possible noperspective interpolation modes. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen7_clip_state.c
|
bebb0438113efdcc1c2aaed95c70ba87de1d3053 |
18-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
glsl: Add IsCentroid bitfield to gl_fragment_program. This bitfield tells the back-ends which of a fragment shader's inputs require centroid interpolation. It is only set for GLSL fragment shaders, since assembly fragment shaders don't support centroid interpolation. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
2a4af651e6997f2fb88efd07aad14542a1b08579 |
25-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: added some simple fbo debugging/helper code
tate_tracker/st_cb_fbo.c
|
78ac9af58021b7cc649c35fda112f61c98b31766 |
22-Jun-2012 |
Laurent Carlier <lordheavym@gmail.com> |
automake: add missing inclusion of GL headers Building fail when GL headers are not installed in the system, so add inclusion of these headers. Signed-off-by: Brian Paul <brianp@vmware.com>
86-64/Makefile.am
86/Makefile.am
|
cbffaf20e9e6154310ba68bb2b44adc37ba83bcd |
22-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: #define fprintf to be __mingw_fprintf() on Mingw32 So that formats such as "%llx" are understood. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/imports.h
|
82d25963a838cfebdeb9b080169979329ee850ea |
20-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Compute dFdy() correctly for FBOs. On i965, dFdx() and dFdy() are computed by taking advantage of the fact that each consecutive set of 4 pixels dispatched to the fragment shader always constitutes a contiguous 2x2 block of pixels in a fixed arrangement known as a "sub-span". So we calculate dFdx() by taking the difference between the values computed for the left and right halves of the sub-span, and we calculate dFdy() by taking the difference between the values computed for the top and bottom halves of the sub-span. However, there's a subtlety when FBOs are in use: since FBOs use a coordinate system where the origin is at the upper left, and window system framebuffers use a coordinate system where the origin is at the lower left, the computation of dFdy() needs to be negated for FBOs. This patch modifies the fragment shader back-ends to negate the value of dFdy() when an FBO is in use. It also modifies the code that populates the program key (brw_wm_populate_key() and brw_fs_precompile()) so that they always record in the program key whether we are rendering to an FBO or to a window system framebuffer; this ensures that the fragment shader will get recompiled when switching between FBO and non-FBO use. This will result in unnecessary recompiles of fragment shaders that don't use dFdy(). To fix that, we will need to adapt the GLSL and NV_fragment_program front-ends to record whether or not a given shader uses dFdy(). I plan to implement this in a future patch series; I've left FIXME comments in the code as a reminder. Fixes Piglit test "fbo-deriv". NOTE: This is a candidate for stable release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
|
d988ea5e810868244eb1a1e7ede32295c9ed9ad4 |
22-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: minor transform feedback comments
ain/transformfeedback.c
|
09af5783b3eab02288fb55ff98514c80f23062a1 |
22-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments on UBO buffer binding functions The old comments were for transform feedback.
ain/bufferobj.c
|
b73cf49c91b57d05795748da5803c3095ec25526 |
21-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: set GL_ARB_uniform_buffer_object extension year to 2009
ain/extensions.c
|
cb9f35d16f9337b34ebfe412b060ff9cad933d79 |
19-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add a comment explaining my thoughts on glBindBufferBase(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
d103fead197c684c8396183d81bb846213afe81a |
19-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetIntegeri_v from GL_ARB_uniform_buffer_object. Fixes piglit ARB_uniform_buffer_object/getintegeri_v. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
fb76ddc13384bc04ee093c8fc20eab5705067359 |
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glBindBufferBase/Range on GL_UNIFORM_BUFFER. Fixes piglits: GL_ARB_uniform_buffer_object/bindbuffer-general-point. GL_ARB_uniform_buffer_object/negative-bindbuffer-buffer GL_ARB_uniform_buffer_object/negative-bindbuffer-index GL_ARB_uniform_buffer_object/negative-bindbuffer-target GL_ARB_uniform_buffer_object/negative-bindbufferrange-range Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
b82c47215689d1243d1aa810bff7f06d8288d686 |
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Move glBindBufferBase and glBindBufferRange() to bufferobj. The rest of the TFB implementation remains in transformfeedback.c, and this will be shared with UBOs. v2: Move the size/offset checks shared with UBOs to common code as well. (Kenneth's review) Reviewed-by: Brian Paul <brianp@vmware.com> (v1) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
ain/bufferobj.h
ain/transformfeedback.c
ain/transformfeedback.h
|
96276604485763351cb5eaa9e08144b7bace0876 |
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Move buffer object dispatch setup to bufferobj.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_exec.c
ain/bufferobj.c
ain/bufferobj.h
|
5527c2d22027e9e27e55372d8adf2ba4ff855b53 |
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add indexed binding points for uniform buffer objects. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
ain/mtypes.h
|
c5c696e7fbce2e0b598ed5d4b1d73f086a664a57 |
18-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for the GL_UNIFORM_BUFFER general binding point. Fixes piglit ARB_uniform_buffer_object/buffer-targets. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
ain/get.c
ain/mtypes.h
|
5426b1ade9c97497bdf5ecd7c44701a6d5ef04dc |
14-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add state and getters for the GL_ARB_uniform_buffer_object maximums. Fixes piglit GL_ARB_uniform_buffer_object/minmax. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
ain/get.c
ain/mtypes.h
|
37c3cbe053809c7d615f86cde0599175c6d83545 |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
dricore: Turn it into a normal library. Our intention is still that it's not abi stable, so make the package version number get included in the library name. Now you can parallel install dricore-using drivers from multiple mesa versions. We can put it into lib now that we're following library versioning rules (assuming that ABIs don't change within a single Mesa point release). LD_LIBRARY_PATH still doesn't work with a non-/, non-/usr prefix because libtool uses rpath instead of runpath for nonstandard prefixes.
ibdricore/Makefile.am
|
4113ac6a0f13338ee5f9c5fa0be13f37b515108d |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert Mesa built sources generation to automake.
akefile.am
akefile.old
|
2d51ac84fd4c6d0fcf4d5112af2eb2c12e186b63 |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Move GL header installation to automake. This cuts some cruft related to osmesa where we were being careful to not install headers twice.
akefile.am
akefile.old
|
1bbd22ada0b3fb2b1ad83a6c93a5a12e2d3c26db |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Move mesa subdirs processing to automake.
akefile.am
akefile.old
|
39785488e6a3f6beeb58372b88d49274a76d02f4 |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Move .pc installation to automake.
akefile.am
akefile.old
|
417c1a642141abac2f0a58d044893c93576bb9a3 |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Move the master Mesa makefile to Makefile.old. This will let me incrementally move stuff to automake without converting libmesa.a all at once.
gitignore
akefile
akefile.am
akefile.old
|
bd18a236dead98ae34467d59f76c77d94226399e |
15-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert osmesa.pc to be generated by configure.
akefile
smesa.pc.in
|
fa4cf4dc0cdf2e71e7973410531e4d9d360dd1bb |
15-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Convert gl.pc to be generated by configure. This saves a step of mashing variables around in our Makefile.
akefile
l.pc.in
|
2d4b77c7c6c76b3c2083471a1afa4f19dfbb3d5f |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert src/mesa/drivers/x11/Makefile to automake. The weird versioning of the libGL where the package version was sort of expressed as a big integer is dropped. libtool didn't like the 0 prefix, and it didn't really make sense anyway -- if you interpret it as an integer version number, old Mesa 071200 was bigger than current Mesa 08100. Instead, just bump the minor version and drop the patchlevel.
akefile
rivers/x11/.gitignore
rivers/x11/Makefile
rivers/x11/Makefile.am
|
d59149d3f449800012d74d897e7b2fcfef80449e |
11-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert src/mesa/drivers/Makefile to automake.
rivers/.gitignore
rivers/Makefile
rivers/Makefile.am
|
95836b46e77abfe5411922eb7cf71a18c028f42a |
11-Jun-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert gen_matypes building to automake.
akefile
86-64/.gitignore
86-64/Makefile
86-64/Makefile.am
86/.gitignore
86/Makefile
86/Makefile.am
|
acf27121a5cda81429bbbaa43debdf662f9558d2 |
11-Jun-2012 |
Eric Anholt <eric@anholt.net> |
make: Drop HOST_CC and HOST_CFLAGS. Except for the deleted linux-cell target, these were just the target cc/cflags. The only usage was for gen_matypes, which wants the target's structure packing, not the host, anyway.
86/Makefile
|
e426949cf1c328d5686b1048cdcec54a4fbca986 |
11-Jun-2012 |
Eric Anholt <eric@anholt.net> |
make: Fold ASM_CFLAGS into DEFINES. Every place that uses ASM_FLAGS already uses DEFINES. Not including it in DEFINES is just a way to screw up potential users, as I've done several times while working on the build system.
akefile
rivers/dri/common/Makefile.am
rivers/dri/i915/Makefile.am
rivers/dri/i965/Makefile.am
rivers/dri/nouveau/Makefile.am
rivers/dri/r200/Makefile.am
rivers/dri/radeon/Makefile.am
rivers/dri/swrast/Makefile.am
ibdricore/Makefile.am
|
7e63b613a5a067462c450338e0bdce5b5976f6f1 |
16-Jun-2012 |
Marcin Slusarz <marcin.slusarz@gmail.com> |
st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array gl_ClipDistance needs special treatment in form of lowering pass which transforms gl_ClipDistance representation from float[] to vec4[]. There are 2 implementations - at glsl linker level (enabled by LowerClipDistance option) and at glsl_to_tgsi level (enabled unconditionally for gallium drivers). Second implementation is incomplete - it does not take into account transform feedback (see commit 642e5b413e0890b2070ba78fde42db381eaf02e5 "mesa: Fix transform feedback of unsubscripted gl_ClipDistance array" for details). There are 2 possible fixes: - adding transform feedback support into glsl_to_tgsi version - ripping gl_ClipDistance support from glsl_to_tgsi and enabling gl_ClipDistance lowering on glsl linker side This patch implements 2nd option. All it does is: - reverts most of the commit 59be691638200797583bce39a83f641d30d97492 "st/mesa: add support for gl_ClipDistance" - changes LowerClipDistance to true Fixes Piglit tests "EXT_transform_feedback/builtin-varyings gl_ClipDistance[{2,3,4,5,6,7,8}]-no-subscript" at least on nv50 and evergreen cards.
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
|
cde6544ad7cbc0f4567d294e4d2ac4214199c6ec |
16-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Only do multisample rasterization if GL_MULTISAMPLE enabled. From the GL 3.0 spec (p.116): "Multisample rasterization is enabled or disabled by calling Enable or Disable with the symbolic constant MULTISAMPLE." Elsewhere in the spec, where multisample rasterization is described (sections 3.4.3, 3.5.4, and 3.6.6), the following text is consistently used: "If MULTISAMPLE is enabled, and the value of SAMPLE_BUFFERS is one, then..." So, in other words, disabling GL_MULTISAMPLE should prevent multisample rasterization from occurring, even if the draw framebuffer is multisampled. This patch implements that behaviour by setting the WM and SF stage's "multisample rasterization mode" to MSRAST_ON_PATTERN only when the draw framebuffer is multisampled *and* GL_MULTISAMPLE is enabled. Fixes piglit test spec/EXT_framebuffer_multisample/enable-flag. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
|
3b0279a69392a8fcc81ad462ca5623ec2a73f890 |
15-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Disable unsupported formats. Due to hardware limitations, MSAA is unsupported on Gen6 for formats containing >64 bits of data per pixel. From the Sandy Bridge PRM, vol4 part1, p72 ("Surface Format"): If Number of Multisamples is set to a value other than MULTISAMPLECOUNT_1, this field cannot be set to the following formats: - any format with greater than 64 bits per element - any compressed texture format (BC*) - any YCRCB* format Gen7 has a similar, but less stringent limitation: formats with >64 bits of data per pixel only support 4x MSAA. This patch causes the unsupported formats to report GL_FRAMEBUFFER_UNSUPPORTED. Fixes piglit "multisample-formats" tests on Gen6. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
2f8351a5ac7bb04482eebaa73d967f7527df4d18 |
17-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't set brw_wm_prog_key::iz_lookup on Gen6+. Sandy Bridge and later don't use this field, so there's no point in setting it. It can only cause harmful state-based recompiles. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm.c
|
fc855ed5d968c6d650df77505540bfbdaa5fb35e |
19-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: clamp glDrawPixels size to max texture size
tate_tracker/st_cb_drawpixels.c
|
7f4786ad29abbbbc4b0ebfcec8114921c1c8f6e3 |
19-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: move st_validate_state() call earlier in st_DrawPixels()
tate_tracker/st_cb_drawpixels.c
|
c4c8c7a8f9757f8670ec9cde514cee11ed33c4cb |
18-Jun-2012 |
Fredrik Höglund <fredrik@kde.org> |
st/mesa: Add support for GL_ARB_base_instance Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
ae5d7d5e8970f90b9713897387d7d46a2b4485ab |
18-Jun-2012 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add support for GL_ARB_base_instance Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dd.h
ain/dlist.c
ain/extensions.c
ain/mtypes.h
ain/vtxfmt.c
bo/vbo.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_save_api.c
bo/vbo_split_inplace.c
|
5b83bdc154ec8d607a4c4d96171d0128e51abaec |
16-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix brw_swap_cmod() for LE/GE comparisons. The idea here is to rewrite comparisons like 2 >= x with x <= 2; we want to simply exchange arguments, not negate the condition. If equality was part of the original comparison, it should remain part of the swapped version. This is the true cause of bug #50298. It didn't manifest itself on Sandybridge because we embed the conditional modifier in the IF instruction rather than emitting a CMP. All other platforms use CMP. It also didn't manifest itself on the master branch because commit be5f27a84d ("glsl: Refine the loop instruction counting.") papered over the problem. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50298 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.c
|
2d7b2d7a87f037fa435772b7ce7c7cc0f426d912 |
15-Jun-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
gles2: Add GL_NV_read_buffer extension This lets us select the front buffer for reading under GLES2. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/APIspec.xml
ain/extensions.c
ain/get.c
ain/mtypes.h
|
e841a2426e9d58b8cfc95e6ccbe472d5960b3b62 |
15-Jun-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
get.c: Rename EXTRA_VERSION_ES2 to EXTRA_API_ES2 This extra condition checks the API not the version of the API, so rename to reflect that. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
7c3786d780e1c475b219c3f2ddbe33554177be02 |
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: properly allocate MSAA renderbuffers Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
c760283159dbf3607b0f072b0d1ff50859feb3f4 |
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: make unsupported renderbuffer formats always fail as FBO incomplete instead of failing to allocate a renderbuffer. This also fixes piglit/get-renderbuffer-internalformat with non-renderable formats. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
e4b2e6b5270644c267892fae07d919b494cc4397 |
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: separate sw renderbuffer allocation from hw one Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
a82227ce4a60155cb16c47d7315f2efe2e87b0c2 |
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: if AllocStorage doesn't choose a format, report FRAMEBUFFER_UNSUPPORTED This allows drivers not to do any allocation in AllocStorage if the storage cannot be allocated because of an unsupported internalformat + samples combo. The little ugliness is that AllocStorage is expected to return TRUE in this case. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
|
5e7e7d96b341e937d3b795e94ac4a863c357f724 |
15-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't do srgb->linear conversion in decompress_with_blit This fixes piglit/getteximage-formats on r600g. NOTE: This is a candidate for stable branches. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
1be766111005e483d56ac194c224123e72ce9831 |
14-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
gallium: Add support for ir_unop_f2u to tgsi backend. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tate_tracker/st_glsl_to_tgsi.cpp
|
fa584c50cf1ddbd96fba4a68563b57c82619e6f4 |
14-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
11a7b93592c22c8165f8fde6395f76778fca452e |
14-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Add support for ir_unop_f2u to i965 backend. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
75f409d75cacf90df2d6f1d718251a5d5cd92f7f |
12-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Implement source clipping. This patch modifies blorp blits (which are used for MSAA) to properly account for clipping of source coordinates. Previously, if we detected the possibility of source clipping, we would fall back to the blit meta-op, which doesn't support MSAA and is very slow for depth and stencil buffers. Fixes piglit tests "EXT_framebuffer_multisample/clip-and-scissor-blit" on i965/Gen6+. Also substantially speeds up the Humble Bundle V game "Psychonauts" on Gen6+ (without this patch, the game's depth buffer blits use the slow blit meta-op). Reviewed-by: Carl Worth <cworth@cworth.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
4d9f263d7c8fc2213c369c73c86aa39f9d8659be |
15-Jun-2012 |
Brian Paul <brianp@vmware.com> |
scons: add st_atom_array.c to the build
Conscript
|
b4753dafcce4fc771ec3d7e3d5781bd4cae20326 |
12-May-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: atomize vertex array state This moves the state validation to where all the other states are validated.
ources.mak
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_array.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
f677954e07c6c1fd59b13622a7420c97d68a6029 |
08-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) color output When drawing a depth image the fragment shader also needs to emit the current raster color. The new piglit drawpix-z test exercises this. NOTE: This is a candiate for the 8.0 branch.
tate_tracker/st_cb_drawpixels.c
|
4b7b4c46c5eeceb5ce5c0cb0aac50f32284d29d3 |
14-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
glx/tests and mesa/tests: Update .gitignore files. This patch updates .gitignore files to account for the new build artifacts introduced by the following commits: ae376f0 glx/tests: Rename test as glx-test 8fecdcc mesa/tests: Add tests for _mesa_lookup_enum_by_{name,nr} functions a29ad2b mesa/tests: Add tests for the generated dispatch table
ain/tests/.gitignore
|
93a42d131409ef17083e2666895ea9501db53e33 |
14-Jun-2012 |
José Fonseca <jfonseca@vmware.com> |
windows/gdi: Remove GL_NV_register_combiners and GL_NV_vertex_array_range exports
rivers/windows/gdi/mesa.def
|
8fecdcc587a192c0ea4e13d59321691b8981c249 |
25-May-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tests: Add tests for _mesa_lookup_enum_by_{name,nr} functions Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/tests/Makefile.am
ain/tests/enum_strings.cpp
|
82ce93a8fdcb18b17263a388fa0bd8dbc1889857 |
13-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move variable declaration out of loop to fix MSVC build
ain/shaderobj.c
|
a74c4fb89dee398a955415f0b5641bd9c5888c75 |
13-Jun-2012 |
Stéphane Marchesin <marcheu@chromium.org> |
mesa: Fix bool-int mismatch Also include stdbool for windows.
rogram/hash_table.h
|
3c9fab88226af8360817c01ecde38348284e6ce7 |
25-May-2012 |
Antoine Labour <piman@chromium.org> |
mesa: Fix hash table leak When a value was replaced, the new key was strdup'd and leaked. To fix this, we modify the hash table implementation to return whether the value was replaced and free() the (now useless) duplicate string.
rogram/hash_table.c
rogram/hash_table.h
|
e2e9b4b10fcf3ba6358b9be54638f850523af82e |
25-May-2012 |
Antoine Labour <piman@chromium.org> |
mesa: Free uniforms correclty. This is an array of uniforms, not a single one. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> NOTE: This is a candidate for the 8.0 branch.
ain/shaderobj.c
|
53feb8ecdc74502c940a749b9ce89e68625c69a5 |
25-May-2012 |
Antoine Labour <piman@chromium.org> |
meta: Cleanup the resources we allocate. When we have multiple shared contexts, and one of them is long-running, this will lead to never freeing those resources since they are shared. Instead, free them right away on context destruction since we know the other context isn't using them. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> NOTE: This is a candidate for the 8.0 branch.
rivers/common/meta.c
|
7b11051a28731b099dc47df9e5db7eccfa889369 |
12-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Build git_sha1.h before computing dependencies. Otherwise, version.c doesn't get a dependency on it in a clean build, and then it doesn't necessarily get generated before version.c is compiled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50976 Reviewed-by: Jakob Bornecrantz jakob@vmware.com
akefile
|
45c21f852ec88fb4e784b53a1828d9a52d9dc67f |
10-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Unbind GL_TEXTURE_BUFFER on DeleteBuffers. Fixes oglconform's tbo/basic.buffer.delete test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/bufferobj.c
|
bbb67c3efcf0ba76ee0cb891206284ad84b9cb61 |
10-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Make glPrimitiveRestartIndex execute immediately in display lists. From the GL_NV_primitive_restart spec: "PrimitiveRestartIndexNV is not compiled into display lists, but is executed immediately." Prior to this patch, calls to glPrimitiveRestartIndex would hit the noop dispatch stub. +2 oglconforms. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dlist.c
|
a75e704326986b85539b6abf2319701e1a3138e9 |
09-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Check for a negative "size" parameter in glCopyBufferSubData(). From the GL_ARB_copy_buffer spec: "An INVALID_VALUE error is generated if any of readoffset, writeoffset, or size are negative [...]" Fixes oglconform's copybuffer/negative.CNNegativeValues test. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/bufferobj.c
|
ea606ee7b49d130fdedd5a707e79fc9e37ba280c |
11-Jun-2012 |
José Fonseca <jfonseca@vmware.com> |
scons: Fix scons build.
ources.mak
|
279efce8bb7b6c802eb6c1de46971153ff6fdedb |
29-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Merge the dricore libglsl build into libdricore. Now we have just one library of "all of Mesa core" instead of both libdricore and libglsl that drivers link against. I did this change in a sort of nonrecursive make fashion: the generated files are still produced in the non-automake build, like the rest of dricore, but the GLSL files are stuffed into libdricore without building a convenience library in src/glsl (even though we could now). This would make a bit more sense if glsl was just another dir under src/mesa, because right now I had to contort the prefix variable name to look another ../ level up.
ibdricore/Makefile.am
|
07abd913b654a1a04a90db6203a92a14e4ae795a |
15-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Move top-level makefile to automake. This is part of a series to fix our build issues in the automake case by hooking up the automatic Makefile regeneration support. The extract_git_sha1 is moved into src/mesa/Makefile so that we get correct dependency generation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
d5c1801a018efda8ac2bab6e0a21f3c3acc4b334 |
07-Jun-2012 |
Tapani Pälli <tapani.palli@intel.com> |
android: fix the build Some more of the files are now autogenerated, this caused build breakage, patch adds generation of these missing files. Patch also changes existing make so that the files are created to be part of the local source (not intermediate directory, this causes several problems). Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
ndroid.gen.mk
|
306c9f0c5762ad75e340d22b2405ac11e74d3378 |
09-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Fix "glCopyBuffserSubData" typos in error messages and comments. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/bufferobj.c
|
529476b5e4cd0591e0ec777b9bc2b5bec136822b |
07-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add forgotten bitcast operations in brw_fs_channel_expressions. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_channel_expressions.cpp
|
9fd0e76a196656f2f14115444f99ec1121879766 |
06-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: allow all buffer formats provided src and dst match. Previously, blits using the "blorp" mechanism only worked for 8-bit RGBA color buffers, 24-bit depth buffers, and 8 bit stencil buffers. This was not enough, because the blorp mechanism must be used for blitting whenever MSAA is in use. This patch allows all formats to be used, provided the source and destination formats match. So far I have confirmed that the following formats work properly with MSAA: - GL_RGB - GL_RGBA - GL_ALPHA - GL_ALPHA4 - GL_ALPHA8 - GL_R3_G3_B2 - GL_RGB4 - GL_RGB5 - GL_RGB8 - GL_RGB10 - GL_RGB12 - GL_RGB16 - GL_RGBA2 - GL_RGBA4 - GL_RGB5_A1 - GL_RGBA8 - GL_RGB10_A2 - GL_RGBA12 - GL_RGBA16 Fixes piglit tests "EXT_framebuffer_multisample/formats {2,4}" on Sandy Bridge and Ivy Bridge. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
530bda2aacf77b1e4661e5e5dd05cf108640e657 |
06-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Implement logic for additional buffer formats. Previously the blorp engine only supported RGBA8 color buffers and 24-bit depth buffers. This patch adds support for any color buffer format that is supported as a render target, and for 16-bit and 32-bit depth buffers. This required threading the brw_context struct through into brw_blorp_surface_info::set() so that it can consult the brw->render_target_format array. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
|
9dbd0b677815f50a782149f4e20118bbce318f81 |
06-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: De-virtualize brw_blorp_{mip,surface}_info::set() function. Even though brw_blorp_surface_info is derived from brw_blorp_mip_info, this function doesn't need to be virtual, because it is never accessed through a base class pointer. Making the function non-virtual will allow it to take additional parameters in the brw_blorp_surface_info case. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.h
|
040d0157341381708c35c2f27721ebffa2ee1db2 |
06-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Refactor surface format determination. This patch moves the responsibility for deciding on the format of the source and destination surfaces from the gen{6,7}_blorp_emit_surface_state() functions to brw_blorp_surface_info::set(), which is shared between Gen6 and Gen7. This will make it possible to add support for more surface formats without code duplication. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
05790746df077183d6c3caf87ca2d276a60302a8 |
07-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable the GL_ARB_shader_bit_encode extension. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/intel/intel_extensions.c
|
a83be8b6d7acbc5cb276182506c6d45210d9e951 |
08-May-2012 |
Olivier Galibert <galibert@pobox.com> |
st/mesa: Finally activate the ARB_shader_bit_encoding extension. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tate_tracker/st_extensions.c
|
e16b0a51be7866f3856b62b295df2bcf49e02384 |
08-May-2012 |
Olivier Galibert <galibert@pobox.com> |
glsl: Bitwise conversion operator support in the software renderers. TGSI doesn't need an opcode, since registers are untyped (but beware once doubles come into the scene). Mesa IR doesn't handle native integers, so trying to handle them there is worthless, the case entries are only added for warning reasons. It was only tested with softpipe, since llvmpipe doesn't support glsl 1.3 yet. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
199771bc325900eb1d3acc7fa03808894a94fdb2 |
30-Apr-2012 |
Olivier Galibert <galibert@pobox.com> |
glsl: Scaffolding for ARB_shader_bit_encoding. That adds support for activating the extension. It doesn't actually *do* anything yet, of course. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
ain/mtypes.h
ain/version.c
|
f8d40deea5c4abbbf93c2c572ce668a5a25f95e2 |
06-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Return 8 bits for GL_TEXTURE_RED_SIZE on RGTC formats. From the issues section of the GL_ARB_texture_compression_rgtc extension: 15) What should glGetTexLevelParameter return for GL_TEXTURE_GREEN_SIZE and GL_TEXTURE_BLUE_SIZE for the RGTC1 formats? What should glGetTexLevelParameter return for GL_TEXTURE_BLUE_SIZE for the RGTC2 formats? RESOLVED: Zero bits. These formats always return 0.0 for these respective components and have no bits devoted to these components. Returning 8 bits for red size of RGTC1 and the red and green sizes of RGTC2 makes sense because that's the maximum potential precision for the uncompressed texels. Thus, we need to return 8 bits for GL_TEXTURE_RED_SIZE on all RGTC formats and 8 bits for GL_TEXTURE_GREEN_SIZE on RGTC2 formats. BLUE should be 0. Fixes oglconform/rgtc/advanced.texture_fetch.tex_param. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/formats.c
|
ec19bdd16c3d4070af69fd865042babe0a627595 |
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glCompressedTexSubImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/dri/nouveau/nouveau_texture.c
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
e8fdd0e0d5286f4a9c763ffde44decec51124ebc |
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glCompressedTexImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/dri/nouveau/nouveau_texture.c
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
cd9ab2584f5e2a5eb0e96a948e6aedc9a33c886d |
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glCopyTexSubImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/common/meta.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
ain/dd.h
ain/teximage.c
tate_tracker/st_cb_texture.c
|
e42d00b3f4503a0840575c8e5f4517a66c8af613 |
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glTexSubImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/nouveau/nouveau_texture.c
ain/dd.h
ain/mipmap.c
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
8f5fffe75d2f8ae7c7ee706b53379a25bc673ae4 |
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glTexImage1/2/3D code The functions for handling 1D, 2D and 3D texture images were nearly identical. This folds them all together. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
ain/dd.h
ain/teximage.c
ain/texobj.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
2f18698220d8b27991fab550c4721590d17278e0 |
01-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix user-defined FS outputs with less than four components. OpenGL allows you to declare user-defined fragment shader outputs with less than four components: out ivec2 color; This makes sense if you're rendering to an RG format render target. Previously, we assumed that all color outputs had four components (like the built-in gl_FragColor/gl_FragData variables). This caused us to call emit_color_write for invalid indices, incrementing the output virtual GRF's reg_offset beyond the size of the register. This caused cascading failures: split_virtual_grfs would allocate new size-1 registers based on the virtual GRF size, but then proceed to rewrite the out-of-bounds accesses assuming that it had allocated enough new (contiguously numbered) registers. This resulted in instructions that accessed size-1 GRFs which register numbers beyond virtual_grf_next (i.e. registers that were never allocated). Finally, this manifested as live variable analysis and instruction scheduling accessing their temporary array with an out of bounds index (as they're all sized based on virtual_grf_next), and the program would segfault. It looks like the hardware's Render Target Write message requires you to send four components, even for RT formats such as RG or RGB. This patch continues to use all four MRFs, but doesn't bother to fill any data for the last few, which should be unused. +2 oglconforms. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
cb18472eca9910e7a4222ebc1b6b1b66869f5b53 |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Fix texelFetchOffset() on pre-Gen7. Commit 4650aea7a536ddce120576fadb91845076e8e37a fixed texelFetchOffset() on Ivybridge, but didn't update the Ironlake/Sandybridge code. +18 piglits on Sandybridge. NOTE: This and 4650aea7a536ddce are both candidates for stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
217b62bf001f6b1da31807b803bbe45d7cabe3ba |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix texelFetchOffset() on pre-Gen7. Commit f41ecade7b458c02d504158b522acb2231585040 fixed texelFetchOffset() on Ivybridge, but didn't update the Ironlake/Sandybridge code. +15 piglits on Sandybridge. NOTE: This and f41ecade7b458 are both candidates for stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
7fde071f04afff86d4f8d7895073e22e60970b4e |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Fix GL_RENDERBUFFER binding in decompress_texture_image(). This isn't saved/restored by _mesa_meta_begin, so we need to do it manually (like we do for the read/draw framebuffers). Additionally, we neglected to re-bind before the glRenderbufferStorage call. +13 oglconforms. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
3edd2ba22bdb9abd4e2b10db4379f4182b5c3ecd |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Unbind ARB_transform_feedback2 binding points on Delete too. DeleteBuffer needs to unbind from these binding points as well, based on the same rationale as the previous patch. +51 oglconforms (together with the last patch). NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
|
05b086ce934fa2967da736db8db429d0886735a9 |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Support BindBuffer{Base,Offset,Range} with a buffer of 0. _mesa_lookup_bufferobj returns NULL for 0, which caused us to say "there's no such buffer object" and raise an error, rather than correctly binding the shared NullBufferObj. Now you can unbind your buffers. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/transformfeedback.c
|
cb8ed93dd0faf958493d35a4729c4a00a201af8d |
04-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Unbind ARB_copy_buffer and transform feedback buffers on delete. According to the GL 3.1 spec, section 2.9 ("Buffer Objects"): "If a buffer object is deleted while it is bound, all bindings to that object in the current context (i.e. in the thread that called DeleteBuffers) are reset to zero." The code already checked for a number of cases, but neglected these newer binding points. +21 oglconforms. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
|
105f307d90de92d088116516957e37267d9fe115 |
19-Apr-2012 |
Vinson Lee <vlee@freedesktop.org> |
st/mesa: Fix uninitialized members in glsl_to_tgsi_visitor constructor. Fix uninitialized scalar field defects reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org>
tate_tracker/st_glsl_to_tgsi.cpp
|
adbfc4a09a21a3a9c707833e21a712a1d3fff7bd |
01-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement texture buffer objects on Gen6. Commit a07cf3397e332388d3599c83e50ac45511972890 added support for TBOs on Gen7, but missed Gen6. Passes piglit -t texture_buffer and oglconform's buffermapping basic.read.texture tests. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
608c3d2083be9de1eadac6dad67cd571888ca5d7 |
28-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT). According to Table 6.17 in the GL 2.1 specification, DEPTH_TEXTURE_MODE, TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC need to be restored on glPopAttrib(GL_TEXTURE_BIT). Makes a number of oglconform tests happier. v2: Make restoration conditional on the ARB_shadow and ARB_depth_texture extensions, as suggested by Brian. I'm not sure that any implementations still remain that don't support those, but why not? NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/attrib.c
|
775ba11dcd8ddc46f78db3afe35de193a92515d0 |
30-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Connect the libdricore target to make clean. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50480 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
fb79ecb62d41332c535bd5fd9c229a85c79c468b |
01-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Change vendor string to "Intel Open Source Technology Center". Tungsten Graphics has not existed for several years, and the majority of ongoing development and support is done by Intel. I chose to include "Open Source Technology Center" to distinguish it from, say, the closed source Windows OpenGL driver. The one downside to this patch is that applications that pattern match against "Intel" may start applying workarounds meant for the Windows driver. However, it does seem like the right thing to do. This does change oglconform behavior. Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Acked-by: Keith Packard <keithp@keithp.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
|
dff36e900c645401b26c9a44106459e96ee7a24d |
30-May-2012 |
Brian Paul <brianp@vmware.com> |
scons: add code to generate the various GL API files This fixes recent build breakage when we began building the generated API files from xml as part of the normal build process. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475
Conscript
rivers/osmesa/SConscript
|
185ed2105829d6f5eb19edb9abbf0d7977e157c3 |
25-May-2012 |
Brian Paul <brianp@vmware.com> |
draw: simplify index buffer specification Replace draw_set_index_buffer() and draw_set_mapped_index_buffer() with draw_set_indexes() which simply takes a pointer and an index size.
tate_tracker/st_draw_feedback.c
|
ff3eef1affd0d3b56d4ce689947947be97c5d0f6 |
26-May-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: don't compile integer clear shaders for unsupported APIs Discovered while running the Khronos conformance test suite and receiving "implementation error: meta program compile failed." This bug was recently introduced by the i965 clear patch set and would only be detected while using the ES2 API and only on gen6+ hardware. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
47b64c9290d54f78e5a20e378593977cd47e285f |
14-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Implement destination clipping and scissoring This patch implements clipping and scissoring of the destination rect for blits that use the blorp engine (e.g. MSAA blits).
rivers/dri/i965/brw_blorp_blit.cpp
|
6a15790632ed65fcaa79e0d03555983330197692 |
25-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Clean up some dricore-related detritus in the old Makefile. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
f9d1562f356a66b70f13324e3360d63e8602a35f |
24-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Convert dricore building to automake. This is performed in a subdirectory to avoid needing to convert all of src/mesa/Makefile in one go. I can now cherry-pick a commit containing glapi XML changes, do "(cd src/mapi/glapi/gen && make) && make", and get a working driver. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
ibdricore/.gitignore
ibdricore/Makefile.am
|
e86c40a84d241b954594f5ae7df9b9c3fc797a4e |
25-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Add a prefix variable to the common sources lists. In order to do the minimal change for libdricore conversion to automake, I need to put its Makefile.am in a subdirectory. Automake gets whiny/broken if you use GNU make features like "addprefix" or "$(FILES:%=../%)" to munge your *_SOURCES. So, use a plain old variable to be able to substitute in that "../" Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ndroid.mk
akefile
ources.mak
|
7d7fe1b0376d5017c21351c0df8168b733801570 |
16-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Rename variables in sources.mak to be automake compatible. *_SOURCES is reserved for files lists for particular automake targets. Also, "-" in the variable names is not allowed. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ndroid.mk
akefile
ources.mak
|
b284d4773b889d042a4ea086a28a7ea18de98f28 |
24-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove generated source files during make clean. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
26eaee32455355c5376796140e0e3eb49e1c5865 |
25-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Restore installing of libGL for non-dri builds. Reported-by: Sven Joachim <svenjoac@gmx.de> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
0ce0f7c0c8fa9902678af7f3ecad2541be5808d2 |
15-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the generated glapi from source control, and just build it. Mesa already always depends on python to build. The checked in changes are not reviewed (because any trivial change rewrites the world). We also have been pushing commits between xml change and regen where at-build-time xml-generated code disagrees with committed xml-generated code. And worst of all, sometimes we ("I") check in *stale* xml-generated code. Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/.gitignore
ain/dispatch.h
ain/enums.c
ain/remap_helper.h
|
f92b2e5e90f456491fc15b3b9612381a83726606 |
11-May-2012 |
Kurt Roeckx <kurt@roeckx.be> |
i830: Fix crash for GL_STENCIL_TEST in i830Enable() commit 87f12bb2d95236c7b025d1a8be56b5ab1683d702 tried to fix rb->mt being NULL, but change this case wrong. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_state.c
|
f80c2874eca86a12517fbe2f4c15287edfb4dc89 |
21-May-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
gallium: add st_api feature mask to prevent advertising MS visuals v2: use a define for the maximum sample count v3: also test odd sample counts (r300 supports MS3) While multisample renderbuffers are supported by mesa, MS visuals are not, so we need a way to tell dri/st not to advertise them even if the gallium driver does support multisampled surfaces. Otherwise applications selecting these non-functional visuals would run into trouble ... Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_manager.c
|
ab014adaed14a9ca213447dc913d0dce7906be56 |
10-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Enable 4x MSAA on Gen7. Basic 4x MSAA support now works on Gen7. This patch enables it. As with Gen6, MSAA support is still fairly preliminary. In particular, the following are not yet supported: - 8x oversampling (Gen7 has hardware support for this, but we do not yet expose it). - Fully general blits between MSAA and non-MSAA buffers. - Formats other than RGBA8, DEPTH24, and STENCIL8. - Centrold interpolation. - Coverage parameters (glSampleCoverage, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLE_COVERAGE_INVERT). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_multisample_state.c
rivers/dri/intel/intel_fbo.c
|
4725ba03cae87ddbf1fa10feaca3d42f24115f91 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Implement manual blending operation for Gen7. On Gen6, the blending necessary to blit an MSAA surface to a non-MSAA surface could be accomplished with a single texturing operation. On Gen7, the WM program must fetch each sample and blend them together manually. From the Bspec (Shared Functions/Messages/Initiating Message/Message Types/sample): [DevIVB+]:Number of Multisamples on the associated surface must be MULTISAMPLECOUNT_1. This patch implements the manual blend operation. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
8b1f467cce34340637e9baca4847fc5273cf7541 |
08-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Modify blorp code to account for Gen7 MSAA layouts. Since blorp uses color textures and render targets to do all its work (even when blitting stencil and depth data), it always has to configure the Gen7 GPU to use the new "sliced" MSAA layout. However, when blitting stencil or depth data, the actual MSAA layout is interleaved (as in Gen6). Therefore, blorp has to do extra coordinate transformation work to account for the interleaving manually. This patch causes blorp to perform the necessary extra coordinate transformations. It also modifies the blorp SURFACE_STATE setup code for Gen7, so that it does not try to correct the surface width and height to account for MSAA, since "sliced" MSAA layout doesn't affect the surface width or height. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/gen7_blorp.cpp
|
31f3dfd59b6687214402c395ee03e7498fd6c79a |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Validate Gen7 surface state constraints. When a Gen7 SURFACE_STATE is configured for MSAA, a number of additional constaints come in to play. This patch adds a function gen7_check_surface_setup() which verifies that all of those constraints are met. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_wm_surface_state.c
|
455ac562722f60ac9fb0c3d3c697fa339fa011ad |
08-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Properly handle sliced layout for Gen7. Starting in Gen7, there are two possible layouts for MSAA surfaces: - Interleaved, in which additional samples are accommodated by scaling up the width and height of the surface. This is the only layout available in Gen6. On Gen7 it is used for depth and stencil surfaces only. - Sliced, in which the surface is stored as a 2D array, with array slice n containing all pixel data for sample n. On Gen7 this layout is used for color surfaces. The "Sliced" layout has an additional requirement: it must be used in ARYSPC_LOD0 mode, which means that the surface doesn't leave any extra room between array slices for miplevels other than 0. This patch modifies the surface allocation functions to use the correct layout when allocating MSAA surfaces in Gen7, and to set the array offsets properly when using ARYSPC_LOD0 mode. It also modifies the code that populates SURFACE_STATE structures to ensure that ARYSPC_LOD0 mode is selected in the appropriate circumstances. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
0e11b2c5afca456e19b1c29889dde449a4072ede |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Add defines for Gen7. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
|
b08545199ac8a01392a805f158d22cc03060a6fb |
10-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Enable blorp blits on Gen7. Gen7 support for blorp (blits using the render bath) now works for non-MSAA purposes. This patch enables it. Since blorp operations re-use the logic for HiZ ops, this required adding a case to the switch statement in gen7_blorp_emit_wm_config(), to allow for the case where no HiZ op is being performed. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/gen7_blorp.cpp
|
1c73c705fadf164d61003415e3380f2d06f2e7b3 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Implement proper texel fetch messages for Gen7. On Gen6, texel fetch is always accomplished using the SAMPLE_LD message, which accepts arguments (u, v, r, lod, si). On Gen7, there are two* texel fetch messages: SAMPLE_LD for non-MSAA surfaces, taking arguments (u, lod, v), and SAMPLE_LD2DSS for MSAA surfaces, taking arguments (si, u, v). *Technically, there are other texel fetch messages, but they are used for "compressed" MSAA surfaces, which we don't yet support. This patch adds the proper message types and argument orderings for Gen7. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_defines.h
|
f2cdfa4c8522b6b0f5d1b0a6c42ed39e0d47c876 |
10-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Use 16 pixel dispatch on Gen7. Gen7 hardware requires us to enable at least one WM dispatch mode, even if there is no program being dispatched to. When this code was only used for HiZ operations (which don't use a WM program), we used 32-pixel dispatch, because it didn't matter. But blit programs are compiled for 16-pixel dispatch. So just enable 16-wide dispatch unconditionally. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> v2: Enable 16-wide dispatch unconditionally rather than add the unnecessary complication of using 32-wide dispatch when there is no WM program.
rivers/dri/i965/gen7_blorp.cpp
|
f7df7917e050b90df69c888e1f2ea0482ddd6b1d |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Allocate space for push constants on Gen7. On Gen7, push constants for shader programs are stored in the URB, so blorp code needs to set aside space for them. This was previously unnecessary because blorp code was based on HiZ operations, which don't require any shaders. This patch adds a call from gen7_blorp_exec() to gen7_allocate_push_constants(), to ensure that push constants are assigned the correct location in the URB. It also extracts a new function gen7_emit_urb_state() from gen7_upload_urb(), which is re-used by gen7_blorp_emit_urb_config() to ensure that the URB regions used by all the pipeline stages leave room for the push constants. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_urb.c
|
de9752a4e59e869e905cb898c4a0dbe539c43c8d |
23-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Set the dynamic state upper bound. We know from previous bug fixes (commits c25e5300cba7628b58df93ead14ebc3cc32f338c and b2ace06cbbbb1021e2d7ace12a985c6406821939) that texture border color doesn't work if the dynamic state upper bound is set to 0. Although the blorp engine doesn't make use of texture borders, it seems like we ought to err on the safe side and set this value properly. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_blorp.cpp
|
f77959b2c9053b1673418edfe5d74c9b139b2555 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Factor gen6_blorp_emit_batch_head into separate functions. This patch separates out the portions of gen6_blorp_emit_batch_head() that emit 3DSTATE_MULTISAMPLE, 3DSTATE_SAMPLE_MASK, and STATE_BASE_ADDRESS. This paves the way for making the blorp code work on Gen7, where additional command packets (3DSTATE_PUSH_CONSTANT_ALLOC_VS and 3DSTATE_PUSH_CONSTANT_ALLOC_PS) need to be emitted before 3DSTATE_MULTISAMPLE. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
34a5f12e35dd4a5aff6683a8286d4582ba17df14 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Use MSDISPMODE_PERSAMPLE rendering when necessary This patch modifies the "blorp" WM program so that it can be run in MSDISPMODE_PERSAMPLE (which means that every single sample of a multisampled render target is dispatched to the WM program, not just every pixel). Previously we were using the ugly hack of configuring multisampled destination surfaces as single-sampled, and generating sample indices other than zero by swizzling the pixel coordinates in the WM program. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
233c207e9e477b6b0a5c6705e727129b92989073 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Emit sample index in SAMPLE_LD message when necessary This patch modifies the function brw_blorp_blit_program::texel_fetch() to emit the SI (sample index) argument to the SAMPLE_LD message when reading from a sample index other than zero. Previously we were using the ugly hack of configuring multisampled source surfaces as single-sampled, and accessing sample indices other than zero by swizzling the texture coordinates in the WM program. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp_blit.cpp
|
665dc82bdc0e83854dd0f700ec264021bfb5cb39 |
09-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Generalize sampling code in preparation for Gen7 This patch generalizes the function brw_blorp_blit_program::texture_lookup() so that it prepares the arguments to the sampler message based on a caller-provided array rather than assuming the argument order is always (u, v). This paves the way for the messages we will need to use in Gen7, which use argument orders (u, lod, v) and (si, u, v) (si=sample index). It will also will allow us to read from arbitrary sample indices on Gen6, by supplying the arguments (u, v, r, lod, si) to the SAMPLE_LD message instead of just (u, v). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
|
52fcc36f11b12236eb4f960b65b17b047cf32efa |
11-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/msaa: Expand odd-sized MSAA surfaces to account for interleaving pattern. Gen6 MSAA buffers (and Gen7 MSAA depth/stencil buffers) interleave MSAA samples in a complex pattern that repeats every 2x2 pixel block. Therefore, when allocating an MSAA buffer, we need to make sure to allocate an integer number of 2x2 blocks; if we don't, then some of the samples in the last row and column will be cut off. Fixes piglit tests "EXT_framebuffer_multisample/unaligned-blit {2,4} color msaa" on i965/Gen6. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
88128516d43be5d25288ff5b64db63cda83c04b3 |
24-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Gut the separate OpenGL ES extension enabling. We should just set the bits of functionality that we support; the GL/ES1/ES2 flags in extensions.c will take care of advertising the appropriate extensions for the current API. This enables the GL_EXT_texture_compression_dxt1 extension on ES1/ES2 when libtxc_dxtn is installed or the force_s3tc driconf option is set. The main extension code set this up properly, but the ES-specific code failed to do so. Otherwise, the extension strings reported by es1_info, es2_info, and glxinfo all remain the same. This patch manually disables the ARB_framebuffer_object bit on ES to preserve the behavior of 1c0f5d8324c4db2720247989ddc4a45315b55a85. v2: Rebase, fix the i915 Makefile, and unconditionally set the OES_draw_texture bit as core Mesa will only apply it to ES1 now. Tested-by: Daniel Charles <daniel.charles@intel.com> [v1] Reviewed-by: Chad Versace <chad.versace@linux.intel.com> [v1] Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/Makefile.sources
rivers/dri/i915/intel_extensions_es.c
rivers/dri/i965/Makefile.sources
rivers/dri/i965/intel_extensions_es.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es.c
|
d4667516b6f7ca7ebc8a2e74611c76643aff9a3f |
16-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove the OES_draw_texture extension from ES2. This extension appears to be written against ES 1.0. In ES 2.0, you really want to be using FBOs instead. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
ain/extensions.c
|
dc501452534e6e004acf3206a581232971c00cd0 |
13-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: use cut index to handle primitive restart when possible If the primitive restart index and the primitive type can be handled by the cut index feature, then use the hardware to handle the primitive restart feature. The VBO module's software handling of primitive restart is used as a fall back. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_primitive_restart.c
|
f9389fbfb204995a650047949c48ab2b2703bfcf |
13-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: add flag to enable cut_index When brw->prim_restart.enable_cut_index is set, the cut index will be enabled when uploading index_buffer commands. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
|
df7d1323de08274c816a8e5fab7e99b6f00f4fa3 |
13-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
i965: create code path to handle primitive restart in hardware For newer hardware we disable the VBO module's software handling of primitive restart. We now handle primitive restarts in brw_handle_primitive_restart. The initial version of brw_handle_primitive_restart simply calls vbo_sw_primitive_restart, and therefore still uses the VBO module software primitive restart support. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_primitive_restart.c
rivers/dri/intel/intel_extensions.c
|
49da2590c24529e44de9993e2981cc970cf0135b |
09-Apr-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use initializers to configure samplers Now that the linker handles initializers of samplers just like any other uniform, a bunch of this annoying code is unnecessary. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
75dac69262481ac26a823a9d06f7f138ec56b01f |
09-Apr-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Don't set initial uniform values again This work is now done by the linker, so we don't need to keep doing it here. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
c343b980d615bb3a159e0adc6e7597f2f9865323 |
09-Apr-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Propagate initial values in _mesa_associate_uniform_storage The linker may have set initial values for uniforms. Propagate these values to the driver's backing storage when it is first associated. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
b610881317a7775a7ffe5f032099d8b2dc45eff0 |
10-Apr-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Initialize samplers to 0, propagate sampler values to the gl_program The spec requires that samplers be initialized to 0. Since this differs from the 1-to-1 mapping of samplers to texture units assumed by ARB assembly shaders (and the gl_program structure), be sure to propagate this date from the gl_shader_program to the gl_program. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> CC: Vadim Girlin <vadimgirlin@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49088
ain/uniforms.c
|
29362875f2613ad87abe7725ce3c56c36d16cf9b |
25-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Add support for GL_ARB_blend_func_extended. v2: Add support for gen6, and don't turn it on if blending is disabled. (fixes GPU hang), and note it in docs/GL3.txt Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/intel/intel_extensions.c
|
175ad8050e3337f7065306017ea4eb8eae599f6d |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Keep a computed value for dual source blend func with each buffer. The i965 driver needed this as well for hardware setup, so instead of duplicating the logic, just save it off. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Dave Airlie <airlied@redhat.com>
ain/blend.c
ain/context.c
ain/mtypes.h
|
68216f35814ab8d292f37b8c0fa0a5f181b7f20d |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Add support for fast depth clears. Improves citybench high-res performance 3.0% +- 0.4%, n=10. Improves Lightsmark 1024x768 performance 0.74% +/- 0.20% (n=78). No significant difference on openarena (n=5, didn't fast clear) or nexuiz (n=3). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_clear.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_mipmap_tree.h
|
5b248e598293e7c21257d35904294da4c8f2da58 |
23-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add CC viewport state setup to blorp code. While it doesn't have the same warning in the simulator as in gen7, let's emit it out of paranoia. We wouldn't want our resolves of some previous clear to get clamped to some current clamping value. Suggested-by: pretty much everyone
rivers/dri/i965/gen6_blorp.cpp
|
39a91be20d0592af4f93458364d027b7ade6b2ba |
21-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Add CC viewport setup to blorp code. When doing fast clears, a fulsim warning said that the batch was being emitted without the viewport set up. While the fast clear pass I was looking at doesn't use the clear value, the later resolves which also didn't set up the vieport would trigger the same. It's not obvious from the error message whether it meant "fast clear value gets clamped to something you haven't defined" or "fast clear value doesn't get clamped, and I saw it was out of the current (uninitialized) range, and you probably wanted it clamped to that (uninitialized) range". Be paranoid and assume the first case. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_blorp.cpp
|
54308f78a2f8675bfd854761f9cd8a6b71e119d0 |
21-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop a layer of indirection in doing HiZ resolves. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_blorp.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_blorp.h
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_mipmap_tree.c
|
072634da4a6ee5eafb5f5df26ca5f988209e6d40 |
21-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Replace intel_need_resolve with the hiz ops it maps to. Having this enum separate caused us to need a bunch of helper functions to translate to the op to be executed. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_resolve_map.c
rivers/dri/intel/intel_resolve_map.h
|
5b226ad603302554f38e6b12a93bd2cf443d4b56 |
21-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add an interface for doing hiz ops from C code. This required moving gen6_hiz_op, and I put it in intel_resolve_map.h for the next commit. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_resolve_map.h
|
7da9795070b1af746ab85692d4b65dbe8c4f2d76 |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Rename the clear function for this driver. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
3e1656567c3d2abb91f8169806d6083e80c0a673 |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Simplify the remaining clear logic by relying on the meta clear. The GLSL clear path doesn't need any buffer presence checks, since those are already handled in the normal drawing path code. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
7c3e88f1fc2aa9d3740163bcf8718e6d8709a204 |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Switch blit color clears to tri clears on gen4/5. Our understanding is that the 3D engine is supposed to be faster anyway. We used to have more overhead in our tri clear path than we do today, which would have led to this choice. But given that we almost always see a depth clear along with a color clear, the path was hardly exercised anyway. Also, the color mask logic was broken in the presence of GL_EXT_draw_buffers2's per-buffer colormask. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
fa15b0f3f05ed5b6e96e9eda21d75ed7e8f1466f |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead logic for non-tri depth/stencil clears. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
a3967ff441e95289a0a33a4a02ab7cd15b010a51 |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
i965: We always have GLSL, so always use it for tri clears. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_clear.c
|
03c9044c2edf8301779fe5d0173d7e6d1e7ee1c2 |
21-May-2012 |
Eric Anholt <eric@anholt.net> |
i915: Drop gen4+ code from the forked clear code. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i915/intel_clear.c
|
11892ea986b5fdad345ce7c09f97e0389e546509 |
18-May-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fork the intel_clear.c file between i915 and i965. This logic is wasted on i965 when we want to just always do GLSL tri clears. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i915/intel_clear.c
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_clear.c
rivers/dri/i965/intel_clear.c
rivers/dri/intel/intel_clear.c
|
c91b4edff978ee19afb4fe38ad69efc52db90691 |
23-May-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
st/mesa: set stObj->lastLevel in guess_and_alloc_texture Fixes lockups/asserts with depthstencil-render-miplevels tests and r600g. Should also fix https://bugs.freedesktop.org/show_bug.cgi?id=50033 NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
ea8e854b2cefc3f3590b6c19e6108a471be951ba |
07-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Completely annotate the batch bo when aub dumping. Previously, when the environment variable INTEL_DEBUG=aub was set, mesa would simply instruct DRM to start dumping data to an .aub file, but we would not provide DRM with any information about the format of the data in various buffers. As a result, a lot of the data in the generate .aub file would be unannotated, making further data analysis difficult. This patch causes the entire contents of each batch buffer to be annotated using the data in brw->state_batch_list (which was previously used only to annotate the output of INTEL_DEBUG=bat). This includes data that was allocated by brw_state_batch, such as binding tables, surface and sampler states, depth/stencil state, and so on. The new annotation mechanism requires DRM version 2.4.34. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.h
|
1b87a93983c4f217bf7cb4e422de39e418291e39 |
06-May-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: When AUB dumping, flush before emitting final bitmap command. When we are generating an AUB dump, we make a final call to aub_dump_bmp() as the context is being destroyed, to ensure that any rendering performed before the application exits can be seen during a simulation run. However, we were doing this before flushing the batch buffer; as a result simulation runs would not always see the effect of all rendering commands. This patch flushes the batch buffer just before making the final call to aub_dump_bmp(), to ensure that all rendering is properly captured in the final bitmap.
rivers/dri/intel/intel_context.c
|
239792fb221556fbc0da6c046541ea078b6944db |
18-May-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use pipe_sampler_view_release() in st_destroy_context_priv() Fixes another case of sampler views being created by one context, shared by another, then deleted by the first, leaving a dangling pipe context pointer. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_context.c
|
c9cb9cf0502f4ca179ed1b4dd763c94912843d38 |
18-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use F_TO_I() instead of IROUND() Use it where performance matters more and the exact method of float->int conversion/rounding isn't terribly important. There should no net change here since F_TO_I() is the new name of the old IROUND() function. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/macros.h
ain/pack.c
ain/pixeltransfer.c
rogram/prog_execute.c
|
699c1894eea6a42a747ebbc3974bf0abf3d1dd88 |
18-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: reimplement IROUND(), add F_TO_I() The different implementations of IROUND() behaved differently and in the case of fistp, depended on the current x86 FPU rounding mode. This caused some tests like piglit roundmode-pixelstore and roundmode-getintegerv to fail on 32-bit x86 but pass on 64-bit x86. Now IROUND() always rounds to the nearest integer (away from zero). The new F_TO_I function converts a float to an int by whatever means is fastest. We'll use this where we're more concerned with performance and not too worried to how the conversion is done. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/imports.h
|
31d59c78f01925c199fd3a49a27718b0659bbaf4 |
18-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix Z32_FLOAT -> uint conversion functions The IROUND converted all arguments to 0 or 1. That's not what we wanted. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/format_unpack.c
|
c3991e1c57d3e09fd17f0bd868b73b35cca96d6f |
18-May-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused pipe variable
tate_tracker/st_draw.c
|
6792969cbc0d233942b15285e0fa84e6602733c2 |
17-May-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: added st_print_current_vertex_program(), for debugging
tate_tracker/st_program.c
tate_tracker/st_program.h
|
0161691f3518db310411c5f02c05aa639050f129 |
17-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add GLSL_REPORT_ERRORS debug flag If the MESA_GLSL env var contains "errors", GLSL compilation and link errors will be reported to stderr. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/shaderapi.c
|
1c333745f3dc1e0304295684a8e77af45fe2b40e |
16-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add some comments on shaderapi.c functions
ain/shaderapi.c
|
315140969dd47de0817662f0ec50b6453fdb9ebe |
18-May-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Remove undefinition of _P symbol. IRIX isn't used anymore. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
|
602913192db1beadd9cc4252ec9ec633cfe7a21b |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
state_tracker: remove sw_primitive_restart from st_context The VBO module now can handle primitive restart in software if required. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_context.h
tate_tracker/st_extensions.c
|
eef193560e5d59b1e38e01e2387e4b1897e05216 |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
state_tracker: remove software handling of primitive restart The VBO module now can handle primitive restart in software if required. Therefore this support is no londer required. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_draw.c
|
f16b39f05ce5aa2bcffff1bba01885d0061d9e63 |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
state_tracker: set PrimitiveRestartInSoftware if needed If the PIPE_CAP_PRIMITIVE_RESTART screen param is not set, then enable PrimitiveRestartInSoftware to enable software primitive restart support in the VBO module. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_extensions.c
|
862667b6d96022d75046c765aa1e9d8846b9d313 |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
vbo: use software primitive restart in the VBO module When PrimitiveRestartInSoftware is set, the VBO module will handle primitive restart scenarios before calling the vbo->draw_prims drawing function. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
bo/vbo_exec_array.c
|
fc22fde9d8ba633f9f13ea0c46baa1c826d1377f |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add PrimitiveRestartInSoftware to gl_context.Const If set, then the VBO module will handle all primitive restart scenarios before calling the driver draw_prims. Software primitive restart support is disabled by default. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
ain/mtypes.h
|
bc8e0f5b0ff82c919ed1ee67e4fad55705937b30 |
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
vbo: add software primitive restart support vbo_sw_primitive_restart implements primitive restart in software by splitting primitive draws apart. This is based on similar support in mesa/state_tracker/st_draw.c. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Conscript
ources.mak
bo/vbo.h
bo/vbo_primitive_restart.c
|
5a827d9a2b5d698fed98a5d62ff0292b48bdd6c7 |
14-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Check for framebuffer completeness before looking at the rb. Otherwise, an incomplete framebuffer could have a NULL _ColorReadBuffer and we'd deref that. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/readpix.c
|
8b7ba92605c0f21cf6292a1bc2e16e379c0b3be8 |
14-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix assertion failure when a cube face is not present. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texobj.c
|
aa02884c4fdcbc20cf7ac89ec50f9d6c8d1e1682 |
11-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix up swizzle for dereference_array of matrices. Fixes assertion failure in piglit: vs-mat2-struct-assignment.shader_test vs-mat2-array-assignment.shader_test Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vec4_visitor.cpp
|
ef691885c92abcd085d89fc30feeda87961773ab |
10-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Throw error on glGetActiveUniform inside Begin/End. Fixes piglit GL_ARB_shader_objeccts/getactiveuniform-beginend. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniform_query.cpp
|
f220f73b9c5aca16ca21ea8bbbbf8718703b12cf |
08-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Do more register coalescing by using the interference graph. By using the live variables code for determining interference, we can handle coalescing in the presence of control flow, which the other register coalescing path couldn't. Total instructions: 207184 -> 206990 74/1246 programs affected (5.9%) 33993 -> 33799 instructions in affected programs (0.6% reduction) There is a newerth shader that loses out, because of some extra MOVs that now get their dead-code nature obscured by coalescing. This should be fixed by doing better at dead code elimination.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
07323a80a258372875e61f73a4f745374bea6bda |
13-May-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data
tate_tracker/st_cb_bufferobjects.c
|
6335e0b0738a6e466f0b712e30ad9fe506f67a6c |
15-May-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/blorp: Move exec() out of brw_blorp_params. No functional change. This patch replaces the brw_blorp_params::exec() method with a global function brw_blorp_exec() that performs the operation described by the params data structure. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
|
19e9b24626c2b9d7abef054d57bb2a52106c545b |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6: Initial implementation of MSAA. This patch enables MSAA for Gen6, by modifying intel_mipmap_tree to understand multisampled buffers, adapting the rendering pipeline setup to enable multisampled rendering, and adding multisample resolve operations to brw_blorp_blit.cpp. Some preparation work is also included for Gen7, but it is not yet enabled. MSAA support is still fairly preliminary. In particular, the following are not yet supported: - Fully general blits between MSAA and non-MSAA buffers. - Formats other than RGBA8, DEPTH24, and STENCIL8. - Centroid interpolation. - Coverage parameters (glSampleCoverage, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLE_COVERAGE_INVERT). Fixes piglit tests "EXT_framebuffer_multisample/accuracy" on i965/Gen6. v2: - In intel_alloc_renderbuffer_storage(), quantize the requested number of samples to the next higher sample count supported by the hardware. This ensures that a query of GL_SAMPLES will return the correct value. It also ensures that MSAA is fully disabled on Gen7 for now (since Gen7 MSAA support doesn't work yet). - When reading from a non-MSAA surface, ensure that s_is_zero is true so that we won't try to read from a nonexistent sample.
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_multisample_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
506d70be21cd3469118de89297cba0c0f709c1ae |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Add code to perform blits on the render path ("blorp"). This patch expands the "blorp" component to be able to perform blits as well as HiZ resolves. The new blitting code is located in brw_blorp_blit.cpp. This includes the necessary fragment shader code to look up pixels in the source buffer (which is configured as a texture) and output them to the destination buffer (which is configured as the render target). Most of the time the fragment shader code is simple and straightforward, since it merely has to apply a coordinate offset, read from the texture, and write to the render target. However, in the case of blitting stencil buffers, things are more complicated, since the GPU stores stencil data using W tiling, and W tiling is not supported for textures or render targets. So, we set up the stencil buffers as Y tiled, and emit fragment shader code that adjusts the coordinates to account for the difference between W and Y tiling. Furthermore, since a rectangular region in W tiling does not necessarily correspond to a rectangular region in Y tiling, we widen the rectangle primitive to the nearest tile boundary and have the fragment shader "kill" any pixels that don't fall inside the actual desired destination rectangle. All of this is a necessary prerequisite for implementing MSAA, since we'll need to be able to blit between multisample color, depth, and stencil buffers and their non-multisampled counterparts, and none of the existing blitting mechanisms support multisampling. In addition, the new blitting code should speed up operations where we previously fell back to software rasterization, such as blitting of stencil buffers. The current fallback sequence is: first we try to do a blit using the hardware blitting engine. If that fails we try to do a blit using the render path. If that also fails then we do the blit using a meta-op (which may or may not fall back to software rasterization). Note that blitting using the render path has some limitations at the moment: it only supports a few formats, and it doesn't support clipping or scissoring. These limitations will be addressed in future patch series. v2: - Add the code that configures the WM program to gen{6,7}_emit_wm_config() and gen7_emit_ps_config() rather than creating separate ...enable() functions. - Call intel_prepare_render before determining which miptrees we are blitting from/to, because it may cause miptrees to be reallocated. - Allow the blit to mirror X and/or Y coordinates. - Disable blorp blits on Gen7 for now, since they aren't working yet.
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/brw_blorp_blit.cpp
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/intel/intel_fbo.c
|
36e34134184e72532f2e6a2b9438f72284ac3057 |
27-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Expose surface setup internals for use by blits. This patch exposes the functions brw_get_surface_tiling_bits and gen7_set_surface_tiling, so that they can be re-used when setting up surface states in gen6_blorp.cpp and gen7_blorp.cpp. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
586b3894744819071bb1ad56383e3c0d9e5b7e1f |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: split gen{6,7}_blorp_exec functions into manageable chunks. This patch splits up the gen6_blorp_exec and gen7_blorp_exec functions, which were very long, into simple component functions. With a few exceptions, there is one function per state packet. This will allow blit functionality to be added without significantly complicating the code. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> v2: Rename the functions gen{6,7}_emit_wm_disable() to gen{6,7}_emit_wm_config() (since the WM is not actually disabled during HiZ ops; it simply doesn't have a program). Also, on gen7, split out the configration of 3DSTATE_PS to a separate function gen7_emit_ps_config().
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen7_blorp.cpp
|
2c5510b71b6348b686e76ecc2c34195080d566f4 |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Parameterize HiZ code to prepare for adding blitting. This patch groups together the parameters used by the HiZ functions into a new data structure, brw_hiz_resolve_params, rather than passing each parameter individually between the HiZ functions. This data structure is a subclass of brw_blorp_params, which represents the parameters of a general-purpose blit or resolve operation. A future patch will add another subclass for blits. In addition, this patch generalizes the (width, height) parameters to a full rect (x0, y0, x1, y1), since blitting operations will need to be able to operate on arbitrary rectangles. Also, it renames several of the HiZ functions to reflect the expanded role they will serve. v2: Rename brw_hiz_resolve_params to brw_hiz_op_params. Move gen{6,7}_blorp_exec() functions back into gen{6,7}_blorp.h. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_blorp.cpp
rivers/dri/i965/brw_blorp.h
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_blorp.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_blorp.h
|
610910a66d1a97ca51ad8a003bdeadfe9563d721 |
05-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement guardband clipping on Ivybridge. Improves performance in Citybench: - 320x240: 9.19589% +/- 0.557621% - 1280x480: 3.90797% +/- 0.774429% No apparent difference in OpenArena. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_viewport_state.c
|
85cd30406ff8414bc6ac6de1064d059a4c564160 |
05-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement guardband clipping on Sandybridge. Improves performance in Citybench: - 320x240: 19.8008% +/- 0.937818% - 1280x480: 6.53856% +/- 0.859083% No apparent difference in OpenArena nor Xonotic. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_viewport_state.c
|
9e9ae280e215988287b0f875c81bc2e146b9f5dd |
04-May-2012 |
Eric Anholt <eric@anholt.net> |
Revert "i965/fs: Jump from discard statements to the end of the program when done." This reverts commit 31866308fcf989df992ace28b5b986c3d3770e90. Fixes piglit glsl-fs-discard-exit-3 and unigine tropics rendering. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
|
f42cdc7984cb1db4a13f87daf60d374d19eb9b0a |
08-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Remove the requirement of no dead code for interference checks. This will be convenient when I want to comment out optimization code to see the raw program being optimized, but more importantly will let the interference check be used during optimization. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_live_variables.cpp
|
d7787adda8006506545256547d8d590a282487af |
08-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for copy propagation. We could do more by handling abs/negate and non-GRF sources, but this is a good start. Improves tropics performance 0.30% +/- .17% (n=43). shader-db results: Total instructions: 208032 -> 207184 60/1246 programs affected (4.8%) 23286 -> 22438 instructions in affected programs (3.6% reduction) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_cfg.cpp
rivers/dri/i965/brw_fs_copy_propagation.cpp
|
f7a71e2570053205eb603aa04b8c52d4f54d8e4c |
08-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: When doing no work for live interval calculation, do no allocation. When I had a bug causing the backend to never finish optimizing, it also sent me deep into swap. This avoids extra memory allocation per trip through optimization, and thus may reduce the peak memory allocation of the driver even in the success case. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_live_variables.cpp
|
206eca631b596154e8a9bf6a2d0de9fdb644b3cc |
10-May-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Set tile_x/y to 0 in the no-stencil case. Fixes compiler warnings.
rivers/dri/i965/gen7_misc_state.c
|
1e188f2daef1ae31224d2429bcc1fab75c81fb36 |
10-May-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix signed/unsigned comparison warnings.
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
1c1040dcf02898fe99316ea2bf5482a5bb2356cf |
10-May-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix compile warning from 7b6424143d8bf572cadd46adcbaa91d2a5598635
rivers/dri/intel/intel_tex_image.c
|
cdca6e3c9f8fbcdf66bb01865bc6c8d6ccdbbb19 |
10-May-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix compiler warning from 3cd7bee48f7caf7850ea64d40f43875d4c975507
rivers/dri/intel/intel_pixel_bitmap.c
|
a4e9b5a768d2d9e59b6054148afb6a6b94c0e4e6 |
11-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add a local common subexpression elimination pass. Total instructions: 18210 -> 17836 49/163 programs affected (30.1%) 12888 -> 12514 instructions in affected programs (2.9% reduction) This reduces Lightsmark's "Scale down filter" shader from 395 instructions to 283, a whopping 28%. It also reduces register pressure significantly: the SIMD8 program now uses 29 registers instead of 101, giving us more than enough room for a SIMD16 program. v2: Add && !inst->conditional_mod to the "skip some instructions" check. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_cse.cpp
|
d1029f99884e2ba7f663765274cd6bdb4f82feed |
11-May-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Use a const reference in fs_reg::equals instead of a pointer. This lets you omit some ampersands and is more idiomatic C++. Using const also marks the function as not altering either register (which was obvious, but nice to enforce). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
bf78806133f10d187e016e0d689f02f2b29d5ea0 |
07-May-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: print the Git SHA1 in GL_VERSION for ES1 and ES2. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/version.c
|
60e8a4944081b42127b3de11b599f417c091307a |
07-May-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
mesa: GLES specifies restrictions on uniform matrix transpose. GL_INVALID_VALUE is generated if transpose is not GL_FALSE. http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/uniform_query.cpp
|
666004148353fa46e818772e496f6d09bd979737 |
10-May-2012 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau/vieux: finish != flush, how about we do that.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
|
93bcf7825d023d3d7108bc47a7a0929338bba6b9 |
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add DEBUG_INCOMPLETE_TEXTURE, DEBUG_INCOMPLETE_FBO flags Instead of having to hack the code to enable these debugging options, set them through the MESA_DEBUG env var. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/debug.c
ain/fbobject.c
ain/mtypes.h
ain/texobj.c
|
014306578be1f7aeb883e7b22eb255eda82fa011 |
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: implement DEBUG_ALWAYS_FLUSH debug option This flag has been around for a while but it wasn't actually used anywhere. Now, setting this flag causes a glFlush() to be issued after each drawing call (including glBegin/End, glDrawElements, glDrawArrays, glDrawPixels, glCopyPixels and glBitmap).
ain/drawpix.c
bo/vbo_exec_api.c
bo/vbo_exec_array.c
|
da35c2b38c1419690b6647fbc2f930cb04c6877f |
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: define DEBUG_SILENT flag, use in output_if_debug()
ain/debug.c
ain/errors.c
ain/mtypes.h
|
88cd47187c35fab89f5868d90a87a2d88232f871 |
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up the debug/verbose flag setup code Split the verbose and debug flag setup code into separate functions.
ain/debug.c
|
443195bdf897aa2146363134bc9ece167d121c97 |
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: do FLUSH_VERTICES() in _mesa_flush/finish() This was being done in the _mesa_Flush/Finish() calls but if there was an internal call to _mesa_flush/finish() the FLUSH_VERTICES() wouldn't happen. Looks like only the intel and radeon drivers made such calls in MakeCurrent().
ain/context.c
|
1bc16bf98a1b5a4cca0c0ae2a80ba7982c6e4651 |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix glMaterial / dlist bug When glColorMaterial() is used to latch glColor commands to a material attribute, glMaterial calls to change that material should become no-ops. This failed to work properly when the glMaterial call was inside a display list. This removes the Material function from the vbo_attrib_tmp.h template file. We have separate/different implementations for the "save" and "exec" cases now. NOTE: This is a candidate for the 8.0 branch.
bo/vbo_attrib_tmp.h
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
f2724905469bbcde820b9ece2e4f44a610a75a65 |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix/add error check in _mesa_ColorMaterial() _mesa_material_bitmask() will record a GL error and return 0 if face or mode are illegal. Return early in that case. NOTE: This is a candidate for the 8.0 branch.
ain/light.c
|
bb4c5d72d7c7cb1d9e7016e2c07c36875f30011a |
11-May-2012 |
Marek Olšák <maraeo@gmail.com> |
Merge branch 'gallium-userbuf' Conflicts: src/gallium/docs/source/screen.rst src/gallium/drivers/nv50/nv50_state.c src/gallium/include/pipe/p_defines.h src/mesa/state_tracker/st_draw.c
|
49468a1b2a241d5a6a1155f79b48fa6562524206 |
08-Dec-2011 |
Francisco Jerez <currojerez@riseup.net> |
st/mesa: Use local temporary registers. Local makes more sense in most places because non-inline function calls are unimplemented anyway.
tate_tracker/st_glsl_to_tgsi.cpp
|
c56918246162d9059ce914f36e8df6db0f578909 |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/hiz: Convert gen{6,7}_hiz.h to gen{6,7}_blorp.h This patch renames the gen6_hiz.h and gen7_hiz.h files to correspond to the renames of the corresponding .cpp files (see previous commit). Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_blorp.h
rivers/dri/i965/gen6_hiz.h
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_blorp.h
rivers/dri/i965/gen7_hiz.h
|
ea1274c9a6ab20a4a05371cf392953eb1d1c0f8b |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/hiz: Convert gen{6,7}_hiz.c to C++ This patch converts the files gen6_hiz.c and gen7_hiz.c to C++, in preparation for expanding the HiZ code to support arbitrary blits. The new files are called gen6_blorp.cpp and gen7_blorp.cpp to reflect the expanded role that this code will serve--"blorp" stands for "BLit Or Resolve Pass". Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/gen6_blorp.cpp
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen7_blorp.cpp
rivers/dri/i965/gen7_hiz.c
|
20b153b9ca5e57aa0e20e992347ece56388e71e4 |
26-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/hiz: Make void pointer type casts explicit Previous to this patch, gen6_hiz.c contained two implicit type casts from void * to a a non-void pointer type. This is allowed in C but not in C++. This patch makes the type casts explicit, so that gen6_hiz.c can be converted into a C++ file. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_hiz.c
|
f28a7d0e77ffbeb2a27bda132d4334b3649be3a2 |
30-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Work around differences between C and C++ scoping rules. In C++, if a struct is defined inside another struct, or its name is first seen inside a struct or function, the struct is nested inside the namespace of the struct or function it appears in. In C, all structs are visible from toplevel. This patch explicitly moves the decalartions of intel_batchbuffer to toplevel, so that it does not get nested inside a namespace when header files are included from C++. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
|
434fc8bde41f07687ad8941ceba03c4b3e0e75bb |
27-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Add extern "C" declarations to headers These declarations are necessary to allow C++ code to call C code without causing unresolved symbols (which would make the driver fail to load). Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen6_hiz.h
rivers/dri/i965/gen7_hiz.h
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.h
ain/teximage.h
|
f7665ca4fc2a7bba8378d44d38059fc5dd536223 |
05-May-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
glsl_to_tgsi: use TGSI_OPCODE_CEIL for ir_unop_ceil The implementation using FLR was buggy, the second negation could get lost.
tate_tracker/st_glsl_to_tgsi.cpp
|
f939776cb2372a3427784f88d34bf14c18a5a212 |
02-May-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: fix wrong cube/3D texture layout Fix wrong cube/3D texture layout for the tailing levels whose width or height is smaller than the align unit. From 965 B-spec http://intellinuxgraphics.org/VOL_1_graphics_core.pdf at page 135: All of the LOD=0 q-planes are stacked vertically, then below that, the LOD=1 qplanes are stacked two-wide, then the LOD=2 qplanes are stacked four-wide below that, and so on. Thus we should always inrease pack_x_nr, which results to the pitch of LODn may greater than the pitch of LOD0. So we should refactor mt->total_width when needed. This would fix the following webgl test case on all gen4 platforms: conformance/textures/texture-size-cube-maps.html NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_tex_layout.c
|
c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
vbo: add some comments
bo/vbo_save.c
bo/vbo_save_api.c
|
ad5e3609d4efd320dae87c3178f191ee0a3ce4ed |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove needless casts in save_EdgeFlag()
ain/dlist.c
|
2428de1c501f75453248611edd6f717285d3156d |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-ups in dlist material code
ain/dlist.c
|
b13ecbadeae4fc69fe01454e01059d3affa05215 |
08-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error strings in dlist code
ain/dlist.c
|
c5e473fbe25b20cb27aac44ff6e269701abd33a8 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add gl_context::NewDriverState and use it for vertex arrays The vbo module recomputes its states if _NEW_ARRAY is set, so it shouldn't use the same flag to notify the driver. Since we've run out of bits in NewState and NewState is for core Mesa anyway, we need to find another way. This patch is the first to start decoupling the state flags meant only for core Mesa and those only for drivers. The idea is to have two flag sets: - gl_context::NewState - used by core Mesa only - gl_context::NewDriverState - used by drivers only (the flags are defined by the driver and opaque to core Mesa) It makes perfect sense to use NewState|=_NEW_ARRAY to notify the vbo module that the user changed vertex arrays, and the vbo module in turn sets a driver-specific flag to notify the driver that it should update its vertex array bindings. The driver decides which bits of NewDriverState should be set and stores them in gl_context::DriverFlags. Then, Core Mesa can do this: ctx->NewDriverState |= ctx->DriverFlags.NewArray; This patch implements this behavior and adapts st/mesa. DriverFlags.NewArray is set to ST_NEW_VERTEX_ARRAYS. Core Mesa only sets NewDriverState. It's the driver's responsibility to read it whenever it wants and reset it to 0. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/context.c
ain/mtypes.h
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
bo/vbo_context.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
50f7e75f9e945cfbb2ae868cc961a2205a0b6e73 |
23-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: move gl_client_array*[] from vbo_draw_func into gl_context In the future we'd like to treat vertex arrays as a state and not as a parameter to the draw function. This is the first step towards that goal. Part of the goal is to avoid array re-validation for every draw call. This commit adds: const struct gl_client_array **gl_context::Array::_DrawArrays. The pointer is changed in: * vbo_draw_method * vbo_rebase_prims - unused by gallium * vbo_split_prims - unused by gallium * st_RasterPos Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/nouveau/nouveau_vbo_t.c
ain/mtypes.h
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
nl/t_draw.c
nl/tnl.h
bo/vbo.h
bo/vbo_context.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
a7ac9c9c7dc7401ca6143d1e7476df5e3c2758b7 |
23-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: move vbo_draw_method into vbo_context.h I'll need vbo_context in that function soon. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_save_draw.c
|
714b4f6184db84a738cf2d063980f0e19ab03b4b |
26-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/Gen7: Work around GPU hangs due to misaligned depth coordinate offsets. In i965 Gen7, Mesa has for a long time used the "depth coordinate offset X/Y" settings (in 3DSTATE_DEPTH_BUFFER) to cause the GPU to render to miplevels other than 0. Unfortunately, this doesn't work, because these offsets must be aligned to multiples of 8, and miplevels in the depth buffer are only guaranteed to be aligned to multiples of 4. When the offsets aren't aligned to a multiple of 8, the GPU sometimes hangs. As a temporary measure, to avoid GPU hangs, this patch smashes the 3 LSB's of "depth coordinate offset X/Y" to 0. This results in incorrect rendering to mipmapped depth textures, but that seems like a reasonable stopgap while we figure out a better solution. Avoids GPU hangs in piglit test "depthstencil-render-miplevels" at texture sizes that are not powers of 2. Reviewed-by: Chad Verace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_hiz.c
rivers/dri/i965/gen7_misc_state.c
|
a683012a80a3408b3b71f22b2a97d9eaaac11a46 |
26-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/Gen6: Work around GPU hangs due to misaligned depth coordinate offsets. In i965 Gen6, Mesa has for a long time used the "depth coordinate offset X/Y" settings (in 3DSTATE_DEPTH_BUFFER) to cause the GPU to render to miplevels other than 0. Unfortunately, this doesn't work, because these offsets must be aligned to multiples of 8, and miplevels in the depth buffer are only guaranteed to be aligned to multiples of 4. When the offsets aren't aligned to a multiple of 8, the GPU sometimes hangs. As a temporary measure, to avoid GPU hangs, this patch smashes the 3 LSB's of "depth coordinate offset X/Y" to 0. This results in incorrect rendering to mipmapped depth textures, but that seems like a reasonable stopgap while we figure out a better solution. (Note that we have only ever observed this GPU hang on Gen6 when HiZ is enabled, so another possible stopgap would be to disable HiZ). Avoids GPU hangs in piglit test "depthstencil-render-miplevels" at texture sizes that are not powers of 2. Reviewed-by: Chad Verace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_hiz.c
|
b9819a027d08b38abb380526bed9f2908ffeb507 |
14-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
fbo: Only reuse depth/stencil attachments if the parameters match. When the user attaches a texture to one of the depth/stencil attachment points (GL_STENCIL_ATTACHMENT or GL_DEPTH_ATTACHMENT), we check to see if the same texture is also attached to the other attachment point, and if so, we re-use the existing texture attachment. This is necessary to ensure that if the user later queries what is attached to GL_DEPTH_STENCIL_ATTACHMENT, they will not receive an error. If, however, the user attaches buffers to the two different attachment points using different parameters (e.g. a different miplevel), then we can't re-use the existing texture attachment, because it is pointing to the wrong part of the texture. This might occur as a transitory condition if, for example, if the user attached miplevel zero of a texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT, rendered to it, and then later attempted to attach miplevel one of the same texture to GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT. This patch causes Mesa to check that GL_STENCIL_ATTACHMENT and GL_DEPTH_ATTACHMENT use the same attachment parameters before attempting to share the texture attachment. On i965 Gen6, fixes piglit tests "texturing/depthstencil-render-miplevels 1024 depth_stencil_shared" and "texturing/depthstencil-render-miplevels 1024 stencil_depth_shared". Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
ain/fbobject.c
|
3ec0e55b63db3c1067f3bbf4563beb3b98a19288 |
15-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix mipmap offsets for HiZ and separate stencil buffers. When rendering to a miplevel other than 0 within a color, depth, stencil, or HiZ buffer, we need to tell the GPU to render to an offset within the buffer, so that the data is written into the correct miplevel. We do this using a coarse offset (in pages), and a fine adjustment (the so-called "tile_x" and "tile_y" values, which are measured in pixels). We have always computed the coarse offset and fine adjustment using intel_renderbuffer_tile_offsets() function. This worked fine for color and combined depth/stencil buffers, but failed to work properly when HiZ and separate stencil were in use. It failed to work because there is only one set of fine adjustment controls shared by the HiZ, depth, and stencil buffers, so we need to choose tile_x and tile_y values that are compatible with the tiling of all three buffers, and then compute separate coarse offsets for each buffer. This patch fixes the HiZ and separate stencil case by replacing the call to intel_renderbuffer_tile_offsets() with calls to two functions: intel_region_get_tile_masks(), which determines how much of the adjustment can be performed using offsets and how much can be performed using tile_x and tile_y, and intel_region_get_aligned_offset(), which computes the coarse offset. intel_region_get_tile_offsets() is still used for color renderbuffers, so to avoid code duplication, I've re-worked it to use intel_region_get_tile_masks() and intel_region_get_aligned_offset(). On i965 Gen6, fixes piglit tests "texturing/depthstencil-render-miplevels 1024 X" where X is one of (depth, depth_and_stencil, depth_stencil_single_binding, depth_x, depth_x_and_stencil, stencil, stencil_and_depth, stencil_and_depth_x). On i965 Gen7, the variants of "texturing/depthstencil-render-miplevels" that contain a stencil buffer still fail, due to another problem: Gen7 seems to ignore the 3 LSB's of the tile_y adjustment (and possibly also tile_x). v2: Removed spurious comments. Added assertions to check preconditions of intel_region_get_aligned_offset(). Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen7_hiz.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
1c0f5d8324c4db2720247989ddc4a45315b55a85 |
04-May-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Disable ARB_framebuffer_object in ES contexts This patch removes ARB_framebuffer_object from the GLES1 and GLES2 extension lists in intel_extensions_es.c. Fixes a crash in the Android browser on Ice Cream Sandwich. The Android browser crashed because it did the following, which is legal in GLES2 but not in ARB_framebuffer_object. glGenFramebuffers(1, &fb); glBindFramebuffer(GL_FRAMEBUFFER, fb); // render render render... glDeleteFramebuffers(1, &fb); // go do other stuff... glBindFramebuffer(GL_FRAMEBUFFER, fb); // This bind unexpectedly failed, and the app panics. The semantics of glBindFramebuffer specified by ARB_framebuffer_object (a desktop GL extension) and GLES2 specs are incompatible. The ideal solution to fix this is to create separate API entry points for glBindFramebuffer, one for GL and the other for GLES2. But, until that work is complete, disabling ARB_framebuffer_object in GLES2 contexts safely fixes the problem. Likewise, the semantics of glBindFramebuffer in ARB_framebuffer_object and of glBindFramebufferOES in OES_framebuffer_object (a GLES1 extension) are incompatible. Even though the functions have different names, the semantic difference still results in a bug because both API calls are implemented by a single function, _mesa_BindFramebufferEXT, which handles the semantic difference incorrectly. Again, disabling ARB_framebuffer_object in GLES1 contexts safely fixes this problem. According to the ARB_framebuffer_object spec, the extension is an amalgamation of EXT_framebuffer_object EXT_framebuffer_blit EXT_packed_depth_stencil EXT_framebuffer_multisample By disabling this extension, however, no functionality is removed from GLES1 and GLES2 contexts because 1) the first three extensions are explicitly enabled in Intel's ES extension lists and 2) no functionality of the last extension is exposed in an ES context. Note: This is a candidate for the 8.0 branch. See-also: http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg21006.html CC: Charles Johnson <charles.f.johnson@intel.com> CC: Sean Kelley <sean.v.kelley@intel.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_extensions_es.c
|
5795d3b5aec767dc2d7901b432f9182121b8e46f |
01-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: Add primitive restart support to glArrayElement When primitive restart is enabled, and glArrayElement is called with the restart index value, then call glPrimitiveRestartNV. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul<brianp@vmware.com>
ain/api_arrayelt.c
|
3cd7bee48f7caf7850ea64d40f43875d4c975507 |
05-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Remove pointless software fallback for glBitmap on Gen6. We already have a meta path below that works just fine; no apparent regressions in oglconform. NOTE: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46834 Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_pixel_bitmap.c
|
3362c7d9b61462855f1e7d67da5d255de1b6ee7e |
24-Apr-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Prevent buffer underrun when handling MESA_GL_EXTENSION_OVERRIDE.
ain/extensions.c
|
dc42910e98dc00760255cc4579da458de09175b9 |
24-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix regression in comparison handling from ANDs change. I had fixed up the logic ops for delayed ANDing, but not equality comparisons on bools. Fixes new piglit fs-bool-less-compare-true. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
fcd57280ae687d6b7c11cb8ac8fb8cc4f01a646d |
23-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add a comment about the state flag for sRGBEnabled. I thought this might be _NEW_COLOR, but it isn't.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
b7406404aba1817d5a87714f97a108a755943452 |
23-Apr-2012 |
Eric Anholt <eric@anholt.net> |
intel: Return success when asked to allocate a 0-width/height renderbuffer. It seems silly that GL lets you allocate these given that they're framebuffer attachment incomplete, but the webgl conformance tests actually go looking to see if the getters on 0-width/height depth/stencil renderbuffers return good values. By failing out here, they all got smashed to 0, which turned out to be correct for all the getters they tested except for GL_RENDERBUFFER_INTERNAL_FORMAT. Now, by succeeding but not making a miptree, that one also returns the expected value. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
b7932e183c15a224adc4b04835f82f3c867a4a24 |
25-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_ARB_draw_buffers_blend. Tested with piglit fbo-draw-buffers-blend and intel oglconform. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_cc.c
rivers/dri/intel/intel_extensions.c
|
a36581ccc06693231011c3fe136207e73191b1ce |
01-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: do more teximage error checking for generic compressed formats When glTexImage or glCopyTexImage is called with internalFormat being a generic compressed format (like GL_COMPRESSED_RGB) we need to do the same error checks as for specific compressed formats. In particular, check if the texture target is compatible with the format. None of the texture compression formats we support so far work with GL_TEXTURE_1D, for example. See also https://bugs.freedesktop.org/show_bug.cgi?id=49124 NOTE: This is a candidate for the 8.0 branch.
ain/teximage.c
|
4fddb2ba21add1c1968330e5224ecead59da3995 |
02-May-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
gbm: Add gbm_bo_write entry point This new gbm entry point allows writing data into a gbm bo. The bo has to be created with the GBM_BO_USE_WRITE flag, and it's only required to work for GBM_BO_USE_CURSOR_64X64 bos. The gbm API is designed to be the glue layer between EGL and KMS, but there was never a mechanism initialize a buffer suitable for use with KMS hw cursors. The hw cursor bo is typically not compatible with anything EGL can render to, and thus there's no way to get data into such a bo. gbm_bo_write() fills that gap while staying out of the efficient cpu->gpu pixel transfer business. Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
58fee81c78c95b1b086aa39aa4e26762c8943680 |
02-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: add _mesa_shader_debug() This should be the one entrypoint libglsl needs for GL_ARB_debug_output. v2: added comments. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/errors.c
ain/errors.h
|
83a02427e576a5126a618c13bc3e12ff2b4a3e0a |
01-May-2012 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nv10-nv20: Add support for S3TC Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_state_tex.c
|
6d5efe96ee710ca1dd5f745f74a5bbfa4fd42fd9 |
01-May-2012 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: Add general support for compressed formats. Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_surface.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nv04_surface.c
|
7b610d55160cf77b8d8de0a7bc58c75985ba8747 |
20-Apr-2012 |
Brian Paul <brianp@vmware.com> |
xlib: use _mesa_is_winsys/user_fbo() helpers Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/xm_dd.c
|
4433b0302d0aa9dc61002e8bb4fd1b752b0be338 |
20-Apr-2012 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_is_winsys/user_fbo() helpers Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_viewport_state.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_read.c
|
264b584294dc1c00c53f6a0622b7e6e55e8dce37 |
20-Apr-2012 |
Brian Paul <brianp@vmware.com> |
nouveau: use _mesa_is_winsys/user_fbo() helpers Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_screen.c
|
47941bfaea6e8a60e2c31f7a2c8c233f2a10ecb1 |
20-Apr-2012 |
Brian Paul <brianp@vmware.com> |
radeon: use _mesa_is_winsys/user_fbo() helpers Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_state.c
|
8c5ff5a41fa63634e2cc8037a0a601c60d233537 |
30-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: unmap upload buffer after uploading indices and constants
tate_tracker/st_atom_constbuf.c
tate_tracker/st_draw.c
|
fd0082c47ecf1028bbb9e1e0dbc20173a3174772 |
24-Apr-2012 |
Sean V Kelley <sean.v.kelley@linux.intel.com> |
i965: Support Android RGBX8888 format for EGL generated images Enabled MESA_FORMAT_RGBX8888_REV for RGBX. Android software requires RGBX8888 format to be supported for software rendering. That requires EGL to be capable of generating images from this format. Signed-off-by: Sean V Kelley <sean.v.kelley@linux.intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_screen.c
|
249817e92839d9ecdd78360eb3a856724df504c4 |
29-Apr-2012 |
Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> |
intel: set dri_format field for all images Only images created with intel_create_image() had the field properly set. Set it also on intel_dup_image(), intel_create_image_from_name() and intel_create_image_from_renderbuffer().
rivers/dri/intel/intel_screen.c
|
fc7d224e295c4cb641238c37612409b1174cea12 |
26-Apr-2012 |
Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> |
intel: properly return the image format on intel_query_image
rivers/dri/intel/intel_screen.c
|
18bb6852b234a69530a4a6f3ff4e9d33b8e8c7fb |
29-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: reject immutable textures in glEGLImageTargetTexture2DOES() GL_ARB_texture_storage says: The commands eglBindTexImage, wglBindTexImageARB, glXBindTexImageEXT or EGLImageTargetTexture2DOES are not permitted on an immutable-format texture. They will generate the following errors: - EGLImageTargetTexture2DOES: INVALID_OPERATION - eglBindTexImage: EGL_BAD_MATCH - wglBindTexImage: ERROR_INVALID_OPERATION - glXBindTexImageEXT: BadMatch Fixing the EGL and GLX cases requires extending the DRI interface, since setTexBuffer2 doesn't currently return any error information. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
46fe17930ec71be3489fbb844de2bf16d877437e |
29-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
cso: cso_context should install u_vbuf by itself and not st/mesa so that it's installed in the other state trackers too
tate_tracker/st_context.c
tate_tracker/st_context.h
|
0b7d48cbad86eaac21fce3793da41b46db8be3b4 |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer to pipe_constant_buffer This reduces CPU overhead when updating constants.
tate_tracker/st_atom_constbuf.c
|
01bf5569c44389c1127bbb9e873c8a234ac92ff7 |
26-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: reorder code in draw_vbo
tate_tracker/st_draw.c
|
944b97990bbdf61b2be2e92c3641d3240e12fe58 |
26-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove more unnecessary code in draw_vbo The variables set here are not used anywhere.
tate_tracker/st_draw.c
|
bf469f4edc60bd1c5fd770cb231b8d5ab801427f |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer in pipe_index_buffer Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe. User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working.
tate_tracker/st_draw.c
|
4552fd50d959ab99546cfa994f8ba5bdf5d66bc7 |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer in pipe_vertex_buffer This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code in that function which was required only to comply with the gallium interface, but wasn't any useful really. Adapted drivers: i915, llvmpipe, r300, softpipe. No changes required in: r600, radeonsi. User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working.
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
7a0545972694e6afc6c5ac60db563defa79c20d9 |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: make user constant buffers optional
tate_tracker/st_atom_constbuf.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
507337864fa80caf9f26602324d2c28dd0a75d61 |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: change set_constant_buffer to be UBO-friendly
tate_tracker/st_atom_constbuf.c
|
8c655f499cf61211146a3d38f77532541f88aa88 |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: make user index buffers optional v2: use a separate upload buffer for indices
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
989bdaab514cce808eea4b9d792656aaeee8603c |
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: only set index buffer when drawing is indexed and restructure the code a bit
tate_tracker/st_draw.c
|
8e90913e9f99ff3296a3c3da36e73cd2d4730269 |
21-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: require GL_MAX_SAMPLES >= 4 for GL 3.0 As noted in commit be4e46b21a60cfdc826bf89d1078df54966115b1, this was missing before. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/version.c
|
e4c97f1e607f857fb7f397f9e00f37c00ffff295 |
13-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
autoconf: pass -Wall to automake And fix these warning that appear at autoreconf time: "`:='-style assignments are not portable" v2: Fix the recently-converted-to-automake r600.
rivers/dri/i915/Makefile.sources
rivers/dri/i965/Makefile.sources
|
b443ca96a55a06ee215a3f9a9e7dba558deeb58c |
24-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix FB writes that tried to use the non-existent m16 register. A little analysis shows that the worst-case value for "nr" is 17: - base_mrf = 2 ... 2 - header present (say gen == 5) ... 4 - aa_dest_stencil_reg (stencil test) ... 5 - SIMD16 mode: += 4 * reg_width ... 13 - source_depth_to_render_target ... 15 - dest_depth_reg ... 17 This resulted in us setting base_mrf to 2 and mlen to 15. In other words, we'd try to use m2..m16. But m16 doesn't exist pre-Gen6. Also, the instruction scheduler data structures use arrays of size 16, so this would cause us to access them out of bounds. While the debugger system routine may need m0 and m1, we don't use it today, so the simplest solution is just to move base_mrf back to 1. That way, our worst case message fits in m1..m15, which is legal. An alternative would be to fail on SIMD16 in this case, but that seems a bit unfortunate if there's no real need to reserve m0 and m1. Fixes new piglit test shaders/depth-test-and-write on Ironlake. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48218 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
63da1aa5be4aa3e14a0456daf863c1bf10de619f |
25-Apr-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Fix derreference after free.
tate_tracker/st_context.c
|
4650aea7a536ddce120576fadb91845076e8e37a |
17-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix texelFetchOffset() It appears that when using 'ld' with the offset bits, address bounds checking happens before the offset is applied, so parts of the drawing in piglit texelFetchOffset() with a negative texcoord go black.
rivers/dri/i965/brw_vec4_visitor.cpp
|
f41ecade7b458c02d504158b522acb2231585040 |
17-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix texelFetchOffset() It appears that when using 'ld' with the offset bits, address bounds checking happens before the offset is applied, so parts of the drawing in piglit texelFetchOffset() with a negative texcoord go black.
rivers/dri/i965/brw_fs_visitor.cpp
|
eaf8fe3335b1c7e62275ac0fef202f51750ffba9 |
19-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
u_vbuf: take advantage of all new vertex fetch caps
tate_tracker/st_context.c
|
3e3737e9e2548ae751236067cca2a79ad98dc2dd |
11-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: always expose ARB_ES2_compatibility u_vbuf translates GL_FIXED too if needed.
tate_tracker/st_extensions.c
|
a78fd815d4f3d3a1da7cf63375fd90c03d6e9ad6 |
11-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: always expose ARB_half_float_vertex u_vbuf kicks in and translates it to float if it's unsupported.
tate_tracker/st_extensions.c
|
e0773da1e897164ed7597437070e32b867734ee5 |
10-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: make user vertex buffers optional This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf
tate_tracker/st_context.c
tate_tracker/st_context.h
|
76c4760e5d8522780d770f9a0a62d710806206a0 |
11-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use cso_set_index_buffer and cso_draw_vbo Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_draw.c
|
802ca81e260f6ccfe2cf492e96b2887131bed09c |
22-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: call UpdateState directly when notifying a driver about _NEW_ARRAY Core Mesa doesn't need to know about this. This also removes the hack in recalculate_input_bindings. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
6fc565a94bc0de7ad617c28db7b8b6dfa4102d49 |
22-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: do FLUSH_CURRENT before validating and updating state This fixes an assertion failure since: commit 81afdd20f3f574ce29559d8ad77df5c77652009e vbo: don't check twice whether it's valid to render FLUSH_CURRENT may set _NEW_CURRENT_ATTRIB. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_array.c
|
99ed0b2f9b95a484aa78aeee0277bb669611be5b |
21-Apr-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: no-op glCopyPixels if source region is out of bounds If the source region for a glCopyPixels is completely outside the source buffer bounds, no-op the copy. Fixes a failed assertion. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
b0e048f0b955ef79e2de794172de053d27d7d8fa |
18-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays The field wasn't actually used before and it's not used now either. But this is a more logical place for it and will hopefully allow doing smarter draw/array validation (per array object) in the future. Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
ain/arrayobj.c
ain/attrib.c
ain/enable.c
ain/mtypes.h
ain/state.c
ain/varray.c
|
137c5ece7d22bcbb017e52f00273b42a191f496d |
11-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Convert live interval computation to using live variable analysis. Our previous live interval analysis just said that anything in a loop was live for the whole loop. If you had to spill a reg in a loop, then we would consider the unspilled value live across the loop too, so you never made progress by spilling. Eventually it would consider everything in the loop unspillable and fail out. With the new analysis, things completely deffed and used inside the loop won't be marked live across the loop, so even if you spill/unspill something that used to be live across the loop, you reduce register pressure. But you usually don't even have to spill any more, since our intervals are smaller than before. This fixes assertion failure trying to compile the shader for the "glyphy" text rasterier and piglit glsl-fs-unroll-explosion. Improves Unigine Tropics performance 1.3% +/- 0.2% (n=5), by allowing more shaders to be compiled in 16-wide mode.
rivers/dri/i965/brw_fs_live_variables.cpp
|
34b17ee598e855e1090a455c2dac31ed8104954b |
11-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Move the old live interval analysis code next to the new live vars code. I'm about to replace the insides of this using the new analysis.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_live_variables.cpp
|
0d6c96a5c34de3ffdd6167282d7520dfd3c863cb |
11-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add support for live variable analysis using dataflow analysis.
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_fs_live_variables.cpp
rivers/dri/i965/brw_fs_live_variables.h
|
080b125c64b48447a515b1a169f779e62b3de13d |
10-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add basic block generator. This takes the fs_inst list generated by the visitor, and generates a list of basic blocks with edges between them. This is a building block for data-flow analysis.
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_cfg.cpp
rivers/dri/i965/brw_fs_cfg.h
rivers/dri/i965/brw_fs_emit.cpp
|
8890c759513597903997f519c69e9db30790b6f4 |
11-Apr-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation.
rivers/dri/i965/brw_fs_visitor.cpp
|
bf3304a84b60a25bbc9de14d11af6e423939d7c3 |
19-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
Revert "mesa: only update _MaxElement when we actually need it" This reverts commit 0de5a21470b3bff9b7c8714e5d960d5ed9d01b9c. I was wrong, we use it in the vbo module too. This fixes a performance regression in Nexuiz.
ain/state.c
|
0e5327ecf49744f620b0a73b8780ad5dbb74eeb6 |
19-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move unrefs of array objects earlier in _mesa_free_context_data() If a non-default array object was bound at context destruction time we'd try to unreference the array object after it was already deleted in _mesa_free_varray_data(). Now do the unref first. Fixes a regression from commit 86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/context.c
|
97e2f625b8bcba96acde29dcd017031e036f4a24 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: remove vbo_context::mat_currval Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
8c990de0d682bbedfd7e1988d4f8948ea99b0cc3 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: remove vbo_context::generic_currval Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_draw.c
|
fa48137f292bbf8cbcd65e9caf33633cddc96600 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: remove vbo_context::legacy_currval It's not nice when you have several variables pointing to the same array and you wanna ask your editor "where is this used" and you only get an answer for one of the four currval, legacy_currval, generic_currval, mat_currval, which is quite useless, because you never see the whole picture. Let's get rid of the additional pointers. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_draw.c
|
f9c40dbb0d51be8f7952ecb0fbb6b63fa6ca7411 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: remove unused variables in vbo_context Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
bo/vbo_context.h
|
81afdd20f3f574ce29559d8ad77df5c77652009e |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
vbo: don't check twice whether it's valid to render It's already done in _mesa_validate_Draw* and it's not needed to do it again unless I am missing something. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
bo/vbo_exec_array.c
|
fb4a34e60eb4c1bdc7b0fdcd98d1bf3038c354e8 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: set _NEW_VARYING_VP_INPUTS flag only if fixed-func VP is enabled & valid Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
ain/state.c
|
576c8c592a4be7047a00b0c8fe3851b09f10d8d4 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs This is a frequently-updated state and _NEW_ARRAY already causes revalidation of the vbo module. It's kinda counter-productive to recompute arrays in the vbo module if _NEW_ARRAY is set and then set _NEW_ARRAY again. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
ain/ff_fragment_shader.cpp
ain/mtypes.h
ain/state.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
|
784dd51198433e5c299da4a7742c68d21d68d1c1 |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,vbo: properly detect when vertex arrays need to be recalculated This moves the RebindArrays flag into the vbo module, consolidates the code, and adds missing vbo_draw_method calls. Also with this change, the vertex arrays are not needlessly recalculated twice. The issue with the old code was: - If recalculate_input_bindings updates vp_varying_inputs, _NEW_ARRAY is set. - _mesa_update_state is called and the vp_varying_inputs change causes regeneration of the fixed-function shaders, which also sets _NEW_PROGRAM. - The occurence of either _NEW_ARRAY or _NEW_PROGRAM sets the recalculate_inputs flag to TRUE again. - The new code sets the flag to FALSE after the second _mesa_update_state, because there can't possibly be any change which would require recalculating the arrays. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
ain/attrib.c
ain/mtypes.h
ain/state.c
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_array.c
|
0de5a21470b3bff9b7c8714e5d960d5ed9d01b9c |
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: only update _MaxElement when we actually need it Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
ain/state.c
|
233da380a9c6af189547055ac91a188c19930212 |
15-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use bitshifting to define state flags Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
tate_tracker/st_context.h
|
4f96e9830fa316fd1dacd6068c1f0e79a56ba038 |
19-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename BRW_MAX_SURFACES to BRW_MAX_WM_SURFACES. Now that we use separate binding tables for WM, VS, and GS, and have BRW_MAX_VS_SURFACES and BRW_MAX_GS_SURFACES macros, we really shouldn't have an unqualified BRW_MAX_SURFACES macro. It's confusing. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_surface_state.c
|
5177f6b1b99a68daf50e47dc420c0057fa5e8980 |
19-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix outdated comments about binding tables. They had a number of issues: - A paragraph states that we use a single binding table, but we don't. - We labelled the WM binding table diagram as SOL/WM. - The WM diagram had an "Only relevant to the WM" comment. Duh. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
|
86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b |
02-Nov-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use array object constructor. This change uses the array object factory for gl_array_objects. This prevents crashes when deriving from gl_array_object. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/context.c
ain/varray.c
|
bdb0ad77c20653d01570a4ce44f4200a97fb5f11 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/u_gen_mipmap: don't release vertex buffer at end of frame / in glFlush There's no reason to do that. The buffer being used for rendering is always mapped as unsynchronized.
tate_tracker/st_cb_flush.c
|
462dcf617303a507a1b000f52abbfa3fe695bb95 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/u_blit: don't release vertex buffer at end of frame / in glFlush There's no reason to do that. The buffer being used for rendering is always mapped as unsynchronized.
tate_tracker/st_cb_flush.c
|
a8a478999c366cd08be2910ea83465d9b69181e8 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer for glClear fallback
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
2b151bbb957284e7a1a272c1b5ec6c9307e6e623 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glClear fallback
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_clear.h
tate_tracker/st_cb_flush.c
tate_tracker/st_context.h
|
6c1fbe912f1623cbcf474a0b985841e44122a911 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer in glDrawPixels
tate_tracker/st_cb_drawpixels.c
|
b69dad1683f092e3ce9d0f3f8fb1bdf96bdff0c7 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glDrawPixels
tate_tracker/st_cb_drawpixels.c
|
0a43fd4c01395c2bdfef7b087e884aa4c657ba9a |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glDrawTexOES
tate_tracker/st_cb_drawtex.c
|
3e8093d0688ce051d9e38ab9533d1d609bf8c9e9 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer for glBitmap
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.h
|
76d9a99d6bafa5b2ad7839a79deda1a7d5e6d902 |
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glBitmap instead of recreating the vertex buffer for each draw_vbo call.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
a5e95a419e4f6ad93e35a960113d97ae2de27476 |
17-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add a couple fast-paths to fast_read_rgba_pixels_memcpy() Accelerates a few glReadPixels cases for WebGL. See https://bugs.freedesktop.org/show_bug.cgi?id=48545 v2: Per Jose, use bit twiddling for the swizzle case instead of ubyte arrays (it's about 44% faster). Note: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/readpix.c
|
ecc4c361a68da9b858e8f3762fb43f39fb7e2a0e |
13-Apr-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove dead _mesa_sizeof_glsl_type(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
ain/shaderapi.h
|
8bb0091e6838aeee2a5819850c334fde71b5a439 |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add a helper for generating temporary variables in ir_builder. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
d32780d5041a6d241834fe565739104f86300425 |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add a helper for ir_builder to make dereferences for assignments. v2: Fix writemask setup for non-vec4 assignments. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
7e88f8ce8f9d72bbda248554e0630b4aca7e1154 |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Make a little tracking class for emitting IR lists. This lets us significantly shorten p->instructions->push_tail(ir), and will be used in a few more places. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
b782352745d322596a9122969f5c0e57ea032c1b |
19-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add common swizzles to ir_builder. Now we can fold a bunch of our expression setup in ff_fragment_shader into single-line, parseable commits. v2: Make it actually work. I wasn't setting num_components in the mask structure, and not setting up a mask structure is way easier. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
d6e6566206029ace72ba037a3ef7950876eeb88b |
19-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Let ir_builder expressions take un-dereferenced variables. Having to explicitly dereference is irritating and bloats the code, when the compiler can detect and do the right thing. v2: Use a little shim class to produce the automatic dereference generation at compile time as opposed to runtime, while also allowing compile-time type checking. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
599aac95ff2149d881177ed75a48d97d3dcf47bd |
19-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Create an ir_builder helper for hand-generating IR. The C++ constructors with placement new, while functional, are extremely verbose, leading to generation of simple GLSL IR expressions like (a * b + c * d) expanding to many lines of code and using lots of temporary variables. By creating a new ir_builder.h that puts simple generators in our namespace and taking advantage of ralloc_parent(), we can generate much more compact code, at a minor runtime cost. v2: Replace ir_instruction usage with just ir_rvalue. v3: Drop remaining missed as_rvalue() in v2. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
f3d8bd3f7b9f5c6387cd5e629a82db9ad9a1e652 |
13-Apr-2012 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau: rework and simplify nv04/nv05 driver a bit TEXTURED_TRIANGLE and MULTITEX_TRIANGLE are both a bit special in that if you use any other graph object in the meantime they'll forget their state and spew a lovely METHOD_CNT error at you when you try to draw. The pre-newlib driver has a flush_notify() hook which does this state re-emit, and a number of random workarounds like extra flushes and state dirtying after various operations to solve this issue. I'm taking a slightly different approach to things instead, which has the nice side-effect of removing the divergent code-paths for ttri/mtri, the flush/dirty workarounds and the need for flush_notify. Also gives a few FPS boost in OA, yay.
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_render.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_state_frag.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv04_surface.c
|
2e47d01c9e5325906cf3bb979279599991c6328e |
23-Dec-2011 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau/vieux: switch to libdrm_nouveau-2.0
rivers/dri/nouveau/Makefile.sources
rivers/dri/nouveau/nouveau_array.c
rivers/dri/nouveau/nouveau_array.h
rivers/dri/nouveau/nouveau_bo_state.c
rivers/dri/nouveau/nouveau_bo_state.h
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_local.h
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_scratch.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_surface.c
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_render.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_state_frag.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv04_surface.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv10_state_polygon.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_render.c
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_frag.c
rivers/dri/nouveau/nv20_state_polygon.c
rivers/dri/nouveau/nv20_state_raster.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
rivers/dri/nouveau/nv_object.xml.h
|
a21df965075f6fa1bf27039490ad65b9f78548e6 |
24-Mar-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add ARB_blend_func_extended support to state tracker. This adds the blend mode mapping, it also uses the var->index in the glsl to tgsi convertor - this is the other half of my using 4 in the GLSL compiler. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_blend.c
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
|
f8cf79936b42405a8366613b80e3bde21aadaa02 |
24-Mar-2012 |
Dave Airlie <airlied@redhat.com> |
mesa: add support for ARB_blend_func_extended (v4) Add implementations of the two API functions, Add a new strings to uint mapping for index bindings Add the blending mode validation for SRC1 + SRC_ALPHA_SATURATE Add get for MAX_DUAL_SOURCE_DRAW_BUFFERS v2: Add check in valid_to_render to address case in spec ERRORS. v3: Add index to ir.h so this patch compiles on its own fixup comment v4: fixup Brian's comments The GLSL patch will setup the indices. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/blend.c
ain/context.c
ain/get.c
ain/mtypes.h
ain/shader_query.cpp
ain/shaderapi.c
ain/shaderapi.h
ain/shaderobj.c
|
dd32df3829317105adbfacc7fe7b1d2a2dc96a58 |
01-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
i965: fix typo Noticed by clang: brw_wm_surface_state.c:330:30: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [MESA_FORMAT_Z24_S8] = 0, ^ brw_wm_surface_state.c:326:30: note: previous initialization is here [MESA_FORMAT_Z24_S8] = 0, ^ No functionality change, since the array is declared static so it was zero-initialized by default. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
52d021d4d785a4567b9e73ef89e74a295e8cfed9 |
01-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: fix truncated value warning Silences a clang warning: format_pack.c:2546:30: warning: implicit conversion from 'int' to 'GLubyte' (aka 'unsigned char') changes value from 65535 to 255 [-Wconstant-conversion] d[i] = d[i] ? 0xffff : 0x0; ~ ^~~~~~ Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_pack.c
|
75fe7d1995cc828e821efddfaee8cbc52e27a52c |
01-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: don't cast away const Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
10ec14865aa7d0110ae202011be36d6e4a7ba154 |
12-Apr-2012 |
Vinson Lee <vlee@freedesktop.org> |
ir_to_mesa: Fix uninitialized member in add_uniform_to_shader. Fix uninitialized scalar field defect reported by Coverity. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/ir_to_mesa.cpp
|
249fc7056104113633215106ac085b505d8dc161 |
21-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: When the kernel lacks the LLC check, assume it's present on gen >= 6. The param wasn't added until drm-intel-next for 3.4, so we were missing our various LLC fast-paths.
rivers/dri/intel/intel_screen.c
|
e3df28337b6b45f5b3444a9d6d4e1f6988d2de1b |
21-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop backwards compat code for not having libdrm with the LLC check.
rivers/dri/intel/intel_screen.c
|
80ecb8f15b9ad7d6edcc85bd19f1867c368b09b6 |
13-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Avoid generating extra AND instructions on bool logic ops. By making a bool fs_reg only have a defined low bit (matching CMP output), instead of being a full 0 or 1 value, we reduce the ANDs generated in logic chains like: if (v_texcoord.x < 0.0 || v_texcoord.x > texwidth || v_texcoord.y < 0.0 || v_texcoord.y > 1.0) discard; My concern originally when writing this code was that we would end up generating unnecessary ANDs on bool uniforms, so I put the ANDs right at the point of doing the CMPs that otherwise set only the low bit. However, in order to use a bool, we're generating some instruction anyway (e.g. moving it so as to produce a condition code update), and those instructions can often be turned into an AND at that point. It turns out in the shaders I have on hand, none of them regress in instruction count: Total instructions: 262649 -> 262545 39/2148 programs affected (1.8%) 14253 -> 14149 instructions in affected programs (0.7% reduction)
rivers/dri/i965/brw_fs_visitor.cpp
|
32ae8d3b321185a85b73ff703d8fc26bd5f48fa7 |
10-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Try to avoid generating extra MOVs to do saturates. This change (before the previous two) produced a .23% +/- .11% performance improvement in Unigine Tropics at 1024x768 on IVB. Total instructions: 269270 -> 262649 614/2148 programs affected (28.6%) 179386 -> 172765 instructions in affected programs (3.7% reduction) v2: Move some of the logic of finding the instruction that produced the result of an expression tree to a helper.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
71d69161ab86e88dfbfe9931c03eef9d17de90ef |
06-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_total_texture_memory() debug function This function can be called in gdb to find out how much memory is used by all texture objects.
ain/texobj.c
ain/texobj.h
|
223654b81ddb50cc42ed8cd722b389b302a26980 |
06-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_total_buffer_object_memory() debug function This function can be called in gdb to find out how much memory is used by buffer objects.
ain/bufferobj.c
ain/bufferobj.h
|
a27c7d80afc3160a0face4b8781bf921229bc3cc |
06-Apr-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Stop lying about cpp and height of a stencil buffer. When using a separate stencil buffer, i965 requires that the pitch of the buffer (in the 3DSTATE_STENCIL_BUFFER command) be specified as 2x the actual pitch. Previously this was accomplished by doubling the "cpp" and "pitch" values stored in the intel_region data structure, and halving the height. However, this was confusing, and it led to a subtle (but benign) bug: since a stencil buffer is W-tiled, its true height must be aligned to a multiple of 64; we were accidentally aligning its faux height to a multiple of 64, causing memory to be wasted. Note that for window system stencil buffers, the DDX also doubles the cpp and pitch values. To facilitate fixing this DDX server bug in the future, we fix the cpp and pitch values we receive from the X server only if cpp has the "incorrect" value of 2. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> v2: Clarify comments about the DDX.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_screen.c
|
70d038e46eb877ffa922003c78630eb7eb76c0f3 |
09-Apr-2012 |
Vinson Lee <vlee@freedesktop.org> |
st/mesa: Fix uninitialized members in glsl_to_tgsi_visitor constructor. Fixes uninitialized member defects reported by Coverity. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
36fef005b191fcd3fa858abb5f2aa6e7229e2c60 |
09-Apr-2012 |
Chad Versace <chad.versace@linux.intel.com> |
main: Fix memory leak in _mesa_make_extension_string() I forgot to free the string returned by strdup(). Note: This is a candidate for the stable branches. CC: Johannes Obermayr <johannesobermayr@gmx.de> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/extensions.c
|
a07cf3397e332388d3599c83e50ac45511972890 |
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add support for sampling texture buffer objects on gen7+. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
rivers/dri/i965/gen7_sampler_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_tex_validate.c
|
0b3729c987065883c6ff65a5c5288e852dd5b26a |
28-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add real support for texturing/rendering with MESA_FORMAT_RGBA8888_REV. This was hacked in in one place for EGL image stuff, but the right thing to do was just to provide the mapping from the mesa format to the native hardware format, which includes render target support. This turns out to be required for GL_ARB_texture_buffer_object, which sees data in this layout. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
aa8ce1be4a30e7c8224af52f83f1e50d251b01d4 |
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix the /* ignored */ comment on constant surface setup. It turns out this field *is* used, and it's the stride between samples from the buffer. Discovered during TBO debugging. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_wm_surface_state.c
|
bf82ce3c66507e5e1722fccff0df47cf9dcdb2d4 |
28-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for the GL 3.1 R/RG formats in texture buffer objects. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/teximage.c
|
664355f05b39303fa0995b72160c82f5bf50e95e |
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Track a gl_format for the texture buffer format. There was a function full of unused mappings from the GLenum to datatype/comps, but that wasn't all the information a driver would want, which includes the other fields that a gl_format has. Given that all the texture buffer formats were represented in gl_format, just use that as our description. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
ain/teximage.c
ain/texobj.c
|
dcf42dbd066fe633c28afa36820da9e9430038df |
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Handle updating texture state for buffer textures. We have to skip some work that wants to look at texture images, since buffer textures don't have any of that complexity. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texobj.c
ain/texstate.c
|
18c2ee0df5fa6679996e40c574d37475be230bd7 |
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Create the default (name==0) buffer texture. All that should be needed is that it exists. Fixes segfaults on first _mesa_update_context() with a samplerBuffer-using shader active but without a particular buffer texture enabled. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texobj.c
|
6d0f5684c1aa1b3563af8ae3db35ff0916a7b922 |
21-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Set the correct initial value of the texture buffer object format. Fixes piglit GL_ARB_texture_buffer_object/get Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texobj.c
|
44f2cee0fdda6186c3a0b12996bcd5adb92cceb1 |
21-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Set up glTexBuffer{,ARB} for display list compile. We're supposed to just immediately call it. Fixes piglit GL_ARB_texture_buffer_object/dlist Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/dlist.c
|
62bdb187f82871a9f8ea6f62235da82106cddd33 |
28-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glapi: regen for TBO change.
ain/dispatch.h
ain/remap_helper.h
|
68b99be409eb2d4f20198cfdb2c8fea75d754e0b |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
ff_fragment_shader: Remove some dead fields. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/ff_fragment_shader.cpp
|
430562a980578410127aac534e11c30ac025e749 |
02-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
x86-64: Don't print "Initializing x86-64 optimizations" in debug builds. In "release" builds, Mesa would print this message if the MESA_DEBUG variable was set. Make it so for debug builds as well. I build debug builds all the time, but I'm not debugging this. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
86-64/x86-64.c
|
781e2d5cfae37c24180c0c622467f656582af9f5 |
02-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Remove pretense of support for function calls. While ir_to_mesa contains code that attempts to support functions, I honestly doubt it's been tested and have little confidence that it works. The comment in visit(ir_function *ir) doesn't inspire confidence: /* Ignore function bodies other than main() -- we shouldn't see calls to * them since they should all be inlined before we get to ir_to_mesa. */ Furthermore, hardware drivers such as i915, i965, and (AFAICT) r200 don't support the BGNSUB/ENDSUB/CAL opcodes anyway. Only swrast does. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
f78f48b6d2c4034a62ab11a558c95901d2245c4a |
02-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove vestiges of function call support from the old VS backend. This never worked. brwProgramStringNotify also explicitly rejects programs that use CAL and RET. So there's no need for this to exist. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
c6532875493ffe7de9c37924c70ebf6d0472e23d |
17-Mar-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i915: set SPRITE_POINT_ENABLE bit correctly When SPRITE_POINT_ENABLE bit is set, the texture coord would be replaced, and this is only needed when we called something like glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE). And more, we currently handle varying inputs as texture coord, we would be careful when setting this bit and set it just when needed, or you will find the value of varying input is not right and changed. Thus we do set SPRITE_POINT_ENABLE bit only when all enabled tex coord units need do CoordReplace. Or fallback is needed to make sure the rendering is right. With handling the bit setup at i915_update_sprite_point_enable(), we don't need the relative code at i915Enable then. This patch would _really_ fix the webglc point-size.html test case and of course, not regress piglit point-sprite and glean-pointSprite testcase. NOTE: This is a candidate for stable release branches. v2: fallback just when all enabled tex coord units need do CoordReplace (Eric) v3: move the sprite point validate code at I915InvalidateState (Eric) v4: sprite point enable bit update based on _NEW_PROGRAM, too add relative _NEW-state comments to show what state is being used(Eric) Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/intel_tris.c
|
299c9052e832712654865af8dbd0ed4bf055d124 |
02-Apr-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix max_offset computation for base vertex Add the maximum base vertex offset to max_index for computing the buffer size. Fixes a failed assertion in the u_upload_mgr.c code with the VMware svga driver. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48141 v2: incorporate Marek's suggestions. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_draw.c
|
2a80a1e2a702228501fd298b9b176efa8c2c6258 |
05-Apr-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Actually upload sampler state pointers for the VS unit on Gen6. We already program all the sampler state correctly, we just didn't give the GPU a pointer to it for the VS stage. Thus, any texturing other than texelFetch() wouldn't work. Fixes piglit test vs-textureLod-miplevels and 99 of oglconform's glsl-bif-tex subtests. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/gen6_sampler_state.c
|
431b458f24f05db612e276e12528ce0e62707b65 |
01-Apr-2012 |
Vinson Lee <vlee@freedesktop.org> |
swrast: Fix memory leaks in blit_linear. Fixes Coverity resource leak defects. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_blit.c
|
f75c2d53146ea14f8dfedcc5b7a4704278ba0792 |
21-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Demote 'type' from ir_instruction to ir_rvalue and ir_variable. Variables have types, expression trees have types, but statements don't. Rather than have a nonsensical field that stays NULL in the base class, just move it to where it makes sense. Fix up a few places that lazily used ir_instruction even though they actually knew the particular subclass. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
|
82065fa20ee3f2880a070f1f4f75509b910cedde |
21-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Remove ir_call::get_callee() and set_callee(). Previously, set_callee() performed some assertions about the type of the ir_call; protecting the bare pointer ensured these checks would be run. However, ir_call no longer has a type, so the getter and setter methods don't actually do anything useful. Remove them in favor of accessing callee directly, as is done with most other fields in our IR. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
252d3118dd40e9e3c577702b4c65a2d6cfd343b6 |
30-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/aub: Dump a final bitmap from DestroyContext. Certain applications don't call SwapBuffers before exiting. Yet, we'd really like to see a bitmap containing the final rendered image even if they choose never to present it. In particular, Piglit tests (at least with -auto -fbo) fall into this category. Many of them failed to dump any images at all. Dumping one final image at context destruction time seems to work. We may wish to pursue a more elegant solution later. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
a45247fb1b8c30c5be21c3baf84943920ae17bfb |
31-Mar-2012 |
Eugeni Dodonov <eugeni.dodonov@intel.com> |
intel: add PCI IDs for Ivy Bridge GT2 server variant Those IDs are used by Bromolow. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
bd2410b48df261251f75c2c69785c8cc3182d94d |
19-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Add some PCI IDs for Haswell. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
4848122a96a46d6725cbfe92041459d11aea70fc |
20-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set "Shader Channel Select" fields in Haswell's SURFACE_STATE. These can be used to implement EXT_texture_swizzle without baking state-dependent swizzle instructions into the shader and forcing recompiles. For now, just set them to pass-through mode, so everything continues to work as it did on Ivybridge. We can optimize this later. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen7_wm_surface_state.c
|
a23dcc18e71e905da117d14b5d56c4e49c66ab79 |
20-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fill in Sample Mask in Haswell's 3DSTATE_PS. We only need one sample, since we don't support multisampling yet. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen7_wm_state.c
|
fc8edbe016348a22e4631fb1e1c7f7b87301c5ec |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set "Stencil Buffer Enable" bit on Haswell. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen7_misc_state.c
|
b4410ac3944ee30bbf5455e3e649b73f559a7d38 |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set Line Stipple enable bit in 3DSTATE_SF for Haswell. Apparently this needs to be the same as in 3DSTATE_WM. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen7_sf_state.c
|
1b3a199097190a0bf857eb17c12949fa2b456d9b |
23-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update max VS/PS threads shift offsets for Haswell. These now start at bit 23 instead of bit 24/25. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen7_hiz.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
1ba8c6ad03a3f03ecc6b66e1c0e10a4d6010122f |
07-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Disable HiZ on Haswell for now. Getting HiZ working means updating all the state packets for resolves and clears. It's not worth doing until we get the basics working. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_context.c
|
180aecb6dce1df55eae674f0f72adbc6f4d872b9 |
13-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add initial IS_HASWELL() macros. For now, these all return 0, as I don't yet want to enable Haswell support. Eventually they will be filled in with proper PCI IDs. Also add an is_haswell field similar to is_g4x to make it easy to distinguish Gen7 and Gen7.5. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
01044fce6b3de11635ea5078b76ffee1a33b3802 |
30-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7. According to the BSpec ISA volume's "Accumulator Register" section: "[DevIVB] SIMD16 execution on dwords is not allowed when accumulator is explicit source or destination operand." Fixes piglit tests: - fs-multiply-const-ivec4 - fs-multiply-const-uvec4 - fs-multiply-ivec4-const - fs-multiply-uvec4-const Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
4445e170bee23a3607ece0e010adef7058ac6a11 |
27-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: adapt to get_query_result interface change Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_queryobj.c
|
9cb777eb71dde895ca0ad3454a9b44252e9b402e |
27-Mar-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
intel: fix un-blanced map_refcount issue This is a regression introduced by commit cdcfd5, which forget to increase the map_refcount for successfully-mapped region. Thus caused a wrong non-blanced map_refcount. This would fix the regression found in the two following webglc testcase on Pineview platform: texture-npot.html gl-max-texture-dimensions.html Cc: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/intel/intel_regions.c
|
03f617f413ce0d24ac3c162337d06a24856198ff |
21-Mar-2012 |
Neil Roberts <neil@linux.intel.com> |
Add support for GL_EXT_unpack_subimage on GLES2 This extension just permits GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_ROWS and GL_UNPACK_SKIP_PIXELS to be passed to glPixelStore on GLES2 so it is trivial to implement.
ain/APIspec.xml
ain/extensions.c
|
860f4846c711ac2e9d597314a692561bf34c86ba |
24-Mar-2012 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
gles: Enable the GL_EXT_read_format_bgra extension Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB8888 fb. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/APIspec.xml
ain/extensions.c
|
e9a5457d730e4616ec6820029ba80e9641b22652 |
24-Mar-2012 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
gles1: Enable GL_EXT_texture_format_BGRA8888 in APIspec The extension is already exposed for GLES1, but the APIspec doesnt allow the usage of GL_BGRA_EXT in glTex(Sub)Image2D. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/APIspec.xml
|
aebd5492438d8ff31c2c12c0dfffa314768f4a42 |
26-Mar-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
glapi: regenerate enums.c For previous four commits: glapi: add GL_ARB_texture_float glapi: add GL_ARB_depth_buffer_float glapi: add GL_ARB_texture_compression_rgtc glapi: add ARB_texture_rg
ain/enums.c
|
a419595a8709eb70ec330755a98a6bf42b763e63 |
26-Mar-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
regen for "glapi: sort ARB extensions by number"
ain/remap_helper.h
|
b688700edc0ee8a4dcbac9b4cc5b0388691b7b43 |
24-Mar-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Fix memory leak in generate_mipmap_compressed. Fixes Coverity resource leak defect. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mipmap.c
|
a83c1d61c2919485b1e8ad33fcf658c85b67ba3a |
19-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
glapi: ARB_blend_func_extended support + regen. (v2) This adds the xml file covering ARB_blend_func_extended. v2: fix SRC1_ALPHA Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/dispatch.h
ain/enums.c
ain/remap_helper.h
|
7b6424143d8bf572cadd46adcbaa91d2a5598635 |
23-Mar-2012 |
Dave Airlie <airlied@gmail.com> |
intel: fix TFP at 16-bpp don't ask why I had to debug this. tested to fix g-s and kwin at 16-bpp on Ironlake. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/intel/intel_tex_image.c
|
0f3aa9f4bd7daab354deb9268307c5628b460f6b |
23-Mar-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Fix memory leak in _mesa_get_uniform_location. Fixes Coverity resource leak defect. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniform_query.cpp
|
318669f196ca922337da02af9d72773e76e70b45 |
23-Mar-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix mipmap image size computation w.r.t. texture arrays The image height or depth is the array_size for array textures. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47742 NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_gen_mipmap.c
|
281d0fd3a9cd2b4e97cdb58eb7854f9f90220fc7 |
23-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: set numFaces=6 for cube maps in _mesa_test_texobj_completeness() Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texobj.c
|
8d9decb75f0df564abaf9888d9fc5c77de8059cd |
16-Mar-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
intel: fix null dereference processing HiZ buffer Or technically, a near-null dereference. https://bugs.freedesktop.org/show_bug.cgi?id=46303 https://bugs.freedesktop.org/show_bug.cgi?id=46739 NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
|
20836c81851e0df29a8ee9c86e5e5388738c840b |
21-Mar-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: set MaxUnrollIterations = 255 The default was 32 for the EmitNoLoops=0 case. This allows the oZone3D soft shadows test to work properly with the vmware driver. Jose reported that SM3 supports up to 255 loop iterations. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_extensions.c
|
9bd38f3c674b91a89d9b572c5722faa00fb86654 |
25-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Make use of the new GPU-unsynchronized map functionality in libdrm. Improves Unigine Tropics performance at 1024x768 by 2.06236% +/- 0.50272% (n=11). Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
83088693116b65d1b5fcdc0a4d7d432b5448d092 |
25-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop the tracking of bo_map vs bo_map_gtt for unmapping. drm_intel_bo_unmap() supports both in the current libdrm version. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
f97da4ed71f723bc895ca38b81ac13afe3b7175a |
25-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Avoid flushing the batch for busy BOs for ARB_mbr with INVALIDATE_BUFFER. Unigine Tropics uses INVALIDATE_BUFFER and not UNSYNCHRONIZED to reset the buffer object when its streaming wraps. Don't penalize it by flushing the batch at the wrap point, just allocate a new BO and get to using it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
2222aa06e16dbfe4c29e05a1189bce80680aba19 |
10-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Handle devid overrides using libdrm. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_screen.c
|
0247d89183e26fbd07e4176ff6f8d1b4989e24ab |
07-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Ask libdrm to dump an AUB file if INTEL_DEBUG=aub. It also asks for BMPs in the aub file at SwapBuffers time. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
668ed9599393de8b0a587c983da5b103249abc78 |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
drirc: Add missing XML attributes that made the driconf application whine. These are used for pretty presentation of the application name in the UI. Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/drirc
|
d09fce51f0cf91c9c07f69063fe2180cc319d8df |
06-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: Change the hiz-override env var to a driconf option. The force-enable option is dropped, now that the hardware we were concerned about has HiZ on by default. Now, instead of doing INTEL_HIZ=0 to test disabling hiz, you can set hiz=false. v2: Disable separate stencil on gen6 when HIZ is turned off. (previously, this had to be done manually in addition). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
447aff5b027dfab3f52d31c0b61030007d139693 |
20-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop the INTEL_FORCE_GS environment variable. This was a debug option during gen6 transform feedback bringup (and a similar one existed during gen4 bringup). However, it looks like we're done with that, and we don't anticipate it being used again, either for geometry shaders or transform feedback. Suggested by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
|
7e6221f2e32602cbd64f04cc704f9bb0abda7776 |
06-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop the INTEL_NO_BLIT debug environment variable. This was added in the i915/i965 merge from the i915 driver, but I don't recall it ever being used since then. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_pixel.c
|
67d3ff760a33f3f98b89d3a6422bb85c199a9963 |
06-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop the INTEL_STRICT_CONFORMANCE environment variable. If you want to test the graphics driver, you want to test it under the conditions that users will see, not some set of additional fallbacks. If you want to test swrast, run the swrast driver (or no_rast=true) instead. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
cdcfd5d1d60179e60e3a0a47dda71bfe91083105 |
27-Feb-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
intel: Fix a case when mapping large texture fails This patch handles a case when mapping a large texture fails in drm_intel_gem_bo_map_gtt(). These changes avoid assertion failure later in the driver as reported in following bugs: https://bugs.freedesktop.org/show_bug.cgi?id=44970 https://bugs.freedesktop.org/show_bug.cgi?id=46303 Testing: No regressions in piglit quick.tests Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
|
dfce56ba4dd444cdb1148425a2cc0662bb79932d |
20-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
Add Makefile.in to toplevel .gitignore To avoid redundancies, this patch also removes Makefile.in from the other .gitignore files. Acked-by: Eric Anholt <eric@anholt.net>
rivers/dri/.gitignore
rivers/dri/i915/.gitignore
rivers/dri/i965/.gitignore
rivers/dri/nouveau/.gitignore
rivers/dri/r200/.gitignore
rivers/dri/radeon/.gitignore
rivers/dri/swrast/.gitignore
|
b41ab3b42c989926389e599d5794412a628f277f |
16-Mar-2012 |
Paul Berry <stereotype441@gmail.com> |
Add .deps/, .libs/, and *.la to toplevel .gitignore To avoid redundancies, this patch also removes .deps, .libs, and *.la from .gitignore files in subdirectories. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/.gitignore
rivers/dri/i915/.gitignore
rivers/dri/i965/.gitignore
rivers/dri/nouveau/.gitignore
rivers/dri/r200/.gitignore
rivers/dri/radeon/.gitignore
rivers/dri/swrast/.gitignore
|
75f82b5d580296a27ed026bc257763bfe24cfa60 |
20-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: only test cube face widths in _mesa_test_texobj_completeness() As Eric pointed out, we know the cube faces are square at this point so we only need to test the texture widths for consistency. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texobj.c
|
73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add integer texture completeness check Per the spec, only nearest filtering is supported for integer textures. Otherwise, the texture is incomplete. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/texobj.c
ain/texobj.h
|
f4a93e0665881dd58a95abb6525676bd1cc2e6af |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rework texture completeness testing Instead of gl_texture_object::_Complete there are now two fields: _BaseComplete and _MipmapComplete. The former indicates whether the base texture level is valid. The later indicates whether the whole mipmap is valid. With sampler objects, a single texture can appear to be both complete and incomplete at the same time. See the GL_ARB_sampler_objects spec for more details. To implement this we now check if the texture is complete with respect to a sampler state. Another benefit of this is we no longer need to invalidate a texture's completeness state when we change the minification/magnification filters with glTexParameter(). Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex_validate.c
ain/mtypes.h
ain/texobj.c
ain/texobj.h
ain/texparam.c
ain/texstate.c
tate_tracker/st_cb_texture.c
wrast/s_context.c
wrast/s_texfilter.c
wrast/s_texfilter.h
|
b219b2c310911286f375d6b9967d5fd39ec1188a |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_is_mipmap_filter() helper Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/samplerobj.h
|
ff005bdb7cdeb84477b26796ac216459e49daa55 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_dirty_texobj() in glTexParameter code Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texparam.c
|
878c69fe540a73011b676ead33ac8d9b8c9e63aa |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_dirty_texobj() function To mark the texture object as incomplete. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
|
d335e69b9ab8b3068dc402e22e49483f9caab1df |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rewrite/consolidate code in _mesa_test_texobj_completeness() Merge the mipmap level checking code that was separate cases for 1D, 2D, 3D and CUBE before. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
e86d0dea8ec72ad8a93b814d99cdafa021ce8a73 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use new baseImage var to simplify _mesa_test_texobj_completeness() Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
fbbbb98fc4b5b25321491f3ee46692bd819259a4 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add comments in _mesa_test_texobj_completeness() related to the spec Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
085d2bb97e7686d2445fc95aa60281343e8d3116 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: better debug message in _mesa_test_texobj_completeness() Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
4c9537f7d06af9f7f8a706ecd784ce3b04e132e8 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move some code in _mesa_test_texobj_completeness() Move the simple MaxLevel < BaseLevel test earlier to be closer to where we error-check BaseLevel. Also, use the local baseLevel var in more places. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
4c385d382f6932d5d88a26dcc9eedf520b3a9ed7 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use switch(target) in _mesa_test_texobj_completeness() and add missing case for GL_TEXTURE_BUFFER. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
cfd5b14dac6a197be3fa85b5448b45802951aa3d |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use MAX3() macro for 3D texture in _mesa_test_texobj_completeness() Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
3f7509beffaf924a22227e70b499326393c5b885 |
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_reference_sampler_object() an inline function To make the no-change case faster, as we do for the other object-reference functions. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/samplerobj.c
ain/samplerobj.h
|
56118ef9292caa947216d6b0a75c6ae588419556 |
14-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Validate the drawing primitive against the transform feedback mode. Fixes piglit GL_EXT_transform_feedback/negative-prims. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
ain/transformfeedback.c
ain/transformfeedback.h
|
7ca4f07b5b77ccac0a9b60dc5ac9082906b5947e |
14-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fold error generation into _mesa_valid_prim_mode(). We want to start emitting an INVALID_OPERATION from here for transform feedback. Note that this forced dlist.c to almost not use this function, since it wants different behavior during dlist compile. Just pull the non-TF, non-GS test out for compile, because: 1) TF doesn't matter in that case because there's no drawing. 2) I don't think we're going to see GSes and display lists in the same context, if we don't do GL_ARB_compatibility. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
ain/api_validate.h
ain/dlist.c
bo/vbo_exec_api.c
|
40c995c1fd7865f1b25765aa783fdadbf948b3dd |
29-Feb-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i915: fallback for NPOT cubemap texture Although some hardware support NPOT cubemap, but it seems we don't know the right layout for NPOT cubemap. Thus seems we need do fallback for other platforms as well. See comments inline the code for more detailed info. v2: give a more detailed info about why we need fallback for other platfroms as well. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46666 NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i915/i915_texstate.c
|
03f8a97d718502f60d16000aead251d88a751149 |
16-Mar-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: add null pointer check in st_texture_image_map() If we failed to allocate a memory resource for the texture we'd crash when we tried to map it. Now we propogate the NULL back up to the texstore code and generate GL_OUT_OF_MEMORY. Fixes a crash with the upcoming piglit max-texture-size test. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_texture.c
|
aec47e7d42ed58a7c63b36cff03c6c8dcfc71538 |
16-Mar-2012 |
Brian Paul <brianp@vmware.com> |
dri_util: add copyright/license blurb
rivers/dri/common/dri_util.c
|
31866308fcf989df992ace28b5b986c3d3770e90 |
19-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Jump from discard statements to the end of the program when done. From the GLSL 1.30 spec: The discard keyword is only allowed within fragment shaders. It can be used within a fragment shader to abandon the operation on the current fragment. This keyword causes the fragment to be discarded and no updates to any buffers will occur. Control flow exits the shader, and subsequent implicit or explicit derivatives are undefined when this control flow is non-uniform (meaning different fragments within the primitive take different control paths). v2: Don't emit the final HALT if no other HALTs were emitted. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
|
bddb2edab616d30f7894cfff7071a70d273a848e |
12-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for gen6+ UIP/JIP on BREAK/CONT/HALT. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_disasm.c
|
ac5a5b324335195b5a5ed98775ce442c573e7e1d |
08-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add support for parsing #version 140. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/getstring.c
|
99cd475cc9d3bd54140f84c24b55b9e05d7310a1 |
09-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable SIMD16 mode for shaders with loops on Gen6+. The hardware supports it; there's no reason not to. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
b536ac6b2bc54ad9bb6e58fbd307055e419a288f |
22-Dec-2011 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: add back glGetnUniform*v() overflow error reporting The error was removed in: commit 719909698c67c287a393d2380278e7b7495ae018 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Tue Oct 18 16:01:49 2011 -0700 mesa: Rewrite the way uniforms are tracked and handled The GL_ARB_robustness spec doesn't say the implementation should truncate the output, so just return after setting the required error like it did before the above commit. Also fixup an old comment and add an assert. NOTE: This is a candidate for the 8.0 branch.
ain/uniform_query.cpp
ain/uniforms.c
|
cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b |
12-Mar-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix the cause of piglit test fbo-array failure Handle the special case of glFramebufferTextureLayer() for which we pass teximage = 0 internally in framebuffer_texture(). This patch makes failing piglit test fbo-array, fbo-depth-array to pass. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47126 V4: Removed the duplicated code. Note: This is a candidate for the stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
6830e6515c840ff98a2ee5eb61e33dd5fb4d1ee2 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_DebugMessageCallbackARB() to silence warnings Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/errors.c
|
82195815ec0422d5a762397b8717239861dc6800 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
radeon: remove use of DD_FLATSHADE This got missed earlier <sigh>.
rivers/dri/radeon/radeon_tcl.c
|
534cbbe65867d61258b0704a81908c39b8f7dfb4 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add more comments about textarget in framebuffer_texture()
ain/fbobject.c
|
92c42d8170711d76568cd8caeaeacb2442814f49 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: renumber remaining DD_ constants Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
741bfef26c1f0d4f7c3d3a32479752cb6ee55ab6 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_TRI_CULL_FRONT_BACK Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/debug.c
ain/mtypes.h
ain/state.c
|
d710bbcd7458f6d48cf86586865f91e47c30feb2 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_FLATSHADE Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/debug.c
ain/light.c
ain/mtypes.h
ain/state.c
|
d269b1f3107ed569663b96bfd6832c177df0050e |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_TRI_TWOSTENCIL Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/debug.c
ain/enable.c
ain/mtypes.h
ain/state.c
|
291e4104aeca61c51beda42cb53a4b99dfaf4bf9 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove _DD_NEW_x flags They're no longer used anywhere. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
d2b849a227be0dba1730de65e4cefaf450cd6166 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
tnl: stop using _DD_NEW_x flags Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
nl/t_vertex.c
|
938aaec981761a51043f4f68289c9a3f0e12e19c |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/_DD_NEW_SEPARATE_SPECULAR/_MESA_NEW_SEPARATE_SPECULAR/ Another step toward removing the _DD_NEW_x flags Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_context.c
|
5edd7b8c46bbbaa59a421aa2c082374fc7dc101f |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: define _MESA_NEW_SEPARATE_SPECULAR This will replace the soon-to-be-removed _DD_NEW_SEPARATE_SPECULAR flag. Note: there's a similar composite _MESA_NEW_NEED_EYE_COORDS flag set already. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/state.c
|
22d6268df7c560f8705736a3dc381dd7d528b1e8 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
i915: remove occurances of _DD_NEW_x flags Just use the corresponding _NEW_x flags intead. The _DD_NEW_x flags will be removed in a following patch. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/intel_tris.h
|
f21dfa9d4b7b1f4956a5c0e5926559d00bc19315 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove ctx->Driver.ClearColor() hook The driver Clear() function should just grab the clear color out of the context. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/common/driverfuncs.c
ain/clear.c
ain/dd.h
|
9c53fc593e9d8c735e492ace688c76fcbb0fc687 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa/gdi: remove clear_color() function Setup the clearing color in the clear() function. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/windows/gdi/wmesa.c
|
fdbb717b24438da7fa5ca7b48e3900ac02d841a1 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
xlib: remove clear_color() function Just setup the clearing color in clear_buffers(). Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/x11/xm_dd.c
|
c90ae6b501a4a72d33869e1be241e87264747735 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
radeon/r200: remove ClearColor driver functions The state.color.clear value was never used anywhere. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
5f80218884c0a86068d1be21920bfb191ac31349 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove ctx->Driver.ClearDepth(), ClearStencil() driver hooks Not used by any drivers. Drivers can easily access the values from the Mesa context at glClear() time. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/common/driverfuncs.c
ain/clear.c
ain/dd.h
ain/depth.c
ain/stencil.c
|
e0ed951e1361e54ffd8e9c56fbcc2027c0c4bd24 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
radeon/r200: remove ClearDepth() and ClearStencil() driver hooks The computed stencil.clear and depth.clear values aren't used anywhere. Those fields have been removed too. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
5bb2059be714c09bd0fbc9aebd7dabf1ba3e63b6 |
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
radeon/r200: remove hyperz/fast clear testing code The flags which were computed were never actually used. Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
5ea18503e757ceeb9eba32a72fdf02b7bc710275 |
11-Mar-2012 |
José Fonseca <jose.r.fonseca@gmail.com> |
mapi/glapi: Fix glDebugMessageCallbackARB arg type to GLDEBUGPROCARB Necessary to prevent type mismatches on MinGW. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/dispatch.h
|
7221f52389f788f95ccf5816e2370b5a1acef7f7 |
11-Mar-2012 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa: Prevent collision of ERROR define on Windows. This issue might recur on other OSes. If so then it might be better to remove the C-preprocessor magic, and use fully qualified defines instead. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/errors.c
|
bb1d126b2369bc7608c43738693b6f26cd8f4eeb |
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: expose ARB_debug_output
ain/extensions.c
|
d7d0d2890a408900a577c594599a1a79499e8447 |
15-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: display list dispatch for ARB_debug_output
ain/dlist.c
|
0e4508e077eab9d37879afbf4c857b58f1c49276 |
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: print GL errors via debug_output
ain/errors.c
|
ae4a8a59b7045dafb99e903d11ebbd9c4ee161d6 |
04-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: implement the last of GL_ARB_debug_output Store client-defined message IDs in a hash table, and sort them by severity into three linked lists so they can be selected by severity level later.
ain/context.c
ain/errors.c
ain/errors.h
|
41308d969921d28a3159099420c145d2dcf10fe6 |
04-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add struct for managing client debug namespaces The final piece of the puzzle for GL_ARB_debug_output.
ain/mtypes.h
|
f6f309394036ff5228f6351435a5eff202ef0008 |
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add control for categories of application-provided messages This state is needed for deciding whether or not to log application messages with IDs that haven't been specifically passed to glDebugMessageControlARB yet. State for each individual ID number ever passed to glDebugMessageControlARB (per-context) still needs to be added.
ain/errors.c
|
4667cb2162d02f5b0fe620a5394aee92c725fb86 |
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add yet more context fields for GL_ARB_debug_output
ain/mtypes.h
|
c68f0b8cabaa7adf3fac3bf07661491ad4001021 |
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add glDebugMessageControlARB Controlling the output of client-provided messages isn't done yet.
ain/errors.c
|
76414cded8dcfc274fe47f347c64986680e8b95a |
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add message-toggle booleans for GL_ARB_debug_output
ain/errors.c
ain/mtypes.h
|
5dd750d685d3f80b3783b1205f6727cb867c049a |
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add some GL_ARB_debug_output functions
ain/api_exec.c
ain/errors.c
ain/errors.h
|
ed087ee49808a692ce8a0389fcf6c9da27f99d8e |
01-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add infrastructure for GL_ARB_debug_output Marek v2: don't add the extension to extensions.c yet
ain/config.h
ain/context.c
ain/enable.c
ain/errors.c
ain/errors.h
ain/get.c
ain/getstring.c
ain/mtypes.h
|
3917503b9a48275f389ec1e563fdb53415b87171 |
10-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
glapi: regenerate files
ain/dispatch.h
ain/enums.c
ain/remap_helper.h
|
5ab088c7e201ea7e55459a24a945abcaa90d12c6 |
01-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: split error handling into its own file Also add _mesa_vsnprintf.
Conscript
ain/descrip.mms
ain/errors.c
ain/errors.h
ain/imports.c
ain/imports.h
ources.mak
|
60218b604ae3422983dd1cd24f5d913e18f73ac0 |
08-Mar-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
drirc: Add force_glsl_extensions_warn workaround for Unigine Heaven. Unfortunately, Unigine Heaven 3.0 still needs this. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/common/drirc
|
f5d0ced242abc9e4e777bbe374585f44399b75af |
09-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_LUMINANCE handling in glGetTexImage There are several cases in which we need to explicity "rebase" colors (ex: set G=B=0) when getting GL_LUMINANCE textures: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679 Also fixes the new piglit getteximage-luminance test. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texgetimage.c
|
5beba3d0ba593b661451217a5ffcdf68644cc903 |
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_rebase_rgba_float/uint() in glGetTexImage code NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texgetimage.c
|
ad897fff7730298c21289768d9b1b55f3d166ac5 |
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_rebase_rgba_float/uint() in glReadPixels code See the comments for _mesa_rebase_rgba_float() for details. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679 NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/readpix.c
|
774c4027651436451b3486f62b9a8903f29a715b |
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_rebase_rgba_float/uint() functions These will be used by glReadPixels() and glGetTexImage() to fix issues with reading GL_LUMINANCE and other formats. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/pack.c
ain/pack.h
|
6c1dea54457c1d19b67794f188c40c74c23ba762 |
07-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: handle array textures in strip_texture_border() If the texture is a 1D array, don't remove the border pixel from the height. Similarly for 2D array textures and the depth direction. Simplify the function by assuming the border is always one pixel. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
ain/teximage.c
|
43af02ac731dac7d80f7e47feb0c80e4da156769 |
27-Feb-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: handle gl_PointCoord for Gen4 and Gen5 platforms This patch add the support of gl_PointCoord gl builtin variable for platform gen4 and gen5(ILK). Unlike gen6+, we don't have a hardware support of gl_PointCoord, means hardware will not calculate the interpolation coefficient for you. Instead, you should handle it yourself in sf shader stage. But badly, gl_PointCoord is a FS instead of VS builtin variable, thus it's not included in c.vue_map generated in VS stage. Thus the current code doesn't aware of this attribute. And to handle it correctly, we need add it to c.vue_map manually to let SF shader generate the needed interpolation coefficient for FS shader. SF stage has it's own copy of vue_map, thus I think it's safe to do it manually. Since handling gl_PointCoord for gen4 and gen5 platforms is somehow a little special, I added a lot of comments and hope I didn't overdo it ;) v2: add a /* _NEW_BUFFERS */ comment to note the state flag dependency and also add the _NEW_BUFFERS dirty mask (Eric). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45975 Piglit: glsl-fs-pointcoord and fbo-gl_pointcoord NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
cf2f9ef015c312ecaa6656519602ae535f7ce9d7 |
06-Mar-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i915: move the FALLBACK_DRAW_OFFSET check outside the drawing rect check We have to do fallback when the 'Clipped Drawing Rectangle X/Y Max' exceed the hardware's limit no matter the drawing rectangle offset changed or not. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46665 NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_vtbl.c
|
4aa1ac5fe94b5696095229ee3568bf4fa7cfed95 |
04-Mar-2012 |
nobled <nobled@dreamwidth.org> |
dri/nouveau: don't use nested functions It's a GNU extension that isn't supported by clang right now: http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Nested-Functions.html http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc With this, clang now compiles the nouveau classic driver. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44061 (Types changed from e.g. 'unsigned char' to 'GLubyte' so that the types can be concatenated to form a unique function name without any whitespace interfering.) [ Francisco Jerez: give meaningful names to the dispatch functions. ]
rivers/dri/nouveau/nouveau_array.c
rivers/dri/nouveau/nouveau_render_t.c
|
a9523af0e88017d683c19ff238bfc5eb7cb88fd0 |
02-Mar-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv() _mesa_max_texture_levels() is also used to test valid texture target in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed as texture target in glGetTexLevelParameter(). So, this should throw GL_INVALID_ENUM error. Few other functions which use _mesa_max_texture_levels() like getcompressedteximage_error_check() and getteximage_error_check() also don't accept GL_TEXTURE_CUBE_MAP. Above fix makes piglit fbo-cubemap test to fail. This is because of incorrect texture target passed to _mesa_max_texture_levels() in framebuffer_texture(). Fixing that as well Note: This is a candidate for the stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
ain/teximage.c
|
f172eae8b23d0612865895c52af745021ae20a4c |
02-Mar-2012 |
Daniel Vetter <daniel.vetter@ffwll.ch> |
i965: fixup W-tile offset computation to take swizzling into account There's even a comment in the code containing the right swizzling computations! Previously this has not been noticed because we need to manually enabled swizzling on snb/ivb (kernel 3.4 will do that) and we don't use the separate stencil on ilk (where the bios enables swizzling). This fixes piglit ./bin/fbo-stencil readpixels GL_DEPTH32F_STENCIL8 -auto on recent drm-intel-next kernels. Also remove the comment about ivb, it's stale now. Swizzling detection is done by allocating a temporary x-tiled buffer object. Unfortunately kernels before v3.2 lie on snb/ivb because they claim that swizzling is enable, but it isn't. The kernel commit that fixes this for backport to pre-v3.2 is commit acc83eb5a1e0ae7dbbf89ca2a1a943ade224bb84 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Sep 12 20:49:16 2011 +0200 drm/i915: fix swizzling on gen6+ But if the kernel doesn't lie, this now works on swizzling and not swizzling machines. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
3ff04ea236d3ef53fe765ecee92a805357b7373e |
29-Feb-2012 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
meta: Fix compilation without FEATURE_EXT_transform_feedback That is when building with --disable-opengl. Fix for commit cb045880b113b0042d8dfb7e4cdf76e6cc76c1d1. CC: Paul Berry <stereotype441@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/common/meta.c
|
84f107d287e5ed5ca83263f1edbad532a067fc29 |
29-Feb-2012 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
meta: Fix compilation without FEATURE_feedback That is when building with --disable-opengl. Fix for commit c5f4024a793f1209b1693aed9a46be9374ba4741. CC: Chad Versace <chad@chad-versace.us> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/common/meta.c
|
058fc6521e3bc483bc948cc90dc5ee3b08d6ec64 |
23-Feb-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i915: fix wrong rendering of gl_PointSize on Pineview The current code would ignore the point size specified by gl_PointSize builtin variable in vertex shader on Pineview. This patch servers as fixing that. This patch fixes the following issues on Pineview: webglc: https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/rendering/point-size.html piglit: glsl-vs-point-size NOTE: This is a candidate for stable release branches. v2: pick Eric's nice tip for fixing this issue in hardware rendering. v3: the last arg of EMIT_ATTR specify the size in _byte_. (Eric) Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_fragprog.c
|
9962280c332aba4b945b73ae19862041a7053a71 |
23-Feb-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
tnl: let _TNL_ATTRIB_POINTSIZE do not depend on ctx->VertexProgram._Enabled We may specify the point size in a glsl vertex shader. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46311 piglit: glsl-vs-point-size NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
nl/t_context.c
|
489ac8e73a2432d29597a62cd83f09b9d1848533 |
03-Mar-2012 |
Kurt Roeckx <kurt@roeckx.be> |
i915: Fix i830 polygon stipple from PBOs. This is a direct port of the i915 patch in a856da63247a4b403f6350914f732e14d1530ed1. Fixes glean's pbo test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41372 Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for release branches.
rivers/dri/i915/i830_state.c
|
024ece7523f1735d2fca0067c0a3bdcf53fde8f9 |
03-Mar-2012 |
Kurt Roeckx <kurt@roeckx.be> |
i915: Compute maximum number of verts using the actual batchbuffer size. We were looking at the size of batch.map for how big the batchbuffer was, but on 865 we just use a single-page batchbuffer due to hardware limits. v2: Removed check for sizeof map < bo->size, since that's always false. [change by anholt] NOTE: This is a candidate for release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41495
rivers/dri/i915/intel_render.c
|
33b07893e92dcee495908c549be872887096c894 |
09-Nov-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i830: Compute initial number of vertices from remaining batch space In order to prevent an overflow of the batch buffer when emitting triangles, we need to limit the initial primitive to fit within the current batch. To do we need to measure the remaining space and thence compute the maximum number of vertices that fit into that space. Reported-by: Kurt Roeckx <kurt@roeckx.be> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41495 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for release branches.
rivers/dri/i915/intel_render.c
|
7d13a6e64bf88566875a8f68e0aac9b937e30feb |
02-Feb-2012 |
Alban Browaeys <prahal@yahoo.com> |
dri/i915: Fix off-by-one in i830 clip region size. The hardware, like i915, uses an inclusive bounds on min and max for the drawing rectangle, but we were providing a number for exclusive. The number of bits used by the hardware only covers this value going up to the maximum size, so when we programmed 2048 as the maximum inclusive X, it saw a maximum X of 0 and clipped all rendering. This caused rendering failures in gnome-shell. Fixes piglit fbo-maxsize. v2: dropped changes to the blitter, which does use an exclusive x2, y2. [change by anholt] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45558 Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for release branches.
rivers/dri/i915/i830_vtbl.c
|
ae92180d724f9b743a088050cdc4ff7dad20c28b |
03-Mar-2012 |
Eric Anholt <eric@anholt.net> |
intel: Don't enable GL_ARB_draw_instanced pre-gen4. swtnl doesn't handle this extension.
rivers/dri/intel/intel_extensions.c
|
4d4f2daefabdc4ca1dd778a9265475c65ef52936 |
02-Mar-2012 |
Eric Anholt <eric@anholt.net> |
i915: Fix piglit fbo-nodepth-test on i830. This is a direct port of fc4fba52cf7e9616c70dd76b4d6bdba6582e157b from i915, and fixes GPU hangs when running piglit. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41372 Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for release branches.
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_vtbl.c
|
0605c6d861d0e59baadf725f3530319b32b2a344 |
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
Revert "st/mesa: don't unreference user attribs up front." This reverts commit 72931ca4b9fb1002f5b62b74f7f7f32e94e80fde. This commit caused a few piglit regressions (quad-invariance, draw-batch, etc) with the vmware svga driver.
tate_tracker/st_draw.c
|
ffee498fb848b253a7833373fe5430f8c7ca0c5f |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: let GL3 buf obj queries not depend on opengl major version While the ARB_map_buffer_range extension spec says nothing about these queries -- they were added in GL 3.0 --, it seems like this could be an error in the extension spec. This is one of the extensions, like ARB_framebuffer_object, that "back ports" OpenGL 3.0 functionality to previous versions. These extensions are supposed to provide identical functionality to OpenGL 3.0. The other cases of mismatches have been determined to be bugs in the extension specs. And tools like apitrace rely on such queries to function properly. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: José Fonseca <jfonseca@vmware.com> Acked-by: Brian Paul <brianp@vmware.com> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/bufferobj.c
|
3b744cb61afe0ded6c44f2419e4e4e27600197ba |
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove old assertion
tate_tracker/st_draw.c
|
c59bdee12ebc14fb97e33b8ef9df666422dafba5 |
27-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Disable PrimitiveID upload. We currently don't support gl_PrimitiveID, and I believe asking the hardware to generate it results in vertex cache invalidations. This could result in slowdowns for applications that use gl_InstanceID, which would be counter-productive. Just turn it off for now. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw_upload.c
|
e9bcdc2c37501dc6c7dce8960ec74ccb9f8b09e8 |
09-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable the GL_ARB_draw_instanced extension. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_extensions.c
|
e568b00562cf38afd779560c7431a94672531e95 |
09-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix swizzles for system values such as gl_InstanceID. visit(ir_variable *) sets dst_reg::writemask to the appropriate channel for system values. Unfortunately, visit(ir_dereference_variable *) then calls swizzle_for_size, which for a float, sets the swizzle to .x. This works for gl_VertexID, since we store it in the .x component (see brw_draw_upload.c:732 - VID), but fails for gl_InstanceID (IID) since we store it in the .y channel. To fix this, avoid calling swizzle_for_size on ir_var_system_values. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
767ba60831657a684e3852c398a0d13d1201158f |
28-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing error check for first < 0 in glDrawArraysInstanced(). Fixes piglit GL_ARB_draw_instanced/negative-arrays-first-negative. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_validate.c
|
871518dbf8266fe91d09e3368fe2bc90603cd3b1 |
28-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix display lists for draw_elements_base_vertex with draw_instanced. Fixes piglit GL_ARB_draw_elements_base_vertex/dlist-arb_draw_instanced Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/dlist.c
|
3c69a18b6a9f292542672c58bb324a69b750a208 |
28-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix display list handling for GL_ARB_draw_instanced. When you called them in a display list compile before, you would just end up calling through NULL. Fixes piglit GL_ARB_draw_instanced/dlist. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_validate.c
ain/dlist.c
|
d534b6840477e4da18f303a8b7f47a73bfcee4cf |
28-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix typo in comment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/vtxfmt.c
|
b2ace06cbbbb1021e2d7ace12a985c6406821939 |
29-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix Gen6+ dynamic state upper bound on older kernels. Kernels prior to 271d81b84171d84723357ae6d172ec16b0d8139c (March 2011) don't support relocations outside of the target buffer object. Rather than guarding this with a I915_PARAM_HAS_RELAXED_DELTA check, just smash the bound to 0xfffff001 like we do on Ironlake. This effectively gives us no upper bound check, just like we did prior to commit 271d81b84171d84723357ae6d172ec16b0d8139c. Daniel Vetter would also like to mention that this relies on the guard page at the end of the GTT. NOTE: This is a candidate for release branches. Fixes a regression since 271d81b84171d84723357ae6d172ec16b0d8139c. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46766 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
rivers/dri/i965/brw_misc_state.c
|
8ffb098234fbc3d2e3c8b3db6912dec9ea7a65eb |
05-Feb-2012 |
Eric Anholt <eric@anholt.net> |
glx: Convert to automake. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
akefile
|
ba1d921bdf7a15fcc4a4e3162ea6fe9810f233d6 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Push the shine table into the tnl module. All users of the shine table outside of the tnl module are gone. Move the implementation into the tnl module and prefix the public functions with _tnl. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_tcl.c
ain/light.c
ain/light.h
ain/mtypes.h
nl/t_context.c
nl/t_context.h
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/tnl.h
|
8e5bc6dd1dab61858ae34ed76c7b2cc3e90b7ad5 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Do not invalidate shine tables in compute light positions. Since the shine tables are now only used in the tnl lighting stage, where they are validated through the tnl driver function NotifyMaterialChange called in tnl/t_vb_light.c, we can not omit calling _mesa_validate_all_lighting_tables (which only validates the shine tables) in main/light.c. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/light.c
|
7793a63d3d3a0cf403b7f51dd3a72e4c37ebfb16 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Avoid revalidating shine tables in _tnl_RasterPos. Now that _tnl_RasterPos no longer uses the shine tables, avoid revalidating them. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
nl/t_rasterpos.c
|
a1b1f8ff866f8ce48cfc83c9d9dd9f636d05d2a7 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Avoid using the shine table for _tnl_RasterPos Use direct computation of pow for computing the shininess in _tnl_RasterPos. Since the _tnl_RasterPos function is still used by plenty drivers that do only need the shine table for _tnl_RasterPos but do not make use of swtnl computations, this enables pushing down the shine table computation and validation into the tnl module, which will happen in a followup change. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
nl/t_rasterpos.c
|
703ada1e4586acbbde31d0ea1eb81c5ce1557ca7 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Avoid explicit invalidation of shine tables. Since the shine tables are implicitly invalidated by having a different shininess value than the current one, we can omit the explicit invalidation of the shine table. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/light.c
|
619baeae3ca5b9f993d1c6ddd9c4c0541e5a4f11 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove gl_light_attrib::_Flags. This variable is only used locally in _mesa_update_lighting. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/light.c
ain/mtypes.h
86/gen_matypes.c
|
6b48d7e83d4ed09ae8db0da2f8a100d68d6e5e66 |
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove _CosCutoffNeg from light state. It is only used as a temporary variable during computation of _CosCutoff. So, don't store it. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/light.c
ain/mtypes.h
|
9b9c7da966a4f5182461be90dd6615fbe0399e3c |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use arrayObj var in more places in client_state()
ain/enable.c
|
6eba268ec65523fe8b2ec7dee670b2b5d4ebe1d9 |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: asst. fixes for texture arrays and borders For 1D array textures, there is no border on the height dimension. For 2D array textures, there is no border on the depth dimension.
ain/teximage.c
|
738482eec91f0898749d73bd97c5e864dd36bfb8 |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: check for no state change in VertexAttribDivisor() Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/varray.c
|
84870e215667c999202be31057df6e31a0389bb7 |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: reorder things in mtypes.h Move structs, enums, etc so they're in more logical order. In particular, the shader and transform feedback-related structs/enums were pretty scattered around.
ain/mtypes.h
|
0da508644339cdc59f122f503f86ff2eb4949d97 |
27-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Avoid blocking on the GPU for setting the HiZ op vertex data. We need to allocate new space every time to avoid blocking on the last HiZ op completing. There are two easy ways to do this: brw_state_batch() and intel_upload_data(). brw_state_batch() is simpler and avoids another buffer allocation. Improves Unigine Tropics performance 0.376416% +/- 0.148722% (n=7). Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen7_hiz.c
|
d9c42097770f173804c7c7c40bf8bc6c4400673b |
26-Feb-2012 |
Neil Roberts <neil@linux.intel.com> |
mesa: Don't disable fast path for normalized types Mesa has a fast path for the generic fallback when using glReadPixels for RGBA data which uses memcpy. However it was really difficult to hit this case because it would not be used if any transferOps are enabled. Any type apart from floating point or non-normalized integer types (so any of the common types) would force enabling clamping so the fast path could not be used. This patch makes it ignore clamping when determining whether to use the fast path if the data type of the buffer is an unsigned normalized type because in that case clamping will not have any effect anyway. https://bugs.freedesktop.org/show_bug.cgi?id=46631 NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
|
15357947226c5630bf546b0deec86f7e994de76a |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: minor comment, whitespace fixes in teximage.c
ain/teximage.c
|
72931ca4b9fb1002f5b62b74f7f7f32e94e80fde |
09-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: don't unreference user attribs up front. postpone unreferences until end of function, as the ones in use will get naturally dereferenced. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_draw.c
|
fd4a3d463c103192311aacc04f5f871f4a1035df |
09-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/vbo: inline vbo_sizeof_ib_type. Can't see any reason this wouldn't be better off as an inline. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
bo/vbo.h
bo/vbo_exec_array.c
|
2aeadabc7ec05e45d4f8f3bf4df531d9c451ad45 |
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
xlib: silence unused var warning
rivers/x11/fakeglx.c
|
04e324008759282728a95a1394bac2c4c2a1a3f9 |
23-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove PIPE_SHADER_CAP_OUTPUT_READ r600g is the only driver which has made use of it. The reason the CAP was added was to fix some piglit tests when the GLSL pass lower_output_reads didn't exist. However, not removing output reads breaks the fallback for glClampColorARB, which assumes outputs are not readable. The fix would be non-trivial and my personal preference is to remove the CAP, considering that reading outputs is uncommon and that we can now use lower_output_reads to fix the issue that the CAP was supposed to workaround in the first place.
tate_tracker/st_glsl_to_tgsi.cpp
|
c5e646002291fdc372dc5db507c71017ec0c0e70 |
19-Feb-2012 |
Vinson Lee <vlee@freedesktop.org> |
scons: Don't build the assembly sources on Mac OS X. This patch allows the Mac OS X SCons build to complete. The assembly sources contain psuedo-ops that not are supported on Mac OS X. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Conscript
|
590321c39db86baddf656b6e550cbd76ac1e569a |
24-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa/gdi: include swrast.h to fix compilation
rivers/windows/gdi/wgl.c
|
d7d4a1955b4f1fcafb5efab06a9f982fccefa19b |
21-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: initialize the MaxViewport, MaxRenderbufferSize constants Use the max 2D/rect texture size as the limit. If that's not true for some devices we'll need new PIPE_CAP_ queries.
tate_tracker/st_extensions.c
|
2b0aa3fb21386051976bf3c45e6455fc45d69bb3 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move more swrast-related #defines out of core Mesa
ain/config.h
wrast/s_chan.h
wrast/swrast.h
|
7ad880f49ffc5662c1d9cd86e6a5c30dbe71784b |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove STENCIL_BITS use
ain/context.c
|
074637bf991c1f0fbe7d63df75427975af711d7c |
21-Feb-2012 |
Brian Paul <brianp@vmware.com> |
xlib: remove STENCIL_BITS
rivers/x11/fakeglx.c
|
630ab0d27ba693602205479ea481c5b2a9e26346 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove last of MAX_WIDTH, MAX_HEIGHT Define new MAX_VIEWPORT_WIDTH/HEIGHT and MAX_RENDERBUFFER_SIZE values instead.
rivers/dri/i915/intel_decode.c
ain/config.h
ain/context.c
|
70d3363757d286f2fa97c9b60268a96156fdb224 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove MAX_WIDTH from prog_execute.h define a PROG_MAX_WIDTH var instead. It has to match MAX_WIDTH in swrast. More elaborate refactoring could fix that (someday).
rogram/prog_execute.h
wrast/s_context.c
|
3ff527fb6860f23795f86e9b85f3f66475796543 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
intel: remove MAX_WIDTH usage in intelInitContext()
rivers/dri/intel/intel_context.c
|
cb49def3d6f946def1f53c736d1179ed9b576ab1 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: check max renderbuffer size against SWRAST_MAX_WIDTH
wrast/s_context.c
|
a3b2c3a4211f72b82d1061a94447cdbc1321ab8e |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: use SWRAST_MAX_WIDTH/HEIGHT
rivers/osmesa/osmesa.c
|
df22829b9c984a826a0b2e39dd6badac2029996d |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
dri/swrast: use SWRAST_MAX_WIDTH/HEIGHT
rivers/dri/swrast/swrast.c
|
3f8a61ffa256b4fe36e93a0904b8893c805eb313 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
xlib: use SWRAST_MAX_WIDTH/HEIGHT
rivers/x11/fakeglx.c
|
47d88ef204b42a9220c6be3e98c92df9c9aa0860 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: define, use SWRAST_MAX_WIDTH/HEIGHT We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_points.c
wrast/s_span.c
wrast/s_span.h
wrast/s_texcombine.c
wrast/s_zoom.c
wrast/swrast.h
|
b5d096ac1ac075380d597133a484446afaa3571b |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove some cruft from config.h
ain/config.h
|
cfecffeedcd1a361499e74bec7ca61790db0036c |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: minor comment clean-ups in config.h
ain/config.h
|
99d22c4e3859b17ac1d5102f54b1a6d275d572bb |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove WIN32 MAX_WIDTH work-around in config.h There aren't any more stack-allocated arrays dimensioned by MAX_WIDTH so there shouldn't be any more stack overflows.
ain/config.h
|
ed65c5ccc3d15c350965f669d6891813c0ba8bcc |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH array in s_span.c
wrast/s_span.c
|
30ea34a8d9ad22be626c24aa660a80f2e08c1e24 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: simplify mask array code
wrast/s_triangle.c
|
fb1650b202822adf37baa7e51878311bb83dc976 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: stop using MAX_WIDTH arrays in triangle code
wrast/s_triangle.c
|
32bf36106ea433038b524311fc10cc5b835862f1 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH arrays in stencil code Use some per-context temporary arrays instead.
wrast/s_context.c
wrast/s_context.h
wrast/s_stencil.c
|
401810b658133d9c968be1de7fb4102ec7c4d19e |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH arrays in s_drawpix.c
wrast/s_drawpix.c
|
0c70d2c5bb046c8b2610c460d8c6d56975462066 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH arrays in s_zoom.c
wrast/s_zoom.c
|
237b2fca7aad9b15f3d8b6928d96cdff790b202a |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH arrays in s_depth.c
wrast/s_depth.c
|
837b55517ecc1964205e1eb10578b146529abd0b |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove MAX_WIDTH arrays in s_copypix.c
wrast/s_copypix.c
|
08687c7912f3d1b8f5420ba3c0a4fc474fa80d37 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move/fix MAX_WIDTH/HEIGHT-related assertions Max texture and viewport size is only limited by MAX_WIDTH/HEIGHT for swrast. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/context.c
wrast/s_context.c
|
3e88e432244336518e1bbcf303ee53eae4df2a02 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using MAX_WIDTH in st_cb_texture.c Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
62c69c340e71e97ddeaa757e033b8132399b9438 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using MAX_WIDTH in st_cb_drawpixels.c Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
531eaca41b574071fd1a3c3b51f90082601867ae |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: stop using MAX_WIDTH in glReadPixels code Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/readpix.c
|
2e09fe4b9c7fdc57a0c98b9df977625e23a0cf1c |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: stop using MAX_WIDTH in texstore code Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texstore.c
|
bc39de8c0b6bb19e411cfa8606f189c4868a5f01 |
15-Feb-2012 |
Paul Berry <stereotype441@gmail.com> |
glapi: Fix incorrect enum value. From http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt: Accepted by the <cap> parameter of Enable, Disable and IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev: TEXTURE_CUBE_MAP_SEAMLESS 0x884F This caused a change in enums.c, which is manually built from the .xml files. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/enums.c
|
6835103878afd27a1d66d29d16cbfb0b1e894a94 |
03-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use pipe_sampler_view_release() Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
c68334ffc0a97406eedf11a6b8f4d846b236fb45 |
03-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: add floating point formats in st_new_renderbuffer_fb() To allow creating floating point buffers / pbuffers. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
80513ec8b4c812b9c6249cc5824337a5f04ab34c |
17-Feb-2012 |
Paul Berry <stereotype441@gmail.com> |
i915: Initialize swrast_texture_image structure fields. Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast) moved the initialization of the Width, Height, and DepthScale fields to _swrast_alloc_texture_image_buffer(). However, i915 doesn't call this function because it performs its own buffer allocation. As a result, the Width, Height, and DepthScale fields weren't getting initialized properly, and some operations requiring swrast would fail. This patch ensures that Width, Height, and DepthScale are properly initialized by separating the code that sets them into a new function, _swrast_init_texture_image(), which is called by intel_alloc_texture_image_buffer() as well as _swrast_alloc_texture_image_buffer(). It also moves the initialization of _IsPowerOfTwo into this function. Fixes piglit test fbo/fbo-cubemap on i915. Partially fixes https://bugs.freedesktop.org/show_bug.cgi?id=41216 This is a candidate for the 8.0 branch. Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex.c
wrast/s_texture.c
wrast/swrast.h
|
0beed7f072e2a8127c7c02dfc39fb37053d96b22 |
22-Feb-2012 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
intel: bump DRI_IMAGE extension version to 3 To indicate support for the format query. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
rivers/dri/intel/intel_screen.c
|
8de5c355fa2bf0f30df2c7cf39aee01e793284bf |
21-Feb-2012 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
gbm: track buffer format through DRI drivers GBM needs the buffer format in order to communicate with DRM and clients for things like scanout. So track the DRI format requested in the various back ends and use it to return the DRI format back to GBM when requested. GBM will then map this into the GBM surface type (which is in turn based on the DRM fb format list). Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
0df14f9a55383641a9097900272a35ae1cfda4cb |
18-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add special case in texstore.c for GL_LUMINANCE_ALPHA src image About a 10% improvement over the swizzle-copy path. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/texstore.c
|
ab79d2be2e1288d4044a8b4ef356991625a176f5 |
21-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix near-NULL deref in setting up GS binding table for non-XFB. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sol.c
|
6ca50f381c9cbc87bbb864d2710f3cfa46a95ead |
21-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Correct the size of the state batch space allocated for binding tables. In the gen6 GS case, we were under-counting and so other state would get smashed. In the VS case, we were over-counting, so everything was fine. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/gen6_sol.c
|
9fa6377a75817eb9284d6dc482726943d2061489 |
21-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix a bad comment in gen6 sol setup. This was copy and paste from the VS where I had similar code. We're only looking at things derived from BRW_NEW_VERTEX_PROGRAM in this block. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sol.c
|
96ba94cad2c728c3772456bc02fbd0863153f4e6 |
21-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix the size of the GS surface binding table. I obviously didn't test on gen6 before pushing. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
|
172bb92db1a3c317867d9cfec6f15c09c37a0f6c |
19-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Only set Last Render Target Select on the last FB write. Fixes GPU hangs in OilRush, Trine, and Amnesia: The Dark Descent, which all use MRT (multiple render targets). NOTE: This is a candidate for release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38720 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40059 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45216 Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
|
f33d100fa71cecfb163dd91cd56b9a2788a43c22 |
16-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Silence valgrind warning for getparam ioctl argument. It was concerned that the 4 pad bytes on LP64 were uninitialized.
rivers/dri/intel/intel_screen.c
|
5a7942c2f1e3af4daedd92c1ddf21fa6a0e4e752 |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Rename the original binding table to mention that it's the WM now. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
f9c3ea32cd9b243050ee16f10d6eb9d9c8b3a8ea |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Split the gen6 GS binding table to a separate table. Improves VS state change microbenchmark performance by 7.08729% +/- 1.22289% (n=10) on gen7, because we don't upload the 64 dwords of unused binding table any more. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_sol.c
|
07e00b3040d6da381595c65db5afe597f20d99fc |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Split the VS binding table to a separate table. This is a step toward making the samplers/binding tables reflect sampler uniform mappings instead of embedding those in the programs. No significant performance difference on the microbenchmark (n=10). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_vs_state.c
|
83871566207d6692d1f20e4b666adb5dd0628dc3 |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Avoid recomputing whether we use noperspective. Improves VS state change microbenchmark performance 2.38246% +/- 1.15046% (n=20). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen7_clip_state.c
|
e9cfaed1a50665690534ef3d89c4ad37a3e34bed |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Skip checking if we need a GS program for now. We always say no. Improves VS state change microbenchmark performance 7.68747% +/- 1.40826% (n=10). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_upload.c
|
71d71d5e891570e8516c65471939a2ebdc07282a |
15-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Compute required barycentric interp modes once at FS compile time. Improves VS state change microbenchmark performance 1.78817% +/- 0.556878% (n=25). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
f0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16 |
13-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Move VUE map computation to once at VS compile time. With this and the previous patch, 640x480 nexuiz is running 0.169118% +/- 0.0863696% faster (n=121). On a VS state change microbenchmark, performance is increased 8.28645% +/- 0.460478% (n=52). v2: Fix CACHE_NEW_VS comment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_sol_state.c
|
9f3d3216cf25d8ffed4d72fbce6feacbc2990e4b |
13-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Make the userclip flag for the VUE map come from VS prog data. This reduces recomputation of state based on non-clipping-related transform changes, and is a step toward removing VUE map recomputation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_sol_state.c
|
b5c409363cfd144b1caad50b77ccc7591de42af2 |
16-Feb-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: fix issues with texture border and array textures For a 1D texture array, the border only applies to the width. For a 2D texture array the border applies to the width and height but not the depth. Sucha cases were not handled correctly in _mesa_init_teximage_fields(). Note: This is a candidate for stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
d2003ee7b7b4ab39144904d38167ed1a0d7d266d |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: check for no state change in glPrimitiveRestartIndex() Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/varray.c
|
45453d8f69a8e7d4088c71d238228c142e3be59f |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: check for no state change in Enable/DisableVertexAttribArray() Avoid setting dirty state flags when enabling or disabling a vertex attribute arrays when there's no change. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/varray.c
|
e14b3573676af291669ee6ef4a295fc61a22c8d8 |
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing return after _mesa_error() in update_array() NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/varray.c
|
df5963c25641a7c3a4bbfcb81cc3dc771581590e |
18-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make the dummy fragment shader work in SIMD16 mode. If you're resorting to the dummy shader, you've probably already turned off SIMD16 mode. But if you didn't, it would die in a fire. We could either fail to compile in SIMD16 mode...or just fix it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
393b42240f22dbbfb4f089036319031ad36173f3 |
18-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix GPU hangs in the dummy fragment shader. The dummy FB write failed to specify EOT and a message length, causing the GPU to hang. Now we can enjoy "everyone's favorite color" again. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
6e738d35c5c88769ececbadd5f4ac14d36647168 |
08-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
vbo: Eliminate short-circuiting in invalid-start case. Now that we have a index_range_invalid flag, we can just use that rather than calling vbo_validated_drawrangeelements directly and returning. NOTE: This is a candidate for release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_array.c
|
112b02c32402d96fd7d526ab84877bb66dc12de4 |
08-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
vbo: Rework checking of 'end' against _MaxElement. This failed to take basevertex into account: If basevertex < 0: (end + basevertex) might actually be in-bounds while 'end' is not. We would have clamped in this case when we probably shouldn't. This could break application drawing. If basevertex > 0: 'end' might be in-bounds while (end + basevertex) might not. We would have failed to clamp in this place. There's a comment indicating the TNL module depends on max_index being in-bounds; if so, it would likely break horribly. Rather than trying to clamp correctly in the face of basevertex, simply delete the clamping code and indicate that we don't have a valid range. This causes _tnl_vbo_draw_prims to use vbo_get_minmax_indices() to compute the actual bounds, which is much safer. NOTE: This is a candidate for release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
bo/vbo_exec_array.c
|
f00c97b23f78f3ccd1ea554ceebe7a33de7f81cf |
08-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
vbo: Ignore invalid element ranges which are outside VBO bounds. Some applications, such as Regnum Online, appear to pass invalid start/end values to glDrawRangeElements. In particular, the 'start' index sometimes exceeds the maximum array element. This is clearly invalid behavior, and although the spec isn't clear, seems to result in undefined, implementation-specific behavior. This patch takes the conservative approach and simply ignores the range, while issuing a warning indicating that the application is broken and should be fixed. NOTE: This is a candidate for release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45214 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44701 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41152 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40361 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28138 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> [v1] Reviewed-by: Roland Scheidegger <sroland@vmware.com>
bo/vbo_exec_array.c
|
f9be8543aab9005c30b38331b9f7250a01720942 |
08-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
vbo: Remove pedantic warning about 'end' beind out of bounds. The application supplied [start, end] range is merely a conservative hint of the ranges of index values inside the index buffer. There is no requirement that all vertices in the range [start, end] be referenced. Passing an 'end' value larger than the maximum legal index is perfectly acceptible; applications can legally pass 0xffffffff when they don't have a tighter bound readily available. Thus, the warning doesn't indicate a correctness issue; it could only indicate a performance issue. However, it does not even do that. glDrawRangeElements is designed to optimize non-VBO vertex data uploads by providing an upper bound on the size of buffers a driver would need to allocate. With VBOs, the data is already in an uploaded buffer, so the range doesn't help. The clincher is: we only know _MaxElement for VBOs. For user-space arrays, we just set it to 2,000,000,000 (see mesa/main/varray.h:63.) So we can only check this in the case where it is not useful. Many applications, including the Unigine demos, currently trigger this warning, which suggests the applications are buggy when they're actually fine. Eliminating the warning should confuse users less while not actually losing any benefit to application developers. NOTE: This is a candidate for release branches. Suggested-by: Jose Fonseca <jfonseca@vmware.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
bo/vbo_exec_array.c
|
e2dce7f7ee3e7da9cbb0bb33307ecd79e824426d |
10-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix rendering from textures after RenderTexture(). There's a serious trap for drivers: RenderTexture() does not indicate that the texture is currently bound to the draw buffer, despite FinishRenderTexture() signaling that the texture is just now being unbound from the draw buffer. We were acting as if RenderTexture() *was* the start of rendering and that we could make texturing incoherent with the current contents of the renderbuffer. This caused intel oglconform sRGB Mipmap.1D_textures to fail, because we got a call to TexImage() and thus RenderTexture() on a texture bound to a framebuffer that wasn't the draw buffer, so we skipped validating the new image into the texture object used for rendering. We can't (easily) make RenderTexture() indicate the start of drawing, because both our driver and gallium are using it as the moment to set up the renderbuffer wrapper used for things like MapRenderbuffer(). Instead, postpone the setup of the workaround render target miptree until update_renderbuffer time, so that we no longer need to skip validation of miptrees used as render targets. As a bonus, this should make GL_NV_texture_barrier possible. (This also fixes a regression in the gen4 small-mipmap rendering since 3b38b33c1648b07e75dc4d8340758171e109c598, which switched set_draw_offset from image->mt to irb->mt but didn't move the irb->mt replacement up before set_draw_offset). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44961 NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_validate.c
|
308c6be802fc8d7cd470316ace717aa7bb6b2a08 |
10-Feb-2012 |
Eric Anholt <eric@anholt.net> |
intel: Improve the fallback debug for framebuffer status checks.
rivers/dri/intel/intel_fbo.c
|
a1fd13fff18f95b83fabf3428689ff47abb5c5f8 |
10-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Only end render-to-texture at bind time for drawbuffers. If we're only starting for new draw buffers, why would we end for old read buffers along with draw buffers?
ain/fbobject.c
|
f16c40d2f6ee8174545bb1d1e999525a37c0178b |
17-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Update the version string to 8.1-devel The numeric version was updated in 46883e0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/version.h
|
6f3d91840945fbd9221a247e4f95b32c4051f202 |
15-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing texture integer test in glTexSubImage() If the texture format is integer, the incoming user data must also be integer (and similarly for non-integer textures). NOTE: This is a candidate for the stable branches. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
|
709f50928e1d4df755ffb90ec9f33ba6c9605a32 |
19-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit Ivybridge VS workaround flushes. I recently discovered this text in the BSpec. It seems wise to comply, though I haven't observed it to fix anything yet. Fixes a regression in glean/fbo since 28cfa1fa213fe. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45221 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_urb.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
b631b471d86747c8bb20c6c9c413ff1ff2ad6486 |
13-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Include the multisample enables under GL_MULTISAMPLE_BIT attrib as well. Fixes (with the previous commit) piglit GL_ARB_multisample/pushpop. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/attrib.c
|
4b6e45c7d6a60be71540109866c71fe0d2f35569 |
13-Feb-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix push/pop of multisample coverage invert. In the table of of push/pop attributes, this one doesn't fall under the enable group. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/attrib.c
|
3e22d4e5fc32dafcb9669a9d6376323aa88e300c |
11-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Only avoid empty _TexEnvPrograms If the generated shader for _TexEnvProgram is empty, force the use of the fixed-function code. Otherwise, go ahead and use the shader. This works around a mysterious issue on i915 where fixed-function software fallbacks are not working correctly. This isn't really the fix we want, but it works around the issue. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45872 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45876
wrast/s_fragprog.c
|
7539a0d67779d63149bf78f257f415f1ebf30b59 |
14-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix typo: s/patent/parent/
tate_tracker/st_texture.h
|
456a02b0c7722f22962bca4c26b755381a8de096 |
14-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused st_equal_formats() function It was incomplete and didn't take byte swapping into account either. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_format.c
tate_tracker/st_format.h
|
c9d0526084e87799f11bdb7322f257b88f1033c4 |
14-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_format_matches_format_and_type() in decompress_with_blit() st_equal_formats() is no longer used now. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
b549fd138eab508c5e942ec1807a9bac7e6af56f |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove INLINE qualifiers from st_get/create_texture_sampler_view_from stobj() functions. No real value in these cases. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_texture.c
|
9600b0762b8007f63e96f590e338ea0a8e89e095 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: simplify st_create_texture_sampler_view() Implement in terms of st_create_texture_sampler_view_format(). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_texture.h
|
91ec17835f7923add522e01d486bc89683dfe881 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused st_get_texture_sampler_view() Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_texture.h
|
0315cb9f8f3ec38fa9594860754fb53a67cf4c23 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use private pipe_sampler_view in decompress_with_blit() Similar to the previous commit. Also fix incorrect setting of the sampler view's state after it's created. We need to specify the first/last_level fields in the template instead. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_texture.c
|
c5ba6a780769c61ffc7c5b1de94b583671bc5418 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use private pipe_sampler_view in st_render_mipmap() Rather than the one in st_texture_object. This sampler view really has no connection to the one used for rendering. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_gen_mipmap.c
|
0bda900743702a2c0f95024f004e6210e59fd5dd |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use z32f_x24s8 struct in format pack/unpack code And remove needless & 0xff in _mesa_pack_uint_24_8_depth_stencil_row(). As suggested by José. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/format_pack.c
ain/format_unpack.c
|
dba7ad0ca92f1ff4012db4ffdf102d7bb8ee3c10 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: assorted clean-ups in st_cb_fbo.c Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
418306397fa7f71e070b285919460e9914af8739 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_framebuffer_renderbuffer() Just use _mesa_framebuffer_renderbuffer(). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
ea2aca036c742474cda03e3b7012b188a14d0287 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_get_default_texture() Just use _mesa_get_fallback_texture() instead. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
|
c04db7f7fad883891084d7f2e9a0040a17c48fe8 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_get_fallback_texture() to handle all texture targets Previously, this function only handled 2D textures. The fallback texture is used when we try to sample from an incomplete texture object. GLSL says sampling an incomplete texture should return (0,0,0,1). v2: use a 1-texel texture image, per José. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/mtypes.h
ain/shared.c
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
447071cfb01cf52e3e6591c71684a689f7e900fa |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: improve assertion/check for stencil format
tate_tracker/st_cb_clear.c
|
82ddd1129e76b8bb978497df2940d1449a848551 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add MESA_FORMAT_Z32_FLOAT_X24S8 case in format unpack code Added in _mesa_pack_uint_24_8_depth_stencil_row(). This could be hit by something like glDrawPixels(GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8) into a MESA_FORMAT_Z32_FLOAT_X24S8 buffer. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/format_pack.c
|
5e81d3b85300077a0df1f1d77646a7e939d32a7f |
12-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_pack_ubyte_stencil_row() in draw_stencil_pixels() Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
5a70e12fc0897a3178c73b20d99fc0f11b180374 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't set PIPE_BIND_DISPLAY_TARGET for user-created renderbuffers The st_renderbuffer_alloc_storage() function is used to allocate both window-system buffers and user-created renderbuffers. The later kind are never directly displayed so don't set PIPE_BIND_DISPLAY_TARGET for those surfaces. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
fc855f85d03c0e3de54443fbfecd235e0d703be9 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use u_surface_default_template() helper Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_manager.c
|
d9ae5db6e3aed724b81324c67074c2d792a2f2a5 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove redundant memset(surface_template,0) The subsequent u_surface_default_template() call does that for us. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
2e12b4cfef79b81a68597ec1320754989b1c1fa4 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_renderbuffer::stride It was only used for software buffers and easily computed. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
d765c8ee8c761bb73d634bb274cfc5061892c9a8 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_renderbuffer::format We only used it in a few places that can implemented differently. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
dbe88515c55bd067bc2036345b30e65686a49cf2 |
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typos in fbobject.c
ain/fbobject.c
|
4b274068204c7f0bacaa4639f24feb433353b861 |
14-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Take # of components into account in try_rewrite_rhs_to_dst. Commit dc7f449d1ac53a66e6efb56ccf2a5953418a26ca introduced a new method for avoiding MOVs: try to rewrite the destination of the instruction that produced the RHS so it writes into the LHS. Unfortunately, this is not safe for swizzled texturing operations, as they return a set of four contiguous registers. Consider the following: (assign (x) (var_ref vec_ctor_x) (swiz x (tex vec4 (var_ref m_sampY) (var_ref m_cordY) 0 1 ()))) In this case, the source and destination registers are equal, since reg_offset is 0 for both. Yet, this is only a partial move: the texture operation generates four registers, and the LHS only covers one. Fixes color distortion in XBMC when using GLSL shaders. NOTE: This is a candidate for the 8.0 branch (with the previous commit). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44333 Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
8ab02b511882857a09fceed0e93bf4a0b25c17b2 |
14-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add a new fs_inst::regs_written function. Certain instructions write more than one register. Texturing, for example, returns 4 registers. (We set rlen to 4 even for TXS and float shadow sampling.) Some math functions return 2. Most return 1. The next commit introduces a use of this function. NOTE: This is a candidate for the 8.0 branch (dependency of a fix). Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.h
|
66bf25f1a2cc8343640cdfc4242d882bc00b9e3b |
13-Feb-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
meta: Avoid FBO resizing/reallocating in decompress_texture_image Reallocate/resize decompress FBO only if texture image width/height is greater than existing decompress FBO width/height. This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
6b0a07f9ce844a8a96e2583bd37ed8453bf151c6 |
11-Feb-2012 |
Paul Berry <stereotype441@gmail.com> |
i915: Fix type of "specoffset" variable. Commit 2e5a1a2 (intel: Convert from GLboolean to 'bool' from stdbool.h.) converted the "specoffset" local variable (in intel_tris.c) from a GLboolean to a bool. However, GLboolean was the wrong type for specoffset--it should have been a GLuint (to match the declaration of specoffset in struct intel_context). This patch changes specoffset to the proper type. Fixes piglit test general/two-sided-lighting-separate-specular. This is a candidate for stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45917 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/intel_tris.c
|
93831a54c7d4e74f353e0029164b1b3262e98806 |
10-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Enable register spilling on gen7 too. It turns out the same messages work on gen7, we were just being paranoid. Fixes the penumbra shadows mode of Lightsmark since the register allocation fix. NOTE: This is a candidate for release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
a7f46eadea4555ed377928d4e3f89db4a445312e |
09-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Report the failure message when failing to compile the fragment shader. We just abort later, but at least this should result in more informative bug reports. NOTE: This is a candidate for release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
40427025916e003cfd380c2e30df78ad2bc8fe10 |
11-Feb-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
meta: Add pixel store/pack operations in decompress_texture_image This patch adds the pixel store operations in decompress_texture_image(). decompress_texture_image() is used in glGetTexImage() for compressed textures with unsigned, normalized values. It also fixes the failures in intel oglconform pxstore-gettex due to following sub test cases: - Test all mipmaps with byte swapping enabled - Test all small mipmaps with all allowable alignment values - Test subimage packing for all mipmap levels Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40864 Note: This is a candidate for stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
df1cd55ebf362948788c04d2fa7da55c80991605 |
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing GL_UNSIGNED_INT_10F_11F_11F_REV case in _mesa_error_check_format_and_type(). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=45967
ain/image.c
|
094eeff19946138d6306d74e9e62af5e9d192abd |
30-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: only resolve if number of samples is > 1 Marek: this fixes a firefox crash and maybe even: https://bugs.freedesktop.org/show_bug.cgi?id=45943 NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_cb_blit.c
|
bd1ae51b13535bc4438c663ffe91ded49db4890a |
03-Feb-2012 |
Brian Paul <brianp@vmware.com> |
swrast: fix span color type selection Fixes a regression from commit 660ed923ded3552e023ef8c3dd9f92e6792f1bd2. The basic idea is to look at the format of the dest renderbuffer and choose either GLubyte or GLfloat for colors. The previous code used _mesa_format_to_type_and_comps() which could return a bunch types other than ubyte/float. Determine the datatype at renderbuffer mapping time to avoid frequent calls to the format query functions. NOTE: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45578 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45577
wrast/s_context.h
wrast/s_renderbuffer.c
wrast/s_span.c
|
b72d5767e3092016e0c2cfacaf38bb09d570955d |
12-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
extensions: remove unused code. Comparing an unsigned to < 0 is pointless. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/extensions.c
|
449cae141e79fe233f9ce20b9f2b19132148774b |
12-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/texparam: drop double semicolons no idea where these came from, drop them. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texparam.c
|
3340b47c2280346ba2f44dde44466f09d898b9d8 |
09-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix border color on Ironlake. Ironlake appears to check our pointer against the General State Base Address upper bound, rather than ignoring the zero bound as it ought. Unfortunately, since we leave GSBA set to zero, there is no logical upper bound. Set it to the maximum possible value, which should work since our virtual addresses only go up to 2GB. +94 piglits. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28924 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
7d55f37b0e87db9b3806088797075161a1c9a8bb |
07-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for generating MADs. Improves nexuiz performance 0.65% +/- .10% (n=5) on my gen6, and .39% +/- .11% (n=10) on gen7. No statistically significant performance difference on warsow (n=5, but only one shader has MADs). v2: Add support for MADs in 16-wide by using compression control. v3: Don't generate MADs when it will force an immediate to be moved to a temp. (it's not clear whether this is a win or not, but it should result in less questionable change to codegen compared to v2). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v2)
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
a1bfafc5a96012c14db9b0d28223ab54feae131c |
07-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add missing register allocation for 3rd sources. Our only instruction with a 3rd source so far was linterp, and that value was never register-allocated. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
2b28fd6ca603df40a5d02aac4035eced3a1d079a |
22-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for the MAD opcode on gen6+. v2: Fix MRF handling on gen7. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
46883e01ba90b64f9ddad1aa0b585188081e8290 |
11-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
Bump version to 8.1 (devel) Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/version.h
|
a8cc228edd1dd6328f8b9086d768b52f821c6575 |
10-Feb-2012 |
Alex Deucher <alexander.deucher@amd.com> |
radeon: build fix after 9d9111108eadd65708899284b1cfa9ca425f3ac8 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/radeon/radeon_tcl.c
|
5ee8969b11b8018ed3e1e785f34a6b8fe6abf0ff |
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_shared_state::DriverData field
ain/mtypes.h
|
d925b0d4a72147d3bc34e7ba068d48179be93021 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix proxy texture target initialization The mapping from TEXTURE_x_INDEX to GL_TEXTURE_x was broken in alloc_proxy_textures() because the elements in the targets[] array were in the wrong order. This didn't actually cause any failures since we never really use the proxy texture's Target field. But let's get it right. NOTE: This is a candidate for the 8.0 branch.
ain/texstate.c
|
3e59fb570ae82d988a90d341d1ffdd5c3ece1aa4 |
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_pixelmap::Map8[] array Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/mtypes.h
ain/pixel.c
|
80fd3d2ca8ae96ebad55c49ed499602e4a669b5a |
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using Map8[] tables in load_color_map_texture() Use the float tables instead. Pixel maps are seldom used so this shouldn't be a big deal. Next, we can get rid of the gl_pixelmap::Map8 array. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_atom_pixeltransfer.c
|
0d6ef4e299d77086d6da3b09664f6550ce0b9e72 |
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _mesa_map_ci8_to_rgba8() Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/pixeltransfer.c
ain/pixeltransfer.h
|
fcca8f0b7aeedaf22b33223b6148a6b5731ba89c |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error handling in get_tex_rgba_compressed()
ain/texgetimage.c
|
1a4f398a63f6b7b9258a0a63ba22fb0e95937c54 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_format_matches_format_and_type() in get_tex_memcpy()
ain/texgetimage.c
|
07459ba50979a99e12720bd9e41a1aa3b8d24e41 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: push row stride adjustment down into _mesa_decompress_image() There's a mismatch in row strides for compressed textures between what Driver.MapTextureImage() returns and what the software fetch-texel functions use. Move it down a layer. The next step would be to fix this in the fetch-texel functions.
ain/texcompress.c
ain/texgetimage.c
|
9d9111108eadd65708899284b1cfa9ca425f3ac8 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: replace GET_SHINE_TAB_ENTRY() macro with an inline function
ain/light.h
nl/t_rasterpos.c
nl/t_vb_lighttmp.h
|
d1b79672425115b0f6f9fc3aadcf3800f5f3a7dc |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_invalidate_shine_table() static
ain/light.c
ain/light.h
|
ae509f88a54b9cc32f16099109330f2792593c83 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_light::_SpotExpTable field Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
ain/light.c
ain/light.h
ain/mtypes.h
nl/t_rasterpos.c
nl/t_vb_lighttmp.h
86/gen_matypes.c
|
4dacf793c8bf5c18f66efeb04e9d8a7e037e7378 |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
meta: replace abort() with _mesa_problem() Reviewed-by: José Fonseca <jfonseca@vmware.com>
rivers/common/meta.c
|
068b9dc26882b85ff0c7d0894b4c11791a5b641e |
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo
ain/mtypes.h
|
a7750c9fb5db9d76318c35a901f5359bf586cddf |
09-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix the length of the MULTISAMPLE state packet in the HiZ op. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_hiz.c
|
cdcfaa64e3a237517a1e1c913e8ea18d8bc5fa63 |
09-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix the length of the DS state packet in the HiZ op. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_hiz.c
|
e5b225afbd581ccf5d61e9d6c566e26e74abe91e |
09-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix GPU hangs from the HiZ op. The wm max threads is in the same dword as the dispatch enable. The hardware gets super angry if you set max threads to 0, even if you aren't dispatching threads.
rivers/dri/i965/gen7_hiz.c
|
ea228d97f811092b9ffcb90565184a7a8f089477 |
26-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: fix maximum allowed proxy texture size condition width, height parameter in glTexImage2D() includes: texture image width + 2 * border (if any). So when doing the texture size check in _mesa_test_proxy_teximage() width and height should not exceed maximum supported size for target texture type + 2 * border. i.e. 1 << (ctx->Const.MaxTextureLevels - 1) + 2 * border Texture border is anyway stripped out before it is given to intel or gallium drivers. This patch fixes Intel oglconform test case: max_values negative.textureSize.textureCube Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970 Note: This is a candidate for mesa 8.0 branch. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
23c52caafba52c77092b9721bd4601f8ea592625 |
08-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: exit the update fragment samplers/textures loops early. If we have no more enabled samplers and we've reset all the previously used ones, no need to keep going around this loop. (just moved some stuff around to clean it up a bit). Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
|
86163b81a49deb1df84d25a06333649949007c5a |
08-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: fixup NDEBUG vs DEBUG causing debug path to get taken. From what I can see we were taking the debug path all the time, when we probably only want it for enable debug path. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom.c
|
781f84a3c2f7a06cb9e6cc44b8d5d08b39577c25 |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
vbo: unmap vertex store before executing lists We don't want our VBOs mapped when we're drawing. This change checks if the vertex store VBO is mapped before we execute a list, unmaps it, then remaps it after drawing. This situation pops up when building a nested display list in GL_COMPILE_AND_EXECUTE mode. Reviewed-by: Eric Anholt <eric@anholt.net>
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
|
8b4f7b0672d663273310fffa9490ad996f5b914a |
06-Feb-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
gallium: add PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION Just let the hardware do it if it can and avoid drivers having to check for the special case on each draw call. v2: update the draw module
tate_tracker/st_extensions.c
|
b44c459cc32d0a4e70e86deae245b3097ac360a1 |
08-Feb-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Remove file i965/junk, accidentally added in 7b36c68
rivers/dri/i965/junk
|
833a33bf6e085a79ec74c5f296a8e55ebec9f9b5 |
07-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: avoid vertex texture and sampler updates for 0 case If we had no vertex textures or samplers previously and we have none now, don't bother doing the enables dance. I was profiling nexuiz on noop and noticed these two functions in the profile, this drops their usage from 0.86% to 0.03% and 0.23% to 0.03% for texture and samplers. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
|
33f4461ec9e35b8de13d68b628dc1b0854c2314c |
08-Feb-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove broken symlink to intel_decode.c. Eric removed intel_decode.c in 61b9ccd9e298ca1d3db55aee0cb2ff78662d6fa6.
rivers/dri/i965/intel_decode.c
|
7c857a6b159debf76d4661f494fd2c97d205b5b1 |
04-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Implement GL_CLAMP behavior on texture rectangles on gen6+. We were doing saturate-based clamping on the [0,width] or [0,height] coordinate, which meant only the first pixel was addressable. Fixes piglit ARB_texture_rectangle/texwrap-RECT-bordercolor NOTE: This is a candidate for the 8.0 release branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
|
07e621c52329cd17b97051a26493626228d043b9 |
03-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Move GL_CLAMP handling to coordinate setup. We should be able to merge self-move instruction into the MRF move anyway, and this simplifies things for the next commit. NOTE: This is a candidate for the 8.0 release branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
|
94866ffbb8c2bb6957a763975da859b123d74b16 |
08-Feb-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix HiZ change compiler warning.
rivers/dri/i965/gen6_hiz.c
|
7b36c68ba6899c7f30fd56b7ef07a78b027771ac |
26-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Rewrite the HiZ op The HiZ op was implemented as a meta-op. This patch reimplements it by emitting a special HiZ batch. This fixes several known bugs, and likely a lot of undiscovered ones too. ==== Why the HiZ meta-op needed to die ==== The HiZ op was implemented as a meta-op, which caused lots of trouble. All other meta-ops occur as a result of some GL call (for example, glClear and glGenerateMipmap), but the HiZ meta-op was special. It was called in places that Mesa (in particular, the vbo and swrast modules) did not expect---and were not prepared for---state changes to occur (for example: glDraw; glCallList; within glBegin/End blocks; and within swrast_prepare_render as a result of intel_miptree_map). In an attempt to work around these unexpected state changes, I added two hooks in i965: - A hook for glDraw, located in brw_predraw_resolve_buffers (which is called in the glDraw path). This hook detected if a predraw resolve meta-op had occurred, and would hackishly repropagate some GL state if necessary. This ensured that the meta-op state changes would not intefere with the vbo module's subsequent execution of glDraw. - A hook for glBegin, implemented by brwPrepareExecBegin. This hook resolved all buffers before entering a glBegin/End block, thus preventing an infinitely recurring call to vbo_exec_FlushVertices. The vbo module calls vbo_exec_FlushVertices to flush its vertex queue in response to GL state changes. Unfortunately, these hooks were not sufficient. The meta-op state changes still interacted badly with glPopAttrib (as discovered in bug 44927) and with swrast rendering (as discovered by debugging gen6's swrast fallback for glBitmap). I expect there are more undiscovered bugs. Rather than play whack-a-mole in a minefield, the sane approach is to replace the HiZ meta-op with something safer. ==== How it was killed ==== This patch consists of several logical components: 1. Rewrite the HiZ op by replacing function gen6_resolve_slice with gen6_hiz_exec and gen7_hiz_exec. The new functions do not call a meta-op, but instead manually construct and emit a batch to "draw" the HiZ op's rectangle primitive. The new functions alter no GL state. 2. Add fields to brw_context::hiz for the new HiZ op. 3. Emit a workaround flush when toggling 3DSTATE_VS.VsFunctionEnable. 4. Kill all dead HiZ code: - the function gen6_resolve_slice - the dirty flag BRW_NEW_HIZ - the dead fields in brw_context::hiz - the state packet manipulation triggered by the now removed brw_context::hiz::op - the meta-op workaround in brw_predraw_resolve_buffers (discussed above) - the meta-op workaround brwPrepareExecBegin (discussed above) Note: This is a candidate for the 8.0 branch. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327 Reported-by: xunx.fang@intel.com Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44927 Reported-by: chao.a.chen@intel.com Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen6_hiz.h
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_hiz.c
rivers/dri/i965/gen7_hiz.h
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/junk
|
d59466279e45a1e9c3f9081f72fedbdf961afbe1 |
03-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Avoid divide by zero for very small linear blits If size is small (such as 1), pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 1), 4); makes pitch = 0. Then height = size / pitch; causes a division-by-zero exception. If pitch is zero, set height to 1 and avoid the division. This fixes piglit's bin/getteximage-formats test and glean's bufferObject test. NOTE: This is a candidate for the 8.0 release branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44971
rivers/dri/intel/intel_blit.c
|
65b096aeddd9b45ca038f44cc9adfff86c8c48b2 |
01-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove num_mapped_regions assertion from _intel_batchbuffer_flush There are cases where a buffer can be mapped while another buffer is flushed. This can happen in the CopyPixels meta-op path for piglit's fbo-mipmap-copypix. After some discussion with Eric, it seems this assertion is no longer necessary, and it has always been too strict. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43328 Cc: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_batchbuffer.c
|
938671397f6e88b68e77c93d6b440f9602950fbe |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _mesa_error_check_format_type() function This was only used by glReadPixels and glDrawPixels. Now those functions do the corresponding error checks. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
ain/readpix.h
|
b8f7eef4ef84d53d32d08a70dc7daec623cf7eab |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: stop using _mesa_error_check_format_type() in glReadPixels Basically the same story as the previous commit. But we were already calling _mesa_source_buffer_exists() in ReadPixels(). Yeah, we were calling it twice. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
|
6bed7a861da05ef9751b373a78490db1c5b3e277 |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: stop using _mesa_error_check_format_type() in glDrawPixels The _mesa_error_check_format_type() function does two things: check that format/type is legal and check that the destination (or source buffer for glReadPixels) actually exists. Just move the relevant parts of that into _mesa_DrawPixels(). We'll do a similar change in glReadPixels then get rid of the function altogether. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/drawpix.c
|
675d44629c4099157404065fe86932186a53334f |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant format/type checks in glReadPixels() These are done in _mesa_error_check_format_and_type(). Signed-off-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
|
8b3a517673e8a2cbc4d9472c41de9dac5df9feaf |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant format/type checks in glGetTexImage() The _mesa_error_check_format_and_type() function will catch all those cases now. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
627b435dfe17698a1c69e9a259838fc6f2e6bd4e |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_error_check_format_and_type() function This replaces the _mesa_is_legal_format_and_type() function. According to the spec, some invalid format/type combinations to glDrawPixels, ReadPixels and glTexImage should generate GL_INVALID_ENUM but others should generate GL_INVALID_OPERATION. With the old function we didn't make that distinction and generated GL_INVALID_ENUM errors instead of GL_INVALID_OPERATION. The new function returns one of those errors or GL_NO_ERROR. This will also let us remove some redundant format/type checks in follow-on commit. v2: add more checks for ARB_texture_rgb10_a2ui at the top of _mesa_error_check_format_and_type() per Ian. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/image.c
ain/image.h
ain/readpix.c
ain/texgetimage.c
ain/teximage.c
|
aed51e3e6a90dd667bd9915817d16ba14a79720c |
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: support more format/type combos in _mesa_dump_image()
ain/debug.c
|
ffc8494db556f9e95b4bcc3d3c49d7c48b4e2f41 |
02-Feb-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
dri: Don't build libdricommon.la if we don't need it Refine 80aa78142d12b21dd7d4f0edc786af98a159a80f "dri: make sure to build libdricommon.la" so we don't build libdricommon if we aren't building a dri driver which needs it (i.e. if we are just building swrast) In particular, this restores the ability to build the swrast dri driver without having to have a xf86drm.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
rivers/dri/Makefile.am
|
1f4a853b1e4691400ab832c589b044b659c20c06 |
06-Feb-2012 |
Roland Scheidegger <sroland@vmware.com> |
mesa: check_index_bounds off-by-one fix in check_index_bounds the comparison needs to be "greater equal" since contrary to the name _MaxElement is the count of the array (this matches similar code in vbo_exec_DrawRangeElementsBaseVertex). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/api_validate.c
|
84e5f1c635899c657da58ca51d5e841354e9de9c |
01-Feb-2012 |
Eugeni Dodonov <eugeni.dodonov@intel.com> |
intel: check for LLC support when reading maps This checks for advertised LLC support by the GPU instead of relying on the GPU generation for detection. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
7def293204977c41ea35198af147f743a31b1889 |
01-Feb-2012 |
Eugeni Dodonov <eugeni.dodonov@intel.com> |
intel: verify if hardware has LLC support Rely on libdrm HAS_LLC parameter to verify if hardware supports it. In case the libdrm version does not supports this check, fallback to older way of detecting it which assumed that GPUs newer than GEN6 have it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
f8be4f33d31d004bfcf090fa7d4aa37b750e43af |
02-Feb-2012 |
Chih-Wei Huang <cwhuang@linux.org.tw> |
vbo: fix a building error Signed-off-by: Marek Olšák <maraeo@gmail.com> NOTE: This is a candidate for the 8.0 branch.
bo/vbo_exec_array.c
|
87b4c9b322dabeba7c9a9d02e9efefd2c89e6625 |
01-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: FBOs with texture border are unsupported FBOs differ from textures in a significant way. With textures, we can strip the border and get correct rendering except when the application fetches texels outside [0,1]. With an FBO, the pixel at (0,0) is in the border. The ARB_framebuffer_object spec says: "If the attached image is a texture image, then the window coordinates (x[w], y[w]) correspond to the texel (i, j, k), from figure 3.10 as follows: i = (x[w] - b) j = (y[w] - b) k = (layer - b) where <b> is the texture image's border width..." Since the border doesn't exist, we can never render any pixels in the correct location. Just mark these FBOs FRAMEBUFFER_UNSUPPORTED. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42336
rivers/dri/intel/intel_fbo.c
|
b8c9252570d126e06607cd28b14f0fe3a2ffe4cf |
30-Jan-2012 |
Eric Anholt <eric@anholt.net> |
dri: Add Unigine Tropics as an app that requires the GLSL warn workaround. I wasn't seeing it be needed because of the previous bug. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/common/drirc
|
4dd2743d4542bedd935134d351e528ad574f7ee5 |
30-Jan-2012 |
Eric Anholt <eric@anholt.net> |
dri: Fix typo in xml file that made all applications use the workaround. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/common/drirc
|
27af00eac8c574c2fc145e333d1c0ade1fd91cda |
30-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the error message function names for glFlushMappedBufferRange(). Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
|
f20fb80a916d9f88dbc7efc43d4c31e038cb70c6 |
26-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix bad-enum/no-buffer error handling for buffer object functions. For all the extension entrypoints using the get_buffer() helper, they wanted the same error handling. In some cases, the error was doing the same error return whether target was a bad enum, or a user buffer wasn't bound. (Actually, GL_ARB_map_buffer_range doesn't specify the error for a zero buffer being bound for MapBufferRange, though it does for FlushMappedBufferRange. This appears to be an oversight). Fixes piglit GL_ARB_copy_buffer/negative-bound-zero. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
|
2e8f8cb383320b83ba5d85c27808ac2d841834e6 |
02-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix copy-and-paste error in _mesa_pack_rgba_span_float GL_RG_INTEGER only has two components, not three. I'll be surprised if anyone ever tries to glReadPixels(..., GL_SHORT, GL_RG_INTEGER, ...). This was found by inspection. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
5c341b7df3c1058d586629394e53e9e26ae2cc01 |
01-Feb-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix copy-and-paste bug in do_row_3D Several of the half-float cases used 4 as the texel size when it should have been some smaller value. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43324 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43325
ain/mipmap.c
|
660ed923ded3552e023ef8c3dd9f92e6792f1bd2 |
31-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Convert colors if span ChanType and renderbuffer data type don't match This is a partial revert of f9874fe. It turns out that the types don't always match. Specifically, this can happen when doing glCopyPixels from a float FBO to a RGBA8 FBO. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45429 Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_span.c
|
e06b1c65bc576a9b239841cbe3a8a8c2d6a8d09f |
31-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Set the gl_array_object::ARBsemantics flag at the right time With 0963990 the flag was only set when Bind created the object. In all cases where ::ARBsemantics could be true, this path never happened. Instead, add a _Used flag to track whether a VAO has ever been bound. On the first Bind, set the _Used flag, and set the ARBsemantics flag to the correct value. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45423
ain/arrayobj.c
ain/mtypes.h
|
af1477b088448aeca762f515410c80054cb225b9 |
18-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add unpack_uint_z_row support for floating-point depth buffers This is a hack, and it will result in incorrect rendering. However, it does eliminate spurious warnings in several piglit CopyPixels tests that involve floating-point depth buffers. The real solution is to add a zf field to SWspan to store float Z values. When a float depth buffer is involved, swrast should also populate the zf field. I'll consider this post-8.0 work. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
e20e30b28c5c61f99e61f64d84d8bcb0577f1318 |
02-Feb-2012 |
Brian Paul <brianp@vmware.com> |
Revert "Fix underlinking in libOSMesa since commit adefee5 "Always build shared glapi"" This reverts commit 4e5a8937d1a1bfb2a3bd067ed01e036728675fc2. ... to fix build with --enable-osmesa
rivers/osmesa/Makefile
|
15986d21ebaaeedb234b066edba5cf7f6ea87a3c |
26-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: fix maximum allowed proxy texture size condition width, height parameter in glTexImage2D() includes: texture image width + 2 * border (if any). So when doing the texture size check in _mesa_test_proxy_teximage() width and height should not exceed maximum supported size for target texture type. i.e. 1 << (ctx->Const.MaxTextureLevels - 1) Texture border is anyway stripped out before it is given to intel or gallium drivers. This patch fixes Intel oglconform test case: max_values Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970 Note: This is a candidate for mesa 8.0 branch. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/teximage.c
|
e53557996ece5ab877652b8f83ae40bb4c483453 |
01-Feb-2012 |
Brian Paul <brianp@vmware.com> |
vbo: fix node_attrsz[] usage in vbo_bind_vertex_list() The node_attrsz[] array is initially copied from the node->attrsz[] array but some values get rewritten. Thereafter, we need to use the node_attrsz[] values. Fixes a bug when replaying a display list that uses generic vertex array[16] (at least). NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
bo/vbo_save_draw.c
|
a1471e4877515e2ce4fcc129c4ce26f5c306b193 |
01-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: reference shared state in glPushAttrib(GL_TEXTURE_BIT) This fixes a dangling texture object pointer bug hit via wglShareLists(). When we push the GL_TEXTURE_BIT state we may push references to the default texture objects which are owned by the gl_shared_state object. We don't want to accidentally delete that shared state while the attribute stack references shared objects. So keep a reference to it. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/attrib.c
|
361cd53a77dd48fbf2a0321446c0b7c07365bff9 |
01-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use new _mesa_reference_shared_state() function This cleans up the reference counting of shared context state. The next patch will use this to fix an actual bug. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/context.c
ain/shared.c
ain/shared.h
|
133c5727b58c60afe6467ecbfe07739c7466d8c8 |
31-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove stray comment in PopAttrib() code
ain/attrib.c
|
7ef94c6a0b7d2f7a8c6d03b12262b0b9e57e414c |
01-Feb-2012 |
Matt Turner <mattst88@gmail.com> |
Revert "automake: src/mesa/drivers/osmesa" This reverts commit 275ac7e5c1fd6c1847a428192fe259e50690fced.
akefile
rivers/osmesa/.gitignore
rivers/osmesa/Makefile
rivers/osmesa/Makefile.am
rivers/osmesa/osmesa.pc.in
smesa.pc.in
|
a99164956f1ade01909123ba196ef01282f41675 |
01-Feb-2012 |
Matt Turner <mattst88@gmail.com> |
Revert "automake: src/glsl and src/glsl/glcpp" This reverts commit 9947656168d09f9019600fccc42ca8e0de49b83a.
rivers/osmesa/Makefile.am
ources.mak
|
8c436b4ea670d4630767a742dac5aad14e18aef9 |
01-Feb-2012 |
Matt Turner <mattst88@gmail.com> |
Revert "Make sure libGL.so links with libglsl" This reverts commit f53e7e981ef35ab64a084c8da6c67bd2d230fe33.
ources.mak
|
f53e7e981ef35ab64a084c8da6c67bd2d230fe33 |
31-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
Make sure libGL.so links with libglsl Can't link against *.la files if we're not using libtool to link. Fixes undefined symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
ources.mak
|
3fc6e4e0254c0bfb643439952f2ceb55193010e7 |
31-Jan-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: set RefCount = 1 in new_osmesa_renderbuffer() This was lost during the renderbuffer overhaul work. Fixes a failed refcount assertion.
rivers/osmesa/osmesa.c
|
136791ebc1fb91ef20dc65722a34f093d2947849 |
28-Jan-2012 |
Vinson Lee <vlee@freedesktop.org> |
osmesa: Fix osmesa_context.DataType type. Fixes these GCC warnings. osmesa.c: In function ‘osmesa_renderbuffer_storage’: osmesa.c:417: warning: comparison is always false due to limited range of data type osmesa.c:423: warning: comparison is always false due to limited range of data type osmesa.c:431: warning: comparison is always false due to limited range of data type osmesa.c:437: warning: comparison is always false due to limited range of data type osmesa.c:447: warning: comparison is always false due to limited range of data type osmesa.c:453: warning: comparison is always false due to limited range of data type osmesa.c:463: warning: comparison is always false due to limited range of data type osmesa.c:466: warning: comparison is always false due to limited range of data type osmesa.c:476: warning: comparison is always false due to limited range of data type osmesa.c:479: warning: comparison is always false due to limited range of data type Signed-off-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/osmesa/osmesa.c
|
9947656168d09f9019600fccc42ca8e0de49b83a |
27-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/glsl and src/glsl/glcpp Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Eric Anholt <eric@anholt.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
rivers/osmesa/Makefile.am
ources.mak
|
275ac7e5c1fd6c1847a428192fe259e50690fced |
27-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/osmesa
akefile
rivers/osmesa/.gitignore
rivers/osmesa/Makefile
rivers/osmesa/Makefile.am
rivers/osmesa/osmesa.pc.in
smesa.pc.in
|
177845daa150403311e51e3bdc27e5014d40e915 |
27-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: kill off point size clamping in vertex shaders This fixes the gl_PointSize transform feedback test. Point size clamping should happen at the rasterizer stage, i.e. after the vertex and geometry shaders and transform feedback. Drivers are expected to do this by themselves.
rogram/prog_statevars.c
rogram/prog_statevars.h
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
|
b478fcb9a99ef084674529f7db95f041db4a4796 |
28-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: simplify initialization of light_twoside Core Mesa does this for us, see update_two_size in state.c. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_rasterizer.c
|
6e9a1650e541bf7db15b7e8afaf90d7975b165fe |
30-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate general ubyte texstore code Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texstore.c
|
4c7e44e8e6fd1f441a97016d8bcc67133149e15e |
30-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_pack_ubyte_rgba_rect() in texstore code Simplifies the general case code in the ubyte-valued texture format functions. More consolidation to come in subsequent commits. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texstore.c
|
66940ad2d7145d30cf0381a9a2835efaa0d1ee3f |
30-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_pack_ubyte_rgba_rect() Reviewed-by: Eric Anholt <eric@anholt.net>
ain/format_pack.c
ain/format_pack.h
|
ff2497dca39d688bbceba9f524a61e99d93a9607 |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
dri: Add a default drirc to be installed to provide application workarounds. Specifially, this being present works around a bug in Unigine Sanctuary on i965 which previously resulted in bad rendering. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/Makefile.am
rivers/dri/common/drirc
|
642247883fb9e6dce9bad724f7f6503321e0ef6f |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Add a driconf option to force GLSL extension behavior to "warn". This can be used to work around broken application behavior, like in Unigine where it attempts to use texture arrays without declaring either "#extension GL_EXT_texture_array : enable" or "#version 130". NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/xmlpool/options.h
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_screen.c
|
b9e27cc1426e3242a003fa5ae91fab330694009a |
18-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add a flag for forcing all GLSL extensions to "warn". NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
61b9ccd9e298ca1d3db55aee0cb2ff78662d6fa6 |
20-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use libdrm's decode functionality instead of the gpu-tools copy. While typing out the new decode, I added a fallback mode for dumping when we fail to re-map the BO after execution. This should get us a minimal dump when trying to dump a batch that results in a GPU hang.
rivers/dri/i915/Makefile.sources
rivers/dri/i965/Makefile.sources
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_decode.c
rivers/dri/intel/intel_decode.h
|
493faa010d338f68540238c20a74b3b101ca7ff5 |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present. This was a leftover from the conversion of this file for state streaming.
rivers/dri/i965/brw_state_dump.c
|
9195191e50429d9cf25e6498f9fb108758ac2be6 |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Avoid allocating registers in to the gen7 MRF hack region. This is the corresponding fix to the previous one for the FS, but I don't have a particular test for it. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_reg_allocate.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
e910241e9754b6e673ed0fc3133c8b1de56e76c7 |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix rendering corruption in unigine tropics. We were allocating registers into the MRF hack region, resulting in sparkly renering in a few of the scenes. We could do better allocation by making an MRF class, having MRFs conflict with the corresponding GRFs, and tracking the live intervals of the "MRF"s and setting up the conflicts. But this is way easier for the moment. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_structs.h
|
ef3cec5804dfecd60d5d34545d73f9f2dc8b0a22 |
30-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
Rename R300_NO_TCL envvar to RADEON_NO_TCL The envvar works for R100 and R200 too, and the classic R300 driver doesn't even exist anymore. "RADEON_NO_TCL" is already mentioned in the code and is the same envvar used for the R300g driver.
rivers/dri/radeon/radeon_screen.c
|
fef395c0c3a011cc23cc638358c116accf35b7a2 |
29-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/format_unpack: add LUMINANCE 8/16 UINT/INT This just copies what the LUMINANCE_ALPHA bits do. Fixes piglit tests on softpipe complaining about missing unpack. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/format_unpack.c
|
10c85526a23ab6c01a67562a885597ad65883be6 |
29-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
dri: don't link with DRICORE_LIB_DEPS DRI_LIB_DEPS is sufficient since it includes DRICORE_LIB_DEPS
rivers/dri/i915/Makefile.am
rivers/dri/i965/Makefile.am
rivers/dri/nouveau/Makefile.am
rivers/dri/r200/Makefile.am
rivers/dri/radeon/Makefile.am
rivers/dri/swrast/Makefile.am
|
41a4e274a4e78087ce8eafbabc3713ed75bb4759 |
25-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use table-driven approach to exposing extensions for formats (v3) The check for ctx->API was unnecessary, because OES extensions are not exposed in desktop GL. Also require renderbuffer support for ARB_texture_rgb10_a2ui, as per the spec. Tested by comparing old and new glxinfo with softpipe and r600g. v2: fix bugs v3: rename need_only_one -> need_at_least_one rename num_elements -> num_mappings add comments use const when appropriate Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
c21d7b1e30edfc0e400836705645d188a0f538cd |
24-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use table-driven approach to exposing extensions based on CAPs This change is not exactly equivalent (sometimes we checked for non-zero, sometimes if >0 or >1), but the behavior shouldn't change, because all drivers report 0 for unsupported CAPs. Exposing CAP_STREAM_OUTPUT_PAUSE_RESUME without CAP_MAX_STREAM_OUTPUT_BUFFERS is a driver bug and st/mesa does no checking if the latter is supported as well. Drivers must report CAPs consistently. v2: make the array const
tate_tracker/st_extensions.c
|
171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f |
24-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: add PIPE_CAP_GLSL_FEATURE_LEVEL, cleanup st_extensions.c v2: handle the cap in r300 and r600 as well Additional info for r600g: The env var R600_GLSL130=1 enables GLSL 1.3. Along with R600_STREAMOUT=1, it enables full GL 3.
tate_tracker/st_extensions.c
|
1d01429c6a1ae679d0cc0cb61db1948fca5ced4c |
28-Jan-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
state_stracker: Fix access to uninitialized memory. Fix an access to uninitialized memory pointed out by valgrind in glsl_to_tgsi_visitor::simplify_cmp(void). Note: This is a candidate for the 8.0 branch. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
tate_tracker/st_glsl_to_tgsi.cpp
|
eaf360e5bffc5630789367020252cd12fe586177 |
20-Jan-2012 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: fix inverted point sprite origin when rendering to FBO When rendering to FBO, rendering is inverted. At the same time, we would also make sure the point sprite origin is inverted. Or, we will get an inverted result correspoinding to rendering to the default winsys FBO. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44613 NOTE: This is a candidate for stable release branches. v2: add the simliar logic to ivb, too (comments from Ian) simplify the logic operation (comments from Brian) v3: pick a better comment from Eric use != for the logic instead of ^ (comments from Ian) Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
d250287d53c0dcd936ca632f4d991ffaac6693c2 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove byteswap check in fast_read_rgba_pixels_memcpy() It's handled by _mesa_format_matches_format_and_type() now. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/readpix.c
|
07ff5adc323dc0ea038094d6f78ee0db18521a7d |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: more use of _mesa_format_matches_format_and_type() in texstore code For rgb9_e5, r11_g11_b10f, argb2101010_uint functions. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texstore.c
|
6f55ef3740420924930eb0fc06f7c4979ce0b6dd |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: more use of _mesa_format_matches_format_and_type() in texstore code For rgb332, signed rgba8888, signed rgba888_rev functions. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texstore.c
|
453d4b40bc1dfd4fc1e48c25bda1d293f66597a1 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: more use of _mesa_format_matches_format_and_type() in texstore code For rgba5551, argb1555, argb2101010 formats. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texstore.c
|
f6af4c511fd3d2750c5279d0d93492bb4e92aac9 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: more use of _mesa_format_matches_format_and_type() in texstore code For rgb565, argb8888, rgb888, argb4444 functions.
ain/texstore.c
|
b27792335e284bcddcbcfa807e5152feff330f58 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_format_matches_format_and_type() in texstore code This simplifies the code quite a bit, consolidates some cases and possibly catches more cases for the memcpy path. More such changes will follow. Do just a few at a time to help bisect any possible regressions. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texstore.c
|
94a0d38c240625202d21a7c4522ad8a1c9bc1a89 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: implement more cases in _mesa_format_matches_format_and_type() Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
|
51aab798a3386cc1493fe879802f693ca1fa565e |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use swapBytes parameter in _mesa_format_matches_format_and_type() This will let us use memcpy in more situations. We can also remove the checks for byte spapping that happen before the calls to _mesa_format_matches_format_and_type(). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
|
06aa607ba76d940c48556935259c2a34eac7a8dc |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: added swapBytes parameter to _mesa_format_matches_format_and_type() Not actually used yet though. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
ain/formats.h
ain/readpix.c
wrast/s_drawpix.c
|
952ca0785236729b69e154b3b48783fc4d9a5526 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rewrite, simplify some of the logic in _mesa_format_matches_format_and_type() In preparation for adding GL_PACK/UNPACK_SWAP_BYTES support. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
|
966720f507f71d2dce1f3499d7b29d98b615effe |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add BGR888 code in _mesa_format_matches_format_and_type() Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
|
b019228d6bb00291315f2a4045fb30af89715433 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error in _mesa_format_matches_format_and_type() for RGB888 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/formats.c
|
370e5d2106c88bad0587265254edf3a8cffbaef2 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant byte swap check The outer conditional already did the test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/pack.c
|
343100d1fcd5ee705e8b99cd9ff1259001f15081 |
27-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove LSB-first pixel packing check in glReadPixels GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/readpix.c
|
ab1195cf1127781909d5158c7de68f8732458d75 |
28-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
swrast: Fix implicit declaration warnings In a recent commit, commit 1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89 Author: Chad Versace <chad.versace@linux.intel.com> swrast: Fix fixed-function fragment processing I defined a new function,_swrast_fragment_program, but neglected to #include s_fragprog.h for clients of that function. Note: This is a candidate for the 8.0 branch. Reported-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
wrast/s_context.h
|
3409118371b26b534ea64a96ae051392691769f7 |
27-Jan-2012 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa: Avoid void * arithmetic. Should fix MSVC build.
ain/bufferobj.c
|
1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89 |
26-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
swrast: Fix fixed-function fragment processing On i965, _mesa_ir_link_shader is never called. As a consequence, the current fragment program (ctx->FragmentProgram->_Current) exists but is invalid because it has no instructions. Yet swrast continued to attempt to use the empty program. To avoid using the empty program, this patch 1) defines a new function, _swrast_use_fragment_program, which checks if the current fragment program exists and differs from the fixed function fragment program, and, when appropriate, 2) replaces checks of the form if (ctx->FragmentProgram->_Current == NULL) with if (_swrast_use_fragment_program(ctx)) Fixes the following oglconform regressions on i965/gen6: api-fogcoord(basic.allCases.log) api-mtexcoord(basic.allCases.log) api-seccolor(basic.allCases.log) api-texcoord(basic.allCases.log) blend-separate(basic.allCases) colorsum(basic.allCases.log) The tests were ran with the GLXFBConfig: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None (Note: I originally believed that the hunk in _swrast_update_fragment_program was unnecessary. But it is required to fix blend-separate.) Note: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327 Reveiwed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <idr@freedesktop.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_fragprog.c
wrast/s_fragprog.h
wrast/s_lines.c
wrast/s_span.c
wrast/s_triangle.c
|
5665b5cc31da70e833f80e7a17bfa034d2f7ba44 |
25-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED Color clamping should be enabled in glGetTexImage if texture dataType is GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA Fixes 2 Intel oglconform test cases: pxconv-gettex and pxtrans-gettex https://bugs.freedesktop.org/show_bug.cgi?id=40864 NOTE: This is a candidate for the 8.0 branch Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
5f65598cc79eccd38bf7f95ab167ed62e575daf2 |
24-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Don't round-trip integer texture data through a floating point temp. This was losing bits of precision. Fixes (with the previous commits): piglit EXT_texture_integer/getteximage-clamping piglit EXT_texture_integer/getteximage-clamping GL_ARB_texture_rg oglc advanced.mipmap.upload Regresses oglc negative.typeFormatMismatch.teximage from fail to abort, because it's been hitting texstore for a format/type combo that shouldn't happen. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
dadbec1e90415f0744eb91e684bf9d7496f474c0 |
24-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: When unpacking signed integer pixel data, don't clamp to 0. In the core, we always treat spans of int/uint data as uint, so this extract function was truncating storage of integer pixel data to a n int texture to (0, max_int) instead of (min_int, max_int). There is probably missing code for handling truncation on conversion between pixel formats, still, but this does improve things. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
8b97bb02fb1a55a6b0fe558ea1eb97bb4dae0347 |
24-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add clamping for packing of integer data. Mostly fixes piglit EXT_texture_integer/getteximage-clamping. The remaining failure involves precision loss on storing of int32 texture data (something I knew was an issue, but wasn't trying to test). NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
de24ccabd6494125e10017e0914b3298ea3791ea |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing format unpack for some integer texture formats. This cut and paste is pretty awful. I'm tempted to do a lot of this using preprocessor tricks for customizing the parameter type from a template function, but that's just a different sort of hideous. Fixes 8 Intel oglconform int-textures cases. NOTE: This is a candidate for the 8.0 branch. v2: Add alpha formats, too. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
3a8cf3357abb50d4ee11cfb801f965e3df7592fb |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Don't allow rendering to non-GL_RED/RG/RGBA integer textures. Fixes piglit EXT_texture_integer/fbo-blending.
rivers/dri/i965/brw_wm_surface_state.c
|
796f44d77906342e5912e7da6bdba1ba86bab9f0 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Pass the gl_renderbuffer to render_target_supported() vtable method. I'm going to want to go looking at it for an integer texture fix. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
|
7cac88679bb600f35694e91859c4682c04c32f7a |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Make a renderbuffer wrapping a texture have the same _BaseFormat. Otherwise, when you asked for the _BaseFormat of an rb wrapping a GL_RGB texture, you got GL_RGBA because that's what we were storing the texture data as. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/intel/intel_fbo.c
|
b73f5df6483b2e37235b258f705944321ee617f5 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Simplify intel_renderbuffer_update_wrapper() by passing in the image. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/intel/intel_fbo.c
|
74484c5d411788c855cf91a2017d763d6a8fb4f2 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop intel_wrap_miptree(). Most of this function was just calling intel_renderbuffer_update_wrapper(), which was called immediately afterwards in the only caller. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/intel/intel_fbo.c
|
a4586d2e2e444d1212d4abfd1ea5bbeff4503feb |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Comment typo fix.
rivers/dri/i965/brw_fs.cpp
|
531e44415b078db105d0439ea90b3ea3bc3b0f7b |
26-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix handling of glCopyBufferSubData() for src == dst. Fixes piglit ARB_copy_buffer-overlap, on swrast, which previously assertion failed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/bufferobj.c
|
42e9936ce6bcac9f863b2f85978489e4f804e927 |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix accum buffer mapping since the swrast rework. A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted in the clear-accum test. Just look at the swrast renderbuffer pointer for handling swrast rbs.
rivers/dri/intel/intel_fbo.c
|
3d8c27f882b852ada86aac99a54fdb57d98a79ac |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix display list handling for GL_EXT_framebuffer_multisample. From the extension spec: Added to section 5.4, as part of the discussion of which commands are not compiled into display lists: "Certain commands, when called while compiling a display list, are not compiled into the display list but are executed immediately. These are: ..., RenderbufferStorageMultisampleEXT..." Fixes piglit EXT_framebuffer_multisample/dlist. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
25dd80555d895fbe98e8f8099283992d350f22a2 |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix display list handling for EXT_framebuffer_object. Noticed when handling a similar problem in EXT_framebuffer_multisample. From the EXT_framebuffer_object spec: Added to section 5.4, as part of the discussion of which commands are not compiled into display lists: "Certain commands, when called while compiling a display list, are not compiled into the display list but are executed immediately. These are: ..., GenFramebuffersEXT, BindFramebufferEXT, DeleteFramebuffersEXT, CheckFramebufferStatusEXT, GenRenderbuffersEXT, BindRenderbufferEXT, DeleteRenderbuffersEXT, RenderbufferStorageEXT, FramebufferTexture1DEXT, FramebufferTexture2DEXT, FramebufferTexture3DEXT, FramebufferRenderbufferEXT, GenerateMipmapEXT..." Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
9895f7724991b9aac98ab482446163f928d49448 |
27-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
i965/automake: use $top_srcdir instead of relative links Fixes out-of-tree builds.
rivers/dri/i965/Makefile.am
|
64afb575b0fb756cb8af6936f06480fa289241ca |
27-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
dri common: add .gitignore
rivers/dri/common/.gitignore
|
80aa78142d12b21dd7d4f0edc786af98a159a80f |
27-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
dri: make sure to build libdricommon.la
rivers/dri/Makefile.am
|
c88503944234421ecb617001aad305ff3b1b83d2 |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Drop the missing symbols link test. This was horribly broken and has cost everyone more time than we were ever going to save using it. It might have been fixable, but the problem it was originally trying to solve can be better solved with -Werror=missing-prototypes and -Werror=implicit-function-declaration. Also, it was always producing a big scary warning about how the link test was non-portable. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44928
rivers/dri/i965/Makefile.am
|
1237a569164930e12bd826031858f3169b85795f |
27-Jan-2012 |
Eric Anholt <eric@anholt.net> |
nouveau: Fix missing dri common symbols after automake conversion.
rivers/dri/nouveau/Makefile.am
|
5fa27eafc81fee0a0b4b22953538a89811b35b7b |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
radeon: Fix missing dri common symbols after automake conversion. Reviewed-by: Matt Turner <mattst88@gmail.com>
rivers/dri/r200/Makefile.am
rivers/dri/radeon/Makefile.am
|
45389caf0583fafbc56340fc66008382db4df950 |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
dri: Move the compile of the common files to a convenience library. Reviewed-by: Matt Turner <mattst88@gmail.com>
rivers/dri/common/Makefile.am
rivers/dri/i915/Makefile.am
rivers/dri/i965/Makefile.am
|
29ea1c44612b25806e71d55b88e7e8385af940a6 |
25-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i915: Fix driver after automakeification.
rivers/dri/i915/Makefile.am
|
259b65e2e7938de4aab323033cfe2b33369ddb07 |
26-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Use the sampler for VS pull constant loading on Ivybridge. Substantially increases performance in GLBenchmark PRO: - 320x240 => 3.28x - 1920x1080 => 1.47x - 2560x1440 => 1.27x The LD message ignores the sampler unit index and SAMPLER_STATE pointer, instead relying on hard-wired default state. Thus, there's no need to worry about running out of sampler units or providing SAMPLER_STATE; this small patch should be all that's required. NOTE: This is a candidate for release branches. (It requires the preceding commit to compile.) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_emit.cpp
|
5f4575d42fdaaf671d4b3cdcf2c733ad9d35d339 |
26-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Expose brw_set_sampler_message for use outside brw_eu_emit.c. brw_SAMPLE is full of complex workarounds for original Broadwater hardware, and I'd rather avoid all that for my next Ivybridge patch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
0a966a686e72959801b435fb170f561e30334d2e |
26-Jan-2012 |
Brian Paul <brianp@vmware.com> |
nouveau: include s_context.h to silence missing prototype warnings
rivers/dri/nouveau/nouveau_span.c
|
88e7f56dd7130077494ff36b9765dd48cd3d4a91 |
26-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: silence uninitialized var warnings
wrast/s_span.c
|
dc435ae774b1deed3d00b7c7d33133c08b626737 |
24-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6/GT1: Increase max_vs_entries to 256. Previously, max_vs_entries was set to 128 for GT1, and 256 for GT2, based on the PRM (see Vol2, part1, p28). However, Bspec section 1.6.5 indicates that the maximum number of VS entries is 256 for GT1. No piglit regressions on GT1. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
6bc08ee56991ac3ca0fa0728c3907835282332b8 |
24-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6: Fix segfault in transform feedback to DYNAMIC_DRAW buffers. When storing data in a buffer of type DYNAMIC_DRAW, we don't create a drm_intel_bo for it; instead we store the data in system memory and defer allocation of the GPU buffer until it is needed. Therefore, in brw_update_sol_surface(), we can't just consult the "buffer" field of the intel_buffer_object structure; we need to call intel_bufferobj_buffer() to ensure that the deferred allocation occurs. This parallels a similar fix for gen7 (see commit ba6f4c9). Fixes piglit test EXT_transform_feedback/buffer-usage on gen6. This is a candidate for the 8.0 release branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_surface_state.c
|
4ac37b0b81699442893c2894aa1f5293a5cda3a9 |
25-Jan-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Assign inputsRead at right (previous) location. Fixes the src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4032:src_register: Assertion `t->inputMapping[index] < (sizeof(t->inputs)/sizeof(*(t->inputs)))' failed. assertion failure introduced in 697b9945fb0f55428b06821f98fd8621372f81ad
tate_tracker/st_program.c
|
69c8f468ba93dc2999d4fde8909f8051e910929a |
24-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove ctx->Const.sRGBCapable It always had the same value as ctx->Extensions.EXT_framebuffer_sRGB. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/dri/intel/intel_context.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_extensions.c
|
3363e87d7d5b3f19294fc770dc7c506c26646010 |
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: allow exposing GL3 without EXT_texture_integer Strictly speaking, it's not legal to expose EXT_texture_integer without EXT_gpu_shader4. It might be even dangerous (apps can assume EXT_gpu_shader4 is available without checking for it). The check in compute_version is removed as well, because that's already covered by GLSLVersion >= 130. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
ain/image.c
ain/texformat.c
ain/teximage.c
ain/version.c
|
636802f615bb1ef192e3c4c3b9ab0d1c83c5ebe0 |
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add missing integer alpha formats to _mesa_base_fbo_format Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
0cf04183633ad4f8140cdb1219235761c402a594 |
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: require all s3tc formats for EXT_texture_compression_s3tc Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
925fd2e1ddf9fbeb1d21a9b1223fe6fc13192dc7 |
22-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: simplify enabling EXT_packed_depth_stencil and ARB_fbo - use OR to combine bind flags - combine both conditionals into one - move the ARB_fbo enable where it belongs Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
95dab55751e035840cb765b32a98f4ba1ecc0212 |
24-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove obsolete comment in version.c Pointed out by Brian Paul.
ain/version.c
|
697b9945fb0f55428b06821f98fd8621372f81ad |
23-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: inline if(1) conditional v2: fix typo
tate_tracker/st_program.c
|
732f69c94e17aae8dae98cdc84fdb232fdda2484 |
23-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: move fragment shader tgsi tokens into st_fp_variant The TGSI code may vary depending on the clamp_color bit.
tate_tracker/st_cb_program.c
tate_tracker/st_debug.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc |
23-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: do vertex and fragment color clamping in shaders For ARB_color_buffer_float. Most hardware can't do it and st/mesa is the perfect place for a fallback. The exceptions are: - r500 (vertex clamp only) - nv50 (both) - nvc0 (both) - softpipe (both) We also have to take into account that r300 can do CLAMPED vertex colors only, while r600 can do UNCLAMPED vertex colors only. The difference can be expressed with the two new CAPs.
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
tate_tracker/st_program.h
|
36fb83e4a868e047521b3d5e0edc4d7a77a96aaf |
24-Jan-2012 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
st/mesa: Fix recurring surfaceless contexts A current incomplete framebuffer was incorrectly used as a st_framebuffer. When accessing st_framebuffer childs bad things happen: e.g. st_framebuffer::iface was used to check whether its an incomplete fb, instead we need to compare st_framebuffer::Base against mesa_get_incomplete_framebuffer. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44919 Note: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_manager.c
|
422b18794eacc8f0be5b4e9611e2726f4e0d86b6 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix CopyTex{Sub,}Image error checks for integer vs non-integer. Fixes Intel oglconform negative.typeFormatMismatch.copyteximage. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
ee9804af14caa18586dd711119bc8fc8c2de00a8 |
21-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing integer R/RG cases to _mesa_is_color_format(). This is part of fixing Intel oglconform negative.typeFormatMismatch.copyteximage. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/image.c
|
6bf0f6ae86dae14ed0348e5fccf75c43302ad502 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
meta: Detect currently-unsupported integer CopyTexSubImage and complain. This code is unprepared for handling integer (particularly, the baseFormat of the TexFormat comes out as GL_RGBA, not GL_RGBA_INTEGER, so the direct call of Driver.ReadPixels crashes due to the int vs non-int error checking not having happened). I'm frankly tempted to convert this code to MapRenderbuffer/MapTexImage rather than doing it as meta ops, now that we have that support. Improves the remaining crash in Intel oglconform for int-textures to just a rendering failure. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
d6c58545a1da8c83f0aad296a5e9e31a7c77cfe4 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add the remaining from/to types for GL_EXT_texture_integer (and R/RG). This aborts and crashes in intel oglconform's int-textures into being just rendering failures. Clamping isn't handled yet. v2: Add missing "break". v3: Drop the int/uint distinction, since they don't need different clamping. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> (v2)
ain/pack.c
ain/pack_tmp.h
|
08acd4bd61430beb20a74af23de9f63c8f077467 |
21-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetTexImage on GL_TEXTURE_1D_ARRAY Similarly to how we handle this in texstore, we have to remap height to depth so that we MapTextureImage each image layer individually. Fixes part of Intel oglconform's int-textures advanced.fbo.rtt NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
86ca4f9cb66aa39c196ae5fc37f6a270d9a1156f |
24-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: s/GLuint col/GLint col/ to avoid signed/unsigned comparison warnings. Suggested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
9f1e64d0856129374b00bd97685f22e092d6442d |
19-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetTexImage() from integer textures. This is a step toward fixing Intel oglconform's int-textures advanced.fbo.rtt. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
f6e82cd2a18b0edebe3e4102fc93b552e708935a |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Work around GPU hangs with logic ops on integer textures. This doesn't result in correct rendering -- GL requires that logic ops work, while the hardware specs say it doesn't do them. I'm not sure how we would want to handle this. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/gen6_cc.c
|
04b4880d7c9a5882100ca6a19d42a8c012b174f6 |
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Disable blending, alpha test, and dither on integer FBOs. Fixes GPU hangs and some rendering failures in piglit EXT_texture_integer/fbo-blending NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/gen6_cc.c
|
4a1c66059957f8650afb73f9c0f982e4ae7b8200 |
24-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa/gdi: remove wmesa_set_renderbuffer_funcs() function The code is no longer relevant. Note: this driver is probably broken now. There's no implementation of ctx->Driver.Map/UnmapRenderbuffer().
rivers/windows/gdi/wmesa.c
|
a9bf149e7f699d05bcf31dff54c4b4cf78018dd0 |
24-Jan-2012 |
Brian Paul <brianp@vmware.com> |
dri/swrast: remove obsolete swrast_span.c file from source list
rivers/dri/swrast/Makefile.sources
|
ba151a333be7a23266b23ee6f65669bb19221546 |
24-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: fix uninitialized variable warning
wrast/s_span.c
|
cf386f0a2ba3efcfd6ddbfcbebaf98a9bfa7a29f |
24-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: make rowStride variable signed in put_z32_values() As with commit aed5c8299fe47b8e1728f8140d069bc89d3fa947
wrast/s_depth.c
|
89bb19adb08caaefc01e613e9bbfbdd1f366ddab |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: use swrast code to map/unmap renderbuffers for swrast rendering
rivers/dri/intel/intel_span.c
|
4baf90353dee771e553c552674616b93aedeaecf |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: update comments, fix whitespace in dd.h
ain/dd.h
|
9403cc3aba0769dc6925cea3ec20aa95d491f516 |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused StoreTexel code No longer needed since we do all rendering to texture with the buffer mapping and pixel packing functions.
wrast/s_context.h
wrast/s_texfetch.c
wrast/s_texfetch.h
wrast/s_texfetch_tmp.h
|
1caf698191fb871850311353862eb7fc927f9f9c |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use Map/UnmapTextureImage() in framebuffer map/unmap code When we're actually rendering into a texture, map the texture image instead of the corresponding renderbuffer. Before, we just copied a pointer from the texture image to the renderbuffer. This change will make the code usable by hardware drivers.
wrast/s_renderbuffer.c
|
56d83ac4bf0267982554f25c6fdb3c1dd6e14a9c |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove ctx->Driver.Map/UnmapTexture() hooks No longer used anywhere.
rivers/common/driverfuncs.c
ain/dd.h
wrast/s_context.c
|
8b8a54afd9b748b7250993393864544ad6961edb |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
nouveau: stop calling ctx->Driver.Map/UnmapTexture() And remove unused nouveau_texture_map/unmap()
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_texture.c
|
4bbab2275f792553f8ed6bcebfe6acc4cb4179c2 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
tnl: remove ctx->Driver.Map/UnmapTexture() calls ctx->Driver.MapTexture() always points to _swrast_map_texture(). We're already reaching into swrast from t_vb_program.c anyway. This will let us remove the ctx->Driver.Map/UnmapTexture() functions.
nl/t_vb_program.c
|
bde356a1580f52cae0aaca020a33a6437083a450 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: move some renderbuffer functions to s_renderbuffer.c
wrast/s_renderbuffer.c
wrast/s_texture.c
|
1839a7fc9faae81d32ffc0cdc908b933f4524e28 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: remove intel_span_supports_format() It always returned True.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
6c1e27ba219e41ae2641cca0d3c67462bdba8631 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove a few extra _mesa_get_format_bytes() calls
wrast/s_renderbuffer.c
|
1da7d6c919e9a6d756b208caa6685bfa1146b543 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: update comments for gl_renderbuffer
ain/mtypes.h
|
1888dd52a32e114e7b3796db5a6b44921a2e04d4 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa/swrast/drivers: remove obsolete gl_renderbuffer fields This removes the last of the legacy fields from gl_renderbuffer.
ain/mtypes.h
|
becbb643135ddccac5054bf138ca0cc7cc3fff15 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
dri/swrast: use swrast_renderbuffer type
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
|
0c1862851f27c428a18ba5509636efcc2f0084f8 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use swrast_renderbuffer instead of gl_renderbuffer
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_renderbuffer.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texrender.c
wrast/s_texture.c
|
797c18be1f907337ebd85b18ce43dfa0b056f492 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: use swrast_renderbuffer
rivers/osmesa/osmesa.c
|
c080202db5363a18a759a9a7c82b40ac558c8abe |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
radeon: derive radeon_renderbuffer from swrast_renderbuffer
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texstate.c
|
9f8ed9d66298e2dc5dff508e3ea723469fe06d93 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: derive intel_renderbuffer from swrast_renderbuffer Drivers that rely on swrast need to do this, as with swrast_texture_image.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
|
d16e71eeb47d1e67930f6e86a80dc926468224d9 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
xlib: derive xmesa_renderbuffer from swrast_renderbuffer
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
f2479530b8be3866c234ac759a7fa84e634dd1aa |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: allocate swrast_renderbuffers instead of gl_renderbuffers
wrast/s_renderbuffer.c
wrast/s_texrender.c
|
34988272d9c7a889a26bb8bdcb841d44797a5dd6 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: new swrast_renderbuffer type This will let us move the swrast-specific fields out of gl_renderbuffer.
wrast/s_context.h
|
924de7dc96f4607cb3d833637b5f69f4b9e2a6d0 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: use intel_rb_format() to get renderbuffer format This will make future changes cleaner and less invasive.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_tex_copy.c
|
1048d55d5fa60d17dd99ac7394ff0572500625f9 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
dri/swrast: rename swrast_renderbuffer to dri_swrast_renderbuffer To prevent name collision with future swrast_renderbuffer in the swrast module.
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
|
c45771905f237d9285465dfce955440582ee51e5 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use stencil packing function in s_stencil.c
wrast/s_stencil.c
|
881ef2a9db22cff4c7d07b873d23b0c324da555a |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use color packing functions in s_span.c
wrast/s_span.c
|
8696a5210289166ce39d765d771258258400e876 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove s_spantemp.h
wrast/s_spantemp.h
|
b0f0d7a8118401b209c674804255b5fd9e8c94c0 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
xlib: remove xm_span.c and related code
rivers/x11/Makefile
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xmesaP.h
|
59a5b5a193d5d9c5776aa586b34657b6e315479d |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::Wrapped There's no such thing as renderbuffer wrappers anymore.
rivers/dri/nouveau/nouveau_driver.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/mtypes.h
ain/renderbuffer.c
tate_tracker/st_atom_framebuffer.c
|
ab331140c68d1c157e69ea8e53b44729355fa43c |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite, simplify the the render-to-texture code
wrast/s_texrender.c
|
7a36345f70a0b8ac2d480bb52eb2c74c2be5a978 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_renderbuffer::Data to Buffer To better indicate that this pointer to the malloc'd memory.
rivers/dri/intel/intel_fbo.c
rivers/dri/swrast/swrast.c
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
ain/mtypes.h
wrast/s_renderbuffer.c
wrast/s_texrender.c
|
f6a3979a0444a14c198c10501e9ff13f24625443 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move freeing of software renderbuffers into swrast
ain/renderbuffer.c
wrast/s_renderbuffer.c
|
f9874feef4d8952df5054bd8e8f4e0deda4ef44f |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::DataType
rivers/dri/i965/gen6_hiz.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/swrast/swrast.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_buffer.c
ain/mtypes.h
ain/renderbuffer.c
wrast/s_renderbuffer.c
wrast/s_span.c
wrast/s_span.h
wrast/s_texrender.c
wrast/s_triangle.c
|
1e1b5cb01a10e39d01923e3c7e989c44210950cd |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer:RowStride field
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/radeon/radeon_span.c
rivers/dri/swrast/swrast.c
ain/mtypes.h
wrast/s_drawpix.c
wrast/s_renderbuffer.c
wrast/s_texrender.c
wrast/s_texture.c
|
82846fea4d042466ccfd5b3c86d98e856086cc05 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: finally, remove the GetRow/PutRow/etc functions
ain/mtypes.h
|
304f7a132741a528ca6e861a918ef59991874e5f |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
dri: remove all the obsolete spantmp files
rivers/dri/common/depthtmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/spantmp_common.h
rivers/dri/common/stenciltmp.h
|
a4c6dedb27897ae1340983b5d12927e0a9fb2212 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
radeon: remove obsolete GetRow/PutRow code
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_span.c
|
f892debdc21d12c40d2b69b4e9efdf527672d3ec |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
nouveau: remove obsolete GetRow/PutRow code
rivers/dri/nouveau/nouveau_span.c
|
41869c49421141807ab71cabca4c8a07611f6a64 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: remove most of the span Get/PutRow code
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
|
cb5fa9ea624574909bf57f9e1ad190a440d59dc2 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
dri/swrast: remove obsolete GetRow/PutRow code
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
|
2873555a76a7358db053c3a7b121b489f8df9bb1 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: remove obsolete GetRow/PutRow code
rivers/osmesa/osmesa.c
|
2e80c7e5bf822e3b9efd145d33badcf4f14504ff |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
xlib: remove obsolete GetRow/PutRow code
rivers/x11/xm_span.c
|
0d2f0c8bb86b8dfcb6f0be7bf027fe725007bc5f |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete PutRow, etc assignments
ain/renderbuffer.c
|
d65bbfa947b9e2c5353bda857470a01d5398b3fa |
13-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove Get/PutRow()-related code
wrast/s_renderbuffer.c
wrast/s_texrender.c
|
a4a566a610778e6ab93424a38e372c3dcb7d92d3 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove gl_renderbuffer::GetPointer stuff
tate_tracker/st_cb_fbo.c
|
0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: stop using Put/GetRow/Values() in swrast code All color buffer rendering is now done by accessing mapped renderbuffer memory. We're now able to get rid of all the GetRow/PutRow stuff.
wrast/s_copypix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_texture.c
wrast/s_triangle.c
|
b766d4bb43b2c8271413c1efafe3590fa75efc3c |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use gl_renderbuffer::StrideInBytes in depth/stencil code
wrast/s_depth.c
wrast/s_stencil.c
|
7d1ddec92168e9b6ead0da80b18364a75f9a85e6 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_renderbuffer::Map for all depth/stencil accesses Instead of using the obsolete gl_renderbuffer::Data field. Color buffer are still accessed through GetRow/PutRow().
rivers/dri/intel/intel_span.c
rivers/dri/radeon/radeon_span.c
wrast/s_context.h
wrast/s_texture.c
|
14da67d9b9b9e30740ef1687c3952a0b5e8b0a54 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: make intel_renderbuffer_map/unmap() static
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
827c1d66f671e50d9d96277b1fd3a59309626f66 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add new gl_renderbuffer fields These are temporary, actually, but they'll make follow-on work easier to implement in a step-by-step manner. Eventually the Map and RowStrideBytes fields will go into a new swrast_renderbuffer type, but adding that type now would involve touching a _lot_ of code that'll eventually be removed. The fields marked as obsolete will go away completely at some point.
ain/mtypes.h
|
fc9f74839d50ab5480ae657524cf2ddebf55d451 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: flush pending rendering before unmapping buffers
wrast/s_context.c
|
33257803d9083643ea9709c127933d5a2c4f1960 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: new assertions in _swrast_pixel_address()
wrast/s_context.h
|
e34a54ff451a37a6e6eab529c44330dd6a8b218b |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use _swrast_pixel_address() in more places
wrast/s_depth.c
wrast/s_stencil.c
|
bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/Data/Map/ in swrast_texture_image To indicate that it points to mapped texture memory.
rivers/dri/intel/intel_tex_validate.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/swrast/swrast.c
ain/texcompress.c
ain/texcompress_etc.c
ain/texcompress_fxt1.c
ain/texcompress_rgtc.c
ain/texcompress_s3tc.c
wrast/s_context.h
wrast/s_texfetch_tmp.h
wrast/s_texfilter.c
wrast/s_texture.c
wrast/s_triangle.c
|
ecb8594c184f5daa2f5a735e42ee24e7d110aa9f |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove gl_renderbuffer::DataType check in DrawPixels() The field will be going away so update this code.
wrast/s_drawpix.c
|
7726be1c1b8ae321d01e781b5db4e2224e67d13d |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove gl_renderbuffer::DataType assertions This field will go away, so remove some uses of it.
wrast/s_blend.c
wrast/s_logic.c
wrast/s_masking.c
|
ca6d86d26b1726b13baa21b73fe9d426f28370e2 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove gl_renderbuffer:DataType assignments That field is only used by swrast code so there's no reason to mess with it in the gallium state tracker. This also lets us remove the unused st_format_data() type function and related code.
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
ff57b0f037a45b0d5ced38234f0a8b29d32e7f9d |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: make _swrast_get_values(), _swrast_get_row() static They were only called from in s_span.c
wrast/s_span.c
wrast/s_span.h
|
267fb178844d3f17503dd0f921791f3ab059c4e7 |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove dstType param from _swrast_read_rgba_span() It was always GL_FLOAT.
wrast/s_copypix.c
wrast/s_span.c
wrast/s_span.h
|
64be85540f30e904784c6a72f2ba2784d5ccb36d |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused _swrast_put_row()
wrast/s_span.c
wrast/s_span.h
|
34c353ce463960afdf64fa2be1f155b8b7f6c70c |
21-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't resurrect deleted ARB VAOs in glPopClientAttrib When ARB VAOs are used, glPopClientAttrib does not resurrect a deleted VAO or VBO. This difference between the two spec is, unfortunately, not very well spelled out in the specs. Fixes oglc vao(advanced.pushPop.deleteVAO) and vao(advanced.pushPop.deleteVBO) tests. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/attrib.c
|
09639901530da7df7347428512c2bee86af1ef8e |
23-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rename gl_array_object::VBOonly to ::ARBsemantics There are more differences between Apple and ARB than just requiring that all arrays be stored in VBOs. Additional uses will be added in following commits. Also, set the flag at Bind time instead of Gen time. The ARB_vao spec specifies that behavior. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/arrayobj.c
ain/attrib.c
ain/mtypes.h
ain/varray.c
|
9be3be3c6654da18466626c2d45ff4d06b5fb953 |
20-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Use fixed-function processing instead _TexEnvProgram for DrawPixels This is a hack to work around drivers such as i965 that: - Set _MaintainTexEnvProgram to generate GLSL IR for fixed-function fragment processing. - Don't call _mesa_ir_link_shader to generate Mesa IR from the GLSL IR. - May use swrast to handle glDrawPixels. Since _mesa_ir_link_shader is never called, there is no Mesa IR to execute. Instead do regular fixed-function processing. Even on platforms that don't need this, the software fixed-function code is much faster than the software shader code. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44749
wrast/s_span.c
|
34db7a8c1e775aaefad7952133e087f1c1a569f6 |
20-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Make sure _TexEnvProgram points at the current ff fragment program At least one place, the _mesa_need_secondary_color function in state.h, uses this to make decisions. The next patch in this series will add another dependency. Ideally, this field would go away and be replace by a flag or something. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/state.c
|
02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe |
22-Jan-2012 |
Alexander von Gluck <kallisti5@unixzen.com> |
mesa: Don't use newlocale on Haiku NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/imports.c
|
027ce0c493a85c863df88b43f61aea34bcd4cd58 |
24-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
Revert "Always build shared glapi" This reverts commit adefee50d954151f76150af80207081ae3c247d9. Shared glapi was never tested with --enable-xlib-glx and turns out to cause a lot of problems. Conflicts: configure.ac
rivers/x11/Makefile
|
aed5c8299fe47b8e1728f8140d069bc89d3fa947 |
19-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
swrast: Fix unsigned promotion in pointer arithmetic When rowstride was negatie, unsigned promotion caused a segfault here: 299│ if (rb->Format == MESA_FORMAT_S8) { 300│ const GLuint rowStride = rb->RowStride; 301│ for (i = 0; i < count; i++) { 302│ if (x[i] >= 0 && y[i] >= 0 && x[i] < w && y[i] < h) { 303├> stencil[i] = *(map + y[i] * rowStride + x[i]); 304│ } 305│ } 306│ } Fixes segfault in oglconform separatestencil-neu(NonPolygon.BothFacesBitmapCoreAPI), though test still fails. Note: This is a candidate for the stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327 Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
wrast/s_stencil.c
|
b48d4b64e97f48dcf0aef1b6f7bc333c309cc183 |
21-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Fallback for glBlitFramebuffer from a multisample surface NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44818
rivers/common/meta.c
|
e2274aa7398d6d710683c1a2518353750700bcc0 |
20-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965/vs: Fix bogus assertion in emit_block_move() i965 processes assignments of whole structures using vec4_visitor::emit_block_move, a recursive function which visits each element of a structure or array (to arbitrary nesting depth) and copies it from the source to the destination. Then it increments the source and destination register numbers so that further recursive invocations will copy the rest of the structure. In addition, it sets the swizzle field for the source register to an appropriate value of swizzle_for_size(...) for the size of each element being copied, so that later optimization passes won't be fooled into thinking that unused vector elements are live. This all works fine. However, emit_block_move also contains an assertion to verify, before setting the swizzle field for the source register, that the source register doesn't already contain a nontrivial swizzle. The intention is to make sure that the caller of emit_block_move hasn't already done some swizzling of the data before the call, which emit_block_move would then counteract when it overwrites the swizzle field. But the assertion is at the lowest level of nesting of emit_block_move, which means that after the first element is copied, instead of checking the swizzle field set by the caller, it checks the swizzle field used when moving the previous element. That means that if the structure contains elements of different vector sizes (which therefore require different swizzles), the assertion will erroneously fire. This patch moves the assertion from emit_block_move to the calling function, vec4_visitor::visit(ir_assignment *). Since the caller is non-recursive, the assertion will only happen once, and won't be fooled by emit_block_move's modification of the swizzle field. This patch also reverts commit fe006a7 (i965/vs: Fix swizzle related assertion), which attempted to fix the bug by making the assertion more lenient, but only worked properly for structures, arrays, and matrices in which each constituent vector is the same size. This fixes the problem described in comment 9 of https://bugs.freedesktop.org/show_bug.cgi?id=40865. Unfortunately, it doesn't fix the whole bug, since the test in question is also failing due to lack of register spilling support in the VS. Fixes piglit test vs-assign-varied-struct. No piglit regressions on Sandy Bridge. This is a candidate for the 8.0 release branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40865#c9 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
3353626a6a2cc20301c65f3f6c1c5beb80721181 |
18-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Enable workaround-free math on gen7. This is similar to a commit that did the same for the FS. Shaves several more instructions off of the VS in Lightsmark, but no statistically significant performance difference (n=5). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
1fde76b8771350933d0a0b562ff1bd91e8340ac5 |
18-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Use the embedded-comparison SEL on gen6+, like the FS does. Shaves a few instructions off of the VS in Lightsmark, but no statistically significant performance difference on gen7 (n=5). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
c25e5300cba7628b58df93ead14ebc3cc32f338c |
20-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix border color on Sandybridge and Ivybridge. While reading through the simulator, I found some interesting code that looks like it checks the sampler default color pointer against the bound set in STATE_BASE_ADDRESS. On failure, it appears to program it to the base address itself. So I decided to try programming a legitimate bound, and lo and behold, border color worked. +92 piglits on Sandybridge. Also fixes Lightsmark on Ivybridge. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28924 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38868 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
4e5a8937d1a1bfb2a3bd067ed01e036728675fc2 |
22-Jan-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Fix underlinking in libOSMesa since commit adefee5 "Always build shared glapi" Since we now always build shared glapi, this exposes the fact that libOSMesa was underlinked when glapi was built shared. Fix this by doing the same thing as drivers/X11/Makefile already does, ensuring that the library is linked with the shared glapi library. (I'm not clear why we link with both glapi.a and glapi.so, so this may be all wrong) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
rivers/osmesa/Makefile
|
4c84819a1b1ecc4359d16ff468c3545ff91f6a2c |
22-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
dri: install dri_interface.h Broken in commit 129213e7. Reported-by Kai Wasserbäch <kai@dev.carbon-project.org>
rivers/dri/Makefile.am
|
d387899388bd7090bda50593e35f8ed3cb730c47 |
20-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
Remove src/mesa/ppc It didn't actually do anything except modify the GL_RENDERER string.
Conscript
ain/cpuinfo.c
ain/cpuinfo.h
ath/m_xform.c
pc/common_ppc.c
pc/common_ppc_features.h
ources.mak
|
309ba0cfa2bbd79307ea73f3fefe77de8bf94c35 |
21-Jan-2012 |
Andrei Slăvoiu <andrei.slavoiu@gmail.com> |
Fix mistake in 349845f7b
rivers/dri/swrast/Makefile.am
|
129213e7a2985e2dc599c392dcd570e76c5f3249 |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri
rivers/dri/.gitignore
rivers/dri/Makefile
rivers/dri/Makefile.am
rivers/dri/Makefile.defines
rivers/dri/Makefile.targets
rivers/dri/dri.pc.in
|
349845f7b2a85bb8589ddc211d36887b2022eee4 |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri/swrast
rivers/dri/swrast/.gitignore
rivers/dri/swrast/Makefile
rivers/dri/swrast/Makefile.am
rivers/dri/swrast/Makefile.sources
|
3f96434f86de1641296a9c39b9f75d85e6955207 |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri/nouveau
rivers/dri/nouveau/.gitignore
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/Makefile.am
rivers/dri/nouveau/Makefile.sources
|
b38d7a0a248c2a3ad227cb5d21c1c95a6519e4ae |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri/r200
rivers/dri/r200/.gitignore
rivers/dri/r200/Makefile
rivers/dri/r200/Makefile.am
rivers/dri/r200/Makefile.sources
|
e0ee818e2f24f3d9604c04df4a056798bccc48ec |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri/radeon
rivers/dri/radeon/.gitignore
rivers/dri/radeon/Makefile
rivers/dri/radeon/Makefile.am
rivers/dri/radeon/Makefile.sources
|
3c87dfce403ad3c2fed7998b16bea34dcb0c9fde |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
automake: src/mesa/drivers/dri/i915
rivers/dri/i915/.gitignore
rivers/dri/i915/Android.mk
rivers/dri/i915/Makefile
rivers/dri/i915/Makefile.am
rivers/dri/i915/Makefile.sources
|
adefee50d954151f76150af80207081ae3c247d9 |
12-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
Always build shared glapi libglapi.so, libGL.so, libGLESv2.so, libGLESv1_CM.so must all come from the same version of Mesa or bad things may happen. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
rivers/x11/Makefile
|
ba5252e590782a77b8a46d9c0ec4691cf8da6298 |
19-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
intel/gen6: Some framebuffers having separate depthstencil should be unsupported When the framebuffer has separate depth and stencil buffers, and HiZ is not enabled on the depth buffer, mark the framebuffer as unsupported. This happens when trying to create a framebuffer with Z16/S8 because we haven't enabled HiZ on Z16 yet. Fixes gles2conform test stencil8. Note: This is a candiate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44948 Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed--by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
f74d8aacbf2f6d140381e272d17c31162a3481b3 |
17-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Loosen glBlitFramebuffer restrictions on depthstencil buffers (v2) This loosens the format validation in glBlitFramebuffer. When blitting depth bits, don't require an exact match between the depth formats; only require that the two formats have the same number of depth bits and the same depth datatype (float vs uint). Ditto for stencil. Between S8_Z24 buffers, the EXT_framebuffer_blit spec allows glBlitFramebuffer to blit the depth and stencil bits separately. So I see no reason to prevent blitting the depth bits between X8_Z24 and S8_Z24 or the stencil bits between S8 and S8_Z24. However, we of course don't want to allow blitting from Z32 to Z32_FLOAT. Fixes Piglit fbo/fbo-blit-d24s8 on Intel drivers with separate stencil enabled. The problem was that, on Intel drivers with separate stencil, the default framebuffer has separate depth and stencil buffers with formats X8_Z24 and S8. The test attempts to blit the depth bits from a S8_Z24 buffer into the default framebuffer. v2: Check that depth datatypes match. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44665 Note: This is a candidate for the 8.0 branch. Reported-by: Xunx Fang <xunx.fang@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/fbobject.c
|
d540af554adfe302387014c0f46d6ac3aaa75121 |
20-Jan-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa: allocate transform_feedback_info::Outputs array dynamically The nvc0 gallium driver is advertising 128 MAX_INTERLEAVED_COMPS which made it always assert in the linker when TFB was used since the Outputs array was smaller than that maximum. v2: added assertions NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Paul Berry <stereotype441@gmail.com>
ain/mtypes.h
|
0e019cbd1ca4ad8a11c9310d701ca4aab11b5951 |
20-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: include arrayobj.h to silence implicit function declaration warning Caused by commit 7a1e941ebee43cb97a2c77fd2269999b202308a2.
ain/state.c
|
7a1e941ebee43cb97a2c77fd2269999b202308a2 |
29-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Fix and speedup gl_array_object::_MaxElement computation. Use a bitmask approach to compute gl_array_object::_MaxElement. To make this work correctly depending on the shader type actually used, make use of the newly introduced typed bitmask getters. With this change I gain about 5% draw time on some osgviewer examples. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/arrayobj.c
ain/state.c
|
2a207c4bf95312b68093280b97229cc4316f5724 |
29-Dec-2011 |
Mathias Froehlich <Mathias.Froehlich@web.de> |
mesa: Introduce enabled bitfield helper functions. Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/arrayobj.h
ain/mtypes.h
|
f60e892c5017f66282080983da87f638d13917c5 |
29-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use BITFIELD64_RANGE for VERT_BIT_*_ALL. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
|
fdae0eaf222f271bfbc7e71d8561eb8b90685ae5 |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: copy num_immediates field when copying the immediates array Two assignments to num_immediates were missing in get_pixel_transfer_visitor() and get_bitmap_visitor(). The uninitialized value led to valgrind errors and crashes in some cases. Added new assertions to catch future problems in this area. Also changed num_immediates to unsigned to avoid signed/unsigned comparison warnings. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
f0ea46790f8f4df9a39b0cfab5c5f1bf02c136fc |
18-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Set default access flags based on the run-time API The default access flags for OpenGL ES (via GL_OES_map_buffer) and desktop OpenGL are different. The code previously tried to handle this, but the decision was made at compile time. Since the same driver binary can be used for both OpenGL ES and desktop OpenGL, the decision must be made at run-time. This should fix bug #44433. It appears that the test case does various map and unmap operations and inspects the state of the buffer object around each. When it sees that GL_BUFFER_ACCESS does not match its expectations, it fails. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44433
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/radeon/radeon_buffer_objects.c
ain/bufferobj.c
ain/bufferobj.h
tate_tracker/st_cb_bufferobjects.c
|
75f37ddba7e5a297390299be0dab8377ea40f5c8 |
19-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: add fallback pipe formats for (compressed) R, RG formats If we don't find an exact PIPE_FORMAT_x for a GL_(COMPRESSED)_RED/RG format, try uncompressed formats. We were already doing this for the RGB(A) formats. Fixes piglit arb_texture_compression-internal-format-query test. NOTE: This is a candidate for the stable branches. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_format.c
|
dcdfd1905c8012fe0a90e553f2a894c12cf144cf |
18-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix disassembly of data port writes on Ivybridge. msg_type moved by a bit, so the message type was being disassembled incorrectly. In particular, render target writes were showing up as "OWORD block write". NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_disasm.c
|
a608be5d3333244f5357c459135b17b4c2298e18 |
18-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix disassembly of sampler messages on Ivybridge. Compared to sampler_gen5, simd_mode shifted by a bit and msg_type grew by a bit. So we were printing slightly incorrect numbers. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_disasm.c
|
2e712e41db0c0676e9f30fc73172c0e8de8d84d4 |
18-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Take attributes into account when deciding urb_entry_size. Both the VF and VS share space in the URB. First, the VF stores attributes (shader inputs) there. The VS then reads the attributes, executes, and reuses the space to store varyings (shader outputs). Thus, we need to calculate the amount of URB space necessary for inputs, outputs, and pick whichever is greater. The old VS backend correctly did this (brw_vs_emit.c:408), but the new VS backend only considered outputs. Fixes vertex scrambling in GLBenchmark PRO on Ivybridge. NOTE: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41318 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
8a472427559ea33186c71dfbab8254651fec3077 |
17-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Set depth to 6 for cubemaps Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41216 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43212 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43250 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Jin Yang <jin.a.yang@intel.com>
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
|
221c678329fd1c073d5f8dcf387129cd426ecf07 |
18-Jan-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
gbm: Validate usage flags in gbm_bo_create_from_egl_image() The entry point is supposed to validate that the EGLImage is suitable for the passed in usage flags, but that was never implemented.
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
|
2f868f1ddd636bc8d4cbcd5beeef1246cec80c65 |
18-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for Z16 depth formats. v2: Don't flag the format as being HiZ ready (there's DRI2 handshake pain to go through). Fixes piglit gl-3.0-required-sized-texture-formats NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
f0d5c92a4c9d5057d727819e501d80c5dfcdf76e |
17-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Set up surface horizontal alignment field. This is required for Z16 support for texturing, which is the first thing to have a horizontal alignment of 8. Renderbuffers don't need it, since they're always set up as the only mip level, but do it for completeness anyway. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_wm_surface_state.c
|
fc767ff59056a418a1c573261f0d04a329278ee8 |
17-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Remove stale comment. This field is actually set up above. NOTE: This is a candidate for the 8.0 branch, to avoid conflicts. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_wm_surface_state.c
|
0f68d88034a9815445ae0a35aacc500f82f33a18 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix leak of uniform storage records on shader program link/free. NOTE: This is a candidate for the 8.0 branch.
ain/shaderobj.c
|
cbd464a117317f276b65cbca69d6339166581bf7 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix leak of the program cache BO on context destroy. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_state_cache.c
|
7f278e15ad271daaa08dd2fef84cca5e344d5771 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix leak of an empty hash_table structure per compile. This statement got duplicated above, probably in a rebase resolution, so we never freed the extra one. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_vec4_visitor.cpp
|
b2be4869624443cd9769bd696b11dd587494b62a |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix refcount leak of the gl_program structure. Fixes a leak of almost 200kb on a minimal shader_runner program (algebraic-add-add-1). NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_shader.cpp
|
b972744c78e45928876ea781b9eeef09b3baf083 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Make the register allocator allocation take a ralloc context. This fixes a memory leak on i965 context destruction. NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
rogram/register_allocate.c
rogram/register_allocate.h
|
84c7c14697c82fe25586f8186b4f47d80a6f05f9 |
17-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: pass GL_MAP_INVALIDATE_RANGE_BIT to gallium drivers when mapping renderbuffers or texture images. NOTE: This is a candidate for the 8.0 branch.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
|
64fdfefb9d1136c5f98f3e3b2ba716c224a4d792 |
17-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use GL_MAP_INVALIDATE_RANGE_BIT in glTexImage paths Update the dd.h docs to indicate that GL_MAP_INVALIDATE_RANGE_BIT can be used with GL_MAP_WRITE_BIT when mapping renderbuffers and texture images. Pass the flag when mapping texture images for glTexImage, glTexSubImage, etc. It's up to drivers whether to actually make use of the flag. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/dd.h
ain/texstore.c
|
1d7048f12e7e2e8f42d27aa665f7134f8f10cf4e |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: try RGBA_FLOAT16 before RGBA_FLOAT32 when choosing A,L,LA,I formats To try to use less tex memory and maybe get better performance. Spotted by Roland Scheidegger. NOTE: This is a candidate for the 8.0 and 7.11 branches. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texformat.c
|
7628696004515074594d4fdac4e422c81c86b32c |
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix tex format selection for GL_R32F and other R/G float formats The i965 driver advertises GL_ARB_texture_float and GL_ARB_texture_rg support but the ctx->TextureFormatSupported[] table entries for MESA_FORMAT_R_FLOAT32 and MESA_FORMAT_RGBA_FLOAT32 are false on gen 4 hardware. So the case for GL_R32F would fail and we'd print an implementation error. This patch adds more Mesa tex format options for GL_R32F and other R/G formats so we fall back to 16-bit formats when 32-bit formats aren't available. Eric made the same fix in commit 6216a5b4 for the non R/G formats. v2: try 16-bit formats before 32-bit formats and try RG formats before RGBA where possible. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=44039 NOTE: This is a candidate for the 8.0 and 7.11 branches. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
ain/texformat.c
|
5acc7f38d42859db459567d4442c18764a4072e7 |
17-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Bump Ivybridge's fake MRF range to g112-127 instead of g111-126. When I originally implemented the hack to use GRFs 111+ as fake MRFs, I did so purely to avoid rewriting all the code that dealt with MRFs. However, it turns out that a similar hack is actually required. Newly discovered language in the BSpec indicates that SEND instructions with EOT set "should" use g112-g127 as their source registers. Based on assertions in the simulator, this is actually a requirement on certain platforms. Since we're faking MRFs already, we may as well use the officially sanctioned range. My guess is that we avoided this issue because we seldom use m0: URB writes in the new VS backend start at m1, and RT writes in the new FS backend start at m2. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
bdedd03b701781c8b71e162f7eb834e6a11105de |
17-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove the INTEL_OLD_VS option. Now that we no longer generate Mesa IR from GLSL IR, it's impossible to use the old vertex shader backend for GLSL programs. There's simply no Mesa IR to codegen from. Any attempt to do so would result in immediate GPU hangs, presumably due to the driver uploading an empty program with no EOT message. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs.c
|
d56ad273c0ff37d790c614b2d3f04c1249b47307 |
16-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Support GL_VERTEX_ATTRIB_ARRAY_INTEGER in GL 3.0 contexts. According to Table 6.8 (Page 348) in the OpenGL 3.0 specification, glGetVertexAttribiv supports GL_VERTEX_ATTRIB_ARRAY_INTEGER. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/varray.c
|
a6dd4bf5fcce2520ab199201fdd1ad155457d781 |
18-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen5: Fix rendering of depth buffers without stencil [v2] Fixes the following OGLConform tests on gen5: depth-stencil(misc.state_on.depth_int) fbo_db_ARBfp(basic.OnlyDepthBuffDrawBufferRender) The problem was that, if the depth buffer's Mesa format was X8_Z24, then we emitted the hardware format D24_UNORM_X8. But, on gen5, D24_UNORM_S8 must be emitted. This bug was introduced by: commit d84a180417d1eabd680554970f1eaaa93abcd41e Author: Eric Anholt <eric@anholt.net> i965: Base HW depth format setup based on MESA_FORMAT, not bpp. v2: Deref 'intel' directly. Move the branch for newer chipset to top. Quote the PRM. As requested by Ken. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43408 Note: This is a candidate for the 8.0 branch. Reported-by: Xunx Fang <xunx.fang@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
|
ce1c949b162260cec84431913f7aac83cb1b938e |
17-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
intel: Return if pointer to intel_context is null It is better to test if(intel == NULL) and simply return in that case. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
c03ad08e8dff99c3042a4ab3b6b979cf428aa6fa |
17-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Add .gitignore file to exclude automake build artifacts from git. With the conversion to automake in commit e326480e4ebe8687948041c2dc5f5b7595559a2e, several additional build artifacts are created: src/mesa/drivers/dri/i965/.deps/ src/mesa/drivers/dri/i965/.libs/ src/mesa/drivers/dri/i965/Makefile src/mesa/drivers/dri/i965/Makefile.in src/mesa/drivers/dri/i965/i965_dri.la src/mesa/drivers/dri/i965/i965_symbols_test This patch adds all of these files to .gitignore. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/.gitignore
|
f1a9a9bcd19dcbb8a0a4bd7299400cb418970f99 |
17-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add condition in glGetTexImage for zero size textures TestMipMaps() function in src/OGLconform/textureNPOT.c calls glTexImage2D() with width = 0. Texture with zero size skips miptree allocation due to a condition in function _mesa_store_teximage3d(). While calling glGetTexImage() it results in assertion failure in intel_map_texture_image() due to null mt pointer. This patch fixes the issue by detecting the zero size texture early in glGetTexImage and glGetCompressedTexImage functions. In such a case function simply returns doing nothing. Verified that below mentioned bug is fixed by this patch. https://bugs.freedesktop.org/show_bug.cgi?id=42334 NOTE: This is a candidate for stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
ain/teximage.h
|
94556f359450acebe87d6c9b4f4fd8ccf78589d8 |
18-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
radeon: share common fog code between radeon and r200 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_fog.c
rivers/dri/radeon/radeon_fog.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
|
e77c495d09105a1b6a13fd62d0d3585b019e1c66 |
17-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
radeon: fix fog coordinate emit Noticed by dungeon on phoronix: http://phoronix.com/forums/showthread.php?65408-Radeon-R100-R200-Mesa-Driver-Sees-Attention&p=247018#post247018 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Note: this is a candidate for the stable branches.
rivers/dri/radeon/radeon_maos_arrays.c
|
afdd6f8c34705eae5048da03329750836bcecf44 |
17-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r200: fix fog coordinate emit Noticed by dungeon on phoronix: http://phoronix.com/forums/showthread.php?65408-Radeon-R100-R200-Mesa-Driver-Sees-Attention&p=247018#post247018 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Note: this is a candidate for the stable branches.
rivers/dri/r200/r200_maos_arrays.c
|
e326480e4ebe8687948041c2dc5f5b7595559a2e |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Convert the build to using automake. This does introduce a warning by the automake build system, that the missing-symbols test build is non-portable. That's true -- Mac OS X can't take something built as a loadable module and just link it as a library. Of course, we aren't building this on OS X at all, so it would be nice to be able to suppress it, but I haven't found a way. Still, the build is going to be much quieter than we have ever had before, so I think this is a fair tradeoff until we find a way to shut that warning up. v2: Put a link in /lib to avoid transition pains for people. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1) Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
rivers/dri/i965/Android.mk
rivers/dri/i965/Makefile
rivers/dri/i965/Makefile.am
rivers/dri/i965/Makefile.sources
|
a14582d7e2ace05a3583cecff39f2bb4f41f7b79 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Drop the version override code now that we don't have any left. Fixes a compiler warning. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_extensions.c
|
ccf0d31a210baf062dcc0e0c19527cdbbade0ac9 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
intel: Fix warnings of undefined ffs(). For some reason these started showing up with the automake conversion. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.h
|
7e08bf08d13228001f6306800b5bd69b89b1bb6f |
27-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Fix gen6,gen7 when used with a non-HiZ capable DDX Nothing works if HiZ is enabled and the DDX is incapable of HiZ (that is, the DDX version is < 2.16). The problem is that the refactoring that eliminated intel_renderbuffer::stencil_rb broke the recovery path in intel_verify_dri2_has_hiz(). Specifically, it broke line intel_context.c:1445, which allocates the region for DRI_BUFFER_DEPTH_STENCIL. That allocation was creating a separate stencil miptree, despite the buffer being a packed depthstencil buffer. Havoc ensued. This patch introduces a bool flag that prevents allocation of that stencil miptree. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44103 Tested-by: Ian Romanick <idr@freedesktop.org> Note: This is a candidate for the 8.0 branch. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
dd7220652e65a8a23e7739eeee687f3d6a865b80 |
12-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
intel: Fix segfault in glXSwapBuffers with no bound context Calling glXSwapBuffers with no bound context causes segmentation fault in function intelDRI2Flush. All the gl calls should be ignored after setting the current context to null. So the contents of framebuffer stay unchanged. But the driver should not seg fault. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44614 Reported-by: Yi Sun <yi.sun@intel.com> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Yi Sun <yi.sun@intel.com>
rivers/dri/intel/intel_screen.c
|
6e9478e382df0e2fc45741c385976ae5d26c5345 |
15-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
r200: remove left-over EGL_SOURCES variable Rest was removed in 2a928899e. Signed-off-by: Matt Turner <mattst88@gmail.com>
rivers/dri/r200/Makefile
|
5596db74117e56a58e16a61c34bc87d787bb24bb |
12-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: update compute_version for GL3 only check ARB_fbo, add shader_texture_lod as a requirement Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/version.c
|
2449695e822421fdcaf1c66dffc12d7d705ea69d |
17-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: improve the pipe_stream_output_info struct (v2) There are 3 changes: 1) stride is specified for each buffer, not just one, so that drivers don't have to derive it from the outputs 2) new per-output property dst_offset, which specifies the offset into the buffer in dwords where the output should be stored, so that drivers don't have to compute the offsets manually; this will also be useful for gl_SkipComponents from ARB_transform_feedback3 3) register_mask is removed, instead, there is start_component and num_components; register_mask with non-consecutive 1s doesn't make much sense (some hardware cannot do packing of components) Christoph Bumiller: fixed nvc0. v2: resolve merge conflicts in Draw and clean it up
tate_tracker/st_glsl_to_tgsi.cpp
|
e13c99a0043854cb286c773faa891a3115cd0a68 |
13-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Comment gen6_hiz_get_framebuffer_enum() Make the comments precise. Explain why each branch is needed and correct. Document the potential pitfall in the true-branch. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_hiz.c
|
9462b8447864c754252cd2580c9e1e4d36d5cc63 |
30-Nov-2011 |
Neil Roberts <neil@linux.intel.com> |
gen6_hiz: Don't bind GL_DRAW_FRAMEBUFFER on GLES When using Mesa with a GLES API, calling _mesa_FramebufferRenderbuffer with GL_DRAW_FRAMEBUFFER will report a 'user error' because get_framebuffer_target validates that this enum from the framebuffer blit extension is only used on GL. To work around it this patch makes it use the GL_FRAMEBUFFER enum instead in that case. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43418 Note: This is a candidate for the 8.0 branch. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_hiz.c
|
b0af16abf1153da243b856e55f59ca1945860f47 |
13-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: s/GLushort/GLubyte/ in pack_ubyte_AL44() The AL44 format occupies one byte, not two. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/format_pack.c
|
540a8b2cfdedbf5a635f33c720aa795fae74e08b |
13-Jan-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: fix renderbuffer format selection The gl_renderbuffer::Format field wasn't always set properly. This didn't matter much in the past but with the recent swrast/renderbuffer mapping changes, core Mesa will be directly touching OSMesa colorbuffers so using the right MESA_FORMAT_x value is important. Unfortunately, there aren't MESA_FORMATs for all the possible OSmesa format/type combinations, such as GL_FLOAT / OSMESA_ARGB. If anyone runs into these we can add new Mesa formats. v2: add warnings for unsupported formats, fix ARGB_REV mix-up. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
rivers/osmesa/osmesa.c
|
3e18ad7fd7026e31fd92fe5cf7097d08e5b9a15a |
03-Nov-2011 |
Vinson Lee <vlee@vmware.com> |
i965: Fix Coverity wrong sizeof argument defect. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42542 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_viewport_state.c
|
fcd5af4a916b4ba7860ba27eb47404934bde0d08 |
10-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965: Set pitch of pull constant buffers to 16. We always access pull constant buffers using the message types "OWord Block Read" or "OWord Dual Block Read". According to the Sandy Bridge PRM, Vol 4 Part 1, pages 214 and 218, when using these messages: "the surface pitch is ignored, the surface is treated as a 1-dimensional surface. An element size (pitch) of 16 bytes is used to determine the size of the buffer for out-of-bounds checking if using the surface state model." Previously we were setting the pitch for pull constant buffers to the size of the whole constant buffer--this made no sense and would have led to incorrect behavior if it were not for the fact that the pitch is ignored. For clarity, this patch sets the pitch for pull constant buffers to 16 bytes, consistent with the hardware's behavior. v2: Clarify the meaning of the ignored values by writing them as (16 - 1). Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
f6f43bd5a276990c58c021bc047e60f9763df479 |
09-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
i965 gen4-6: Fix off-by-one errors brw_create_constant_surface() Commit 9bdc44a52804a64219a0ca1a061b18596863e524 (i965: Replace struct with bit shifting for WM pull constant surfaces) accidentally introduced off-by-one errors into the calculation of the surface width, height, and depth. This patch restores the correct computation. The reason this wasn't noticed by Piglit tests is that the size of our constant surfaces is always less than 2^20, therefore the off-by-one error was causing the "depth" field of the surface to be set to all 1's. The hardware interpreted this as an extremely large surface, so overflow checking was effectively disabled. No Piglit regressions on Sandy Bridge. NOTE: This is a candidate for the 7.11 and 8.0 branches. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
cb254b75d7d971b3f1baab45a82cedf0bd6c36c4 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
osmesa: fix glReadPixels, etc Needed to implement the Map/UnmapRenderbuffer() driver hooks. This fixes glRead/Draw/CopyPixels, etc. See https://bugs.freedesktop.org/show_bug.cgi?id=44723 Note: This is a candidate for the 8.0 branch. Tested-by: Kevin Hobbs <hobbsk@ohiou.edu>
rivers/osmesa/osmesa.c
|
062a4b601edaaea193397bd5d86fea11ceec04f4 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: move declaration before code
rivers/dri/intel/intel_fbo.c
|
6dbdc0395698de929e23b4ec1ab399e64ecfd264 |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: fix mapping of malloc'd renderbuffers This fixes accum buffer operations. The accumulation buffer is the only malloc-based renderbuffer for the intel drivers. v2: apply x/y offset to returned pointer NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_fbo.c
|
9be6654c1f75bc402c807ec0caccebde032afa59 |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Throw the required error for glCopyPixels from multisample FBO. Fixes piglit EXT_framebuffer_multisample/negative-copypixels. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/drawpix.c
|
6950a4faf650fe119ee97aa18b006eed099038be |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Throw the required error for glCopyTex{Sub,}Image from multisample FBO. Fixes piglit EXT_framebuffer_multisample/negative-copyteximage. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/teximage.c
|
86b7c6707f915b07347070901d602917bc25dd0f |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Throw the required error for glReadPixels() from a multisampled FBO. Fixes piglit EXT_framebuffer_multisample-negative-readpixels. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/readpix.c
|
0e8d156c3cd70a67c99a82e42e7875f69b6a5b94 |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Avoid short-circuiting realloc of renderbuffers to new sample count. Fixes piglit EXT_framebuffer_multisample/renderbuffer-samples. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
ain/fbobject.c
|
f83756f80f509fc51030853f8aa0fef3309fe886 |
10-Jan-2012 |
Eric Anholt <eric@anholt.net> |
meta: Add GL_RED/GL_RG support to meta CopyTexImage. Fixes some _mesa_problem()s in oglconform. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
rivers/common/meta.c
|
e6d6a10c5a2962f93d4adcd251b9a47a4e438121 |
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix depth buffer rendering to tile offsets. Previously, we were saying that everything from the starting tile to region width+height was part of the limits of our depthbuffer, even if the tile was near the bottom of the depthbuffer. This mean that our range was not clipping to buffer buonds if the start tile was anything but the start of the buffer. In bebc91f0f3a1f2d19d36a7f1a4f7c992ace064e9, this was changed to saying that we're just rendering to a region of the size of the renderbuffer. This is great -- we get a range that should actually match what we want. However, the hardware's range checking occurs after the X/Y offset addition, so we were clipping out rendering to small depth mip levels when an X/Y offset was present. Just add tile_x/y to the width in that case -- the WM won't produce negative x/y values pre-offset, so we just need to get the left/bottom sides of the region to cover our buffer. Fixes the following Piglit regressions on gen7: spec/ARB_depth_buffer_float/fbo-clear-formats spec/ARB_depth_texture/fbo-clear-formats spec/EXT_packed_depth_stencil/fbo-clear-formats NOTE: This is a candidate for the 8.0 branch.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
|
003dd8adf39c964d8c7beb86955a61ceb3706ebc |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove incorrect (float) cast in mipmap do_row() The array holds GLuint values so remove the float cast. Note, however, that to compute the average of four GLuints we really want to do (a+b+c+d)/4 but that could overflow. This change doesn't address that for now. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/mipmap.c
|
706400f0a7a59bba89eca8e97a1ada45445ee6df |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use BITFIELD64_BIT() macro to fix MSVC warnings NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
wrast/s_aalinetemp.h
wrast/s_context.c
wrast/s_span.c
|
decd018b992eb0f7f85338ee39083daca04885b6 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix ir_variable declaration ir_variable is a class, not a struct. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/ff_fragment_shader.cpp
|
a240c998ac649d79f423bb0c445993132cd56f97 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect float vs. int values in a few places In the first case, the newImage[] array contains GLuint values. In the second case, the parameter type is GLuint, but the maxDepth value is never used in this case (GL_FLOAT_32_UNSIGNED_INT_24_8_REV). Pass ~OU just to be safe. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texstore.c
|
2f0fa456e31a7030c911a563b62c84d448b09800 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
meta: fix incorrect argument order in setup_texture_coords() call And pass integer width, height values. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
rivers/common/meta.c
|
36ede89687fe2de213f2637ab7acfb80cfd856cd |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_is_user_fbo() and _mesa_is_winsys_fbo() functions Rather than testing the fbo's name against zero. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/buffers.c
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/renderbuffer.c
ain/teximage.c
ain/texobj.c
|
185ee042ac4c6b08f7842b35d8234f2f8fab7831 |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace, 80-column wrapping in buffers.c
ain/buffers.c
|
45a3b540639921c4b562f4e3bb32d1b2f2f47d39 |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete comment on _mesa_dest_buffer_exists()
ain/framebuffer.c
|
50ad155d48c2be9d78c18573745d5a1f68368fad |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: whitespace fixes, 80-column wrapping
tate_tracker/st_atom_texture.c
|
eab036a6eaebd532f88c49bd26550c6225f96005 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa/gallium: add FFS_DEFINED to protect ffs() from multiple definitions We include both imports.h and u_math.h in the state tracker. This leads to multiple, conflicting definitions of ffs() with MSVC. Use FFS_DEFINED to skip the ffs() in u_math.h. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/imports.h
|
8cfaab59e0875bff92179aacfffd690c805906ef |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: re-order #includes in st_manager.c include mesa headers before gallium headers to avoid problem with ffs() being defined in u_math.h and then again in imports.h The next commit will add some #ifdefs to prevent multiple definitions of ffs().
tate_tracker/st_manager.c
|
9f2963b631cb2a2899fcb0eb384895fd33f9821d |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix struct vs. class compilation warning glsl_to_tgsi_visitor is earlier defined as a class, not a struct. Fixes MSVC warning. NOTE: This is a candidate for the 8.0 branch.
tate_tracker/st_glsl_to_tgsi.cpp
|
9a548c27aa704236cc1d8a5d4ebf68cea9c5c99c |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_ffs(), implement ffs() for non-GNU platforms Call ffs() and ffsll() everywhere. Define our own ffs(), ffsll() functions when the platform doesn't have them. v2: remove #ifdef _WIN32, __IBMC__, __IBMCPP_ tests inside ffs() implementation. The #else clause was recursive. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Alexander von Gluck <kallisti5@unixzen.com>
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_clear.c
ain/arrayobj.c
ain/bitset.h
ain/buffers.c
ain/ff_fragment_shader.cpp
ain/ffvertex_prog.c
ain/imports.c
ain/imports.h
ain/shaderapi.c
rogram/prog_print.c
wrast/s_texture.c
|
90d654b09d98fc597ca273c65c2b1b00a9c35f09 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
vbo: fix breakage from previous commit Don't know how that slipped by.
bo/vbo_exec_array.c
|
bbc74ffad6551272a4551f8dd9de5b34916c0ac2 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
vbo: fix void * arithmetic compilation error on MSVC Also, call vbo_sizeof_ib_type() once and fix argument cast in MapBufferRange() call.
bo/vbo_exec_array.c
|
42d4972bf0b147b0241c2be7e6579fd64cf2c216 |
31-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
vbo: introduce vbo_get_minmax_indices function Introduce vbo_get_minmax_indices() function to handle the min/max index computation for nr_prims(>= 1). The old code just compute the first prim's min/max index; this would results an error rendering if user called functions like glMultiDrawElements(). This patch servers as fixing this issue. As when nr_prims = 1, we can pass 1 to paramter nr_prims, thus I made vbo_get_minmax_index() static. v2: per Roland's suggestion, put the indices address compuation into vbo_get_minmax_index() instead. Also do comination if possible to reduce map/unmap count v3: per Brian's suggestion, use a pointer for start_prim to avoid structure copy per loop. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_draw.c
rivers/dri/nouveau/nouveau_vbo_t.c
ain/api_validate.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
nl/t_draw.c
bo/vbo.h
bo/vbo_exec_array.c
|
459a44460e4d31d69d7ff04c1000917ca7870ff3 |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove const qualifier from fProg to silence warning The args to _mesa_reference_shader_program() can't be const.
ain/state.c
|
fe1b38960b44135f6557a1e7a9fb5adc66d0edbb |
12-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: include uniforms.h to silence warning, remove unused var
ain/shaderapi.c
|
c979fe3e200f42ff1fad75ebdbebe69da27e1aaa |
06-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
Enable is_front_buffer_rendering variable in case of GL_FRONT_AND_BACK glDrawBuffer(GL_FRONT_AND_BACK) results in to segmentation fault if intel->is_front_buffer_rendering is not enabled with GL_FRONT_AND_BACK. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44153 Reported-by: Yi Sun <yi.sun@intel.com> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffers.c
|
04e262ebe978872b7da0a04ae1fe6fe2129743fc |
11-Jan-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Remove unused opengl version macro Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/version.h
|
1c177452005a0366db01629d875da553f7949ddd |
07-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Don't use _mesa_ir_link_shader to do our dirty work Instead, do the uniform setting and input / output mapping directly in brw_link_shader. Hurray for not generating Mesa IR! However, once the i965 driver stops calling _mesa_ir_link_shader, UsesClipDistance and UsesKill are no longer set. Ideally gen6_upload_vs_push_constants should use the gl_shader_program, but I don't see a way to propagate the information there. The other alternative, since this is the only usage, is to move gl_vertex_program::UsesClipDistance to brw_vertex_program. The compile (and precompile) stages use UsesKill to determine the cache key for the shader. This is then used to determine whether or not to compile the shader. Calculating this data during compilation is too late. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_shader.cpp
|
efdc8bf1894790a85c118881395a998cbae34c1a |
06-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Don't calculate masks of used FS inputs This previously enabled some optimizations in the fragment shader (interpolation, etc.) if some input components were always 0.0 or 1.0. However, this data was generated by analyzing Mesa IR. The next patch in this series removes generation of Mesa IR for GLSL paths. When we detect that case, just set the used mask to ~0 and circumvent the optimizations. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_constval.c
|
6c0df75803e1944f82a1468dcca47d23de82ea6b |
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Calculate used samplers and shadow samplers in the linker It used to be done in ir_to_mesa, and that was kind of a bad place. I didn't change st_glsl_to_tgsi because there is some strange stuff happening in the code that generates glDrawPixels shaders. It looked like this would break horribly if I touched anything. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
ain/uniform_query.cpp
rogram/ir_to_mesa.cpp
|
6a992c3288b6f7a5d94172c9ad1908e71e58233e |
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Calculate the sampler to texture target mapping during linking Track the calculated data in gl_shader_program instead of the individual assembly shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
ain/mtypes.h
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
195ee502c3196607e3a74075aefade9770a08a67 |
14-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Validate sampler settings using uniform storage Rather than looking at the settings in individual assembly programs, look at the settings in the top-level uniform values. The old code was flawed because examining each shader stage in isolation could allow inconsitent usage across stages (e.g., bind unit 0 to a sampler2D in the vertex shader and sampler1DShadow in the fragment shader). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
ain/uniform_query.cpp
ain/uniforms.h
|
b527dd65c830a2b008816cf390d5be906e29bb23 |
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track fixed-function fragment shader as a shader Previously the fixed-function fragment shader was tracked as a gl_program. This means that it shows up in the driver as a Mesa IR program instead of as a GLSL IR program. If a driver doesn't generate Mesa IR from the GLSL IR, that program is empty. If the program is empty there is either no rendering or a GPU hang. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
ain/mtypes.h
ain/shaderapi.c
ain/state.c
|
ca5b30bf8142d916a40eaaa7091882464a237f1f |
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use static buffer for uniform name Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
f409a710e3562856a53a3b43ed526b877639a27c |
14-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use uniform interfaces in fixed-function fragment shader code Poking directly at the backing resources works only by luck. Core Mesa code should only know about the gl_uniform_storage structure. Soon other code that looks at samplers will use the gl_uniform_storage structures instead of the data in the gl_program. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
28cfa1fa213fe7ba6e5b57e61da663a6c3bf0c13 |
11-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't reallocate push constant URB space on new VS programs. The gen7_urb atom depends on CACHE_NEW_VS_PROG and CACHE_NEW_GS_PROG, causing gen7_upload_urb() to be called when switching to a new VS program. In addition to partitioning the URB space between the VS and GS, gen7_upload_urb() also allocated space for VS and PS push constants. Unfortunately, this meant that whenever CACHE_NEW_VS was flagged, we'd reallocate the space for the PS push constants. According to the BSpec, after sending 3DSTATE_PUSH_CONSTANT_ALLOC_PS, we must reprogram 3DSTATE_CONSTANT_PS prior to the next 3DPRIMITIVE. Since our URB allocation for push constants is entirely static, it makes sense to split it out into its own atom that only subscribes to BRW_NEW_CONTEXT. This avoids reallocating the space and trashing constants. Fixes a rendering artifact in Extreme Tuxracer, where instead of a snow trail, you'd get a bright red streak (affectionately known as the "bloody penguin bug"). This also explains why adding VS-related dirty bits to gen7_ps_state made the problem disappear: it made 3DSTATE_CONSTANT_PS be emitted after every 3DSTATE_PUSH_CONSTANT_ALLOC_PS packet. NOTE: This is a candidate for the 7.11 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38868 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_urb.c
|
35cdd7b6dbc763fe57bf466def0a4257ca09beb8 |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix compiler warning from uninitialized "success" value. This shouldn't happen, because the DDX should only load this driver if IS_965. But better to do something defined in that case.
rivers/dri/intel/intel_screen.c
|
ba6f4c9ee2294de66977d292972d47355fa58be0 |
02-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix segfault in transform feedback to DYNAMIC_DRAW buffers. Fixes piglit EXT_transform_feedback/buffer-usage.
rivers/dri/i965/gen7_sol_state.c
|
2c623c2be529edc974ca293f3c71929c639ec0c9 |
06-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/vs: Try to emit more components of constant vectors at once. We were naively emitting each component at a time, even if we were emitting the same value to multiple channels. Improves on a codegen regression from the old VS to the new VS on some unigine shaders (because we emit constant vecs/matrices as immediates instead of loading them as push constants, so we had over 4x the instructions for using them). shader-db results: Total instructions: 58594 -> 58540 11/870 programs affected (1.3%) 765 -> 711 instructions in affected programs (7.1% reduction)
rivers/dri/i965/brw_vec4_visitor.cpp
|
f1b33c74dc11b97a86a7f0e9cbe4cb168b2b9540 |
11-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_HashNumEntries() function Useful when debugging to find the number of texture objects, shader programs, etc.
ain/hash.c
ain/hash.h
|
0a20051e6da99e91b7bf589ea457c77a8b618f26 |
11-Jan-2012 |
Brian Paul <brianp@vmware.com> |
xlib: stop calling XShmQueryVersion() It caused an X protocol error in some (rare) situations. This is a follow-on to the previous commits which fixes a bug reported by Wayne E. Robertz. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Adam Jackson <ajax@redhat.com>
rivers/x11/xm_api.c
|
ecbdb173bbe3e37b4cbc6b08a5ba5a70236a0d1d |
11-Jan-2012 |
Brian Paul <brianp@vmware.com> |
xlib: call register_with_display() in Fake_glXChooseFBConfig() as we do in Fake_glXChooseVisual(). This registers the MesaGLX extension on the display so we can clean up buffers, etc. when the display connection is closed. Fixes a bug reported by Wayne E. Robertz. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Adam Jackson <ajax@redhat.com>
rivers/x11/fakeglx.c
|
3f80b69b5f2093ffc624bb901ce34f0e289bc25d |
11-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: rename translate_texture_target, and make translate_opcode static. As suggested by Brian. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
|
2f275466f78b7268e4f7ae8890eafd4243a2b8b0 |
11-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
glsl_to_tgsi: add support for shadow cube map sampling. This along with the TGSI support lets the piglit sampler-cube-shadow test pass on softpipe. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
|
642e5b413e0890b2070ba78fde42db381eaf02e5 |
04-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix transform feedback of unsubscripted gl_ClipDistance array. On drivers that set gl_shader_compiler_options::LowerClipDistance (for example i965), we need to handle transform feedback of gl_ClipDistance specially, to account for the fact that the hardware represents it as an array of vec4's rather than an array of floats. The previous way this was accounted for (translating the request for gl_ClipDistance[n] to a request for a component of gl_ClipDistanceMESA[n/4]) doesn't work when performing transform feedback on the whole unsubscripted array, because we need to keep track of the size of the gl_ClipDistance array prior to the lowering pass. So I replaced it with a boolean is_clip_distance_mesa, which switches on the special logic that is needed to handle the lowered version of gl_ClipDistance. Fixes Piglit tests "EXT_transform_feedback/builtin-varyings gl_ClipDistance[{1,2,3,5,6,7}]-no-subscript". Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
c62e02000d11e29e70a1000d32cb08d9a450485f |
05-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
st_extensions: fixup GLSL 1.30 related enables (v3) This just fixes up the enables for native integers and EXT_texture_integer support in st/mesa. It also set the MaxClipPlanes to 8. We should consider exposing caps for MCP vs MCD, but since core mesa doesn't care yet maybe we can wait for now. v2: use 32-bit formats as per Marek's mail. v3: add calim's fix for INT_DIV_TO_MUL_RCP disabling. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
|
cc94f0541c7729bca95f21b879c2071722ca3017 |
09-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
st_glsl_to_tgsi: use ISSG and fixup IABS It doesn't look like the GLSL compiler will produce sign op for an unsigned anyways (seems insane anyways). Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
092cf9a5b598710c12739b4cdb50649cd66fe231 |
10-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/clear: fix crashes with illegal clear tests. Mesa shouldn't call into the drivers if there are no renderbuffers bound to the attachments for the buffers to be cleared. Fixes a number of the clearbuffer-* tests on softpipe. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/clear.c
|
863554168ef34ecb7b72650ced78cc9aed923691 |
10-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
mesa: fix cubemap depth completeness test This fixes the test to allow cube/depth combinations on GL3 or EXT_gpu_shader4. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texobj.c
|
be4e46b21a60cfdc826bf89d1078df54966115b1 |
10-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Claim to support 4 multisamples on gen6+. We're not quite ready to actually support it in the implementation, but at least this allows GL 3.0 API-reliant applications to hopefully run successfully, though they won't get multisampling. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
3d4efc583ce46e6f0a13302679fe1349d521a4a3 |
09-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Increase the number of array texture levels to the hardware limit. The EXT_texture_array required only 64, but GL 3.0 required 256. Since we're already exposing values that can get us way beyond our ability to map the single object directly, go ahead and expose all the way to hardware limits. Tested with new piglit EXT_texture_array/maxlayers on gen7. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
254b24f19511014cdf4741b73d69349ac9e931a2 |
11-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Fix compiler warnings from hiz changes.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
|
f7cbd80028247b83ca6835a3f68b8d5bd28b6f70 |
11-Jan-2012 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen7: Fix batch length for 3DSTATE_HIER_DEPTH_BUFFER Change from 5 to 3. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_misc_state.c
|
06ad9adcb031b97af2ce9cd22b919b8befcec43b |
22-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen7: Enable HiZ This patch modifies all batches needed for HiZ. The batch length for 3DSTATE_HIER_DEPTH_BUFFER is also corrected from 4 to 3. Performance +6.7% on Citybench. num-frames: 400 resolution: 1918x1031 avg-hiz-off: 127.90 fps avg-hiz-on: 136.50 fps kernel: git://people.freedesktop.org/~anholt/linux.git branch=gen7-reset-sol sha=23360e4 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/intel/intel_screen.c
|
bebc91f0f3a1f2d19d36a7f1a4f7c992ace064e9 |
22-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Replace references to stencil region size with buffer size It is unwise to use a stencil region's size to determine its renderbuffer's size, because at region creation we fudge the width and height to accomodate interleaved rows. (See the comment for MESA_FORMAT_S8 in intel_miptree_create()). Most users of stencil_region->{width,height} should be converted to use stencil_rb->{Width,Height}. We have already done the replacement in several locations. This patch continues the replacement in {brw,gen7}_emit_depthbuffer(). To make those functions look consistent, I've also done the equivalent replacement for the depth buffer. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
|
b755f5894ce211dcb8ec881ba9cd9856383c3c79 |
22-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Fix misnamed GEN7_WM_DEPTH_RESOLVE It was named GEN6_WM_DEPTH_RESOLVE. Luckily, this caused no conflict, because the value is identical for gen6 and gen7. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_defines.h
|
991479ef51a04b7a6828b19571665401883ef916 |
10-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix > vs. >> typo in EXPAND_3_8() macro Found by Eirik Byrkjeflot Anonsen.
ain/format_unpack.c
|
d6533df90d53193dc868e873285456744f48fb4d |
10-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unnecessary memset()/zero call The u_surface_default_template() function does the memset()/zero now. Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_manager.c
|
6bf5daf331f13ec9503615a2578247e72b7d2cbb |
10-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use STATIC_ASSERT in a few more places
ain/formats.c
ain/shaderapi.c
ain/shared.c
ain/texstate.c
|
8fe6755ed52acfb88a7a787c3406b64fcdd80e6e |
10-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_clear_accum_buffer() inside FEATURE_accum test Fixes _mesa_clear_accum_buffer() being multiply defined if FEATURE_accum is false. Tested-by: Chih-Wei Huang <cwhuang@android-x86.org>
ain/accum.c
|
9b1117095a78bbcbf22fef077f001d0fce969a0e |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing color buffer datatype check for glBlitFramebuffer() Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
ain/fbobject.c
|
1ec4ae193045a949e46bfd43ee023a1b3ea095e6 |
09-Jan-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Silence warning Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by Brian Paul <brianp@vmware.com> Reviewed-by Ian Romanick <ian.d.romanick@intel.com>
rogram/nvvertparse.c
|
230cc36611346ad61610d6c19404e777878d7501 |
09-Jan-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Silence warning Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by Brian Paul <brianp@vmware.com> Reviewed-by Ian Romanick <ian.d.romanick@intel.com>
rogram/symbol_table.c
|
67e3cbf1632e361220234013147331e4618b70cb |
09-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
gallium: introduce GLSL based interpolation rules. (v2) This introduces an unspecified interpolation paramter that is only allowed for color semantics, so a specified GLSL interpolation will override the ShadeModel specified interpolation, but not vice-versa. This fixes a lot of the interpolation tests in piglit. v2: rename from unspecified to color Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_program.c
|
dc4c821f0817a3db716f965692fb701079f66340 |
10-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
Squash-merge branch 'gallium-clip-state' Conflicts: src/gallium/auxiliary/tgsi/tgsi_strings.c src/mesa/state_tracker/st_atom_clip.c commit d919791f2742e913173d6b335128e7d4c63c0840 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 17:59:22 2012 +0100 d3d1x: adapt to new clip state commit cfec82bca3fefcdefafca3f4555285ec1d1ae421 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:16:51 2012 +0100 gallium/docs: update for clip state changes commit c02bfeb81ad9f62041a2285ea6373bbbd602912a Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:21:43 2012 +0100 tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS commit d4e0a785a6a23ad2f6819fd72e236acb9750028d Author: Brian Paul <brianp@vmware.com> Date: Thu Jan 5 08:30:00 2012 -0700 tgsi: consolidate TGSI string arrays in new tgsi_strings.h There was some duplication between the tgsi_dump.c and tgsi_text.c files. Also use some static assertions to help catch errors when adding new TGSI values. v2: put strings in tgsi_strings.c file instead of the .h file. Reviewed-by: Dave Airlie <airlied@redhat.com> commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 12:48:09 2012 +0100 gallium: extend user_clip_plane_enable to apply to clip distances commit f1d5016c07f786229ed057effbe55fbfd160b019 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 02:39:09 2012 +0100 nvfx: adapt to new clip state commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 01:41:39 2012 +0100 st/mesa: fix DrawPixels with GL_DEPTH_CLAMP commit c86ad730aa1c017788ae88a55f54071bf222be12 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:51:30 2012 +0100 nv50: adapt to new clip state commit 3a8ae6ac243bae5970729dc4057fe02d992543dc Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:32:36 2012 +0100 nvc0: adapt to new clip state commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Dec 29 01:32:51 2011 +0100 draw: initalize pt.user.planes in draw_init This fixes a crash in glean/fpexceptions. commit e3056524b19b56d473f4faff84ffa0eb41497408 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:26:55 2011 +0100 svga: adapt to new clip state commit c5bfa8b37d6d489271df457229081d6bbb51b4b7 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:11:51 2011 +0100 r600g: adapt to new clip state commit f11890905362f62627c4a28a8255b76eb7de7df2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:10:26 2011 +0100 r300g: adapt to new clip state commit e37465327c79a01112f15f6278d9accc5bf3103f Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:39:16 2011 +0100 draw: adapt to new clip state This adds a regression in the LLVM clipping path. Can anybody see anything wrong with the code? It works for every other case, just glean/fpexceptions crashes when doing the "Infinite clip plane test". commit b474d2b18c72d965eefae4e427c269cba5ce6ba2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:14:59 2011 +0100 u_blitter: don't save/set/restore clip state commit 9dd240ea91f523a677af45e8d0adb9e661e28602 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:11:56 2011 +0100 gallium: don't cso_save/set/restore clip state The enable bits are in the rasterizer state. commit a4f7031179f5f4ad524b34b394214b984ac950f6 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:58:55 2011 +0100 gallium: default depth_clip to 1 depth_clip = !depth_clamp commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:14:19 2011 +0100 trace,util: update state logging to new clip state Also dump the other missing flags. commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 10:43:43 2011 +0100 st/mesa: adapt to new clip state commit b7b656a42fca19d7c85267f42649a206a85a2c72 Author: Marek Olšák <maraeo@gmail.com> Date: Sat Dec 17 15:45:19 2011 +0100 gallium: move state enable bits from clip_state to rasterizer_state
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
|
a48cc138a8b7c55f8d12796677e081c2b2085f48 |
09-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix zeroing of unused attributes in 3DSTATE_SBE. This brings the code in sync with gen6_sf_state.c; presumably the mistake was a botched rebase on initial Ivybridge bring-up patches. Found by diffing batch buffer dumps and noticing the random values. Thanks to Eric for catching the obvious mistake. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_sf_state.c
|
7cb40da7a55e8f81f4e2138845087eb1e0310bc1 |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Re-sync outdated comments about Gen6+ push constants. In f3e9ccb3b, I renamed gen6_upload_wm_constants to gen6_upload_wm_push_constants, but neglected to update this comment. I don't think there ever was a gen7_prepare_wm_constants function; it was probably a search and replace error. Of course, "prepare" functions died a while back as well. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
647b890e7d2fe628812017fd10a6a68fa9e4da8b |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update dirty bit comments for the gen7_ps_state atom. CACHE_NEW_SAMPLER doesn't cover max_wm_threads, but it does cover brw->sampler.count. BRW_NEW_PS_BINDING_TABLE is obvious, but it's probably worth adding a comment anyway. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_wm_state.c
|
ef034f109427f1a8d31dbe10beed825881130f6b |
09-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Annotate the use of _NEW_PROGRAM in Gen6+ SF state atoms. The dirty bit was already correctly in place, but there was no comment. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
62ca17101c8282732d5c05e7891c3380a0701e4f |
09-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing _NEW_PROGRAM dirty bit to the brw_sf_state atom. Also, annotate the use of _NEW_POINT as long as we're adding a comment. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf_state.c
|
60343b67f7741bba8ca086f4b5431e68e58c75a2 |
09-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing _NEW_PROGRAM dirty bit to the gen7_sbe_state atom. According to a comment in gen6_sf_state, calls to get_attr_override need both _NEW_PROGRAM and _NEW_LIGHT. Since Gen7 reuses the same function, the same dirty bits should apply. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_sf_state.c
|
f497906ec0c01ec714d77bfcc2f0a38da5dafcc2 |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove BRW_NEW_CURBE_OFFSETS dirty bit from Gen7 atoms. The BRW_NEW_CURBE_OFFSETS dirty bit is only flagged by the brw_curbe_offsets state atom which is only used on Gen4-5. Since it's never flagged, there's no reason to depend on it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
74d7ef0961b3aace03aea88944155272ac341b59 |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove BRW_NEW_URB_FENCE dirty bit from Gen6+ atoms. The BRW_NEW_URB_FENCE dirty bit is only flagged by the brw_recalculate_urb_fence state atom which isn't used on Gen6+. Since it's never flagged, there's no reason to depend on it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
4874fcb028a8618b315b49081f9da5900ed7b69c |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing _NEW_BUFFERS dirty bit to Gen6+ DEPTH_STENCIL atoms. This brings the dirty bits in line with the comments. This does /not/ need to be cherry-picked to stable branches because the access requiring _NEW_BUFFERS was added in master as part of HiZ. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_depthstencil.c
|
a53cb348baa8b6f3142ac0bda2c339ee1ba1ea86 |
07-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Bump version to 8.0 (devel) Also update the release notes to mention that Mesa 8.0 implements OpenGL 3.0. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/version.h
|
30f86aec01e1e1df4265d10a4618e34e9b8fec95 |
06-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix projector==1.0 optimization pre-gen6. The optimization was supposed to turn an attribute component that was always 1.0 into a mov of 1.0. But by leaving loop this patch removes out of that test, we applied the projection correction to the 1.0 and got some other value, breaking openarena once it was converted to using the new compiler backend. Originally this hunk was separate from the former loop to make the generated instructions slightly better pipelined. We now have automatic instruction scheduling to handle that, and the generated instruction sequence looked the same to me after this change (except for the bugfix).
rivers/dri/i965/brw_fs.cpp
|
83dc891b41c0224f5ba3624b3e3560129e644e28 |
09-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix GPU hangs with 16-wide integer div/mod on gen7. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
b87b857d90008d045175a6673cabbf9e448d21bc |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error message in _mesa_BlitFramebufferEXT()
ain/fbobject.c
|
3f1fab06844f696de44d9a56e83ff62e8ea576bd |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: check depth, stencil formats (not depths) in glBlitFramebuffer We were only comparing the number of depth and stencil bits but the extension spec actually says the formats must match: The error INVALID_OPERATION is generated if BlitFramebufferEXT is called and <mask> includes DEPTH_BUFFER_BIT or STENCIL_BUFFER_BIT and the source and destination depth or stencil buffer formats do not match. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
|
84c38c739e9faae86509eeec2bab4710813f9cc2 |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add missing error check for linear blit of integer colors Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
|
edca96547a2063c38d65a96e80fe6ad7144b5796 |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: convert blit_linear() to Map/UnmapRenderbuffer() Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_blit.c
|
7274538da7118790c0c1cbbffee5e8a8cc4d7462 |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_unpack_ubyte_rgba_row() function Reviewed-by: Eric Anholt <eric@anholt.net>
ain/format_unpack.c
ain/format_unpack.h
|
301fba54452c01673bb9f105fbc3e68a704ad18a |
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename _mesa_unpack_int_rgba_row() to _mesa_unpack_uint_rgba_row() Since it returns uint values, not int. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/format_unpack.c
ain/format_unpack.h
ain/readpix.c
|
37240d2132d25588ad05ae5394c237f45d8ad881 |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Actually enable SIMD16 dispatch on Ivybridge. Commit acf82657f4d607e4477f03752613d42f239e4bd3 supposedly enabled SIMD16 dispatch, but neglected to set the "16 Pixel Dispatch Enable" bit, so nothing actually got enabled. Furthermore, it neglected to set up the Dispatch GRF Start Register for kernel 2, which is the SIMD16 program. Increases performance in Nexuiz by ~15% at 800x600 (n=3). NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_wm_state.c
|
a56a732c6991f47d63f5ccbb27a45467541c43f8 |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Correct _NEW_TRANSOFORM typos. Using the proper spelling, _NEW_TRANSFORM, makes searching work better. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
|
6a26005c1e298ec205c339b1b53b3dff6e1fd03c |
08-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Correct misspellings of "invariant". $ dict invarient No definitions found for "invarient", perhaps you mean: gcide: Invariant wn: invariant Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_pass0.c
|
73b26e4d12e5fa07bb96b4a30f41bd3b583776aa |
07-Jan-2012 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: emit IABS for absolute value of integers
tate_tracker/st_glsl_to_tgsi.cpp
|
56b57aa360a8bad0c4b68fbdf7c64ac33f9e7661 |
29-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rework ctx->Driver.CopyTexSubImage() parameters Replace target, level parameters with gl_texture_image. Add gl_renderbuffer parameter to indicate source buffer for the copy. This removes some redundant code in the drivers to find the source renderbuffer and the destination texture image (which we already had in _mesa_CopyTexSubImage). Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
rivers/common/meta.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texture.h
ain/dd.h
ain/teximage.c
tate_tracker/st_cb_texture.c
|
291e374ea5528abd084bf0e9996a81b2f2e65e10 |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _mesa_unpack_uint_rgba_row() prototype
ain/format_unpack.h
|
673535f6071e512b18ac6da622e15bdc45ebf0a0 |
07-Jan-2012 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix emission of boolean constants We use 0xffffffff for true, but visit(ir_constant *) was emitting 1.
tate_tracker/st_glsl_to_tgsi.cpp
|
c4529d10bed098b8d3d694f2a333f9afabbabbf9 |
07-Jan-2012 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: remove bad assertion
tate_tracker/st_glsl_to_tgsi.cpp
|
282292f24c0668516db6225114461544b5d38004 |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: fix Z testing of points/lines for 16-bit depth buffers We were comparing 32-bit Z buffer values against 16-bit fragment values. Need to do scaling like for the 24-bit case. Triangle Z testing was OK since it didn't hit this code path.
wrast/s_depth.c
|
8dffb6bdab25dcacf165851e9d1fdb3beb73099a |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/GLbitfield/GLbitfield64/ for sw_span::arrayAttribs This is a bitfield of FRAG_BIT_x values so it should be 64-bits now.
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
wrast/s_span.h
|
7d960a352f9b4ae263371c5f318299e8cbabe277 |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning
wrast/s_context.c
|
5fc6db6708048166743a2d9aa62083c040effa8a |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
meta: add some 'f' suffixes to silence MSVC warnings
rivers/common/meta.c
|
6bf7d402149b36e0eac7c385c561ec6277a8339d |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add some 'f' suffixes to silence MSVC warnings
ain/format_pack.c
|
4c502e05e803dc45bb01510683fb86cf7f30e431 |
07-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add/update comments in _mesa_copy_buffer_subdata()
ain/bufferobj.c
|
a103c61d278b7f56208818c4b949c408c00286fa |
04-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add support for clip vertex. We need to pass the pre-projection matrix clip planes into the driver, instead of the post for the case we have a vertex shader that writes clip vertex. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_clip.c
tate_tracker/st_program.c
|
e1ff84371c0e8c58297611f95ec1e2cb5d5acaa4 |
06-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
st/mesa: fix default interpolation for colors. Brian mentioned that mesa-demos/reflect was broken on softpipe, by my previous commit. The problem was were blindly translating none to perspective, when color/pntc at least need it linear. this is the final version that fixes the reflect regression. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_program.c
|
7ccf04ebcf6284a68ab6c571dabc5f3e0c6b740b |
05-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Fix invalid array access in copy propagation. Accessing virtual_grf_reg_map[inst->dst.reg] is invalid if inst->dst.file != GRF. Since is_direct_copy already implies a GRF destination, we can just move the check earlier. Fixes a regression in commit 07ee9f374f2946f852896e9264c7fa83eafc3f16. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44302 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
c87247f6a8c5505fea3fa29dac372f9f5316a118 |
06-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_framebuffer:_DepthBuffer, _StencilBuffer fields These were used by swrast to make a combined depth+stencil buffer look like separate depth and stencil buffers. But that's no longer needed after rewriting the depth/stencil code in swrast. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/framebuffer.c
ain/mtypes.h
|
21b28d520ff218d165e86aa71dbd02050a3aa0cd |
06-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove s_depthstencil.[ch] files The code is no longer used. Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
ources.mak
wrast/s_depthstencil.c
wrast/s_depthstencil.h
|
030e408181f6ba0cd992c1519de485f38adad8be |
06-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: remove calls to _swrast_update_depth/stencil_buffer() These functions updated the gl_renderbuffer::_DepthBuffer and _StencilBuffer fields. But those fields are no longer used. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_context.c
|
deb6dd6b4df7324b4b240799029a80db65b89d96 |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
i965: Turn on ARB_depth_buffer_float by default. Everything about this that we have tests for works except for the deprecated metaops. The conclusion we came to on IRC sounded like we were OK with turning it on as long as core functionality works. The remaining failures (copypixels, drawpixels) should just be a matter of finishing the MapRenderbuffer for them. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
3786a3e644d0770e1247f24c6379388513728174 |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
swrast: Convert the glBlitFramebuffer(GL_NEAREST) path to MapRenderbuffer(). Fixes on i965: ARB_depth_buffer_float/fbo-depthstencil-GL_DEPTH32F_STENCIL8-blit ARB_depth_buffer_float/fbo-stencil-GL_DEPTH32F_STENCIL8-blit Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_blit.c
|
61ea677bdd062b27db98b05e3a31877f33137839 |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix packing of stencil bits to MESA_FORMAT_Z32_FLOAT_X24S8. We were converting our ubyte stencil value to a float. Just write it as a uint, which overwrites the X24 part of X24S8 with 0 but shouldn't matter. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_pack.c
|
38c6f1e6caf097c0aefc7a9b161e9da3d5235ea9 |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
swrast: Fix use of uninitialized value in rbmapping changes. I'm so surprised that gcc didn't catch this that I feel like I must be misreading. srcMap is what we initialize (along with dstMap) from this map value right after this check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_copypix.c
|
fb5252a3518dadd51e88e87382e6510998e9e2f4 |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
swrast: Use the fast copypixels code to implement fast glBlitFramebuffer(). They were meaning to do the same thing of memcpying rows, so just write the code once. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_blit.c
wrast/s_copypix.c
wrast/swrast.h
|
cedbfc0050af7391b6c8ed54abaa60898208f99d |
05-Jan-2012 |
Eric Anholt <eric@anholt.net> |
swrast: Move the check for fast_copy_pixels() ability to caller. I'm going to reuse this function from glBlitFramebuffer() handling, which wants to do the same thing. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_copypix.c
|
60982976ee14c271353b9545ca5ac085b97ab9b0 |
19-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add sensible disasm for the JMPI instruction. We care about the jump distance, not that the first src is always the ip register. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_disasm.c
|
cd2a24a4c2cf3aab8cbaf831d9712bc3c09cba66 |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Enable transform feedback as long as kernel support is present. The last major issue (intervening-read) is fixed, so let's turn this on for real. The only other known issue is a hardware limitation for tesselation with flat shading. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
6c0b70e7740b30ee46ae28f6b3b7fe7223621ebd |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix up the transform feedback buffer pointers on later batches. Fixes piglit EXT_transform_feedback/intervening-read Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_sol.c
rivers/dri/i965/gen7_sol_state.c
|
7f91c8bf2bf08afd297314c02a8869d8919f5f0e |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Flush the batch between transform feedbacks. We need the kernel to reset our pointers to 0 in between. Note that the initialization of function pointer had to move to after InitContext since we didn't have intel->gen set up yet. Fixes piglit EXT_transform_feedback/immediate-reuse Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen7_sol_state.c
|
c4089d444a1736dba0c3d9c389ac216ce8711da8 |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Use the updated interface for SO write pointer resetting. The new kernel patch I submitted makes the interface opt-in, so all batchbuffers aren't preceded by the 4 MI_LOAD_REGISTER_IMMs. This requires the updated i915_drm.h present in libdrm 2.4.30. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_sol_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.h
|
938490c3fe8ccce6ca96a4fcba89ffc1bcded873 |
02-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl_to_tgsi: Remove the obsolete remove_output_reads pass. This is now handled by the GLSL compiler, so this code is dead. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
10937e651222501c0e9f4f44e6b842c261e2edfb |
02-Jan-2012 |
Vincent Lejeune <vljn@ovi.com> |
glsl_to_tgsi: Use the GLSL compiler's new remove-output-reads pass. The existing glsl_to_tgsi::remove_output_read pass did not work properly when indirect addressing was involved; this commit replaces it with a lowering pass that occurs before TGSI code generation. Fixes varying-array related piglit tests. Signed-off-by: Vincent Lejeune <vljn@ovi.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
44c089bd485a00462aeac361736035dc56895441 |
05-Jan-2012 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Remove 'texelBytes' declarations that are only used in assertions. This patch silences these GCC warnings. warning: unused variable 'texelBytes' Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
4357f8b4dcaaef4843d4b34923383a2b045638b1 |
03-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Avoid segfault when getting an unbound transform feedback buffer name. Previously we were using gl_transform_feedback_object::Buffers[i]->Name to service an indexed get request for GL_TRANSFORM_FEEDBACK_BUFFER_BINDING. However, if no buffer has been bound, gl_transform_feedback_object::Buffers[i] is NULL, so this was causing a segfault. This patch switches to using gl_transform_feedback_object::BufferNames[i], which is equal to gl_transform_feedback_object::Buffers[i]->Name if gl_transform_feedback_object::Buffers[i] is not NULL, and 0 if it is NULL. Fixes piglit test "EXT_transform_feedback/get-buffer-state indexed_binding". Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
367b83f890f6f7922bc8f9aa528ab50f55674e9e |
27-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
gallium: Make use of gl_transform_feedback_info::ComponentOffset. Reviewed-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tate_tracker/st_glsl_to_tgsi.cpp
|
e8357cb03d354756d238e99101998b028db63f0f |
27-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Make use of gl_transform_feedback_info::ComponentOffset. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/gen7_sol_state.c
|
2169331d40e915d0d1065477a5c81d59f222a5c8 |
27-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add gl_transform_feedback_info::ComponentOffset. When using transform feedback, there are three circumstances in which it is useful for Mesa to instruct a driver to stream out just a portion of a varying slot (rather than the whole vec4): (a) When a varying is smaller than a vec4, Mesa needs to instruct the driver to stream out just the first one, two, or three components of the varying slot. (b) In the future, when we implement varying packing, some varyings will be offset within the vec4, so Mesa will have to instruct the driver to stream out an arbitrary contiguous subset of the components of the varying slot (e.g. .yzw or .yz). (c) On drivers that set gl_shader_compiler_options::LowerClipDistance, if the client requests that an element of gl_ClipDistance be streamed out using transform feedback, Mesa will have to instruct the driver to stream out a single component of one of the gl_ClipDistance varying slots. Previous to this patch, only (a) was possible, since gl_transform_feedback_info specified only the number of components of the varying slot to stream out. This patch adds gl_transform_feedback_info::ComponentOffset, which indicates which components should be streamed out. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
989b5722dc350b01c4148b1cd978b71ec4bcfe81 |
26-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix transform feedback of gl_ClipVertex. Previously, on i965 Gen6 and above, we weren't allocating space for gl_ClipVertex in the VUE, since the VS was automatically converting it to clip distances. This prevented transform feedback from being able to capture gl_ClipVertex. This patch goes aheads and allocates space for gl_ClipVertex in the VUE on Gen6 and above. The old behavior is retained on Gen5 and below, since (a) transform feedback is not yet supported on those platforms, and (b) those platforms don't currently support gl_ClipVertex anyhow. Note: this constitutes a slight waste of VUE space for shaders that use gl_ClipVertex and don't use transform feedback to capture it. However, that seems preferable to making the VUE map (and all of the state that depends on it) dependent on transform feedback settings. Fixes Piglit test "EXT_transform_feedback/builtin-varyings gl_ClipVertex". Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs.c
|
15f4bca2df47fed8af322217d62b35189f5ca4ab |
26-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix transform feedback of gl_PointSize. On i965 Gen6 and above, gl_PointSize is stored in component W of the first VUE slot (which corresponds to VERT_RESULT_PSIZ in the VUE map). Normally we store varying floats in component X of a VUE slot, so we need special case logic for gl_PointSize. For Gen6, we do this with a ".wwww" swizzle in the GS. For Gen7, we shift the component mask by 3 to select the W component. Fixes Piglit test "EXT_transform_feedback/builtin-varyings gl_PointSize". Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/gen7_sol_state.c
|
a44d715d2b19dc2f8f48b01144cc38e4e2c5015a |
05-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: use memmove() instead of memcpy() in the SHIFT_ARRAY macro The src/dst arrays would overlap but dst was less than src so a simple version of memcpy() would do the right thing. But this isn't guaranteed when memcpy() is optimized. Fixes demos/copypix when the dest region was clipped by the left side of the window. Reviewed-by: Adam Jackson <ajax@redhat.com>
wrast/s_span.c
|
59be691638200797583bce39a83f641d30d97492 |
02-Jan-2012 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: add support for gl_ClipDistance
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
214b87aa0469a12ea72d624cfaee0ca46179ec5f |
01-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: fix behavior of pipe_buffer_map_range To match what transfer_map returns. Really, subtracting the offset leads to bugs if someone expects it to work exactly like transfer_map. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_draw.c
|
501e2e3b6d64de9937d397b49ad3930d4bac3083 |
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the dead Varyings list in the program. Reviewed-by: Paul Berry <stereotype441@gmail.com>
ain/mtypes.h
ain/shaderobj.c
|
9d36c96d6ec9f2c05c8e0b9ef18c5462cddee8c1 |
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glGetTransformFeedbackVarying(). The current implementation was totally broken -- it was looking in an unpopulated structure for varyings, and trying to do so using the current list of varying names, not the list used at link time. v2: Fix leaking of memory into the program per re-link. Reviewed-by: Paul Berry <stereotype441@gmail.com>
ain/mtypes.h
ain/transformfeedback.c
|
6aed626c35db96c99106e2c12ef23dc58965ece0 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: only map src/dest regions in _mesa_copy_buffer_subdata() We were wastefully mapping the whole source/dest buffers before. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
ain/bufferobj.c
|
b330f1f13c4b491b3fd7083535b8942cb16a7589 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: print more info in buffer_object_subdata_range_good() error message
ain/bufferobj.c
|
a61e164ae09cc2aec5df483809a2c6d74e36bf99 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: 80-column wrapping
tate_tracker/st_cb_texture.c
|
f22ecaa14f4c1b7cbdf0a53d58628f619ea12e8e |
05-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Enable EXT_texture_integer by default Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-with-reservations-by: Eric Anholt <eric@anholt.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
0e52be58f05eaa5762b9a03ac860da4d9581cead |
05-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add missing GL_RG_INTEGER cases Adds two missing '|| srcFormat == GL_RG_INTEGER' in assertions and a bunch of missing pixel converions cases. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
a0a0a909f21acfcddaab603079ba98266e8daf0e |
05-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix infinite loop regression in intel_miptree_all_slices_resolve. Commit 0ed11e333147e280208d9d0b3ff3f39970547643 fixed a "use after free" bug by getting the next pointer before deleting the current node. Unfortunately, it also made "next" never get updated if i->need != need. Fixes infinite loops in piglit tests fbo-depth-array and fbo-depthtex. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
fbbbc8c04e2462a0ae272d81e61eee5f85f08aa6 |
03-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Use the proper dimensionality for the sampler result register. textureSize() returns an int, ivec2, or ivec3, but never an ivec4. Creating the destination register as an ivec4 triggered later failures, even though the register did hold the proper values. For example, piglit test vs-textureSize-compare calls textureSize on a 2D texture and compares the result to an expected value. Unfortunately, our generated code also tried to compare the third and fourth components which were undefined, and failed. Fixes piglit test vs-textureSize-compare as well as 19 subcases of oglconform's glsl-bif-tex-size test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44339 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
207cbc68dc43049c56c3af7a460ce07bd4284aa9 |
04-Jan-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing _NEW_TEXTURE dirty bit to brw_vs_prog state atom. Commit d45814c925dd6c479cfd383b9b59458fc4359cf7 totally added a data dependency on _NEW_TEXTURE, even including the comment, but didn't actually add the dirty bit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.c
|
86bb45ffc36280263ba99fdca0c341489ad99e7f |
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Additional error checks for transform feedback. From the EXT_transform_feedback spec: The error INVALID_OPERATION is also generated by BeginTransformFeedbackEXT if no binding points would be used, either because no program object is active or because the active program object has specified no varying variables to record. ... The error INVALID_VALUE is generated by BindBufferRangeEXT or BindBufferOffsetEXT if <offset> is not word-aligned. Fixes Piglit tests: - EXT_transform_feedback/api-errors no_prog_active - EXT_transform_feedback/api-errors interleaved_no_varyings - EXT_transform_feedback/api-errors separate_no_varyings - EXT_transform_feedback/api-errors bind_offset_offset_1 - EXT_transform_feedback/api-errors bind_offset_offset_2 - EXT_transform_feedback/api-errors bind_offset_offset_3 - EXT_transform_feedback/api-errors bind_offset_offset_5 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/transformfeedback.c
|
ebfad9f6a125738b9bfc5d5f7d09a8b57856674a |
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Check that all buffers are bound in BeginTransformFeedback. From the EXT_transform_feedback spec: The error INVALID_OPERATION is generated by BeginTransformFeedbackEXT if any transform feedback buffer object binding point used in transform feedback mode does not have a buffer object bound. This required adding a new NumBuffers field to the gl_transform_feedback_info struct, to keep track of how many transform feedback buffers are required by the current program. Fixes Piglit tests: - EXT_transform_feedback/api-errors interleaved_unbound - EXT_transform_feedback/api-errors separate_unbound_0_1 - EXT_transform_feedback/api-errors separate_unbound_0_2 - EXT_transform_feedback/api-errors separate_unbound_1_2 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/transformfeedback.c
|
1979e22e13dd28553bcc67cc51e56684e6ee4768 |
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix typos in transform feedback error messages. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/shaderapi.c
ain/transformfeedback.c
|
2a0c515b8960a3227c3e64c84a3014823da276a3 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_CompressedTexSubImage1D/2D/3D() Just use the core Mesa functions instead. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
29725470478ecc8efa9f74fd9f7bee33d34058df |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix indentation in st_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
5d67d4fbebb7c7d6582c4c92fc5cea4a8e6a60ab |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_TexImage(), use core Mesa code instead The core Mesa code does the equivalent memory allocation, image mapping, storing and unmapping. We just need to call prep_teximage() first to handle the 'surface_based' stuff. The other change is to always use the level=0 mipmap image when accessing individual mipmap level images that are stored in resources/buffers. Apparently, we were always using malloc'd memory for individual mipmap images, not resource buffers, before. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
19840c46f38b7bfe04bfaa925a6f56b3777be6ff |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: refactor gl_TexImage() code into prep_teximage() Preparation for st_TexImage() removal/refactoring. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
18f53efa01e6a706ca274929a7a3be9efe7e331f |
02-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Re-enable GL_OES_standard_derivatives on GEN4+ This extension only needs to be disabled on GEN3. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions_es.c
|
43f12e5eb8dbbe57344188ab7cacab8c7fe91da1 |
28-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Re-allow blitting glCopyBufferSubData() on gen >= 6. This was disabled a year ago due to not having a story for handling the blitter at the time. We're fine with using the blitter now. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
8aa7fa770c4ae7660b37ea9d8f496bd6e62d3df8 |
28-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix pitch handling for linear blits. The new assert in intelEmitCopyBlit() gets angry if we don't align to dwords. Rather than make the assert have a special case for height == 1 on the assumption that the hardware doesn't use it in that case, just supply a correct pitch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43214 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_blit.c
|
15e309cf84444a8f9ce7f7c86f0a0f391721bc50 |
28-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix bad read/write flags on self-copies for glCopyBufferSubData(). We didn't consume these flags in any way that would produce a functional difference, but we might have some day. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
3bc4959b14a81ac2b4153acbf63d863d108342cf |
04-Jan-2012 |
Adam Jackson <ajax@redhat.com> |
Remove xmesa_xf86.h This was a leftover from libGLcore. Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/x11/xmesa_xf86.h
|
892a2542a3f0753a7064c710b96f077dd5490624 |
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _mesa_init_teximage_fields() target parameter Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/swrast/swrast.c
ain/mipmap.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texstorage.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_manager.c
|
4535874c1a6da74d9130e494d514284302e4d08e |
23-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ff_fragment_shader: Don't generate swizzles for scalar combiner inputs There are a couple scenarios where the source could be zero and the operand could be either SRC_ALPHA or ONE_MINUS_SRC_ALPHA. For example, if the source was ZERO. This would result in something like (0).w, and a later call to ir_validate would get angry. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517
ain/ff_fragment_shader.cpp
|
0ed11e333147e280208d9d0b3ff3f39970547643 |
04-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
Fix read from pointer after free Coverity reported a read from pointer after free defect in src/mesa/drivers/dri/intel/intel_mipmap_tree.c. Bug# 44205 In intel_miptree_all_slices_resolve() function, i = i->next was executing after freeing i. I have defined a temporary variable (next) to store the value of i->next before freeing i Reported-by: Vinson Lee <vlee@vmware.com> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_mipmap_tree.c
|
7e291e922e53a70d84751538b15c6c16310cca7f |
03-Jan-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: use SINT/UINT formats for VertexAttribIPointer Reviewed-by: Dave Airlie <airlied@redhat.com> v2: added assertion that packed formats are not pure integer
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
|
d4bf5cefb0943a196c603360187493e270a66442 |
22-Dec-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
glsl_to_tgsi: v2 Invalidate and revalidate uniform backing storage If glUniform1i and friends are going to dump data directly in driver-allocated, the pointers have to be updated when the storage moves. This should fix the regressions seen with commit 7199096. I'm not sure if this is the only place that needs this treatment. I'm a little uncertain about the various functions in st_glsl_to_tgsi that modify the TGSI IR and try to propagate changes about that up to the gl_program. That seems sketchy to me. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> v2: Revalidate when shader_program is not NULL. Update the pointers for all _LinkedShaders. Init glsl_to_tgsi_visitor::shader_program to NULL in the get_pixel_transfer_visitor & get_bitmap_visitor. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
14aff23e1b4d52d5e10a3aeb65c3f4c783498a35 |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: include version.h in intel_screen.c to silence warning Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_screen.c
|
596d9f6dd170ec7a4c9ed94dd545b4b3d7c7c07d |
02-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
dri_util: Fix order of error and data parameters to dri2CreateContextAttribs Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/dri_util.c
|
e532b6288f01b63d8d8ba8c8dc08292967e65490 |
01-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri2: Add plumbing to get context version requirements and flags to drivers This adds support for DRI_DRI2 version 3 to all of the DRI2 drivers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.c
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/swrast/swrast.c
|
4c7898cb13528ede00c7524849de4aeac81a6ac3 |
01-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
st/mesa: Reject forward-looking contexts Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_manager.c
|
d9de33c304d875627937cacbfc21f54a406af726 |
01-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri_util: Mostly stub implementation of dri2CreateContextAttribs This adds the function and modifies dri2CreateNewContextForAPI to call it. At this point only version 2 of the DRI2 API is advertised to the loader. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/dri_util.c
|
fc7ac4da7dfb64aa192ef8cff44cb762beace4c1 |
02-Jan-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
glsl-to-tgsi: handle ir_unop_round_even
tate_tracker/st_glsl_to_tgsi.cpp
|
09497e020a11cc893d06691751faf57c1e762839 |
02-Jan-2012 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix handling of CONT and BRK in eliminate_dead_code_advanced()
tate_tracker/st_glsl_to_tgsi.cpp
|
7cbcce383c4aef1bd17850a4487805e30d84613a |
29-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
swrast: Remove dead code in _swrast_clear_depth_buffer() This code was generating the gcc warning: variable ‘clearValue’ set but not used [-Wunused-but-set-variable] Reviewed-by: Brian Paul <brianp@vmare.com>
wrast/s_depth.c
|
01a63f4bf5ab5e2e67982c6c60670dd2b4fe9fcb |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
radeon: move declarations before code
rivers/dri/radeon/radeon_debug.c
rivers/dri/radeon/radeon_tcl.c
|
5edc6fef4ca633a4e468d3afa82ce8bc641a2437 |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
radeon: add casts to silence warnings
rivers/dri/radeon/radeon_common.h
|
d9398382672c77937536f20547be4792e08069a3 |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
radeon: remove unused tex image function prototypes
rivers/dri/radeon/radeon_texture.h
|
d69d287068e0a6b5e2f3c13b1f55335a9b6ce03b |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions The were always zero. When doing a sub-texture replacement we account for the dstX/Y/Zoffsets when we map the texture image. So no need to pass them into the texstore code anymore. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/nouveau/nouveau_texture.c
ain/texcompress_fxt1.c
ain/texcompress_rgtc.c
ain/texcompress_s3tc.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
e833b98182ea7da142a57b385735be9e79776439 |
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: pass xoffset, yoffset = 0 to _mesa_texstore() Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_subimage.c
|
c82c24b18bb78d500db3c0481e10c58583fd3160 |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Silence gcc warning about uninitialized "inst" in assert() case.
rivers/dri/i965/brw_vec4_visitor.cpp
|
bf2c7469fba256e8d5fb3b5c6c130204550ec253 |
30-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Silence gcc warning from resizing EU store changes.
rivers/dri/i965/brw_eu_emit.c
|
b5fd0e04a70d37a1bef9144096890e7940f9a200 |
31-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
st_glsl_to_tgsi: translate interp mode for front/back color this fixes a bunch of interpolation tests on softpipe at least. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_program.c
|
99fbf7ce341c346631d11395c792a0589c5035dd |
31-Dec-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove stImage->base.Face/Level assignments in st_TexImage() This fixes a regresssion (broken cube maps) caused by the ctx->Driver.TexImage parameter simplification commit. The target var is always GL_TEXTURE_CUBE_MAP at this point so the Face field was always getting set to zero. These field assignments aren't needed anyway since core Mesa sets them.
tate_tracker/st_cb_texture.c
|
bec2ea8ef4aaf0704d3315561da106cd994b1bc6 |
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.GetCompressedTexImage() parameters Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dd.h
ain/texgetimage.c
ain/texgetimage.h
|
94a0c518dc90a24cb4c44ce0a5e6abeba57cbb08 |
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.CompressedTex[Sub]Image function parameters As with previous commits, the target, level and texObj info can be obtained through the texImage pointer. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
92c64624cd7533cde466dbec8722f7f72f275fd8 |
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.TexImage() parameters As with TexSubImage(), the target, level and texObj values can be obtained through the texImage pointer. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
ain/dd.h
ain/teximage.c
ain/texobj.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
|
da0cc82a093eb97212e989648da638a262ed3e84 |
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.TexSubImage() parameters There's no need to pass the target, level and texObj parameters since they can be easily obtained from the texImage pointer. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/nouveau/nouveau_texture.c
ain/dd.h
ain/mipmap.c
ain/teximage.c
ain/texstore.c
ain/texstore.h
|
c22a95c4f2db64c61cb25f37acc38254f30850f1 |
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove TexSubImage code, use core mesa routines instead. Since the move to Map/UnmapTextureImage, the core mesa routines are equivalent to what the state tracker was doing. The TexImage functions can be replaced too, but there's a few differences that will need to be handled.
tate_tracker/st_cb_texture.c
|
efa1fac2158c9146b87f0d4340a864661721de21 |
28-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
vbo: introduce vbo_sizeof_ib_type() function introduce vbo_sizeof_ib_type() function to return the index data type size. I see some place use switch(ib->type) to get the index data type, which is sort of duplicate. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
nl/t_draw.c
bo/vbo.h
bo/vbo_exec_array.c
|
747f0307626ef5bcf2f889ab66bcc95ab8eda2c8 |
27-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix memory leak in intel_miptree_create() On failure, intel_miptree_create() needs to *release* the miptree, not just free it, so that the stencil_mt gets released too. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
069901e2f5a8f4a58047d25335f2526f1acc7234 |
19-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Allow constant propagation into IF with embedded compare. This saves a couple of instructions on most programs with control flow. More interestingly, 6 shaders from unigine sanctuary now fit into 16-wide without register spilling.
rivers/dri/i965/brw_fs.cpp
|
6a1e19d0f63cb086e43505522cb72b0183da9b11 |
17-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the batchbuffer flush on glRenderbufferStorage(). There's nothing batchbuffer-related here. State updates by the caller will trigger re-emitting of any new hardware state.
rivers/dri/intel/intel_fbo.c
|
2529fde36ee29bf5789bb8a0234d3c60bd38f511 |
16-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the batchbuffer flush on glFramebufferRenderbuffer(). There should be nothing special about this call compared to other callers of intel_draw_buffer().
rivers/dri/intel/intel_fbo.c
|
b890f1090c6d640605d5c45cfcf71cef91d59865 |
16-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make the batchbuffer flush debug more useful. We were printing out the line triggering the flush, but a variety of different causes just printed the line number for intel_flush()'s call of intel_batchbuffer_flush(). Plumb the line numbers from the caller of intel_flush() on through.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
7f854a5028ef00a0e041e78a770456204dc58eef |
16-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix performance regression in Lightsmark since HiZ changes. Since the refactor in d7b33309fe160212f2eb73f471f3aedcb5d0b5c1, depth in the miptree changed from 1 to 6, so we always decided it didn't match, and we would relayout to something that would still not "match". Improves performance 23.8% (+/- 1.1%, n=4) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43329
rivers/dri/intel/intel_mipmap_tree.c
|
ab7794cada02f3b3b5e3a642c20eeedeb17b65a6 |
22-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Don't consider miptrees for other texture targets to match. We would have done a relayout at validate time, but it's senseless to store into a miptree if it's going to force relayout.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_validate.c
|
0ddb759991c1b39baf04cbe366328630bceeaca7 |
28-Dec-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Use __builtin_ffsll on Mac OS X. Fixes this GCC warning. arrayobj.c: In function '_mesa_update_array_object_max_element': arrayobj.c:310: warning: implicit declaration of function 'ffsll' Signed-off-by: Vinson Lee <vlee@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/imports.h
|
62e968d6dab2339a530ba1176b6a433d95db938a |
28-Dec-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Re-add main/bitset.h to fix classic nouveau build failure. bitset.h is still used by classic nouveau -- see `git grep '\<BITSET_'` -- and the state stored is too big to fit in 64bit integers (it requires approximately 87 bits), so there is no obvious alternative here. This effecively reverts commit 196800d79829a420073f762fac90090a7b416d2d.
rivers/dri/nouveau/nouveau_context.h
ain/bitset.h
|
196800d79829a420073f762fac90090a7b416d2d |
28-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove now unused main/bitset.h. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
rivers/dri/nouveau/nouveau_context.h
ain/bitset.h
|
1ef3a94536ab4d70f08e5e19d7ebae0bca126e61 |
27-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove remaining FEATURE_ARB_vertex_buffer_object guards. Since commit 82b9661894315362f857192439bdcbc9db090387 and 34eae1c72a9b3a8eb0634cda52fca0208cd2f40d vbo support is mandatory for all drivers. So, remove the remaining FEATURE_ARB_vertex_buffer_object guards. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/api_exec.c
ain/arrayobj.c
ain/context.c
ain/dlist.c
ain/mfeatures.h
ain/shared.c
|
ccbf192f597186f6a4a04ed14391dba82ffee18b |
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Convert to use GLbitfield64 directly. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
wrast_setup/ss_context.c
wrast_setup/ss_context.h
nl/t_context.c
nl/t_context.h
|
45cd15bfae2f6c66c9e4356fb8dd7cad1829f659 |
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
radeon: Convert to use GLbitfield64 directly. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_swtcl.c
|
19c46d3d7bd2dc190bb83855c4ffa65a3bc830d7 |
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
nouveau: Convert to use GLbitfield64 directly. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nv04_render.c
|
b49b1e46425b7ba475b9d78e418dd1fc177786d3 |
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
i915: Convert to use GLbitfield64 directly. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_vtbl.c
|
50e0091a9d70f9e6383ad322d4df7576bd7c38f7 |
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Convert RENDERINPUTS* macros to GLbitfield64. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
ain/mtypes.h
nl/t_context.h
|
07ee9f374f2946f852896e9264c7fa83eafc3f16 |
24-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Properly clear cur_value when propagating direct copies. Consider the following code: MOV A.x, B.x MOV B.x, C.x After the first line, cur_value[A][0] == B, indicating that A.x's current value came from register B. When processing the second line, we update cur_value[B][0] to C. However, for drect copies, we fail to reset cur_value[A][0] to NULL. This is necessary because the value of A is no longer the value of B. Fixes Counter-Strike: Source in Wine (where the menu rendered completely black in DX9 mode), completely white textures in Civilization V, and the new Piglit test glsl-vs-copy-propagation-1.shader_test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42032 Tested-by: Matt Turner <mattst88@gmail.com> Tested-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
443c8d1ab7ddad9392046e041e4e9a4fda7cd6e7 |
24-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Fix incorrect subscript when resetting copy propagation records. In this code, 'i' loops over the number of virtual GRFs, while 'j' loops over the number of vector components (0 <= j <= 3). It can't possibly be correct to see if bit 'i' is set in the destination writemask, as it will have values much larger than 3. Clearly this is supposed to be 'j'. Found by inspection. Tested-by: Matt Turner <mattst88@gmail.com> Tested-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
7420c9dab4aaf87e6b840410226c296c4668a48f |
22-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Create mock implementation of GL_OES_EGL_image_external In Android IceCreamSandwich, SurfaceFlinger requires GL_OES_image_external for basic compositing tasks. Without the extension, SurfaceFlinger fails to start. Despite the incompleteness of the extension's implementation introduced by this patch, it is good enough to enable SurfaceFlinger and to unblock the people who need to begin testing Mesa on IceCreamSandwich. To enable the extension, set the environment variable MESA_EXTENSION_OVERRIDE="+GL_OES_EGL_image_external". Ideally, Android should set this in init.rc. WARNING: This implementation of GL_OES_EGL_image_external is not complete. Some of it is even incorrect. When we begin to really implement GL_OES_EGL_image_external, much of the patch will need reverting. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_image.c
|
7e5ffd9be2da66c076e84ae4bc854cca5665620c |
22-Dec-2011 |
Chad Versace <chad.versace@linux.intel.com> |
meta: Disable GL_TEXTURE_EXTERNAL_OES in meta_begin() If the meta flag MESA_META_TEXTURE is present, then disable the texture target GL_TEXTURE_EXTERNAL_OES. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/common/meta.c
|
a3752fa63bf8b16524ef2840866445247044e07d |
27-Dec-2011 |
Alexander von Gluck <kallisti5@unixzen.com> |
mesa: fpclassify is available on Haiku Reviewed-by: Brian Paul <brianp@vmare.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/querymatrix.c
|
91d950bad1f1b94fb1751109ae8c139376f38156 |
01-Nov-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
vbo: Clean up recalculate_input_bindings. Now the gl_array_object's layout matches the one used in recalculate_input_bindings. Make use of this and remove the bind_array_obj function. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
bo/vbo_exec.h
bo/vbo_exec_array.c
|
98dffd9764195be2734579a2b4ae7637b62ea7d8 |
26-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: assert _swrast_map_teximage() x, y is multiple of block size
wrast/s_texture.c
|
08a81c8697cae18e118437936456aa36f82ceeed |
26-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: replace assertion with conditional in _swrast_map_teximage() Just in case we ran out of memory when trying to allocate the texture memory.
wrast/s_texture.c
|
62f2d6ef034559257e01235c3562d821bdade4f5 |
26-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned comparison warnings
ain/uniform_query.cpp
|
0a7602b938893e1b04a01ca8680376cbeec053ab |
26-Dec-2011 |
Brian Paul <brianp@vmware.com> |
vbo: signal _NEW_ARRAY when transitioning between glBegin/End, glDrawArrays This fixes a regression seen with the isosurf demo when switching between glBegin/End and glDrawArrays (do it several times). The problem was the driver wasn't getting _NEW_ARRAY when the arrays were subtly changed: (vertex3f, normal3f) vs. (normal3f, vertex3f). This patch fixes that by signaling _NEW_ARRAY whenever we transition between glBegin/End and glDrawArrays mode and display lists. The patch also fixes up the initialization of the map_vp_none[] array to stop putting strange values in the last five elements of the array. v2: remove DRAW_ELEMENTS, don't distinguish between glDrawArrays and glDrawElements v3: add DRAW_DISPLAY_LIST for the display list case, just to be safe. Reviewed-by: Mathias Froehlich <Mathias.Froehlich@web.de> Tested-by: Mathias Froehlich <Mathias.Froehlich@web.de>
bo/vbo_context.c
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_save_draw.c
|
31bf243a92454758fb4b8efc6bd8ccac99b67b6e |
26-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: remove leftovers from color indexed rendering. Remove gl_light::_dli and gl_light::_sli. Both are only used for a value previously used in color indexed rendering. Also both variables are only used and never written. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/mtypes.h
nl/t_rasterpos.c
|
5584a8eb196b2fc71c34e7a3becb5bc7a06ecd7c |
26-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: remove unused _mesa_copy_materials. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
ain/light.c
ain/light.h
|
3aa3c3f75894ca0eb08087c0ec3dd114eeae4bb7 |
21-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: increase the brw eu instruction store size dynamically Here is the final patch to enable dynamic eu instruction store size: increase the brw eu instruction store size dynamically instead of just allocating it statically with a constant limit. This would fix something that 'GL_MAX_PROGRAM_INSTRUCTIONS_ARB was 16384 while the driver would limit it to 10000'. v2: comments from ken, do not hardcode the eu limit to (1024 * 1024) Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
8d1b378939768c4054b35b5da592af102345ebed |
21-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: call next_insn() before referencing a instruction by index A single next_insn may change the base address of instruction store memory(p->store), so call it first before referencing the instruction store pointer from an index. This the final prepare work to enable the dynamic store size. v2: comments from Ken, define emit_endif as bool type Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
328e6a5497e54b0e8aed803cf6d2ae9a2a00b2fe |
21-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: get the jmp distance by instruction index If dynamic instruction store size is enabled, while after the brw_JMPI() and before the brw_land_fwd_jump() function, the eu instruction store base address(p->store) may change. Thus, the safe way to reference the jmp instruction is by index instead of by the instruction address. v2: comments from Eric, don't change the prototype of brw_JMPI Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_wm_emit.c
|
0a17093eaf84696b05d04a45d6d51281f7b2786b |
21-Dec-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: let the if_stack just store the instruction index If dynamic instruction store size is enabled, while after the brw_IF/ELSE() and before the brw_ENDIF() function, the eu instruction store base address(p->store) may change. Thus let if_stack just store the instruction index. This is somehow more flexible and safe than store the instruction memory address. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
1b9577b833db28651e89e5c12559c7af5dde8822 |
17-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_ATTRIBS It's the same as PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
ec9b154b8c40b768aa1883a05f6bb5d76c3528bb |
25-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use a cast wrapper function to get st_transform_feedback_object
tate_tracker/st_cb_xformfb.c
|
719129882929e19883b10e88d930dfe20f575ba1 |
17-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: DrawTFB should use the vertex count from the last call of EndTFB From ARB_transform_feedback2: ... the vertex count used for the rendering operation is set by the previous EndTransformFeedback command.
tate_tracker/st_cb_xformfb.c
|
e6e9becd5016df649d3c19a3e81e85bd63b895b7 |
23-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Fix incorrect order of dwords in gen6_update_sol_indices() When updating SOL indices, we were accidentally putting the starting index in dword 1 and the SVBI number to increment in dword 2--these should be reversed. Usually both of these values are zero, so we didn't see any problem. However, if a transform feedback operation spans multiple batch buffers, the starting index will be nonzero. Fixes piglit test "EXT_transform_feedback/intervening-read output". Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sol.c
|
b31f62c9074cb88fbb2e0b327e053778dea5b83f |
23-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Fix transform feedback of triangle strips. When rendering triangle strips, vertices come down the pipeline in the order specified, even though this causes alternate triangles to have reversed winding order. For example, if the vertices are ABCDE, then the GS is invoked on triangles ABC, BCD, and CDE, even though this means that triangle BCD is in the reverse of the normal winding order. The hardware automatically flags the triangles with reversed winding order as _3DPRIM_TRISTRIP_REVERSE, so that face culling and two-sided coloring can be adjusted to account for the reversed order. In order to ensure that winding order is correct when streaming vertices out to a transform feedback buffer, we need to alter the ordering of BCD to BDC when the first provoking vertex convention is in use, and to CBD when the last provoking vertex convention is in use. To do this, we precompute an array of indices indicating where each vertex will be placed in the transform feedback buffer; normally this is SVBI[0] + (0, 1, 2), indicating that vertex order should be preserved. When the primitive type is _3DPRIM_TRISTRIP_REVERSE, we change this order to either SVBI[0] + (0, 2, 1) or SVBI[0] + (1, 0, 2), depending on the provoking vertex convention. Fixes piglit tests "EXT_transform_feedback/tessellation triangle_strip" on Gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
5c818c6277247468ccf69abda00f5bc220b59644 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate texstore functions The code for storing 1D, 2D and 3D tex images (whole or sub-images) was all pretty similar. This consolidates those six paths. v2: rework switch statement to catch unexpected targets Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texstore.c
|
afebe13986e1ab69c8f80e957653b35aaee2269b |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_store_texsubimage2d() for GL_TEXTURE_1D_ARRAY For 1D arrays, map each slice separately. Note that this was handled correctly in _mesa_store_teximage2d() but not here. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texstore.c
|
9b26aa4c7af189b480b620926eed9560c8e63656 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comment for MapTextureImage()
ain/dd.h
|
c60ac7b17993d28af65b04f9bbbf3ee74c35358c |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite glDrawPixels(GL_DEPTH) with zoom This gets rid of another renderbuffer->PutRow() call and _DepthBuffer usage. We always work with 32-bit uint Z values now. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_drawpix.c
wrast/s_zoom.c
wrast/s_zoom.h
|
bf0c0ccbc9424fc73cb17ffb9c9b5feda7d33474 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: stop using _DepthBuffer in triangle code The only consequence is we can only use the occlusion_zless_16_triangle() function with MESA_FORMAT_Z16.
wrast/s_triangle.c
|
7a7b521ff255f5511b6f42becf603c6893f8a51e |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::PutRowRGB() No longer used anywhere. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/common/depthtmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/stenciltmp.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_span.c
ain/mtypes.h
ain/renderbuffer.c
wrast/s_depthstencil.c
wrast/s_renderbuffer.c
wrast/s_spantemp.h
wrast/s_texrender.c
|
6e7bc795784f13068e00c478b94740c8b27789e6 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: stop using PutRowRGB() in triangle code Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_triangle.c
|
743c664c8c13a7d20beb17290316cd178681482e |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: refactor/rewrite fast_draw_rgba_pixels() Use Map/UnmapRenderbuffer() for the special, optimized cases we care about. Note that we're dropping some seldom-used cases in the new fast-path code: as CI->RGB conversion and zooming. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_drawpix.c
|
e66858fb67477db22139fe38d4f23530b7a142a7 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: move swrast_render_start/finish() call in drawpixels code We don't want to call these functions where we'll be using Map/UnmapRenderbuffer(). So push them further down in the drawpixels cases so that we can switch over to Map/UnmapRenderbuffer() step by step. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_drawpix.c
|
d9d0d4198f9c76774649b8cad3f10352fd7b5ea5 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: new fast_draw_depth_stencil() for glDrawPixels(GL_DEPTH_STENCIL) Stop using deprecated renderbuffer PutRow() function. Note that we aren't using Map/UnmapRenderbuffer() yet because this call is inside a swrast_render_start/finish() pair. v2: use _mesa_pack_uint_24_8_depth_stencil_row(), per Eric.
wrast/s_drawpix.c
|
826f36b1d8ae3881e6095d905fd10a7070742098 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove the copy_depth_stencil_pixels() function Hopefully glCopyPixels(GL_DEPTH_STENCIL) will be handled by the fast copy function. Otherwise, just do the copy with separate depth + stencil copies. That's effectively what the removed code did anyway. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_copypix.c
|
e6c6b1c147f5079a1608234294e2b6cd29dd2a64 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: stop using depth/stencil wrappers in CopyPixels code The functions that read depth/stencil values understand all (packed) depth/stencil buffer formats now so there's no reason to use the wrappers. Also, improve the format checks in fast_copy_pixels() to catch mismatched depth/stencil cases. v2: fix the test for combined depth+stencil buffers, per Eric.
wrast/s_copypix.c
|
bd31fb346398ca350a5e251a5d104ee1c8b33454 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove needless assignment in draw_depth_stencil_pixels() Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_drawpix.c
|
7cf2d75d4f5397629a058b9ea9b20df688b79e5c |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swast: replace renderbuffer->GetPointer() with _swrast_pixel_address() Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_linetemp.h
wrast/s_triangle.c
wrast/s_tritemp.h
|
242fd9df3b2266402b3f6b20447798fb3bf57d53 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: use _swrast_pixel_address() helper function Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_context.h
wrast/s_depth.c
wrast/s_stencil.c
|
d00d39a016893979d9b4ca61f6eaa570ccafb0b5 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite stencil test code Stop using the deprecated renderbuffer Get/Put Row/Values functions. Consolidate code paths, etc. The file is nearly half the size it used to be! Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_stencil.c
|
8b913bda3ad20ec2c8353859d75a3d938801d86f |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove dead code in s_stencil.c Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_stencil.c
|
70df474941fa5bd45386370240427944784b7729 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite _swrast_read_stencil_span() Use format pack/unpack functions instead of deprecated renderbuffer GetRow/PutRow functions. v2: use get_stencil_address(), s/destVals/newVals/ Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_stencil.c
|
4d6b0927ab6533f0384f463e2ccfc3eb5f80ecf9 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite _swrast_read_depth_span_float() Stop using the deprecated renderbuffer GetRow() function. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depth.c
|
82f28c0a12cf04e4fd3c4cfc4658919943fca825 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rewrite _swrast_depth_bounds_test() Stop using the deprecated renderbuffer functions. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depth.c
|
29a9983969f43df5f75483c8196df1963d89cb97 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite depth-testing code Consolidate code, stop using the deprecateted renderbuffer Put/Get Row/Values() functions. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depth.c
|
8e7c388b319f5631299cdc43af2f108ce424bb39 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: stop using _swrast_get_values() in z/depth code Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depth.c
|
e23e8cbf3965b721f475e489bcb381b1a5d91c0f |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: stop using _swrast_get_values() in stencil code That function will go a way in the future. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_stencil.c
|
89fb81d521bdcd341a88d2bf54ae3d79ad232cca |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: do fast_copy_pixels() with Map/UnmapRenderbuffer() v2: use memmove() instead of memcpy() in case of overlap Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_copypix.c
|
95970677b92bef1b24cc83ecfe1759b35426d3d2 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: replace GetRow() call with _mesa_unpack_ubyte_stencil_row() Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_stencil.c
|
fc41473b9f7d1171a2921a825807889b8fcbcaaf |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues() The former was only used for clearing buffers. The later wasn't used anywhere! Remove them and all implementations of those functions. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/common/depthtmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/stenciltmp.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_span.c
ain/mtypes.h
ain/renderbuffer.c
wrast/s_depthstencil.c
wrast/s_renderbuffer.c
wrast/s_spantemp.h
wrast/s_texrender.c
|
c4b5f0cadb18bad22b4c28424723a09832209c6f |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: rewrite color buffer clearing to use Map/UnmapRenderbuffer() v2: use _mesa_pack_colormask() helper and fix incorrect masking arithmetic Reviewed-by: José Fonseca <jfonseca@vmware.com>
wrast/s_clear.c
|
f1a2aa5cb338766d7a612b2c82c7ec588ed23d0b |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_pack_colormask() For generating bit-wise colormasks for arbitrary pixel formats. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/format_pack.c
ain/format_pack.h
|
488d7fc67d36bc0e5247f5d011e8ad4c2dceb5a7 |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_get_format_max_bits() Returns max bits per channel for the given format. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/formats.c
ain/formats.h
|
fd104a84591ae854c5d6adc81e2dc31ef6ab9e8a |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: do depth/stencil clearing with Map/UnmapRenderbuffer() Another step toward getting rid of the renderbuffer PutRow/etc functions. v2: fix assorted depth/stencil clear bugs found by Eric Reviewed-by: José Fonseca <jfonseca@vmware.com>
wrast/s_clear.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_stencil.c
wrast/s_stencil.h
|
fb758aab27268593fa6e186d746e8f72831b214d |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: split get_tex_rgba() into compressed/uncompressed versions This just splits one big function into two smaller ones for better readability. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/texgetimage.c
|
5e6a6e49e99201abc2d6196001b457296b57427d |
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments in getteximage_error_check()
ain/texgetimage.c
|
26195c8417e710e919352ec6b4dfff83fdc178e2 |
24-Dec-2011 |
Jian Zhao <jian.j.zhao@intel.com> |
mesa: move the format and type check before select_tex_image() Move the format and type check before select_tex_image, or it will fail to report the mismatch error if the teximage is null. Reported-by: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Jian Zhao <jian.j.zhao@intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
e71375d375e2cc0d0a06fec6e7adbd1dd3a6a2fc |
23-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fix feedback for flat-shaded tristrips versus provoking vertex. Fixes piglit tesselation triangle_strip flat_last. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen7_sol_state.c
|
c8223d8c8d267f6d5648e1d44886a0c05f9d79fc |
11-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Add support for transform feedback. Fixes almost all of the transform feedback piglit tests. Remaining are a few tests related to tesselation for quads/trifans/tristrips/polygons with flat shading. v2: Incorporate Paul's feedback (squash with previous, state flag note, static assert, update FINISHME) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen7_sol_state.c
|
8f0baace9854c5a476e348f31a7c45d6366e7532 |
10-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Move SOL stage disable to gen7_sol_state.c We'll be growing more code in here as we actually enable the unit. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_disable.c
rivers/dri/i965/gen7_sol_state.c
|
e1425a54b119363bf038ec2e1636986980bba77d |
07-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Add register definitions for GL_EXT_transform_feedback. v2: Make the buffer enable bitfield take an index argument. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_defines.h
rivers/dri/intel/intel_reg.h
|
43e0d775973446e84621fdb56af85f0027ed579c |
22-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Make primitives_written counting work. The code was relying on gs.prog_data's copy of the number-of-verts-per-prim, which segfaulted on gen7 since it doesn't make a GS program. We can easily calculate that value right here. v2: Fix svbi_0_starting_index regression. Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_draw.c
|
bf2a93db4dfaae0d03a2d6e08c907f6c1c0071ca |
30-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Enable EXT_transform_feedback extension under 3.0 override. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/intel/intel_extensions.c
|
f2f14bc4a9a408b1d7cb2b04e8049f951ffb431e |
22-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 Gen6+: Invalidate VF address-based cache on flush Although there is not much documentation of this fact, there are in fact two separate VF caches: - an "index-based" cache (described in the Sandy Bridge PRM, vol 2 part 1, section 2.1.2 "Vertex Cache"). This cache stores URB handles of vertex shader outputs; its purpose is to avoid redundant invocations of the vertex shader when drawing in random access mode (e.g. glDrawElements()), and the same vertex index is specified multiple times. It is automatically invalidated between 3D_PRIMITIVE commands and between instances within a single 3D_PRIMITIVE command. - an "address-based" cache (mentioned briefly in vol 2 part 1, section 1.7.4 "PIPE_CONTROL Command"). This cache stores the data read from vertex buffers; its purpose is to avoid redundant memory accesses when doing instanced drawing or when multiple 3D_PRIMITIVE commands access the same vertex data. It needs to be manually invalidated whenever new data is written to a buffer that is used for vertex data. Previous to this patch, it was not necessary for Mesa to explicitly invalidate the address-based cache, because there were no reasonable use cases in which the GPU would write to a vertex data buffer during a batch, and inter-batch flushing was taken care of by the kernel. However, with transform feedback, there is now a reasonable use case: vertex data is written to a buffer using transform feedback, and then that data is immediately re-used as vertex input in the next drawing operation. To make this use case work, we need to flush the address-based VF cache between transform feedback and the next draw operation. Since we are already calling intel_batchbuffer_emit_mi_flush() when transform feedback completes, and intel_batchbuffer_emit_mi_flush() is intended to invalidate all caches, it seems reasonable to add VF cache invalidation to this function. As with commit 63cf7fad13fc9cfdd2ae7b031426f79107000300 (i965: Flush pipeline on EndTransformFeedback), this is not an ideal solution. It would be preferable to only invalidate the VF cache if the next draw call was about to consume data generated by a previous draw call in the same batch. However, since we don't have the necessary dependency tracking infrastructure to figure that out right now, we have to overzealously invalidate the cache. Fixes Piglit test "EXT_transform_feedback/immediate-reuse". Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_batchbuffer.c
|
e25c4d09262e4aad7260d3b3b0eb6486755e4eea |
22-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Resend binding table pointer after updating SOL bindings. After creating new binding table entries for transform feedback, we need to set the dirty flag BRW_NEW_SURFACES, so that a new binding table pointer will be sent to the hardware. Otherwise the new binding table entries will not take effect. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sol.c
|
9cfa8a74ce484d5305b6581608b66b1cc53bc88b |
22-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Rename BRW_NEW_WM_SURFACES to BRW_NEW_SURFACES. The surface states tracked by BRW_NEW_WM_SURFACES are no longer used for just WM. They are also used for vertex texturing and transform feedback. To avoid confusion, this patch renames BRW_NEW_WM_SURFACES to BRW_NEW_SURFACES. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
9df8662e28ff6b60e5296dc4583372e0771a3263 |
21-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't use BRW_DEPTHFORMAT_D24_UNORM_X8_UINT on Gen4. X8 depth formats weren't supported until Ironlake (Gen 5). Fixes GPU hangs introduced in d84a180417d1eabd680554970f1eaaa93abcd41e. One example test case was "fbo-missing-attachment-blit from". Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
cb045880b113b0042d8dfb7e4cdf76e6cc76c1d1 |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Pause transform feedback during meta ops. Fixes piglit tests "EXT_transform_feedback/generatemipmap buffer" and "EXT_transform_feedback/generatemipmap prims_written" on i965 Gen6. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
772d4fef42d79c5efb3a7eb255ff0e1fdb88ada3 |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Implement transform feedback pause/resume functionality. Although i965 gen6 does not yet support ARB_transform_feedback2 or NV_transform_feedback2, it needs to support pause/resume functionality so that meta-ops will work correctly. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/gen6_sol.c
|
87c7e5fb876bf280d8693ef3b0f4351b1d2eec3b |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Disable certain error checks when transform feedback is paused When transform feedback is paused, it is legal to change programs or to perform drawing operations using a drawing mode that doesn't match the transform feedback mode. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
ain/transformfeedback.c
|
08ce48733d9441e1daa779027dbea1ce9964cc77 |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Ensure that Paused is reset to false on EndTransformFeedback. If a client calls BeginTransformFeedback(), then PauseTransformFeedback(), then EndTransformFeedback(), we need to make sure that the transform feedback object is not left in a "paused" state, otherwise the next call to BeginTransformFeedback() will leave transform feedback paused. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/transformfeedback.c
|
a3a4d01e415404e1bab76d440466952f4ab6171b |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Save and restore GL_RASTERIZER_DISCARD state during meta ops. During meta-operations (such as _mesa_meta_GenerateMipmap()), we need to be able to draw even if GL_RASTERIZER_DISCARD is enabled. This patch causes _mesa_meta_begin() to save the state of GL_RASTERIZER_DISCARD and disable it (so that drawing can be done during the meta-op), and causes _mesa_meta_end() to restore it. Fixes piglit test "EXT_transform_feedback/generatemipmap discard" on i965 Gen6. Reviewed-by: Brian Paul <brianp@vmare.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
|
b5b2081d75105883c3e7452775c674716b665385 |
01-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri2: Add createContextAttribs entry point for DRISW version 3 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/drisw_util.c
|
1ab545494a6750527cb8b945c286f23a6524826a |
30-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri2: Add createContextAttribs entry point for DRI2 version 3 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/dri_util.c
|
d18152028e1825c05c7de33acacee3336350a096 |
14-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
st-api: Have context_create explain why creation failed This won't be used in the client-side libGL, but the xserver has to generate a different protocol error depending on the reason context creation failed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chia-I Wu <olv@lunarg.com>
tate_tracker/st_manager.c
|
d61d39922b06c234790d055761407eaf4333ccde |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
format_unpack: add 8/16 rgba/rgb types. fixing these makes piglit fbo-integer pass on softpipe. modified to re-order things, haven't addressed Eric's concerns, can't find anything in spec that mentions sign extensions, it does say integers aren't clamped or modified. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/format_unpack.c
|
f1d89638c02afafbf82ef657cd6ba9965dad6738 |
06-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't make consumers of brw_CONT/brw_WHILE track if depth in loop. The codegen backends all had this same tracking, so just do it at the EU level. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs_emit.c
|
ce6be334bbf7f44c71ad5d190f9fb075d2f9a38c |
06-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't make consumers of brw_WHILE do pre-gen6 BREAK/CONT patching. The EU code itself can just do this work, since all the consumers were duplicating it. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs_emit.c
|
32118cfe37495738ed5931c6b1a71b8ee2ad189c |
06-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't make consumers of brw_DO()/brw_WHILE() track loop start. This is a similar cleanup to what we did for brw_IF(), brw_ELSE(), brw_ENDIF() handling. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs_emit.c
|
9f8814752f306cb9a26d283f0b7cf876639e10f7 |
06-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop unused do_insn argument from gen6_CONT(). The branch distances get patched up later at the WHILE instruction. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs_emit.c
|
d44878e754e65550c0725feb76fe0cbab0ae5d93 |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add _NEW_RASTERIZER_DISCARD as synonym for _NEW_TRANSFORM. This makes it easier to keep track of which dirty bits correspond to which pieces of context, since it makes _NEW_RASTERIZER_DISCARD correspond with ctx->RasterDiscard. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/i965/brw_gs.c
ain/enable.c
ain/mtypes.h
tate_tracker/st_atom_rasterizer.c
|
aee96806f049c17384a8edc11acce76257d98a57 |
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Move RasterDiscard to toplevel of gl_context. Previously we were storing the RasterDiscard flag (for GL_RASTERIZER_DISCARD) in gl_context::TransformFeedback. This was confusing, because we use the _NEW_TRANSFORM flag (not _NEW_TRANSFORM_FEEDBACK) to track state updates to it, and because rasterizer discard has effects even when transform feedback is not in use. This patch makes RasterDiscard a toplevel element in gl_context rather than a subfield of gl_context::TransformFeedback. Note: We can't put RasterDiscard inside gl_context::Transform, since all items inside gl_context::Transform need to be pieces of state that are saved and restored using PushAttrib and PopAttrib. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/i965/brw_gs.c
ain/accum.c
ain/clear.c
ain/drawpix.c
ain/enable.c
ain/get.c
ain/mtypes.h
tate_tracker/st_atom_rasterizer.c
|
3a2e71874b630fe5d7ec36bbbd69a6dacab7cd15 |
20-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Turn on transform feedback extension unconditionally. Previously, we only enabled transform feedback when MESA_GL_VERSION_OVERRIDE was 3.0 or greater, since transform feedback support was not completely finished, so it didn't make sense to advertise support for it unless absolutely necessary. Now that transform feedback is fully implemented on gen6, we can enable this extension unconditionally. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
c59393b7069f59ca2a13bfb6500f2a5360c38031 |
15-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Implement transform feedback queries. This patch adds software-based PRIMITIVES_GENERATED and TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries that work by keeping track of the number of primitives that are sent down the pipeline, and adjusting as necessary to account for the way each primitive type is tessellated. In the long run we'll want to replace this with a hardware-based implementation, because the software approach won't work with geometry shaders or primitive restart. However, at the moment, we don't have the necessary kernel support to implement a hardware-based query (we would need the kernel to save GPU registers when context switching, so that drawing performed by another process doesn't get counted). Fixes Piglit tests EXT_transform_feedback/query-primitives_generated-* and EXT_transform_feedback/query-primitives-written-*. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_queryobj.c
|
c5e17a84983d7799fd842a62daaece3d97a670be |
19-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Convert if/else to switch statements in brw_queryobj.c Previously, i965 only supported two query types: GL_TIME_ELAPSED_EXT and GL_SAMPLES_PASSED_ARB, and it distinguished between the two using if/else statements that compared query->Base.Target to GL_TIME_ELAPSED_EXT. This patch changes the if/else statements to switch statements so that we can add more query types without having to have a chain of else-ifs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_queryobj.c
|
f8328c998b4d68c62ba939165390c2c22c5b5740 |
19-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Ensure correct transform feedback indices on new batch. We don't currently have kernel support for saving GPU registers on a context switch, so if multiple processes are performing transform feedback at the same time, their SVBI registers will interfere with each other. To avoid this situation, we keep a software shadow of the state of the SVBI 0 register (which is the only register we use), and re-upload it on every new batch. The function that updates the shadow state of SVBI 0 is called brw_update_primitive_count, since it will also be used to update the counters for the PRIMITIVES_GENERATED and TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_sol.c
|
163611d7b21670de6074c09d37bdf93bad494036 |
19-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add a function to query whether a meta-op is in progress. This is needed by i965 to ensure that transform feedback counters are not incremented during meta-ops. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/meta.c
rivers/common/meta.h
|
dc7b6d7d6defdfe4f79fb682d3378a3bed8b5db9 |
19-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add count_tessellated_primitives() function. This function computes the number of primitives that will be generated when the given drawing operation is performed. It accounts for the tessellation that is performed on line strips, line loops, triangle strips, triangle fans, quads, quad strips, and polygons, so it is suitable for implementing the primitive counters needed by transform feedback. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
bo/vbo.h
bo/vbo_exec.c
|
291ae4e6396872679fef72ed4fdd46fb7f945c3d |
16-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Remove unnecessary FLUSH_VERTICES in bind_buffer_range It isn't necessary to call FLUSH_VERTICES from bind_buffer_range, because transform feedback buffers are not allowed to be changed when transform feedback is active. Thanks to Marek Olšák for pointing out this bug. Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/transformfeedback.c
|
7d2ff0bf0b7422c34676c2f47dbe754f57edb51e |
14-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Implement rasterizer discard. This patch enables rasterizer discard functionality (a part of transform feedback) in Gen6, by generating an alternate GS program when rasterizer discard is active. Instead of forwarding vertices down the pipeline, the alternate GS program uses a URB Write message to deallocate the URB entry that was allocated by FF sync and terminate the thread. Note: parts of the Sandy Bridge PRM seem to imply that we could do this more efficiently, by clearing the GEN6_GS_RENDERING_ENABLE bit, and not allocating a URB entry at all. However, it's not clear how we are supposed to terminate the thread if we do that. Volume 2 part 1, section 4.5.4, says "GS threads must terminate by sending a URB_WRITE message with the EOT and Complete bits set.", and my experiments so far confirm that. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
21504b462acda4977c5fdfffc192e73273b8fb26 |
14-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement bounds checking for transform feedback output. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/gen6_sol.c
|
63cf7fad13fc9cfdd2ae7b031426f79107000300 |
10-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Flush pipeline on EndTransformFeedback. A common use case for transform feedback is to perform one draw operation that writes transform feedback output to a buffer, followed by a second draw operation that consumes that buffer as vertex input. Since vertex input is consumed at an earlier pipeline stage than writing transform feedback output, we need to flush the pipeline to ensure that the transform feedback output is completely written before the data is consumed. In an ideal world, we would do some dependency tracking, so that we would only flush the pipeline if the next draw call was about to consume data generated by a previous draw call in the same batch. However, since we don't have that sort of dependency tracking infrastructure right now, we just unconditionally flush the buffer every time glEndTransformFeedback() is called. This will cause a performance hit compared to the ideal case (since we will sometimes flush the pipeline unnecessarily), but fortunately the performance hit will be confined to circumstances where transform feedback is in use. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_sol.c
|
c3161b629f342b21756f4fdb4414417b82d3e033 |
10-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6+: Make intel_batchbuffer_emit_mi_flush() actually flush. Previous to this patch, the function intel_batchbuffer_emit_mi_flush() was a bit of a misnomer. On Gen4+, when not using the blit engine, it didn't actually flush the pipeline--it simply generated a PIPE_CONTROL command with the necessary bits set to flush GPU caches. This was usually sufficient, since in most situations where intel_batchbuffer_emit_mi_flush() was called, all we really care about was ensuring cache coherency. However, with the advent of OpenGL 3.0, there are two cases in which data output by one stage of the pipeline might be consumed, in a later draw operation, by an earlier stage of the pipeline: (a) When using textures in the vertex shader. (b) When using drawing with a vertex buffer that was previously generated using transform feedback. This patch addresses case (a) by changing intel_batchbuffer_emit_mi_flush() so that on Gen6+, it sets the PIPE_CONTROL_CS_STALL bit (this forces the pipeline to actually flush). (Case (b) will be addressed by the next patch in the series). This is not an ideal solution--in a perfect world, the driver would have some buffer dependency tracking so that we would only have to flush the pipeline in the two cases above. Until that dependency tracking is implemented, however, it seems prudent to have intel_batchbuffer_emit_mi_flush() actually flush the pipeline, so that we get correct rendering, at the expense of a (hopefully small) performance hit. The change is only applied to Gen6+, since at the moment only Gen6+ supports the OpenGL 3.0 features that make a full pipeline flush necessary. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_batchbuffer.c
|
6ca61441b5cea8a2996c1adb4cc300a3c2be3ec9 |
13-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Turn on transform feedback extension. This patch advertises support for EXT_transform_feedback on Intel Gen6. Since transform feedback support is not completely finished yet, for now we only advertise support for it when MESA_GL_VERSION_OVERRIDE is 3.0 or greater (since transform feedback is required by GL version 3.0). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
9308f298300beaa757194a0db8ed50924754c011 |
28-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Initial implementation of transform feedback. This patch adds basic transform feedback capability for Gen6 hardware. This consists of several related pieces of functionality: (1) In gen6_sol.c, we set up binding table entries for use by transform feedback. We use one binding table entry per transform feedback varying (this allows us to avoid doing pointer arithmetic in the shader, since we can set up the binding table entries with the appropriate offsets and surface pitches to place each varying at the correct address). (2) In brw_context.c, we advertise the hardware capabilities, which are as follows: MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 64 MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 4 MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 16 OpenGL 3.0 requires these values to be at least 64, 4, and 4, respectively. The reason we advertise a larger value than required for MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS is that we have already set aside 64 binding table entries, so we might as well make them all available in both separate attribs and interleaved modes. (3) We set aside a single SVBI ("streamed vertex buffer index") for use by transform feedback. The hardware supports four independent SVBI's, but we only need one, since vertices are added to all transform feedback buffers at the same rate. Note: at the moment this index is reset to 0 only when the driver is initialized. It needs to be reset to 0 whenever BeginTransformFeedback() is called, and otherwise preserved. (4) In brw_gs_emit.c and brw_gs.c, we modify the geometry shader program to output transform feedback data as a side effect. (5) In gen6_gs_state.c, we configure the geometry shader stage to handle the SVBI pointer correctly. Note: ordering of vertices is not yet correct for triangle strips (alternate triangles are improperly oriented). This will be addressed in a future patch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_sol.c
|
1413f955ebe213037a9d893e0b7391cac4ba3a57 |
07-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gs: Move vue_map to brw_gs_compile. This patch stores the geometry shader VUE map from a local variable in compile_gs_prog() to a field in the brw_gs_compile struct, so that it will be available while compiling the geometry shader. This is necessary in order to support transform feedback on Gen6, because the Gen6 geometry shader code that supports transform feedback needs to be able to inspect the VUE map in order to find the correct vertex data to output. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
|
fd5d0c8b12a0e144aa8e95540c0da2161d8e089a |
05-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6+: Use 1-wide null operands for IF instructions The Sandy Bridge PRM, volume 4, part 2, section 5.3.10 ("5.3.10 Register Region Restrictions") contains the following restriction on the execution size and operand width of instructions: "3. ExecSize must be equal to or greater than Width." When emitting an IF instruction in single program flow mode on Gen6+, we use an ExecSize of 1, therefore the Width of each operand must also be 1. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
|
38b118d49ddbc8bd5d96cc0d23d681887fca045e |
08-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix off-by-one error in transform feedback size check. In _mesa_BindBufferRange(), we need to verify that the offset and size specified by the client do not exceed the size of the underlying buffer. We were accidentally doing this check using ">=" rather than ">", so we were generating a bogus error if the client specified an offset and size that fit exactly in the underlying buffer. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/transformfeedback.c
|
942d452047431f7463d3fad5e7cb92dfd81fd0ac |
06-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Record transform feedback strides/offsets in linker output. This patch adds two new fields to the gl_transform_feedback_info struct: - BufferStride records the total number of components (per vertex) that transform feedback is being instructed to store in each buffer. - Outputs[i].DstOffset records the offset within the interleaved structure of each transform feedback output. These values are needed by the i965 gen6 and r600g back-ends, so it seems better to have the linker provide them rather than force each back-end to compute them independently. Also, DstOffset helps pave the way for supporting ARB_transform_feedback3, which allows the transform feedback output to contain holes between attributes by specifying gl_SkipComponents{1,2,3,4} as the varying name. Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/mtypes.h
|
9f8573b7aeed3ef88d680dbf2856f19503ac5cd6 |
19-Dec-2011 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Fix compilation on cygwin after commit 762c9766c93697af8d7fbaa729aed118789dbe8e Fix compilation on cygwin after commit 762c9766c93697af8d7fbaa729aed118789dbe8e "Use VERT_ATTRIB_* indexed array in gl_array_object" added the first non-driver use of ffsll(), which exposes the fact that this isn't provided on cygwin. Found by tinderbox, see [1] [1] http://tinderbox.freedesktop.org/builds/2011-11-30-0017/logs/libGL/#build Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/imports.h
|
dae2fca70521909cfdd8d217d5e42fc6b33b05f6 |
16-Dec-2011 |
Pekka Paalanen <ppaalanen@gmail.com> |
mesa: fix a leak in _mesa_delete_texture_image() Valgrind complains about a definitely lost block allocated in intelNewTextureImage(). This leak was apparently created by 6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9, "mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast", as it removes the free() from _mesa_delete_texture_image(). Put the free() back, fixes a Valgrind error. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
37d24a70daa41bbad9c7a85dd432f561a172e858 |
28-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Advertise our vertex shader texture units. Previously, we advertised 0 VS texture units. Now that we have proper support for using the sampling engine in the VS, we can advertise 16, which is conveniently the number required for OpenGL 3.0. v2: Enable on Gen4. I hacked up my tests to not use flat ivec varyings and they pass. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.c
|
8e34021099527868097b2c877fc32f29aa4d7bb6 |
07-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Implement EXT_texture_swizzle support for VS texturing. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
d45814c925dd6c479cfd383b9b59458fc4359cf7 |
07-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Add texture related data to brw_vs_prog_key. Now that this is all factored out, it's trivial to do. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
387a3d43d11cbd3eb1bd8ce787a2c693d575300c |
08-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Only set brw_wm_prog_key data for samplers used by the WM. This should avoid state-dependent FS recompiles when samplers that are only used by the VS change. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm.c
|
1b05fc7cdd0e5d77b50bc8ee2f2c851da5884d72 |
07-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Factor out texturing related data from brw_wm_prog_key. The idea is to reuse this for the VS and (in the future) GS as well. v2: Include yuvtex data since we're not dropping GL_MESA_ycbycr. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> [v1] Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_program.h
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
|
328b693a199a67ce3a17d258f34d7bfd26790871 |
12-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Add support for texel offsets. The visit() half computes the values to put in the header based on the IR and simply stuffs that in the vec4_instruction; the emit() half uses this to set up the message header. This works out well since emit() can use brw_reg directly and access individual DWords without kludgery. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
475d70d6ef5feb94efab3923e5607e625f2aee67 |
26-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Factor out texture offset bitfield computation. We'll want to reuse this for the VS, and it's complex enough that I'd rather not cut and paste it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_shader.h
|
d93aa54d2dea79d8216e10b6bbbb00b0c8443dc2 |
26-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Implement vec4_visitor::visit(ir_texture *). This translates the GLSL compiler's IR into vec4_instruction IR, generating code to load coordinates, LOD info, shadow comparitors, and so on into the appropriate message registers. It turns out that the SIMD4x2 parameters are identical on Gen 5-7, and the Gen4 code is similar enough that, unlike in the FS, it's easy enough to support all generations in a single function. v2: Load zeros for missing coordinates (fixing vs-texelFetch-sampler1D and 2D on G45), and fix G45 message length for shadow comparisons. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
ca182cd0fa338ad39d531cb1be6a5a1bbf455771 |
26-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Implement vec4_visitor::generate_tex(). This is the part that takes the vec4_instruction IR and turns it into actual Gen ISA. v2: Add Gen4 messages, don't retype m0 to UW. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
7ff68176f012649c8c58ef2500e2eebae36bface |
15-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing SIMD4x2 sample_l_c message #defines. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
|
79d981cd03f2e2e8f67ab21d52711de989bb9a44 |
15-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't minify depth when setting up cube map miptrees on Gen4. Prior to Ironlake, cube maps were stored as 3D textures. In recent refactoring, we removed a separate "layers" parameter in favor of using depth. Unfortunately, depth was getting minified, which is only correct for actual 3D textures. Fixes piglit tests: - bugs/crash-cubemap-order - fbo/fbo-cubemap - texturing/cubemap Also changes texturing/cubemap npot from abort to fail. This hasn't seen a full test run since Piglit on Mesa master hangs GM45 a lot. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_tex_layout.c
|
507e71e45a2e46c6e01423ab00948a72f435396c |
18-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_ARB_depth_buffer_float under 3.0 override. This is not exposed generally yet because some of the swrast paths hit in piglit (drawpixels, copypixels, blit) aren't yet converted to MapRenderbuffer. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex_format.c
|
4790c4ae2489b8c72e6d98f3f80b5a9e7f799203 |
07-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add separate stencil/HiZ setup for MESA_FORMAT_Z32_FLOAT_X24S8. This is a little more unusual than the separate MESA_FORMAT_S8_Z24 support, because in addition to storing the real stencil data in a MESA_FORMAT_S8 miptree, we also make the Z miptree be MESA_FORMAT_Z32_FLOAT instead of the requested format. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_mipmap_tree.c
|
e71fc6a8200cd78037a9788230ec0cc9f451a4b1 |
13-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use the miptree format for texture surface format choice. With separate stencil GL_DEPTH32F_STENCIL8, the miptree will have a really different format (MESA_FORMAT_Z32_FLOAT) from the teximage (MESA_FORMAT_Z32_FLOAT_X24S8). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
353f7ba4abbfd15d1e4e4b7a38f88e64ce85f6a2 |
03-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for mapping Z32_FLOAT_X24S8 fake packed depth/stencil. The format handling here is tricky, because we're not actually generating a Z32_FLOAT_X24S8 miptree, so we're guessing the format that GL wants based on seeing Z32_FLOAT with a separate stencil. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_mipmap_tree.c
|
0c498467104e361e50bbb95adf2b2c0e799591dc |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Stop creating the wrapped depth irb. All the operations were just trying to get at irb->wrapped_depth->mt, which is the same as irb->mt now. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
fdf18b323156098ba5fb2881aa1a7888d2e0667f |
15-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Properly demote the depth mt format for fake packed depth/stencil. gen7 only supports the non-packed formats, even if you associate a real separate stencil buffer -- otherwise it's as if the depth test always fails. This requires a little bit of care in the match_texture_image case, since the miptree format no longer matches the texture image format. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
7978fb4d9fd9c3e07aa1c09eba5571ec8a437d9c |
15-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Reuse intel_miptree_match_image(). This little bit of logic was duplicated, which isn't much, but I was going to need to duplicate a bit of additional logic in the next commit. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_validate.c
|
0b8b6c7e974930daf12e97fb8f0b2a2cc29396d9 |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Stop creating the wrapped stencil irb. There were only two places it was really used at this point, which was in the batchbuffer emit of the separate stencil packets for gen6/7. Just write in the ->stencil_mt reference in those two places and ditch all this flailing around with allocation and refcounts. v2: Fix separate stencil on gen7. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_mipmap_tree.h
|
d334a0fb8cbb368c337858b16cb567a28a35f688 |
19-Dec-2011 |
Alex Galakhov <agalakhov@gmail.com> |
osmesa: fix RGB565 rendering Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/osmesa/osmesa.c
|
009ac0618ccb8c1347c353b576442ed70592c20e |
18-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_set_tex_image() static since it's not called anywhere else
ain/teximage.c
ain/teximage.h
|
3788b4b5c942b2346bf122486b687c632ab7eac4 |
10-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
glsl_to_tgsi: make sure copied instructions don't lose texture target. (v2) The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, due to 0 texture target, this makes sure the texture target is copied over correctly when we copy instructions around. v2: drive-by fix bitmap on the way past. This avoids the assertion, have to contemplate fixing things as per the spec later. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
bdd76ebef126281d837f3a817a9f19fca7799a88 |
28-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Add a new dst_reg constructor for file, number, type, and mask. This will be especially useful for loading texturing parameters, where I need to (for example) reference m3.xz<D>. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
|
7e7c40ff98cc2b930bc3113609ace5430f2bdc95 |
26-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Add vec4_instruction::is_tex() query. Copy and pasted from fs_inst::is_tex(), but without TXB. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
|
febad1779ae5cb5c85d66c2635baea62da52d2fa |
26-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename texturing ops from FS_OPCODE to SHADER_OPCODE, except TXB. We'll be reusing most of these for the VS shortly. The one exception is TXB (texturing with LOD bias), which is explicitly forbidden in the VS. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
c592ebc581e5ca0122660b3d76ec924b96581216 |
06-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Don't swizzle the results of textureSize(). Fixes a regression since d2235b0f4681f75d562131d655a6d7b7033d2d8b, in my new textureSize sampler(1DArrayShadow|2DShadow|2DArrayShadow) piglit tests, though I'm not honestly sure how this ever worked. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
bb6fb7afd37e523256d1b8861b0d5e3030e31282 |
18-Dec-2011 |
nobled <nobled@dreamwidth.org> |
program: fix previous commit Accidentally an old patch.
rogram/prog_print.c
|
f71984ee5b4a7369ce3cc86fb0253ac66d80388c |
08-Dec-2011 |
nobled <nobled@dreamwidth.org> |
program: fix out of bounds array accesses and other bad things Noticed a "warning: array subscript is above array bounds" given at one of the existing sanity-check asserts. Turns out all the arrays of strings haven't matched the corresponding enum values in a while, if ever. I didn't know the proper names for any of these and couldn't find them in the base specs aside from "result.pointsize" in ARB_vertex_program, so I just filled in the enum's value as was done with other slots. Also add four STATIC_ASSERT()s to be sure and catch future additions or bumps to MAX_VARYING/etc again, and some more non-static asserts where there weren't any before. (Note, the fragment enum that corresponded to result.color(half) was removed in 8d475822e6e19fa79719c856a2db5b6a205db1b9.) Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/prog_print.c
|
03bfdb2bad3e4d7c3c53bdfa8a392979ccf89baa |
08-Dec-2011 |
nobled <nobled@dreamwidth.org> |
gen_matypes: eliminate printf warnings The VERT_BIT_* defines are 64-bit values now, but the printf was still expecting a simple int.
86/gen_matypes.c
|
211520450bc7b577dfc38ba68bb5f7a72c39ad30 |
17-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa/x86: fix printf warning
86/gen_matypes.c
|
047363a07b0e13f8724791ed834b0b68e762adc7 |
13-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: expose conservative_depth if GLSL 1.3 is supported It's not yet, but it can be enabled by the override environment variable.
tate_tracker/st_extensions.c
|
5d32b00db97a140a63b62f2b4945e1a50c7e0d64 |
10-Dec-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix memory leak on error path. Fixes Coverity resource leak defect. Signed-off-by: Vinson Lee <vlee@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/prog_parameter_layout.c
|
7b6b5f51028c72e8a868e87cad41892977552218 |
06-Dec-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Fix memory leak in out-of-memory path. Fixes Coverity resource leak defect. Signed-off-by: Vinson Lee <vlee@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_pixeltransfer.c
|
cf79e2250927eb82559079a4a5d2bb7eab0fa5c5 |
15-Dec-2011 |
Brian Paul <brianp@vmware.com> |
meta: use _mesa_prepare_mipmap_level() in the mipmap generation code See previous commit for more information. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
d77b963245fd286aecd6c04f7beb748ad22129cf |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_prepare_mipmap_level() function for mipmap generation This helper function is used during mipmap generation to prepare space for the destination mipmap levels. This improves/fixes two things: 1. If the texture object was created with glTexStorage2D, calling _mesa_TexImage2D() to allocate the new image would generate INVALID_OPERATION since the texture is marked as immutable. 2. _mesa_TexImage2D() always frees any existing texture image memory before allocating new memory. That's inefficient if the existing image is the right size already. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mipmap.c
ain/mipmap.h
|
d842a118b26a56c9c5e4310f30f70199c42ea90e |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make update_fbo_texture() non-static We'll call this from the mipmap generation code. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
ain/teximage.h
|
45bd5c43ca1f19772f7e1d7abe1c9101ba0f6965 |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace and comment fixes in fbobject.c
ain/fbobject.c
|
2b3fdb1fae00f58dcb4db7eeeb03eb77a1ef51b2 |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add MESA_FORMAT_RGB565[_REV] as candidates for GL_R3_G3_B2 Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texformat.c
|
3d3a21c5fa3ed6e127e85a5e1fe9f3df770f79d0 |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
vbo: add comment for map_vp_non[] array
bo/vbo_context.h
|
89da5a14153299adacec7f74047cf7e014b47b70 |
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add a few comments for the z unpacking functions
ain/format_unpack.c
|
36a484bc9853aa541ae7c74401a228ee5c212ff7 |
13-Dec-2011 |
Anuj Phogat <anuj.phogat@gmail.com> |
Enabling display list support for glClearBuffer functions with minor fixes Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org>
ain/dlist.c
|
c05fafa4a0fd93d4264c46578e23a83ecf2b481e |
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_xformfb.c
tate_tracker/st_cb_xformfb.h
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
tate_tracker/st_program.c
|
14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 |
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement DrawTransformFeedback from ARB_transform_feedback2 It's like DrawArrays, but the count is taken from a transform feedback object. This removes DrawTransformFeedback from dd_function_table and adds the same function to GLvertexformat (with the function parameters matching GL). The vbo_draw_func callback has a new parameter "struct gl_transform_feedback_object *tfb_vertcount". The rest of the code just validates states and forwards the transform feedback object into vbo_draw_func.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/nouveau/nouveau_vbo_t.c
ain/api_validate.c
ain/api_validate.h
ain/dd.h
ain/mtypes.h
ain/transformfeedback.c
ain/transformfeedback.h
ain/varray.h
ain/vtxfmt.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_xformfb.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
nl/t_draw.c
nl/tnl.h
bo/vbo.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
3f41f7d1a033dfafc5c3aa1600ecfffd94de0406 |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop separate stencil assertions in update_draw_buffer(). The comment said they deserved to be in emit_depthbuffer, and at this point they were all there already. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vtbl.c
|
7eb0aa398b9c0f7d8a224f2a4952f7875067e917 |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Simplify and touch up the FBO completeness test. Now that we have miptrees for everything, we can more easily test for !has_separate_stencil completeness. Also, test for whether the stencil rb is the wrong kind of format for separate stencil, or if we are trying to do packed to different images of a single miptree. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
950310e7a363413bd87ce6e670a7b913fbddfbff |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove another renderbuffer allocation path. Now there's the thing that CALLOCs and sets up window system vtable, and the thing that CALLOCs and sets up user renderbuffer vtable. The user renderbuffer vtable gets replaced later by intel_renderbuffer_update_wrapper for wrapped renderbuffers (things with name == ~0). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
a91c31668fce46545570571468fefca216fcf881 |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make the separate stencil RB storage path match texture more. There were too many things making intel_renderbuffer *s and tweaking their bits. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
f22068d5be7c829d3768154845ef3c5a2986fed4 |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move S8 width/height alignment to miptree creation. We were doing it in the caller in the renderbuffer code, but it was missed in the separate stencil creation for textures. Apparently our testing was using renderbuffers or pre-aligned sizes. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
8967f750953ca94aa36e3a8ed703a61f1b434f64 |
07-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop check for wrapped_depth in RB mapping. This used to be needed because irb->mt would be unset for fake packed depth/stencil, but no longer. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
faa44bc2f64eb2dfa36b553c06c9bf5fe53ed502 |
13-Dec-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix uninitialized values in debug output for renderbuffer mapping.
rivers/dri/intel/intel_fbo.c
|
b2469ff043de303402a188c58865dabde14fd03b |
08-Dec-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Add a note about overlapping support for framebuffer blit. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_blit.c
|
657f3214e7b2df525fb0637f764682c1157b766e |
03-Dec-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Don't do Z24S8 drawpixels fast-paths with Z32_X24S8 input data. The cool part was that in the "fbo-depthstencil -drawpixels GL_DEPTH24_STENCIL8 32F_24_8_REV" testcase, the shifting happened to end up with a value awfully close to the expected value, except for every other pixel being 0 (the stencil value, shifted away to nothing). Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_drawpix.c
|
606d3a3c3de94665e47df47b48596293d588a420 |
13-Dec-2011 |
Jian Zhao <jian.j.zhao@intel.com> |
Add mismatch check for glGetTexImage or it will return -1 and may lead to segment fault. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
7e9cb2ac6dd9af5ea1597df8a2015b620aad57a1 |
08-Dec-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Regenerate files from previous commits Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
ain/dispatch.h
ain/enums.c
|
df809ae92343bb83c162ea4c807cefb67686717d |
10-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2) This is only temporary until a better solution is available. v2: print warnings and add gallium CAPs Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
tate_tracker/st_extensions.c
|
8a11d40c4e8d3338571a8d85638d0100e1a2aafb |
12-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix an out-of-bounds access in prog_print.c Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/prog_print.c
|
3b15f5046c36fb2d32a4c5f36e77b74efcb539b2 |
13-Dec-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix typo in comment
tate_tracker/st_glsl_to_tgsi.cpp
|
d24b44c37d51051ff153b4f04e529f2bea6630db |
13-Dec-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: emit both operands of shift and bitwise operations Fixes these operations when native integers are enabled.
tate_tracker/st_glsl_to_tgsi.cpp
|
cbd65fe14917def9c0f401c973394d6456cbe83b |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comments for _DepthBuffer, _StencilBuffer fields Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
6596aeb4ffd344af56de646800dbec65b92397d8 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _DepthBuffer, _StencilBuffer resize code This is handled in swrast now when we validate the framebuffer state. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/framebuffer.c
|
d7c0fac90b1fe550df3d75777747c1ae9be41fc0 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add debug code to test combined depth/stencil buffers Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_renderbuffer.c
|
8ba9c22cdb9fb16725a7d02dc200fcd8386f315f |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused depthstencil.[ch] files Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
ain/depthstencil.c
ain/depthstencil.h
ources.mak
|
6e1228976b6ff91492b2fc338282e21404870d26 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move depth/stencil buffer validation to swrast Since gl_framebuffer::_DepthBuffer and _StencilBuffer are only used by swrast, do the validation of those fields in swrast too. The main/depthstencil.[ch] code is no longer used and will be removed next. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/framebuffer.c
wrast/s_context.c
|
2ac02ea29fad959d1011513bf7e90da875ba675b |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: update depth/stencil wrapper sizes Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depthstencil.c
|
23527eb357cc9b78d18ee8317b0186bbe9f1c509 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: build swrast/s_depthstencil.c Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
ources.mak
|
ba35094068f0e0cef690be3b461856d390d6defb |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add new s_depthstencil.[ch] files These files are copies of main/depthstencil.[ch] with s/mesa/swrast/. The main/depthstencil.[ch] will go away soon. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_depthstencil.c
wrast/s_depthstencil.h
|
c0a55cf68aa80cacbc709b25205705eee2e3bbdb |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move update_depth/stencil_buffer() functions These functions update the gl_framebuffer::_DepthBuffer and _StencilBuffer fields, possibly creating renderbuffer wrappers that make a shared depth+stencil accessible as depth-only or stencil only. This stuff is only used by swrast now and will be moved there next. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/depthstencil.c
ain/depthstencil.h
ain/framebuffer.c
|
2750809b2e9a7d24d83d01f0a1d5bb5dce027b4c |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
radeon: stop using _DepthBuffer, _StencilBuffer fields Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_tex_copy.c
|
a782db5570a45008f153396070eae153305a7953 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
nouveau: stop using _DepthBuffer, _StencilBuffer fields Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_state_fb.c
|
d1240928641f5073865cc2f3ef87bd3b0cd64b04 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: stop using _Depth, _StencilBuffer fields in _mesa_BlitFramebufferEXT() We're just looking at the depth/stencil renderbuffers to do error checking. We don't need to look at the depth/stencil wrappers to do that. Also, remove pointless readRb = depthRb = NULL assignments. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/fbobject.c
|
02d12719e356ee9e3348db67ae55ae790dad058f |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using _DepthBuffer, _StencilBuffer fields We never want to use the depth/stencil buffer wrappers so always just use the attachment renderbuffers. This is a step toward removing the _DepthBuffer, _StencilBuffer fields. Reviewed-by: Eric Anholt <eric@anholt.net>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
22e806f57013b2c116b5bfab228e0f28e25198f4 |
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add missing state validation calls for Blit, Clear
wrast/s_blit.c
wrast/s_clear.c
|
fc52534f012837a39c03a764eb611d460210514a |
11-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix possible precision issues in pack/unpack/fetch functions GLfloat doesn't have enough precision to exactly represent 0xffffff and 0xffffffff. (and a reciprocal of those, if I am not mistaken) If -ffast-math is enabled, using GLfloat causes assertion failures in: - fbo-blit-d24s8 - fbo-depth-sample-compare - fbo-readpixels-depth-formats - glean/depthStencil For example: fbo-depth-sample-compare: main/format_unpack.c:1769: unpack_float_z_Z24_X8: Assertion `dst[i] <= 1.0F' failed. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_pack.c
ain/format_unpack.c
wrast/s_texfetch_tmp.h
|
1ded658ce074a85bc08c989ff17840b840ff3051 |
22-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: add color varyings to MaxVarying The linker now adds color varyings to the number of used varyings and checks against that limit. NOTE: This is a candidate for the 7.11 branch.
tate_tracker/st_extensions.c
|
72cb103cf518c86d8d094380d9f8e16650a0060b |
10-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: move frag depth up a level. This fixes the segfault, and seems to put this closer to where other properties are being set. Hopefully it still conforms. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
b1a8b7b0196c73bcfe488cbfc9e9fcd1d7ce7d9b |
10-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
Revert "st/mesa: only resolve is number of samples is > 1" This reverts commit 8c713626db33c40c18e24c880fe47d7948f4dcd7. Didn't mean to push this at all
tate_tracker/st_cb_blit.c
|
8c713626db33c40c18e24c880fe47d7948f4dcd7 |
30-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: only resolve is number of samples is > 1 This fixes the firefox crash but I've no idea if its correct. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_blit.c
|
f767e96131ba69cf61aa9f848d5f24e4396ac920 |
04-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks. This just adds the correct checks and asserts in the right places. This doesn't fix all the tests that I've sent to piglit, need to add int paths to go alongside the uint paths that don't go via float to fix it up properly. I'm not sure how much of that could be templated/shared will have a look once I write it the long way. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/framebuffer.c
ain/image.c
ain/pack.c
ain/texstore.c
|
06f217d80f3d1318da4974bf7b31ea7edcf5eb0b |
18-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: implement ARB_conservative_depth This adds a new TGSI property to represent the GLSL layout qualifier in TGSI.
tate_tracker/st_glsl_to_tgsi.cpp
|
f188c0d0f4c6a6920cd1d8040aceb9df007b5a23 |
08-Dec-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Don't modify the context draw/read buffers. It sets the wrong values (GL_XXX_LEFT instead of GL_XXX), and no other Mesa driver does this, given that Mesa sets the right draw/read buffers provided the Mesa visual has the doublebuffer flag filled correctly which is the case. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_manager.c
|
eefff37060de8c2e98c687c9263e783dfe3ac8cc |
19-Oct-2011 |
nobled <nobled@dreamwidth.org> |
mesa,intel: use _mesa_image_offset() for PBOs This avoids forming invalid pointers needlessly, which even if never dereferenced is undefined behavior. It also makes _mesa_validate_pbo_access() more comprehensible. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_pixel_read.c
ain/pbo.c
|
4a2b9b53052a74e71aac59592e95e3910b5b7da5 |
18-Oct-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add _mesa_image_offset() Reviewed-by: Brian Paul <brianp@vmware.com>
ain/image.c
ain/image.h
|
f22421e9b9ae08512d02927c85e8a7c69867856f |
17-Oct-2011 |
nobled <nobled@dreamwidth.org> |
mesa/image: assert on bad format NULL as an error indicator is meaningless, since it will return NULL on success anyway if the caller passes in zero as the image's address and asks to calculate the offset of the first pixel. For example, _mesa_validate_pbo_access() does this. This also matches the code in the non-GL_BITMAP codepath, which already has an assert like this. v2: Per Brian Paul's review, remove the function call entirely and tighten the assert to only accept the two formats compatible with GL_BITMAP. They always have one component per pixel. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/image.c
|
37fd22a09166c27c47e4803f5ee14047ee03856d |
17-Oct-2011 |
nobled <nobled@dreamwidth.org> |
mesa/image: delete dead store The return value here is a) always zero, b) never used. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/image.c
|
20b0daf82de91fd57b7e8d825786789149f6358d |
08-Dec-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix a bug in eliminate_dead_code_advanced() The bug, reported to me by Vadim Girlin on IRC, was causing overzealous elimination of code in parallel if statements such as the following: if (x) { r = false; } if (y) { r = true; } Before this commit, the assignment inside the first if block would be misdetected as dead code and removed.
tate_tracker/st_glsl_to_tgsi.cpp
|
24e648490921a386fc3f65d1b1ed330067a4bb25 |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: use malloc instead of MAX_WIDTH arrays in glCopyPixels, zoom code Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_copypix.c
wrast/s_zoom.c
|
bf6aac24c1d77979280068787b5443dd5c049269 |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use malloc instead of MAX_WIDTH array in glReadPixels() Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/readpix.c
|
1614de4045c36ab6ec060e3bd0d1f3394d05b91e |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use malloc instead of MAX_WIDTH array in _mesa_convert_colors() Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
|
db247dd7b37e22bf9545d8cb8360e06d68e50912 |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add MAX_PIXEL_BYTES define In a few places we need to allocate space for some number of generic pixels. Use this new define instead of a magic number like 16 or 4 * sizeof(GLuint). Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/formats.c
ain/formats.h
|
eb3e1d8888ea37c7500ab964e8523a52a401bade |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify _mesa_remove_renderbuffer()
ain/renderbuffer.c
|
e4bb884dfb51ec82f901007acf8206960a4f30bc |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove software-based renderbuffer code from core Mesa We're now using the functions that live in swrast. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/renderbuffer.c
ain/renderbuffer.h
|
d0dc75c000d5af92648c7de901756400672b8447 |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use new swrast renderbuffer functions Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/driverfuncs.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/swrast/swrast.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
|
b85284f45e8b05ba9a0dac8dd95a9c078e4a635e |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: build new s_renderbuffer.c file Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
ources.mak
|
379e0a3ada995b4cf57d142e0dd4618022e0aadc |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove core renderbuffer functions from s_renderbuffer.[ch] We'll use the functions that live in main/ Plus, rename the remaining functions with "swrast_" prefix. Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_renderbuffer.c
wrast/s_renderbuffer.h
|
ff8e6420fbbbd80c8fd7327f2f2b68e016b7f5c0 |
06-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add s_renderbuffer.[ch], copied from main/renderbuffer.[ch] Copying these files is the first step in moving the software buffer code from main/renderbuffer.c to swrast/s_renderbuffer.c Reviewed-by: Eric Anholt <eric@anholt.net>
wrast/s_renderbuffer.c
wrast/s_renderbuffer.h
|
6e8c1a92b31d68048da38eee1e97bb1c22955207 |
04-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused functions in depthstencil.c Reviewed-by: Eric Anholt <eric@anholt.net>
ain/depthstencil.c
ain/depthstencil.h
|
14721dfe99a30014e2e24088a1bbf9b043e10b13 |
04-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make some renderbuffer functions static The functions to allocate software color, depth, accum, etc buffers aren't called from anywhere else. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/renderbuffer.c
ain/renderbuffer.h
|
bb887b72f71e1323ce35c676f5207a6b2424fed4 |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove dead accum buffer context fields
wrast/s_context.c
wrast/s_context.h
|
e6e734f14317cdb9b77b8192569317c3fecf581f |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove dead swrast and state tracker accum buffer code
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_accum.h
wrast/s_accum.c
wrast/s_accum.h
wrast/swrast.h
|
122c6768e3d4c1d1b57203eca70569f9301baab5 |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rewrite accum buffer support Implemented in terms of renderbuffer mapping/unmapping and format packing/unpacking functions. The swrast and state tracker code for implementing accumulation are unused and will be removed in the next commit. v2: don't use memcpy() in _mesa_clear_accum_buffer() v3: don't allocate MAX_WIDTH arrays, be more careful with mapping flags Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
rivers/common/driverfuncs.c
rivers/dri/intel/intel_pixel.c
ain/accum.c
ain/accum.h
ources.mak
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_context.c
wrast/s_clear.c
|
aa6cb952c917f4280d75b322c05885fcf7eb6cdb |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new format_pack.c code This code packs colors, Z, stencil, etc. in the various mesa pixel formats. Will be used for things like glDrawPixels, glTexImage, glAccum, etc.
Conscript
ain/format_pack.c
ain/format_pack.h
ources.mak
|
2f88139145da99a695680c813ef5cc669eaef034 |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove the ctx->Driver.IsTextureResident() hook No driver implemented this and we always returned "True" for residence queries. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/driverfuncs.c
ain/dd.h
ain/texobj.c
ain/texparam.c
|
5acb291f319a0b32d9701b3e6c8624175f1a80e7 |
03-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove TextureMemCpy driver hook There's probably no reason to use a special version of memcpy() anymore.
rivers/common/driverfuncs.c
ain/dd.h
ain/texstore.c
tate_tracker/st_cb_texture.c
|
d9582026631ae3cd667f6cd13040b93e42db3e44 |
03-Dec-2011 |
Henri Verbeet <hverbeet@gmail.com> |
st/mesa: Use util_blit_pixels_writemask() for depth blits as well in st_copy_texsubimage(). This has no piglit regressions on r600g and softpipe. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
d4976158c7f32705b48c773c3abd1b22bebe9c16 |
29-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Implement pass-through GS for transform feedback. In Gen6, transform feedback is accomplished by having the geometry shader send vertex data to the data port using "Streamed Vertex Buffer Write" messages, while simultaneously passing vertices through to the rest of the graphics pipeline (if rendering is enabled). This patch adds a geometry shader program that simply passes vertices through to the rest of the graphics pipeline. The rest of transform feedback functionality will be added in future patches. To make the new geometry shader easier to test, I've added an environment variable "INTEL_FORCE_GS". If this environment variable is enabled, then the pass-through geometry shader will always be used, regardless of whether transform feedback is in effect. On my Sandy Bridge laptop, I'm able to enable INTEL_FORCE_GS with no Piglit regressions. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/gen6_gs_state.c
|
2252e5e3f1e8caece5c73df82f3ddf306baa2c91 |
02-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Clean up misleading defines for DWORD 2 of URB_WRITE header. R02_PRIM_END and R02_PRIM_START don't actually refer to bits in DWORD 2 of R0 (as the name, and comments in the code, would seem to indicate). Actually they refer to bits in DWORD 2 of the header for URB_WRITE messages. This patch renames the defines to reflect what they actually mean. It also addes a define URB_WRITE_PRIM_TYPE_SHIFT, which previously was just hardcoded in .c files. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_gs_emit.c
|
3f2283172bcaf3db00a99baad0319bc7e0be5fc2 |
29-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gs: Clean up dodgy register re-use, at the cost of a few MOVs. Prior to this patch, in the Gen4 and Gen5 GS, we used GRF 0 (called "R0" in the code) as a staging area to prepare the message header for the FF_SYNC and URB_WRITE messages. This cleverly avoided an unnecessary MOV operation (since the initial value of GRF 0 contains data that needs to be included in the message header), but it made the code confusing, since GRF 0 could no longer be relied upon to contain its initial value once the GS started preparing its first message. This patch avoids confusion by using a separate register ("header") as the staging area, at the cost of one MOV instruction. Worse yet, prior to this patch, the GS would completely overwrite the contents of GRF 0 with the writeback data it received from a completed FF_SYNC or URB_WRITE message. It did this because DWORD 0 of the writeback data contains the new URB handle, and that neds to be included in DWORD 0 of the next URB_WRITE message header. However, that caused the rest of the message header to be corrupted either with undefined data or zeros. Astonishingly, this did not produce any known failures (probably by dumb luck). However, it seems really dodgy--corrupting FFTID in particular seems likely to cause GPU hangs. This patch avoids the corruption by storing the writeback data in a temporary register and then copying just DWORD 0 to the header for the next message. This costs one extra MOV instruction per message sent, except for the final message. Also, this patch moves the logic for overriding DWORD 2 of the header (which contains PrimType, PrimStart, PrimEnd, and some other data that we don't care about yet). This logic is now in the function brw_gs_overwrite_header_dw2() rather than in brw_gs_emit_vue(). This saves one MOV instruction in brw_gs_quads() and brw_gs_quad_strip(), and paves the way for the Gen6 GS, which will need more complex logic to override DWORD 2 of the header. Finally, the function brw_gs_alloc_regs() contained a benign bug: it neglected to increment the register counter when allocating space for the "temp" register. This turned out not to have any effect because the temp register wasn't used on Gen4 and Gen5, the only hardware models (so far) to require a GS program. Now, all the registers allocated by brw_gs_alloc_regs() are actually used, and properly accounted for. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
43e39b58c705714c01919e5b4b5566e82e803d58 |
07-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gen6: Allocate URB space for GS When the GS is not in use, the entire URB space is available for the VS. When the GS is in use, we split the URB space 50/50. The 50/50 split is probably not optimal--we'll probably want tune this for performance in a future patch. For example, in most situations, it's probably worth allocating more than 50% of the space to the VS, since VS space is used for vertex caching. But for now this is good enough. Based on previous work by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_urb.c
|
7a63a311e56fd492823b4b44e526df5a8dc0a021 |
15-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set the maximum number of GS URB entries on Sandybridge. We never filled this in before because we didn't care. I'm skeptical these are correct; my sources indicate that both the VS and GS # of entries are 256 on both GT1 and GT2. I'm also loathe to change it and break stuff. Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.c
|
dabe15da4f81546b5c9fca8c208d31bfe98ada9f |
25-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Only convert if/else to conditional adds prior to Gen6. Normally when outputting instructions in SPF (single program flow) mode, we convert IF and ELSE instructions to conditional ADD instructions applied to the IP register. On platforms prior to Gen6, flow control instructions cause an implied thread switch, so this is a significant savings. However, according to the SandyBridge PRM (Volume 4 part 2, p79): [Errata DevSNB{WA}] - When SPF is ON, IP may not be updated by non-flow control instructions. So we have to disable this optimization on Gen6. On later platforms, there is no significant benefit to converting flow control instructions to ADDs, so for the sake of consistency, this patch disables the optimization on later platforms too. The reason we never noticed this problem before is that so far we haven't needed to use SPF mode on Gen6. However, later patches in this series will introduce a Gen6 GS program which uses SPF mode. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
|
fcae281f067f933d95734a932e66d3111d9f2192 |
22-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 gs: Remove unnecessary mapping of key->primitive. Previously, GS generation code contained a lookup table that mapped primitive types POLYGON, TRISTRIP, and TRIFAN to TRILIST, mapped LINESTRIP to LINELIST, and left all other primitives unchanged. This was silly, because we never generate a GS program for those primitive types anyhow. This patch removes the unnecessary lookup table. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
|
a98ceee0ee3692783047c6f8f9f6bf6afbf4dd3b |
22-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Track changes to transform feedback state. This patch adds a new bit to the ctx->NewState bitfield, _NEW_TRANSFORM_FEEDBACK, to track state changes that affect ctx->TransformFeedback. This bit can be used by driver back-ends to avoid expensive recomputations when transform feedback state has not been modified. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/transformfeedback.c
|
4273943a07bb577f91972b64232d394c1197c564 |
07-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set Ivybridge's is_array SURFACE_STATE bit. Fixes piglit tests fbo-array, fbo-depth-array, fbo-generatemipmap-array, and array-texture, as well as the array variants of my new textureSize and texelFetch tests. Not a candidate for 7.11 because EXT_texture_array wasn't supported. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_wm_surface_state.c
|
d464a21e2d796e396e7e4c0cfe971b41003e2d2a |
07-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Return BRW_DEPTHBUFFER_D32_FLOAT as the null-depthbuffer format. Fixes many crashes on Ivybridge due to upload_sf_state calling brw_depthbuffer_format without an actual depth buffer. This was a recent regression on master. +3992 piglits on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
5b27e44652119fd01fe93759e2c82348f4b6d707 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Update comment about how depth/stencil miptrees are handled. This evolved over several commits, and I also wanted to document some new information about how we handle formats. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.h
|
96159c37e3e8c966dba7cf7fe70875372dd12293 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on miptree mapping for all renderbuffer maps. Now that all RBs have miptrees, and miptree mapping covered these last two code paths, consistently use them. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
5655ebf4664b2e9a50b976612f8a1aeb26275311 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add support for LLC-cached reads of X-tiled miptrees using a blit. This mimics the MapRenderbuffer code, and should improve the performance of glGetTexImage(). v2: Fix broken error handling.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
2d2bfd1f2643b93caf76087b6ac04544af52ee63 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Handle MapRenderbuffer of fake packed depth/stencil using miptree maps. This gets the same performance win as the miptree maps did, and removes a pile of code duplication.
rivers/dri/intel/intel_fbo.c
|
e0d67a3a8b4ec73df7e6f818989480a3dd1ee706 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Track miptrees for fake packed depth/stencil renderbuffers. Right now the fake packed d/s RBs are creating two sub-renderbuffers with their own storage, and the hardware setup and the mapping code have been explicitly referencing them. By setting miptrees on them, we'll be able to make our renderbuffer code for fake packed depth/stencil more consistent with all our other renderbuffers. The interesting new behavior here is that there is now a mt with a non-depthstencil format (X8Z24) that has a stencil_mt field associated. This looks like it should be safe, and we'll need to be able to do this for floating point depth/stencil as well.
rivers/dri/intel/intel_fbo.c
|
ed3aeb56ec3fde24c2fc69515c0b5d348b41caf3 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make the fake packed depth/stencil mappings use a cached temporary. Before, we had an uncached read of S8 to untile, then a RMW (so uncached penalty) of the packed S8Z24 to store the value, then the consumer would uncached read that once per pixel. If data was written to the map, we would then have to uncached read the written data back out and do the scatter to the tiled S8 buffer (also uncached access penalties, since WC couldn't actually combine). So 3 or 5 uncached accesses per pixel in the ROI (and we we were ignoring the ROI, so it was the whole image). Now we get an uncached read of S8 to untile, and an uncached read of Z. The consumer gets to do cached accesses. Then if data was written, we do streaming Z writes (WC success), and scattered S8 tiling writes (uncached penalty). So 2 or 3 uncached accesses per pixel in the ROI. This should be a performance win, to the extent that anybody is doing software accesses of packed depth/stencil buffers. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.h
|
4cb1d6a25e4749ec5e0389ca3da468adbbe5299e |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make intel_region_map return void *. We don't gripe about void * arithmetic for our driver, and this prevents silly casting when assigning the result of mapping to non-byte types. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
b48c3bca87b30003f9e117d299011380e743aec9 |
29-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move separate-stencil s8 mapping logic to intel_miptree_map. We're going to want to reuse this logic in mapping of fake packed miptrees wrapping separate depth/stencil miptrees. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
|
baeaa062e92afbec47fad73fd3d464a1e7d1fe08 |
29-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move the gtt-particular texture mapping logic to a helper function. This code will be incrementally moving to a model like intel_fbo.c's renderbuffer mapping with helper functions, as I move that code here. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
221a36514b4ecffdaa3be5c43e67c75cc8c30ab8 |
28-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make mapping of texture slices track the region of interest. This will be used for things like packed depth/stencil temporaries and making LLC-cached temporary mappings using blits. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
b75291c61c40a3a690b08f8aa013ad2d3d2deda8 |
28-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move the teximage mapping logic to a miptree level/slice mapping. This will let us share teximage mapping logic with renderbuffer mapping, which has an intel_mipmap_tree but not a gl_texture_image. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.c
|
5c9a55665d78b96bfb8ce8eab43b5558dd656a6d |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Only prefer separate stencil when we can do HiZ. This required is_hiz_depth_format to start returning true on S8_Z24 as well, since that's the format we have here. The two previous callers are only calling it on non-depthstencil formats. This avoids us needing to have HiZ working on a new Z format immediately upon exposing the format (particularly painful for Z32_FLOAT_X24S8, which means all the fake packed depth/stencil paths). Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_mipmap_tree.c
|
6781fd05e9ea2ba45a615dacafca57291a220bb0 |
23-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set SURFACE_STATE vertical alignment bit on Ivybridge. See intel_vertical_texture_alignment_unit() in intel_tex_layout.c; certain surface types require setting this to VALIGN_4. Analogous to commit dd0e46c4102976b7d317104ecd1bb565ac34613a on Gen6. Fixes piglit test fbo-generatemipmap-formats with the GL_ARB_depth_texture and GL_EXT_packed_depth_stencil arguments. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_wm_surface_state.c
|
2ee8704a8a160f2a627669bdf978072a1597c205 |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: add original r100 to the always tiled depth list. According to Alex, he thinks r100 is also covered. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_screen.c
|
0b34074bdb978c95b8de65517143c546ac0cf75f |
06-Dec-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
osmesa: remove unused bpc variable Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/osmesa/osmesa.c
|
781a204bcf5599716991e5d36b08a36db5209441 |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: add RV200 detiling + add an always tiled flag passes readpix sanity on the M7. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
|
1136da9c6bea8f579c0d92e5c263bde83a1fd0cf |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
r200: add Z16 depth detiling. This passes readPixSanity with z16 visuals. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_fbo.c
|
61a40581d26d17fd9351914b267f364dbb12f8d0 |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
r200: handle Z24 depth buffers correctly The same detiling pattern applies to X8_Z24 as well. Signed-off-by: Dave Airlie <Airlied@redhat.com>
rivers/dri/radeon/radeon_fbo.c
|
81a715605af97f12e8907dba3d1de27addf5335f |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
r200: fix cb microtile setup We shouldn't see this in buffers from the DDX but just in case. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_state_init.c
|
4d4cecd05b9395316a0d8d2c82a68da9dc7e3ce4 |
06-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
r200: enable tiling flags on blitter setup. The r200 blitter also didn't set the correct tiling flags. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_blit.c
|
c3aae7745a648d5d8f8386e09cd6d965f919c7d9 |
30-Nov-2011 |
Anuj Phogat <anuj.phogat@gmail.com> |
swrast: Add depth cube map support. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_texfilter.c
|
29a7d7784def4f37d3fe38a123a17836dd7fafc0 |
24-Nov-2011 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Allow glTexImage2D with a depth component cube map. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/teximage.c
|
84d6201567ac82dc7350e437c4de488f59acd42e |
05-Dec-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix incorrect comment about single program flow on Ironlake. The code forces single program flow to be enabled on Ironlake, or equivalently, disables multiple program flow. The comment was reversed. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs_state.c
|
a8bbbcae4a22d97d1d1c22509fad423262324912 |
05-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: drop old span depth/stencil code. This is no longer used with the new renderbuffer code. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_span.c
|
7d91ecf7a3a08c01a704f2d427444f7a97991680 |
05-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: add draw/stencil buffer detiling This moves the detiling to the fbo mapping, r200 depth is always tiled, and we can't detile it with the blitter. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_fbo.c
|
c48763643ebd87013a09c5498d9a5d3713dc1014 |
05-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix warnings
rivers/dri/radeon/radeon_span.c
|
f24e106ead6d15caa4d5aafda7260424d4a38ed9 |
05-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: use mesa renderbuffer accessors for depth for now. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_span.c
|
5c666bdfdb7681c2250b801ff286c4837ea36893 |
05-Dec-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: add some tiling support for r100. This sets up the tiling flags on the blitter. Fixes some piglit tests with tiling enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_state_init.c
|
b2596c36c8f73e8bb7a0b1679b491662aeb2f9d9 |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: texture/renderbuffer overhaul. This could have been split up better, but the driver is just broken now, so bisecting the brokenness is going to be painful no matter what. This adds renderbuffer mapping/unmapping along with texture image allocation. It drops all the old texture upload paths, some of which could possible be reimplemented with the blitter later. It also redoes the span code paths to use its own set of image mapping handlers, along with removing the tiling decode paths for the color buffers, since we now hope to use the blitter for this. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_blit.h
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_blit.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
fd7fcfcc2dffb73ac3159a04ccd164b527c11a8f |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: set texture bits to always emit. I think there is a missing state update or flush somewhere, and every so often PP_CNTL goes to the kernel with a texture enabled but no texture. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_state_init.c
|
4ed8a585840865550bb9acac38c5ef26670a1fb8 |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: update flush according to glXMakeCurrent man page This also copies code from intel driver to do this. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_common_context.c
|
6d573c4dd7d90eb2c1748102924bdac1bb8fd50a |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: drop border check now that we strip borders off earlier. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_texstate.c
|
fbfa80703449365415c9db6d189dd0a6a35fb4d4 |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: add a bit more debugging to the blit debug code. For debugging blits it helps if we printed out the offsets as well. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_blit.c
|
887c349d543d5b6d681845eb441be88acb8e0063 |
28-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Reject glDrawPixels(integer format). When folding GL_EXT_texture_integer into the core, a new (and very sensible) restriction was added. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/drawpix.c
|
b14c06e10d570edcb4dcbea173d71751563616e7 |
02-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use VERT_{ATTRIB,BIT}* for ARB input validation. For validating ARB program inputs replace hard coded bitfield and attribute number with the appropriate VERT_{ATTRIB,BIT}* variant. This should fix: https://bugs.freedesktop.org/show_bug.cgi?id=43407 Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
rogram/program_parse.y
rogram/program_parser.h
|
aa010157a3f4fa1be7b85d476538bd5496e91004 |
02-Dec-2011 |
Stuart Abercrombie <sabercrombie@chromium.org> |
i965: Fix emit of a MOV with bad destination channel on gen6 math in FPs. Previously a zero writemask would result in dst_chan == -1, meaning an unnecessary MOV with the destination register dictated by undefined memory contents would be emitted before returning. This caused intermittent GPU hangs, e.g. with glean/texCombine. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_emit.c
|
079bb3fff7104782f2c921200e9a299c38a53ab6 |
01-Dec-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix assertions for block size handling in glCompressedTexSubImage2D. Anything of less than (bw, bh) size is possible when you consider rectangular textures, and this code is (now) safe for those. Even for power-of-two textures, width could be 4 for FXT1 while not being aligned to block size. Fixes piglit compressedteximage GL_COMPRESSED_RGB_FXT1_3DFX Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
1e0b6a90d78ed78eb9e22c65abd5af314142a844 |
01-Dec-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glCompressedTexSubImage (and non-Sub) for height == 2 or 1. Generally this code works with width and height aligned to compressed blocks, but at the 2x2 and 1x1 levels of a square texture (or height < bh in general), we were skipping uploading our single row of blocks. Fixes piglit compressedteximage GL_COMPRESSED_RGBA_S3TC_DXT5_EXT. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
bda361e0d47a670f318664abcdf0a065bef22883 |
30-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glCompressedTexImage when dstRowStride != srcRowStride. Since the MapTextureImage changes on Intel, nwn had corruption in the scrollbar at the load game menu, and corrupted ground textures in the starting zone. Heroes of Newerth's intro screen was also thoroughly garbled. A new piglit test "compressedteximage" was created to regression test this. The issue was this code now seeing dstRowStride aligned to hardware requirements instead of a temporary buffer that gets uploaded to hardware later. The existing code was just trying to memcpy srcRowStride * height / bh, while the glCompressedTexSubImage2D() storage code nearby did the correct walking by blockheight rows at a time. Just reuse the subimage upload instead of duplicating that logic. v2: Update comment at the top of the function (suggestion by Joel Forsberg) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41451 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
ain/texstore.c
|
19b102517234cc28056ce366a159d18eadab043f |
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add casts to fix unpack_SIGNED_GR1616() We were passing unsigned values to the macro before.
ain/format_unpack.c
|
bbbab8de63bc95fef261447b75225bc57c5d8122 |
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unreachable code in _mesa_unpack_color_span_ubyte() We checked if srcType == GL_UNSIGNED_BYTE earlier so there was no way to reach this code. This was left-over code from the GLchan removal work. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/pack.c
|
01cd9a7d9292507a8c9e6cdc74ba1083248b0bf0 |
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove unreachable _mesa_error() call If mode is not GL_POINT/LINE/FILL we'll have already reported the error earlier in the function and returned so we can never get here. Reviewed-by: José Fonseca <jfonseca@vmware.com>
bo/vbo_exec_api.c
|
89efc1b839591473d0a448dc1087a5deb56579c7 |
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_error() call in compressedteximage() We shouldn't call _mesa_error() if the target is a proxy texture. Errors are handled later in the function. Fixes a Coverity warning. Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/teximage.c
|
9ec5050898877baa6120fd9a04464651c7cb28ad |
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix potential mem leak in generate_mipmap_compressed() Fixes a coverity warning. Reviewed-by: Vinson Lee <vlee@vmware.com>
ain/mipmap.c
|
06913497d6b17f454bf4c5b8601d391980eb8265 |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix some minor texstore comments For the texsubimage commands, we're not mapping the whole image/region.
ain/texstore.c
|
b4aecc4e1861e60e40e14868719219084967e46d |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename MESA_FORMAT_RG88_REV to MESA_FORMAT_RG88 R is in the high byte, G in the low byte.
rivers/dri/i965/brw_wm_surface_state.c
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/texstore.c
wrast/s_texfetch.c
wrast/s_texfetch_tmp.h
|
0a3c895f341ae458b09dcdc9cbd674600366a925 |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename MESA_FORMAT_RG88 to MESA_FORMAT_GR88 To better reflect the component ordering and be consistent with other format names.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/renderbuffer.c
ain/texformat.c
ain/texstore.c
tate_tracker/st_format.c
wrast/s_texfetch.c
wrast/s_texfetch_tmp.h
|
0be753a14333b1298649da1d889fe1fc7d3e9f43 |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix unpacking of RG88_REV texels R should be in the high byte and G in the low byte for this format.
ain/format_unpack.c
wrast/s_texfetch_tmp.h
|
e304aa3600f865db533d273e2c1a554cb6a54f05 |
15-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make gen6_resolve_implied_move a no-op for MRF sources. Attempting to move an MRF to a MRF is not only pointless, it will fail because MRFs are read-only, resulting in garbage in your register. If we already set up a MRF source, there's nothing to resolve anyway. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
ce45aecfdab9926b767d9924bddbc4304d59641c |
01-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Renumber the tnl attributes to match VERT_ATTRIB*. Also renumber the tnl modules vertex attributes to match the renumbered VERT_ATTRIB_* values. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=43353 Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Tested-by: Vinson Lee <vlee@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
nl/t_context.h
|
a4f345e0d21d13186b22f78718547b862d63fdf6 |
01-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Extend BITSET64_*_RANGE to work on arbitrary ranges. The BITSET64_{TEST,SET,CLEAR}_RANGE macros only work on ranges wither in the lower 32 or in the upper 32 bits of the bitset. This change extends these macros to work on arbitrary ranges possibly crossing the bitset word boundary. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bitset.h
|
cde6c91fd52ab52a2989ab402239d9d10cedf16f |
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: add support for GL_OES_compressed_ETC1_RGB8_texture Have st/mesa recognize MESA_FORMAT_ETC1_RGB8 then we are good to advertise the extension. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
d4a38e86d4b4d66cca20ee63222f940cb73fa709 |
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_compressed_ETC1_RGB8_texture Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no driver support yet. Unlike desktop GL compressed texture formats, GLES compressed texture formats usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image* functions are updated to check for that. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/extensions.c
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/glheader.h
ain/image.c
ain/mtypes.h
ain/texcompress.c
ain/texformat.c
ain/teximage.c
ain/texstore.c
wrast/s_texfetch.c
|
51f4d2725417088c75d512b69a31a26ae5cb3ef2 |
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add ETC1 decoding routines The format is defined by GL_OES_compressed_ETC1_RGB8_texture. These routines will be used in the following commit. Reviewed-by: Brian Paul <brianp@vmware.com>
Conscript
ain/texcompress_etc.c
ain/texcompress_etc.h
ain/texcompress_etc_tmp.h
ources.mak
|
4eae2b37a85e05b3229877c0c2b2bdec37890005 |
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
glapi: regenerate files for GL_OES_compressed_ETC1_RGB8_texture Reviewed-by: Brian Paul <brianp@vmware.com>
ain/enums.c
|
a4c952f36f0c6b55f1410bc678b21f75de253a74 |
01-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
swrast: Fix signed/unsigned problems with negative strides. In swrast_map_renderbuffer negative strides lead to render buffer map pointers that are off by 2^32. Make sure that intermediate negative values are not converted to an unsigned. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/swrast/swrast.c
|
e10942c8e966f7ea45f6b0d3782bbe38593796ae |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix unpack_ARGB1555_REV() We weren't doing the necessary byte swap. v2: use same arithmetic as unpack_ARGB1555() to be consistent. Reviewed-by: Michel Dänzer <michel@daenzer.net>
ain/format_unpack.c
|
478f0d228be1c184adabd1df4dd76a01061b9e24 |
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix indentation in attrib.c
ain/attrib.c
|
51e5a266c1e1c12c4f0d82bee3caff008a41c9fd |
23-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix regression in fbo-alphatest-nocolor. In the refactor for handling user-defined out params, we failed to set up the new color output tracking when there was no color drawbuffer in place but alpha testing was on. Just always set up at least one when handling gl_FragColor, since we won't make use of its value unless we need to. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42806
rivers/dri/i965/brw_fs_visitor.cpp
|
a3b8c5ed5bd591d4ae7d215f71f039d3b19200bb |
23-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Make register file enum 0 be the undefined register file. In 6d874d0ee18b3694c49e0206fa519bd8b746ec24, I checked whether a register that had been stored was BAD_FILE (as opposed to a legitimate GRF), but actually the unset register was ARF NULL because it had been memset to 0. Finding BAD_FILE for unset values in debugging was my intention with that file, so make it the case more often by rearranging the enum. There was only one place we relied on the magic enum register_file to hardware register file correspondance anyway.
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
|
c6abde211fa875f90e59e3709720cfe394669069 |
23-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't perform the precompile on fragment shaders by default. It is useful to have this option for shader-db, and it was also good at the time where we were rejecting shaders due to various internal limits we hadn't supported yet. However, at this point the precompile step takes extra time (since not all NOS is known at link time) and spews misleading debug in the common case of debugging a real app. This is left in place for VS, where we still have a couple of codegen failure paths that result in link failure through precompile. Those need to be fixed. shader-db can still get at the debug info it wants using "shader_precompile=true" driconf option. Long term, we can probably build a good-enough app for shader-db to trigger real codegen.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_shader.cpp
rivers/dri/intel/intel_screen.c
|
0a22fb6a5d519ca26d423fa4a9404697dca56cbf |
29-Nov-2011 |
Kai Wasserbäch <kai@dev.carbon-project.org> |
gallium/failover: Remove the deprecated module. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_draw_feedback.c
|
15245cbad47c6a96487b1b54d97f3a1506a9c203 |
30-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix indentation
tate_tracker/st_extensions.c
|
efcf5aa13f2000eb3620a99f82043001db07e6b2 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_is_bufferobj() in update_array()
ain/varray.c
|
529fa775293ddd24e389f2ea6a43bd18f01a1609 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() macro in program printing code
rogram/prog_print.c
|
c67d9cfd9d5d04b5b32170616f75b34e0192304b |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned comparison warning
ain/transformfeedback.c
|
c3a57841a3b51dc463b7fa5ca94b897917a86f20 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix MESA_FORMAT_RG88 format match test Reviewed-by: Eric Anholt <eric@anholt.net>
ain/formats.c
|
76374e60cd7ec6519aae77cb98a747710114bae2 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix printf format warning in _mesa_fprint_program_parameters()
rogram/prog_print.c
|
1ad5a1a2460dcfe2dd36e19e8699aa58c4a46025 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
tnl: s/INLINE/inline/
nl/t_context.h
nl/t_vb_cliptmp.h
|
22ad02b3ff9e9e5f1ab32e683dfaa89832732eed |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated dispatch.h (s/INLINE/inline/)
ain/dispatch.h
|
ea472ffe67571d868f22a949e989c748b433ddbc |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: use STATIC_ASSERT to make sure texfetch table isn't missing entries When new MESA_FORMAT_x enums are added we need to add a new entry in the table of texture fetch functions. In the past this has been missed if swrast isn't actually tested. Using a static assertion should help with that.
wrast/s_texfetch.c
|
15be8b4bf01a4f01b2afcea82bd042f3a98b9ac1 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add STATIC_ASSERT() macro for compile-time assertions This can be used to check that tables have the right number of entries, etc. at compile-time. This will hopefully catch things that are missed if particular drivers aren't tested, for example. v2: Simplify the macro to omit the extra line number info (the compiler already indicates the line number). And wrap the macro for readability.
ain/compiler.h
|
25c8a112abf4bbf271c6972f7539ca2a1c7683bd |
28-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: access pixels as GLushort in unpack_SL8() Per the format comments and the texstore code, use a GLushort to access the pixel. The code was OK as-is on little endian machines.
ain/format_unpack.c
|
2134d2f35baadf4117e48aa3315608403622b79a |
22-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make _mesa_is_stencil_format() consistent with _mesa_is_depth_format(). There was only one consumer of this API, meta.c, which was intending to ask "is this format just stencil index (and nothing else)?". Instead, if one tried to glDrawPixels of GL_DEPTH_STENCIL-type formats, it would just try to draw the stencil parts. Nothing good came of this. This function looks rather silly at this point, but I'm leaving it in place to be the obvious parallel API to _mesa_is_depth_format(). Note that if you want the old behavior, you should use it as (_mesa_is_stencil_format() || _mesa_is_depthstencil_format()) like is commonly done for depth-related tests. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/image.c
|
ed945b0bc73356ff8aa4f73616738e5926f73599 |
18-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the datatype of GL_DEPTH32F_STENCIL8's depth channel. Asking for the datatype of MESA_FORMAT_Z32_FLOAT_X24S8 is a bit funny -- there's a float depth channel, and a stencil channel that doesn't have a particular GLenum associated with its type, so what's the correct response? Because there is no query for stencil, just make this format's datatype be that of the depth channel. It fixes the depth query (and thus a failure in piglit gl-3.0-required-sized-formats), and none of the other consumers of the _mesa_get_format_datatype() API care. v2: Add a comment for why the DataType is this way for this format. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/formats.c
|
d2235b0f4681f75d562131d655a6d7b7033d2d8b |
18-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Always handle GL_DEPTH_TEXTURE_MODE through the shader. We were already doing it through the shader (layered underneath GL_EXT_texture_swizzle) in the shadow compare case. This avoids having per-format logic for switching out the surface format dependent on the depth mode. v2: Also do the swizzling for DEPTH_STENCIL. oops. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
|
f98bfb5d68423a4e57f78091c70288c0b558b8bd |
22-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix EXT_texture_swizzle with a writemask in the FFFS/FP backend. I tripped over this bug in the next commit, relying on our EXT_texture_swizzle to do some shadow sampler-related swizzling. If a writemask was masking out a channel of the destination that was a live channel of the texture swizzle, it would read undefined values. Fixes piglit ARB_fragment_program_shadow/masked. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_fp.c
|
d84a180417d1eabd680554970f1eaaa93abcd41e |
17-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Base HW depth format setup based on MESA_FORMAT, not bpp. This will make handling new formats (like actually exposing Z32F) easier and more reliable. v2: Remove the check for hiz buffer -- the MESA_FORMAT should really be giving us the value we want even for hiz. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/intel/intel_context.h
|
09e67706e9a74600e16fe012ecfd192b0d31960a |
23-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't depth test the fake depthbuffer when one isn't present. For the non-separate-stencil-only case, we've been using a NULL surface for depth, so we didn't have to care. However, to support separate stencil with no depthbuffer, we have to make the depth surface non-NULL or the stencil test always fails thanks to separate stencil inheriting the surface type of depth. Fixes hiz-depth-stencil-test-d0-s8. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_depthstencil.c
|
e6c314f7d2ed99714376fec6b7509a55535fa3ff |
22-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow generic attributes for glGetActiveAttrib and GL_ACTIVE_ATTRIBUTES Page 77 (page 91 of the PDF) says about glGetActiveAttrib: "The returned attribute name can be the name of a generic attribute or a conventional attribute (which begin with the prefix "gl_", see the OpenGL Shading Language specification for a complete list)." Page 261 (page 275 of the PDF) says about glGetProgramiv: "If pname is ACTIVE_ATTRIBUTES, the number of active attributes in program is returned." It doesn't say anything about built-in vs. user-defined attributes. From the language around glGetActiveAttrib and the lack of an exclusion of built-in attributes, which exists other places (e.g., around glBindAttribLocation), we can infer that GL_ACTIVE_ATTRIBUTES should include the active attribute count. It should also be included in the values returned by glGetActiveAttrib. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43138 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Yi Sun <yi.sun@intel.com>
ain/shader_query.cpp
|
03bbcd447cbaa28b52465ae1045013f1aff420c2 |
28-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
swrast: Fix some static analysis warnings To each switch statement in s_texfilter.c, add a break statement to the default case. Eliminates the Eclipse static analysis warning: No break at the end of this case. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
wrast/s_texfilter.c
|
76ba431b97087e2d5ca0351e0d613f0812fd1425 |
29-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: distinct gl_client_array arrays are gone Fix build errors since 762c9766c93697af8d7fbaa729aed118789dbe8e. Acked-by: Jose Fonseca <jfonseca@vmware.com>
ain/ffvertex_prog.c
ain/get.c
ain/varray.c
|
762c9766c93697af8d7fbaa729aed118789dbe8e |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use VERT_ATTRIB_* indexed array in gl_array_object. Replace the distinct struct gl_client_array members in gl_array_object by an array of gl_client_arrays indexed by VERT_ATTRIB_*. Renumber the vertex attributes slightly to keep the old semantics of the distinct array members. Make use of the upper 32 bits in VERT_BIT_*. Update all occurances of the distinct struct members with the array equivalents. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/api_arrayelt.c
ain/api_validate.c
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/enable.c
ain/get.c
ain/getstring.c
ain/mtypes.h
ain/nvprogram.c
ain/state.c
ain/varray.c
bo/vbo_attrib.h
bo/vbo_exec_array.c
|
dca6a28a14f22d77273d79d44f57b0d853c0242d |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Make gl_program::InputsRead 64 bits. Make gl_program::InputsRead a 64 bits bitfield. Adapt the intel and radeon driver to handle a 64 bits InputsRead value. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/r200/r200_vertprog.c
ain/context.c
ain/ff_fragment_shader.cpp
ain/ffvertex_prog.c
ain/mtypes.h
ain/state.c
ain/state.h
rogram/program_parse.y
rogram/programopt.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
nl/t_vb_program.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
f364ac1da10ff67eba5196c1074aff579864f741 |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Make gl_array_object::_Enabled 64 bits. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/enable.c
ain/mtypes.h
ain/varray.c
|
ed42c2580717527b2005580940fc766d95bb6b0b |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
vbo: Use The VERT_{ATTRIB,BIT} defines. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
bo/vbo_context.c
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_draw.c
|
104b81def4c09f3012e44778d104f00ff87dd4f0 |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Replace _NEW_ARRAY_* bits with VERT_BIT_* Consolidate the two distinct set of flags to use VERT_BIT_*. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/arrayobj.c
ain/enable.c
ain/mtypes.h
ain/varray.c
|
b57101302d832f890b9a3b228513d930d91e1de0 |
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Introduce more symbolic VERT_{ATTRIB,BIT}* defines. Introduce a set of defines for VERT_ATTRIB_* and VERT_BIT_* that will be used in the followup patches. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
a0a5bd4bb30a73c10b02c3c3b914940a03f9b790 |
23-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: move ElementArrayBufferObj to gl_array_object According opengl spec 4.2.pdf table 6.12 (Vertex Array Object State) at page 515, the element buffer object is listed in vertex array object. So, move the ElementArrayBufferObj inside gl_array_object to make element buffer object per-vao. This would fix most of(3 left) intel oglc vao test fail NOTE: this is a candidate for the 7.11 branch. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/api_arrayelt.c
ain/api_validate.c
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/context.c
ain/get.c
ain/mtypes.h
bo/vbo_exec_array.c
bo/vbo_save_api.c
|
4ff212aac3764565675c9c83af378671162bc4f2 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comments for _mesa_format_matches_format_and_type(), 80-column wrapping
ain/formats.c
|
0cbdead62e615dc197b3831941ae311865fa6642 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add component comments for sRGB formats
ain/formats.h
|
ae70caf7eb708351ee93b35926142e503be79d39 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update texstore comments for R/G textures
ain/texstore.c
|
50b91aa305a633e79413bc755c3496442ec31b1a |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments for RG formats The position of the red and green bits was misstated in the comments. Arguably, the names of these formats should be changed to "GR" to reflect the component ordering and to be consistent with other formats.
ain/formats.h
|
68564726898308c9fd7ac63169bfc2e2012d6fe3 |
29-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't try to allocate zero-sized renderbuffers Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43047 and https://bugs.freedesktop.org/show_bug.cgi?id=43048 Note: This is a candidate for the 7.11 branch. Tested-by: Vinson Lee <vlee@vmware.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
e32ada1b267c9cc84b84400a619cbca14aba2207 |
28-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add missing texfetch table entry for MESA_FORMAT_ARGB2101010_UINT As with the other integer-valued formats, use NULL until we support integer textures. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43316 Tested-by: Vinson Lee <vlee@vmware.com> Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_texfetch.c
|
5c84e961e3984ff7116f14a630b2984c5b97413d |
28-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_object::DriverData field
ain/mtypes.h
|
c5012c1d56dfbf11cd631b3b37890b40d56ac884 |
26-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle MapTextureImage() failures in mipmap generation code And handle potential malloc failures too. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mipmap.c
|
e9840852998f8d66b31c3653c1010b6df2ed4c76 |
26-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle MapTextureImage() failures in glGetTexImage code Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texgetimage.c
|
1ad88fb42dcd69c678ca849151a9aae77d946584 |
26-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle MapTextureImage() failures in glTexImage code Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texstore.c
|
e68994494b159d4f44e34b6b6c1d489a184a2dfe |
26-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix frag shader generation for alpha test with no color buffers If alpha test is enabled and there's no color buffers we still need the fragment shader to emit a color. v2: add _NEW_COLOR flag in _mesa_update_state_locked() Fixes piglit fbo-alphatest-nocolor-ff failures with Gallium drivers. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Eric Anholt <eric@anholt.net> (i965)
ain/ff_fragment_shader.cpp
ain/state.c
|
56b870e44106188f425df6eb45b7a394f0420e5e |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check for null ptr in _mesa_is_bufferobj() This simplifies a few callers. And it adds a bit of robustness. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
ain/bufferobj.c
ain/bufferobj.h
tate_tracker/st_draw.c
|
37bf720da4a165c3fbf22d8ebb87c5c42e02f98e |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_base_format_has_channel() into image.c This is where other format-related functions live. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/fbobject.c
ain/image.c
ain/image.h
ain/texparam.c
ain/texparam.h
|
d45c9b239fdc2a2e06e14fc94c118f27d4011024 |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: combine GL_TEXTURE_INTENSITY/LUMINANCE_SIZE queries Use the _mesa_base_format_has_channel() helper as we do for the other texture format component queries. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/texparam.c
|
f0b6e9a729d14740fc607c1148032d688f3c5c2c |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_base_format_has_channel() in fbobject.c queries Reviewed-by: Eric Anholt <eric@anholt.net>
ain/fbobject.c
ain/texparam.c
ain/texparam.h
|
858d1f0b1cb9087f7eefcb3b8147e06457505ce0 |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix indexing error in unpack_Z32_FLOAT_X24S8() The source array elements are 8-bytes (float + uint) so we need to multiply the src index by 2 to get the right array stride. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/format_unpack.c
|
9f9c8592e692f1c682779f39675be0f3857cae9d |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add ARB_texture_rgb10_a2ui support Add support to the state tracker format and extension enablement code. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
f449be660e70aac2aefd2ce84581e137de25520b |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support. This format is used in the ARB_texture_rgb10_a2ui spec. It adds core mesa support, texformat + texstore support, format_unpack and fbobject.c (all patches from list merged + fixed up). also fixes some whitespace issues. Parts were: Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/fbobject.c
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/image.c
ain/texformat.c
ain/teximage.c
ain/texstore.c
|
47e2e367170edec022481f1487cd980e00ef3203 |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
image/pack: fix missing GL_BGR(A)_INTEGER support. These codepaths were missing the cases for BGR_INTEGER/BGRA_INTEGER. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
ain/pack.c
|
923f143335ad1cba4795276e79cb1a5b0cd19bbc |
26-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
image: fix legal types for packed integer formats. After reading ARB_texture_rgb10_a2ui it appears the packed formats for integer types are only specified via this extension, and not via the original ones. So condition the checks on this. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
|
b50e017ae1941c91cd73099b5c76e292080312e4 |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
pack: fix indentation (trivial) just saw this while looking for other problems. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/pack.c
|
8c1037042fa6af4749be1eb990d83f7e7240684e |
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
glapi: add ARB_texture_rgb10_a2ui support. This just adds one enum. regenerate enums.c. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/enums.c
|
d4fcf67a3ac78c29448000486dadc2b4b1b2a56d |
22-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add MESA_FORMAT_RGBX8888 and MESA_FORMAT_RGBX8888_REV MESA_FORMAT_RGBX8888_REV is one of the opaque pixel formats used on Android. Thanks to texture-from-pixmap, drivers may actually see texture images with this format on Android. MESA_FORMAT_RGBX8888 is added only for completeness. Reviewed-by: Brian Paul <brianp@vmware.com> [olv: Move the new formats after MESA_FORMAT_ARGB8888_REV in gl_format. I accidentally moved them to the wrong place when preparing the patch.]
ain/format_unpack.c
ain/formats.c
ain/formats.h
ain/texstore.c
tate_tracker/st_format.c
wrast/s_texfetch.c
wrast/s_texfetch_tmp.h
|
d2cd621086fdf620a96d599bac0873ff58ddf137 |
26-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
android: pass -std=c99 by default Several modules expect a C99 compiler already. It is also the default for Makefile build.
ndroid.mk
rivers/dri/i915/Android.mk
rivers/dri/i965/Android.mk
|
42c2c371d6c4c82c3e9176e028281a91edfadafd |
15-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
vbo: fix !FEATURE_beginend build Fix a build error in GLES-only build.
bo/vbo_noop.h
|
f99d5af03b0f97d7a1b7076b2142069770879471 |
23-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen6: Fix GPU hang when using stencil buffer without depth Enable the bit 3DSTATE_DEPTH_BUFFER.Tiled_Surface. From the Sandybridge PRM, Volume 2, Part 1, Section 7.5.5.1.1 3DSTATE_DEPTH_BUFFER, Bit 1.27 Tiled Surface: [DevGT+]: This field must be set to TRUE. Fixes GPU hangs on the following Piglit tests: hiz-stencil-test-fbo-d0-s8 hiz-stencil-read-fbo-d0-s8 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
|
8d15268a61fe400668495e6cb42c4d15e8b17cbb |
23-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix complete texturing regression since 27505a105a I had notes to myself to test gen3 and gen4, and then I tested gen4 and called it good. Turns out I forgot to actually call the new function on gen3.
rivers/dri/i915/i915_context.c
|
87f12bb2d95236c7b025d1a8be56b5ab1683d702 |
22-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix build since hiz merge. v2: Guard against rb->mt being NULL, since we may enter the draw regions path before intel_prepare_render() has been called to set them. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (v1)
rivers/dri/i915/Makefile.sources
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_resolve_map.c
|
ca4e664f21d02235ebcbf387aa529468aded37cf |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error message in format_unpack.c
ain/format_unpack.c
|
fc144728c7e33e53f7a4a4486eb81fddff156758 |
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comment for clear_teximage_fields()
ain/teximage.c
|
a7c107f3bc68ddeea8c24eec43c05000224ec93e |
22-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: re-implement unpacking of DEPTH_COMPONENT32F Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43122 Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
ain/format_unpack.c
|
27505a105a4bf8b7329b87d29e1625e545508e4e |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i915: Move the texture format setup for this driver out of shared code. The i965 driver is now enabling all of these formats on its own from the surface format table. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
899e6ea8d3cac3f60c60935d59e020094b4b79a7 |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop intel_context.c's texture format set up for this driver. This is a no-op change on gen6, but should result in some actually-unsupported formats on gen4 no longer being chosen (like RGBA_FLOAT32 now being RGBA_FLOAT16). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
|
f8b13ba1374bd4369ad85f7f2becec375f0b66ad |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ARGB2101010 rendering. GL 3.0 specifies GL_RGB10_A2 as a required sized format for rendering and texturing. This introduces two piglit regressions: one due to fbo-mipmap-copypix hitting swrast GetRow (we want to convert swrast to MapRenderbuffer), and one due to fbo-blending-formats being too picky while leaving dithering on. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
b0a0f4bf14fbaa7df02db1d2057b287bfbea3347 |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for RGBA_16 unorm rendering. GL 3.0 specifies GL_RGBA16 as a required sized format for rendering and texturing. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
1e42568bf304e9b3bae9fef8ad8febd25e1ac29f |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for half-float formats. Now that all the rest of the driver is driven off of the surface formats table, all we really need to do is add the mapping from MESA_FORMAT to BRW_SURFACEFORMAT. However, we also add format override for I16/L16 render targets at the same time, so that existing users of I16 that were getting promoted to I32 and then getting the I32->R32 override still get FBO support. Fixes failures in piglit gl-3.0-required-sized-texture-formats, and will prevent regressions in ARB_texture_float on gen4 when moving to fully table-driven texture format setup. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
f258c0dfa8ffbd67819bda45f2903ce8d5bb5130 |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix unpack for MESA_FORMAT_INTENSITY_FLOAT16. Fixes failures in i965 on fbo-blending-formats when the format is enabled. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/format_unpack.c
|
6216a5b49566fcd3f4b7ed42838858bccd2f0552 |
22-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fall back to float16 if float32 isn't supported in ChooseTexFormat. Until GL 3.0, there isn't any requirement on the actual sizes of channels chosen. By falling back to 16 here, we can correctly support ARB_texture_float on original i965 hardware, which can't correctly filter 32-bit floats.
ain/texformat.c
|
babe26b3efa56f1afd139d5cfecbadb857a43d8f |
07-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add fallback from RGB_FLOAT16 to RGBA_FLOAT16 before RGBA_FLOAT32. Not all i965 hardware can do RGB float16, and this will at least save half the memory and have expected behavior in terms of precision. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texformat.c
|
2d159e6b365f039d9322b59e1538f3d42e8d8d8d |
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Reorganize MESA_FORMAT -> BRW_SURFACEFORMAT table. This should be a no-op change. The initializers are reordered to match the ordering of the enum, since there isn't a clearly sensible ordering, but "the order they were added to the driver, sort of" is definitely not one. Also, the unsupported formats are explicitly initialized to 0, so it's more obvious what we aren't claiming to support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
1b4910b3050729eabac15936ef701ef3acd4e70f |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Mark texture formats as supported using the surface formats table. This is currently duplicated with intel_context.c's setup of the formats table, and sets true for exactly the same set of formats on gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
3d798abc818326a377bbbdaac29058ac7b41e1a0 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Improve debug output for begin/finish render texture. I've never seen a use for the thread ID value, but knowing the format being rendered is kind of a big deal. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
05ab8fc13461aa9d6612d75c899dac20de067da6 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove duplicate test for texture attachment completeness. We are already testing this if appropriate in intel_validate_framebuffer (FBO completeness), so no need to avoid attaching the texture to the renderbuffer here. This causes MESA_FORMAT_R11_G11_B10_FLOAT to now be renderable as a texture attachment on i965. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
925356c8c0b21998a1f53f042269818c19163385 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't require spans (swrast) support to consider a format FBO complete. We don't want to go writing GetRow/PutRow for every format required by GL 3.0, when it's very hard to get those functions called, and in every case we want to make swrast do direct mapping through MapRenderbuffer anyway. This causes MESA_FORMAT_R11_G11_B10_FLOAT to be considered complete on gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
ca10b2d4494798405a5fd654201291944645af5d |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use the surface format table to determine render target supportedness. This moves any chipset-dependent logic we want for render target format choices to init time as well. There is still logic left at state update for SRGB handling, where format choices change based on GL state. The brw_render_target_supported() function should now return correct results, instead of relying on the limited results from intel_span_supports_format() to avoid lying about FBO completeness. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
6661b7596f3b26a773ccde79f018179713b6b6e0 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add the context to the render_target_supported() vtbl method. We're going to want to provide different answers per chipset generation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
|
e589ebdf23342111587b9ebd0f0dcb2580a2dac2 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add a table of the surface format information from the PRM. This will be used to drive chosing formats and determining framebuffer completeness, instead of the bunch of ad-hoc checks we have had until now. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
755f0a0a02c5cf3be7e69ad51b411711fcc0bc27 |
17-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make formats.c "datatype" values match glGetTexLevelParameter return. The formats.c code's "datatype" value is "what does this value mean", i.e. unorm or snorm or float, and is the return value from the GL_TEXTURE_RED_TYPE class of queries. The depth formats were marked as GL_UNSIGNED_INT, which is what we use for integer, and not what we should be returning from the glGetTexLevelParameter. In texstore, we were inappropriately using it as an argument to _mesa_unpack_depth_span() that was expecting a value like GL_UNSIGNED_INT or GL_UNSIGNED_SHORT. Just hardcode _mesa_unpack_depth_span()'s arguments for now, though it looks like the consumers of that interface would be happier with using MESA_FORMAT. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/formats.c
ain/readpix.c
ain/texstore.c
|
250a9c8e7eabd38e38f39898b117f26533609d07 |
04-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't report types for 0-sized components of textures. The GL_TEXTURE_WHATEVER_SIZE entrypoints were checking if the specified base type of the texture allowed that channel to be present before reporting the size of the channel, so that GL_RGB didn't end up with an alpha size if the hardware driver had to store it that way. The GL_TEXTURE_WHATEVER_TYPE entrypoints weren't checking it, so you would end up with strange responses from the GL involving 0-bit floating-point alpha components in GL_RGB32F, even though it says GL_NONE as expected for other 0-sized channels. Make _TYPE check _BaseFormat the same as _SIZE, which results in fixing most of the GL_RGB* testcases of gl-3.0-required-sized-formats pass on i965. v2: Add a default case with a warning (suggestion by Brian Paul) Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
ain/texparam.c
|
bb71f9249a66b9a4921a878766c0a2d87624c369 |
19-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: separate out floating-point CAPs into its own enum The motivation behind this is to add some self-documentation in the code about how each CAP can be used. The idea is: - enum pipe_cap is only valid in get_param - enum pipe_capf is only valid in get_paramf Which CAPs are floating-point have been determined based on how everybody except svga implemented the functions. svga have been modified to match all the other drivers. Besides that, the floating-point CAPs are now prefixed with PIPE_CAPF_.
tate_tracker/st_extensions.c
|
2a0126932b320806e030c1c085791e257516e0cd |
18-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove PIPE_CAP_GLSL and enable GLSL unconditionally Only i965g does not enable GLSL, but that driver has been unmaintained and bitrotting for quite a while anyway.
tate_tracker/st_extensions.c
|
bbcb648bc2f45dd85e33c7301527c8f6d97cbce6 |
19-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename the AMD_conservative_depth extension flag to ARB Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/extensions.c
ain/mtypes.h
|
e99df05cce8a5ecf69fdb634f76898a279456ea4 |
20-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: quick fix of CopyPixels with GL_DEPTH_STENCIL This fixes: - depthstencil-default_fb-copypixels - fbo-depthstencil-GL_DEPTH24_STENCIL8-copypixels Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
4ce635c871d00e442efb2b265562685d7edd44ae |
22-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
Merge branch 'hiz' of ssh://people.freedesktop.org/~chadversary/mesa
|
e5411d8fdc6a7dda18d82746b84197ef83ee0a13 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen6: Enable HiZ by default Regresses one Piglit test: bugs/fdo10370. I'm not enabling HiZ for gen7 yet because it causes a mysterious performance regression. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
b18875d441ca4b7b1a4098659fb4298a4bf265f6 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Use separate stencil whenever possible For depthstencil renderbuffers, we were using separate stencil only if the hardware required it. Since the performance gains from HiZ is so high, we should always use separate stencil if the hardware supports it. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
|
e7e81714f3ecf67a975d35e74bdb7fd15d924e4d |
08-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement the actual tables for texture alignment units [v2] I implemented functions for horizontal/vertical alignment units separately because I find it easier to read that way...especially with all the corner-cases. [chad] Corrected the vertical alignment calculation by checking for depthstencil formats. v2: - Fix typos in intel_horizontal_texture_alignment_unit(): s/height/width/ and s/VALIGN/HALIGN. - Remove special case for compressed formats in intel_get_texture_alignment unit(). Compressed formats are already handled in the halign and valign functions. - Replace check ``_mesa_is_depth_format(...) || _mesa_is_depthstencil_format(...)`` with explcitit checks against GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
dd0e46c4102976b7d317104ecd1bb565ac34613a |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen6: Set vertical alignment in SURFACE_STATE batch Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_surface_state.c
|
017c13d55b5b086774d6afea2ca754482c624c6a |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Store miptree alignment units in the miptree This allows us to replace all the calls to intel_get_texture_alignment_unit() with a single call at miptree creation. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
|
293e9a7ccfeb64efd54464658518e4ded054a13c |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Enable HiZ for texture renderbuffers When a depth texture is first attached to framebuffer, allocate a HiZ miptree for it. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
b264698d30d3c789bbe1fc64fd72c731f342877a |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Resolve buffers in intel_map_renderbuffer() Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
d2e35a5460c5c4b3951c0aaca4fdb867b20478bb |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Resolve buffers in intel_map_texture_image() Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_tex.c
|
3d760664e6349c72624aa6d54d40df0233995c8e |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Mark needed resolves when first enabling HiZ on a miptree Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
1b2baf3b08d545c772e9636fb0a0614c489c3916 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Mark that depth buffer needs depth resolve after drawing After brw_try_draw_prims() emits a batch, mark that the depth buffer needs a depth resolve if the buffer was written to and if it has an accompanying HiZ buffer. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_draw.c
|
622bae07a5da91bc966d173fd6df92a640e4f574 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Resolve buffers in intelSpanRenderStart Resolve all buffers that will be mapped by intelSpanRenderStart. This comprises resolving the depth buffer of each enabled texture and of the read and draw buffers. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_span.c
|
1eede4aa8771c058bc560123d4b7c5625e23c8b6 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intelSpanRenderStart Factor the mapping loops from intelSpanRenderStart() into intel_span_map_buffers(). This in preparation for the next commit, which resolves the buffers before mapping. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_span.c
|
3b0d295e122f8ca6e0ebe4593a1e0660308a18c3 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Resolve buffers before drawing [v2] Before emitting primitives in brw_try_draw_prims(), resolve the depth buffer's HiZ buffer and resolve the depth buffer of each enabled depth texture. v2: [anholt] The driver no longer validates drm bo's, so update a comment to reflect that. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_draw.c
|
b95986729ef3522a65b7357aea99c6358f9d53c8 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Prevent recursive calls to FLUSH_VERTICES [v2] To do so, we must resolve all buffers on entering a glBegin/glEnd block. For the detailed explanation, see the Doxygen comments in this patch. v2: - Fix typo: s/enusure/ensure/. - In brwPrepareExecBegin(), do the same resolves as done by brw_predraw_resolve_buffers(). Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.c
|
12498553462c7807034814cf843d86d52c407380 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen6: Manipulate state batches for HiZ meta-ops [v4] A lot of the state manipulation is handled by the meta-op state setup. However, some batches need manual intervention. v2: Do not special-case the 3DSTATE_DEPTH_STENCIL.Depth_Test_Enable bit for HiZ in gen6_upload_depth_stencil(). The HiZ meta-op sets ctx->Depth.Test, just read the value from that. v3: Add a new dirty flag, BRW_STATE_HIZ, for brw_tracked_state. Flag it immediately before and after executing the HiZ operation in gen6_resolve_slice(). Add the flag to the the dirty bits for the following state packets: gen6_clip_state gen6_depth_stencil_state gen6_sf_state gen6_wm_state v4: - Add BRW_NEW_STATE_HIZ to the dirty bit table in brw_state_upload.c. This is needed for INTEL_DEBUG=state. - Align brw dirty bit for gen6_depth_stencil_state. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
|
d1f1d348d8ff6ce9249cd9971e79e5bce0e60756 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965/gen6: Complete stubs for HiZ buffer resolves Some state batches also need to be manipulated. That's done in the next commit. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/gen6_hiz.c
|
77a18428fffc938a4e3fa9b592e3e104dda0fe7f |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
i965: Add HiZ operation state to brw_context brw_context::hiz contains state needed to perform HiZ meta-ops and indicates if a HiZ operation is currently in progress. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_context.h
|
1383e56bd916f9fc4357a6224aac4e8c691303cb |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Add resolve functions for renderbuffers Add the following functions: intel_renderbuffer_resolve_hiz intel_renderbuffer_resolve_depth Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
2945abea338031cbe90665df60152982bfca6177 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Add resolve functions for miptrees Add functions that - set a miptree slice as needing a resolve - resolve a single slice of a miptree - resolve all slices of a miptree Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
cf5e08c8e41473467a8732fc834cec52f8b10dc8 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Add field intel_mipmap_tree::hiz_map This is a map of miptree slices to needed resolves. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.h
|
8d3aa14e893d2912c393ac1ad9e142699d561018 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Define struct intel_resolve_map [v2] This is a map of miptree slices to needed resolves, implemented as a linked list. A future commit will embed such a list in intel_mipmap_tree. If you think I'm crazy to put a list in a miptree, read the Doxygen in this patch for intel_resolve_map. v2: [anholt] Move Doxygen from functin prototypes to definitions. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/Makefile.sources
rivers/dri/intel/intel_resolve_map.c
rivers/dri/intel/intel_resolve_map.h
|
f17b12278dcc0e370d04a2a9a73677ab4c9f2c26 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Change signature of HiZ resolve functions Now that intel_renderbuffer::region has been replaced with a miptree, the HiZ functions region parameter must be replaced with a miptree parameter. Change the return type from bool to void. Rename the 'depth' parameter to 'layer', because it will correspond to irb->mt_layer. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen6_hiz.h
rivers/dri/intel/intel_context.h
|
c0151839473c83a2d0eea6285a649c1674466752 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Remove unused HiZ functions Remove the following functions: i830_hiz_resolve_noop i915_hiz_resolve_noop brw_hiz_resolve_noop My original strategy for how intel->vtbl.resolve_*buffer was used has substantially changed. The above functions are no longer called in the current strategy. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_vtbl.c
|
a2e44b0813e956440c451c107cf5564b56cbe98e |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Replace intel_mipmap_tree::hiz_region with a miptree [v2] This is required to correctly implement HiZ for mipmapped and multi-layered textures. v2: Accomodate refcount fixes in intel_process_dri2_buffer_*() that were introduced in v2 of commit intel: Replace intel_renderbuffer::region with a miptree [v2] Reviewed-by: Eric Anholt <eric@anholt> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
3eb12dfaeed03f77e31943eea164acb03e86bbc9 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Replace intel_texture_image::stencil_irb with intel_mipmap_tree::stencil_mt [v3] For depthstencil textures using separate stencil, we embedded a stencil buffer in intel_texture_image. The intention was that the embedded stencil buffer would be the golden copy of the texture's stencil bits. When necessary, we scattered/gathered the stencil bits between the texture miptree and the embedded stencil buffer. This approach had a serious deficiency for mipmapped or multi-layer textures. Any given moment the embedded stencil buffer was consistent with exactly one miptree slice, the most recent one to be scattered. This permitted tests of type A to pass, but broke tests of type B. Test A: 1. Create a depthstencil texture. 2. Upload data into (level=x1,layer=y1). 3. Read and test stencil data at (level=x1, layer=y1). 4. Upload data into (level=x2,layer=y2). 5. Read and test stencil data at (level=x2, layer=y2). Test B: 1. Create a depthstencil texture. 2. Upload data into (level=x1,layer=y1). 3. Upload data into (level=x2,layer=y2). 4. Read and test stencil data at (level=x1, layer=y1). 5. Read and test stencil data at (level=x2, layer=y2). v2: Only allocate stencil miptree if intel->must_use_separate_stencil, because we don't make the conversion from must_use_separate_stencil to has_separate_stencil until commit intel: Use separate stencil whenever possible v3: Don't call ChooseNewTexture in intel_renderbuffer_wrap_miptree() in order to determine the renderbuffer format. Instead, pass the format as a param to that function. CC: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
|
c80b31fdee1fa96b8d45ad2537ecdb5b9151973e |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_render_texture() [v2] This is in preparation for properly implementing glFramebufferTexture*() for mipmapped depthstencil textures. The FIXME comments deleted by this patch give a rough explanation of what was broken. This refactor does the following: - In intel_update_wrapper() and intel_wrap_texture(), change the parameters to prepare to remove functions' dependency on gl_texture_image. - Move the call to intel_renderbuffer_set_draw_offsets() from intel_render_texture() into intel_udpate_wrapper(). Each time I encounter those functions, I dislike their vague names. (Update which wrapper? What is wrapped? What is the wrapper?). So, while I was mucking around, I also renamed the functions. v2: In addition to the ``GLenum internal_format`` parameter to intel_wrap_miptree(), add a ``gl_format format`` parameter. This removes the need to recalculate for the true format from internal_format with ChooseNewTextureFormat, which was just weird. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
73540690f71280a2bdda51b45203fd4ed43a1760 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Define intel_miptree_check_level_layer() This is a small helper function that asserts that a given level and layer are valid for a miptree. I will be extensively using it in the future miptree HiZ functions. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.h
|
3b38b33c1648b07e75dc4d8340758171e109c598 |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Remove unneeded params from intel_renderbuffer_set_draw_offset() Since the renderbuffer tracks the miptree level and layer that it wraps, the 'tex_image' and 'zoffset' params are no longer needed to calculate the draw offsets. Not only are they no longer needed, but their presence would prevent calculating the renderbuffer draw offsets in situations where there were no texture image. Such situations will occur during the HiZ meta-op and during scatter/gather of separate stencil textures. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_tex_image.c
|
24da7335b22432ef4c2d57cab86e4b8fbe8733d5 |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Track the miptree layer wrapped by a renderbuffer [v2] TODO: Make v2 for kwg. Add two fields to intel_renderbuffer: mt_level mt_layer Multiple renderbuffers may simultaneously wrap a single texture and each provide a different view into that texture. [Consider glFramebufferTextureLayer()]. The new fields indicate which slice of the miptree is wrapped by the renderbuffer. The buffer resolve operations, to be introduced in the future, require these fields in order to resolve the correct slice in the miptree. To add the fields, it was necessary to replace the type of some function parameters from gl_texture_image to gl_renderbuffer_attachment. v2: [kwg] Replace confusing condition `CubeMapFace > 0` with the more sensible `Target == GL_TEXTURE_CUBE_MAP`. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
d7b33309fe160212f2eb73f471f3aedcb5d0b5c1 |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Kill intel_mipmap_level::nr_images [v4] For all texture targets except GL_TEXTURE_CUBE_MAP, the 'nr_images' and 'depth' fields of intel_mipmap_level were identical. In the exceptional case, nr_images == 6 and depth == 1. It is simple to determine if a texture is a cube or not, so the presence of two fields here was not helpful. Worse, it was confusing. When we eventually implement GL_ARB_texture_cube_map_array, this mess would have become even more confusing. This patch removes 'nr_images' and assigns to 'depth' a consistent meaning: depth is the number of 2D slices at each miplevel. The exact semantics of depth varies according to the texture target: - For GL_TEXTURE_CUBE_MAP, depth is 6. - For GL_TEXTURE_2D_ARRAY, depth is the number of array slices. It is identical for all miplevels in the texture. - For GL_TEXTURE_3D, it is the texture's depth at each miplevel. Its value, like width and height, varies with miplevel. - For other texture types, depth is 1. As a consequence, parameters were removed from the following function signatures: intel_miptree_set_level_info Remove 'nr_images'. i945_miptree_layout brw_miptree_layout_texture brw_miptree_layout_texture_array Remove 'slices'. v2: - Replace "It's" with "Its". - Remove all hunks in intel_fbo.c. The hunks were spurious and sneaked in during a rebase. - Remove unneeded hunk in intel_tex_map_image_for_swrast(). It was a little refactor of the for-loop's upper bound. v4: In intel_miptree_get_image_offset(), document the conditions under which different if-branches are taken. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
rivers/dri/intel/intel_tex_validate.c
|
c87d1a3c3d24924f8af082e47c18a6d535419089 |
21-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix accum buffer allocation in st_renderbuffer_alloc_storage() If the gallium driver doesn't support PIPE_FORMAT_R16G16B16A16_SNORM the call to st_choose_renderbuffer_format() would fail and we'd generate an GL_OUT_OF_MEMORY error. We'd never get to the subsequent code that handles software/malloc-based renderbuffers. Add a special-case check for PIPE_FORMAT_R16G16B16A16_SNORM which is used for software-based accum buffers. This could be fixed in other ways but it would be a much larger patch. st_renderbuffer_alloc_storage() could be reorganized in the future. This fixes accum buffer allocation for the svga driver. Note: This is a candidate for the 7.11 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_fbo.c
|
278e77a1192d5251c5b70a555e676f72b446e8e1 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_miptree_copy_teximage() Extract the body of the inner loop into a new function, intel_miptree_copy_slice(). This is in preparation for adding support for separate stencil and HiZ to intel_miptree_copy_teximage(). When copying a slice of a depthstencil miptree that uses separate stencil, we will also need to copy the corresponding slice of the stencil miptree. The easiest way to do this will be to call intel_miptree_copy_slice() recursively. Analogous reasoning applies to copying a slice of a depth miptree with HiZ. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
|
c2ddde70daece24d1eb7185946032158993a9e4d |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_mipmap_level offsets Add a new field, intel_mipmap_level::slice, and move the offset fields into it. Also add some much needed documentation for these fields. Before this patch, a separate array was allocated for the intel_mipmap_level::{x,y}_offsets. This was just silly; it incurred an extra call to malloc and diminished memory locality. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
da2816a45e6e3a33246a341fee72e6f893f315d9 |
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Replace intel_renderbuffer::region with a miptree [v3] Essentially, this patch just globally substitutes `irb->region` with `irb->mt->region` and then does some minor cleanups to avoid segfaults and other problems. This is in preparation for 1. Fixing scatter/gather for mipmapped separate stencil textures. 2. Supporting HiZ for mipmapped depth textures. As a nice benefit, this lays down some preliminary groundwork for easily texturing from any renderbuffer, even those of the window system. A future commit will replace intel_mipmap_tree::hiz_region with a miptree. v2: - Return early in intel_process_dri2_buffer_*() if region allocation fails. - Fix double semicolon. - Fix miptree reference leaks in the following functions: intel_process_dri2_buffer_with_separate_stencil() intel_image_target_renderbuffer_storage() v3: - [anholt] Fix check for hiz allocation failure. Replace ``if (!irb->mt)` with ``if(!irb->mt->hiz_region)``. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
005149d5860ad55c5e58e2de8a138e3a763f2036 |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Define intel_miptree_create_for_renderbuffer() This function creates a miptree that is suitable as storage for a non-texture renderbuffer. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
c3c7cbd15418293208034e8970d626b5998abd4b |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Move inline functions from intel_fbo.h to .c Move the following inline functions: intel_get_rb_region intel_framebuffer_has_hiz A future commit will replace the renderbuffer's region with a miptree. This small refactor will eliminate the need for intel_fbo.h to include intel_mipmap_tree.h on that commit. I'd like to avoid the situation where each header transitively includes every other header. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
19faa12bb751eabc1590d042adbd345b89542de0 |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Kill intel_framebuffer_get_hiz_region() The only user of intel_framebuffer_get_hiz_region() was intel_framebuffer_has_hiz(). So I folded the body of the former into the latter. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.h
|
7e9b3c098c58af49a809afbc17d508f23eab21c2 |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Temporarily disable HiZ for textures A great refactor thrashing begins after this commit for HiZ and separate stencil. Removing code for texture HiZ will make that refactoring easier, because then we don't have to maintain that code during the refactor. To disable HiZ for textures, I've removed the hook in intel_update_wrapper() that allocates a HiZ buffer when attaching a depth texture to a framebuffer. HiZ was broken for textures anyway, so there's no regression here. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
190aec75a4362b56b9b311975a777c56e8e6c67d |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Always gather stencil buffer in intel_map_renderbuffer_separate_s8z24() The function gathered the stencil buffer into the depth buffer only when the map mode contained the read bit. But we must do the gather even if the map mode is write-only. If we do not, then, when the depth buffer's stencil bits are scattered into the stencil buffer by intel_unmap_renderbuffer(), some of the scattered stencil bits would be invalid. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
af35a3523df7f555427de4835ae092d1836c3c95 |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix swrast_render_start() for depthstencil buffers with separate stencil 1. Don't map the depthstencil buffer twice Place a guard in intel_renderbuffer_map() to prevent a renderbuffer from being mapped twice. This happened if a single buffer was attached to the framebuffer's depth and stencil attachment points. (Interestingly, because intel_map_renderbuffer_gtt() is idempotent, the double mapping did not cause bugs for depthstencil buffers *without* separate stencil). 2. Stop overriding gl_framebuffer::_DepthBuffer,_StencilBuffer Normally, if a depthstencil buffer is attached to the framebuffer's depth attachment point, then _mesa_update_framebuffer() installs a wrapper depth renderbuffer at gl_framebuffer::_DepthBuffer. Ditto for the stencil attachment point and gl_framebuffer::_StencilBuffer A depthstencil intel_renderbuffer with separate stencil contains hidden depth and stencil renderbuffers, which are the *real* renderbuffers. In order to force swrast to work, we were installing, in brw_update_draw_buffer(), the hidden renderbuffers at gl_framebuffer::_DepthBuffer and _StencilBuffer, thus overriding the behavior of _mesa_update_framebuffer(). However, now that intel_renderbuffer_map() is implemented with MapRenderbuffer(), overriding _mesa_update_framebuffer's introduces bugs. This patch removes the override code. Fixes several Piglit tests on gen7. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_span.c
|
3d2235e6c76a8a6aef2a14ca57c68403cf056921 |
17-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Don't use special stencil span accessors The special stencil span accessors, as set by intel_span_init_funcs. perform software W detiling. Since intel_renderbuffer_map() now uses MapRenderbuffer, rb->Data points to an *untiled* stencil buffer. Fixes several Piglit tests on gen7. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_span.c
|
915bcc29d415a506d30ad743cde7c98fcb512ba0 |
15-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
st/mesa: use PIPE_SHADER_CAP_OUTPUT_READ Don't replace outputs with temps when the driver supports reading outputs. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
2e6402feb754dd6384ee27fe623a7f9fce66dcaf |
21-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
swrast: fix unmatched span->array->ChanType texture_combine converts the result rgba to CHAN_TYPE from FLOAT. At the same time, make sure the span->array->ChanType is changed, too. v2: pick a nicer comment from Brian Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_texcombine.c
|
6ba8f0688a35ffac93bd025739aefe8e3694ca0c |
18-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
swrast: simplify the prototype of function texture_combine Parameter n and rgbaChan are both from structure span, thus using span as paramter to simplify the prototype. Function texture_combine is only used by _swrast_texture_span, so I guess it's safe to do so. This patch is mainly for the next patch. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_texcombine.c
|
bdffb941d3102f9e0651a0c5f97c677955b63d2f |
19-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove unused file brw_fallback.h.
rivers/dri/i965/brw_fallback.h
|
ec174a424489664626796126f937fbce3e7d8cd8 |
18-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: set the gl_FragDepth layout in the GLSL linker Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
038a7dfcaaa7a8e5e108e247b2ffd786b3b015a3 |
18-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle MapRenderbuffer() failures in glReadPixels Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/readpix.c
|
72fb25cefbf58d477d99ce2c986a703f1178cf59 |
19-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make slow_read_rgba_pixels() a void function The boolean return value was ignored by the caller. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/readpix.c
|
2efa3d4f9fd1e1683c5366d402d8740ecfb688e5 |
19-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: define, use _mesa_is_cube_face() in several places Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
ain/texgetimage.c
ain/teximage.c
ain/teximage.h
|
a43908fe62c39b84f014ddf2bee15cd07a77fc0d |
18-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: rewrite the primitive restart fallback code Previously we were mapping/unmapping the index buffer each time we found the restart index in the buffer. This is bad when the restart index is frequently used. Now just map the index buffer once, scan it to produce a list of sub-primitives, unmap the buffer, then draw the sub-primitives. Also, clean up the logic of testing for indexed primitives and calling handle_fallback_primitive_restart(). Don't call it for non-indexed primitives. v2: per Jose, only map the relevant part of the index buffer with pipe_buffer_map_range() Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_draw.c
|
7e84a64dd02794a59586ba58ef0864118534d3c6 |
10-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Fix sampling from integer textures. On original gen4, the surface format didn't determine the return data type from sampling like it does on g45 and later. Fixes GL_EXT_texture_integer/texture_integer_glsl130 Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_wm_emit.c
|
4b1205d53b26dadba13578cf875feeeaa2018f74 |
17-Nov-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
Revert "read_rgba_pixels: Don't force clamping if the renderbuffer is normalized." This reverts commit b11c16752a18ef8dfb96d9f0ead6ecb62bde6773. Breaks at least luminance destination formats.
ain/readpix.c
|
b11c16752a18ef8dfb96d9f0ead6ecb62bde6773 |
16-Nov-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
read_rgba_pixels: Don't force clamping if the renderbuffer is normalized. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/readpix.c
|
f4c03da3276bee39802236c21a0b5a31f05e2541 |
16-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: initialize stencilMap, Stride if stencilRb==depthRb
ain/readpix.c
|
010dc29283cfc7791a29ba8a0570d8f7f9edef05 |
10-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Only update sampler uniforms that are used by the shader stage Previously a vertex shader that used no samplers would get updated (by calling the driver's ProgramStringNotify) when a sampler in the fragment shader was updated. This was discovered while investigating some spurious code generation for shaders in Cogs. The behavior in Cogs is especially pessimal because it ping-pongs sampler uniform settings: glUniform1i(sampler1, 0); glUniform1i(sampler2, 1); draw(); glUniform1i(sampler1, 1); glUniform1i(sampler2, 0); draw(); glUniform1i(sampler1, 0); glUniform1i(sampler2, 1); draw(); // etc. ProgramStringNotify is still too big of a hammer. Applications like Cogs will still defeat the shader cache. A lighter-weight mechanism that can work with the shader cache is needed. However, this patch at least restores the previous behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniform_query.cpp
|
f6a50c0b1ff620d1b721968144a56452c0bd6d85 |
16-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: don't map depth+stencil buffer twice in glReadPixels() In slow_read_depth_stencil_pixels_separate() we might have separate depth and stencil buffers or a combined buffer. In the later case, don't map the buffer twice. This function is used when the depth scale/bias pixel transfer values are not the defaults. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=42963 Reviewed-by: José Fonseca <jfonseca@vmware.com>
ain/readpix.c
|
728a830fae690a4c6063ba4829dabe450b6c287d |
14-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix inconsistent indentation in brw_gs_emit.c.
rivers/dri/i965/brw_gs_emit.c
|
4f677ca5f9f998a6f57a1390156e772f1f87280a |
16-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: do not skip att and spot calculation for infinite light glspec doesn't say that we should skip the attenuation and spot calculation for infinite light(Ppli.w == 0). Instead, it gives a same formula to do the light calculation for both finite light and infinite light(see page 62 of glspec 2.1.pdf) Also from the formula (2.4) at page 62 of glspec 2.1.pdf, we can skip attenuation calculation if Ppli.w == 0. This would fix all the intel oglc l_sed fail subcases and introduces no intel oglc regressions. v2: fix an wrong intendation(comments from Brian). Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Acked-by: Brian Paul <brianp@vmware.com>
ain/ffvertex_prog.c
|
099c4e372df0acb2bda61ccf9e6538b3d8349ea3 |
15-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: make sure all lighting tables are updated before the computation Make sure all lighting tables are updated before using the table to calculate something, say using _SpotExpTable to calculate _VP_inf_spot_attenuation. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/light.c
|
d4df6318a1014ad99149fd13d0d90ef6c0c0fb31 |
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix a couple of missed conversion to arrays in format_unpack. Fixes regression in piglit: ARB_color_buffer_float/GL_RGBA16F-getteximage ARB_color_buffer_float/GL_RGBA16F-readpixels ARB_color_buffer_float/GL_RGBA32F-getteximage ARB_color_buffer_float/GL_RGBA32F-readpixels Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
2bf9aeaa19f75816c6342fe564ad7c4bcdc97e12 |
04-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Include R/RG integer textures in _mesa_is_integer_format. Fixes some spurious GL errors in the upcoming gl-3.0-required-sized-formats piglit test. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/image.c
|
79653c12d6da4d89aaa73e4e8260a84d91f93593 |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix separate stencil in builtin DRI2 backend intelAllocateBuffer() was oblivious to separate stencil buffers. This patch fixes it to allocate a non-tiled stencil buffer with special pitch, just as the DDX does. Without this, any app that attempted to create an EGL surface with stencil bits would crash. Of course, this affected only environments that used the builtin DRI2 backend, such as Android and Wayland. Fixes GLBenchmark2.1 on Android on gen7. Note: This is a candidate for the 7.11 branch. Tested-by: Louie Tsaie <louie.tsai@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_screen.c
|
50b33560784dde428fbb5dfe7d428255874c496c |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix region dimensions for stencil buffers received from DDX I changed the dimensions of the stencil buffer's region, as allocated by the DDX, at xf86-video-intel commit commit 3e55f3e88b40471706d5cd45c4df4010f8675c75 dri: Do not tile stencil buffer But I forgot to make the analogous update to the Intel DRI2 glue in Mesa. This patch makes that update. Surprisingly, the mismatch did not cause any bugs. But the mismatch, if left unfixed, *would* create bugs in the next commit. Note: This is a candidate for the 7.11 branch. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_context.c
|
dc4c3a31c64aae2c3d76ccbd5bf54d04a1d5d041 |
15-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Simplify stencil detiling arithmetic When calculating the y offset needed for detiling window system stencil buffers, replace the term region->height * 2 + region->height % 2 - 1 with rb->Height - 1 . The two terms are incidentally equivalent due to some out-of-date, incorrect code in the Intel DRI2 glue for DDX. (See intel_process_dri2_buffer_with_separate_stencil(), line ``buffer_height /= 2;``). Note: This is a candidate for the 7.11 branch (only the intel_span.c hunk). Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
|
1161facaf9bb14086807714c72a7554ed229a52f |
15-Nov-2011 |
Brian Paul <brianp@vmware.com> |
radeon: use _mesa_readpixels() instead of _swrast_ReadPixels()
rivers/dri/radeon/radeon_pixel_read.c
|
b31bc6b5434b5c27136d2fa4386b2904411eb3f6 |
15-Nov-2011 |
Brian Paul <brianp@vmware.com> |
i965: use _mesa_readpixels() instead of _swrast_ReadPixels()
rivers/dri/intel/intel_pixel_read.c
|
caaefe19691a58676a5f8fc5f0a2c06236cd5dc8 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: convert unpack functions to operate on an array of values Reviewed-by: Eric Anholt <eric@anholt.net>
ain/format_unpack.c
|
546f76d58f619e3d7e016b3eb04254d5c5c3f39f |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new BYTE/SHORT_TO_FLOATZ() macros Rather than redefining the BYTE/SHORT_TO_FLOAT macros, just define new ones with different names. These macros preserve zero when converting. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
ain/macros.h
ain/pack.c
|
b098e1af1cdaea8767b8f1416469cdd02a9c39a9 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move CEILING() macro into macros.h Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
ain/macros.h
ain/pack.c
|
bef4b42938c92fbd6540e81ea4829b0f1d0a6a8b |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused macros in macros.h Reviewed-by: Eric Anholt <eric@anholt.net>
ain/macros.h
|
83863d468e2375696478e3ec83c42aaab9fbc19c |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate cases in _mesa_components_in_format() and _mesa_sizeof_packed_type() Reviewed-by: Eric Anholt <eric@anholt.net>
ain/image.c
|
6dbf2bac5043564f32cdad08e8d6220618a02080 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix glReadPixels from texture attachment Fixes https://bugs.freedesktop.org/show_bug.cgi?id=42635
wrast/s_texrender.c
|
d0836eda5e7d8e9093c1975ef545e3b3deb287a1 |
14-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: check for missing VBO in setup_interleaved_attribs() This fixes a crash with the piglit vbo-too-small test. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_draw.c
|
94780b5ee6dc118e22c29b5543c4db8e0ab1f393 |
14-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove most of the ReadPixels code We can use the core Mesa code for glReadPixels now. We just have to validate state and flush the bitmap cache before reading.
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
|
3754ebb33dc6bfb3db59f23f0b3690134a71aa15 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove dependencies on code in st_cb_readpixels.c st_cb_readpixels.c is going away next. Acked-by: Eric Anholt <eric@anholt.net>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
|
77c85f014aa1db44f60b1b3291af8132ab65f444 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _swrast_ReadPixels() We use the code in main/readpix.c now. Acked-by: Eric Anholt <eric@anholt.net>
Conscript
ources.mak
wrast/s_depth.c
wrast/s_readpix.c
wrast/swrast.h
|
bd5ba36bf73fb63e62f779138d5e1ef6fcec6f26 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_readpixels() as default driver hook Acked-by: Eric Anholt <eric@anholt.net>
rivers/common/driverfuncs.c
|
d2a23d4ded958ceb480c97a303003ea009d5fd41 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move swrast ReadPixels code into core Mesa The swrast ReadPixels code has no dependencies on swrast since moving to Map/UnmapRenderbuffer(). We'll be able to remove s_readpix.c and remove the state tracker's glReadPixels code next. Acked-by: Eric Anholt <eric@anholt.net>
ain/readpix.c
ain/readpix.h
|
e0e454943cf40730b6ba311310d9878f704a4f95 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: check renderbuffer orientation in st_MapRenderbuffer() We'll soon be able to use these for a core Mesa implementation of glReadPixels. Acked-by: Eric Anholt <eric@anholt.net>
tate_tracker/st_cb_fbo.c
|
371b1648abc368fe27e3f78c7b675a1a022d3223 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove support for software alpha buffers This was only used by the xlib driver to add an alpha channel to the front/window color buffer. This was no longer going to work well with the move to direct mapping of renderbuffers. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/renderbuffer.c
ain/renderbuffer.h
|
6c6803f28de0d4cb6937fcd95a47aa81da31fd78 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: remove xm_image.[ch] files Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/Makefile
rivers/x11/xm_image.c
rivers/x11/xm_image.h
|
bc63b226bcc94f109906bccce26d47509f28d177 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: remove a ton of old xlib driver cruft The days of 1-bpp, 8-bpp and dithering are long behind us. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
rivers/x11/xmesa_x.h
rivers/x11/xmesa_xf86.h
|
c9bfad2921904780d982917def276a6979a5debd |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: use MESA_FORMAT_XRGB8888 for pixmap surfaces We no longer have software-allocated alpha buffers so we can forget about the alpha channel. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/xm_buffer.c
|
dff2394e08651304d924ef9df796ff0ac6b844c3 |
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: remove software alpha buffer support Seldom used and this won't work when we move to using Map/UnmapRenderbuffer everywhere. This will let us remove a bunch of core Mesa code too. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
6d68855df133bdd4891e8aa428787b520739e0fe |
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace GLstencil with GLubyte
ain/mtypes.h
ain/pack.c
ain/pack.h
ain/pixeltransfer.c
ain/pixeltransfer.h
tate_tracker/st_cb_readpixels.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_zoom.c
wrast/s_zoom.h
|
cc502aa9419a6fb127b264dbb131c786281cb8c7 |
14-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix intel_map_renderbuffer() for depthstencil buffers with separate stencil For a depthstencil buffer with separate stencil, intel_renderbuffer::region is null. (The regions are kept in hidden depth and stencil buffers). Since the region is null, intel_map_renderbuffer() assumed there was no data and returned a null map pointer, which in turn was dereferenced (!) by MapRenderbuffer's caller. This patch fixes intel_map_renderbuffer() to map the hidden depth buffer through the GTT and return that as the mapped pointer. Also, the stencil bits are scattered and gathered when needed. Fixes the following Piglit tests on gen7: fbo/fbo-readpixels-depth-formats hiz/hiz-depth-read-fbo-d24s8 hiz/hiz-stencil-read-fbo-d24s8 EXT_packed_depth_stencil/fbo-clear-formats EXT_packed_depth_stencil/fbo-depth-GL_DEPTH24_STENCIL8-blit EXT_packed_depth_stencil/fbo-depth-GL_DEPTH24_STENCIL8-drawpixels EXT_packed_depth_stencil/fbo-depth-GL_DEPTH24_STENCIL8-readpixels EXT_packed_depth_stencil/fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8 EXT_packed_depth_stencil/fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT EXT_packed_depth_stencil/fbo-stencil-GL_DEPTH24_STENCIL8-readpixels Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
5365ba19db8e9d714604bb63f037800ba2ff2f4d |
11-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix software detiling of system stencil buffers If a window system stencil buffer had a region with odd height, then the calculated y offset needed for software detiling was off by one. The bug existed in intel_{map,unmap}_renderbuffer_s8() and in the intel_span.c accessors. Fixes the following Piglit tests on gen7: general/depthstencil-default_fb-readpixels-24_8 general/depthstencil-default_fb-readpixels-FLOAT-and-USHORT Fixes SIGABRT in the following Piglit tests on gen7: general/depthstencil-default_fb-blit general/depthstencil-default_fb-copypixels general/depthstencil-default_fb-drawpixels-24_8 general/depthstencil-default_fb-drawpixels-FLOAT-and-USHORT Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
|
87d6b359745b6b2c94d1c852ce27e2879d4bec56 |
10-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Fix intel_unmap_renderbuffer_s8() When gathering the temporary buffer's pixles into the gem buffer, we had the two buffers juxtaposed. Oops. Fixes the following Piglit tests on gen7: general/GL_SELECT - alpha-test enabled general/GL_SELECT - depth-test enabled general/GL_SELECT - no test function general/GL_SELECT - scissor-test enabled general/GL_SELECT - stencil-test enabled Fixes SIGABRT in Piglit tests EXT_framebuffer_object/fbo-stencil-* on gen7. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
f911cac7a7a8ebcad711587200c7f66ab61d1ccf |
09-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Refactor intel_map_renderbuffer() The function already implements 3 cases (map through GTT, blit to a temporary, and detile stencil buffer to temporary), and a 4th will be added soon: scatter/gather for depthstencil buffers using separate stencil. For sanity's sake, this factors each case out into its own function. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
rivers/dri/intel/intel_fbo.c
|
9d4d9d34d82646e4e7781bb25a64174d35680578 |
09-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
ir_to_mesa: don't init unfirom if link failed Don't call set_unfiform_initializers if link failed, or it would trigger a GL_INVALID_OPERATION error. That's not an expected behavior of glLinkProgram function. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rogram/ir_to_mesa.cpp
|
fa704cc558ab321792b364dab43f1e960513bed0 |
08-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Remove resource count checks from ir_to_mesa and st_glsl_to_tgsi These checks are now performed by the linker. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
6ac895a664b25eb6252f33d5cfb0e9dd33190490 |
08-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Count the number of uniform components used by a shader during linking Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
812aa8839388042609f65ed00ae4fbfdb60a11d6 |
08-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Count the number of samplers used by a shader during linking Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
196c6d4adfd6cee13782dc558b855c27a15e567c |
10-Nov-2011 |
Eric Anholt <eric@anholt.net> |
meta: Fix restoring of fixed function texture enables. If they were disabled on entry, and we enabled one (like for BlitFramebuffer), we wouldn't disable it on the way out. Retain the attempted optimization here (don't keep calling to set each bit for changes that won't matter) by just setting the bits directly with appropriate flushing. Fixes misrendering on the second draw of piglit fbo-blit. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
95a826bed385efe6f53d3e1c0305b05ef355d786 |
10-Nov-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't forget to flag state when restoring texobjects. It's unlikely that we changed the object but no other texture parameter, but be correct anyway. Noticed by inspection. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
da1544b39ebdf9b24414dcee214a5ccf76e74a77 |
11-Nov-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: fix system value to semantic mapping Broken by addition of SYSTEM_VALUE_VERTEX_ID in 919c53e87a1f6f5322bc1f1486bb3e6b954b00d5.
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
|
8f55f5b77b1f3f6b5777d0e75ba390b67c7a0901 |
14-Nov-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
radeon: further cleanup of shared code Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_texture.c
|
494d0053909f4304c4d8050f8bc859edc7f05e36 |
14-Nov-2011 |
Alex Deucher <alexander.deucher@amd.com> |
radeon: add some missing FireMV pci ids Note: this is a candidate for the stable branches. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/radeon/radeon_screen.c
|
8f9fc8b9d208cf601d126721709315aa3c1c2024 |
14-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Flush stdout after pritingin the GLSL. Otherwise it gets all garbled with stderr.
tate_tracker/st_glsl_to_tgsi.cpp
|
b618e788976b0391fe28987537f7789e91f957a5 |
09-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't try to normalize cubemap coordinates for textureSize. Although textureSize is represented as an ir_texture with op == ir_txs, it doesn't have a coordinate, so normalizing it doesn't make sense. Fixes crashes in oglconform glsl-bif-tex-size basic.samplerCube.* tests. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_cubemap_normalize.cpp
|
bf8ad170c5af58fe9f49b3ce0f92c4eda9e5d845 |
10-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
mesa: Fix glFramebufferTexture*() for depth and stencil attachments This patch solves three bugs. 1. When a texture was attached to the GL_DEPTH_STENCIL_ATTACHMENT point, Mesa attached the texture only to the depth attachment point gl_framebuffer::Attachment[BUFFER_DEPTH] and failed to attach it to the stencil attachment point gl_framebuffer::Attachment[BUFFER_STENCIL] 2. When a texture was attached to the GL_DEPTH_ATTACHMENT point and then later attached to the GL_STENCIL_ATTACHMENT point, Mesa created two separate renderbuffer wrappers. This caused a GL error in glGetFramebufferAttachmentParameteriv(). 3. Same as 2, but with depth and stencil juxtaposed. Fixes Piglit test ARB_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ain/fbobject.c
|
8727807f7e218bd161d92e34f6896f4451d14de0 |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Expose GLSL 1.30 on gen6+. With the gl_VertexID support, everything required should now be supported. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_extensions.c
|
1c65abb211e6a3df8c46180ae3242486ee97dc8d |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gl_VertexID and gl_InstanceID. The compiler setup for these VF-uploaded attributes looks a little cheesy with mixing system values and real VBO-sourced attributes. It would be nice if we could just compute the ATTR[] map to GRF index up front and use it at visit time instead of using ir->location in the ATTR file. However, we don't know the reg_offset at visit(ir_variable *) time, so we can't do the mapping that early. Fixes piglit vertexid test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
9472f6677672ac89d6addba025b33287670da9e9 |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace a should-never-happen fallback with asserts where it matters. We only allow 16 vec4s of attributes in our GLSL/ARB_vp programs, and 1 more element will get used for gl_VertexID/gl_InstanceID. So it should never have been possible to hit this fallback, unless there was another bug. If you do hit this, you're probably using gl_VertexID and falling back to swrast won't work for you anyway. This also updates the limits for gen6+. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_structs.h
|
919c53e87a1f6f5322bc1f1486bb3e6b954b00d5 |
08-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make gl_VertexID be a system value like gl_InstanceID. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
|
8ca76386f5eae78d9a3617b338f11f23b6ce69fe |
23-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
state_tracker: remove written but never used variable.
tate_tracker/st_cb_drawtex.c
|
2f98ac473bddb50e997dcfe61ae21ec0f641e514 |
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix build. I had a later patch remove this code, but cherry-picked across it. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_texture.c
|
88ec12539a65728225e720095a8105494ba772de |
10-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: drop unused constant_cliprect field
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.h
|
0dd6bdf632451cda4252007f00e37f2505dc3667 |
10-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: disable texobj state for 3d texture for 3d texture fallback, disable the texobj state. Signed-off-by : Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_texstate.c
|
99109e9fe08f13c40ffc55e305a69e51740fc6c4 |
09-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: use meta bitmap Now that the stride bug is fixed, enable Bitmap via meta mode. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_texture.c
|
beb3e81b86698359e037d49f35feba3ca53626b2 |
10-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bug with wrong stride being used for rectangluar textures. This broke the meta bitmap code when it was enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_texture.c
|
ba3b9fad60d156a4e3e6311b92c652b36d8969d2 |
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
i965: remove #include of api_noop.h
rivers/dri/i965/brw_context.c
|
6e9b1d5d0d53a409085511c4e71f6098a5b36ce1 |
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: set alpha to 0xff when mapping RGB pixmaps Fixes a bunch of conform regressions.
rivers/x11/xm_buffer.c
|
16bff7e2cec06b340e0c7c5dd935c53353f289b0 |
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: avoid calling _mesa_get_srgb_format_linear() inside a loop
wrast/s_readpix.c
|
0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070 |
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove bogus assertion It would fail for images that were never allocated (and wouldn't be used during rendering).
wrast/s_texture.c
|
2551ff5900ca02249002bf683089dc9468c49895 |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix OOM failure in bitmap code
tate_tracker/st_cb_bitmap.c
|
97dedfda5fbb4078db28519e50adeeeb8e1a1dc1 |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
vbo: better handling of VBO allocation failures Previously, if we failed to allocate a VBO (either for display list compilation or immediate mode rendering) we'd eventually segfault when trying to map the non-existant buffer or in a glVertex/Color/etc call when we hit a null pointer. Now we don't try to map non-existant buffers and if we do fail to allocate a VBO we plug in no-op functions for glVertex/Color/etc so we don't segfault.
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.h
bo/vbo_save_api.c
|
e6c4159372310110ec81273c5d15481c903fefed |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace api_noop.[ch] with vbo_noop.[ch] None of the code in api_noop.c was used anymore. The new vbo_noop.c functions are true no-ops. They'll be used to no-op glBegin/End functions when we run out of VBO memory.
Conscript
ain/api_noop.c
ain/api_noop.h
ources.mak
bo/vbo_noop.c
bo/vbo_noop.h
|
cd30c28e3b98da1e83d8c07375a4d51e1750afc2 |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
vbo: pull some code from api_noop.c into vbo module Only a handful of functions from api_noop.c are actually used by the VBO module. Move them to the VBO module. With this change, none of the code in api_noop.c is actually used anymore.
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
6ba0ba09b44eae303497b81a040193e326fc5cd8 |
09-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove ancient, unused gl_free_control_points prototoype
ain/eval.h
|
9ae10e9cbdfce6404a3d86188f2897d8f5d0dcb2 |
10-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make Gen6+ renderbuffer surface updates not depend on NEW_COLOR. NEW_COLOR is only needed on Gen4-5 as brw_update_renderbuffer_surfaces only uses ctx->Color when intel->gen < 6. This should reduce unnecessary state updates. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
d46dfed9585e7e8a26993e7f67faffe8e2641939 |
10-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Reorder state atom lists so all the surface state is together. Not strictly necessary, but seems like a good idea. Suggested-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_upload.c
|
51b1d412ec5d0699d182b895daacb3b78da328ad |
28-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Put a proper sampler count in 3DSTATE_VS. See similar code for 3DSTATE_WM. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen7_vs_state.c
|
29fc0d8c8af486d79298650b7e07dee16b3ec4ba |
07-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Upload SAMPLER_STATE pointers for the VS on Ivybridge. See similar code in gen7_wm_state.c. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_vs_state.c
|
32dfa6e5ef3d1fb703ec34942c55408be22e7ec3 |
28-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Move and rename "wm sampler" fields to just "sampler". brw_wm_samplers actually enables any active samplers regardless of what pipeline stage is using them, so it doesn't make much sense for it to be WM-specific. So, rename it to "brw_samplers." To properly generalize it, move sampler_count and sampler_offset from brw_context::wm to a new brw_context::sampler that can be shared without looking strange. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_sampler_state.c
rivers/dri/i965/gen7_wm_state.c
|
91043c21f9b82054060311aabb617dd6e5058602 |
07-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Clean up code for VS pull constant surface creation. Like for the WM pull constants, we can merge the former prepare/emit stages into one tracked state atom. Furthermore, the code that used to handle the binding table was removed in the last commit, leaving some rather silly looking short functions that can easily be folded in. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
|
e7c29c5de82f6de3d30ed1143d9672dd2e25f0e7 |
31-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use a single binding table for all pipeline stages. Although the hardware supports separate binding tables for each pipeline stage, we don't see much advantage over a single shared table. Consider the contents of the binding table: - Textures (16) - Draw buffers (8) - Pull constant buffers (1 for VS, 1 for WM) OpenGL's texture bindings are global: the same set of textures is available to all shader targets. So our binding table entries for textures would be exactly the same in every table. There are only two pull constant buffers (not many), and although draw buffers aren't interesting to the VS, it shouldn't hurt to have them in the table. The hardware supports up to 254 binding table entries, and we currently only use 26. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
4a42bd3931d6298ab9a84b76957ce5d83d289f69 |
02-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Split brw_wm_surfaces state into renderbuffer and texture atoms. First, the texturing setup code is relevant for all pipeline stages, while renderbuffer surfaces are only used by the WM. Secondly, renderbuffer and texture setup depends on a different set of dirty bits. There's no reason to walk the array of textures when changing draw buffers, or vice-versa. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
a7d0fa209b444e3c7ad9358f1d31e3f638c20e40 |
02-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Combine the two WM pull constant tracked state atoms. These were only split for historical reasons: brw_wm_constants used to be the "prepare" step, while brw_wm_constant_surface was "emit". Now that both happen at emit time, it makes sense to combine them. Call the newly combined state atom "brw_wm_pull_constants" to indicate help distinguish it from the Gen6+ atoms that handle push constants. Finally, remove the BRW_NEW_WM_CONSTBUF dirty bit entirely now that it's never flagged nor used. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
f3e9ccb3bcd174a0b55cae6f9c56835145558e89 |
04-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename gen6_*_constants tracked state atoms to "push_constants". When reading the "brw_wm_constants" and "gen6_wm_constants" atoms side-by-side, I initially failed to notice the crucial difference: the Gen6 atoms are for Push Constants, while brw_wm_constants handles Pull Constants. (Gen4/5 Push Constants are handled by "brw_curbe.") Renaming these should clarify the code and save me from constant confusion over the fact that "gen6_wm_constants" isn't just a newer version of "brw_wm_constants." Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
e4b1c9b4bebd8f1fe851617e9ad350e45435e130 |
02-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove nr_surfaces computation from brw_update_wm_surfaces. This code is fairly fragile, as it depends on the ordering of the entries in the binding table, which will change soon. Also, stop listening on the BRW_NEW_WM_CONSTBUF dirty bit as it's no longer required. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm_surface_state.c
|
6ba9090ea05e817bd38c1fcc63c53168b16593c7 |
01-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use 0 for the number of binding table entries in 3DSTATE_(VS|WM). These fields control how many entries the hardware prefetches into the state cache, so they only impact performance, not correctness. However, it's not clear how to use this in a way that's beneficial. According to the documentation, kernels "using a large number" of entries may wish to program this to zero to avoid thrashing the cache; it's unclear how many is too many. Also, Ironlake's WM was missing this feature entirely---the count had to be zero. The dirty bit tracking to handle this complicates the surface state and binding table setup; removing it should simplify things and make future refactoring easier. So just set 0 for the number of entries rather than trying to compute and track it. Appears to have no impact on Nexuiz and OpenArena on Sandybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
0983c6869bead0c31c62e5b1dda7f70898d43971 |
01-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove outdated comment about CACHE_NEW_SURF_BIND dirty bit. The comment states that brw_update_vs_constant_surface produces a CACHE_NEW_SURF_BIND dirty bit, but it doesn't. In fact, that bit no longer even exists. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vs_surface_state.c
|
d1d86dc55c852815e8b32c264b8c469fab0ca745 |
08-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove BRW_NEW_NR_VS_SURFACES dirty bit from brw_vs_surfaces. brw_vs_surfaces _produces_ the BRW_NEW_NR_VS_SURFACES dirty bit, so it makes no sense for it to subscribe to it. Fixes an assertion failure in many piglit tests when INTEL_DEBUG is set: brw_state_upload.c:484: void brw_upload_state(struct brw_context *): Assertion `!check_state(&examined, &generated)' failed. One such piglit test is vs-uniform-array-mat2-col-rd.shader_test. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vs_surface_state.c
|
7c057f2360106488365e07af8055b4c696d855a3 |
08-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing CACHE_NEW_WM_PROG dirty bit to WM pull constants. Comparing brw_upload_vs_pull_constants and brw_upload_wm_pull_constants, it became evident that something was amiss: the VS code had both CACHE_NEW_VS_PROG and BRW_NEW_VERTEX_PROGRAM, while the WM code was missing the CACHE_NEW_WM_PROG flag. Not observed to fix anything, but likely necessary. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm_surface_state.c
|
c3e3903a9089043b280c461a72dab5158dc25d32 |
01-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use new vtable entries for surface state updating functions. Now that we have vtable entries in place, we should use them. This allows us to drop the cut and pasted Gen7 brw_tracked_state atoms as they now do exactly the same thing as their brw_wm_surface_state counterparts. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
5d448b42b7143a1a38911b23d94b5c5d5bfa79f0 |
01-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add new vtable entries for surface state updating functions. Gen7+ SURFACE_STATE is different from Gen4-6, so we need separate per-generation functions for creating and updating it. However, the usage is the same, and callers just want to utilize the appropriate functions with minimal pain. So, put them in the vtable. Since these take a brw_context pointer and are only used on Gen4, just add a forward declaration. This is the simplest (if not cleanest) solution. It would be nicer to have a i965-specific vtable, but that's a refactor for another day. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_context.h
|
3800fe800bfc7faac6e629e584487c5904a5ef2b |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: silence uninitialized var warning
ain/uniform_query.cpp
|
fe5ba5da7eaf5b243f83100890d483ada1ebb285 |
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
radeon: silence unused var warnings
rivers/dri/radeon/radeon_texture.c
|
216be4120dd31393efa23e8b1e29e8aecd125c70 |
10-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix tex1d-border2d Fixes pigit test with T wrap usage. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_tex.c
|
c8fb700f2b01b577402910ecd09594ee2570872d |
07-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix 3-coordinate swtcl emission This fixes mipmap generation on swtcl rv100. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_swtcl.c
|
11a90af1ef6384b3ac7730d16db9a65b4a799466 |
04-Nov-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Add support for glReadPixels() to integer types. With this change, i965 passes GL_EXT_texture_integer/fbo_integer_precision_clear Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
wrast/s_readpix.c
|
e34c9edcda9167c634fe8381bd039f1a65925d0a |
04-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for unpacking 32-bit integer formats to int spans. This is the inverse operation to _mesa_pack_rgba_span_int. The 16-bit code isn't done because of lack of testing and not being sure how sign extension/clamping should be handled between, say, 16-bit int and 32-bit int or uint. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/format_unpack.c
ain/format_unpack.h
|
84277cb7d325cdeade8ce75eb4154adb744626dc |
02-Nov-2011 |
Eric Anholt <eric@anholt.net> |
meta: Add support for glClear() to integer color buffers. This requires using a new fragment shader to get the integer color output, and a new vertex shader because #version has to match between the two. v2: Clarify that there's no need for BindFragDataLocation. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/common/meta.c
|
42c5552b0eef9c06898d29bb3f5c985f31316250 |
02-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Claim to support rendering to integer FBOs. We're missing support for the software paths still, but basic rendering is working. v2: Override RGB_INT32/UINT32 to not be renderable, since the hardware can't do it but we do allow texturing from it now. Drop the DataType override, since the _mesa_problem() isn't in that path any more. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_span.c
|
6d874d0ee18b3694c49e0206fa519bd8b746ec24 |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for user-defined out variables. Before, I was tracking the ir_variable * found for gl_FragColor or gl_FragData[]. Instead, when visiting those variables, set up an array of per-render-target fs_regs to copy the output data from. This cleans up the color emit path, while making handling of multiple user-defined out variables easier. v2: incorporate idr's feedback about ir->location (changes by Kenneth Graunke) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
e988d816e16f9c0844424472d689486a833931c3 |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Preserve the source register type when doing color writes. When rendering to integer color buffers, we need to be careful to use MRFs of the correct type when emitting color writes. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
e19dfc75b67e263437bd08b161c15b34582ccb2f |
09-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Make brw_type_for_base_type return the element type for arrays. Previously, brw_type_for_base_type returned UD for array variables, similar to structures. For structures, each field may have a different type, so every field access must explicitly override the register's type with that field's type. We chose to return UD in this case since it was the least common, so errors would be more obvious. For arrays, it makes far more sense to return the type corresponding to an element of the array. This allows normal array access to work without the hassle of explicitly overriding the register's type. This should obsolete a bunch of type overrides throughout the code. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_shader.cpp
|
a00c5a71cd95d340f9ba54a0360f654414d627d2 |
05-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Enable ChooseTexFormat for supported GL_EXT_texture_integer formats. v2: s/GL_TRUE/true/, and re-enable RGB_INT32 based on discussion yesterday about required RB formats vs texture formats. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/intel/intel_context.c
|
35be4ae77eb813bf6184699c038e82ad32bd267d |
05-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add mapping from MESA_FORMAT to BRW_SURFACEFORMAT for integer. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
|
704b7551e88b680f2bf814cbcacd24051ad8e19c |
05-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Expose GL_EXT_texture_integer when GL 3.0 override is set. This will let the feature be incrementally developed, hidden behind the flag we're all using as we work on GL 3.0 support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
e56aecf2492e3ca63ea70332a346f3f8414cba6c |
08-Nov-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for 16-bit unorm L, A, and I textures. While not required by any particular spec version, mplayer was asking for L16 and hoping for actual L16 without checking. The 8 bits allocated led to 10-bit planar video data stored in the lower 10 bits giving only 2 bits of precision in video. While it was an amusing effect, give them what they actually wanted instead. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41461 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
|
b5444a6ebd48a2bf4c258be98aac831636164e10 |
08-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Don't _mesa_problem when asked for an RB of a texturing-only type. We want to be able to support some formats for texturing that we can't render to, which means that some choices for RenderbufferStorage end up being incomplete (for example, L8 currently). For these, where we don't render to them, we don't want to have to make up an rb->DataType that's only used for GetRow()/PutRow().
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
|
01ccddbed6ff970e1018c250ba9044bf06671d25 |
08-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
r200: remove dangling radeon.h symlink. Commit 1401b96b (radeon: cleanup radeon shared code after r300 and r600 classic drivers removal) removed the file src/mesa/drivers/dri/radeon/server/radeon.h, but it left behind the symlink which was used to share that file into the src/mesa/drivers/dri/r200/server directory. This patch removes the dangling symlink. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r200/server/radeon.h
|
871ddb919b424293894a23a8f83200fed572d6a9 |
05-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Assign transform feedback varying slots in linker. This patch modifies the GLSL linker to assign additional slots for varying variables used by transform feedback, and record the varying slots used by transform feedback for use by the driver back-end. This required modifying assign_varying_locations() so that it assigns a varying location if either (a) the varying is used by the next stage of the GL pipeline, or (b) the varying is required by transform feedback. In order to avoid duplicating the code to assign a single varying location, I moved it into its own function, assign_varying_location(). In addition, to support transform feedback in the case where there is no fragment shader, it is now possible to call assign_varying_locations() with a consumer of NULL. Reviewed-by: Marek Olšák <maraeo@gmail.com> Tested-by: Marek Olšák <maraeo@gmail.com>
ain/mtypes.h
|
63e7a4c6e5bf51d8090046ebc5adcb4207448565 |
09-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa,glsl,mapi: Put extern "C" { ... } where appropriate. Probably a several places missing, but enough to cover all headers (in)directly included by uniform_query.cpp, and fix the MSVC build.
ain/context.h
ain/core.h
ain/formats.h
ain/glheader.h
ain/mtypes.h
ain/shaderapi.h
ain/shaderobj.h
ain/simple_list.h
ain/uniform_query.cpp
ain/uniforms.h
ath/m_matrix.h
rogram/hash_table.h
rogram/ir_to_mesa.h
rogram/prog_parameter.h
rogram/prog_statevars.h
|
f4b42aa5b7a3d11f839d5576b4c42406529131be |
09-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
scons: Don't list m_xform.c twice.
Conscript
|
207a016ecaabbccf865a5b8e026b95a4276adc15 |
08-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned integer comparison warnings Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniform_query.cpp
ain/uniforms.h
|
59012c31337f104aedfe69ca6d3cf784581df544 |
05-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Implement glGetFragDataLocation Fixes piglit's getfragdatalocation test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/shader_query.cpp
ain/shaderapi.c
|
b12b5d9ab5c0153c93ca5ad9cd93cb36e41be4eb |
05-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Use app-specified fragment data location during linking Fixes piglit's bindfragdata-link-error. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/shader_query.cpp
ain/shaderobj.c
|
4464a4b27b66f832acbe52b0a002c04415924c14 |
04-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Stub implementation of glBindFragDataLocation This just validates the input parameters so far. Fixes piglit's bindfragdata-invalid-parameters test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/shader_query.cpp
ain/shaderapi.c
|
3210cad3f26a7e8a73f2dc2f7f3740e594b068bd |
06-Nov-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Fix memory leak on error path. Fixes Coverity resource leak defect. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_program.c
|
2051a118233cb935ab30ce1eab4b9a80aa0238aa |
08-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove prog_uniform.c from SConscript
Conscript
|
be4524aeed7fb67bdc45861d299d4c5ca99c4d6c |
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Delete code made dead by previous uniform related patches Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/core.h
ain/mtypes.h
ain/shaderapi.c
ain/shaderobj.c
ain/uniform_query.cpp
rogram/ir_to_mesa.cpp
rogram/prog_uniform.c
rogram/prog_uniform.h
ources.mak
tate_tracker/st_draw.c
tate_tracker/st_glsl_to_tgsi.cpp
|
c42ca36d67939bb1cda8bb362ff8da7c0da24a1d |
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add missing check for glUniform*v count > 1 on non-array Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniform_query.cpp
|
719909698c67c287a393d2380278e7b7495ae018 |
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rewrite the way uniforms are tracked and handled Switch all of the code in ir_to_mesa, st_glsl_to_tgsi, glUniform*, glGetUniform, glGetUniformLocation, and glGetActiveUniforms to use the gl_uniform_storage structures in the gl_shader_program. A couple of notes: * Like most rewrite-the-world patches, this should be reviewed by applying the patch and examining the modified functions. * This leaves a lot of dead code around in linker.cpp and uniform_query.cpp. This will be deleted in the next patches. v2: Update the comment block (previously a FINISHME) in _mesa_uniform about generating GL_INVALID_VALUE when an out-of-range sampler index is specified. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/shaderapi.c
ain/shaderobj.c
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
rogram/ir_to_mesa.cpp
rogram/sampler.cpp
tate_tracker/st_draw.c
tate_tracker/st_glsl_to_tgsi.cpp
|
143d20c16a33e2f08e834b28c23dbea772591ef9 |
25-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Move _mesa_ir_link_shader call before device-specific linking _mesa_ir_link_shader needs to be called before cloning the IR tree so that the var->location field for uniforms is set. WARNING: This change breaks several integer division related piglit tests. The tests break because _mesa_ir_link_shader lowers integer division to an RCP followed by a MUL. The fix is to factor out more of the code from ir_to_mesa so that _mesa_ir_link_shader does not need to be called at all by the i965 driver. This will be the subject of several follow-on patches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
rivers/dri/i965/brw_shader.cpp
|
cfab4327c380e5abd4976e937d9421aa098d0c5f |
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add log_uniform and log_program_parameters to dump data These were both useful debugging aids while developing this code. log_uniform will be used to keep the MESA_GLSL=uniform behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniform_query.cpp
|
d7a7e4fc99888da424f324d1fc7e066673e804c2 |
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Add _mesa_associate_uniform_storage Connects all of the gl_program_parameter structures with the correct gl_uniform_storage structures. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
rogram/ir_to_mesa.cpp
rogram/ir_to_mesa.h
|
70650d08fa3f4db2aea41e4ed47b271c3a3e7385 |
18-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add _mesa_uniform_{attach,detach_all}_driver_storage functions These functions are used to create and destroy the connections between a uniform and the storage used by the driver to hold its value. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
|
9516182e80d5a21ab402c9b2cbe9e6c46e5bb1d8 |
18-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add _mesa_propagate_uniforms_to_driver_storage This function propagates the values from the backing storage of a gl_uniform_storage structure to the driver supplied data locations. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniform_query.cpp
ain/uniforms.h
|
9a21d4670ce88cd2476930f3c5f7945cc57579e8 |
18-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add structures for "new style" uniform tracking in shader programs Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/mtypes.h
|
2f45ed393a40e914749ddb86d41e0f77b2cea3da |
13-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move most of uniforms.c to uniform_query.cpp Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniform_query.cpp
ain/uniforms.c
|
65add4327d786826d28c72ea34034df8137f65d9 |
14-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor parameter validate for GetUniform, Uniform, and UniformMatrix v2: Update a comment block about the different treatment of location=-1 based on feedback from Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniforms.c
|
637a7eb9e981d7dbe3bdb0c39712a9183ea19e9c |
13-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move {split,merge}_location_offset to uniforms.h Prepend _mesa_uniform_ to the names and rework the calling convention. The calling convention was changed for a couple reasons. 1. Having a single variable named 'location' have completely different meanings at different places in the function is confusing. Before calling split_location_offset the location is the encoded value returned by glGetUniformLocation. After calling split_location_offset it's the index of the uniform in the gl_uniform_list::Uniforms array. 2. In a later commit the original value of 'location' is needed after split_location_offset has been called. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniforms.c
ain/uniforms.h
|
4ad41af616fed7ad0b6980f7181c9db9b95a6732 |
12-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Make get_uniform available outside compilation unit Also rename to _mesa_get_uniform. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniforms.c
ain/uniforms.h
|
fa7eccb8c0c590535856a54e3697982af6a630ed |
12-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move the link check from _mesa_get_uniform_location to _mesa_GetUniformLocationARB There are cases where we might want to internally query the location of a uniform in a shader that failed linking. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
ain/uniforms.c
|
017346f4038671bd6725b857f6daeba821a8306b |
12-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add string_to_uint_map::clear method to clear the map Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
rogram/hash_table.h
|
295e07ef51eded34ed6374823f15c0b5d13ad2d4 |
01-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix error generation for glClearBuffer{i ui}v with GL_DEPTH or GL_STENCIL The spec says "Only ClearBufferiv should be used to clear stencil buffers." and "Only ClearBufferfv should be used to clear depth buffers." However, on the following page it also says: "The result of ClearBuffer is undefined if no conversion between the type of the specified value and the type of the buffer being cleared is defined (for example, if ClearBufferiv is called for a fixed- or floating-point buffer, or if ClearBufferfv is called for a signed or unsigned integer buffer). *This is not an error.*" Emphasis mine. Fixes problems with piglit's clearbuffer-invalid-drawbuffer test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/clear.c
|
f4fb0be605790c55abd7d66564486e5860721c21 |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix the selection of soft renderbuffer color formats This fixes a regression from the recent glReadPixels changes found with the piglit hiz tests. Use either MESA_FORMAT_RGBA8888 or MESA_FORMAT_RGBA8888_REV for color buffers depending on endian-ness. Before, the gl_renderbuffer::Format field was MESA_FORMAT_RGBA8888 but the data was really stored as MESA_FORMAT_RGBA8888_REV when using a little endian machine. Getting this right matters now that we can access renderbuffer data without going through the span functions (namely glReadPixels() + MapRenderbuffer()).
ain/renderbuffer.c
|
0ef8c0ddc71b1459f28c7b3c4b1c2b7c3cab8228 |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded soft renderbuffer format-setting code These vars will just get overwritten when we call _mesa_add_renderbuffer() anyway. We only need to set the InternalFormat field when we create the software renderbuffer. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/renderbuffer.c
|
87ac3ae50e925f31677579737d6d97cb3cb15259 |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo in intel_renderbuffer
rivers/dri/intel/intel_fbo.h
|
46f5ef557f92eb3c139871d03f732a591b3d5a21 |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
intel: update intel_texture_image comment
rivers/dri/intel/intel_tex_obj.h
|
24524784cf2c8c5f5bb38eadb474c3736641cafd |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
intel: wrap comment and fix typo
rivers/dri/intel/intel_tex_obj.h
|
377eb5c30cfe94723cad214f12ca4ff9e5aee35e |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: first implementation of Map/UnmapRenderbuffer() Untested, but also unused at this point.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
32c3957991bd0e1df744d866943a8c47b2757c9e |
05-Nov-2011 |
Brian Paul <brianp@vmware.com> |
xlib: implement renderbuffer mapping/unmapping This fixes the glReadPixels() regression for reading from the front/back color buffers. Note, we only allow one mapping of an XImage/Pixmap renderbuffer at any time. That might need to be revisited in the future.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
68c3d21b6857ec39f0849867355b736191823479 |
04-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check for immutable texture in _mesa_test_texobj_completeness() One of the points of GL_ARB_texture_storage is to make it impossible to have malformed mipmap stacks. If we know the texture object is immutable, we can skip a bunch of size checking.
ain/texobj.c
|
b64dc2a275714ae67c735298d8104ff292c60edf |
04-Nov-2011 |
Brian Paul <brianp@vmware.com> |
swrast: update program type assertion Fixes bogus failed assertion when using NV_fragment_program, such as with demos/fplight.c Note: This is a candidate for the 7.11 branch.
wrast/s_context.c
|
af734468fee1e1fc0714557ddd199e2f91940afc |
04-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-up st_translate_interp()
tate_tracker/st_program.c
|
0d05422c2001b5d0d50ea4f0d99a5cc1c301fccb |
07-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: add some null pointer checking to better handle out of memory Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_draw.c
|
245edfb0058fdb22ab31a77b18fb045be4aad178 |
07-Nov-2011 |
Morgan Armand <morgan.devel@gmail.com> |
st/mesa: fix memory leaks Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
33ca21fc3ca78d9e93d2a750b6da3505346d2b86 |
07-Nov-2011 |
Morgan Armand <morgan.devel@gmail.com> |
st/mesa: fix indentation Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
|
dceb202297b39220fbbcb41267077fb3ff8d137a |
07-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix Sandybridge regression introduced by workaround-free math. Commit a73c65c5342bf41fa0dfefe7daa9197ce6a11db4 had a typo which accidentally enabled the workaround-free Gen7 code on Gen6. Fixes GPU hangs in anything using pow() or integer division/modulus. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_emit.cpp
|
a73c65c5342bf41fa0dfefe7daa9197ce6a11db4 |
18-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable faster workaround-free math on Ivybridge. According to the documentation, Ivybridge's math instruction works in SIMD16 mode for the fragment shader, and no longer forbids align16 mode for the vertex shader. The documentation claims that SIMD16 mode isn't supported for INT DIV, but empirical evidence shows that it works fine. Presumably the note is trying to warn us that the variant that returns both quotient and remainder in (dst, dst + 1) doesn't work in SIMD16 mode since dst + 1 would be sechalf(dst), trashing half your results. Since we don't use that variant, we don't care and can just enable SIMD16 everywhere. The documentation also still claims that source modifiers and conditional modifiers aren't supported, but empirical evidence and study of the simulator both show that they work just fine. Goodbye workarounds. Math just works now. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
97534d92e27d633be89447c0b22145bbce287789 |
04-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add missing checks to compute_version Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/version.c
|
1401b96bb9f485eb5c08fb724b4366a16ea93aef |
07-Nov-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
radeon: cleanup radeon shared code after r300 and r600 classic drivers removal Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_reg.h
|
4abba27ae06b21111adfa1c0446b38d57b61e947 |
01-Nov-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix struct vs class warnings in brw_fs_vector_splitting.cpp. Makes clang happier. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
d2633af696f2e4ff98f669061e4e222e8643312c |
04-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set geometry shader to NULL when doing internal drawing The code expects the geometry shader to be NULL. We don't have geometry shaders now, but it's good to be prepared. v2: check for support in the cso context
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_extensions.c
|
794c5158b0a0b2978ebae6fdc2747e6febcd42c1 |
04-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Be nice with the stack -- use malloc for large structures/arrays. st_translate_program's data was taking 51K off the stack, causing stack overflow on Windows.
tate_tracker/st_glsl_to_tgsi.cpp
|
cd86a5d2f862f183f85ef8c7d51f69e028d04447 |
04-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: cosmetic To smooth minor diff between dri_util & drisw_util
rivers/dri/common/dri_util.c
rivers/dri/common/drisw_util.c
|
2fbba6bb906a4389de64cc6e961b531d8cd5c495 |
04-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri_util: move drawable functions
rivers/dri/common/dri_util.c
|
2314021d603afa40321fb7b50881bc85d406c921 |
04-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri_util: move context functions
rivers/dri/common/dri_util.c
|
9292ab7190b7f5805e1670be63022716035d067e |
04-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri_util: move context functions
rivers/dri/common/dri_util.c
|
c98d15c9f5cf7e8d2a8f8e9e56ed08786b91c86b |
04-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri_util: move screen functions This is to reorder as screen/context/drawable similar to drisw_util
rivers/dri/common/dri_util.c
|
3e80a3431571e0ae9fb1ef13367bba559139c6d2 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: drop stray includes and typedef
rivers/dri/common/dri_util.c
|
ceda4da8573cca85e02d0e7c2db41f9151683321 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: move __driUtilMessage to xmlconfig.c __driUtilMessage seems to have fallen out of favor and is only used by xmlconfig.c now
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/xmlconfig.c
rivers/dri/radeon/radeon_screen.c
|
78c076e6548f0bb44758d89ec434bcfddd902939 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: drop drisw_util.h
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.c
rivers/dri/common/drisw_util.h
rivers/dri/swrast/swrast_priv.h
|
96bd41b315ce2943df2e59656fb200fedb866412 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: reorder as driver,screen,context,drawable
rivers/dri/common/dri_util.h
|
e438a36d8379d2ccb06aab2fa53fb52ae100198c |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: unify __DRIcontextRec, __DRIdrawableRec
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.h
|
875a757ddd103722cfe9a2b21035024aa5a23d32 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: unify __DRIscreenRec Also drop DriverAPI field, this is a static symbol and I don't see why it should be accessed through __DRIscreenRec
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
7192c37294964b3f6e1551469f161593ec8f851d |
02-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: unify __DriverAPIRec I dropped the comments because they don't add much.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/radeon/radeon_screen.c
|
fc9e80fab9dc529cbe67cc718b89b17e18fa41d8 |
03-Nov-2011 |
George Sapountzis <gsapountzis@gmail.com> |
dri: drop drmLock remnants
rivers/dri/common/drisw_util.h
|
26ebf9c5e106962aa440586296b8fde76ef0c76a |
04-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: strip texture borders. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
71f1d468b4e183c45e4f76f7951beb44dd74a707 |
04-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix r100/r200 blit to use the offsets. This is needed to do proper renderbuffer operation on mipmaps. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
2431c992cb97235c6e500bd1c0c267e608b99052 |
04-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: drop mtface/mtlevel, use ones in base class. This just uses the base class copies. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
|
f800a29ee2e331740de8fbc409efa9f0593900fc |
04-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
swrast: Avoid void * arithmetic. An error with MSVC.
wrast/s_readpix.c
|
eab201bad4d4f250ca9318a228d1c71561daee1a |
19-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Improve glReadPixels() performance by blitting to a linear temp. The readpixels microbenchmark in mesa-demos goes from 47Mpix/sec at 1000x1000 to 450Mpix/sec. The 10x10 sizes stay about the same. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
a1488eec38d5a76f4e04245a6ce8302444800805 |
01-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add safety asserts for the blit engine's pitch alignment requirements. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_blit.c
|
ac6a376f528e4867b8422e42fd36c10e4fa79cfb |
19-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Don't force a batchbuffer flush in readpixels. Renderbuffer mapping handles flushing the batchbuffer if required, so all we need to do is make sure any pending rendering has reached the batchbuffer. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_read.c
|
e7349a55f75e8d1155684b5ad0f9dede55eb8549 |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove early dereference of src/dst width in glCopyTexSubImage. There doesn't appear to be any particular reason for this -- it's not like the width is changing between the deref and the use. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_tex_copy.c
|
d9f2add18102282a969a3662b3d89f32cece1074 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Drop the global mapping of buffers across glReadPixels(). Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
5b1ad7482413e7f6b51671c0a42a52e5fa377886 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Drop the remaining GetRow-based glReadPixels() fast-path. In all of piglit, only two tests hit it (reading to RGBA float, where GetRow would drop floats into place from R, RG, or RGB). Mostly this is because _ColorReadClamp has been causing transferOps to always be set, skipping any fast-paths anyway. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
91b2ce85d1e1914b7199b45f4f21a3e36e2e21e1 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Remove dead _swrast_read_depth_span_uint(). All the code using it is converted to MapRenderbuffer and the core unpack functions. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_depth.c
wrast/s_depth.h
|
345fc4161967f15fb80848cd7dc6a63100f8c12d |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Convert color glReadPixels slow path to using MapRenderbuffer. This may be a bit slower than before because we're switching from per-format compiled loops in GetRow to _mesa_unpack_rgba_block_unpack's loop around a callback to unpack a pixel. The solution there would be to make _mesa_unpack_rgba_block fold the span loop into the format handlers. (On the other hand, function call overhead will hardly matter if MapRenderbuffer means the driver gets the data into cacheable memory instead of uncached). The adjust_colors code should no longer be required, since the unpack function does the 565 to float conversion in a single pass instead of converting it (poorly) through 8888 as apparently happened in the past. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
3e51ef099034f8c0da4a782dfd0d92194e068d85 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Skip _swrast_validate_derived in _swrast_ReadPixels(). None of the callgraph below this uses derived state (almost nothing even dereferences the swrast context). Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
2e82daa31b66a977c944b12802e3448c42e4fdc8 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Add a readpixels fast-path based on memcpy and MapRenderbuffer. v2: Move _mesa_get_format_bytes out of the loop. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
5f140bceda4c11b68c16ce175533f496434ff9a3 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a function for comparing gl_format to format/type. This should be useful in making more generic fast paths in the pixel paths. v2: Add note about PACK_SWAP_BYTES, and fix up for endianness by synchronizing with memcpy_texture paths in texstore.c. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/formats.c
ain/formats.h
|
e887df9bf56195dafdd945755cc52ac4cd4aab62 |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Switch the remaining depth readpixels to MapRenderbuffer. This avoids the wrapper, which should improve performance on packed depth/stencil drivers. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
d072a5f545a272e1b27bbc528b504617824fba78 |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Switch the remaining depth/stencil readpixels path to MapRenderbuffer. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
f53680857aeb2ac1fb71a0bac958769d4f83952d |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: MapRenderbuffer in separate depth/stencil readpixels fastpath This introduces two new span helper functions we'll want to use in several places as we move to MapRenderbuffer, which pull out integer depth and stencil values from a renderbuffer mapping based on the renderbuffer format. v2: Use format_unpack helper for stencil read. v3: Clean up comment after conversion to format_unpack. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_depth.h
wrast/s_readpix.c
|
e452fbe8718b4b84b682a775c5dc0153166f6ccc |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Calculate image address/stride once for depth/stencil readpixels. The fast and slow paths were doing these separately before. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
b832ac974f2b5a0f07ff9b7bb9338e8d6942eb74 |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Make the packed depth/stencil read fastpath use MapRenderbuffer. This also makes it handle 24/8 vs 8/24, fixing piglit depthstencil-default_fb-readpixels-24_8 on i965. While here, avoid incorrectly fast-pathing if packing->SwapBytes is set. v2: Move the unpack code to format_unpack.c, fix BUFFER_DEPTH typo v3: Fix signed/unsigned comparison. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
ain/format_unpack.h
wrast/s_readpix.c
|
ff27e058bc93338ef0dbe322ab4e588ea4bbec0d |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Directly map the stencil buffer in read_stencil_pixels. This avoids going through the wrapper that has to rewrite the data for packed depth/stencil. This isn't done in _swrast_read_stencil_span because we don't want to map/unmap for each span. v2: Move the unpack code to format_unpack.c. v3: Fix signed/unsigned comparison. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
ain/format_unpack.h
wrast/s_readpix.c
|
492d223590569448c5666d421444102b50dda90d |
03-Nov-2011 |
Vinson Lee <vlee@vmware.com> |
radeon: Fix variable initialization typo. Fixes Coverity uninitialized scalar variable defect.
rivers/dri/radeon/radeon_common.c
|
8fad0f99989866eeb72889a84f12f6f817334ddb |
02-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix constant propagation into 32-bit integer MUL. i965's MUL instruction can't take an immediate value as its first argument. So normally, if constant propagation wants to propagate a constant into the first argument of a MUL instruction, it swaps the order of the two arguments. This doesn't work for 32-bit integer (and unsigned integer) multiplies, because the MUL operation is asymmetric in that case (it multiplies 16 bits of one operand by 32 bits of the other). Fixes piglit tests {vs,fs}-multiply-const-{ivec4,uvec4}. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
ac0ec07e6c8bad958f583aae192fe5a80a63da7b |
19-Oct-2011 |
nobled <nobled@dreamwidth.org> |
texgetimage: add missing return on error Missed this back in the arb_robustness branch <6b329b9274b18c50f4177eef7ee087d50ebc1525>. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texgetimage.c
|
bf5255fb30d9d9832f93616016c94782469d43ad |
03-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix texture target mix-up in NV_fragment_program parser The returned value should be a texture target index, not a bit. I spotted this from seeing a new compiler warning caused by the increase in the number of texture targets. This has been broken for a long time. Note: This is a candidate for the 7.11 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/nvfragparse.c
|
9954a93ab77e64b01b95837f90a567df9e8c94df |
02-Nov-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Check an error return instead of assigning it to a dead variable. Fixes gcc set-but-unused-variable warning. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_common_context.c
|
d546dcbb1b8baae54b20e4718c206c2f3e47a38a |
02-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix some regressions in texturing code. On a piglit run vs 7.11 this fixes 23 tests. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_span.c
|
8cd0873d319cefce74164147c9855e81f051d1e1 |
22-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: add support for GL_OES_EGL_image_external To pipe drivers, external textures are just 2D textures. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_texture.c
|
0c87f16817ff0bf1f05e0d634944fd47b097faee |
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_EGL_image_external This is an OpenGL ES specific extension. External textures are textures that may be sampled from, but not be updated (no glTexSubImage* and etc.). The image data are taken from an EGLImage. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
ain/APIspec.xml
ain/attrib.c
ain/debug.c
ain/enable.c
ain/ff_fragment_shader.cpp
ain/get.c
ain/mipmap.c
ain/mtypes.h
ain/shaderapi.c
ain/shared.c
ain/teximage.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
ain/uniforms.c
rogram/ir_to_mesa.cpp
|
79463f18ac91b2b0f1ed6dcdb26f84b942543d80 |
22-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: clean up validate_texture_wrap_mode GL_TEXTURE_RECTANGLE_NV (and soon GL_TEXTURE_EXTERNAL_OES) is special. Handle it in its own if-block. There should be no functional change. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
ain/texparam.c
|
d8ba30af11f1894fcdd9138a8bc71ff054932bb6 |
22-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: fix a logic error in glFramebufferTexture2D Unrecognized texture target should give an error. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
ain/fbobject.c
|
db73264e1471a594d49ca0bc397cbb6746ee1dce |
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add GL_OES_EGL_image_external to the extension list Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
ain/extensions.c
ain/mtypes.h
|
1b1af841493e52bfdb90d919cd7f7b179b5bfb4e |
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add missing defines for GL_OES_EGL_image_external Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
ain/glheader.h
|
1ab1b15e9d0da1c5215a20770735b5477f5313df |
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa, i965: prepare for more than 8 texture targets 3-bit fields are used store texture target in several places. That will fail when TEXTURE_EXTERNAL_INDEX, which happends to be the 9th texture target, is added. Make them 4-bit fields. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
rivers/dri/i965/brw_wm.h
ain/ff_fragment_shader.cpp
rogram/prog_instruction.h
rogram/program.c
|
833d707db13afd2c4940be65a0e18d4e98cb8ec3 |
22-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
glapi: regenerate files
ain/enums.c
|
9f7b6a39f6ebc070ff5020578cea2d299b21d476 |
02-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
swrast: simplify the condition test for _swrast_choose_texture_sample_func remove another long if condition test. I don't feel a strong need of this patch. But for it make the code a little simpler(I do think so), I send it out. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_texfilter.c
|
49f8447acc430944504c658c2d2b4a2ccb3af0bc |
25-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix the low limit of width and height for glRenderbufferStorage glRenderbufferStorage man page says: GL_INVALID_VALUE is generated if either of width or height is negative, or greater than the value of GL_MAX_RENDERBUFFER_SIZE. NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
1f5bd65efa228736d41956f9e76df350dfe2d5d2 |
25-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix inital value for new renderbuffer EXT_framebuffer_object bspec says: Get Value Type Get Command Initial Value ------------------------------- ------ ----------- ----------- RENDERBUFFER_INTERNAL_FORMAT_EXT Z+ GetRenderbufferParameterivEXT RGBA NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
77cd3bf18d509dcbb2f121e4082027f4048ca623 |
21-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: complete the GL_TEXTURE_SWIZZLE* setup The ARB_texture_swizzle spec says: The error INVALID_OPERATION is generated if TexParameteri, TexParameterf, TexParameteriv, or TexParameterfv, parameter <pname> is TEXTURE_SWIZZLE_R, TEXTURE_SWIZZLE_G, TEXTURE_SWIZZLE_B, or TEXTURE_SWIZZLE_A, and <param> is not RED, GREEN, BLUE, ALPHA, ZERO, or ONE. The error INVALID_OPERATION is generated if TexParameteriv, or TexParameterfv, parameter <pname> TEXTURE_SWIZZLE_RGBA, and the four consecutive values pointed to by <param> are not all RED, GREEN, BLUE, ALPHA, ZERO, or ONE. So, the GL_TEXTURE_SWIZZLE* pname is legal for glTexParameterf(v) NOTE: this is a candidate for the 7.11 branch Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texparam.c
|
d9f05ac828986a2fcdca9fcae29d76f79847d8d3 |
21-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: remove the redundant check Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texparam.c
|
34a5598d86b2957d5b418c8814832a0ce8330881 |
30-Aug-2011 |
Carl-Philip Haensch <cphaensch@googlemail.com> |
driconf: updated german translation
rivers/dri/common/xmlpool/de.po
|
997a477d0ca9902b5a522f4a6adb2415fc771ecb |
30-Aug-2011 |
Carl-Philip Haensch <cphaensch@googlemail.com> |
driconf: updated de.po
rivers/dri/common/xmlpool/de.po
|
c7fc4067ebd4758dd7566b20169a428dc8926c8d |
02-Nov-2011 |
Morgan Armand <morgan.devel@gmail.com> |
wglSetPixelFormat should ignore the ppfd parameter. Signed-off-by: José Fonseca <jfonseca@vmware.com>
rivers/windows/gdi/wgl.c
|
29e2bc8b13be0f7ec48f8514e47322353e041365 |
01-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Add support for integral vertex attributes. When a vertex shader input attribute is declared with an integral type (e.g. ivec4), we need to ensure that the generated vertex shader code addresses the vertex attribute register using the proper register type. (Previously, we assumed all vertex shader input attributes were floating-point). In addition, when uploading vertex data that was specified with VertexAttribIPointer, we need to instruct the vertex fetch unit to convert the data to signed or unsigned int, rather than float. And when filling in the implied w=1 on a vector with less than 4 components, we need to fill it in with the integer representation of 1 rather than the floating-point representation of 1. Fixes piglit tests vs-attrib-{ivec4,uvec4}-precision. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
8f84c237b360be69f9b6ac51465c729b3ada196a |
01-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Set the "Integer" field of gl_client_array properly. This patch ensures that gl_client_array::Integer is properly set to GL_TRUE for vertex attributes specified using glVertexAttribIPointer, and to GL_FALSE for vertex attributes specified using glVertexAttribPointer, so that the vertex attributes can be interpreted properly by driver back-ends. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/arrayobj.c
ain/varray.c
bo/vbo_split_copy.c
|
8b65c33eb8a26c14df11462caea3044eda7b6349 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused memops.h
rivers/dri/common/memops.h
rivers/dri/common/utils.h
|
6c26d998efd18d8a741e378c411645c494abbb31 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove a few unused dri helper functions
rivers/dri/common/utils.c
|
2e53f3018f69d07b885c5885a1f865339700a189 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused dri texmem.c
rivers/dri/common/Makefile.sources
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/r200/r200_context.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.h
|
c2711cdfb68d92ede740e2cc1fd7d78f604dc201 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Move _dri_texformat_* to radeon_texture.c They are only used by the r200 driver now.
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
1ca2e84921332fa229a082033c933b86a47ff2ad |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
r200: Don't use driIsTextureResident helper With DRI2, textures are always resident and using the DRI texmem helper here is broken anyway, since nothing else uses it.
rivers/dri/r200/r200_tex.c
|
a14bb89d3ffda49ec8e64453640b42b670cb43a7 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop unused dri renderbuffer helper functions
rivers/dri/common/Makefile.sources
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/intel/intel_context.c
rivers/dri/radeon/radeon_common_context.c
|
c467db4cc765965bd347cf5b91aec39b831273ec |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Move driUpdateFramebufferSize to dri_util.c drirenderbuffer.[ch] is going bye-bye.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drirenderbuffer.c
|
90de3b9d96394809e2574c6c5b459a9cf745d9dd |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unnecessary #defines and #includes
rivers/dri/common/dri_util.c
|
e9beaf65fdaf82a7845cbe176f353ddb6b8466c7 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unnecessary timestamp pointer indirection
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/nouveau/nouveau_context.c
|
e8ed01f6930bd4e11ee453164597403a7284a1f8 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused fields from __DriverAPIRec
rivers/dri/common/dri_util.h
|
03855bc2accbeb508458f70bdbdcef292672b2b8 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove dri2.enabled flag DRI2 is always enabled now.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_screen.c
|
a2ea34d70507ffb6b7277b4612ae3bc1ca582a60 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove DRI1 fields from DRI structs
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_common_context.c
|
1837fb8e7c3cef8b9292b68da152d185e7103646 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove remaining DRI1 vblank code
rivers/dri/common/Makefile.sources
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
|
d24b81e0e0f4109f3256dc45b0adc5ffd59fb749 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove cliprect information from __DRIdrawable
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/spantmp_common.h
rivers/dri/intel/intel_context.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_state.c
|
24002daf011bf05d7d088602dc32e60da1755f44 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop unused driCalculateSwapUsage
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
8e6c22136f416b72fef269939f673aa7e55a5d07 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused driIntersectArea
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
bfb6f9e690da73cd0bb724728c7cbfc8324dd793 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop __driUtilUpdateDrawableInfo and helper macros
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
6260618b29983fd961718fd6e3961bdd32163cb5 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused driSwapBuffers
rivers/dri/common/dri_util.c
|
e78f7b8b44f610a11c3e0f663c855c6325ed63a2 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop unused driCreateNewContext
rivers/dri/common/dri_util.c
|
f5ba7662bdaf7f8d62cbc1c0c0a59dabb242e78b |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Fold driCreateNewDrawable into dri2CreateNewDrawable
rivers/dri/common/dri_util.c
|
c786debe98a54bdaaccccb2af6272749a96a9489 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unsused driCreateNewScreen
rivers/dri/common/dri_util.c
|
d02bd705fb0ae93adc53925d0191b86f7a6791f2 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused __DRIswapInfoRec
rivers/dri/common/dri_util.h
|
73ec71cb16fbae0effcb4a92da7dc7f17cd6a62a |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove driMediaStreamCounterExtension Also DRI1-only.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_screen.c
|
759cbb751b29b1c6608593841c56e0ad08eb33b0 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove driSwapControlExtension DRI1-only as well.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_screen.c
|
8e898e83c6934fc9c62730ad82fbf6f9d9180577 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop driCopySubBufferExtension Another DRI1-only extension.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_screen.c
|
ad3221587164c10ae16d85db514484b717cabc6f |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop driReadDrawableExtension All DRI2 drivers support setting a separate read drawable.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
|
32039126007a67a6bcca5973a7406c41ccc8c543 |
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop driLegacyExtension There are no DRI1 drivers left.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/radeon/radeon_screen.c
|
666c70ce8eb7c8a21536f03be3a68a3c11997e09 |
02-Nov-2011 |
Jeremy Huddleston <jeremyhu@apple.com> |
Build fix for -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_tcl.c
|
81d5195a6105606910d0d19ab059962e5712c2e0 |
01-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
intel: fix potential segfault error Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_validate.c
|
8524be3fb46e2db6db099d9916dad85f38bfe054 |
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Use MapRenderbuffer for glReadPixels(GL_DEPTH_COMPONENT) fast-paths. This fixes issues with the code playing fast and loose with types of buffers, and as a bonus avoids the wrappers that were previously used to pull bits out of packed depth/stencil buffers. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
789cb3435c6d580929094b7f1a2dff551e9c411c |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make unpack_uint_z_row return 32 bits of data. Some of the return values were u32, some were 24 bits, and z16 returned 16 bits. The caller would have to do all the work of interpreting the format all over again. However, there are no callers of this function at this point. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/format_unpack.c
|
4b8f4e7ce17aeaa7fba1140897ab66f74d715b0a |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
nouveau: Add implementation of MapRenderbuffer. Perhaps the easiest implementation, nouveau can directly map buffers even if tiled, and uses separate surfaces for its texture renderbuffers so we don't have to worry about that offset. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/nouveau/nouveau_fbo.c
|
425b8d54b8c97bcbd433393f34a27027e4ff8c4d |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Add implementation of MapRenderbuffer. Unlike intel, we do a blit to/from GTT memory in order to untile/retile the renderbuffer data, since we don't have fence registers for accessing it. (There is software tiling code in radeon_tile.c, but it's unused and doesn't support macro tiling) Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_fbo.c
|
bae10c0d2e518f06c3686e04c778f0da73525b4d |
11-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use MapRenderbuffer in spans setup. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_span.c
|
92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e |
11-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add an implementation of MapRenderbuffer. v2: Add separate stencil S8 W-tile swizzling/deswizzling. Tested for the swizzling case with env INTEL_SEPARATE_STENCIL=1 INTEL_HIZ=1 ./bin/hiz-depth-stencil-test-fbo-d24-s8 v3: Apply Chad's fix for S8 window system buffers. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
6b341662b3bbde7e86b3b9184266412da1b27977 |
01-Nov-2011 |
Eric Anholt <eric@anholt.net> |
intel: Improve the debug info for renderbuffer allocation.
rivers/dri/intel/intel_fbo.c
|
76d1275474d7b5ac2f0edf5856ae1c5fc234f0d9 |
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
Add MapRenderbuffer implementations for software drivers. Mesa core's is generic for things like osmesa. For swrast_dri.so, we have to do Y flipping. The front-buffer path isn't actually tested, though, because both before and after it fails with a BadMatch in XGetImage. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/driverfuncs.c
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
ain/renderbuffer.c
ain/renderbuffer.h
wrast/s_texrender.c
|
a25a452fbed6cd72b356ff96839d2097b3e4a4fe |
11-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a driver hook for mapping renderbuffers. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dd.h
|
15b58d8c2233f0e67257cb907c7d90fa23c723a5 |
01-Nov-2011 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Drop the immediate validation of the texture object in TFP." This reverts commit abaebcee787eeb8a89bf7a82ed4d1532fcde5e39. The assertion I made was that "the zero-copy code in validation" would zero copy. Of course, I deleted that check back in January because the two sites that would trigger it (glTexImage() and this one) both immediately bound their mt to the object, making the other check pointless. Removes two extra blits in glx-tfp. Also fixed the Android home screen, which wasn't rendering because the extra copy broke the relationship between the texture and the eglimage. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42152 Tested-by: Chad Versace <chad@chad-versace.us> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_tex_image.c
|
689df24503d018f2d120316dc99cd96410526895 |
01-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make save_EndConditionalRender param list (void) to silence warning
ain/dlist.c
|
3d6d44348150cef8316f32de79470d9a0ed71155 |
27-Oct-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix memory leak in out-of-memory path. Fixes Coverity resource leak defect.
ain/pack.c
|
66389bb99d86c8d96c2a7dbd83a5227c0e13e767 |
20-Sep-2011 |
Nicholas Miell <nmiell@gmail.com> |
dri/nouveau: Enable NV_fog_distance on NV10 and NV20 hardware Add support for NV_fog_distance to the NV10 and NV20 drivers. [ Francisco Jerez: Fix fog coord. signedness for GL_EYE_RADIAL_NV/GL_EYE_PLANE on nv20 ]
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_state_tnl.c
|
64cebb6c8339f515ff8acb7c34fd0615b0e34a19 |
20-Sep-2011 |
Nicholas Miell <nmiell@gmail.com> |
st/mesa: Enable NV_fog_distance for Gallium drivers The fixed-function generated vertex program is all that's needed for Gallium drivers.
tate_tracker/st_extensions.c
|
fadd5e1b00a587ad73f64ccfae59a742ea1b5bbe |
20-Sep-2011 |
Nicholas Miell <nmiell@gmail.com> |
mesa: Add NV_fog_distance to the fixed-function vertex program generator This is all that is needed to implement NV_fog_distance on programmable hardware.
ain/ffvertex_prog.c
|
740467dd62962b4effdaf51e38edc032e2a39487 |
20-Sep-2011 |
Nicholas Miell <nmiell@gmail.com> |
mesa: Add the basics for the NV_fog_distance extension No driver implements it yet.
ain/extensions.c
ain/fog.c
ain/get.c
ain/mtypes.h
|
9734bd05608c00a1d84851f3d46d5deb52e75d5e |
25-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix flat integral varyings. Previously, the vertex and fragment shader back-ends assumed that all varyings were floats. In GLSL 1.30 this is no longer true--they can also be of integral types provided that they have an interpolation qualifier of "flat". This required two changes in each back-end: assigning the correct type to the register that holds the varying value during shader execution, and assigning the correct type to the register that ties the varying value to the rest of the graphics pipeline (the message register in the case of VS, and the payload register in the case of FS). Fixes piglit tests fs-int-interpolation and fs-uint-interpolation. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
f40c6b2a992f3ca796826a47743c0c80232d7ab2 |
08-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Switch GLSL from ALT to IEEE floating point mode i965 graphics hardware has two floating point modes: ALT and IEEE. In ALT mode, floating-point operations never generate infinities or NaNs, and MOV instructions translate infinities and NaNs to finite values. In IEEE mode, infinities and NaNs behave as specified in the IEEE 754 spec. Previously, we used ALT mode for all vertex and fragment programs, whether they were GLSL programs or ARB programs. The GLSL spec is sufficiently vague about how infs and nans are to be handled that it was unclear whether this mode was compliant with the GLSL 1.30 spec or not, and it made it very difficult to test the isinf() and isnan() functions. This patch changes i965 GLSL programs to use IEEE floating-point mode, which is clearly compliant with GLSL 1.30's inf/nan requirements. In addition to making the Piglit isinf and isnan tests pass, this paves the way for future support of the ARB_shader_precision extension. Unfortunately we still have to use ALT floating-point mode when executing ARB programs, because those programs require 0^0 == 1, and i965 hardware generates 0^0 == NaN in IEEE mode. Fixes piglit tests "isinf-and-isnan fs_fbo", "isinf-and-isnan vs_fbo", and {fs,vs}-{isinf,isnan}-{vec2,vec3,vec4}.
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
414e183ed7345828ce3ca572ddab1ad6317ec175 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add note about immutable textures for _mesa_test_texobj_completeness()
ain/texobj.c
|
12d69fca096facf0ddb4642faaed4d5f02d76848 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: implement GL_ARB_texture_storage
rivers/common/driverfuncs.c
ain/extensions.c
wrast/s_texture.c
wrast/swrast.h
|
e0a0496971dfd6c0f22b3870e6320128fa895d4d |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement GL_ARB_texture_storage
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
|
2ace9ffc8e2354acce4dc45d425d71c3f1a349b2 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in dispatch functions for GL_ARB_texture_storage
ain/api_exec.c
|
29eb2e89444691d319902679016738112173cc31 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: compile new texstore.c file
Conscript
ources.mak
|
a7d9e449f0a492c31ffb6417c98b87a543496930 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: init extension entry for GL_ARB_texture_storage
ain/extensions.c
|
7d577d703d7d4f79cae047db6f29d5fd0643edd5 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: display list dispatch for GL_ARB_texture_storage
ain/dlist.c
|
a0d736b3b7c325ab0295da3b0e3b92d170b44261 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new glTexImage error checks for GL_ARB_texture_storage If the texture memory was allocated with glTexStorage1/2/3D() we can only change the image data with glTexSubImage calls.
ain/teximage.c
|
fbc419314e9d1f06d624d8e3997394db7f829f63 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: glGetTexParameter support for GL_ARB_texture_storage
ain/texparam.c
|
a8fcb7927b2f50886eb33e81aa7feeb96bc300e4 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement new functions for GL_ARB_texture_storage This is the glTexStorage1D/2D/3D() functions. Basically do error checking then call the driver hook to actually allocate memory.
ain/texstorage.c
ain/texstorage.h
|
ae9bef240d22532e21ae5aee6c9dca812d92c325 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated API files for GL_ARB_texture_storage
ain/dispatch.h
ain/enums.c
ain/remap_helper.h
|
2e322bb8d18502833f8734f5ecc6770cbc4c93f0 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new driver hook for AllocTextureStorage()
ain/dd.h
|
b296315881e4da60798e546f24c727a49deb9a89 |
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new fields for GL_ARB_texture_storage
ain/mtypes.h
|
56d30bb00d40cd391d7a469604792a27ddcc459c |
29-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel This drops all the old drmSupports* checks since KMS does them all, and it also drop R300_CLASS and R600_CLASS. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state_init.c
|
d1d456a774eedc4ebe968070626488cd85535a78 |
21-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
intel: enable GL_OES_draw_texture
rivers/dri/intel/intel_extensions_es.c
|
b4dc35d9bc879c104faac043b640ae2673763b93 |
21-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
meta: add _mesa_meta_DrawTex() It is set to dd->DrawTex. Reviewed-by: Brian Paul <brianp@vmware.com> [olv: set dd->DrawTex in _mesa_init_driver_functions]
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/common/meta.h
|
44c65d0e4e22bbfaba31de68fc4e48b7decf7c02 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove the prepare() hook from state atoms. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
|
2649ff4d909fb4f1f1f4c06534170e0d3b4bcc73 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove the memcpy()ed atoms array now that everything is emit()-based. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
|
35c7e8cebeaae67c80254224cda46ee17f6d5868 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Merge brw_validate_state() and brw_upload_state() together. They were called back-to-back at this point. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
68c813e8eaf46594b1a3c4b0f49ff6edd9d60c75 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove state upload code for calling prepare() now that there are none. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_state_upload.c
|
26cfca825d7cdba753d138172285b5c2adf25c4b |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove some old texturing debug code. It caught one possible bug I recall in my time working on the driver, and we haven't been setting it for non-fixed-function since the new FS backend came along. The bug it caught was likely a confusion about sampler mappings, which we have tests for these days. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_fp.c
|
bd27c25ff9379454c92a65b9e6f4f1ee23e3665c |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Finally, move the global fallbacks check to emit() time. This was the last prepare() function, and it's the first state atom, so it must be ready to move. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_fallback.c
|
c83bfeabc6af82f061d53b8b5923ee26f14efb58 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move index buffer upload to emit() time. It's consumed by the brw_emit_index_buffer() code at emit() time. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw_upload.c
|
78a010127f3eb600fb7b145bc562b62a77af5a34 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Do a hack job of merging VB prepare()/emit() together. I don't really want to touch this impenetrable code in this series, so just call the one function from the other, since no other atom cares about them. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw_upload.c
|
bf11c9e4c1be307add4bb9355e6c0b5f4c44629f |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the WM input sizes calculation to emit() time. It's used for program compile. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vs_constval.c
|
dc9a753f6687133d2d057597e5af86abcdc56781 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move program compile to emit() time. Only 4 other prepare() functions are left, which don't rely on this. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
0969568fce93bde927797ed4eeae0df6546806a3 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move CURBE offset calculation to emit() time. This is consumed by the unit state. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_curbe.c
|
47c4d950cbc62f004ecdfe2eb197eb8a440cf1ae |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Fold push constant prepare()/emit() together. While other units need to know about our constant buffer offsets, nothing else cared about which particular BO other than the emit() half. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_curbe.c
|
752cad8f33ad1adc8950e5c0b5c9c4aa2ad046ec |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move viewport state setup to emit() time. Only the emit() for the pointers into the batch later in this file cares. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen6_viewport_state.c
|
8f0a54e6ffab12f745eeccc5a98d6a243404fe67 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move URB fence recalculate to emit() time. This is used by the unit state, which is at emit() time. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_urb.c
|
ab8637b03fbf2594bd1ed9ea70982b166ef991be |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fold the gen6/7 URB state prepare()/emit() together. No other unit cares about the prepare state, unlike gen4-5. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen6_urb.c
rivers/dri/i965/gen7_urb.c
|
395a8605fa80aeef48f6d9e90d9a7c38c259120d |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move VS pull constant upload to emit() time. Only needed by the emit() for VS surfaces. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vs_surface_state.c
|
c933b33dc8e45c0ae01e901930842e615960677e |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fold prepare() and emit() of VS surface state setup together. This rearranges the code a bit, and makes the upload of the binding table take only as many surfaces as there are in use. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vs_surface_state.c
|
2b730c1f19ac1e15fa1b70c6cb3a3bd158e18ea1 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move WM pull constant setup to emit() time. It's needed by the WM surface state setup, which is now emit(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm_surface_state.c
|
4de2cfc3a08819b869ac3326f171d0a9f0fecf65 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fold WM surface state prepare()/emit() together. These produce BRW_NEW_SURFACES (used by binding table emit()) and BRW_NEW_NR_WM_SURFACES (used by WM unit emit()). Fixes a bug where with no texturing and no color buffer, we wouldn't consider the null renderbuffer in nr_surfaces. This was harmless because nr_surfaces is only used for the prefetch info in the unit state. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen7_wm_surface_state.c
|
93cabff7d69a29b75e8f3143099edebf6e46bee7 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Fold WM surface state prepare()/emit() together. These produce BRW_NEW_SURFACES (used by binding table emit()) and BRW_NEW_NR_WM_SURFACES (used by WM unit emit()). Fixes a bug where with no texturing and no color buffer, we wouldn't consider the null renderbuffer in nr_surfaces. This was harmless because nr_surfaces is only used for the prefetch info in the unit state. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm_surface_state.c
|
9a5f8a98ed9eebec89f151d2b6df08c423b6ef34 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move sampler state to emit() time. This is consumed by the WM unit, which is already at emit(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
c4aaf85285fc9484e95e9cda89db9cc6923259f4 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move unit state setup to emit() time. It is only needed in time for brw_psp_urb_cbs(), which is also an emit(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_state.c
|
c0574d5a903df450b694c13018149cb2d9978ba5 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen7: Fold prepare() and emit() of SF CLIP/VP state together. The prepare() only made state for its emit(), not anybody else. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen7_viewport_state.c
|
7a874d04a8410a2b778b29ba85797eaf45d96c84 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_cc.c
|
9015969e6e9ce38d183e77a633f1d55117e07b26 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move push constants setup to emit() time. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
f84f3322b44e9828dcbee4791909025369c96f74 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move setup of CC state batches to emit time. This is part of a series trying to eliminate the separate prepare() hook in state upload. The prepare() hook existed to support the check_aperture in between calculating state updates and setting up the batch, but there should be no reason for that any more. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_depthstencil.c
|
78188bc53769384fdeb8d7618af882c86530a4d5 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Check Fallback again after upload. As we move state to emit() time from prepare() time, a couple of the places that flag fallbacks will move here. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw.c
|
eaf4d3e6e2493a6e0b20d1205a5fb33ce500c9c2 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove the validated BO list, now that it's unused. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
3d851ae48865ac6a20a615e6e06d913c2265cda5 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use the batch save/reset code to avoid needing the BO validate step. We were doing the BO validate step in prepare() (brw_validate_state()) hooks of atoms so that we could check_aperture before emitting the relocation trees during brw_upload_state() that would actually make the batchbuffer reference too much memory to be executed. Now that all relocations occur in the batchbuffer, we can instead check_aperture after emitting our state into the batchbuffer, and easily roll back, flush, and retry if we happened to go over the limits. This will let us remove the whole prepare() vs emit() split in our state atoms, which is a source of tricky dependencies and duplicated code. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw.c
|
da8f052560120010b7f37a300f03c0847cca3aa5 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Return error value from intel_batchbuffer_flush(). This will let the caller do something sensible on error, if it cares. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
fff693828ed5398ae284fb01c129d0f8986a126e |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add a note about an unsafe-looking state check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_draw.c
|
3faf56ffbdebef04345ebb1fa8e0d50b4beeedb2 |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add an interface for saving/restoring the batchbuffer state. This will be used to avoid the prepare() step in the i965 driver's state setup. Instead, we can just speculatively emit the primitive into the batchbuffer, then check if the batch is too big, rollback and flush, and replay the primitive. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
|
db364a8af0d19e4032ac44635834737017e1051c |
22-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i915: Move the always_flush_cache code to triangle emit. This could have broken always_flush_cache on i965, since reserved_space doesn't reflect the size of the workaround flushes, and we might run out of space. This should make always_flush_cache more useful on pre-i965, anyway (since the point is to flush around each draw call, even within a batchbuffer). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_batchbuffer.c
|
09a92e376bf954603dad4a6ad9a18cce3c52b484 |
29-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: forgot one somehow drops last usage.
rivers/dri/radeon/radeon_common_context.h
|
b490fa017231a9ed8f6751bb0b41347d8f7bb191 |
29-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: drop remains of non-libdrm_radeon build These wrappers and associated symlinks were from the non-libdrm_radeon build. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/radeon_bo_int_drm.h
rivers/dri/r200/radeon_bocs_wrapper.h
rivers/dri/r200/radeon_cs_int_drm.h
rivers/dri/r200/radeon_cs_legacy.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_int_drm.h
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_int_drm.h
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_screen.c
|
4dfee0011acb31f88889f298e4a355489889a542 |
28-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: get interpolation mode from the fragment shader. With the recent changes to interpolation stuff, we can now get the value direct from the program instead of just being fail. fixes some of the glsl-1.30 interpolation tests with softpipe Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_program.c
|
276000472abbc34d86fcb628bc3a1990e9581af3 |
12-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Let check_resources halt compilation Previously check_resources could fail, but we'd still try to optimize the shader, do device-specific code generation, etc. In some cases, this could explode (especially in the device-specific code generation). I haven't found that I could trigger this with the current code. When too many samplers were used with the new uniform handling code, I observed several crashes deep down in the driver. NOTE: This is candidate for the 7.11 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41609 Cc: Eric Anholt <eric@anholt.net> Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
6da9b21f716d97fc9ef4797abb6368b0a5f92a14 |
22-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Use glsl_type::column_type instead of open-coding it Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
e79aaf000b0cf0a2f6f22695dc8e0acf3d2ce182 |
28-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
r300c/compiler: remove the compiler too Gallium has a fork of this.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/memory_pool.c
rivers/dri/r300/compiler/memory_pool.h
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_emulate_branches.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/compiler/radeon_list.c
rivers/dri/r300/compiler/radeon_list.h
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_dead_sources.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_program_print.c
rivers/dri/r300/compiler/radeon_program_tex.c
rivers/dri/r300/compiler/radeon_program_tex.h
rivers/dri/r300/compiler/radeon_remove_constants.c
rivers/dri/r300/compiler/radeon_remove_constants.h
rivers/dri/r300/compiler/radeon_rename_regs.c
rivers/dri/r300/compiler/radeon_rename_regs.h
rivers/dri/r300/compiler/radeon_swizzle.h
rivers/dri/r300/compiler/radeon_variable.c
rivers/dri/r300/compiler/radeon_variable.h
rivers/dri/r300/compiler/tests/Makefile
rivers/dri/r300/compiler/tests/radeon_compiler_util_tests.c
rivers/dri/r300/compiler/tests/rc_test_helpers.c
rivers/dri/r300/compiler/tests/rc_test_helpers.h
rivers/dri/r300/compiler/tests/unit_test.c
rivers/dri/r300/compiler/tests/unit_test.h
|
512431b3575eb5f2c27d8795c5e2191047ebb5ed |
27-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Use the actual hardware g0 register for texel offset setup. The idea here is to set up the message header with the Sampler State pointer which the hardware provides as part of the PS Thread Payload in register g0. Unfortunately, the existing code fs_reg(GRF, 0, BRW_REGISTER_TYPE_UD)) actually references "virtual GRF 0" rather than the hardware g0. This is just some arbitrary GRF temporary which will get register allocated. So, we ended up setting up the header with garbage. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
b4d988bc9f36fddbe0cc92ea6e267d307f6d1112 |
27-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't do [0, 1] clamping on glGetTexImage() of packed float formats. From the GL_EXT_packed_float spec: For an RGBA color, if <type> is not one of FLOAT, UNSIGNED_INT_5_9_9_9_REV_EXT, or UNSIGNED_INT_10F_11F_11F_REV_EXT, or if the CLAMP_READ_COLOR_ARB is TRUE, or CLAMP_READ_COLOR_ARB is FIXED_ONLY_ARB and the selected color (or texture) buffer is a fixed-point buffer, each component is first clamped to [0,1]. Then the appropriate conversion formula from table 4.7 is applied the component." (but we previously resolved that the CLAMP_READ_COLOR bit is not relevant to glGetTexImage()) This fixes most of the cases in piglit GL_EXT_packed_float/pack. Reviewed-by: Marek Ol ák <maraeo@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texgetimage.c
|
974c66875e719051831e2bd874db4ba7fdaffa02 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove the non-libdrm kernel memory manager support. We should have never been building this at this point.
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo.c
rivers/dri/r200/radeon_cs.c
rivers/dri/r200/radeon_cs_space_drm.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo.c
rivers/dri/radeon/radeon_cs.c
rivers/dri/radeon/radeon_cs_space_drm.c
|
830e546f94c53d3f6878a188a2bdb5d2f3cf74bd |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Insist on libdrm being present to build. There's no sense in building a broken driver. Previously, there was the potential of building a DRI1-only driver that would work for DRI1 and fail on DRI2 because the newer libdrm code wasn't present. Now the radeon build system should be matching intel and nouveau.
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bocs_wrapper.h
|
bd51e8e4f473dd4fb4f99ed7898d771c64caca2d |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
dri: Remove driver GenerateMipmap hooks. Mesa sets up _mesa_meta_GenerateMipmap as the default hook, which does this check for fallback and call the fallback itself.
rivers/dri/intel/intel_tex.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
eb135fe8c16388cd33b424ee3915ae52d20cb3ff |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop some remaining DRI1 vblank support code.
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.c
|
a9f75158908d027800c56b4879480cbcefd9414f |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: remove dead prototype for old DRI1 code. Noticed while grepping for radeon code.
rivers/dri/intel/intel_buffers.h
|
339c1731c346f21bf212e4d94d57d09d8cbfc9f4 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Simplify cliprects computation now that there's just 1. This can probably be reduced even further by moving this logic to the scissor state update or just removing the logic entirely, but I don't trust myself in radeon quite that much.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.h
|
cab45780248f5d38954d9c9e553246c7f488ef0f |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the clipping in spans, now that we always have (0,0) -> (w,h).
rivers/dri/radeon/radeon_span.c
|
8c11f0a88300f7bc3f05a12789c781ba0f4b3cc6 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the legacy BO manager code.
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo_legacy.c
rivers/dri/r200/radeon_bo_legacy.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_bocs_wrapper.h
|
976d4f58faecf9356de1ea0dfbc6b76409450239 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the DRI1 zero-copy TFP code.
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texstate.c
|
15537237122c6886e020ea9985288f7d26fd7b3c |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the radeon_cs_legacy code now that we rely on kernel mm.
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_cs_legacy.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
|
53b382637ca5462b15a430abbfc070e799d70b97 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop dri2 checks now that it's always true. This makes LOCK_HARDWARE empty, so it goes away.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/radeon_lock.c
rivers/dri/r200/radeon_lock.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_span.c
|
fb52b4303d8dab75e88d9bae66687c902a7767cc |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the DRI1 swapbuffers implementation.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_screen.c
|
0973a1ec78fdedc5401cb1c0f6d027425c492509 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the non-kernel-memory-manager support, and thus DRI1. It's past time, and it was going to get in the way of the renderbuffer mapping refactor. We dropped all the other DRI1 drivers for this release, and I can't imagine anybody supporting DRI1 radeon classic in a new release of Mesa. Diff produced by treating kernel_mm as true, deleting the DRI1 paths that produce kernel_mm false, and deleting code.
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_texture.c
|
4a2f00889ba481c117057da5fac7585327458cc3 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
r200: Drop the non-kernel-memory-manager and DRI1 code.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
|
3996ed555e0a024051e4d161c8d31b2530d8cdc5 |
21-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Unifdef RADEON_R300 and RADEON_R600.
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_texture.c
|
de22b9018f2516a3948d920c6bb1ffe659d7f230 |
21-Oct-2011 |
Eric Anholt <eric@anholt.net> |
r300c, r600c: Remove these DRI drivers. They have been superseded by the gallium equivalents. Acked-by: Michel Dänzer <michel@daenzer.net> Acked-by: Alex Deucher <alexdeucher@gmail.com> Acked-by: Dave Airlie <airlied@gmail.com> Acked-by: Corbin Simpson <mostawesomedude@gmail.com>
rivers/dri/r300/Lindent
rivers/dri/r300/Makefile
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_common.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
rivers/dri/r300/radeon_bo.c
rivers/dri/r300/radeon_bo_int_drm.h
rivers/dri/r300/radeon_bo_legacy.c
rivers/dri/r300/radeon_bo_legacy.h
rivers/dri/r300/radeon_bocs_wrapper.h
rivers/dri/r300/radeon_buffer_objects.c
rivers/dri/r300/radeon_buffer_objects.h
rivers/dri/r300/radeon_chipset.h
rivers/dri/r300/radeon_cmdbuf.h
rivers/dri/r300/radeon_common.c
rivers/dri/r300/radeon_common.h
rivers/dri/r300/radeon_common_context.c
rivers/dri/r300/radeon_common_context.h
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_cs.c
rivers/dri/r300/radeon_cs_int_drm.h
rivers/dri/r300/radeon_cs_legacy.c
rivers/dri/r300/radeon_cs_legacy.h
rivers/dri/r300/radeon_cs_space_drm.c
rivers/dri/r300/radeon_debug.c
rivers/dri/r300/radeon_debug.h
rivers/dri/r300/radeon_dma.c
rivers/dri/r300/radeon_dma.h
rivers/dri/r300/radeon_fbo.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_mesa_to_rc.c
rivers/dri/r300/radeon_mesa_to_rc.h
rivers/dri/r300/radeon_mipmap_tree.c
rivers/dri/r300/radeon_mipmap_tree.h
rivers/dri/r300/radeon_pixel_read.c
rivers/dri/r300/radeon_queryobj.c
rivers/dri/r300/radeon_queryobj.h
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_span.h
rivers/dri/r300/radeon_tex_copy.c
rivers/dri/r300/radeon_texture.c
rivers/dri/r300/radeon_texture.h
rivers/dri/r300/radeon_tile.c
rivers/dri/r300/radeon_tile.h
rivers/dri/r300/server/radeon.h
rivers/dri/r300/server/radeon_dri.h
rivers/dri/r300/server/radeon_macros.h
rivers/dri/r300/server/radeon_reg.h
rivers/dri/r600/Lindent
rivers/dri/r600/Makefile
rivers/dri/r600/defaultendian.h
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_blit.h
rivers/dri/r600/evergreen_blit_shaders.h
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_chip.h
rivers/dri/r600/evergreen_context.c
rivers/dri/r600/evergreen_context.h
rivers/dri/r600/evergreen_diff.h
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_fragprog.h
rivers/dri/r600/evergreen_ioctl.c
rivers/dri/r600/evergreen_ioctl.h
rivers/dri/r600/evergreen_off.h
rivers/dri/r600/evergreen_oglprog.c
rivers/dri/r600/evergreen_oglprog.h
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_sq.h
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/evergreen_state.h
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/evergreen_tex.h
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/evergreen_vertprog.h
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_blit_shaders.h
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_reg.h
rivers/dri/r600/r600_reg_auto_r6xx.h
rivers/dri/r600/r600_reg_r6xx.h
rivers/dri/r600/r600_reg_r7xx.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_chipoffset.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_clear.h
rivers/dri/r600/r700_debug.c
rivers/dri/r600/r700_debug.h
rivers/dri/r600/r700_driconf.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_ioctl.h
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_oglprog.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_shaderinst.c
rivers/dri/r600/r700_shaderinst.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/r600/radeon_bo.c
rivers/dri/r600/radeon_bo_int_drm.h
rivers/dri/r600/radeon_bo_legacy.c
rivers/dri/r600/radeon_bo_legacy.h
rivers/dri/r600/radeon_bocs_wrapper.h
rivers/dri/r600/radeon_buffer_objects.c
rivers/dri/r600/radeon_buffer_objects.h
rivers/dri/r600/radeon_chipset.h
rivers/dri/r600/radeon_cmdbuf.h
rivers/dri/r600/radeon_common.c
rivers/dri/r600/radeon_common.h
rivers/dri/r600/radeon_common_context.c
rivers/dri/r600/radeon_common_context.h
rivers/dri/r600/radeon_cs.c
rivers/dri/r600/radeon_cs_int_drm.h
rivers/dri/r600/radeon_cs_legacy.c
rivers/dri/r600/radeon_cs_legacy.h
rivers/dri/r600/radeon_cs_space_drm.c
rivers/dri/r600/radeon_debug.c
rivers/dri/r600/radeon_debug.h
rivers/dri/r600/radeon_dma.c
rivers/dri/r600/radeon_dma.h
rivers/dri/r600/radeon_fbo.c
rivers/dri/r600/radeon_lock.c
rivers/dri/r600/radeon_lock.h
rivers/dri/r600/radeon_mipmap_tree.c
rivers/dri/r600/radeon_mipmap_tree.h
rivers/dri/r600/radeon_pixel_read.c
rivers/dri/r600/radeon_queryobj.c
rivers/dri/r600/radeon_queryobj.h
rivers/dri/r600/radeon_screen.c
rivers/dri/r600/radeon_screen.h
rivers/dri/r600/radeon_span.c
rivers/dri/r600/radeon_span.h
rivers/dri/r600/radeon_tex_copy.c
rivers/dri/r600/radeon_texture.c
rivers/dri/r600/radeon_texture.h
rivers/dri/r600/radeon_tile.c
rivers/dri/r600/radeon_tile.h
rivers/dri/r600/server/radeon.h
rivers/dri/r600/server/radeon_dri.h
rivers/dri/r600/server/radeon_macros.h
rivers/dri/r600/server/radeon_reg.h
rivers/dri/r600/sq_micro_reg.h
|
9171bfe5f6549858ba952313829c50c5f905cd3d |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Delete DRI1 screen init code and thus support for !kernel_mm. It's past time, and it was going to get in the way of the renderbuffer mapping refactor. We dropped all the other DRI1 drivers for this release, and I can't imagine anybody supporting DRI1 radeon classic in a new release of Mesa. Cleanup of the resulting dead code to follow. Acked-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/radeon/radeon_screen.c
|
a34c28f1aa0e7c0f66bc45f18750eb7f7ca8d5cd |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
dri: Drop _dri_texformats that just obfuscate MESA_FORMAT names. The remaining _dri_texformats are the ones that are variable depending on the endianness of the system.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/radeon/radeon_texture.c
|
8d9c5167accbc7d46838d3179b13a5a4ea60119c |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Use _mesa_get_format_base_format for winsys renderbuffer setup.
rivers/dri/radeon/radeon_fbo.c
|
964c5195a2195165017fb8eb9bc3e5756735cc57 |
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove dead swrast renderbuffer setup code. This was from the stub code in the initial commit of this file.
rivers/dri/radeon/radeon_fbo.c
|
5aa96286e7e1a5380673eb75e8653616b48751fd |
22-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Add support for noperspective interpolation. This required the following changes: - WM setup now makes the appropriate set of barycentric coordinates (perspective vs. noperspective) available to the fragment shader, based on whether the shader requires perspective interpolation, noperspective interpolation, both, or neither. - The fragment shader backend now uses the appropriate set of barycentric coordiantes when interpolating, based on the interpolation mode returned by ir_variable::determine_interpolation_mode(). - SF setup now uses gl_fragment_program::InterpQualifier to determine which attributes are to be flat shaded (as opposed to the old logic, which only flat shaded colors). - CLIP setup now ensures that the clipper outputs non-perspective barycentric coordinates when they are needed by the fragment shader. Fixes the remaining piglit tests of interpolation qualifiers that were failing: - interpolation-flat-*-smooth-none - interpolation-flat-other-flat-none - interpolation-noperspective-* - interpolation-smooth-gl_*Color-flat-* Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_sf_state.c
rivers/dri/i965/gen7_wm_state.c
|
4d563ec1cc912e4b3f02e71ad72d7b08f001d4d7 |
22-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Rename GEN6_CLIP_BARYCENTRIC_ENABLE. The name was misleading. The actual effect of the bit is to cause the clipper to emit *non-perspective* barycentric coordinate information (which is only needed when doing noperspective interpolation). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
|
f8386a29f07c6a41c4afb99fc3ecd9f18e9151e8 |
21-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/fs: use determine_interpolation_mode(). This patch changes how fs_visitor::emit_general_interpolation() decides what kind of interpolation to do. Previously, it used the shade model to determine how to interpolate colors, and used smooth interpolation on everything else. Now it uses ir_variable::determine_interpolation_mode(), so that it respects GLSL 1.30 interpolation qualifiers. Fixes piglit tests interpolation-flat-*-smooth-{distance,fixed,vertex} and interpolation-flat-other-flat-{distance,fixed,vertex}. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
e04bdeae82797dbdcf6f544a997a4626fdfd4aee |
22-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/gen6+: Parameterize barycentric interpolation modes. This patch modifies the fragment shader back-end so that instead of using a single delta_x/delta_y register pair to store barycentric coordinates, it uses an array of such register pairs, one for each possible intepolation mode. When setting up the WM, we intstruct it to only provide the barycentric coordinates that are actually needed by the fragment shader--that is computed by brw_compute_barycentric_interp_modes(). Currently this function returns just BRW_WM_PERSPECTIVE_PIXEL_BARYCENTRIC, because this is the only interpolation mode we support. However, that will change in a later patch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
102bdd26e1acf1ebf75ef85b62df2400239fd480 |
21-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965/fs: Fix split_virtual_grfs() when delta_xy not in a virtual register. This patch modifies the special case in fs_visitor::split_virtual_grfs() that prevents splitting from being applied to the delta_x/delta_y register pair (this register pair needs to remain contiguous so that it can be used by the PLN instruction). When gen>=6, this register pair is in a fixed location, not a virtual register, so it was in no danger of being split. And split_virtual_grfs' attempt not to split it was preventing some other unrelated register from being split. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
c488150dea083a9677429b4185c6b20d7facd52b |
21-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Distinguish between no interpolation qualifier and 'smooth' Previously, we treated the 'smooth' qualifier as equivalent to no qualifier at all. However, this is incorrect for the built-in color variables (gl_FrontColor, gl_BackColor, gl_FrontSecondaryColor, and gl_BackSecondaryColor). For those variables, if there is no qualifier at all, interpolation should be flat if the shade model is GL_FLAT, and smooth if the shade model is GL_SMOOTH. To make this possible, I added a new value to the glsl_interp_qualifier enum, INTERP_QUALIFIER_NONE. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
|
cf45949d6a896651a5f3864d3b195e26d59eee74 |
26-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Expose GLSL interpolation qualifiers in gl_fragment_program. This patch makes GLSL interpolation qualifiers visible to drivers via the array InterpQualifier[] in gl_fragment_program, so that they can easily be used by driver back-ends to select the correct interpolation mode. Previous to this patch, the GLSL compiler was using the enum ir_variable_interpolation to represent interpolation types. Rather than make a duplicate enum in core mesa to represent the same thing, I moved the enum into mtypes.h and renamed it to be more consistent with the other enums defined there. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
48dcdcffd61c6c3755d818493bc3b7bdc1260ea5 |
25-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initialize ARB_transform_feedback2 dispatch Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/api_exec.c
ain/transformfeedback.c
|
dc93a81a3d85add585efc0d406dbf2ca45e2fa1e |
25-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: improve EXT_transform_feedback display list support Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dlist.c
|
f77aa278d354bebdbda940b31c9cccf12a5d146f |
24-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix GL error checking in TransformFeedbackVaryings Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/transformfeedback.c
|
2997b458964b82c2cb7d0e57b3ead9371c4a8ea1 |
26-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: tell VBO module to always unmap buffers before drawing Without this it's possible to wind up in a draw call with the glBegin/End VBO still in a mapped state. This is a problem for the SVGA3D driver and probably not good for other HW drivers.
tate_tracker/st_context.c
|
4fc9a98a0e01195202cd5f3f5a78cf28c5e8843c |
21-Oct-2011 |
Eric Anholt <eric@anholt.net> |
glsl: Rename remaining internal builtins from gl_MESA* to gl_*MESA. This matches the usual convention for extension builtin variables. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/ff_fragment_shader.cpp
|
4ad8a0adec588b4c2c5a8f93265ed46cee5d3ff6 |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop texture border support code. Now that texture borders are gone, we never need to allocate our textures through non-miptrees, which simplifies some irritating paths. v2: Remove the !mt support case from intel_map_texture_image() Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_fallback.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
96db07e28c165610b809a9fd88410a82a24a893e |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
intel: Enable stripping of texture borders. This replaces software rendering of textures with the deprecated 1-pixel border (which is always bad, since mipmapping is rather broken in swrast, and GLSL 1.30 is unsupported) with hardware rendering that just pretends there was never a border (so you have potential seams on apps that actually intentionally used the 1-pixel borders, but correct rendering otherwise). This doesn't regress any piglit tests on gen6 (since the texwrap border/bordercolor cases already failed due to broken border color handling), but regresses texwrap border cases on original gen4 since those end up sampling the border color instead of the border pixels. It's a small price to pay for not thinking about texture borders any more. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_context.c
|
638b657f838266e3d4892d06ff53a1c1bee24a9b |
25-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Apply StripTextureBorder to CopyTexImage as well. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
9c4b02528752eb6392009e41025202fc9f9ca5b3 |
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fold gallium's texture border stripping into a core Mesa option. We wanted to reuse this in the Intel driver. v2: Move the flag to ctx->Const Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
ain/teximage.c
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
|
b31104e318ec1a49447d3f301bcfe46b22d508db |
25-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Skip texstore for 0-sized texture data. The intel driver (and gallium, it looks like, though it doesn't use these texstore functions at this point) doesn't bother making storage for textures with 0 width, height, or depth. This avoids them having to deal with returning a mapping for that nonexistent data. Fixes assertion failures with an upcoming intel driver change. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
6437a71d4172273db670b959dd66e3b34c866962 |
24-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Use uniform_field_visitor to add all struct fields to parameter list Previously the uniform was passed as single, whole structure to _mesa_add_parameter. This was completely bogus and resulted in a DataType of 0 (instead of a valid GLSL type enum). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41980 Tested-by: Brian Paul <brianp@vmware.com> Cc: Bryan Cain <bryancain3@gmail.com> Cc: Vinson Lee <vlee@vmware.com> Cc: José Fonseca <jfonseca@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
1d5d67f8adac9f94715de9804adb536d9a7ec5ee |
21-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add uniform_locations_assigned parameter to do_dead_code opt pass Setting this flag prevents declarations of uniforms from being removed from the IR. Since the IR is directly used by several API functions that query uniforms in shaders, uniform declarations cannot be removed after the locations have been set. However, it should still be safe to reorder the declarations (this is not tested). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41980 Tested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com> Cc: Vinson Lee <vlee@vmware.com> Cc: José Fonseca <jfonseca@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_shader.cpp
ain/ff_fragment_shader.cpp
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
384ad987a1dd495681be0a5a04344fe6400e48ec |
24-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add more #defines for Gen6+ 3DSTATE_GS fields. These should be useful for doing transform feedback on Sandybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
|
f1694eabdd860c3026dc691474caee83fce7bb52 |
24-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add new brw_context::max_gs_threads constant. These are correct to the best of my knowledge, gleaned from a variety of internal sources. Sadly, the Sandybridge PRM has incorrect limits. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
|
db6dd6d88fdc4361193dd063e4f150f01a104faa |
24-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename (vs|wm)_max_threads to max_(vs|wm)_threads for consistency. The inconsistency between vs_max_threads and max_vs_entries was rather annoying. I could never seem to remember which one was reversed, which made it harder to find quickly. "Max __ Threads" seems more natural. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
47f1d9deffee8aeb2d73d8e06f829d32125f944c |
24-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove "single threaded" INTEL_DEBUG mode. According to the docs for 3DSTATE_PS (Gen7+) and 3DSTATE_WM (Gen6), there is a platform dependent value for the minimum number of pixel shader threads. It may also vary based on whether WIZ Hashing is on. For example, Ivybridge requires at least 4 threads if WIZ hashing is disabled, and 8 if it's enabled. Programming it to use less threads is illegal. Sandybridge appears to have similar restrictions. So on newer platforms, INTEL_DEBUG=sing will probably just hang the GPU. Rather than try to patch it up for newer platforms and extend it to support geometry shaders, just remove it as it isn't that useful anyway. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
7a86bf816c3eb977a5d7e558e85f00f8f2b9868a |
18-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove unnecessary and incorrect TexEnv parameter validation. For GL_RGB_SCALE and GL_ALPHA_SCALE targets, the API wrapper code attempts to ensure the parameter is 1.0, 2.0, or 4.0. This is unnecessary: set_combiner_scale in texenv.c (called by _mesa_TexEnvfv) already checks this and raises an appropriate error. It's also incorrect: For glTexEnvx, the API validation code directly compares the GLfixed input parameter with a floating point constant, prior to converting fixed-point to floating point. Fixes an issue in the OpenGL ES 1.1 conformance suite. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
|
882c83377da57d41c62eb38484305523c3d19dd7 |
24-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Kill dead code in intel_miptree_copy_teximage() Kill the code paths taken when src_mt is null. It is never null, otherwise there would be a segfault on line 4 of this function: GLuint width = src_mt->level[level].width; (Some interleaved lines in the diff make the real diff non-obvious. All I did was delete some code and then left-shifted what remained to correct the indentation.) Reviewed-by: Eric Anholt <eric@aholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_mipmap_tree.c
|
c81b441ba2b8ab61d5e1f24ec7a34914c8a3b215 |
25-Oct-2011 |
Vinson Lee <vlee@vmware.com> |
swrast: Fix memory leak in out-of-memory path. Fixes Coverity resource leak defect. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_texcombine.c
|
e8d0d7893a6e33eb76441fed146deadb39e91ab3 |
25-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: use _mesa_ffs() instead of ffs() Fixes MSVC build.
wrast/s_texture.c
|
05720e14ba1072c547fc2388738ed4f70a6630b6 |
25-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment language
ain/context.h
|
4e6a0b40c5bb31101718f25ffaff8ffeb3d921b9 |
24-Oct-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix memory leak in out-of-memory path. Fixes Coverity resource leak defect. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
3cc0a7be23ab603ed40d602595f673a44e079885 |
21-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Apply post-sync non-zero workaround to homebrew workaround. In commit 3e5d3626, Eric added a homebrew workaround to fix GPU hangs in the Mesa "engine" demo and oglc's api-texcoord test. Unfortunately, his PIPE_CONTROL contains a Depth Stall, which necessitates the post-sync non-zero workaround, Fixes GPU hangs in Civilization 4, PlaneShift, and 3DMMES. Hopefully Heroes of Newerth as well, though I haven't tested that. NOTE: This is candidate for the 7.11 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40324 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41096 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-and-tested-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_vs_state.c
|
cbb2b4149ba26ee26f73f53e9b2aa960d9e5862c |
19-Oct-2011 |
Tom Fogal <tfogal@alumni.unh.edu> |
Only use gcc visibility support with gcc4+. I had a colleague hitting issues compiling with an old gcc3.2 system. These patches got them through. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
|
9ed88983b03114d66d527354248e26f77d8868b9 |
22-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Avoid ABA problem on buffer object bind. Make sure we do not run into the classic ABA problem on buffer object bind, reusing this name and may be never rebind since we get an new name that was just deleted and never rebound in between. The explicit rebinding to the debault object in the current context prevents the above in the current context, but another context sharing the same objects might suffer from this problem. Minor var renaming and comments edited by Brian. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
ain/mtypes.h
|
c9bb1bdc4859af001f0bc9a931eaf53266b49c0c |
24-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix comment typo (s/texure/texture/)
wrast/s_context.h
|
b487fc50b0f977719729a540230e72d406063860 |
24-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove dead code from teximage.c
ain/teximage.c
|
597df3efdaa06d7c6a834bcaed8e6d5806be0cb5 |
19-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Fix multithreaded buffer object refcounting. Buffer objects may be shared across contexts. Rework the array attrib push/pop implementation to be thread safe. Make use of more library functions for this purpose. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/attrib.c
|
cf81f2349cd3152efdab06cdfa3ea6aca9801c35 |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
intel: remove duplicated #include of texstore.h
rivers/dri/intel/intel_tex_image.c
|
37fdfbfb0ec73f3a94843fd5daaf62389b43b656 |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
radeon: remove unnecessary #includes of texstore.h
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_tex.c
|
b7f670655dc57ea90963888f95e22773ce0ad131 |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: update renderbuffer format assertion Failed when exercising i965 swrast fallback rendering.
wrast/s_span.c
|
68da4b50e9b6aa72a9b155f650952620063e1b94 |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add swrast_texture_image::Buffer In the past, swrast_texture_image::Data has been overloaded. It could either point to malloc'd memory storing texture data, or it could point to a current mapping of GPU memory. Now, Buffer always points to malloc'd memory (if we're not using GPU memory) and Data always points to mapped memory. The next step would be to rename Data -> Map. This change also involves adding swrast functions for mapping textures and renderbuffers prior to rendering to setup the Data pointer. Plus, corresponding functions to unmap texures and renderbuffers. This is very much like similar code in the dri drivers.
rivers/dri/intel/intel_tex.c
rivers/dri/radeon/radeon_texture.c
wrast/s_context.c
wrast/s_context.h
wrast/s_texrender.c
wrast/s_texture.c
nl/t_context.h
nl/t_vb_program.c
|
66681b4c8cb1ef16f42c1591298cb30c83bca09b |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_alloc_texmemory(), _mesa_free_texmemory() Core Mesa no longer does any texture memory allocation.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
ain/teximage.c
ain/teximage.h
|
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/swrast/swrast.c
ain/mtypes.h
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_rgtc.c
ain/texcompress_s3tc.c
ain/teximage.c
ain/texstore.c
wrast/s_context.h
wrast/s_texfetch_tmp.h
wrast/s_texfilter.c
wrast/s_texrender.c
wrast/s_texture.c
wrast/s_triangle.c
|
08b2cc018ddcfce4b4f4204b89ff5c1d62bfe85d |
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: improve the warning message in _mesa_choose_tex_format() Bug 42128 hits this _mesa_warning() call.
ain/texformat.c
|
409748ac0b92aacae6ad9c2bcedca4fef8986eea |
03-Aug-2011 |
Mathias Froehlich <Mathias.Froehlich@web.de> |
vbo: Clean up unused variables in the vbo module. Remove some unused or unused but set variables from the vbo module.
bo/vbo_exec.h
bo/vbo_exec_array.c
bo/vbo_save.h
|
7986e4c5a9db24f840af31458bcc254fa52dbb60 |
22-Oct-2011 |
Alan Coopersmith <alan.coopersmith@oracle.com> |
Convert additional GNUC_MINOR checks to multiplied version Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/imports.h
|
8c509e1181fc8be85587f290b0a9337724fb7a7b |
21-Oct-2011 |
Alan Coopersmith <alan.coopersmith@oracle.com> |
Fix gcc version checks for _mesa_bitcount - Fix _GNUC__ typo in both checks - Fix logic error in check for gcc < 3.4 that breaks for gcc 2.x & older Without this fix, builds with gcc 3.4.x end up depending on undefined _mesa_bitcount instead of gcc's __builtin_popcount. NOTE: This is a candidate for the stable branches. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/imports.c
ain/imports.h
|
6b72eded19398f9599d76ebd4cbaec52fc7a252d |
21-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix a bug in and re-org setup_interleaved_attribs() We were mis-computing the size of the user-space vertex buffer in some circumstances. This led to a failed assertion at u_inlines.h:222 when using the VMware svga driver. For example, if we had arrays such as: array[0]: element_offset = 12, stride = 24 array[1]: element_offset = 0, stride = 24 We'd mistakenly compute 'bytes' to be 12 bytes too small. I've reorganized the function too. By time it's called, we know that we've got interleaved arrays either all in one VBO or all in user memory and the stride is equal for all arrays. Move the code that lived inside the attr==0 test after the loop. In the loop we compute the true vertex size. That size factors into the pipe->redefine_user_buffer() call later. Using the vertex size instead of array[0]'s element_offset fixes the failed assertion. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_draw.c
|
01f9fdc4acd28cc4630a3c71f2d007373f4d979c |
20-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set MaxIfDepth to UINT_MAX on Gen6+ and 16 on prior generations. Commit 488fe51cf823ccd137c667f1e92dd86f8323b723 converted the EmitNoIfs flag to MaxIfDepth, an unsigned integer saying "flatten if-statements nested beyond this depth." Unfortunately, i965 left this initialized to 0, which made ir_to_mesa attempt to flatten all if-statements. We didn't notice right away because we usually throw away ir_to_mesa's code in favor of the native VS and FS backends...but this still creates a lot of unnecessary work. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
f664d6a2f3575167c4cf83815ea923c379b14fa5 |
21-Oct-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Initialize variable. ptr is uninitialized if ib is NULL. Fixes Coverity uninitialized pointer read defect. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_draw.c
|
6e160d01f2c6667cba89e5fa806f9e4b01ca8ced |
19-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove copy and pasted gen7_wm_constants state atom. Now that this is identical to gen6_wm_constants, just use that instead. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_wm_state.c
|
b293b3cbb19bc4db8d9801c2f1160f98299481d0 |
19-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use AUB_TRACE_WM_CONSTANTS in gen7_prepare_wm_push_constants. This makes it match gen6_prepare_wm_push_constants. For some reason, it had been using AUB_TRACE_NO_TYPE. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_wm_state.c
|
61d7f4b9d497780b1157492ac3958dc4c69c6c73 |
19-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix incorrect dirty bit in gen6_prepare_wm_push_constants. We definitely want CACHE_NEW_WM_PROG, not CACHE_NEW_VS_PROG. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_wm_state.c
|
31874f074c2eaf2a9421c57f0798c79078d296c4 |
04-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix comparisons with uint negation. The condmod instruction ends up generating garbage condition codes, because apparently the comparison happens on the accumulator value (33 bits for UD), not the truncated value that would be written. Fixes vs-op-neg-* Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_copy_propagation.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
73b0a28ba8b3e2ab917d4c729f34ddbde52c9e88 |
04-Oct-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix comparisions with uint negation. The condmod instruction ends up generating garbage condition codes, because apparently the comparison happens on the accumulator value (33 bits for UD), not the truncated value that would be written. Fixes fs-op-neg-* Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
c0cd9471173cd2287d74f5a536577348c789da5d |
19-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix detection of whether an ARB_vp is enabled for two sided lighting. When there is no ARB_vertex_program program enabled, the Current pointer points at a default program, so we were always using VERTEX_PROGRAM_TWO_SIDE, even for fixed function lighting. Fixes piglit two-sided-lighting* Reviewed-by: Brian Paul <brianp@vmware.com>
ain/state.c
|
f80e1e7d1de80fd919f376368d1cfc9416dabdc3 |
18-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Round the argument to PixelStoref instead of truncating. From the GL 2.1 specification, page 114 (page 128 of the PDF): "The version of PixelStore that takes a floating-point value may be used to set any type of parameter; if the parameter is boolean, then it is set to FALSE if the passed value is 0.0 and TRUE otherwise, while if the parameter is an integer, then the passed value is rounded to the nearest integer." Fixes piglit roundmode-pixelstore. Note: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
ain/pixelstore.c
|
46d5fb576a37bdd50cd4a2795b27852b4c8a8250 |
19-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: handle PBO access error in display list mode Simply generate GL_INVALID_OPERATION error at display list mode. As explained by Brian, we are going to access PBO data at compile time. No need to defer the error at execution time. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
3560027977804a3ac4ae8e6c9390f0936f7f7a1a |
16-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: silence signed/unsigned comparison warning Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i965/brw_vec4_visitor.cpp
|
d89c6689df045bdd1760174bf33ea33190f6c43d |
02-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove primitive restart assertion Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_draw.c
|
07c3e752f865b083b08d472f635b12ffbd1595d5 |
20-Apr-2011 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Don't have indices buffers map when calling draw
tate_tracker/st_draw.c
|
72bd2b603bc400371a92d34ab59dbb2d2ef7a123 |
15-Apr-2011 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Implement primitive restart in software
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
d3561bd0bc4a88ee0500460f8e0830a818e456a9 |
19-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix float->uint conversion of gl_FragDepth Using IROUND() to convert a float depth value to a 32-bit uint Z value. didn't work (it returns a signed value). Just use a cast instead Fixes piglit fbo-depth-array failure with swrast. Note: this is a candidate for the 7.11 branch.
wrast/s_fragprog.c
|
ab9136ef750a1209db26d6c9dffe299f4134682e |
19-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: better debug messages in _mesa_test_texobj_completeness() And use a gl_texture_image var to simplify the code a bit.
ain/texobj.c
|
35ffe94a340cf4e0ebe810a1d576113f96ea9dee |
19-Oct-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Backport WPOS adjustment fixes from st_mesa_to_tgsi.c to st_glsl_to_tgsi.cpp. This is a trivial verbatim copy of the code from Christoph Bumiller's commit f986a6560f3ee9a79b89e9409e3a9ac52b53315c. Fixes fdo 39939 and 39942.
tate_tracker/st_glsl_to_tgsi.cpp
|
116b7bb5eac836953fbfbc627cabca4a7ee39937 |
19-Oct-2011 |
Vinson Lee <vlee@vmware.com> |
scons: Add uniform_query.cpp to SConscript.
Conscript
|
02b801c1edec6400a4192e3e5b0595b13b771b18 |
15-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: handle the pbo case for save_Bitmap Wrap _mesa_unpack_bitmap to handle the case that data is stored in pixel buffer object. This would make calling Bitmap with data stored in PBO by display list work. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
403cf7c56fc6decb7636114dc1dadb7adf99a7a4 |
16-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB It seems like a typo. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
9024d8af0ae832a0b4278eb6683bc0e76c69baac |
17-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: generate error if pbo offset is not aligned with the size of specified type v2: quote the spec; explicitly exclude the GL_BITMAP case to make code more readable. (comments from Ian) v3: Cast the offset by GLintptr to remove the compile warning(comments from Brian). I also found that I should use _mesa_sizeof_packed_type() instead, as it includes packed pixel type, like GL_UNSIGNED_SHORT_5_6_5. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pbo.c
|
76669381c0de6a49a1edd0b88fa1ae6b86f10b30 |
14-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: setup address rounding enable bits The patch(based on the reading of the emulator) came from while I was trying to fix the oglc pbo texImage.1PBODefaults fail. This case generates a texture with the width and height equal to window's width and height respectively, then try to texture it on the whole window. So, it's exactly one texel for one pixel. And, the min filter and mag filter are GL_LINEAR. It runs with swrast OK, as expected. But it failed with i965 driver. Well, you can't tell the difference from the screen, as the error is quite tiny. From my digging, it seems that there are some tiny error happened while getting tex address. This will break the one texel for one pixel rule in this case. Thus the linear result is taken, with tiny error. This patch would fix all oglc pbo subcase fail with the same issue on both ILK, SNB and IVB. v2: comments from Ian, make the address_round filed assignment consistent. (the sampler is alread memset to 0 by the xxx_update_samper_state caller, so need to assign 0 first) Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
483ea0a76fd2cde8fd5d4c303f1576ae15c21de5 |
19-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i915: make i830/i915_hiz_resolve_noop() static
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
5485192fc81ab40ffdbfb1c74346d887c3c03231 |
19-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use format string in _mesa_error() call to silence warning
ain/dlist.c
|
973b4ddd0e2f25cfd72cb945fbd38aed629a6fed |
19-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: remove unused vars in brw_set_ff_sync_message()
rivers/dri/i965/brw_eu_emit.c
|
58a7461e1672935e7d30780a4dd40c00abbc28a5 |
11-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl_to_tgsi: Use _mesa_generate_parameters_list_for_uniforms Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Bryan Cain <bryancain3@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
b2572928a50ce42abc2733202d08f5a00733d707 |
10-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Generate gl_program_parameter list by walking the GLSL IR. Generate the program parameters list by walking the IR instead of by walking the list of linked uniforms. This simplifies the code quite a bit, and is probably a bit more correct. The list of linked uniforms should really only be used by the GL API to interact with the application. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Bryan Cain <bryancain3@gmail.com> Cc: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
rogram/ir_to_mesa.h
|
bbbb8345ab9df2d634dc2a34d257ee2cbf930292 |
11-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Move some things outside the 'extern "C"' blocks Having a few of these includes or forward declarations inside the 'extern "C"' block can cause problems later. Specifically, it prevents C++ linkage functions from being added to ir_to_mesa.h and makes G++ angry if 'struct foo' is seen both inside and outside an 'extern "C"'. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
rogram/ir_to_mesa.h
tate_tracker/st_glsl_to_tgsi.cpp
|
1375d67984f0cd01efa7b256864f21dc4ff75982 |
07-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use glsl_type::gl_type in glGetActiveUniform This has the same value has gl_program_parameter::DataType field. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniform_query.cpp
|
a541ff3fb99f43f9f664daf275e315af2836977e |
07-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_GetActiveUniformARB to uniform_query.cpp Fold _mesa_get_active_uniform into its only caller in the process. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniform_query.cpp
ain/uniforms.c
ain/uniforms.h
ources.mak
|
118fd08b586970175af9ae269c81c0f501acba25 |
05-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Simplify uniform debug logging logic This simplificiation was enabled by the earlier refactors that eliminated the references to the assembly shaders stored in the gl_shader_program structure. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
rogram/prog_print.c
rogram/prog_print.h
|
188f0742558196367df24086c4dc9865ebd86f7e |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Disassemble Ivybridge Data Port/Data Cache messages. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_disasm.c
|
dcf03e7c09378dfcc744e28f198eaf713d3a21fb |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Document most of the brw_instruction message structs. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_structs.h
|
53798f90e818e9bf213c3ae4298751362a5ecd50 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename pixel_scoreboard_clear to last_render_target for clarity. Finding this bit in the documentation proved challenging. It wasn't in the SEND instruction's message descriptor section, nor the data port message descriptor section. It turns out to be part of the Render Target Write message's control bits, and in the documentation is named "Last Render Target Select". Shaders that use Multiple Render Targets should set this bit on the last RT write, but not on any prior ones. The GPU does update the Pixel Scoreboard appropriately, but doesn't document this bit as directly causing a scoreboard clear. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vec4_emit.cpp
|
feaff3aeebb2eebfa93ad641e0ed286ab0409d21 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove duplicate copies of mlen & rlen from instruction decode. After printing the details of a specific message, we always print out the message length and response length with nice "mlen" and "rlen" labels. For Gen5+ URB writes, we were dumping mlen and rlen a second time: urb 0 urb_write interleave used complete mlen 5, rlen 0 mlen 5 rlen 0 Also, for Gen6 data port messages, we were including mlen and rlen in the tuple of undecipherable integers. Both of these are completely redundant. So, remove them. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_disasm.c
|
fa0aa3796d3483cf8924fa127085d075d34019e8 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Factor out code for setting Message Descriptors. Every brw_set_???_message function had duplicated code, per-generation, to set the Message Descriptor and Extended Message Descriptor bits (SFID, message length, response length, header present, end of thread). However, these fields are actually specified as part of the SEND instruction itself; individual types of messages don't even specify them (except for header present, but that's in the same bit location). Since these are exactly the same regardless of the message type, just create a function to set them, using the generic message structs. This not only shortens the code, but hides a lot of the per-generation complexity (like the SFID being in destreg__conditionalmod) in one spot. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
43ccd3200c394dd4d89ed96f039ca7d6cfff972f |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove EOT parameter from brw_SAMPLE and brw_set_sampler_message. The existing code asserted that eot == 0, as it doesn't make sense for a thread to sample a texture as the last thing it does. It doesn't make much sense to pass around a dead parameter either. Especially for a function which already has a long parameter list. So, remove the parameter and just set EOT to 0. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_wm_emit.c
|
0ec04c5a33731991f80eead39c6ee46535e3d4b2 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Document the brw_instruction Message Descriptor structures. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_structs.h
|
2e124388a4642d1e7f5154e7b83d38578c6b2789 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename BRW_MESSAGE_TARGET_* to BRW_SFID_* and document them. When reading the data port code, it was not clear to me what these values meant, nor where I could find them in the documentation. Especially since the latest BSpec and older PRMs document them in radically different places...neither of which are near the descriptions of individual messages. Cite the documentation, and rename them to SFID to signify that these are Shared Function IDs that one can read about in the GPU overview, rather than arbitrary bitfields. While we're add it, make them an enum. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu_emit.c
|
bbea5c5a5a7fb327d4ef03f80fe19cfa8d8edccd |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Clarify check for which cache to use on Gen6 data port reads. Currently, we use the Render Cache for scratch access (read/write data) and the Sampler Cache for all read only data (pull constants). Reversing the condition here is clearer: if the caller requested the Render Cache, use that. Otherwise, they requested the Data Cache (which does not exist on Gen6) or Sampler Cache, so use the Sampler Cache. This should not change behavior in any way. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
|
0d4a9ba9b247664bc5662b3db774064778f9aa17 |
08-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use Ivybridge's "Legacy Data Port" for reads/writes. Using the constant cache for reads isn't going to work for scratch reads (variably-indexed arrays or register spills), as these aren't constant at all. Also, in the new VS backend, use the proper message number for OWord Dual Block Write messages. It's now 10, instead of 9. +205 piglits. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vec4_emit.cpp
|
f8377b411dfe3c879eaab11bb86f509178796bd1 |
22-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add 'mode' param to intel_region_map The 'mode' param is a bitset of GL_MAP_READ_BIT, GL_MAP_WRITE_BIT. A future commit will perform buffer resolves in intel_region_map(). So, even though the access mode is irrelevant to the GTT, the extra information allows us to intelligently avoid unneccessary buffer resolves. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_validate.c
|
7b0f748efa5af84668cc3609a0070163bfa22607 |
20-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add HiZ operations to intel_context::vtbl for all drivers Add the following to the vtbl: hiz_resolve_depthbuffer hiz_resolve_hizbuffer For all drivers for which HiZ is not enabled, the methods are set to be no-ops. If HiZ is enabled, the methods are currently to set to empty stubs. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_hiz.c
rivers/dri/i965/gen6_hiz.h
rivers/dri/intel/intel_context.h
|
b393fa91676aba0883d8f5260bd2910777aceb11 |
31-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Initialize intel_context::vtbl after calling intelInitContext() intel_context::gen field is set by intelInitContext(). So, by calling intelInitContext() before initializing the vtable, we can can construct different vtables for different gens. Specifically, this allows us to set the HiZ operations to be no-ops for contexts for which HiZ is not enabled. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_context.c
|
ef6de0141ca7c9757ef40b3db18202b11ab2ec98 |
07-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Fix scatter/gather for depthstencil textures During anholt's MapTextureImage refactoring, the call to intel_tex_image_s8z24_create_renderbuffers was missplaced. It needs to occur *after* the miptree is allocated. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_tex.c
|
b48e02383e6bf8a4e1c05d11c6dce25cb796fcf4 |
09-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
i965/gen6: Fix segfault in prepare_blend_state() Don't dereference the color buffer if one isn't attached. This fixes the following Piglit tests in my experimental HiZ branch: glean/logicOp glean/paths Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/gen6_cc.c
|
8c7c589c4e70d7cdcceb350aa4edd3d9eec4403e |
06-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
vbo: Redeclare bind_array() as non-static vbo_bind_array() This is necessary because i965 will need to call vbo_bind_array() when cleaning up after a buffer resolve meta-op. Detailed Explanation -------------------- The vbo module tracks vertex attributes separately from the gl_context. Specifically, the vbo module maintins vertex attributes in vbo_exec_context::array::inputs, which is synchronized with gl_context::Array::ArrayObj::VertexAttrib by vbo_bind_array(). vbo_draw_arrays() calls vbo_bind_array() to perform the synchronization before calling the real draw call, vbo_context::draw_arrays. Intel hardware accomplishes buffer resolves with a meta-op. Frequently, that meta-op must be performed within glDraw* in the moment immediately before the draw occurs (The hardware designers hate us...). After performing the meta-op, but before calling vbo_bind_array(), the gl_context's vertex attributes will have been restored to their original state (that is, their state before the meta-op began), but the vbo module's vertex attribute are those used in the last meta-op. Therefore we must manually synchronize the two with vbo_bind_array() before continuing with the original draw command (that is, the one requested with glDraw*). See brw_predraw_resolve_buffers(), which will be added in a future commit. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
bo/vbo.h
bo/vbo_exec_array.c
|
fd7c46f53f3a7ae5c67f3c44ba283eeb4f72b366 |
29-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add dd_function_table::PrepareExecBegin This hook allows the driver to prepare for a glBegin/glEnd. i965 will use the hook to avoid avoid recursive calls to FLUSH_VERTICES during a buffer resolve meta-op. Detailed Justification ---------------------- When vertices are queued during a glBegin/glEnd block, those vertices must of course be drawn before any rendering state changes. To enusure this, Mesa calls FLUSH_VERTICES as a prehook to such state changes. Therefore, FLUSH_VERTICES itself cannot change rendering state without falling into a recursive trap. This precludes meta-ops, namely i965 buffer resolves, from occuring while any vertices are queued. To avoid that situation, i965 must satisfy the following condition: that it queues no vertex if a buffer needs resolving. To satisfy this, i965 will use the PrepareExecBegin hook to resolve all buffers on entering a glBegin/glEnd block. -------- v2: Don't add dd_function_table::CleanupExecEnd. Anholt and I discovered that hook to be unnecessary. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/driverfuncs.c
ain/dd.h
bo/vbo_exec_api.c
|
4b6311978f6710cfb2e9d77a2ca7a30f709c1f37 |
08-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
swrast: Fix fastpaths for glRead/WritePixels(GL_DEPTH_STENCIL) In some cases, Intel hardware requires that depth and stencil buffers be separate. To accommodate swrast, i965 resorts to hackery that causes a segfault in the fastpaths of draw_depth_stencil_pixels() and read_depth_stencil_pixels(). The hack is that i965 sets framebuffer->Attachment[BUFFER_DEPTH].Renderbuffer and framebuffer->Attachment[BUFFER_STENCIL].Renderbuffer to a dummy renderbuffer for which the GetRow accessors and friends are null. The real buffers are located at framebuffer->_DepthBuffer and framebuffer->_Stencilbuffer. To fix the segault, this patch skips the fastpath if framebuffer->Attachment[BUFFER_DEPTH].Renderbuffer->GetRow is null. Note: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
wrast/s_drawpix.c
wrast/s_readpix.c
|
aa97ababfcd5ae4d4433bd5f672836f40f6595f2 |
28-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
meta: Bump MAX_META_OPS_DEPTH from 2 to 8 When i965 uses (in the near future) meta-ops to perform buffer resolves, the meta-op stack exceeds depth 2. I bumped it to 8 because... 8 is bigger than 2, but not too big. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/meta.c
|
c5f4024a793f1209b1693aed9a46be9374ba4741 |
08-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
meta: Add flag MESA_META_SELECT_FEEDBACK If this flag is set, then _mesa_meta_begin/end will save/restore the state of GL_SELECT and GL_FEEDBACK render modes. Intel's future buffer resolve meta-ops will require this, since buffer resolves may occur when the GL_RENDER_MODE is GL_SELECT. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/meta.c
rivers/common/meta.h
|
c56d0a61b97b29cec851df4cd385f095e3876848 |
08-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Declare _mesa_RenderMode as non-static This is required in order for meta-ops to save/restore the GL_RENDER_MODE state. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/feedback.c
ain/feedback.h
|
2e5a1a254ed81b1d3efa6064f48183eefac784d0 |
07-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Convert from GLboolean to 'bool' from stdbool.h. I initially produced the patch using this bash command: for file in {intel,i915,i965}/*.{c,cpp,h}; do [ ! -h $file ] && sed -i 's/GLboolean/bool/g' $file && sed -i 's/GL_TRUE/true/g' $file && sed -i 's/GL_FALSE/false/g' $file; done Then I manually added #include <stdbool.h> to fix compilation errors, and converted a few functions back to GLboolean that were used in core Mesa's function pointer table to avoid "incompatible pointer" warnings. Finally, I cleaned up some whitespace issues introduced by the change. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Chad Versace <chad@chad-versace.us> Acked-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_cubemap_normalize.cpp
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_iz.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen7_clip_state.c
rivers/dri/i965/gen7_viewport_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
1b45d68c117d716adb488dcaac16e0834e2471ba |
15-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make the program texel offsets limits available with GLSL 1.30. It was previously under gpu_shader4, but I'm pretty sure everyone's going to be doing GLSL 1.30 first (since gpu_shader4 is basically 1.30 plus a bunch of extra stuff). Fixes piglit glsl-1.30/texel-offset-limits. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
5625f78cd7e69aa90495d34088a47aa71d076fd2 |
18-Oct-2011 |
Neil Roberts <neil@linux.intel.com> |
meta: Fix saving the active program When saving the active program in _mesa_meta_begin, it was actually saving the fragment program instead. This means that if the application binds a program that only has a vertex shader then when the meta saved state is restored it will forget the bound program. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41969 Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/common/meta.c
|
7ec2b0d0d6b6a0f760e55ffdee0bdb385a3e900a |
01-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Convert fixed function fragment program generator to GLSL IR. This is a step towards providing a direct route for drivers accepting GLSL IR for codegen. Perhaps more importantly, it runs the fixed function fragment program through the GLSL IR optimization. Having seen how easy it is to make ugly fixed function texenv code that can do unnecessary work, this may improve real applicatinos.
ain/ff_fragment_shader.cpp
ain/state.c
ain/texenvprogram.h
rogram/program.c
|
57f7978b1de40be6eb138d391c8d9f95b68cbf62 |
22-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a flag for shader programs to allow SSO linkage in GLES2. On converting fixed function programs to generate GLSL, the linker became cranky that we were trying to make something that wasn't a linked vertex+fragment program. Given that the Mesa GLES2 drivers also support desktop GL with EXT_sso, just telling the linker to shut up seems like the easiest solution.
ain/mtypes.h
|
b64ecf7db874eed84218903f484be81514b958d9 |
14-Jul-2011 |
Eric Anholt <eric@anholt.net> |
ff_fragment_shader: Use FRAG_RESULT_COLOR to write all our colors at once. This is a slight simplification on the way to actually generating GLSL fragment shaders.
ain/ff_fragment_shader.cpp
|
e9edcf8b1d6f319af6db8dd25aa267f662456139 |
14-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: add a function to do the image data copy stuff for save_CompressedTex(Sub)Image Introuduce a simple function called copy_data to do the image data copy stuff for all the save_CompressedTex*Image function. The function check the NULL data case to avoid some potential segfault. This also would make the code a bit simpler and less redundance. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
4bcda856982cc428cba555367001f4db721a9aaf |
11-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
swrast: Remove redundant term in logic expression Fix is in {read,draw}_depth_stencil_pixels(). If depthRb == stencilRb, then it is redundant to check depthRb->x *and* stencilRb->x. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
wrast/s_drawpix.c
wrast/s_readpix.c
|
244a02c47d0de860db4183212f8a33c2c02d95db |
11-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
swrast: Fix fastpaths in glRead/WritePixels(GL_DEPTH_STENCIL) For glReadPixels, the user supplied pixels have format GL_UNSIGNED_INT_24_8. But, when the depthstencil buffer's format was MESA_FORMAT_S8_Z24, the fastpath read from the buffer without reordering the depth and stencil bits. To fix this, this patch just skips the fastpath when the format is not MESA_FORMAT_Z24_S8. The problem and fix for glWritePixels is analagous. Fixes the Piglit tests below on i965/gen6 and causes no regressions. general/depthstencil-default_fb-drawpixels-24_8 general/depthstencil-default_fb-readpixels-24_8 EXT_packed_depth_stencil/fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-24_8 EXT_packed_depth_stencil/fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8 Note: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
wrast/s_drawpix.c
wrast/s_readpix.c
|
c19f8ab2796a68d5e0c3c6334e7597f7f1c4c757 |
14-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/vbo: Treat attribute 0 and vertex as the same This is supported by the pseudo-code on pages 27 and 28 (pages 41 and 42 of the PDF) of the OpenGL 2.1 spec. The last part of the implementation of ArrayElement is: if (generic attribute array 0 enabled) { if (generic vertex attribute 0 array normalization flag is set, and type is not FLOAT or DOUBLE) VertexAttrib[size]N[type]v(0, generic vertex attribute 0 array element i); else VertexAttrib[size][type]v(0, generic vertex attribute 0 array element i); } else if (vertex array enabled) { Vertex[size][type]v(vertex array element i); } Page 23 (page 37 of the PDF) of the same spec says: "Setting generic vertex attribute zero specifies a vertex; the four vertex coordinates are taken from the values of attribute zero. A Vertex2, Vertex3, or Vertex4 command is completely equivalent to the corresponding VertexAttrib* command with an index of zero." Fixes piglit test attribute0. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_array.c
|
718cbe4ba95439c074144ea2ce06ebf0915a660c |
14-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: be a bit smarter in clip_span() If no pixels pass the clip test, return false.
wrast/s_span.c
|
bc4ef33108331db69ddfdbdd71546f4cb49ed809 |
14-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_sampler_object::_CompleteTexture field
ain/mtypes.h
|
6fc6d5a09e36c56f4debd17bbbed15f732403619 |
14-Oct-2011 |
Brian Paul <brianp@vmware.com> |
meta: fix redBits size test in get_temp_image_type() Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41768
rivers/common/meta.c
|
7a4fee71aa74f0e73cf6141c08ba1d536f20cd17 |
10-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 Gen6+: De-compact clip plane constants for old VS backend. In commit 018ea68d8780ab5baeef0b8122b8410e5e55ae6d, when I de-compacted clip planes on Gen6+, I updated both the old and new VS back-ends to reflect the change in how clip planes are stored, but I failed to change the code in gen6_vs_state.c that uploads clip plane constants when using the old VS back-end. As a result, if the set of enabled clip planes wasn't contiguous starting with 0, then clipping would not occur properly. This patch corrects gen6_vs_state.c to upload clip plane constants in the new de-compacted form. This only affects the old VS back-end (which is used for fixed-function and ARB vertex programs, not for GLSL vertex shaders). Fixes Piglit test fixed-clip-enables. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41603 Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_vs_state.c
|
a9e5528f09a835b66771ba4d3f08ff7fd51e08a6 |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: kill instruction if writemask=0 in eliminate_dead_code_advanced() This fixes a bug where we'd wind up emitting an invalid instruction like MOVE R[0]., R[1]; - note the empty/zero writemask. If we don't write to any dest register channels, cull the instruction. v2: simply change/fix the existing test for instruction culling.
tate_tracker/st_glsl_to_tgsi.cpp
|
e06277bd886a9a79f0bf9b175ec26fbe187689c2 |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
s/format/baseFormat/ to be more explicit Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
|
241b3e4bbe93ecab545b4454f656c9ffd073ae85 |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant buffer checks in copytexsubimage_error_check2() Again, there was already a call to _mesa_source_buffer_exists() earlier in the function. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
|
63aa53bf3499672a14259af9ce964065776584fe |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant buffer checks in copytexture_error_check() There was already a call to _mesa_source_buffer_exists() earlier in the function. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/teximage.c
|
504d0add1257f63d72d320f99f182412358dc40f |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check attachment Type field in renderbuffer_exists() Instead of the renderbuffer pointer. In the future, attaching a texture may not mean the renderbuffer pointer gets set too. Plus, remove some commented-out assertions.
ain/framebuffer.c
|
e5fef34c2132e29b6cecfda525dfa956c4477d75 |
13-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate _mesa_source/dest_buffer_exists() v2: add a 'reading' parameter to distinguish between reading and writing to the renderbuffer (we don't want to check if _ColorReadBuffer is null when we're about to draw). Eric found this mistake.
ain/framebuffer.c
|
7aab0fbaa6ec41c720bed6cfcb53a50c2a646a26 |
11-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_update_depth/stencil_buffer() static These functions were only called in framebuffer.c where they were defined. Remove the unneeded attIndex parameter too. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/framebuffer.c
ain/framebuffer.h
|
e9adfa2ba1af9c3579b25327335c47118b6c7c3f |
06-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Assert that no batch is emitted if a region is mapped What I would prefer to assert is that, for each region that is currently mapped, no batch is emitted that uses that region's bo. However, it's much easier to implement this big hammer. Observe that this requires that the batch flush in intel_region_map() be moved to within the map_refcount guard. v2: Add comments (borrowed from anholt's reply) explaining why the assertion is a good idea. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
|
d06cc42c3c85382600176d118d8bf492b4de6a55 |
07-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix computation of abs(-x) in FS When updating a register reference to reflect the fact that we were taking its absolute value, the fragment shader back-end failed to clear the negate flag, resulting in abs(-x) getting computed as -abs(x). I also found (and fixed) a similar problem in brw_eu.h, but I'm not aware of an actual manifestation of that problem. Fixes piglit test glsl-fs-abs-neg-with-intermediate.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_fs.cpp
|
3f5e938a9ded42ae8dc9ae2486e8d5c8b64cfe07 |
07-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Replace incorrect use of GLboolean with enum brw_compression. brw_set_compression_control took a GLboolean as an argument, then promptly used a switch statement to compare it with various enumeration values. Clearly it's not actually a boolean. Introduce a new enumeration type, enum brw_compression, and use that. Found by converting GLboolean to bool; clang then gave warnings about switching on a boolean and ultimately duplicated case errors. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
|
da2e41cd88dd68b658534390ed69dd422172d07b |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Only allow queries of window system FBO on desktop GL w/ARB_fbo Neither OES_framebuffer_object nor EXT_framebuffer_object allow querying the window system FBO. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/fbobject.c
|
a8328cc132e9edd55141e8e7822909a85bda12d6 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Accept GL_DEPTH and GL_STENCIL for window system FBO only Previously GL_DEPTH_BUFFER and GL_STENCIL_BUFFER were (incorrectly) allowed for both. Those enums don't even really exist! Now GL_DEPTH and GL_STENCIL are only allowed for the window system FBO. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
ain/fbobject.c
|
866f9b18c68ede63c00917ec9c3dae3524ca8826 |
11-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: rename ZS stencil type to UINT (v2) these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
f378e8fea0e6bfda2018ee14a99757bde329e0a7 |
27-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Change type of brw_context.primitive from GLenum to hardware primitive For example, GL_TRIANLGES is converted to _3DPRIM_TRILIST. The conversion is necessary because HiZ and MSAA resolve operations emit a 3DPRIM_RECTLIST, which cannot be conveyed by GLenum. As a consequence, brw_gs_prog_key.primitive is also converted. v2 ---- - [anholt] Split brw_set_prim into brw/gen6 variants in previous commit, since not much code is really shared between the two. - [anholt] Replace switch statements with table lookups, since this is a hot path. Reviewed-by: Eric Anholt <eric@anho.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
|
9559ca600dde0877fe0abd04dd789bd5a3cdfbde |
27-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Split brw_set_prim into brw/gen6 variants The "slight optimization to avoid the GS program" in brw_set_prim() is not used by Gen 6, since Gen 6 doesn't use a GS program. Also, Gen 6 doesn't use reduced primitives. Also, document that intel_context.reduced_primitive is only used for Gen < 6 Reviewed-by: Eric Anholt <eric@anho.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_context.h
|
d950a778b7b86526d3968deee232444af64d8cf1 |
05-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Prevent repeated glDeleteProgram() from blowing away our refcounts. glDeleteProgram should only be able to remove the one refcount for the user's reference to the program from the hash table (even though that ref does live on in the hash table until the last other ref is removed). Fixes piglit ARB_shader_objects/delete-repeat. Reviewed-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/shaderapi.c
|
7457da5edd4a33c2581f10608ce5bcf0e254c5f9 |
20-Jul-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: Fix timer query on gen6+ PIPE_CONTROL reported time stamp are 64 bits value incrementing every 80 ns, and only the low 32 bits are active (high 32 are always 0). v2: Cleaned up whitespace, function arguments (anholt). Fixes piglit EXT_timer_query/time-elapsed Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_queryobj.c
|
f3650b05cf4e37066d0f142a4c14fcc650de8d8d |
07-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
hash_table: Make string_to_uint_map make a copy of the name The hash table needs a copy of the key that it can keep for comparisons during searches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41499 Cc: Stéphane Marchesin <stephane.marchesin@gmail.com> Tested-by: Luzipher <luziphermcleod@yahoo.ie> Tested-by: Michał Lipski <tallica@o2.pl> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/hash_table.h
|
ddba509c16c4cb0630a4f4841b31953f02be6b3f |
10-Oct-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
mesa/st: Check for a NULL _LinkedShader[i] before using it. The rest of the linker/glsl translation code checks for NULL, so I suppose we should check here too. Fixes crash on exit with i915g instanced drawing. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_program.c
|
a66a2359d72ceb67781c7e366f34265c7aaae91a |
19-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add readpixel integer support This adds support for readpixels integer paths, it deals with the signed/unsigned crossovers. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_readpixels.c
|
3213d55d99d810a11e1e3bd6988c3d937cbd3816 |
19-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add support for int type conversion This adds the various mesa->gallium and gallium->mesa format conversions along with the GL->gallium texture choosers for integers. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_format.c
|
c2060c0af7de4678d55962369244451fe678c4e8 |
05-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/texformat: add integer fallbacks to other formats This fixes up the integer format choosing to pick the closest mesa format then the most likely fallback. (the formatting in this file needs cleaning in another patch). Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texformat.c
|
8f9edbad6f972792a51234715aad83c406e1845d |
19-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: add packing for int/uint This just adds a simple packing for GL_UNSIGNED_INT/GL_INT destination formats. This is enough for at least the gallium drivers to pack both unsigned and signed types for read pixels. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/pack.c
ain/pack.h
|
b861479f83ea140bfe24357d09f18a6d026d97b5 |
07-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix inconsistent indentation in brw_eu_emit.c. Most of these functions used three spaces for the first level of indentation, but four spaces for the next level. One used tabs and then three spaces. Some used 3/4 in a then block but 3/3 in the else block. Normally I try to avoid field days like this, but since the functions were so inconsistent, even internally, it was making it difficult to edit without introducing spurious whitespace changes. So, just get it over with. git diff -b shows 0 lines changed. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
|
0c76729f39bad667a4ee08ed76b51870ed9f6912 |
07-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Silence several 'warning: unused parameter' in _mesa_GetnUniformdvARB This function isn't implemented yet, so none of its parameters are used yet. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniforms.c
|
97a0fe8e93cc5340888ae9245b1373d195eff767 |
27-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused function _mesa_append_uniform Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/prog_uniform.c
rogram/prog_uniform.h
|
e2bdef53807d0f23c2a1ff326ea8190cb57aa90a |
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Simplify calling Driver.ProgramStringNotify after previous refactors Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com>
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
77d67a44cc9788072090e3f1000cfe1cec0a6807 |
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Simplify destroy_shader_program_variants_cb after previous refactors Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tate_tracker/st_program.c
|
5a4279f80d80fd30452ee6cc7cdfaffb12b1d605 |
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Simplify validate_shader_program after previous refactors Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
|
de772c402215b956ab3aa0875330fc1bf7cdf95b |
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of FragmentProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_wm.c
ain/context.c
ain/mtypes.h
ain/shaderapi.c
ain/shaderobj.c
ain/state.c
ain/texstate.c
ain/uniforms.c
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
39348bf79fb247eec895c93e52f23afe138be46a |
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of GeometryProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/context.c
ain/mtypes.h
ain/shaderapi.c
ain/shaderobj.c
ain/state.c
ain/uniforms.c
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
010cc547ca8c1fb2107106b0ad0de560780ce9aa |
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of VertexProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
ain/context.c
ain/ff_fragment_shader.cpp
ain/mtypes.h
ain/shaderapi.c
ain/shaderobj.c
ain/state.c
ain/texstate.c
ain/uniforms.c
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
2fae55666e298525fe3b5550aa2a2ebeea437710 |
07-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Close Doxygen group In dd_function_table, close the Doxygen group beginning with \name Support for multiple T&L engines
ain/dd.h
|
53f858637319f0efa47dd9acdb547e7913f3f86b |
07-Oct-2011 |
Chad Versace <chad@chad-versace.us> |
i915,i830: Remove dead HiZ assertions in *update_draw_buffer() i915 and i830 hardware doesn't have HiZ, so remove all HiZ related assertions from *update_draw_buffer(). I've removed the dead format checks completely rather than replace them with more appropriate checks. This doesn't reduce "assertion coverage", however, because when I added these HiZ related assertions in c8fdf66 there were no pre-existing checks there. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
793d29d6d3fd0df72aabe4648bf6814ec2d4aecd |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
tnl: fix result vector allocation regression We need to allocate all the output vectors. Fixes a regression from commit f7f678331d5e95d2266fe6b3ea1cfa47d6421065 Fixes fd.o bugs 41441 and 41492.
nl/t_vb_program.c
|
cea946307f319cc7cf3e2cf730be34cd51047965 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: make swizzle_for_size() return unsigned Silences a warning about comparing to an unsigned variable. It looks like the result of swizzle_for_size() is always assigned to unsigned vars. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vec4.h
|
e967c5b38fcde15a7e78910239735d851e7a7e40 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: make size_swizzles[] static const Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vec4.h
|
4170227407eea7fd8287b17480a37309bf73f4e4 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: silence unused var warnings in non-debug builds Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
|
13b776ed51f46e7a945e3bd51f5483d8fa1696bf |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
intel: silence uninitialized var warning Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_decode.c
|
23c6eb035ba63d39652a10107f323d47b86b90f1 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix software mipmap generation code for packed Z/stencil formats Fixes https://bugs.freedesktop.org/show_bug.cgi?id=32458 Reviewed-by: Chad Versace <chad@chad-versace.us>
ain/formats.c
ain/mipmap.c
|
9938912ccb7f95961464b52412396489f6c35429 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
r300: fix incompatible pointer type warnings
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
8c3b5cf943808faa7c57c19a2b4c7b6fffe653d6 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update gl_texture_image comments
ain/mtypes.h
|
5ac96033c52eb2185b9b30bcbb40846d2216d0d3 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: s/FetchTexelf/FetchTexel/
wrast/s_context.h
wrast/s_texfetch.c
wrast/s_texfetch.h
wrast/s_texfilter.c
wrast/s_texrender.c
|
26b8dfc8cadf0f1a8604fc77b226cc7de005f9ca |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: silence unused var warnings in non-debug builds
wrast/s_texfilter.c
|
ba69c4a0025e73ec2997795ddb4c3d6a210bfe32 |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused swrast_texture_image::FetchTexelc method We only use the float-valued function now.
wrast/s_context.h
wrast/s_texfetch.c
|
d7477ad0a38a178d1e03f8064ee8245b46e24f1e |
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix image unpacking when storing compressed textures This fixes failures found with the new piglit texsubimage test. Two things were broken: 1. The dxt code doesn't handle sources images where width != row stride. Check for that and take the _mesa_make_temp_ubyte_image() path to get an image where width = rowstride. 2. If we don't take the _mesa_make_temp_ubyte_image() path we need to take the source image unpacking parameters into account in order to get the proper starting memory address of the source texels. Note: This is a candidate for the 7.11 branch.
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
|
018ea68d8780ab5baeef0b8122b8410e5e55ae6d |
27-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 Gen6+: De-compact clip planes. Previously, if the user enabled a non-consecutive set of clip planes (e.g. 0, 1, and 3), the driver would compact them down to a consecutive set starting at 0. This optimization was of dubious value, and complicated the implementation of gl_ClipDistance. This patch changes the driver so that with Gen6 and later chipsets, we no longer compact the clip planes. However, we still discard any clip planes beyond the highest number that is in use, so performance should not be affected for applications that use clip planes consecutively from 0. With chipsets previous to Gen6, we still compact the clip planes, since the pre-Gen6 clipper thread relies on this behavior. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen7_clip_state.c
|
f4f686e825ad2d64e50fb9e2491ef60507d59c38 |
30-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 VS: Change nr_userclip to nr_userclip_planes. The only remaining uses of brw_vs_prog_key::nr_userclip only occurred when using clip planes (as opposed to gl_ClipDistance). This patch renames the value to nr_userclip_planes and sets it to zero when gl_ClipDistance is in use. This avoids unnecessary VS recompiles. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
18e2e19b07b312c978dfbb6d336f69fa84b3ffe2 |
27-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Make brw_compute_vue_map's userclip dependency a boolean. Previously, brw_compute_vue_map required an argument indicating the number of clip planes in use, but all it did with it was check if it was nonzero. This patch changes brw_compute_vue_map to take a boolean instead. This allows us to avoid some unnecessary recompilation of the Gen4/5 GS and SF threads. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
8f6920a7b69bd20f04f807e88c22cf1eb78b4e79 |
28-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Move ClipPlanesEnabled state to VS cache key. Previous to this patch, setup_uniform_clipplane_values() was setting up clip plane uniforms based on ctx->Transform.ClipPlanesEnabled, a piece of state not stored in the vertex shader cache key. As a result, a change to this piece of state might not trigger a necessary vertex shader recompile. The patch adds a field to the vertex shader cache key, userclip_planes_enabled, to store the current value of ctx->Transform.ClipPlanesEnabled. Also, it changes setup_uniform_clipplane_values() to read from this new field, so that it's manifestly clear that the vertex shader isn't depending on state not stored in the cache key. Note: when the vertex shader uses gl_ClipDistance, the VS backend doesn't need to know which clip planes are in use, so we leave the field as zero in that case to avoid unnecessary recompiles. Fixes Piglit test vs-clip-vertex-enables. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
a1b37ebe757f7a74d69612d7c32fbdbbe3405989 |
29-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Rearrange VS cache key struct. No functional change. This patch rearranges the struct brw_vs_prog_key so that the two fields related to clipping are together, and documents those fields. This should make the patches that follow easier to comprehend, since they add additional clipping-related fields to this structure. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.h
|
c163072197b56e76b656cc472bbe6df650cf11ba |
28-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Create _mesa_bitcount_64() to replace i965's brw_count_bits() The i965 driver already had a function to count bits in a 64-bit uint (brw_count_bits()), but it was buggy (it only counted the bottom 32 bits) and it was clumsy (it had a strange and broken fallback for non-GCC-like compilers, which fortunately was never used). Since Mesa already has a _mesa_bitcount() function, it seems better to just create a _mesa_bitcount_64() function rather than special-case this in the i965 driver. This patch creates the new _mesa_bitcount_64() function and rewrites all of the old brw_count_bits() calls to refer to it. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_util.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_sf_state.c
ain/imports.c
ain/imports.h
|
09fcd01301cd161e2a5d619933c14f79753108d6 |
04-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa/es: Allow GL_CLIP_PLANE0+6 and GL_CLIP_PLANE0+7. Fixes the ES1 conformance 'userclip' test, which broke when we increased MAX_CLIP_PLANES to 8. Core Mesa already validates incoming values against MAX_CLIP_PLANES; we just need the ES wrapper to pass everything through. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/APIspec.xml
|
5785cd2bf50f38290540bbf805a41294d213db3a |
03-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa/get: Move MAX_LIGHTS from GL/ES2 to GL/ES1. It's required for ES 1.0 and 1.1, and isn't specified for ES 2. While the comment says Mesa depends on it internally, removing it from ES2 doesn't seem to regress any Piglit or ES2 conformance tests. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/get.c
|
300a4cd9f2fc99af8039d31d19d44582cd82c2e7 |
03-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
meta: Don't enable TEXTURE_RECTANGLE when it's unsupported. In particular, drivers don't enable this in ES 1.1 contexts. Prior to this, none of the OpenGL ES 1.1 conformance tests passed. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
0214712c3074dfef5569d032a00276182c4185bf |
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unneeded forward struct declarations
ain/mtypes.h
|
068fcc029d58f97a7bdbaa01fdbafacbb37e9d68 |
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix comment
tate_tracker/st_cb_texture.c
|
c80aaad77e7d884ebe83ac72467d55ac505da5ee |
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _mesa_rescale_teximage2d() function It was only used by the old tdfx driver, IIRC.
ain/mipmap.c
ain/mipmap.h
|
2c5bb57b509d03f5ae380524c61e1c0702d9e1b2 |
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_image::DriverData field Was only used by some older/removed DRI drivers.
ain/mipmap.c
ain/mtypes.h
|
cf2439e2463ce925e3e256a25a505cf0586963f0 |
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't use gl_texture_image::RowStride It's always the same as the texture width.
tate_tracker/st_cb_texture.c
|
aff65241c8bf6206c6dfcbe774b87991f965d46f |
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: completely stop using gl_texture_image::Data Instead, use the new st_texture_image::TexData field to hold texture images that don't fit the parent object's mipmap buffer.
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
|
85f5aa156562168d2ecea140b4e087655b11d271 |
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using gl_texture_image::Data when mapping/unmapping textures Since core Mesa no longer depends on gl_texture_image::Data pointing to mapped texture buffers we don't have to mess with it all over the place in the state tracker. Now Data is only used to point to malloc'd memory that holds images which don't fit in the texture object's mipmap buffer.
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
5253cf98057dad54e25b4b8c36f8cf24f559314c |
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of imageOffsets arrays in texstore code These were used to find the start of a 3D image slice (or 2D array texture slice) given a base address. Instead, use a simple array of address of image slices instead. This is a step toward getting rid of the gl_texture_image::ImageOffsets field. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
ain/texcompress_fxt1.c
ain/texcompress_rgtc.c
ain/texcompress_s3tc.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
bf059ebd33b4654334c1d96b6022fd6eef278782 |
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: update texfetch_funcs table for new int/uint formats This only adds dummy entries to the table to fix failed assertions. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41491
wrast/s_texfetch.c
|
d912669034eb7bf5c162358a7a574ec7a4c963c7 |
26-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 Gen6: Implement gl_ClipVertex. This patch implements proper support for gl_ClipVertex by causing the new VS backend to populate the clip distance VUE slots using VERT_RESULT_CLIP_VERTEX when appropriate, and by using the untransformed clip planes in ctx->Transform.EyeUserPlane rather than the transformed clip planes in ctx->Transform._ClipUserPlane when a GLSL-based vertex shader is in use. When not using a GLSL-based vertex shader, we use ctx->Transform._ClipUserPlane (which is what we used prior to this patch). This ensures that clipping is still performed correctly for fixed function and ARB vertex programs. A new function, brw_select_clip_planes() is used to determine whether to use _ClipUserPlane or EyeUserPlane, so that the logic for making this decision is shared between the new and old vertex shaders. Fixes the following Piglit tests on i965 Gen6: - vs-clip-vertex-const-accept - vs-clip-vertex-const-reject - vs-clip-vertex-different-from-position - vs-clip-vertex-equal-to-position - vs-clip-vertex-homogeneity - vs-clip-based-on-position - vs-clip-based-on-position-homogeneity - clip-plane-transformation clipvert_pos - clip-plane-transformation pos_clipvert - clip-plane-transformation pos Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/gen6_vs_state.c
ain/mtypes.h
|
7d68c639ddb0f9df45cf698b8e8227bf1860b5fe |
26-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add a gl_vert_result for gl_ClipVertex. Before this patch, clip planes didn't work properly in Mesa when using vertex shaders, because Mesa assigned both gl_ClipVertex and gl_Position to the same gl_vert_result (VERT_RESULT_HPOS). As a result, backends couldn't distinguish between the two variables, so any shader that wrote different values to them would fail to work properly. This patch paves the way for proper support of gl_ClipVertex by creating a new enumerated value in gl_vert_result for it (VERT_RESULT_CLIP_VERTEX). After this patch, a back-end may add support for gl_ClipVertex using the following algorithm: - If using a user-supplied GLSL vertex shader: - If the bit corresponding to VERT_RESULT_CLIP_VERTEX is set in gl_program::OutputsWritten: - Clip using the vertex shader output VERT_RESULT_CLIP_VERTEX and the clip planes defined in gl_context::Transform.EyeUserPlane. - Else: - Clip using the vertex shader output VERT_RESULT_HPOS and the clip planes defined in gl_context::Transform.EyeUserPlane. - Else (either using fixed function or an ARB vertex program): - Clip using the vertex shader output VERT_RESULT_HPOS and the clip planes defined in gl_context::Transform._ClipUserPlane (*) where (*) represents the normal Mesa behavior before this patch. An example of implementing the above algorithm can be found in the patch that follows this one, which implements gl_ClipVertex in i965 Gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
9c697a9d004da4aa7a26d3bda17cc473f50345ea |
04-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: update fbo format tablet for integer types. This updates the fbo format table for the integer types. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/fbobject.c
|
38db7ae7fa3b5c05244ebcc5c04228e6aa794262 |
01-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/texstore: add texstore paths for all the integer types. This just adds the entries to the table and fixes the asserts up. The int32 one is definitely wrong, since it uses a float temp which will lose precision, but its no worse than now. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texstore.c
|
56a7111893aa02b569121ac6cb135b661c94c748 |
30-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/texformat: update choose_tex_format for integer types. This adds the integer types to the tex format chooser. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texformat.c
|
7a41291c3aa13fc71cc87966b414551f5c7c0e6a |
26-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/formats: add rest of integer formats. This is taken from reading EXT_texture_integer + EXT_texture_rg in combination, Comments on necessity of each format, naming of formats and bugs in the formats tables please. Is there any formats I've missed? Eric looked over this to make sure its consistent at least. As I've changed the ordering of things in the format table, the follow patches are required to avoid regression. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/formats.c
ain/formats.h
|
6e1681a2c90690b05bf55c5831ab5f83cb487876 |
05-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
texstore: create texstore table on first access. As per Brian's suggestion we can generate this table at first start to make sure its correct. This is a sad workaround for compilers which don't support named initialiser. (its 2011). Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texstore.c
|
56a90f5ce198a86599a4a24687c5d773b38326da |
28-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
r200/r300/r600: remove dangling radeon_tex_getimage.c symlinks. Commit d1fda903 (radeon: Drop mapping we were doing around glGetTexImage()) removed the common Radeon source file radeon_tex_getimage.c, and pulled it out of the r200, r300, r600, and radeon makefiles. But it left behind the symlinks that were being used to share that file among the four directories. This patch removes the dangling symlinks. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/r200/radeon_tex_getimage.c
rivers/dri/r300/radeon_tex_getimage.c
rivers/dri/r600/radeon_tex_getimage.c
|
6399b7d638ec61889820f949ff869822e6186bbf |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
scons: add new files to src/mesa/SConscript
Conscript
|
35613afee3e038b70ada210b2dfbbc9abc883f4f |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
ain/shader_query.cpp
rogram/ir_to_mesa.cpp
rogram/program.c
tate_tracker/st_glsl_to_tgsi.cpp
|
24409ba1968cc49cbde6a111464c91271babc68a |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Determine GL_ACTIVE_ATTRIBUTE_MAX_LENGTH by walking the GLSL IR. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
ain/shaderapi.c
ain/shaderapi.h
rogram/prog_parameter.c
rogram/prog_parameter.h
|
c097c63aa880e2b84e6b1d78a8808d42864f72fc |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Determine GL_ACTIVE_ATTRIBUTES by walking the GLSL IR. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
ain/shaderapi.c
ain/shaderapi.h
|
a339ee8d852c08ce7af51a518e0b18b9f0ab324c |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_shader_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
ain/shader_query.cpp
ain/shaderobj.c
|
84d71a07bb06fe5fe231b8983558fbd3608ec6f0 |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Make _mesa_GetActiveAttribARB use the attributes in the shader IR Instead of relying on the mirror in the Mesa IR assembly shader, just use the variables actually stored in the GLSL IR. This will be a bit slower, but nobody cares about the performance of glGetActiveAttrib. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
|
7a80c1bbc56b61525634f2b699f995e863dfade2 |
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_GetActiveAttribARB to shader_query.cpp This just folds get_active_attrib into _mesa_GetActiveAttribARB and moves the resulting function function to the other source file. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
ain/shaderapi.c
|
015d4f61ef9116c9e844299ab9f2b15c653c0450 |
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add gl_shader_program::AttributeBindings This currently mirrors the state tracking gl_shader_program::Attributes, but I'm working towards eliminating that. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
ain/shader_query.cpp
ain/shaderobj.c
|
2fd80534f01a5c684c47eff3946f412192ae3c0b |
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_BindAttribLocationARB to shader_query.cpp This just folds bind_attrib_location into _mesa_BindAttribLocationARB and moves the resulting function function to the other source file. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
ain/shaderapi.c
|
3ea297bdc47848e80c3b5a7d2143aca8a982b7a5 |
30-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add string_to_uint_map facade class Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
rogram/hash_table.h
rogram/string_to_uint_map.cpp
ources.mak
|
acd834fde2e604173985be5d44cb2cf2b0cd5673 |
17-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add hash_table_replace hash_table_replace doesn't use get_node to avoid having to hash the key twice. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/hash_table.c
rogram/hash_table.h
|
b7fa0d0727a3a9e1f64d3cfc7a0f157b35dec09e |
16-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_GetAttribLocationARB to shader_query.cpp This allows querying the linked shader itself rather than the Mesa IR. This is the first step towards removing gl_program::Attributes. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shader_query.cpp
ain/shaderapi.c
ources.mak
|
efd027a8b5f4c874a9286fcaf8cc0df7ea3605a8 |
20-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glapi: regen API files for new extension Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/enums.c
ain/remap_helper.h
|
763b00f2c596e167299e81684763b52422956dfc |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_draw_buffers extension enable flag All drivers in Mesa have supported this extension for eons. This extension is an optional features in desktop OpenGL (via GL_ARB_draw_buffers) and OpenGL ES 2.x (via GL_NV_draw_buffers). The extension is not usable in OpenGL ES 1.x. There is no glDrawBuffers* entry point in OpenGL ES 1.x contexts, and glGet*v generate errors when MAX_DRAW_BUFFERS or DRAW_BUFFERi is queried. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_extensions_es.c
rivers/dri/swrast/swrast.c
ain/extensions.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
a92f02d04ad011e71595f57c310fca2f3a8ce4ec |
20-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Advertise NV_fbo_color_attachments on OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
cb016bbb1dd55280b1970977c31931478112ca8f |
20-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Advertise NV_draw_buffers in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
f708166aad8114ad52878f1301fd68128fc48565 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Allow querying GL_DRAW_BUFFERi in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/get.c
|
e0d5cb0f4f1d69d0c5b89e5e3174a6fcc9bf64e8 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Allow querying GL_MAX_COLOR_ATTACHMENTS in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/get.c
|
2e3a4ab818a798b592210f7ae7ec149b3b3c0a05 |
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Allow other color attachments in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
43251b970d2d4969b0166aaea50383479a09c3bc |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Make glDrawBuffersNV available in OpenGL ES 2.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
accf293a33ff924c23fb61d3a9a4bb407bdd7559 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Remove redundant renderbuffer target validation Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
|
6dd8e7686955e9fdb56f13a1511133d9ed2d7604 |
21-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate FBO target enum in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/fbobject.c
|
7e4cb32d05cdf948a60632270e75b5513e780b28 |
02-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es: Validate FBO attachment enum in Mesa code rather than the ES wrapper Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/APIspec.xml
ain/fbobject.c
|
3db309aecee57d7e0055a49a0e12a491a554347b |
01-Oct-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles. Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
rivers/dri/i915/Makefile
|
963727aec7cb19a101fbae8f71d11876724f07ac |
04-Oct-2011 |
Guillem Jover <guillem@hadrons.org> |
Remove remnants of legacy glide support Signed-off-by: Guillem Jover <guillem@hadrons.org> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
5f4f07f4eaeb5a4a39a6567a92b1b42604d398c4 |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
nouveau: remove unused code, unused var
rivers/dri/nouveau/nouveau_texture.c
|
c8e65652800aa0cfd95c0e57b5b25afff701c3e8 |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i915: don't include texstore.h
rivers/dri/i915/i830_texblend.c
|
d646d069296982cfee14803fa882fdc4ff1b5abc |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
i965: remove unneeded includes of texstore.h
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
9119269ca14ed42b51c7d8e2e662500311b29fa3 |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix delayed texel buffer allocation regression Commit 617cdcd4c7b1cffb584c829c35bdf9c9bf04627b delayed the texel buffer allocation until texture_combine() is called. But the texel buffer is needed sooner in _swrast_texture_span() at line 649. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41433
wrast/s_texcombine.c
|
6a04fa9cd4982f056588e11263345e1561197261 |
04-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix warning (MSVC error) about void pointer arithmetic
ain/texstore.c
|
669f1822d2a60865514faf37f9fde21e4567b3d2 |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_EXT_texture_array and GL_MESA_texture_array.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_validate.c
|
82691574b6fc5a66290cbab88010caa8bc00c1dd |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add a safety check for mapping 1D texture arrays. So easy to screw up with the crazy way GL manages them.
rivers/dri/intel/intel_tex.c
|
cb86560ddb0a09727f55010bc184354d506f6484 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add debug output to intel_map_texture_image.
rivers/dri/intel/intel_tex.c
|
fd99cd0e10849205749aad580fea8c970fb46a31 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add a helper function for getting miptree size from a texture image. With 1D array textures, we no longer agree between the GL information about width/height/depth of a texture and how we lay out a miptree.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
2e0aefc1b9023a3d4003c1974489252d29b1d65b |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Refactor out the cube map setup for general texture array setup. This is just moving the code out with s/6/slices/.
rivers/dri/i965/brw_tex_layout.c
|
372cf26698881d3a71019a85759ca49652757642 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Reuse existing make_2d_mipmap for 2D array generation. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mipmap.c
|
6fc576fd8aa2680e7e35dc7108e29d0091472e33 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make the uncompressed sw mipmap gen path do a Map per 1D array slice. This also fixes what was probably a bug in 1D arrays with border. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mipmap.c
|
229ebf511dcd9b501d9299cfc06d029d1d50079d |
28-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: When storing texture data for a 1D array, map each slice separately. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
5324f9c48d59ef966fbab03664a8d44ea8c19c5f |
28-Sep-2011 |
Eric Anholt <eric@anholt.net> |
swrast: When asked to map a slice of a 1D array, give back that slice. Until now, we've been treating 1D arrays as a single slice, and each array slice is actually just a row of the 2D texture. While swrast still stores them this way, hardware drivers think that 1D arrays have actual separate slices not stored as contiguous rows. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_texture.c
|
b07c78bfe94c17e6fccba70923b03a29c751fde1 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Consolidate texture validation copy code, and reuse it correctly. The path for ->Data was failing to be called for the FBO draw offset fallback, and also had mismatched compressed texture support code. This drops the intel_prepare_render() in the blit path. We aren't copying to/from a GL_FRONT buffer, so it doesn't matter.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_validate.c
|
055995abc4e2f4a73122bd008a0e6f0558300d82 |
29-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clean up the function chain for mapping texture images for swrast. Too many separate functions each called from one location (in different files). This code should all die soon when swrast starts using MapTextureImage.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_validate.c
|
9aff2944a449f586e32f537350e590910d09d016 |
28-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make PBO TexImage use AllocTextureImageBuffer like non-PBO does. Now that whole block that also lives in AllocTextureImageBuffer can go away.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
|
18198e299b52e0301e7264969fdb0351f7f29147 |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on Mesa core for glTexImage storage. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_image.c
|
a73d56dce37ae13f422215de1bf1fdfb8e2f6ed7 |
28-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Allocate s8z24 separate renderbuffers from AllocTextureImageBuffer(). Before, we were only allocating these from our TexImage, so if the texture image was set up in any other way (non-accelerated glGenerateMipmaps()), they'd be missing or wrong.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
e928c34d3ec54bb8a6b80036e6b6a91977bf0865 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add an AllocTextureImageBuffer() implementation using miptrees. Now we can rely on Mesa core for uploads of data without introducing an extra copy at validate time.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
e0304180c32227342dbb67b707bfae446543bb48 |
02-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert _mesa_generate_mipmap to MapTexImage()-based access. Now that we can zero-copy generate the mipmaps into brand new glTexImage()-generated storage using MapTextureImage(), we no longer need to allocate image->Data in mipmap generate. This requires deleting the drivers' old overrides of the miptree tracking after calling _mesa_generate_mipmap at the same time, or the drivers promptly lose our newly-generated data. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
ain/mipmap.c
ain/mipmap.h
tate_tracker/st_gen_mipmap.c
|
1165b64f561a7bdd3f603d9e30a2340774ba31ee |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Stop lowering integer division to multiply and reciprocal. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_shader.cpp
|
b9af592dfa8f8d0fe9f29c2d48bf6846cbd5c50f |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Reverse the operands for INT DIV prior to Gen6. Apparently on Gen4 and 5, the denominator comes first. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vec4_emit.cpp
|
1d4f3ca8f0442821c914b758b323e6e5124149a3 |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Implement integer quotient and remainder math operations. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
ff8f272b0d02b41a0ce34ab6af7119b9e06f4961 |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement integer quotient and remainder math operations. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_shader.cpp
|
6960f786c8e1bfbaa0d9eb5f43b3b6bfc7135fcf |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set the signed/unsigned type bit in Gen4/5 math messages. It never mattered before since we only did floating point math. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
6b10aab2bbe0e69e2e8efca5e754870c8a543064 |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix message and response length calculations for INT DIV. Both POW and INT DIV need a message length of 2; previously, we only checked for POW. Also, BRW_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER has a response length of 2; previously, we only checked for SINCOS. We don't use this message, but in case we ever decide to, we may as well fix it now. While we're at it, just move these computations into brw_set_math_message, since they're entirely based on the function. This fixes it for both brw_math and the old backend's brw_math_16. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
ee2bf3a4b6b37287e6d150d3dd6742b7fa4f8215 |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix assertions about register types for INT DIV in brw_math. BRW_MATH_FUNCTION_REMAINDER was missing. Also, it seems worthwhile to assert that INT DIV's arguments are signed/unsigned integers. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
e66fc1cb035caa5375c4ef3578420476ea94d371 |
29-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Don't assertion fail on integer modulus. Drivers implementing GLSL 1.30 want to do integer modulus, and until we can stop generating code via ir_to_mesa, it's easier to make it silently generate rubbish code. Multiply will do. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
e7c2b711a3b01cbeb0bf93d5442599457e7f8f51 |
30-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Respect GL_RASTERIZER_DISCARD for various meta-type operations. From the EXT_transform_feedback spec: Primitives can be optionally discarded before rasterization by calling Enable and Disable with RASTERIZER_DISCARD_EXT. When enabled, primitives are discared right before the rasterization stage, but after the optional transform feedback stage. When disabled, primitives are passed through to the rasterization stage to be processed normally. RASTERIZER_DISCARD_EXT applies to the DrawPixels, CopyPixels, Bitmap, Clear and Accum commands as well. And the GL 3.2 spec says it applies to ClearBuffer* as well. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/accum.c
ain/clear.c
ain/drawpix.c
|
3a1ba094f45b3df9b5b4449fcac926b844aca7a4 |
30-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing glGetIntegerv() support for ARB_color_buffer_float tokens. Fixes piglit ARB_color_buffer_float/api-get Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
42769c2da5c986e38a1bd4ef7dbcb6623968ce88 |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
Revert "vbo: Don't discount stride == 0 for testing all varyings in VBOs." This reverts commit d631c19db47181129811080bfa772b210d762d4d. The commit was broken, and ended up returning false all the time because nobody in the world binds every single possible vertex array. On further reflection, we don't want to discount stride == 0: This function is just used for deciding to calculate whether to compute the bonuds on the index, and there's no sense in computing index bounds when stride == 0. For the separate question of "how much data do I upload for this vertex element?", the i965 driver was fixed to upload the data. Fixes a regression of about 2x in 3DMMES, and most importantly, makes Hammerfight playable.
bo/vbo_rebase.c
|
ddc348d83eff8c12ff0e6c245c32fa65120e7f4a |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Make sure to upload the data for a collection of Stride == 0 arrays. Commit d631c19db47181129811080bfa772b210d762d4d avoided this problem by forcing the driver to get the min/max index, but that commit was broken, so just fix the driver problem (confusion between "do I need to upload any data?" and "do I need the index bounds in order to upload any data?").
rivers/dri/i965/brw_draw_upload.c
|
617cdcd4c7b1cffb584c829c35bdf9c9bf04627b |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Delay s_texcombine.c memory allocation until it's used. Generally we're using fragment programs in all our drivers, so wasting 4MB for code that's never called is pretty lame. Reduces i965 memory allocation for a short shader program from 21,932,128B to 17,737,816B.
wrast/s_context.c
wrast/s_texcombine.c
|
f7f678331d5e95d2266fe6b3ea1cfa47d6421065 |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
tnl: Delay results allocation until we actually need them. Decreases i965 peak memory allocation for a trivial shader program from 23,483,048B to 21,932,128B, since we never actually use tnl for rendering.
nl/t_vb_program.c
|
fe006a74f6fd1ddeec778226111938193a995a6c |
01-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965/vs: Fix swizzle related assertion As innocuous as it seemed, ebca47a basically broke the world (e.g., >200 piglit regressions). In vec4_visitor::emit_block_move, src->swizzle was expected to be BRW_SWIZZLE_NOOP before setting it to a swizzle that would replicate the existing channels of the source type to a vec4 (e.g., .xyyy for a vec2). The original assertion seems to have been a little bogus. In addition to being BRW_SWIZZLE_NOOP, src->swizzle might already be a swizzle that would replicate the existing channels of the source type to a vec4. In other words, it might already have the value that we're about to assign to it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
dd9574d7a585bd470f2fe28f73e6d31430293dc9 |
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: number of combiner terms to pop depends on GL_NV_texture_env_combine4 If GL_NV_texture_env_combine4 is not supported, setting the fourth combiner term would generate a GL error. Of course, I noticed this right after committing the previous patch to use a loop in the first place. <sigh> Note that GL_EXT_texture_env_combine is always supported so the first three combiner terms are always accepted.
ain/attrib.c
|
9520f483b8f1e45fa474674b415554988de5d8d3 |
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/INLINE/inline/ INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
ain/accum.h
ain/api_arrayelt.h
ain/api_loopback.h
ain/arrayobj.c
ain/atifragshader.h
ain/attrib.h
ain/bitset.h
ain/bufferobj.c
ain/bufferobj.h
ain/colortab.h
ain/convolve.h
ain/dlist.c
ain/dlist.h
ain/drawpix.h
ain/eval.h
ain/fbobject.c
ain/fbobject.h
ain/feedback.c
ain/feedback.h
ain/format_unpack.c
ain/framebuffer.h
ain/hash.c
ain/histogram.h
ain/image.c
ain/imports.h
ain/mm.c
ain/mtypes.h
ain/pack.c
ain/pixel.h
ain/queryobj.h
ain/rastpos.h
ain/remap.h
ain/renderbuffer.h
ain/samplerobj.c
ain/samplerobj.h
ain/shaderobj.h
ain/state.h
ain/syncobj.h
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
ain/texgen.h
ain/texgetimage.c
ain/teximage.c
ain/teximage.h
ain/texobj.h
ain/texparam.c
ain/texstate.h
ain/transformfeedback.h
ain/varray.h
ain/vtxfmt.h
rogram/prog_execute.c
rogram/prog_parameter.h
rogram/program.h
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_blit.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_logic.c
wrast/s_points.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texcombine.c
wrast/s_texfetch.c
wrast/s_texfilter.c
wrast/s_triangle.c
wrast/s_zoom.c
nl/t_vb_program.c
nl/t_vertex_generic.c
bo/vbo_attrib_tmp.h
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_save.h
|
c707ffa587137bda42ed557e2c5f6bb7ee02aca3 |
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
r600: include version.h for _mesa_override_glsl_version() prototype Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/r600/r600_context.c
|
b15ab1d2283f9c856f6ed4381e22216b9711a2ed |
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use !! to simplify some _mesa_set_enable() calls in attrib.c Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/attrib.c
|
986a9bb1806174b70b756165ece555856a705dfb |
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use loop in pop_texture_group() to restore 4 combiner terms There's four combiner terms (not 3) with GL_NV_texture_env_combine4. Use a loop to make the code a little more compact. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/attrib.c
|
1f8f8aef7f30156bbd906be36cdda2e05d8b0a7f |
17-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor hash_table_{find,remove} to share some code Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/hash_table.c
|
16f7bdf5556e739d5a0b6c4c2e2a30bb731f8fc9 |
17-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Document an odd side-effect of hash_table_insert Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/hash_table.h
|
cd76f114e608ffb93a03ac3ffc3e11876d6a057e |
16-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused field gl_program::Varying Lots of things set and copy this field around, but nothing uses it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
rogram/ir_to_mesa.cpp
rogram/program.c
tate_tracker/st_glsl_to_tgsi.cpp
|
a9f25160af9c12cdd675819a74fb7b1a92cfce34 |
23-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use Add linker_error instead of fail_link See also 8aadd89. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/sampler.cpp
|
ba89086e79b22bd9578ea642846108de624c91e9 |
27-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add PIPE_CAP_TEXTURE_BARRIER Same issue as with conditional_render. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
3d13b081c72626acba6b9a25baec740c60dfafe1 |
27-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add PIPE_CAP_CONDITIONAL_RENDER We were checking whether render_condition is set. That was not reliable, because it's always set with trace and noop regardless of driver support. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
f5bfe54a34d9c8cd5de2b096d0e8486fe0d990a7 |
27-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS This removes: - PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS - PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS in favor of the that new per-shader cap. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
67582e6eef789324b527b4753065aea366145f4e |
30-Sep-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: out-of-bounds write in calc_live_regs() From a Coverity defect report. src/mesa/drivers/dri/i915/i915_fragprog.c 301 /* 302 * TODO: consider moving this into core 303 */ 304 static bool calc_live_regs( struct i915_fragment_program *p ) 305 { 306 const struct gl_fragment_program *program = &p->FragProg; 307 GLuint regsUsed = 0xffff0000; -> 308 uint8_t live_components[16] = { 0, }; 309 GLint i; 310 311 for (i = program->Base.NumInstructions - 1; i >= 0; i--) { 312 struct prog_instruction *inst = &program->Base.Instructions[i]; 313 int opArgs = _mesa_num_inst_src_regs(inst->Opcode); 314 int a; 315 316 /* Register is written to: unmark as live for this and preceeding ops */ 317 if (inst->DstReg.File == PROGRAM_TEMPORARY) { -> 318 if (inst->DstReg.Index > 16) 319 return false; 320 -> 321 live_components[inst->DstReg.Index] &= ~inst->DstReg.WriteMask; 322 if (live_components[inst->DstReg.Index] == 0) 323 regsUsed &= ~(1 << inst->DstReg.Index); 324 } 325 326 for (a = 0; a < opArgs; a++) { 327 /* Register is read from: mark as live for this and preceeding ops */ 328 if (inst->SrcReg[a].File == PROGRAM_TEMPORARY) { 329 unsigned c; 330 331 if (inst->SrcReg[a].Index > 16) 332 return false; 333 334 regsUsed |= 1 << inst->SrcReg[a].Index; 335 336 for (c = 0; c < 4; c++) { 337 const unsigned field = GET_SWZ(inst->SrcReg[a].Swizzle, c); 338 339 if (field <= SWIZZLE_W) 340 live_components[inst->SrcReg[a].Index] |= (1U << field); 341 } 342 } 343 } 344 345 p->usedRegs[i] = regsUsed; 346 } Reported-by: Vinson Lee <vlee@vmware.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40022 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_fragprog.c
|
ebca47af8507e0fc3f03d6c0f49be6b2d4d9a8a4 |
30-Sep-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Assign instead of compare inside assert This is from a Coverity defect report. src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp 1314 void 1315 vec4_visitor::emit_block_move(dst_reg *dst, src_reg *src, 1316 const struct glsl_type *type, bool predicated) ... 1351 /* Do we need to worry about swizzling a swizzle? */ ->1352 assert(src->swizzle = BRW_SWIZZLE_NOOP); 1353 src->swizzle = swizzle_for_size(type->vector_elements); Reported-by: Vinson Lee <vlee@vmware.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40158 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_vec4_visitor.cpp
|
8ccbcda5c64a8bea47f6b41d46bf015ba8e515fc |
30-Sep-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965/gen6: Fix assign instead of compare in assert This is from a Coverity defect report. src/mesa/drivers/dri/i965/brw_vec4_emit.cpp 268 static void 269 check_gen6_math_src_arg(struct brw_reg src) 270 { 271 /* Source swizzles are ignored. */ 272 assert(!src.abs); 273 assert(!src.negate); -> 274 assert(src.dw1.bits.swizzle = BRW_SWIZZLE_XYZW); 275 } Reported-by: Vinson Lee <vlee@vmware.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40214 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_vec4_emit.cpp
|
9c72b729f34e1d544a66222c90561f93db6cb132 |
29-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Remove unused tnl items from dd_functions Remove NeedValidate and ValidateTnlModule. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/driverfuncs.c
ain/dd.h
|
a8ca786ba69f6af0120a24f473b2ae7e6a41495d |
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: fix GetTexImage() for luminance, l/a, intensity formats The GL spec says that luminance values are returned as (l, 0, 0, 1), L/A values as (l, 0, 0, a) and intensity values as (i, 0, 0, 1). Use the pixel transfer scale controls to implement that. This fixes a few failures in the new piglit getteximage-formats test when getting a compressed L or L/A image.
rivers/common/meta.c
ain/pixel.c
ain/pixel.h
|
57169c469406f1880107a6b9f052708ce078942d |
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add _NEW_CURRENT_ATTRIB in _mesa_program_state_flags() If color material mode is enabled, constant buffer entries related to the material coefficients will depend on glColor. So add _NEW_CURRENT_ATTRIB to the bitset returned for material-related constants in _mesa_program_state_flags(). This fixes a bug exercised by the new piglit draw-arrays-colormaterial test. Note: This is a candidate for the 7.11 branch.
rogram/prog_statevars.c
|
4e6bb0774ffa93141a3a8ec7bb47b190810b2a4b |
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement AllocTextureImageBuffer() driver hook This hasn't been needed so far since none of the core Mesa code paths that call ctx->Driver.AllocTextureImageBuffer() are used with the state tracker. That will change in upcoming patches. Note that this function duplicates some code seen in the st_TexImage() function. That can be cleaned up later.
tate_tracker/st_cb_texture.c
|
4368a657670f1f3f13d8497f749cb5439f91529e |
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify parameters to GetTexImage() driver hook The target, level and texObj can be obtained through the texImage parameter. We could make similar changes for the TexImage() hooks too. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
rivers/common/meta.h
ain/dd.h
ain/debug.c
ain/mipmap.c
ain/texgetimage.c
ain/texgetimage.h
tate_tracker/st_cb_texture.c
|
e4394fb19f735da3fad9340653637bbe54778069 |
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
intel: include version.h to get _mesa_override_glsl_version() prototype
rivers/dri/intel/intel_extensions.c
|
c6f9d80ad2d11b44c38098cd0ae2eb91d31b86d9 |
29-Sep-2011 |
Simon Farnsworth <simon.farnsworth@onelan.co.uk> |
gallium: Set renderbuffer's InternalFormat when rendering to texture When an FBO is rendering to a texture (rather than a renderbuffer), Gallium sets up an internal renderbuffer to handle the rendering, and copies over enough texture state to make this work. InternalFormat was missed out, causing glTexCopyImage to take a slow path unnecessarily. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41263 Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
ed48df84246caa40398ccd6a822cbd9b650f8282 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_texture_mirrored_repeat extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64, mga, and savage (Savage3D and other pre-Savage4). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/swrast/swrast.c
ain/extensions.c
ain/mtypes.h
ain/samplerobj.c
ain/texparam.c
ain/version.c
tate_tracker/st_extensions.c
|
b0824bd860f6d4b3ad28fc142c2eebd840ed6173 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_blend_subtract extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on i810, mach64, mga, savage, sis, and tdfx (Voodoo Banshee and Voodoo3). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/swrast/swrast.c
ain/blend.c
ain/extensions.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
1d5e49bf05f698374257707e2303b266d2a864da |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_stencil_wrap extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/swrast/swrast.c
ain/extensions.c
ain/mtypes.h
ain/stencil.c
ain/version.c
tate_tracker/st_extensions.c
|
f9a2352c9569ef562e9507bfe09358f236aaf4b7 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_lod_bias extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64, mga, or r128. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
ain/attrib.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/texenv.c
ain/texparam.c
ain/version.c
tate_tracker/st_extensions.c
|
bde8bd99b64876b47f9d335320eb1ad5b3be8d9d |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_env_combine extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x). This patch does not change the situation in any way. It looks like the only hardware supported by Mesa that cannot do ARB_texture_env_combine is pre-NV10 NVIDA chips. It appears that these chips cannot do the GL_SUBTRACT mode. Based on looking at older copies of nvOpenGLspecs.pdf found on the net, NVIDIA never supported ARB_texture_env_combine on those chips either. This extension was previously not supported on mach64, mga (G200), r128, savage, sis, and tdfx (Voodoo Banshee and Voodoo3). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
ain/attrib.c
ain/extensions.c
ain/mtypes.h
ain/texenv.c
tate_tracker/st_extensions.c
|
5c4f914f9a883be67a93a78c853de103bb6a2d2a |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_env_add extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x). This patch does not change the situation in any way. This extension was previously not supported on mach64, mga (G200), savage (Savage3D and other pre-Savage4), sis, and tdfx (Voodoo Banshee). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
ain/extensions.c
ain/mtypes.h
ain/texenv.c
ain/version.c
tate_tracker/st_extensions.c
|
677743f7d598a599281d420a60e45be9f6af584f |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_multitexture extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_CLIENT_ACTIVE_TEXTURE in OpenGL ES 2.x). This patch does not change the situation in any way. This extension was previously not supported on i810, mga (G200), or tdfx (Voodoo Banshee). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/swrast/swrast.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
1a867385d56022e904ef0235cbed545057fcb998 |
29-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove some old GetTexImage() code We can use the core Mesa code for glGetTexImage() since it handles the image mapping/unmapping now. We'll keep the decompress_with_blit() path in the hope that it's faster than core Mesa's software decompression code. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41312
tate_tracker/st_cb_texture.c
|
163761f128913825c617f6223dc141c7f942822f |
25-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't compute index buffer bounds for per-instance data
tate_tracker/st_draw.c
|
b79782cbedf8b23ea392d9a597eb4831a605bbe0 |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned sscanf() warning in _mesa_override_glsl_version()
ain/version.c
|
3bb41e7b2d359e02f6a1ad8df6be52d9aea7d296 |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: include version.h and fix _mesa_override_glsl_version() call
tate_tracker/st_extensions.c
|
158a5854502ce071e3f07d4ad9622b8ddb3c9859 |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for bit-shift operations. Reviewed-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
0045a674183b7716a2b64f3f81223e5a0ca5e074 |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing _mesa_sizeof_glsl_type() for UNSIGNED_INT. Somehow we managed to get the unsigned int vectors, but not scalar. Fixes _mesa_problem complaints in piglit's uint tests. Reviewed-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
|
7de6e749df90a214d1547956dd66cfec6edcb446 |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for bit-shift operations. Reviewed-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
1d59de1456ba55d32bbe0c0ae45a9358e31e1cd2 |
27-Sep-2011 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't assertion fail on remaining GLSL 1.30 ops. For hardware drivers, we only have ir_to_mesa called for the purposes of potential swrast fallbacks (basically never on a 1.30 driver), which we don't really care about. This will allow 1.30 to be implemented without rewriting swrast for it. Reviewed-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
f02ed012c9d3346ffdea9ecbf03c5818e40a24c7 |
24-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: don't intepolate clip distances on pre-GEN6. On pre-GEN6 chips, the VUE slots set aside for clip distance aren't actually used, so there is no reason for the clipper to waste time interpolating them. When commit 62bad54727690bff5ed42a74272e7822fd36cdb6 changed the enum value used to represent these VUE slots, that caused the clipper to start interpolating them as an accidental side effect. This patch reverts to the old clipper behavior. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip_util.c
|
64ce64a3f88f0c33a3f9a97f231bd98983887e27 |
24-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 new VS: Fix bugs in pre-GEN6 psiz/flags computation This patch corrects two errors in the computation of the psiz/flags VUE slot on pre-GEN5 when using the new VS backend: - The clip flags (which should be stored in the w component of the first VUE slot) were being accidentally duplicated in all other components of that VUE slot, causing partially clipped triangles to sometimes disappear completely. - The OR instruction wasn't being stored in "inst", causing the BRW_PREDICATE_NORMAL flag to be applied to the wrong instruction. This patch fixes regressions in clipping behavior when using shaders on GEN4-5. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
cc3a699e32bed62c38b3b2de280973f067962504 |
24-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 new VS: Fix src_reg(uint32_t) constructor. This constructor was storing its argument in the wrong field of the "imm" enum, resulting in it being converted to a float when it should have remained an unsigned integer. This was preventing clipping from working properly on pre-GEN6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
|
e7da40afe84349a640fe15e3af408a0dfe880e85 |
24-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 new VS: don't share clip plane constants in pre-GEN6 In pre-GEN6, when using clip planes, both the vertex shader and the clipper need access to the client-supplied clip planes, since the vertex shader needs them to set the clip flags, and the clipper needs them to determine where to insert new vertices. With the old VS backend, we used a clever optimization to avoid placing duplicate copies of these planes in the CURBE: we used the same block of memory for both the clipper and vertex shader constants, with the clip planes at the front of it, and then we instructed the clipper to read just the initial part of this block containing the clip planes. This optimization was tricky, of dubious value, and not completely working in the new VS backend, so I've removed it. Now, when using the new VS backend, separate parts of the CURBE are used for the clipper and the vertex shader. Note that this doesn't affect the number of push constants available to the vertex shader, it simply causes the CURBE to occupy a few more bytes of URB memory. The old VS backend is unaffected. GEN6+, which does clipping entirely in hardware, is also unaffected. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/gen6_vs_state.c
|
7e2b23ba85a89282565d9375b0a885cc48e66c82 |
24-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix a hardcoded user clip plane count. Now that i965 supports 8 clip planes instead of 6, the size of the brw_vs_compile::userplane array needs to be increased to 8. Changed the array size to MAX_CLIP_PLANES so that if the number changes again in the future, this array size won't be missed. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs.h
|
a864b82a04efd0642f5b2a9489b3c20dac46551f |
21-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: allow for nonconsecutive elements of gl_ClipDistance to be enabled. When using user-defined clipping planes, the i965 driver compacts the array of clipping planes so that disabled clipping planes do not appear in it--this saves precious push constant space and makes it easier to generate the pre-GEN6 clip program. As a result, when enabling clipping planes in GEN6+ hardware, we always enable clipping planes 0 through n-1 (where n is the number of clipping planes enabled), regardless of which clipping planes the user actually requested. However, we can't do this when using gl_ClipDistance, because it would be prohibitively complex to compact the gl_ClipDistance array inside the user-supplied vertex shader. So, when enabling clipping planes in GEN6+ hardware, if gl_ClipDistance is in use, we need to pass the user-supplied enable flags directly through to the hardware rather than just enabling the first n planes. Fixes Piglit test vs-clip-distance-enables. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen7_clip_state.c
|
e6c8027ccb44de58a51956306dfe93146dcbf526 |
21-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Use 4 bits to store nr_userclip in brw_clip.h. Since the i965 driver supports 8 clipping planes now, we need 4 bits to store the number of user clipping planes, not 3. In theory this isn't strictly necessary, since brw_clip.h is only used on pre-GEN6, and pre-GEN6 only advertises support for 6 clipping planes, but it seems wise to err on the safe side. In the process I removed the pad0 element of struct brw_clip_prog_key--it doesn't seem necessary because the compiler automatically inserts padding if needed. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip.h
|
bb3e75d9a57a9d1a516d42487a6f0b4b23166f60 |
27-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Remove unused function get_glsl_version() It was replaced by _mesa_override_glsl_version(). Reviewed-by: Dave Airlie <airlied@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_extensions.c
|
a1eff5570f5e3f893fe4d453aef5ce143712ab09 |
27-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Allow overriding GLSL version with environment variable Override the context's GLSL version if the environment variable MESA_GLSL_VERSION_OVERRIDE is set. Valid values for MESA_GLSL_VERSION_OVERRIDE are integers, such as "130". MESA_GLSL_VERSION_OVERRIDE has the same behavior as INTEL_GLSL_VERSION, except that it applies to all drivers, not just Intel's. Since the former supercedes the latter, this patch disables the latter. Reviewed-by: Dave Airlie <airlied@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_extensions.c
rivers/dri/r600/r600_context.c
ain/context.c
ain/version.c
ain/version.h
tate_tracker/st_extensions.c
|
124fc96ddf2695b4eca1a9b373f33cb993de9f6a |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: substitute argument to guess_base_level_size() call stObj->base.BaseLevel and firstImage->base.Level have the same value but the later looks more consistent in the function call.
tate_tracker/st_cb_texture.c
|
d1e567fb00fbc066e4af9f58f1c106a6b0b5b827 |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix signed/unsigned warning in sscanf()
ain/version.c
|
d487cc23a17ad5216f7aaed478402cf23c7837ab |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
scons: insert 'git-' into MESA_GIT_SHA1 string To match makefile build.
Conscript
|
e112287474e225969fb10e6bc744d9c48a853fc6 |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
scons: fix write_git_sha1_h_file() issue on Windows Unlike on Unix, os.rename(src, dst) will fail on Windows if the dst file already exists. Remove it first.
Conscript
|
f83af361a4e44ee89c63e769501ed93caa22e30f |
28-Sep-2011 |
Brian Paul <brianp@vmware.com> |
scons: generate git_sha1.h file as with Makefile build So that GL_VERSION includes the git head hash id when building with scons. Reviewed-by: José Fonseca <jfonseca@vmware.com>
Conscript
|
83df7fbe62be2798d557142a47e01af86ec9e2e2 |
27-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Allow SIMD16 color writes on Ivybridge. Again, the check was needlessly specific: this works fine on Gen7. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
79cba4c2b17456e2b25ac555c45e1c106b4e3f6b |
27-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Allow SIMD16 with control flow on Ivybridge. The check was designed to forbid it on old generations (Gen5/Ironlake), not on new ones. It just works on Gen7/Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
b095b683f8451b54cca52593dc331f82844c9c30 |
28-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix compiler warnings from the depth stall flush commit.
rivers/dri/intel/intel_batchbuffer.h
|
d1fda903eca3dd93a5b3dabbeeb0dc99efb67473 |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop mapping we were doing around glGetTexImage(). It's handled by MapTextureImage() now.
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_tex_getimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
6731c6cfb1cd2f82b8b20c0f39a8fb13df87a55a |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
nouveau: Drop mapping we were doing around glGetTexImage(). It's handled by MapTextureImage() now.
rivers/dri/nouveau/nouveau_texture.c
|
019c9ee2204723a9a041316e055e0602e514cad4 |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop our custom glGetTexImage() code. The mesa core code uses MapTextureImage() like we need now. v2: Drop mapping around _mesa_generate_mipmap for compressed, since the whole path ends up going through MapTextureImage(), and the meta decompression code ended up causing us to lose track of the region that was originally mapped and assertion fail.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
|
ce62473408f884c876ee535f5f48cfe70dacb1ef |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Finally, convert RGBA glGetTexImage() to using MapTextureImage(). v2: Changes by Brian to MapTexImage in the decompression path. v3: Changes by anholt to fix srcRowStride for decompression of NPOT. Tested-by: Brian Paul <brianp@vmware.com> (v2)
ain/texgetimage.c
tate_tracker/st_cb_texture.c
|
429b45e7c0001c0979e0d0fd20c3821c166da4a9 |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert depth glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
tate_tracker/st_cb_texture.c
|
59348722b7a2a9ec689af0613fa8435f78a90cc4 |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert depth/stencil glGetTexImage() to using MapTextureImage(). Note that the implementation before and after appears to be broken in its handling of Z24_S8 vs S8_Z24. Tested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
tate_tracker/st_cb_texture.c
|
0c513a9c1b5125ba647c17f330635ded46d4d174 |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Switch ycbcr glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
440dfb45834e18ebd9acfc37aa31797d8803e51b |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Switch memcpy fast-path of glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
177110ae3261e6ba91a40ed1c495a865edbe9394 |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Update comments/assertions about buffer mapping for glGetTexImage(). This code is about to stop needing ->Data and using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
8df7ca71125ee0ad74260378ff7e185dcf66f3bc |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert GetCompressedTexImage to using MapTextureImage(). This changes drivers to not map the texture on their own before calling _mesa_get_compressed_teximage(). Tested-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_tex_getimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
ain/texgetimage.c
tate_tracker/st_cb_texture.c
|
9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf |
27-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: move border color to be a color union EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
|
0527c11d7aa42bd74f4527d7299e3c18f37c4c44 |
26-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Allow override of GL version with environment variable It is necessary to manually set the GL version to 3.0 in order to run Piglit tests that use glGetUniform*(). This patch allows one to override the version of the OpenGL context by setting the environment variable MESA_GL_VERSION_OVERRIDE. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/version.c
|
b565e62a4499aad445bdbc0ba3a8bbc1c61e68ab |
25-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Make enable.c and get.c properly range check clip flags. This is a follow-up to commit 2d686fe911a89fa477ee3848da41ebfb100500bf, which added decoding of GL_CLIP_DISTANCE[67] to the _mesa_set_enable() function. This patch makes the following additional fixes: - Uses GL_CLIP_DISTANCEi enums consistently within enable.c rather than the deprecated GL_CLIP_PLANEi enums. - Generates an error if the user tries to access a clip flag that is unsupported by the hardware. - Applies the same change to _mesa_IsEnabled(), so that querying clip flags using glIsEnabled() works properly. - Applies corresponding changes to get.c, so that querying clip flags using glGet*() works properly. Fixes piglit test clip-flag-behavior. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/enable.c
ain/get.c
|
4c84fbea9d496567d706468113d63cd8f0faeb7f |
27-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix indentation in mipmap.c (3 spaces)
ain/mipmap.c
|
39790b6450b770cd402bc08b9416cab67de3dedb |
23-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix access beyond array bounds for non-GRF operands. Caught by valgrind. I never saw a segfault from it (probably because it's hard to have much more of any other file than GRF).
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
8004a1cb95b8a195f3f4bbaa8d39d2f3297167de |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rename region->buffer to region->bo, and remove accessor function. We call all the other drm_intel_bo pointers in intel/*.h "bo", so this one was rather out of place. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
b4721bf711df5a18489939b373b5e3fa10d28daa |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop stale comment about CopyTexSubImage. We get called for TexImage higher up, and in a relatively normal way (pixels == NULL is common for FBO setup). Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
2ef77d1c74be936f7597d4f289c732c0db9e8687 |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on AllocTextureImageBuffer for our teximage fallbacks. It will do a more reliable job at getting the image size for _mesa_texstore right than us. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
d6b5e32f5f3ee7dcdfb525f378344c7a9be78a5f |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on mesa core for compressed texture image uploading. There's nothing in our normal texture path we need for this. We don't PBO upload blit it. We don't need to worry about flushing because MapTextureImage handles it. hiz scattergather doesn't apply, but MTI handles it too. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
32fe506ae14efa055f4773f422e2edd9fd1cffee |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Allow src == NULL and *dst != NULL in intel_miptree_reference(). This makes this API consistent with intel_region_reference, and the consumers wanted it this way. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
db3ada6055814a4bd5aa95fc9505fc101864391d |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the "intel" argument to intel_miptree_release(). We don't have it in the other refcounting functions, and it was totally unused. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
abaebcee787eeb8a89bf7a82ed4d1532fcde5e39 |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the immediate validation of the texture object in TFP. It's totally gratuitous -- the image's miptree will be checked for binding to the object later, anyway, with zero-copy or blitting as appropriate. Tested-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
d430e81c3287eba4ee84ca1639a23f92bbe22c8e |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix improper freeing of texture data in TFP. If there happened to be ->Data present, we assertion failed instead of handling it correctly. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35234 Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
fdd4961443d0fbb968c07f5b693c45785ae416f5 |
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Refactor texture_from_pixmap and EGL_image region binding. Tested-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
19cfe1e035fdaf03b7a3560c47f1b8d59a221902 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop some extra equality checks on reference/release functions. _mesa_reference_renderbuffer already short-circuits equality, and intel_miptree_release does nothing on NULL. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex.c
|
14ae70f79328fb92886e4ebb5c950b35bcc3b5f5 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Set the pre/post-blend color clamp flags. No change in piglit results on gen6, but the spec demands it so let's do it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_cc.c
|
74e927bcafad0a994be5f88fbda4058bef08bc51 |
18-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Split generate_math into gen4/gen6 and 1/2 operand variants. This mirrors the structure Eric used in the new VS backend, and seems simpler. In particular, the math1/math2 split will avoid having to figure out how many operands there are, as this is already known by the caller. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
|
c5943d6c1cc4eedbea088bc1f611abc153e90524 |
26-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: always call _swrast_choose_texture_sample_func() _swrast_choose_texture_sample_func() handles null texture object pointers and will return the "null" sampler function which returns (0,0,0,1). This fixes a minor regression from ce82914f5ad4bb9148370826099925590e9798fd
wrast/s_context.c
|
e0553f6d4b9ec524bffd94dc6f72efe4ea50a347 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_abgr extension enable flag All drivers remaining in Mesa support this extension. This extension is required in desktop OpenGL. The existing support is already partially broken in Mesa (e.g., using format=GL_ABGR for glTexImage2D in OpenGL ES 2.x). This patch does not change the situation in any way. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
ain/mtypes.h
|
29386d1f2d60e905d63f4c5f045ff3794b2ff99c |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA as an internal format to glTexImage2D and friends. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions_es.c
ain/extensions.c
ain/mtypes.h
ain/texformat.c
ain/teximage.c
tate_tracker/st_extensions.c
|
425284e88244e63a627b3fc4ae4514f064c71a83 |
24-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove OES_read_format extension enable flag This extension is always enabled, and drivers do not have to option to disable it. I kept this one separate from the others because I was a little uncertain about the changes to get.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
ain/extensions.c
ain/get.c
ain/mtypes.h
|
e5301b82ff66f3acd36d9e8467ee73a6a2573695 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of EXT_vertex_array_set Mesa has never any portion of this extension, and neither has any other vendor. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
ain/mtypes.h
|
740a9a49528127cb42f4d366adceaa9d6a7cd0e9 |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix extension year for EXT_texture_env_combine The year 2006 apparently came from the "Last Modified Date" in the spec header. however, the revision history at the bottom say "2/22/00 mjk - added NVIDIA Implementation Details." From that we can safely infer that the spec is from at least 2000, and it may even be older. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
34eae1c72a9b3a8eb0634cda52fca0208cd2f40d |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove many extension enable flags The following extensions are always enabled, and drivers do not have to option to disable them: GL_ARB_multisample GL_ARB_texture_compression GL_ARB_vertex_buffer_object / GL_OES_mapbuffer GL_EXT_copy_texture GL_EXT_multi_draw_arrays / GL_SUN_multi_draw_arrays GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_edge_clamp / GL_SGIS_texture_edge_clamp GL_EXT_vertex_array GL_SGIS_generate_mipmap This set was picked because the are all either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support for some is already partially broken in Mesa (e.g., proxy texture targets in OpenGL ES). This patch does not change the situation in any way. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions_es.c
rivers/dri/swrast/swrast.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
2bf30b1cccab7026bf3cb7825cc876eea0dcb19b |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove redundant GL_ARB_window_pos enable This extension is enabled by default in _mesa_init_extensions, so drivers don't need to enable it again. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
5e4f42b0170416523b42dd89aa377fa2117bb3c4 |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove redundant GL_SGIS_texture_edge_clamp enables This extension is enabled by default in _mesa_init_extensions, so drivers don't need to enable it again. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
|
8bd27a5b080157cb1d5fc0383ce45574c7b16aa5 |
01-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit depth stalls and flushes before changing depth state on Gen6+. Fixes OpenArena on Gen7. Technically, adding only the first depth stall fixes it, but the documentation says to do all three, and the Windows driver seems to do it. Not observed to fix anything on Gen6 yet. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38863 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/intel/intel_batchbuffer.c
|
490e6470a09c3a6049e5e859d72b0b679ef5d070 |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Introduce a new intel_context::gt field to go along with gen. It seems that GT1/GT2 sorts of variations are here to stay, and more special cases will likely be required in the future. Checking by PCI ID via the IS_xxx_GTx macros is cumbersome; introducing a new 'gt' field analogous to intel->gen will make this easier. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
3f9f1b365967a41f09431f724f43b59ca0e753b8 |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Remove intel_context::has_xrgb_textures/has_luminance_srgb. Seeing as they were only used once (in the same function they were defined), having them as context members seemed rather pointless. Remove them entirely (rather than using local variables) since the chipset generation checks are actually just as straightforward. While we're at it, clean up the remainder of the if-tree that set them. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
01dda0758e31ec62145488d9880a991674521054 |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix incorrect maximum PS thread count shift on Ivybridge. At one point, the documentation said that max thread count in 3DSTATE_PS was at bit offset 23, but it's actually 24 on Ivybridge. Not only did this halve our thread count, it caused us to write 1 into a bit 23, which is marked as MBZ (must be zero). Furthermore, it made us write an even number into this field, which is apparently not allowed. Apparently we were just lucky it worked. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
|
455a19b1b3d7ca0a40c65d89e45209dbd8ac7b35 |
26-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
intel: fix potential segfault error at intel_(un)map_texture_image intel_image->mt might be NULL, say with border width set. It then would trigger a segfault at intel_map/unmap_texture_image function. This would fix the oglc misctest(basic.textureBorderIgnore) fail. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/intel/intel_tex.c
|
a4d72189b271664501338cc93107845f3d40ae54 |
22-Sep-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Also set the remaining draw buffers to GL_NONE when updating just the first buffer in _mesa_drawbuffers(). Without this we'd miss the last update in a sequence like {COLOR0, COLOR1}, {COLOR0}, {COLOR0, COLOR1}. I originally had a patch for this that called updated_drawbuffers() when the buffer count changed, but later realized that was wrong. The ARB_draw_buffers spec explicitly says "The draw buffer for output colors beyond <n> is set to NONE.", and this is queryable state. This fixes piglit arb_draw_buffers-state_change. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/buffers.c
|
d7cdbc3c5415d2dd5eee58834b13714a89eacf2b |
24-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Remove pointless boolean return value from *_miptree_layout. i915_miptree_layout, i945_miptree_layout, and brw_miptree_layout always just return GL_TRUE, so there's really no point to it. Change them to void functions and remove the (dead) error checking code. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
604173fb1c4c7705681e77bbd862b9f953dbc6d4 |
13-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Increase MaxClipPlanes to 8 for gen6+. This is necessary for GLSL 1.30 compliance. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_context.c
|
2a6d43204024bc47df9bf5f7803d62d4d9580ab5 |
04-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Allow clip distances to be read back in fragment shaders. Previously, we conditionally set up the SF pipline stage with a urb_entry_read_offset of 2 when clipping was in use, and 1 otherwise, causing the clip distance VUE slots to be skipped if present. This was an extremely minor savings (it saved the SF unit from reading 2 vec4s out of the URB, but it didn't affect any computation, since we only instruct the SF unit to perform interpolation on VUE slots that are actually used by the fragment shader). GLSL 1.30 requires an interpolated version of gl_ClipDistance to be available for reading in the fragment shader, so we need the SF's urb_entry_read_offset to be 1 when the fragment shader reads from gl_ClipDistance. This patch just unconditionally sets the urb_entry_read_offset to 1 in all cases; this is sufficient to make gl_ClipDistance available to the fragment shader when it is needed, and the performance loss should be negligible when it isn't. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
62bad54727690bff5ed42a74272e7822fd36cdb6 |
02-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Set up clip distance VUE slots appropriately for gl_ClipDistance. When gl_ClipDistance is in use, the contents of the gl_ClipDistance array just need to be copied directly into the clip distance VUE slots, so we re-use the code that copies all other generic VUE slots (this has been extracted to its own method). When gl_ClipDistance is not in use, the vertex shader needs to calculate the clip distances based on user-specified clipping planes. This patch also removes the i965-specific enum values BRW_VERT_RESULT_CLIP[01], since we now have generic Mesa enums that serve the same purpose (VERT_RESULT_CLIP_DIST[01]). Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
|
d9cb683f81b5daefda2f8599b4ba0365cc6f009a |
02-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Don't upload clip planes when gl_ClipDistance is in use. When the vertex shader writes to gl_ClipDistance, we do clipping based on clip distances rather than user clip planes, so don't waste push constant space storing user clip planes that won't be used. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/gen6_vs_state.c
|
b9ef2b85b41272da9ed95071307310f9749cbf2b |
16-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Enable lower_clip_distance. i965 requires gl_ClipDistance to be formatted as an array of 2 vec4's (as opposed to an array of 8 floats), so enable the lowering pass that performs this conversion. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
|
2d686fe911a89fa477ee3848da41ebfb100500bf |
13-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Decode GL_CLIP_DISTANCE[67] properly in _mesa_set_enable(). In order to support 8 clip distances, we need to properly decode when the user sets the GL_CLIP_DISTANCE6 and GL_CLIP_DISTANCE7 enable flags. For clarity, this patch changes the names GL_CLIP_PLANE[0-5] in the switch statement to the equivalent names GL_CLIP_DISTANCE[0-5], since the GL_CLIP_PLANE names are deprecated. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
ain/enable.c
|
3d7c5a4f6f4155e249f6eac76d861eb1bc59eb69 |
19-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: set up gl_vert_result and gl_frag_attrib values for gl_ClipDistance. This patch assigns enumerated values for gl_ClipDistance in the gl_vert_result and gl_frag_attrib enums, so that driver back-ends can assign gl_ClipDistance to the appropriate hardware registers. It also adjusts the functions _mesa_vert_result_to_frag_attrib() and _mesa_frag_attrib_to_vert_result() (which translate between the two enums) to correctly translate the new enumerated values. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
|
1ad54ae0b1713e399c5db43d0eba87861075b4c7 |
17-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add a flag to indicate whether a program uses gl_ClipDistance. GLSL 1.30 requires us to use gl_ClipDistance for clipping if the vertex shader contains a static write to it, and otherwise use user-defined clipping planes. Since the driver needs to behave differently in these two cases, we need a flag to record whether the shader has written to gl_ClipDistance. The new flag is called UsesClipDistance. We initially store it in gl_shader_program (since that is the data structure that is available when we check to see whethe gl_ClipDistance was written to), and we later copy it to a flag with the same name in gl_vertex_program, since that is a more convenient place for the driver to access it (in i965, at least). Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
rogram/ir_to_mesa.cpp
|
c06e32596735074536b0e613cbddb1c5fd7b367a |
12-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Implement a lowering pass for gl_ClipDistance. In i965 GEN6+ (and I suspect most other hardware), gl_ClipDistance needs to be laid out as a pair of vec4's (the first containing clip distances 0-3, and the second containing clip distances 4-7). However, it is declared in GLSL as an array of 8 floats. This lowering pass acts at the GLSL level, modifying the declaration of gl_ClipDistance so that it is an array of vec4's rather than an array of floats, and renaming it to gl_ClipDistanceMESA. In addition, it modifies all accesses to the array so that they access the appropiate component of one of the vec4's. Since some hardware may not internally represent gl_ClipDistance as a pair of vec4's, this lowering pass is optional. To enable it, set the LowerClipDistance flag in gl_shader_compiler_options to true. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mtypes.h
|
deff7fff494a04314fe9ad859029f0436bcc9e9f |
22-Sep-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add missing includes to meta.h Include mtypes.h. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/meta.h
|
1a662e7c18cab98f1b122f6766faf338725de673 |
23-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
intel: fix the wrong code to detect null texture. There is already comments show how to detect a null texture. Fix the code to match the comments. This would fix the oglc divzero(basic.texQOrWEqualsZero) and divzero(basic.texTrivialPrim) test case fail. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_mipmap_tree.c
|
cd6b8421cac2df89dc6365ce368232e461caffcd |
06-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
i965: fix the constant interp bitmask for flat mode Fix the constant interpolation enable bit mask for flat light mode. FRAG_BIT_COL0 attribute bit might be 0, in which case we need to shift one more bit right. This would fix the oglc specularColor test fail on both Sandybridge and Ivybridge. v2: move the constant interp bitmask setup code into for(; attr < FRAG_ATTRIB_MAX; attr++) loop suggested by Eric. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
7276ab2c3664a3460cc8b0de7545c0abc819c7e9 |
23-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unnecessary st_texture_match_image() parameters We didn't use the face parameter and the level parameter can be found in the gl_texture_image.
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
86939e05d232d9b882f0b427b2efad9d754f463a |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Unindent the blit call in PBO blit uploads. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_tex_image.c
|
275ce9631b18ea77a160e3201fc3ba5549a462d3 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop gratuitous flush in PBO blit upload. Since the blit gets sequenced after other batchbuffer rendering like normal, there's no need to push things out early. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_image.c
|
3bb536e4c7b7fb0c0a9b18f5ca2d111996b0ddeb |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clean up check_pbo_format to ignore internalFormat. All that matters here is the format of the texture, not the internalformat (which might mean various different pixel formats). In one case, the pbo upload for MESA_FORMAT_YCBCR would have swapped the channels for MESA_FORMAT_YCBCR_REV. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_image.c
|
0ba23909475c085d81a5b181744c167ccbe53482 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move more of the PBO blit upload logic into that function. This also improves the debugging output in the failure paths so you get more than just "failed", and don't get spammed with "failed" when you didn't even have a PBO to try. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_image.c
|
d58a3182b1e680105731897fe2d84928daf89fce |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove stale comment about non-intel gl_buffer_objects. This hasn't been true since dd26899ca39111e0866afed9df94bfb1618dd363 in 2009. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_buffer_objects.h
|
bc0335fc0e0bd6a777ef16ad5245d35ccf7adcf6 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove the pbo zero-copy code. There were notes about the possibility of slowdowns due to zcopy from a PBO due to thrashing around of the region. Slowdowns are even more likely now that textures are generally tiled, which a zcopy wouldn't get. Additionally, there were no checks on the buffer size to ensure that the hardware-required rounding was present, which could result in GPU hangs on large zcopy PBOs. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
|
57024e084a26ce4b9555979b512945aa557cc37b |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove extra FreeTextureImageBuffer() from glTexImage*. The core code does this before calling in to us. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_image.c
|
03e623a27b95ef228fb4fca71c6d7c7a21630033 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_EXT_packed_float. This doesn't cover support for this format as a renderbuffer yet. The spec allows implementations to not support it, though it is something we do want to support. Only one failure in piglit on gen6, which is texwrap with bordercolor (as usual). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
|
2fd8c4e3edf989c6f7dd1261a67b01f06979feab |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_EXT_texture_shared_exponent. Only one failure in piglit on gen6, which is texwrap with bordercolor (as usual). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
|
9e9a76eea17bc92c8ac74323c99e10b9480ee583 |
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove support for GL_APPLE_client_storage extension AFAIK, there are few users of this extension and I can see a couple reasons why this is probably broken in Mesa anyway. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_extensions.c
ain/attrib.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/pixelstore.c
ain/teximage.c
wrast/s_texture.c
|
980f6f1b37ca88529b3e000235156eab93254fac |
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast These fields were only used for swrast so move them into swrast_texture_image. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/teximage.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_span.c
wrast/s_texfilter.c
wrast/s_texture.c
|
eaf376ba354db11f7729452060570b48a029c9a0 |
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::_IsPowerOfTwo into swrast It's only used by swrast. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/teximage.c
wrast/s_context.h
wrast/s_texfilter.c
wrast/s_texture.c
wrast/s_triangle.c
|
de414f491526610bb260c73805c81ba413388e20 |
22-Sep-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
st/mesa: Finalize texture on render-to-texture. This makes sure that stObj->pt exists and is up to date. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39193 and piglit fbo-incomplete-texture-03. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 7.11 branch.
tate_tracker/st_cb_fbo.c
|
4beb8f9e9d0d45d64a9d60ef48ede95b4723c9a5 |
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: Convert size assertions to conditionals in st_texture_image_copy. Prevents potential assertion failures in piglit fbo-incomplete-texture-03 test. NOTE: This is a candidate for the 7.11 branch.
tate_tracker/st_texture.c
|
a140c3e7837725bfa610c9f842a95201b661c773 |
21-Sep-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't hang on to program refcounts after metaops are done. Fixes piglit ARB_shader_objects/clear-with-deleted. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39577 Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
d4444b8e5b914cde428e549c0db9418ddc1402f6 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Return a dummy value when visiting ir_texture. While the program won't successfully link in the end, this avoids possible assertion failure in the driver during linking if this->result isn't initialized with something already.
rivers/dri/i965/brw_vec4_visitor.cpp
|
d158f6e73b0b7306f7bee246d2349c490041e449 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: When only BFC is written, use BFC as the color. Fixes piglit vertex-program-two-side enabled back back2
rivers/dri/i965/gen6_sf_state.c
|
447c488d77ea9710e0ffc238953917189d3000c7 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Respect the VERTEX_PROGRAM_TWO_SIDE flag for shaders. Fixes piglit: vertex-program-two-side enabled front back front2 back2 vertex-program-two-side enabled front back vertex-program-two-side enabled front2 back2
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
b68e3422ed9a0f16c7015940ffd5ac0361f0ca42 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a context flag indicating whether two-sided lighting should happen. The 965 driver was ignoring the VERTEX_PROGRAM_TWO_SIDE flag and only looking at fixed-function state.
ain/mtypes.h
ain/state.c
|
0e6646db3248057b7750031d825535cd7a0e5aec |
21-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check glBegin()/glDrawArrays()/etc mode with _mesa_valid_prim_mode() We now raise an GL_INVALID_ENUM in glBegin() if mode is illegal, as was done in Yuanhan Liu's original patch. Take geometry shaders support into account too. Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
ain/api_validate.c
ain/api_validate.h
ain/dlist.c
bo/vbo_exec_api.c
|
4ef82cee6d297684bc178dc243e4d3b6c5704955 |
21-Sep-2011 |
Brian Paul <brianp@vmware.com> |
tnl: include swrast/s_chan.h to fix sse build
nl/t_vertex_sse.c
|
bdddf1cc26541d730bac309bd63dfdcaf4aea513 |
21-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: s/GLubyte/GLchan/ in a cast
wrast/s_texfetch_tmp.h
|
de740d7b0aa39419c625cb3640e272c85b58a8a2 |
20-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: use _mesa_set_enable() in more places Avoids an extra context lookup. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
9e414865a6716f688c7bce904d841f9ba16cd967 |
20-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: use _mesa_set_enable(), fix decompress_texture_image() Use _mesa_set_enable() to avoid a redudant context lookup. Need to disable the texture target in decompress_texture_image() so the unit isn't still enabled after glGetTexImage() returns. Arguably, the meta restore code should do this, but it doesn't. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
20b92c9d1ed8802cf0acb1c24884d0cef2bce10e |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: specify source mipmap level in decompress_with_blit() This, along with the previous patch, fixes glGetTexImage() of compressed textures for level > 0.
tate_tracker/st_cb_texture.c
|
1e939f53749781312b1b3b729e2d73493ae6b304 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: fix broken sRGB mipmap generation If we're generating a mipmap for an sRGB texture we need to bypass sRGB->linear conversion. Otherwise the destination mipmap level (drawn with a textured quad) will have the wrong colors. If we can't turn of sRGB->linear conversion (GL_EXT_texture_sRGB_decode) we need to use the software fallback for mipmap generation. Note: This is a candidate for the 7.11 branch.
rivers/common/meta.c
|
4731a598f00c8a229df7b36d9a2a7505b679de1d |
20-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix PACK_COLOR_5551(), PACK_COLOR_1555() macros The 1-bit alpha channel was incorrectly encoded. Previously, any non-zero alpha value for the ubyte alpha value would set A=1. Instead, use the most significant bit of the ubyte alpha to determine the A bit. This is consistent with the other channels and other OpenGL implementations. Note: This is a candidate for the 7.11 branch. Reviewed-by: Michel Dänzer <michel@daenzer.net>
ain/colormac.h
|
4d53fb525db56d0695eaa5b91bd8f0cefbc25866 |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move last bits of GLchan stuff into swrast This removes the last remnants of the GLchan datatype and associated macros out of core Mesa and into swrast.
rivers/dri/swrast/swrast_span.c
ain/colormac.h
ain/config.h
ain/mtypes.h
ath/m_translate.h
wrast/s_chan.h
wrast/s_span.h
wrast/swrast.h
nl/t_vertex.c
nl/t_vertex_generic.c
|
ef275f907c94be776bb5eed14ae97bfb6b537173 |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove CHAN_TYPE cruft from debug.c
ain/debug.c
|
59e858f462d22082c2b5e2085c8fa3cc95f23fdb |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused interp/stride chan macros
ain/macros.h
|
460863ace9cf24b0dc34dd95f6bf4d2871907919 |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro
ain/colormac.h
|
499f0685e8236eca410fce516de0e9bab7e25be8 |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
radeon: use _mesa_unclamped_float_rgba_to_ubyte()
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_tex.c
|
8530d72c4e6ca8b8c741554ac446dd2ba8150e2e |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
r200: use _mesa_unclamped_float_rgba_to_ubyte()
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_tex.c
|
d71c03836e7c42bb42879ed7aa6a5cdbb19cd589 |
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused <type>_TO_CHAN() macros
ain/colormac.h
|
e1d703bec58be011636f73470e2b8a41b1363dc7 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: convert _mesa_unpack_color_span_chan() to ubyte
ain/pack.c
ain/pack.h
ain/texstore.c
|
ae670b58d4e0234c5ee79ba0b074251380897c38 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace GLchan with GLubyte in texcompress_s3tc.c
ain/texcompress_s3tc.c
|
b4e6afbf7715df7473723f3e0c5d714cd5721802 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa/gallium: remove GLchan from latc, rgtc code
ain/texcompress_rgtc.c
ain/texcompress_rgtc_tmp.h
|
960694fd2dbf1b40af2c4125145e42b3914f4b9f |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove GLchan in texcompress_fxt1.c
ain/texcompress_fxt1.c
|
663f61a3e177a443c36f414a16a9d5f94e74135d |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/_mesa_make_temp_chan_image()/_mesa_make_temp_ubyte_image() Another step toward eliminating the GLchan type.
ain/texcompress_fxt1.c
ain/texcompress_rgtc.c
ain/texcompress_s3tc.c
ain/texstore.c
ain/texstore.h
|
ece8d6f25cac9c7ca0237cde3ebdb90e86c6118a |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_upscale_teximage2d() to texcompress_fxt1.c Was used by no other code.
ain/mipmap.c
ain/mipmap.h
ain/texcompress_fxt1.c
|
529b9360f326dd25bd12cf8e036b9ac1c63a8032 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/GLchan/GLubyte/ in mipmap generation code
ain/mipmap.c
|
011e946cb09993a9b298358188736394241bbb03 |
14-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't expose compressed paletted formats via GL_{NUM_,}COMPRESSED_TEXTURE_FORMATS Fixes a bug introduced by commit faf5d65. These formats should only be exposed in OpenGL ES 1.x. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Cc: Xun Fang <xunx.fang@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40860
ain/texcompress.c
|
61b2d01101ee6d42c11a2547909460a5c21588a0 |
08-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
Increase MAX_CLIP_PLANES to 8 This will allow drivers to increase ctx->Const.MaxClipPlanes to 8, which is required for GLSL-1.30 compliance. No driver behavior should be affected. However, many data structures use MAX_CLIP_PLANES as an array size, so these arrays will get slightly larger. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/config.h
|
2dfa33a5e9325bfe9adb3a15aba466e3f15eb2c5 |
08-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
Hardcode the default value of ctx->Const.MaxClipPlanes to 6. Previously this value was set to MAX_CLIP_PLANES, which is defined to be 6. But MAX_CLIP_PLANES needs to be increased to 8 to support GLSL-1.30-compliant drivers. This patch hard-codes the default value of ctx->Const.MaxClipPlanes to 6, so that when MAX_CLIP_PLANES is increased, it won't affect drivers that do not support 8 clip planes. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/context.c
|
8be653164d7c64d8e463c5e95ed6b65d6eba3dcf |
14-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Remove bogus assertion on MAX_CLIP_PLANES. This patch removes the assertion "MAX_CLIP_PLANES == 6" from the i965 driver. This assertion is unnecessary; nothing in the driver requires MAX_CLIP_PLANES to be 6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_curbe.c
|
27bdc76eb92b11bcd61b829bd1372866cb9ef304 |
08-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Update clipping code to use ctx->Const.MaxClipPlanes. To support GLSL 1.30, we will need to increase MAX_CLIP_PLANES to 8. To avoid breaking drivers that do not yet support 8 clip planes, this patch modifies the Mesa core code that pertains to clipping to use ctx->Const.MaxClipPlanes rather than MAX_CLIP_PLANES, since ctx->Const.MaxClipPlanes will remain 6 for drivers that only support 6 clip planes. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/attrib.c
ain/matrix.c
|
6da8c21124152c68fb968b196895f2c881a24280 |
19-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_binop_all_equal and ir_binop_any_nequal for native integers
tate_tracker/st_glsl_to_tgsi.cpp
|
c662764f4f9d9d0303fb2685dfdc93824fa15dca |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for compute-to-MRF. Removes 1.8% of the instructions from 97% of the vertex shaders in shader-db.
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
0502db1eabad23a90d658cbf5cd65305b9e0c077 |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Do VUE writes using the MRF file instead of hardware register. We'll only do compute-to-MRF on accesses to this file.
rivers/dri/i965/brw_vec4_visitor.cpp
|
65d46c96c2540f8181293c318b412446a953faef |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Handle destinations in the MRF file. We've been referencing MRFs through the HW_REG file so far, but that makes it harder to handle compute-to-MRF and similar optimizations.
rivers/dri/i965/brw_vec4_emit.cpp
|
160848d8ef96cf3a760c02cc576df7dbffc1f669 |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add a function for how many MRFs get written as part of a SEND. This will be used for compute-to-mrf, which needs to know when MRFs get overwritten.
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
|
63bc443f8a026a2035ffd3122c8462c6fa36d20b |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Remove dead fields of src_reg. These were copy and pasted from the FS, and are never used. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
|
f0c04e6c22babf2aee2ad1ee85dbd6f996be3712 |
03-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for simple algebraic optimizations. We generate silly code for array access, and it's easier to generally support the cleanup than to specifically avoid the bad code in each place we might generate it. Removes 4.6% of instructions from 41.6% of shaders in shader-db, particularly savage2/hon and unigine. v2: Fixes by Ken: Make is_zero/one member functions, and fix a progress flag. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
7288d010e0afeade5357502fdc018fc4928330f6 |
19-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix polygon stipple offset state flagging. _NEW_WINDOW_POS wasn't a real Mesa state flag, but we were missing _NEW_BUFFERS to update the stipple offset when FBO binding or window size changed, and _NEW_POLYGON to update when stippling gets enabled. Fixes oglconform's tristrip test. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
|
4c9b09d3c2cc50b1dd46b9eb8a89d6086016484b |
19-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add missing _NEW_POLYGON flag to polygon stipple upload. Because we skip the pattern upload when stippling is disabled, we need to check again when it might have been turned on. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
|
c310c35a754be835c9ceafe578c4974a667b9a77 |
20-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix compiler warnings.
rivers/dri/i965/brw_fs_visitor.cpp
|
a11b4c1e7aa0958e6128bbfae2173e289b2cce8f |
20-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glMaterial* Trigger GL_INVALID_ENUM error if the face paramter is not a valid value. Trigger GL_INVALID_VALUE error if the GL_SHININESS value is out side [0, ctx->Constant.MaxShiniess]. v2: fix the max shininess value. v3: suggested by Brian, move the face check into glMaterialfv function to reduce code duplicate. Also, refactor the error message. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
bo/vbo_attrib_tmp.h
|
47b556fbcaea4660b21481e40d89167d883d47f5 |
07-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement texelFetch() on Gen4. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
0edf5d63d60100cc2b7467da78ce811c4824b760 |
26-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement texelFetch() on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
30be2cc6c7c3378ee17885b5bf41d7ae53bf6fe0 |
26-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement texelFetch() on Ironlake and Sandybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rogram/ir_to_mesa.cpp
|
051c9015594f1530ca9c325133ed5d6b38bca237 |
06-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glapi: Update generated file modified by previous commit
ain/remap_helper.h
|
76e5020e901eb516598e2154ff62cde138ee6eb9 |
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Delete stale comment about MESAX extensions Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/extensions.c
|
2e1cc883b380c3e038b7f2890bf80ed1736a9f18 |
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Replace _mesa_rgba_logicop_enabled(ctx) with ctx->Color.ColorLogicOpEnabled Since GL_EXT_blend_logic_op is removed, _mesa_rgba_logicop_enabled(ctx) just returns ctx->Color.ColorLogicOpEnabled. That seems kind of silly. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r700_state.c
ain/state.h
|
2836aab2031d5b6926923fbc70f867ec638301bd |
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabled Since GL_EXT_blend_logic_op is removed, _LogicOpEnabled and ColorLogicOpEnabled always have the same value. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/radeon/radeon_pixel_read.c
ain/blend.c
ain/mtypes.h
ain/state.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_span.c
|
113e8167de4500ea8b12176a938cbc4753f3a923 |
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for GL_EXT_blend_logic_op Support is removed for four reasons: 1. The implementation was broken with respect to separate blend equations. The GL_EXT_blend_equation_separate spec says: "If EXT_blend_logic_op and EXT_blend_equation_separate are both supported, the logic op blend equation should be supported separately for RGB and alpha as with the other blend equation modes." But Mesa's implementation of GL_LOGIC_OP specifically forbids this. 2. No hardware supported by Mesa can support separate blend equations involving GL_LOGIC_OP. 3. No applications could be found that use this extension. 4. No other Linux OpenGL drivers support this extension. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com> Cc: Brian Paul <brianp@vmware.com>
ain/blend.c
ain/extensions.c
ain/mtypes.h
ain/state.h
|
3538bffa7287ebef5f2dc4d2e4491aaf6e68b09e |
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
st/mesa: Remove support for GL_EXT_blend_logic_op It was broken, and it isn't really useful anyway. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com> Cc: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_blend.c
tate_tracker/st_extensions.c
|
636dd621311d8f57645b4f86339d2c59a46bebe2 |
08-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused _mesa_enable_imaging_extensions function The last user of this function was driInitExtensions, and that function was removed in a previous commit. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/extensions.c
ain/extensions.h
|
fd17de21231fb41804299d16f837c07798984411 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Throw an error when starting conditional render on an active query. From the NV_conditional_render spec: BeginQuery sets the active query object name for the query type given by <target> to <id>. If BeginQuery is called with an <id> of zero, if the active query object name for <target> is non-zero, if <id> is the active query object name for any query type, or if <id> is the active query object for condtional rendering (Section 2.X), the error INVALID OPERATION is generated. Fixes piglit nv_conditional_render-begin-while-active. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/condrender.c
|
7371224c069357319b3f2ee9e9b017fc284897cb |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Throw an error instead of asserting for condrender with query == 0. From the NV_conditional_render spec: BeginQuery sets the active query object name for the query type given by <target> to <id>. If BeginQuery is called with an <id> of zero, if the active query object name for <target> is non-zero, if <id> is the active query object name for any query type, or if <id> is the active query object for condtional rendering (Section 2.X), the error INVALID OPERATION is generated. Fixes piglit nv_conditional_render-begin-zero. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/condrender.c
|
8899f6e93c976a0abfd58d2dc7896f9984699480 |
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for Begin/EndConditionalRender in display lists. Fixes piglit nv_conditional_render-dlist. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dlist.c
|
da90c8fc271d000d6a3415fcc9da066293565b35 |
16-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix an autoconf build-system bug related to glsl_to_tgsi st_glsl_to_tgsi.cpp was completely ignored by makedepend because it was not included in ALL_SOURCES, which caused that the file was not recompiled when certain header files were changed (like glsl/ir.h). The first part of this commit is just a consolidation. The second part is the fix.
ources.mak
|
2ce8c3553b5f7b97b110ff7d968411027c156552 |
19-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix format/type check in unpack_image() for bitmaps Passing type == GL_BITMAP returns 0 while error values return -1. This fixes glPolygonStipple being compiled into display lists.
ain/dlist.c
|
20da49b2677fcf6a721b8a46e037a01e842fee61 |
15-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 new VS: Fix copy propagation of double negatives. When copy propagating a value into an instruction that negates its argument, we need to invert the sense of the value's "negate" flag, so that -(+x) becomes -x and -(-x) becomes +x. Previously, we were always setting the value's "negate" flag to true in this circumstance, so that both -(+x) and -(-x) turned into -x. Fixes Piglit test vs-double-negative.shader_test. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
24a113093b9bf4620b35fe77f4a7cec47ad457c8 |
13-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Advertise GL_OES_compressed_paletted_texture in OpenGL ES1.x Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/extensions.c
|
13757f7080426e99511456ea6c44af63b8e7e861 |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove redundant compressed paletted texture error checks Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/texpal.c
|
3ebbfc8372d410801c799b3eb7821075dae73b17 |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor compressed texture error checks to work with paletted textures This code was really broken before. A lot of the error checks were done much later (too late), and some of the error checks would fail. The underlying problem is that Mesa doesn't ever keep compressed paletted textures in their original format. The textures are immediately converted to some RGB or RGBA format. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39991 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/teximage.c
|
b433e7ba073c66d974dfd8a180ab3970acf18105 |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add _mesa_cpal_compressed_format_type Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/texpal.c
ain/texpal.h
|
a2cab751beed5d130c4085d4215f8b7ad25d9cb1 |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor expected texture size check in cpal_get_info Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/texpal.c
ain/texpal.h
|
fc0fa16be3792bdabad0993fc4026bf621d6092f |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_base_tex_format Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/teximage.c
|
a454c835fa4f1d243f9e2072007dd52cf0d71dac |
12-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_is_compressed_format Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
ain/image.c
|
099af9e9dfb4afa0283b0a86dc53b354a5a16ec1 |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glMapBufferRange Accroding the man page, GL_INVALID_VALUE would generated if access has any bits set other than those valid defined bits. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
|
386ec5e80e34e1164d749eee2078f2dfc8ff2b57 |
19-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: generate GL_INVALID_OPERATION in glIsEnabledIndex() between Begin/End
ain/enable.c
|
57b8f13aa4dea6c8056f60574b0d4abccc2dbb49 |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glSelectBuffer According the man page, trigger a GL_INVALID_VALUE if size < 0. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/feedback.c
|
7a9a8bbabd27b8475b541cbdb2b43f75e23dbf4c |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glPixelZoom According the man page, GL_INVALID_OPERATION should generated if glPixelZoom is executed between the execution of glBegin and the corresponding execution of glEnd. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/pixel.c
|
6a9880224368a016dfb1a9f5b5dfa9284a7dc6cf |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glIsEnabled According the man page, GL_INVALID_OPERATION should be generated if glIsEnabled is executed betwwen the execution of glBegin and the correspoding execution of glEnd. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/enable.c
|
b020b111a82266743d2cc501195defe687657e96 |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glTexEnv Fix error handling while calling glTexEnv with invalid texture environment parameters. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texenv.c
|
f1ddde5c16ef61a6c08af012af3e5f34aebaf7a0 |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for some glGet* functions According to the man page, it should trigger a GL_INVALID_OPERATION while calling some glGet* functions inside glBegin and glEnd. This patch dose handle the following functions: glGetBooleanv glGetFloatv glGetIntegerv glGetInteger64v glGetDoublev Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/get.c
|
21b2895bd0df1b7b6f6defeff1dc2084152f51e5 |
19-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix error handling for glEvalMesh1/2D According man page, trigger error when calling glEvalMesh1/2D inside glBegin/glEnd. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/api_noop.c
|
63b59027563be933f86635489e70520b566360eb |
13-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: fix more store_texel() bugs Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40412 on swrast.
wrast/s_texfetch_tmp.h
|
6dd284f7c8fac22f64c13fdf9909094f5ec59086 |
16-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: move clear paths from rgba to a pointer to a color union (v2) This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_clear.c
|
78026b8acef9d6eea4f37d9c5435447944d1befd |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use ctx->Driver.AllocTextureImageBuffer() to alloc texture memory
ain/mipmap.c
ain/texstore.c
|
e6cf338d015e994012535fce5e06c7dc59482b02 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in swrast texture image alloc/free functions Use the swrast allocation/free functions instead of core Mesa.
rivers/common/driverfuncs.c
|
efc93219a9dfbd8e0bc42a1d0db372d2e7a7618c |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: add Alloc/FreeTextureImageBuffer() driver functions Not called yet. These will replace the core Mesa functions for allocating and freeing malloc'd texture memory.
wrast/s_texture.c
wrast/swrast.h
|
d1da1c0ca816672c7a9243b754bb4b803ab0394a |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add AllocTextureImageBuffer() driver hook
ain/dd.h
|
a1661dc8957a35899d653e9fffd97f166c56be56 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::FetchTexel fields to swrast This also involves passing swrast_texture_image instead of gl_texture_image into all the fetch functions.
ain/mtypes.h
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_fxt1.h
ain/texcompress_rgtc.c
ain/texcompress_rgtc.h
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
ain/teximage.c
wrast/s_context.h
wrast/s_texfetch.c
wrast/s_texfetch.h
wrast/s_texfetch_tmp.h
wrast/s_texfilter.c
wrast/s_texrender.c
|
20177a620ef123ae7cdbc7252fd41a48f5b76acc |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: plug in _swrast_new/delete_texture_image() functions
rivers/common/driverfuncs.c
|
abdfa0b4f1e5ae0bd3d71ae7099b6bb7c2bfae71 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
radeon: make radeon_texture_image a subclass of swrast_texture_image
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_tex_getimage.c
rivers/dri/radeon/radeon_texture.c
|
fa2c886863492cc3eeee6d2059ae24edc1cb2bff |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
intel: make intel_texture_image a subclass of swrast_texture_image We need to subclass swrast_texture_image because if we use swrast for fallback rendering, we'll need to have swrast_texture_image objects.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
1da896803cdd09293c7bb0048a2116e237a51766 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: introduce new swrast_texture_image struct No subclass fields yet. Subsequent patches will add the fields related to software rendering that are currently in gl_texture_image.
wrast/s_context.h
wrast/s_texture.c
wrast/swrast.h
|
146f536b3332b7a2022bb4ba5e2d1d2ec4bedd98 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new DeleteTextureImage() driver hook Matches the NewTextureImage() hook. With new subclasses of gl_texture_image coming we need a new hook to properly delete objects of those subclasses.
rivers/common/driverfuncs.c
rivers/dri/intel/intel_tex.c
rivers/dri/radeon/radeon_texture.c
ain/dd.h
ain/teximage.c
ain/texobj.c
tate_tracker/st_cb_texture.c
|
baeefef2c0445bfd717a3086fdd9b5bd5d9cb675 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move software texel fetch code into swrast It's only used by swrast now so move it out of core Mesa.
Conscript
rivers/dri/nouveau/nouveau_texture.c
ain/texfetch.c
ain/texfetch.h
ain/texfetch_tmp.h
ain/texparam.c
ources.mak
wrast/s_context.c
wrast/s_texfetch.c
wrast/s_texfetch.h
wrast/s_texfetch_tmp.h
wrast/s_texrender.c
|
ce82914f5ad4bb9148370826099925590e9798fd |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_update_fetch_functions() calls into swrast Do it during swrast state validation since the FetchTexel() functions are only called from swrast now and not core Mesa. Remove assertions in mipmap.c since they're no longer appropriate.
ain/mipmap.c
ain/teximage.c
ain/texparam.c
tate_tracker/st_cb_texture.c
wrast/s_context.c
|
f0f28548c29690fc9e44a2f7b0d1965d9fc564fa |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement unpack_SIGNED_GR1616 in format_unpack.c
ain/format_unpack.c
|
6e423253e74b462950445a7c10a913f5ab2a11c1 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: fix/add checks for GL_EXT_framebuffer_sRGB This fixes spurious GL errors when the GL_EXT_framebuffer_sRGB extension is not supported. Note: This is a candidate for the 7.11 branch
rivers/common/meta.c
|
3b29631c335bfc4a09c302cfdb7a993097c75096 |
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/short/ushort/ in unpack_SIGNED_RGBA_16()
ain/format_unpack.c
|
72e0a9226ddf9282a0351e71c0272882473c836d |
15-Sep-2011 |
Eugeni Dodonov <eugeni.dodonov@intel.com> |
Change strerror(ret) to strerror(-ret).
rivers/dri/intel/intel_batchbuffer.c
|
6fd6efa7bf90b0c85f69f2e989a273f82f381e3b |
15-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix error handling for dlist image unpacking When compiling glDrawPixels, glTexImage(), etc. and we're copying the user's image we need to be careful about GL error checking. Previously, we were incorrectly generating GL_OUT_OF_MEMORY in unpack_image() if width <= 0 or height <= 0 or for invalid format/type values. We now check those arguments in unpack_image() and return NULL if there's a bad value. The command will get compiled with the arguments as-is and image=NULL. Later, when the command is executed the correct errors will be generated. This issue was reported by Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
ain/dlist.c
|
b0524e49fc555ec8e5505e88c03e1993cdf3666b |
15-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: rewrap a long line
tate_tracker/st_cb_texture.c
|
4e58e56f6fdc0dc240d9ab224f962effe0145a9e |
15-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add missing ')' in error message
ain/drawpix.c
|
41f3773c1dc8e7a213ff7e730ada2cf48a60b209 |
14-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
uniforms: accept all int/unsigned int sampler types in uniform checks. I'm not 100% sure about this, it may need a version check or it might be completely wrong. added multisample ones as well. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/uniforms.c
|
48510d685655d0003c10fc3a3c2dcb485c3a86d1 |
14-Sep-2011 |
Andrew Deason <adeason@dson.org> |
DRI: Log something if we don't support legacy DRI If we are called via the legacy DRI interface, and we don't support legacy DRI (InitScreen is NULL), print a debug message, so it is easy to see why the driver fails to initialize. See https://bugs.freedesktop.org/show_bug.cgi?id=40437
rivers/dri/common/dri_util.c
|
ec4b823f6748fea4a097ea982d0ab5886fca4c9e |
14-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix/update comment on st_translate_color()
tate_tracker/st_format.c
|
4fc50d457065b974a7cfc3e63ab2a6da77490559 |
14-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-up on _mesa_unclamped_float_rgba_to_ubyte() Add a comment and reformat to be under 80 columns.
ain/colormac.h
|
4d21ecde7702852f30a4f3b90af0e9811b230c63 |
14-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: white space, comment fixes in mtypes.h "vale" was a typo. Fix that and do some other minor clean-ups.
ain/mtypes.h
|
81a86aea4f0990a1b8795f9e00e7a6c4ba368281 |
14-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/colormac: introduce inline helper for 4 unclamped float to ubyte. This introduces an UNCLAMPED_FLOAT_TO_UBYTE x 4 inline function, as suggested by Brian. It uses it in a few places I noticed from previous color changes, and also some core mesa places. I haven't updated other places yet. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/intel/intel_blit.c
rivers/dri/nouveau/nouveau_util.h
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
rivers/x11/xm_dd.c
ain/colormac.h
ain/image.c
wrast/s_blend.c
wrast/s_clear.c
|
093dc9e548537e6c77e33064a584f849ad90dfa5 |
12-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: introduce a clear color union to be used for int/unsigned buffers This introduces a new gl_color_union union and moves the current ClearColorUnclamped to use it, it removes current ClearColor completely and renames CCU to CC, then all drivers are modified to expected unclamped floats instead. also fixes st to use translated color in one place it wasn't. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/common/meta.c
rivers/dri/intel/intel_blit.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nv20_context.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_dd.c
ain/attrib.c
ain/blend.c
ain/clear.c
ain/dd.h
ain/get.c
ain/mtypes.h
tate_tracker/st_cb_clear.c
tate_tracker/st_format.h
wrast/s_clear.c
|
b06613c6cc029c3ff200430b0706b5229c4508bd |
13-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect debug output format and type are not GL enums here.
tate_tracker/st_texture.c
|
1ab4e221fddcb0c825e6f51a46a3c908dd58e52a |
12-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/pack: don't apply transfer operations to integer format buffers. (v3) The EXT_texture_integer issues says: Should pixel transfer operations be defined for the integer pixel path? RESOLVED: No. Fragment shaders can achieve similar results with more flexibility. There is no need to aggrandize this legacy mechanism. v2: fix comments, fix unpack paths, use same comment/code v3: fix last comment Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
f37a5081b229b020553c45e32e9888af77cfd3d6 |
12-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: clamp Max program param limits Setting just MAX_PROGRAM_ENV_PARAMS to 4096 breaks everything, so let's do this instead. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=40767 Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
10dbd029279dda1689410d8ef2bc5aba64dd5958 |
02-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: use UARL instead of I2F and ARL Since TGSI now has a UARL opcode that takes an integer as the source, it is no longer necessary to hack around the lack of an integer ARL opcode using I2F. UARL is only emitted when native integers are enabled; ARL is still used otherwise. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
9222c497f9e73ae19b1b4dab1d9c9b4aa797b11d |
10-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix more valgrind warnings ==27540== Invalid read of size 4 ==27540== at 0x96277B7: _mesa_make_extension_string (string3.h:144) ==27540== by 0x9604E78: _mesa_make_current (context.c:1514) ==27540== by 0x9602A8B: st_api_make_current (st_manager.c:789) ==27540== by 0x45406E7: ??? ==27540== Address 0xad35b30 is 3,688 bytes inside a block of size 3,691 alloc'd ==27540== at 0x4025315: calloc (vg_replace_malloc.c:467) ==27540== by 0x9627641: _mesa_make_extension_string (extensions.c:910) ==27540== by 0x9604E78: _mesa_make_current (context.c:1514) ==27540== by 0x9602A8B: st_api_make_current (st_manager.c:789) ==27540== by 0x45406E7: ??? And: ==28351== Invalid write of size 2 ==28351== at 0x4C087CC: _mesa_make_extension_string (string3.h:144) ==28351== by 0x4BE6198: _mesa_make_current (context.c:1514) ==28351== by 0x4BD4CAB: st_api_make_current (st_manager.c:789) ==28351== Address 0x48dd1f3 is 19 bytes inside a block of size 20 alloc'd ==28351== at 0x4025315: calloc (vg_replace_malloc.c:467) ==28351== by 0x4C08711: _mesa_make_extension_string (extensions.c:778) ==28351== by 0x4BE6198: _mesa_make_current (context.c:1514) ==28351== by 0x4BD4CAB: st_api_make_current (st_manager.c:789) ==28351== ==28351== Invalid read of size 4 ==28351== at 0x4C087EC: _mesa_make_extension_string (extensions.c:806) ==28351== by 0x4BE6198: _mesa_make_current (context.c:1514) ==28351== by 0x4BD4CAB: st_api_make_current (st_manager.c:789) ==28351== Address 0x48dd1f4 is 0 bytes after a block of size 20 alloc'd ==28351== at 0x4025315: calloc (vg_replace_malloc.c:467) ==28351== by 0x4C08711: _mesa_make_extension_string (extensions.c:778) ==28351== by 0x4BE6198: _mesa_make_current (context.c:1514) ==28351== by 0x4BD4CAB: st_api_make_current (st_manager.c:789) The first part adds 2, because ' ' and '\0' may be written at the end of the buffer.
ain/extensions.c
|
2a5cbc5306686a5ad210317843bd0dc7950b6ce9 |
10-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix a valgrind warning ==5715== Invalid read of size 4 ==5715== at 0x4AA590B: _mesa_make_extension_string (extensions.c:908) ==5715== by 0x4A83198: _mesa_make_current (context.c:1514) ==5715== by 0x4A71CAB: st_api_make_current (st_manager.c:789) ==5715== Address 0x4795730 is 0 bytes inside a block of size 1 alloc'd ==5715== at 0x4025315: calloc (vg_replace_malloc.c:467) ==5715== by 0x4AA5B4C: _mesa_make_extension_string (extensions.c:772) ==5715== by 0x4A83198: _mesa_make_current (context.c:1514) ==5715== by 0x4A71CAB: st_api_make_current (st_manager.c:789)
ain/extensions.c
|
9edd0b5ddf406ef089edebd12999ff2a26774ca3 |
05-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl_to_tgsi: fix shadow2DArray comparison v2: adjust the assertion, add a comment
tate_tracker/st_glsl_to_tgsi.cpp
|
da7233840f3eca0ba892ca318081c88e2457cc63 |
05-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: fix shadow2DArray comparison The depth should be in W. v2: adjust the assertion, add a comment
rogram/ir_to_mesa.cpp
|
19ff7666f3ab58b91cf39bc5ec23d1d0b3d230ba |
05-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: convert shadow array samplers to TGSI
tate_tracker/st_mesa_to_tgsi.c
|
379429137238e79296b8222c0e13d7d961910633 |
05-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
tate_tracker/st_extensions.c
|
5a175127f38aa02d2b8169b1b6d08a2d4be3d36f |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove all extension enabling utility functions Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/intel/intel_extensions_es.c
rivers/dri/swrast/swrast.c
|
67d906349261d4491fb9b5267404456369c72c0f |
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast-dri: Remove call to driInitExtensions The only purpose this call served in the DRI swrast driver was to initialize the remap table. Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver.
rivers/dri/swrast/swrast.c
|
6fb32b4a5fd731fa789d47ed6dcf29991df1e09b |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
radeon: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color, EXT_blend_logic_op, and EXT_blend_minmax are no longer advertised. These all resulted in software fallbacks, so their loss will not be mourned. EXT_blend_subtract is, however, explicitly added to the list. GL_FUNC_SUBTRACT is fully accelerated, but GL_FUNC_REVERSE_SUBTRACT (still) results in a software fallback. Cc: Alex Deucher <alexdeucher@gmail.com> Cc: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_context.c
|
4b43eea1b367e1e639e225e6c772e44037649dfa |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
r600: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color is explicitly added to the list. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Cc: Alex Deucher <alexdeucher@gmail.com> Cc: Dave Airlie <airlied@redhat.com>
rivers/dri/r600/r600_context.c
|
2b7848b79f64ea8c88d2feb241e1059f3e68c385 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
r300: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color is explicitly added to the list. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Based on feedback from Roland Scheidegger. Cc: Dave Airlie <airlied@redhat.com> Cc: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
rivers/dri/r300/r300_context.c
|
bd67f8617d217a1d55f4d522cbeb565d5aa45d4f |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
r200: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color is explicitly added with a dependency on the drmSupportsBlendColor flag. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Based on feedback from Roland Scheidegger. Cc: Alex Deucher <alexdeucher@gmail.com> Cc: Dave Airlie <airlied@redhat.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
rivers/dri/r200/r200_context.c
|
8a99ec8e05ef541c586c2f8b427220d036589870 |
23-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
nouveau: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. Since the call to _mesa_enable_imaging_extensions (via driInitExtensions) is removed, EXT_blend_color, EXT_blend_minmax, and EXT_blend_subtract are explicitly added to the list. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Cc: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Cc: Viktor Novotný <noviktor@seznam.cz>
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv20_context.c
|
0a5478c1d9f9a892371d9ff004976e783a086694 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Move S3TC extension enable bits to intel_extensions.c Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
|
71ceccad7e36f23e33d340fa0da157e2e0d2b6ac |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Enable extensions by just setting the flags Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. EXT_blend_logic_op is removed from the list of extensions because blend factors and separate blend equations are not handled correctly. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_extensions.c
|
e12b4752ef3cbc181d84c1eba672760f120ad346 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
nvprogram: Silence "warning: unused parameter ‘ctx’"
ain/nvprogram.c
ain/nvprogram.h
rogram/nvvertparse.c
|
8b3096cfa4af6bc86a852bf1c773acb097a2789f |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Silence many "warning: unused parameter ‘ctx’" Not all drivers use ctx in LOCAL_VARS, so '(void) ctx;' is added to all the function templates to make GCC happy.
wrast/s_spantemp.h
|
076d609aa3336ce850fd2729faf31cc57a5fb090 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
tnl_dd: Silence "tnl_dd/t_dd_tritmp.h:292:3: warning: suggest braces around empty body in an ‘if’ statement"
nl_dd/t_dd_tritmp.h
|
0075510400e941c27636bd1b201777363283d0ae |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
spantmp2: Silence many "warning: unused parameter ‘ctx’" Not all drivers use ctx in LOCAL_VARS, so '(void) ctx;' is added to all the function templates to make GCC happy.
rivers/dri/common/spantmp2.h
|
aaa305215cbbf150c6bd0b2c92122f52720fe25a |
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’"
ain/teximage.h
|
2d4b8e296f7f60e704bfcdec79c86cc1c013d7b9 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast-dri: Silence several "warning: unused parameter"
rivers/dri/swrast/swrast.c
|
559ed1a41d9aa0da5a61f606da2439905766f44a |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Silence several "warning: unused parameter"
rivers/dri/common/depthtmp.h
|
17d898d5b96809227d940768dc54cfe86070b8d0 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri_util: Silence several "warning: unused parameter" The parameters can't be removed because they are part of the DRI ABI.
rivers/dri/common/dri_util.c
|
1a8111aea43b714609a20c1cb841ca58ae10dd83 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "intel/intel_fbo.h:105:4: warning: comparison of unsigned expression < 0 is always false" The test was of an enum, attIndex, which should be unsigned. The explicit check for < 0 was replaced with a cast to unsigned in an assertion that attIndex is less than the size of the array it will be used to index. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_fbo.h
|
ed3040f3baa468a0e16ea1ae2e5202c18d838c8f |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence several "warning: unused parameter" Trivially silence the compiler by adding '(void) foo;' for each unused parameter. These parameters could not be removed. They are part of interface used elsewhere in Mesa, and some of the other customers actually use these parameters.
rivers/dri/intel/intel_tex.c
|
4d5c820b4f1b5c8f182be98ae2f3cdc993025388 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence several "warning: unused parameter" The internalFormat, format, and type parameters were not used by either try_pbo_upload or try_pbo_zcopy, so remove them. The width parameter was also not used by try_pbo_zcopy (because it doesn't actually copy anything), so remove it too. Eric Anholt notes: The current structure of this code is so hateful I can't bring myself to say anything about whether changing the current code is good or bad. I have a dream that one call would try to make a surface (miptree/region) out of the PBO, then we'd see about whether it matches up nicely and zero-copy/blit using that. That would be reusable for texsubimage, which is currently awful in this respect. At some point we should revisit this code with pitchforks and torches.
rivers/dri/intel/intel_tex_image.c
|
6f23d9b637602d9997896c6ca5cba0dfe36a092e |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘depth0’" The depth0 parameter was not used in intel_miptree_create_for_region, so remove it. All of the places that call this function, pass 1 for that parameter, and the place where it looks like it should have been used (the call to intel_miptree_create_internal) also had 1 hard coded. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
|
bd817215c893cda4f23cb0ad207478ad3935e65c |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘target’" The GLenum target parameter was not used in intel_copy_texsubimage, so remove it. Also remove the GLenum internalFormat parameter. Each caller just copied this out of the intel_texture_image that is already passed to intel_copy_texsubimage. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
|
36a91e45f755af164232ef908419bc4cb64ba45b |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence several "warning: unused parameter" The intel_context and tiling parameters were not used by any if the i9[14]5_miptree_layout or the functions they call, and the tiling parameter was not used by brw_miptree_layout. Remove the unnecessary parameters.
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
17fa6772d7e223f940dd8ec4e4f6cf8cab9a03c7 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘fb’" The gl_framebuffer was not used in intel_draw_buffer, so remove it. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
|
5b6264b42ec7e76565695b452801b775f820955e |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘intel’" The intel_context was not used in any of these functions, so remove it.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_tex_validate.c
|
fccbcb5ceb8ca7a118701cb46b16662ac858a437 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence several "warning: unused parameter" Also clean-up some of the naming, etc. in intel_buffer_object_purgeable. 'intel' is usually used as the name of an intel_context pointer, and intel_obj is usually used as the name of an intel_*_obj pointer. These changes were suggested by Eric Anholt. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
|
2a6a1c4bc291b76674f62bd989d1487f10268ef0 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence many "intel_batchbuffer.h:97:39: warning: comparison between signed and unsigned integer expressions" v2: Remove the assertion in intel_batchbuffer_space: assert((intel->batch.state_batch_offset - intel->batch.reserved_space) >= intel->batch.used*4); After reviewing all the places where this is called, I'm (fairly) comfortable that this assertion was redundant. Having the assertion adds ~20KiB to a driver build: text data bss dec hex filename 903173 26392 1552 931117 e352d i965_dri.so 924093 26392 1552 952037 e86e5 i965_dri.so Based on feedback from Eric Anholt. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_batchbuffer.h
|
681d432f8186cd97e04cf293add72fd73c50523d |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
nouveau: remove target parameter from nouveau_bufferobj_map_range() This was missed back when the target parameter was removed from all the buffer-related driver hooks.
rivers/dri/nouveau/nouveau_bufferobj.c
|
b94a926f396d366b6bb5d24b32dd93ffb7609205 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: init program MaxLocalParams, MaxEnvParams limits Use the same limit for all parameter classes.
tate_tracker/st_extensions.c
|
29361e14df8e5e92df747d52303da2c454e2cacc |
02-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Allow copy propagation on GRFs. Further reduces instruction count by 4.0% in 40.7% of the vertex shaders.
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
6d0c018776977219e355c534eaafec53a30d993b |
02-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Clear tracked copy propagation values whose source gets overwritten. This only occurs for GRFs, and hasn't mattered until now because we only copy propagated non-GRFs.
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
cc9eb936c220267b6130b705fc696d05906a31df |
02-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for copy propagation of the UNIFORM and ATTR files. Removes 2.0% of the instructions from 35.7% of vertex shaders in shader-db.
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_copy_propagation.cpp
|
42ce13195b94d0d51ca8e7fa5eed07fde8f37988 |
30-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add constant propagation to a few opcodes. This differs from the FS in that we track constants in each destination channel, and we we have to look at all the swizzled source channels. Also, the instruction stream walk is done in an O(n) manner instead of O(n^2). Across shader-db, this reduces 8.0% of the instructions from 60.0% of the vertex shaders, leaving us now behind the old backend by 11.1% overall.
rivers/dri/i965/Makefile.sources
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_copy_propagation.cpp
rivers/dri/i965/brw_vec4_emit.cpp
|
87b51fc4a807616eaab0c4b38e41c328c08875e3 |
01-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Keep track of indices into a per-register array for virtual GRFs. Tracking virtual GRFs has tension between using a packed array per virtual GRF (which is good for register allocation), and sparse arrays where there's an element per actual register (so the first and second column of a mat2 can be distinguished inside of an optimization pass). The FS mostly avoided the need for this second sparse array by doing virtual GRF splitting, but that meant that instances where virtual GRF splitting didn't work, instructions using those registers got much less optimized.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
d7c6c8428c9908047c88f2672cd1edf6ba60f785 |
07-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Switch to the new VS backend by default. Now instead of env INTEL_NEW_VS=1 to get it, you need INTEL_OLD_VS=1 to not get it. While it's not quite to the same codegen efficiency as the old backend, it is not regressing piglit on G965 and G45, and actually fixing bugs on gen6, and the remaining codegen quality regressions all appear tractable. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
|
df35d691807656d3627b6fa6f51a08674bdc043e |
07-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for overflowing the number of available push constants. Fixes glsl-vs-uniform-array-4. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33742 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
f3ed973f53d2a621d915de2cdc8e09c0755db016 |
07-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Pack uniform registers before optimization We don't expect uniform accesses to generally go away from being dead code at this point, and we will want to have uniforms packed before spilling them out to pull constants when we are forced to do that. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
14081695137c095f0a8430779ecb09165bec6455 |
07-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: When failing due to lack of spilling, don't continue on. Fixes assertion failure from double-free in oglc glsl-arrayobject constructor.declaration.structure Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
27c03cb86aa9149d001eefb3cf1e67a97f5bc886 |
07-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix variable indexed array access with more than one array. The offset to the arrays after the first was mis-scaled, so we'd go access off the end of the surface and read 0s. Fixes glsl-vs-uniform-array-3. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
6af968b6736c87c05ea579df50e23b6f23b900d4 |
06-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add annotation to more of the URB write. While we had nice debug output for most of the instruction stream, it was terminated by a series of anonymous MOVs and a send. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
9fe197c62611815ebe74248033271ad9fd07ae06 |
21-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
intel: add support for __DRI_IMAGE_FORMAT_ABGR8888 It maps to MESA_FORMAT_RGBA8888_REV. Surfaces of the format can only be sampled from but not render to. Only i915 is tested. Reviewed-by: Eric Anholt <eric@anholt.net> [olv: add a check in intel_image_target_renderbuffer_storage]
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
|
ce64b6d612dc167c4b8c00594d87517d6ed0e5fa |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded #include of texfetch.h
ain/texgetimage.c
|
c6ca3ca5520289572859a4a874f69366f76ad421 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_unpack_float_z_row in get_tex_depth() Removes another use of the gl_texture_image::FetchTexelf() function.
ain/texgetimage.c
|
0386d9ac7782f51996ce8417083d32493b377003 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use ctx->Driver.GetTexImage() to decompress base texture image This is a simple way to do the job and it removes one more use of the soon-to-be-removed gl_texture_image::FetchTexelc() function.
ain/mipmap.c
|
c1b3faefc06ef6dfc9b0eb226f0a0af4dd6c6c9d |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle compressed images in get_tex_rgba() Uses the new _mesa_decompress_image() function. Unlike the meta path that uses textured quad rendering to do decompression, this works with signed formats as well.
ain/texgetimage.c
|
3370ba802ff93fde399c9b07303a71ab0827e217 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_decompress_image() function Use the old texture fetch functions to decompress a whole image. To be used by glGetTexImage().
ain/texcompress.c
ain/texcompress.h
|
9a5b2899e058f3ec31a4eba5575eaa3fcfe1e3f5 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_uncompressed_format(), _mesa_format_num_components()
ain/formats.c
ain/formats.h
|
730952aa12c257af25af0873e0b284f742fb485e |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new pixel format unpacking code This will be used instead of the texel fetch code to unpack images in various formats.
Conscript
ain/format_unpack.c
ain/format_unpack.h
ources.mak
|
e3dc78e57a7effbd30dc9539b3ea05ad85ac34e5 |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: added _mesa_meta_GetTexImage() If the texture is compressed, call the meta decompress_texture_image() function. Otherwise, call the core _mesa_get_teximage() function.
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/common/meta.h
|
8e9485870bfac93d5c26a094390a37aad2e264eb |
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
meta: move texcoord setup into setup_texture_coords()
rivers/common/meta.c
|
faf5d6584b9d75a10987c4460b376af7d1e4d496 |
08-Sep-2011 |
Adam Jackson <ajax@redhat.com> |
gles: Fix glGet(GL_{NUM_,}COMPRESSED_TEXTURE_FORMATS_ARB) We'd still accept the GL_PALETTE[48]_* formats in glCompressedTexImage2D, but they wouldn't be listed if you queried whether they were supported. Signed-off-by: Adam Jackson <ajax@redhat.com>
ain/texcompress.c
|
1cf808c86e7e88b173a5ca0ec6fef562ecae16b3 |
07-Sep-2011 |
José Fonseca <jfonseca@vmware.com> |
Define INLINE macro in terms of inline.
ain/compiler.h
|
c1cac8feecb9f868d7273e8892a6562e533d929a |
07-Sep-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
st/mesa: Remove unused renderbuffer fields and functions. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
4bc5bfb641bce931bf35f0e78ec2b44263d152ba |
02-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement ir_u2f opcode. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
8de3314f636f57145e008697df34560d3badf41c |
03-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix disassembly for intdiv/intmod math functions. The opcodes and strings were reversed. Quotient means division, and modulus means remainder. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_disasm.c
|
477b74e85be8e468c63af9f2f3fe788e486764ce |
15-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use proper texture alignment units for cubemaps on Gen5+. In particular, S3TC compressed textures need align_h == 4. Fixes skybox errors in Quake 4 and FEAR. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34628 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_tex_layout.c
|
99c1a58b3067893d4fa444cd4abcf13bb43232ef |
07-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
varray.c: fix logic around BGRA with ARB_vertex_type_2_10_10_10_rev. I introduced a regression in here, I've just split the logic ot now, so its easier to read/understand. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=40664 Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/varray.c
|
6edef25a4b41583e1c285653fc0b84a316e9743d |
07-Sep-2011 |
Vinson Lee <vlee@vmware.com> |
mesa/vbo: s/inline/INLINE/ MSVC does not support inline keyword.
bo/vbo_attrib_tmp.h
|
9bd8d90646572a170bd96a72d2f8d5739df381be |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix point size handling on gen4. Fixes glsl-vs-point-size. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
9367960ea64a087895caaadbd0353080c14b4bab |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Use write commits on scratch writes in pre-gen6. This is required to ensure ordering between reads and writes within a thread. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
838bfe0c46969c359be8f5d02e2b41bb7ff044e1 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix setup of scratch space pointer on pre-gen6. We were failing to relocate, so on the first draw run our scratch would tend to get written to 0x0. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_state.c
|
ddf8e602a774ecfd1b660e398dd9bf763d86a074 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix message setup for array read/writes on pre-gen6. We were passing an MRF as the source argument, instead of using the implied move and putting the MRF number in the proper place in the instruction encoding. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
88612e2c1b1580b92d229ec6d2236fe07b32e060 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix constant-indexed array read/write addresses on pre-gen6. The second vertex was getting a garbage index. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
bba910373fc6cdca939422d94adfe58b43e41b86 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for vector comparison ops resulting in bool cond codes. Fixes a giant pile of VS tests on gen4. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
9f842886077258ddda5d5a32b1f5d9fe2e5818bc |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Make pre-gen6 math operate in vector mode instead of scalar. On the old backend, we used scalar mode because Mesa IR math is result.xyzw = math(op0.xxxx), which matched up well. However, in GLSL IR we do things like result.xy = math(op0.xy), so we want vector mode. For the common case of result.x = math(op0.x), performance will be the same (no cost for un-executed channels), though result.xyzw = math(op0.xxxx) would be worse. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
87be0ac96ce5aaea2a08f1ed63871c0dd3a3f9d5 |
03-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix copy-and-paste disaster in pre-gen6 POW support. Fixes vs-pow-float-float and friends. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
|
2ffc5ac1da40186ef1c5155df21caa3aa3c34ccb |
03-Sep-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix gen4 comparisons used for predication. When we tried to retype a brw_null_reg() in CMP(), the retyping didn't take effect because HW_REG just ignores the type field. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
8adcad213ef6cbbaa9adf1485827125cc05aa033 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix GPU hangs in shaders with large virtual GRFs pre-gen6. If you get your total GRF count wrong, you write over some other shader's g0, and the GPU fails shortly thereafter. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
23eec54bb0f368d9c88894b544b4af8f01cae2ae |
07-Sep-2011 |
Brian Paul <brianp@vmware.com> |
i965: add casts to silence int/enum conversion warnings
rivers/dri/i965/brw_fs.cpp
|
a4adc88a2d855bd2d8c7caf7059b4a52199dc609 |
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unneeded #include
tate_tracker/st_cb_eglimage.c
|
1a65d098cea54352335460fedf97f705d20f2ab7 |
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace fixes, just to be consistent
ain/mtypes.h
|
51e7b058750cc480c296d45f773d7a5a662457f5 |
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: put _mesa_ prefix on vert_result_to_frag_attrib()
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/gen6_sf_state.c
ain/mtypes.h
|
a794ad3709a6eb26bc96934203c20a8b3b8d8672 |
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix vert_result_to_frag_attrib() parameter type
ain/mtypes.h
|
37afceeee99264f93c0d3a588427a24218e2ec9d |
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/inline/INLINE/ to fix MSVC build
ain/mtypes.h
|
7826067bd195bd1e7f69565b83d2161638e5a230 |
06-Sep-2011 |
Adam Jackson <ajax@redhat.com> |
Drop some Glide remnants Apparently the x11 driver had a hack for glide passthrough. Who knew? Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/x11/Makefile
rivers/x11/fxmesa.h
rivers/x11/xm_glide.c
rivers/x11/xm_glide.h
rivers/x11/xmesaP.h
|
7f379df4015ca6b886627c5c0d18778b0f8611be |
06-Sep-2011 |
Adam Jackson <ajax@redhat.com> |
Remove an AmiWin leftover Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/x11/xmesa.h
|
3602fbb201bdea158590692a3a7a7245e0ff69ce |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for unpacking from client memory to color-index pixels Mesa hasn't supported color-index rendering for a long time. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
d7cb905a5a6e3ad7af1518d8e74620de729a2477 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Use GL_STENCIL_INDEX for address calculations GL_COLOR_INDEX produced the same result (because GL_BITMAP is always used for stencil glDrawPixels), but it was confusing to read. I spent about 15 minutes wondering, "WTF?" Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
wrast/s_drawpix.c
|
e174b5d4835c99d06fbffbacabe4ee1f467a09e0 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove GL_COLOR_INDEX from _mesa_{dest,source}_buffer_exists Mesa hasn't supported color-index rendering for a long time. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/framebuffer.c
|
559241d48c01ad36e1ea18e6c44aa5bc587d3002 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove GL_COLOR_INDEX from base format assertions _mesa_make_temp_float_image can't work on color-index textures, but there is no such thing as a color-index texture anymore. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texstore.c
|
ede7d9fff504db3a4790b0e55d247f85ef22d045 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove GL_COLOR_INDEX from assertions These sampling functions don't work on color-index textures, but there is no such thing as a color-index texture anymore. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
wrast/s_texfilter.c
|
960f37a57a7fcbac213c0b4fb0daf2285a64bf97 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused struct gl_color_table Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/colortab.h
ain/mtypes.h
|
81a6cf9ddf5ab7e1c35cf99c28cc7fad808230ef |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused functions _mesa_lookup_rgba_{float,ubyte} Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pixeltransfer.c
ain/pixeltransfer.h
|
0b6dd750584c8e03aa14968d6efdf393e7c8c8f0 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of GL_COLOR_INDEX*_EXT These enums were only valid with the paletted texture extensions. This allows a couple other trivial clean-ups. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/image.c
ain/image.h
ain/texgetimage.c
|
eb805a518216ae61317e7eef78a0b2c692c10eae |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove dd_function_table::CopyColorTable, ::CopyColorSubTable, and ::UpdateTexturePalette There's nothing left that can call any of these functions. This also removes the meta-ops code that implemented the first two. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/common/meta.h
ain/dd.h
|
eba527bf9ffc2fd67c44fb77104107556f509b49 |
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette This was also discussed at XDS 2010. However, actually making the change was delayed because several drivers still exposed these extensions to significant benefit (e.g., tdfx). Now that those drivers have been removed, this code can be removed as well. v2: A lot of bits that were missed in the previous patch have been removed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/colortab.c
ain/colortab.h
ain/enable.c
ain/extensions.c
ain/formats.c
ain/get.c
ain/mtypes.h
ain/texformat.c
ain/texgetimage.c
ain/teximage.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
|
becd54eedb26ec9076e6f5f98f485861b3e13a90 |
03-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Remove two_side_color from brw_compute_vue_map(). Since we now lay out the VUE the same way regardless of whether two-sided color is enabled, brw_compute_vue_map() no longer needs to know whether two-sided color is enabled. This allows the two-sided color flag to be removed from the clip, GS, and VS keys, so that fewer GPU programs need to be recompiled when turning two-sided color on and off. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
f2b09257ba04a8f50c58e208ca8ab66cfa362298 |
03-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: For GEN6+, always make front/back colors adjacent in VUE. When doing two-sided color on GEN6+, we use the SF unit's INPUTATTR_FACING mode to cause front colors to be used on front-facing triangles, and back colors to be used on back-facing triangles. This mode requires that the front and back colors be adjacent in the VUE. Previously, we would only place front and back colors adjacent in the VUE when two-sided color was enabled. Now we place them adjacent in the VUE whether two-sided color is enabled or not. (We still only swizzle the colors when two-sided color is enabled, so there should be no user-visible change). This simplifies the implementation of the VUE map and reduces the amount of code that is dependent on two-sided color mode. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.c
|
18dcda2dcff0ba49cf35656bb8936e3edd61c90d |
30-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: GS: Use the VUE map to compute URB size. The previous computation had two bugs: (a) it used a formula based on Gen5 for Gen6 and Gen7 as well. (b) it failed to account for the fact that PSIZ is stored in the VUE header. Fortunately, both bugs caused it to compute a URB size that was too large, which was benign. This patch computes the URB size directly from the VUE map, so it gets the result correct in all circumstances. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
|
78be5bcb222d379a07979de98ff5b9e3549de6a7 |
26-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Remove no-longer-needed variables. The variables offset[], idx_to_attr[], nr_bytes, nr_attrs, and header_regs were all serving purposes which are now served by the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
|
4efb32c642507228d5bfebbd6d403dd9944f9b7c |
26-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Remove assumption about VUE header from brw_clip_interp_vertex() Previously, brw_clip_interp_vertex() iterated only through the "non-header" elements of the VUE when performing interpolation (because header elements don't need interpolation). This code now refers exclusively to the VUE map to figure out which elements need interpolation, so that brw_clip_interp_vertex() doesn't need to know the header size. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_util.c
|
71cb82f63ab156599613f7555a62ad52d2e3dbd7 |
26-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Change computation of nr_regs to use VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
|
2ef1fa6b3c8d52e059bf6ccf519c45604962b27c |
01-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Convert computations to ..._to_offset() for clarity. This patch replaces some ad-hoc computations using ATTR_SIZE and the offset[] array to use the VUE map functions brw_vert_result_to_offset() and brw_vue_slot_to_offset(). Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
54a62f8806df29d79f1e630bae6d1f45fb15c69f |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Add a function to determine whether a vert_result is in use. Previously we would examine the offset[] array (since an offset of 0 meant "not in use"). This paves the way for removing the offset[] array. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
620f06b12600d509406543738ed8bff27715df2c |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Rework brw_clip_interp_vertex() to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_util.c
|
c46be4273cf392a8ea53dc95881ea1e4452170b1 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Modify brw_clip_interp_vertex() to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_util.c
|
5a93019a873d4388e80b334982d535c23bbd607f |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Move header_regs into brw_clip_compile. This makes header_regs available for computing VUE offsets within clip code. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
|
2bc421845e7d334bc5a91b62d834b8f77e769570 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Modify brw_clip_tri_alloc_regs() to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_tri.c
|
62b0c8561e2d259e4dc1f27346bf2f36c3b098c8 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Move hpos_offest and ndc_offset into local functions. The offsets within the VUE of HPOS and NDC are needed only in a few auxiliary clipping functions. This patch moves computation of those offsets into the functions that need them, and does the computation using the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
eae5b5c44e58ad2937600991a5569518d3023f68 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: rename header_position_offset to the more correct ndc_offset. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
514eeca32c37c8b4267edbd3c3657946536c639c |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: clip: Add VUE map computation to clip stage for Gen4-5. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
|
9660e3b788227de4aa15c42c5bbd48b85ad46d24 |
31-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Change gen{6,7}_sf_state.c to compute URB read length based on VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
fc60a07d88e57bc51b153888181d11d3a0ca7d7f |
31-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Move outputs_written to a local variable for clarity. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
2d909f431c67d0c8c5075dc40f2901076c5bc48b |
30-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: New implementation of get_attr_override using the VUE map. This patch changes get_attr_override() (which computes the relationship between vertex shader outputs and fragment shader inputs) to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen7_sf_state.c
|
bbc53d6285efc664b9b9f326cdcd82a9414507c1 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Remove unnecessary variables. This patch removes the variables nr_attrs and nr_setup_attrs, whose purpose is now being served by the VUE map. nr_attr_regs and nr_setup_regs are still needed, however they are now computed using the VUE map rather than by counting the number of vertex shader outputs (which caused subtle bugs when gl_PointSize was written). Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
|
58d9c95b3cb54383d07ca5560a1685fbe8588860 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Stop using nr_setup_attrs in compute_masks. Previously, the SF used nr_setup_attrs to determine whether it was looking at the last element of the VUE. Changed this code to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf_emit.c
|
08f030baec3d13805c5800183550d8ad88ed8881 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Remove attr_to_idx and idx_to_attr. These data structures were serving the same purpose as the VUE map, but were buggy. Now that the code has been transitioned to use the VUE map, they are not needed. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
|
84e7d04e1d2ac9621c5fbb0f878164e7c16d2cf7 |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Change calculate_masks to use the VUE map. Previously, SF code used the idx_to_attr[] array to compute the location of entries in the VUE map. This array didn't properly account for gl_PointSize. Now we use the VUE map directly. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf_emit.c
|
aafe2cdf86c22da6c1266f307d89b1c80b59562f |
25-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Change the flags that refer to "attr" to be based on gl_vert_result. Previously, some of the code in SF erroneously used bitfields based on the gl_frag_attrib enum when actually referring to vertex results. This worked, because coincidentally the particular enum values being used happened to match between gl_frag_attrib and gl_vert_result. But it was fragile, because a future change to either gl_vert_result or gl_frag_attrib would have made the enum values stop matching up. This patch switches the SF code to use the correct enum. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf_emit.c
|
8b362477d931af40e1a00fc308ebd0b25b722aa2 |
24-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: change get_vert_attr to use the VUE map, and rename it. The new function, called get_vert_result(), uses the VUE map to find the register containing a given vertex attribute. Previously, we used the attr_to_idx[] array, which served the same purpose but didn't account for gl_PointSize correctly. This fixes a bug on pre-Gen6 wherein the back side of a triangle would be rendered incorrectyl if the vertex shader wrote to gl_PointSize. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf_emit.c
|
4a1fb81902a7863d5dfe304e5e4ca2c631159be1 |
24-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Modify calculate_point_sprite_mask to use the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
39fc725b0c81db8d76cb490488cd95de5c4d7a79 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: SF: Move the computation of urb_entry_read_offset. This patch moves the computation of the SF URB entry read offset from upload_sf_unit() to its own function, so that it can be re-used when creating the gen4-5 SF program. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_state.c
|
f3ecc90730c1637b82e7a8eb8bef6d9a7a0531e8 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: Compute urb entry size based on the VUE map. Previously, the new VS backend computed the size of the URB entry by counting the number of MRFs used in emitting the URB entry. Now it just gets it straight from the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
ee3195a5ff9ce3e549fd254ecd751319a0bd9db5 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: Clarify comments about max_usable_mrf and add an assertion. max_usable_mrf has been carefully set such that (max_usable_mrf - base_mrf) is a multiple of 2, so that an even number of VUE slots are emitted with each URB write (which Gen6 requires). This patch adds an assertion to confirm that this is the case, and moves the comment to this effect to be near the assertion. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_visitor.cpp
|
e604f98f580b74dd6c597ef492706ce74697443e |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: use the VUE map to write out vertex attributes. Previously, the new VS backend used two functions, emit_vue_header_gen6() and emit_vue_header_gen4() to emit the fixed parts of the VUE, and then a pair of carefully-constructed loops to emit the rest of the VUE, leaving out the parts that were already emitted as part of the header. This patch changes the new VS backend to use the VUE map to emit the entire VUE. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
d1435a49e9765ab4e988dd8b65a5599da34f3512 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: move clip distance computation (GEN5+) to a separate function. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
d9eca0b27903acef97f7b69a70dc791b433f1c98 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: Move PSIZ/flags computation to a separate function. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
f86d1976f81811aec0a555946e263295ed1403db |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: move NDC computation (GEN4-5) to a separate function. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
34fbab2125555ba0afffa361e1c74fb3359ef3a7 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: new VS: Use output_reg[] to find NDC and HPOS registers. Previously, emit_vue_header_gen4() used local variables to keep track of which registers were storing the NDC and HPOS. This patch uses the output_reg[] array instead, so that the code that manipulates NDC and HPOS can be more easily refactored. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
85e57eb9cada5c97d49e11295e23cc6e472b3130 |
23-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: old VS: use the VUE map to compute the URB entry size. Previously, the old VS backend computed the URB entry size by adding the number of vertex shader outputs to the size of the URB header. This often produced a larger result than necessary, because some vertex shader outputs are stored in the header, so they were being double counted. This patch changes the old VS backend to compute the URB entry size directly from the number of slots in the VUE map. Note: there's a subtle change in that we no longer count header registers towards the size of the VF input. I believe this is correct, because the header is only emitted in the output of the VS stage--it is not present in the input. (As evidence for this, note that brw_vs_state.c sets urb_entry_read_offset to 0--it does not include space for the header as part of the VS input). Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
3c17efd14888e453d1a15d92e97c99f2a278e213 |
01-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: old VS: Use brw_vue_map instead of implicit assumptions about VUE structure. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
7bb2dbfc9765c97d9c53ad954342419338018474 |
02-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Add functions to compute offsets within the VUE map. Some parts of the i965 driver keep track of locations within the VUE (vertex URB entry) using byte offsets. This patch adds inline functions to compute these byte offsets using the VUE map. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
|
45f1d7a66666d849031ffc2b8647149e17cc13bc |
01-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: Write code to compute a VUE map. Several places in the i965 code make implicit assumptions about the structure of data in the VUE (vertex URB entry). This patch adds a function, brw_compute_vue_map(), which computes the structure of the VUE explicitly. Future patches will modify the rest of the driver to use the explicitly computed map rather than rely on implicit assumptions about it. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs.c
|
6489a1d5bab75589569658d374257bf23cb67a23 |
30-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
Refactor code that converts between gl_vert_result and gl_frag_attrib. Previously, this conversion was duplicated in several places in the i965 driver. This patch moves it to a common location in mtypes.h, near the declaration of gl_vert_result and gl_frag_attrib. I've also added comments to remind us that we may need to revisit the conversion code when adding elements to gl_vert_result and gl_frag_attrib. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/gen6_sf_state.c
ain/mtypes.h
|
f154ac9cc251c9c5f527a09819a7fb9c5595267f |
19-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: add support for 2101010 vertex format conversion. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
6cd2d55a7bee289f20670cb97258d73911dac781 |
13-Aug-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/varray: add interface support for ARB_vertex_type_2_10_10_10_rev (v2) This just adds all the API check for vertex arrays using 2101010 types. 2101010 is also useable with GL_BGRA. v2: fix whitespace. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/varray.c
|
51fcf080a342896ea0bc71dce01e948c810a8db9 |
04-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/vbo: add ARB_vertex_type_2_10_10_10_rev APIs. This adds the vertex processing paths for the 2101010 types. It converts the attributes to floats for all the immediate entry points, some entrypoints are normalised and the attrib APIs take a normalized parameter. There are four main paths, ui10 -> float unnormalized i10 -> float unnormalized ui10 -> float normalized i10 -> float normalized along with the ui2/i2 equivs. Signed-off-by: Dave Airlie <airlied@redhat.com>
bo/vbo_attrib_tmp.h
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
667351bc5f07a149234e7f3a0b7c1139624d3de0 |
21-Nov-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: add initial API changes for ARB_vertex_type_2_10_10_10_rev. add new APIs to the internal mesa driver interface + set funcs in vtxfmt.c Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/dd.h
ain/vtxfmt.c
|
2b3da6b01e5b1fe7b4dfad96370a3dc2d3c248ba |
04-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
glapi: regen API files for new extension Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/dispatch.h
ain/enums.c
ain/remap_helper.h
|
4e64cfbb4ec92877803e70257af8b97c484c00c0 |
05-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: add a UniformBooleanTrue option Drivers supporting native integers set UniformBooleanTrue to the integer value that should be used for true when uploading uniform booleans. This is ~0 for Gallium and 1 for i965. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.c
ain/mtypes.h
ain/uniforms.c
tate_tracker/st_extensions.c
|
0dc575c6f6157867accf749a06ec745617ea64ac |
04-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fixes for native integers and integer booleans This fixes all but one of the piglit regressions from enabling native integers in softpipe. The change to fix the last regression is still being discussed.
tate_tracker/st_glsl_to_tgsi.cpp
|
0a00a9a05b357dafae86bf8af879aa601f101eba |
04-Sep-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
intel: fix build error Fix a build error introduced by commit 6862b54f: i965_dri.so.tmp: undefined reference to `strerr' Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
rivers/dri/intel/intel_batchbuffer.c
|
5572de8e7e71a15cefe6425b3e082c721052ef1e |
30-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: handle zero-size buffers in MapBuffer and ranges in MapBufferRange (v3) Reviewed-by: Brian Paul <brianp@vmware.com>
ain/bufferobj.c
tate_tracker/st_cb_bufferobjects.c
|
0a33ac5413d6217a30b70d4ec6e11389872616d0 |
30-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl_to_tgsi: fix more potential shader reference leaks The last one has been pointed out by Ian.
tate_tracker/st_glsl_to_tgsi.cpp
|
6862b54f4d4e88ef6ebf709ea7798093ec337e2a |
02-Sep-2011 |
Eugeni Dodonov <eugeni.dodonov@intel.com> |
intel: Give an explanation why we are exiting for debugging. This could happen in 3 different cases, and ERRNO can explain what happened. First case would be EIO (gpu hang), second EINVAL (something is wrong inside the batch), and we also discovered that sometimes it happens with ENOSPACE. All of those cases are different it it could be worth to at least know what happened. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/intel/intel_batchbuffer.c
|
ee41383ab31f6ef5f1d18961de78371d4f52065b |
30-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/vs: Fix NULL pointer dereference in pre-Gen6 push constant loading. According to the comment, we need to load /some/ push constants on pre-Gen6 hardware or the GPU will hang. The existing code set these bogus parameters to NULL pointers; unfortunately, the code in brw_curbe.c that loads them dereferences those pointers. So, change them to be pointers to an actual floating point value of 0.0. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vec4_emit.cpp
|
7fdbedac14637b5e8990cb639bd4ddae28c46994 |
31-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Upload batchbuffer contents even if INTEL_NO_HW is set. It is useful for debugging to dump batchbuffers while not actually executing them.
rivers/dri/intel/intel_batchbuffer.c
|
0b666106c5f75b581ef1ebeb354c29a00400404f |
29-Aug-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: add caps for MIN/MAX texel offsets. As per Brian's suggestion, add caps for drivers that support texture offsets to advertise a min/max via TGSI, also use it in the state tracker. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
2083a276eb270b748d1c2668eb9faa5aadc8e700 |
26-Aug-2011 |
Dave Airlie <airlied@redhat.com> |
tgsi: add support for texture offsets to the TGSI IR. (v2) This adds tokens for texture offsets, to store 4 * swizzled vec 3 for use in TXF and other opcodes. It also contains TGSI exec changes for softpipe to use this code, along with GLSL->TGSI support for TXF. v2: add some more comments, add back padding I removed. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_mesa_to_tgsi.c
|
db3a7c366b51e4ae006697b73c1ebca8559bfa13 |
01-Sep-2011 |
Brian Paul <brianp@vmware.com> |
swrast: get rid of needless do/while
wrast/s_readpix.c
|
025cf209bca7d57a8ffe2e3010ebf01fa4d797cc |
01-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix broken store_texel() functions This fixes the swrast failures for piglit's fbo-generatemipmap-formats test (for uncompressed formats). At some point down the road this code will go away so I haven't checked all the other store_texel() functions.
ain/colormac.h
ain/texfetch_tmp.h
|
6b9e4b6ca7bec9dbafe4f4368f2f33bbeda6cb5c |
21-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
intel: fix GLESv1 support Add intelInitExtensionsES1 to enable required and optional GLESv1 extensions. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.h
rivers/dri/intel/intel_extensions_es.c
|
820789ac69a72f6ea8081db6f82827da6c7d7110 |
21-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
intel: rename intel_extensions_es2.c to intel_extensions_es.c We'd like to add intelInitExtensionsES1 to it later. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/Makefile.sources
rivers/dri/i915/intel_extensions_es.c
rivers/dri/i915/intel_extensions_es2.c
rivers/dri/i965/Makefile.sources
rivers/dri/i965/intel_extensions_es.c
rivers/dri/i965/intel_extensions_es2.c
rivers/dri/intel/intel_extensions_es.c
rivers/dri/intel/intel_extensions_es2.c
|
644929849ccc1134bb89f1e084761c4febdc4ced |
30-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
i915: build i915_dri.so for Android Simple demos such as test-opengl-gl_basic work. SurfaceFlinger does not work yet due to missing GL_OES_draw_texture support (and maybe more). Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/Android.mk
rivers/dri/i915/Android.mk
|
47ba5c482f6c87971c8ad878dbfd9e7a4fc3e17c |
30-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
i915: factor our source lists into Makefile.sources In preparation for porting i915 to Android, factor its source lists into a shared makefile. This prevents duplication of source lists, and hence prevents the Android build from breaking as often. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/Makefile
rivers/dri/i915/Makefile.sources
|
05fdb44dd7f2f4500e3d159df6519a644b5f09bc |
30-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
i965: fix Android build Use $(TARGET_CC) instead of $(CC). Correctly name and set LOCAL_CFLAGS. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/Android.mk
rivers/dri/i965/Android.mk
|
488fe51cf823ccd137c667f1e92dd86f8323b723 |
01-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag. This is a better, more fine-grained way of lowering if statements. Fixes the game And Yet It Moves on nv50. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i915_context.c
ain/mtypes.h
rogram/ir_to_mesa.cpp
tate_tracker/st_extensions.c
tate_tracker/st_glsl_to_tgsi.cpp
|
82fff5f3edfd2f6396a872a12d753b2ab90edd7b |
31-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo: s/GL_SIGNED_NORMALED/GL_SIGNED_NORMALIZED/
ain/formats.c
|
478034f34a59969103237eb78bc82f9e70fe81c2 |
28-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl: Use a separate div_to_mul_rcp lowering flag for integers. Using multiply and reciprocal for integer division involves potentially lossy floating point conversions. This is okay for older GPUs that represent integers as floating point, but undesirable for GPUs with native integer division instructions. TGSI, for example, has UDIV/IDIV instructions for integer division, so it makes sense to handle this directly. Likewise for i965. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Bryan Cain <bryancain3@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_shader.cpp
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
87679e2ea10836d89f47a37b8e94cce0d319622e |
30-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: bump max program local params, max uniforms limit Some driver support more than 1024. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/config.h
|
e26e9f77e761775592204edb53b6028eef0c1f11 |
30-Aug-2011 |
Brian Paul <brianp@vmware.com> |
swrast: initialize program native limits Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_context.c
|
0c9ae24dbdfcfea06fb0e8cdfd7737da48fa4e31 |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Avoid the emit(), remove(), insert_before() for array instructions. v2: Add generator instructions for the scratch opcodes. Add emit_before() for handling ->ir and ->annotation inheritance. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
e45d0270c9f6f170e35ae39e95977b60f0f0be9a |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Move logic for weird CMP type handling to CMP generators. v2: Don't bother with the no-dst-reg version of CMP() Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
a8e29987f5a64d566a128a1c1ac18dae3f3953db |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Convert emit() calls to the new instruction generators. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
ead7ffc62a99c83c3f41a3f229cfbb9ed1826df0 |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Convert gen6 userclip handling to new generators. This DP4 had one of its operands missing, so we were generating garbage clip distances. Using the per-opcode instruction generators made it obvious. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_visitor.cpp
|
2f12be5c952ec84eece74a321e5b0a92314aba3a |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Create instruction generators outside of the emit() functions. v2: Fixed gen6 IF(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
0b96b3ffa92285d281de82442743402cf374973a |
30-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Restructure TexSubImage as just the 2D implementation and blit func. Fixes a segfault in piglit copyteximage where I accidentally removed the dst_bo setup in the previous cleanup. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40474 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Sean McNamara <gm.potato.ul@gmail.com> Tested-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_subimage.c
|
b26a08402f645aebadfabc91e08eac568e1a40c3 |
30-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove the passthrough TexSubImage[13]D functions. All we need for these is _mesa_store_texsubimage[13]d(), since we don't do the blit path. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_subimage.c
|
81a0b2166991a3015f8336e184c34cf6a92adfe0 |
23-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix GL_FIXED setup when a writemask is present. By emitting code before generate_code(), we ended up in align1 mode where writemasks don't exist, so we rescaled gl_Vertex.w and things went badly. By moving GL_FIXED support to the visitor, we end up with normal codegen, and as a bonus the GL_FIXED setup ends up getting printed appropriately in debug output. Fixes gtf/GL2Tests/fixed_data_type Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
72cfc6f3778d8297e52c254a5861a88eb62e4d67 |
23-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Pack live uniform vectors together in the push constant upload. At some point we need to also move uniform accesses out to pull constants when there are just too many in use, but we lack tests for that at the moment. Fixes glsl-vs-large-uniform-array. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
7c84b9d303345fa5075dba8c4ea7af449d93b0f8 |
23-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Track uniforms as separate vectors once we've done array access. This will make it easier to figure out which elements are totally unused and not upload them. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
ddca4592a7fa08cc294403d221a5f329ee4991e9 |
22-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Don't lower uniform array indexing. This avoids the massive conditional move array access, and brings code generation quality for the new VS backend into the realm of efficiency of the old backend (roughly 20% more instructions generated than before across shader-db, instead of assertion failing for generating over 10,000 instructions on many shaders!). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_shader.cpp
|
483f5b348b0f3c0ca7082fd2047c354e8af285e7 |
22-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for pull constant loads for uniform arrays. v2: reworked the instruction emit and made use of gen6_resolve_implied_move, from Ken's review
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
88e08de8017b69591b37dafde9afd15f796fb404 |
27-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Restructure emit() functions around a vec4_instruction constructor. We sometimes want to put an instruction somewhere besides the end of the instruction stream, and we also want per-opcode instruction generation to enable compile-time checking of operands.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
8654931d117f178fa575d3fdc5bbff9f8bf9e816 |
22-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Make the old VS backend record pull constant references in pull_params[]. We'll be using that to track things for the new VS backend, and this will avoid cluttering brw_vs_surface_state.c for it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_surface_state.c
|
9fa41f0742b7486e462e088a66bef8cebdf114f5 |
23-Aug-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glGetUniform() type conversions. We were primarily failing to convert in the NativeIntegers case, which this fixes. However, we were also just truncating float uniforms when converting to integer, which does not appear to be the correct behavior. Note, however, that the NVIDIA drivers also truncate instead of rounding. GL_DOUBLE return type is dropped because it was never used and completely broken. It can be added when there's test code. Fixes piglit ARB_shader_objects/getuniform v2: This is a rewrite of my previous glGetUniform patch, which Ken pointed out missed storage_type-based conversions to integer, which was totally broken still thanks to a typo in the testcase. v3: Quote the spec justifying the rounding behavior. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
ain/uniforms.c
|
7708b25e2b5e05f262c19dde5d7f3612a7e7e166 |
19-Aug-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make the gl_constant_value's bool occupy the same space as float/int. At least for Intel, all our uniform components are of uint32_t size, either float or signed or unsigned int. For uploading uniform data in the driver, it's much easier to upload a full dword per uniform element instead of trying to pick out the bool byte and then fill in the top 3 bytes of pad with 0. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/prog_parameter.h
|
55b7fbb70ffc1f4def5c3ded63c3ef569e693731 |
19-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use native integer uniforms when the new VS backend is in use. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/gen6_vs_state.c
|
2f82c33deefba61b3e72edb4375850c0629af224 |
19-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Move the flag for whether to use the new backend to the context. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs.c
|
1995d1e2070f8cda9e2ce489c694e0949749c8cb |
27-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Build i965_dri.so for Android Compile tested only. Reviewed-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/Android.mk
rivers/dri/i965/Android.mk
|
2f0edc60f4bd2ae5999a6afa656e3bb3f181bf0f |
26-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Fix Android build by removing relative includes Replace each occurence of #include "../glsl/*.h" with #include "glsl/*.h" Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_cubemap_normalize.cpp
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
|
34349d4431831e8e0ccfb8c149d2178630b780dd |
27-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
dri: Build libmesa_dri_common for Android libmesa_dri_common is a static library that contains the sources in src/mesa/drivers/dri/common. Each DRI driver should link to it. Reviewed-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/Android.mk
rivers/dri/common/Android.mk
|
05049e709efc1658ddd21047fba6081cbbdca6fe |
27-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
make: Document imported variables In src/mesa/Android.mk, it is non-trivial to determine which variables are imported by `include sources.mak`. So document them. Reviewed-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
ndroid.mk
|
3758173149325a16d2044be01a70ad3b4fa7260d |
26-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Build libmesa_dricore.a for Android libmesa_dricore.a is analogous to the libmesa.a built by the Autoconf build. Reviewed-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
ndroid.mk
|
5d9e242c3e28046e9c8ae1760533f92841d0cfaf |
30-Aug-2011 |
Brian Paul <brianp@vmware.com> |
tnl: fix regression in bind_indices() Commit 2ea1ff38164d95f8291ef2e5dfe2cb13936a60f2 caused the regression. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40413
nl/t_draw.c
|
788d9bf12174ce59584f4ed768a24a9626f5d9b7 |
30-Aug-2011 |
Brian Paul <brianp@vmware.com> |
tnl: add const qualifier to silence warning
nl/t_draw.c
|
642bbc6f596722492470c4322a9c011e1705a951 |
30-Aug-2011 |
Brian Paul <brianp@vmware.com> |
tnl: use buffer helper functions to improve readbility
nl/t_draw.c
|
16f442e9d58cc50a40d1f85e90a13a909fc9cab1 |
26-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
make: Factor out source lists from drivers/dri/common into Makefile.sources In order that the Autoconf and Android build can share the same source lists, move the lists from src/mesa/drivers/dri/Makefile.defines into src/mesa/drivers/dri/common/Makefile.sources I would like for Android to just reuse Makefile.defines, but the file is unsuitable for reuse. Reviewed-by: Chia-I Wu <olv@lunarg.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off: Chad Versace <chad@chad-versace.us>
rivers/dri/Makefile.defines
rivers/dri/common/Makefile.sources
|
e4a6ebdd87cbff4d6c23db2a8d220ce212093620 |
26-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
make: Remove duplicate occurence of driverfuncs.c driverfuncs.o is already contained in libmesa.a, so remove it from the following source lists: src/mesa/drivers/dri/Makefiles.defines:COMMON_SOURCES. src/mesa/drivers/dri/swrast/Makefile:SWRAST_COMMON_SOURCES Reviewed-by: Ian Romanick <idr@freedesktop.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/Makefile.defines
rivers/dri/swrast/Makefile
|
08701b6c952e2c65a06f26305633eb699dabe748 |
28-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
make: Remove duplicate defintion of COMMON_SOURCES in Radeon makefiles Remove defintion of COMMON_SOURCES from {r300,r660}/Makefile. The defintion is a duplicate of that found in src/mesa/drivers/dri/Makefile.defines. Reviewed-by: Ian Romanick <idr@freedesktop.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
|
fb92fc25b00beda4df48865670c8769c7a669aac |
27-Aug-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa: update multisample state on _NEW_BUFFERS A change in sampleBuffers affects the final enable value.
ain/state.c
|
99a8150a1a3ad293fe6104a65526e0ee4d095bb7 |
29-Aug-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
Remove dead Makefiles.
rivers/osmesa/Makefile.win
|
3ab19bf82af8b62207e7e8585f275593d708a527 |
29-Aug-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
Remote *.mgw stuff. Totally broken, and deprecated by scons.
akefile.mgw
|
d290febdc83a828b1cbe6a5e7155e47b29385dad |
29-Aug-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
gdi: Remove mesa_wgl.h All commonly used windows toolchains define wgl entrypoints in the windows headers, and mesa_wgl.h not only is unnecessary but actually often stands in the waydue to slight inconsistencies. So remove it.
rivers/windows/gdi/wgl.c
|
b2064ff3115afa075021902ecd35f4a5a772dc9e |
25-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl_to_tgsi: fix a reference leak on an error path
tate_tracker/st_glsl_to_tgsi.cpp
|
dc7f449d1ac53a66e6efb56ccf2a5953418a26ca |
26-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Avoid generating MOVs for most ir_assignment handling. This is a port of vec4_visitor::try_rewrite_rhs_to_dst to fs_visitor. Not only is this technique less invasive and more robust, it also generates better code. Over and above the previous technique, this reduced instruction count in shader-db by 0.28% on average and 1.4% in the best case. In no case did this technique result in more code than the prior method. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
d28a3bd4bf25157aff5379a003bbf4a66157ed06 |
26-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Revert "Avoid generating MOVs for assignments for expressions." This reverts commit 53c89c67f33639afef951e178f93f4e29acc5d53, along with the subsequent this->result = reg_undef additions it required. Both Eric and I agree that the way he did this is really fragile; if you forget to add this->result = reg_undef before calling accept(), it may end up using the same register for two separate things, breaking things in strange and mysterious ways. The next commit will port over the new VS backend's method for solving this problem, which is simpler, less intrusive, and still manages to avoid MOVs in the common case.
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
55d232a81566cf7ab8855c42e2ef1a280276a04c |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of MESA_FORMAT_CI8 Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
ain/debug.c
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
0c1b71665487fcaeffa8f4d7b5ad0ba425a2c169 |
20-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove MESA_FORMAT_CI8 bits from drivers that don't do paletted textures This came from the "kill it with fire" discussion at XDS 2010. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv04_surface.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
6f1846e3921e22f2744466ec791b8965ecee1d33 |
29-Aug-2011 |
Brian Paul <brianp@vmware.com> |
scons: add swrast/s_texture.c to the build
Conscript
|
336f87d5d5a4cb7809d136c03ac6f53b1d312d24 |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on Mesa core for the non-blit glTexSubImage* implementation. It uses MapTextureImage() now, so we don't need our own mapping. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_subimage.c
|
b8950c2225930c928bd727424201a1e95410626d |
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert texture debug dump function to using MapTextureImage(). Reviewed-by: Brian Paul <brianp@vmware.com>
ain/debug.c
ain/debug.h
|
bad53f3ba5c3ae66a8b4b7d9cc6a18606db71ebe |
30-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove our custom _mesa_store_compressed_texsubimage2d(). Now that Mesa core knows how to map teximages, we no longer needed the compressed paths here. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_subimage.c
|
81430ab54f57590c99883eadf622d2ecfae19c49 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert texstore.c to accessing textures using MapTextureImage. This continues to allocate texImage->Data as before, so drivers calling these functions need to use that when present. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
5b257442a8a46fdabdaad54c5f18a44f02696590 |
15-Aug-2011 |
Eric Anholt <eric@anholt.net> |
nouveau: Add MapTextureImage() implementation. This is untested, but should be close to working since it's basically a copy of nouveau_teximage_map(). Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/nouveau/nouveau_texture.c
|
587fdf07da1ca8fdc4fdadbe5a78dd9d0088a880 |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Add MapTextureImage() implementation. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_texture.c
|
ff68e3d30415712e0c3d36dc48b47345c852da01 |
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Refactor the common texture hook setup to common code. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
e10337da21d45ab7cccfa98b4112d1b33f3a5604 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
swrast: Add implementation of MapTextureImage/UnmapTextureImage. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/driverfuncs.c
ources.mak
wrast/s_texture.c
wrast/swrast.h
|
bfc09e92ffbf3e03f5ea09421d2b8cbae1df53bf |
29-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add implementation of MapTextureImage/UnmapTextureImage. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
0abb2659dda3ac7828cade6f9a999c511e33e905 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: Add implementation of MapTextureImage. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
570016cef27b8b2078d1495fcbce86e3c86c0ee4 |
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Add driver hooks for texture image mapping/unmapping. ctx->Driver.MapTextureImage() / UnmapTextureImage() will be called by the glTex[Sub]Image(), glGetTexImage() functions, etc. when we're accessing texture data, and also for software rendering when accessing texture data. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/dd.h
|
68f8cf72638e974a5bf2ae3e88c2e3539d88e2b6 |
27-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't check for image->Data when freeing an image's contents. All driver implementations of FreeTextureImageBuffer already check that Data != NULL and free it. However, this means that we will also free driver storage if the driver storage wasn't in the form of a Data pointer. This was produced by the following semantic patch: @@ expression C; expression T; @@ - if (T->Data) { - C->Driver.FreeTextureImageBuffer(C, T); + C->Driver.FreeTextureImageBuffer(C, T); - } Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mipmap.c
ain/teximage.c
tate_tracker/st_gen_mipmap.c
|
5401590815b0ef095e7881bbabce233bab07c1e6 |
27-Jul-2011 |
Eric Anholt <eric@anholt.net> |
Rename some driver FreeTextureImageData functions to FreeTextureImageBuffer. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex.c
tate_tracker/st_cb_texture.c
|
0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 |
27-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Rename FreeTexImageData to FreeTextureImageBuffer. This was produced by sed, except for one hunk in driverfuncs.c where trailing whitespace was dropped. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/driverfuncs.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
ain/context.c
ain/dd.h
ain/mipmap.c
ain/teximage.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
c8fed01c732fa20e1ae035ed5f7b6156a5d6ffe9 |
24-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl_to_tgsi: remove unused code
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
|
3a1ed4eaf20a350a16f18cd20140ed4182a487c3 |
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mapi: Commit generated files modified by previous commit Some of the changes are spurious because somebody forgot to do this when adding glFramebufferTextureLayerARB.
ain/enums.c
ain/remap_helper.h
|
5266c87c873057d9d3ecdaf1745d99225a5dc292 |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: Remove unused source tree mesa/tnl_dd/imm Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
nl/NOTES
nl_dd/imm/NOTES.imm
nl_dd/imm/t_dd_imm_capi.h
nl_dd/imm/t_dd_imm_napi.h
nl_dd/imm/t_dd_imm_primtmp.h
nl_dd/imm/t_dd_imm_tapi.h
nl_dd/imm/t_dd_imm_vapi.h
nl_dd/imm/t_dd_imm_vb.c
nl_dd/imm/t_dd_imm_vbtmp.h
|
5dd6626a7a376e95f43478e0949f049dca2eacbc |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: Remove unused header file t_dd_vbtmp.h Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
nl_dd/imm/t_dd_imm_vbtmp.h
nl_dd/t_dd_vbtmp.h
|
6118bbd0a67773d9247f3252a0643657bbd898a0 |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: Remove unused header file t_dd_rendertmp.h Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/i915/intel_tris.c
nl_dd/t_dd_rendertmp.h
bo/vbo_split.c
|
93db12a721ec2a68d99d68ea7fb9a471c2af23a0 |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for BeOS Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/beos/GLView.cpp
rivers/beos/Makefile
rivers/x11/fxmesa.h
|
c30181c7c33f75d527c2c4dd1d77744027fc3ec6 |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove unused header files mmx.h and spantmp.h These header files were only used by drivers removed in a previous commit. Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/common/mmx.h
rivers/dri/common/spantmp.h
|
dd10e7e0c341542d3a1bd3f08ef7c7b8775f39bb |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove driRenderbuffer::backBuffer field The tdfx driver was the only user. Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/common/drirenderbuffer.h
|
e4344161bde2e24fcfba65d30d58f087bd8bf94d |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove all DRI1 drivers Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/dri/i810/Makefile
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810render.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810screen.h
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
rivers/dri/i810/i810state.c
rivers/dri/i810/i810state.h
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tex.h
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810texstate.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i810/server/i810_common.h
rivers/dri/i810/server/i810_dri.h
rivers/dri/i810/server/i810_reg.h
rivers/dri/mach64/Makefile
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mga/Doxyfile
rivers/dri/mga/Makefile
rivers/dri/mga/README
rivers/dri/mga/mga_texcombine.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/mga/server/mga.h
rivers/dri/mga/server/mga_bios.h
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_macros.h
rivers/dri/mga/server/mga_reg.h
rivers/dri/r128/Makefile
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r128/server/pci_ids.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_macros.h
rivers/dri/r128/server/r128_reg.h
rivers/dri/r128/server/r128_version.h
rivers/dri/savage/Makefile
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedd.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/savage/server/savage_dri.h
rivers/dri/sis/Makefile
rivers/dri/sis/server/sis_common.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis6326_reg.h
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/sis/sis_tritmp.h
rivers/dri/tdfx/BUGS
rivers/dri/tdfx/Makefile
rivers/dri/tdfx/X86/fx_3dnow_fastpath.S
rivers/dri/tdfx/X86/fx_3dnow_fasttmp.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_glide.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/tdfx/tdfx_vbtmp.h
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/server/via.h
rivers/dri/unichrome/server/via_dri.h
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
rivers/dri/unichrome/server/via_regs.h
rivers/dri/unichrome/via_3d_reg.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_drmclient.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_fb.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_memcpy.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_texcombine.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_tris.h
nl/NOTES
|
117042b46fc174107a6e28babb9353f9f1e5b981 |
24-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove obsolete Windows gldirect and ICD drivers Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
akefile.mgw
rivers/windows/gldirect/ddlog.c
rivers/windows/gldirect/ddlog.h
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dglcontext.h
rivers/windows/gldirect/dglglobals.c
rivers/windows/gldirect/dglglobals.h
rivers/windows/gldirect/dglmacros.h
rivers/windows/gldirect/dglpf.c
rivers/windows/gldirect/dglpf.h
rivers/windows/gldirect/dglwgl.c
rivers/windows/gldirect/dglwgl.h
rivers/windows/gldirect/dll_main.c
rivers/windows/gldirect/dllmain.h
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_dx7.h
rivers/windows/gldirect/dx7/gld_dxerr7.h
rivers/windows/gldirect/dx7/gld_ext_dx7.c
rivers/windows/gldirect/dx7/gld_pipeline_dx7.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx7/gld_texture_dx7.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx7/gld_wgl_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_dx8.h
rivers/windows/gldirect/dx8/gld_dxerr8.h
rivers/windows/gldirect/dx8/gld_ext_dx8.c
rivers/windows/gldirect/dx8/gld_pipeline_dx8.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx8/gld_texture_dx8.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx8/gld_wgl_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_dx9.h
rivers/windows/gldirect/dx9/gld_dxerr9.h
rivers/windows/gldirect/dx9/gld_ext_dx9.c
rivers/windows/gldirect/dx9/gld_pipeline_dx9.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/dx9/gld_texture_dx9.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/dx9/gld_wgl_dx9.c
rivers/windows/gldirect/gld_debug_clip.c
rivers/windows/gldirect/gld_debug_norm.c
rivers/windows/gldirect/gld_debug_xform.c
rivers/windows/gldirect/gld_dispatch.c
rivers/windows/gldirect/gld_driver.c
rivers/windows/gldirect/gld_driver.h
rivers/windows/gldirect/gldirect.rc
rivers/windows/gldirect/gldlame8.c
rivers/windows/gldirect/mesasw/colors.h
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/windows/gldirect/opengl32.def
rivers/windows/gldirect/opengl32.ref
rivers/windows/gldirect/pixpack.h
rivers/windows/icd/icd.c
rivers/windows/icd/icdlist.h
rivers/windows/icd/mesa.def
|
17645103aaa937d24d58d110b845200c637c2365 |
24-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove obsolete linux-fbdev software driver Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
rivers/fbdev/Makefile
rivers/fbdev/glfbdev.c
|
5070903653028f357311848273f2a8b9a457fe96 |
25-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove stray, unused file Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
nl_dd/t_dd.c
|
f55a9a481ff8778ee423895230d8221294296300 |
27-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
i965: Factor our source lists into Makefile.sources In preparation for porting i965 to Android, factor its source lists into a shared makefile. This prevents duplication of source lists, and hence prevents the Android from breaking as often. Acked-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/Makefile
rivers/dri/i965/Makefile.sources
|
116680ddc28c2c3b04fd78acdaa3ef2108c43872 |
03-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Remove all bits of NRM3 and NRM4 code Nothing in Mesa generates these opcodes, and i965 hardware cannot support it natively. If support were ever added for this opcode in Mesa, there had better be a lowering pass for hardware that doesn't support it natively.
rivers/dri/i965/brw_vs_emit.c
|
6571c0774af1f5ebd0fab40bf4769702d3c9ded5 |
25-Aug-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'kasanen-post-process-v2' Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
|
5f3de17ef0f8b6280a6bf331ea6686a260f0d0d4 |
25-Aug-2011 |
Dave Airlie <airlied@redhat.com> |
glsl_to_tgsi: add TXF support. (v2) This adds texelFetch support to translate from GLSL to TGSI TXF opcode. I've tested this works with an r600g and softpipe backend. v2: drop comments, fix title, Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
515d9e88801e2e1e2a7ac74ccd43f8fedfb80a96 |
24-Aug-2011 |
Dave Airlie <airlied@redhat.com> |
glsl_to_tgsi: implement TXS/TXQ. (v2) GLSL uses TXS, call the gallium TXQ opcode. v2: fix indent from 4->3. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
b9eb4d8a59699e233255113acafae220c3d8fe3c |
09-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Implement the GL_ARB_conservative_depth extension. It's the same as GL_AMD_conservative_depth. The specs have slight differences in wording, but don't differ in content or behavior. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
79a486ead92e4493b2de1fedf0c8cb5de47003cd |
23-Aug-2011 |
Kai Wasserbäch <kai@dev.carbon-project.org> |
Change return type of try_emit_* methods to bool. Ian Romanick explained (Message-Id: <4E528973.6080902@freedesktop.org>), that the return type of non-API methods shouldn't use GLboolean but a standard C++ bool. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Bryan Cain <bryancain3@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
038d654bcb4e9d88eab420cefc3169d4845db4c9 |
24-Aug-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove unused var, remove unneeded local var
bo/vbo_exec_draw.c
|
ddd6e5b8bce96cfcb72c7e7412296c9f39bdd5d7 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
swrast: Remove swrast eject/validate texture image code. No driver used the eject function, or set the validate hook that made that function do anything. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_context.c
|
4990e7e9fb6d64f5e4c23915767e5cea32c02965 |
04-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Fix flushing before writing a teximage's BO when !t->bo. Before, if we ended up here without a BO for our image, but did choose a miptree that had active rendering in the command buffer, our teximage data would jump ahead of the rendering using the old texture contents. This showed up as breakage in gen-teximage and friends in the following commit. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/radeon/radeon_texture.c
|
6dbad425bc423eb7db7c99aab161955c7b4cdc4c |
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_texture_image::face,level fields Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
7dae1aaf142999e3cfeafb13d30abda667d66d87 |
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
intel: use new gl_texture_image:Face, Level fields Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
a231d245514b43cf547ccb996b68efc0186e6821 |
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add gl_texture_image::Face, Level fields Several drivers have these fields in their subclasses of gl_texture_image. They'll be useful for core Mesa too... Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/teximage.c
|
c3ad95ed40fca72dbc6c157de2948cb6d074aaac |
24-Aug-2011 |
Brian Paul <brianp@vmware.com> |
x11: add missing comma to fix compilation
rivers/x11/xm_dd.c
|
0d636213d491f88726155e12c3b445a88e0f1cd8 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Only map the necessary buffer range in brw_prepare_indices Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw_upload.c
|
2ea1ff38164d95f8291ef2e5dfe2cb13936a60f2 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
tnl: Only map the necessary buffer range in bind_indices Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
nl/t_draw.c
|
655c7d7498390ab69623e308abe5db4a8489a25c |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Only map the necessary buffer range in vbo_get_minmax_index Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
bo/vbo_exec_array.c
|
28249bd260f4c52badf3eb61ade2744604b21bca |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate dd_function_table::MapBuffer Replace all calls to dd_function_table::MapBuffer with appropriate calls to dd_function_table::MapBufferRange, then remove all the cruft. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/r300/r300_draw.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/x11/xm_dd.c
ain/api_arrayelt.c
ain/api_validate.c
ain/bufferobj.c
ain/dd.h
ain/dlist.c
ain/pbo.c
ain/texgetimage.c
tate_tracker/st_cb_bufferobjects.c
nl/t_draw.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
|
cccc7412c22a704d85203d7bb9c8e73d45cccf49 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
radeon: Hack up an implementation of MapBufferRange This doesn't implement any of the "cool" features of MapBufferRange. Adding this function is necessary for the next commit in the series. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Cc: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/radeon/radeon_buffer_objects.c
|
b2184da684fc20849b5e6e554f0a0f92d2872ce9 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix incorrect access parameter passed to MapBuffer The code previously passed GL_DYNAMIC_DRAW for the access parameter. By inspection, I believe that all drivers would treat this as GL_READ_WRITE because it's not GL_READ_ONLY and it's not GL_WRITE_ONLY. It appears the i965 code wants GL_WRITE_ONLY (it's about to write a bunch of data in, never read data), while the arrayelt code is GL_READ_ONLY (just dereffed as arguments to CALL_Whatever*v). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Whitwell <keithw@vmware.com>
rivers/dri/i965/brw_draw_upload.c
ain/api_arrayelt.c
|
6183edc070e2d3dce36ab5ee7aee72b0c38775a7 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::FlushMappedBufferRange No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
ain/bufferobj.c
ain/dd.h
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
f973be59fa293ea75f05cdbac2372360deb5e186 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Correctly check for read-only mappings in intel_bufferobj_map_range The old code was an obvious cut-and-paste fail from intel_bufferobj_map. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
rivers/dri/intel/intel_buffer_objects.c
|
4ddae2fb666c86e3267ef6e3d2699f9bfb40d206 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::MapBufferRange No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/nouveau/nouveau_bufferobj.c
ain/bufferobj.c
ain/dd.h
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
6c8aa3491a19535e8c39a47a3766bf8524e80582 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::GetBufferSubData No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/radeon/radeon_buffer_objects.c
ain/bufferobj.c
ain/dd.h
tate_tracker/st_cb_bufferobjects.c
bo/vbo_save_draw.c
|
92f3fca0ea429dcf07123e63447449db53308266 |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::BufferSubData No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/radeon/radeon_buffer_objects.c
ain/bufferobj.c
ain/dd.h
tate_tracker/st_cb_bufferobjects.c
|
12d924c5ae14a1c6a05a3dcae29b77e7668e227d |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::MapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/r300/r300_draw.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/x11/xm_dd.c
ain/api_arrayelt.c
ain/api_validate.c
ain/bufferobj.c
ain/dd.h
ain/dlist.c
ain/pbo.c
ain/texgetimage.c
tate_tracker/st_cb_bufferobjects.c
nl/t_draw.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
|
56f0c00f125ee75caeadc1c9e8cab8a488635e5e |
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::UnmapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/r300/r300_draw.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/x11/xm_dd.c
ain/api_arrayelt.c
ain/api_validate.c
ain/bufferobj.c
ain/dd.h
ain/dlist.c
ain/pbo.c
ain/shared.c
ain/texgetimage.c
tate_tracker/st_cb_bufferobjects.c
nl/t_draw.c
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
|
abbb8fc3a7d49066ecca10cb9db0b4756a1bbef0 |
23-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix typo in 2b224d66a01f3ce867fb05558b25749705bbfe7a Unfortunately, since a previous efficiency improvement, we no longer have any open-source testcases producing register spilling, so this code was untested in the fragment shader path. That should change when we get proper temporary array support in the fragment shader. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40194
rivers/dri/i965/brw_wm.c
|
9d4b98eb9eadecc17cd1cda0074b420a39e74647 |
17-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Use non-normalized coordinates for GL_TEXTURE_RECTANGLE. Improves performance of a GL_TEXTURE_RECTANGLE microbenchmark by 1.84% +/- .15% (n=3)
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
4eeb4c150598605d1be3ce6674fa63076a720ae9 |
17-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Implement textureSize (TXS) on Gen4. Also, remove the BRW_SAMPLER_MESSAGE_SIMD8_RESINFO #define because there totally isn't a SIMD8 variant. Unfortunately, resinfo returns FLOAT32 on Broadwater/Crestline, unlike G45 which returns a proper UINT32. This turns out to be simple, however: when we emit MOVs to select the desired half of the SIMD16 result, we can simply override the register type to be float so it's converted to an integer. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
ecf8963754489abfb5097c130a9bcd4cdb76b6bd |
19-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement textureSize (TXS) on Gen5+. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rogram/ir_to_mesa.cpp
|
b6bdcf2a908889532ef6d5eb643791176dffcb9d |
18-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Rudimentary support for non-floating point texture results. Not all texturing operations return floating point data. For example, the resinfo message (textureSize or TXS) returns integer data. In the future, we'll also add integer texture support. ir_texture's type field contains this information; use its base type to appropriately type the destination register. We want to keep it as a four component vector, however, since SIMD8 samplers always have a response length of 4. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_visitor.cpp
|
1e3bcbdf31f09666ba358f35ff9486faee3642ca |
25-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Add a new ir_txs (textureSize) opcode to ir_texture. One unique aspect of TXS is that it doesn't have a coordinate. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
rivers/dri/i965/brw_fs_visitor.cpp
rogram/ir_to_mesa.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
29d7a0bb16dba1416e3a63f7f44cf82e307ac46a |
24-Mar-2011 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: call _mesa_set_vp_override in glDrawTex* The driver may install its own vertex shader. _mesa_set_vp_override must be called so that core mesa can generate correct fragment program.. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/drawtex.c
|
69595283b64d1f01b33022c38468376ad8596ea7 |
18-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Abort when DRI2 separate stencil handshake fails When intel_context requires separate stencil but the DRI2 separate stencil handshake fails, then abort and emit an error instructing the user to upgrade the DDX to 2.16.0. CC: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
|
7a5d28908c03c5ce38da3f041d23bfd103a5becd |
22-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl_to_tgsi: Fix a few more struct vs. class warnings. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
tate_tracker/st_glsl_to_tgsi.cpp
|
5379a70d3fabd9cf92a615647f81289d33ae9468 |
20-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: emit a MAD(b, -a, b) for !a && b This is a port of commit ff2cfb8989cd to glsl_to_tgsi.
tate_tracker/st_glsl_to_tgsi.cpp
|
c721d7b7bc70503d2ebb6c742be96371b68bd152 |
20-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix typo
tate_tracker/st_glsl_to_tgsi.cpp
|
9098953ee6e0699e13e35183c817ecf40363d538 |
20-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_binop_all_equal using DP4 w/SGE This is a port of commit ba01df11c4d0 to glsl_to_tgsi with integer support added.
tate_tracker/st_glsl_to_tgsi.cpp
|
f3dce133f0422c42ca61f07f488237107efc30e6 |
20-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_binop_any_nequal using DP4 w/saturate or DP4 w/SLT Implement the any() part of the operation the same way regular ir_unop_any is implemented. This is a port of commit e7bf096e8b04 to glsl_to_tgsi, with added integer support.
tate_tracker/st_glsl_to_tgsi.cpp
|
a43f68810a347f3e952a0bc401be6edb91e1baea |
20-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_unop_any using DP4 w/saturate or DP4 w/SLT This is a port of commit 92ca560d68e8 to glsl_to_tgsi, with integer support added.
tate_tracker/st_glsl_to_tgsi.cpp
|
c15eb5569bf76c5dc41327017b92a5d960207b97 |
18-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: make glsl_to_tgsi_visitor::emit_dp return the instruction
tate_tracker/st_glsl_to_tgsi.cpp
|
691cc0e3a8716a2cdb7271765cd7d4c7465066eb |
17-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_binop_logic_or using an add w/saturate or add w/SLT Logical-or is implemented using addition (followed by clamping to [0,1]) on values of 0.0 and 1.0. Replacing the logical-or operators with addition gives a + b which has a result on the range [0, 2]. Previously a SNE instruction was used to clamp the resulting logic value to [0,1]. In a fragment shader, using a saturate on the add has the same effect. Adding the saturate to the add is free, so (at least) one instruction is saved. In a vertex shader, using an SLT on the negation of the add result has the same effect. Many older shader architectures do not support the SNE instruction. It must be emulated using two SLT instructions and an ADD. On these architectures, the single SLT saves two instructions. Note that SNE is still used when integers are used for boolean values, since there is no such thing as an integer saturate, and older shader architectures without SNE don't support integers. This is a port of commit 41f8ffe5e07c to glsl_to_tgsi with integer support added.
tate_tracker/st_glsl_to_tgsi.cpp
|
8c31bc704826d46cad65c4d65b4b70de7144205a |
17-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement ir_unop_logic_not using 1-x Since our logic values are 0.0 (false) and 1.0 (true), 1.0 - x accurately implements logical not. This is a port of commit 6ad08989d7c1 to glsl_to_tgsi.
tate_tracker/st_glsl_to_tgsi.cpp
|
b81b82df955ad19eec55fa593b533673f083f593 |
17-Aug-2011 |
Chia-I Wu <olvaffe@gmail.com> |
android: build glsl This builds the static library libmesa_glsl and executable glsl_compiler from glsl. glsl_compiler is only installed for engineering build. Reviewed-by: Chad Versace <chad@chad-versace.us>
ndroid.mk
|
ee40f18054088dad8e1d1eca2c44204576813d6b |
17-Aug-2011 |
Chia-I Wu <olvaffe@gmail.com> |
android: build core mesa This builds the static library libmesa_st_mesa from core mesa. Acked-by: Chad Versace <chad@chad-versace.us>
ndroid.gen.mk
ndroid.mk
|
504f92c739ffc916084ed821cb9f437276213057 |
04-Aug-2011 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: android has no log2f nor ffs Define log2f(v) to be logf(v) / M_LN2 and ffs to __builtin_ffs. Reviewed-by: Chad Versace <chad@chad-versace.us>
ain/imports.h
|
a40008ac649acf0e7f47294145fe0b14393f03d3 |
08-Apr-2011 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: fix !FEATURE_GL build Move vbo_exec_FlushVertices_internal out of FEATURE_beginend. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad@chad-versace.us>
bo/vbo_exec_api.c
|
f7d2dcae3b6bf39b14c1e71f0721d0e4a2833962 |
18-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Use align1 mode to set URB_WRITE_HWORD channel enables. Makes the new vertex shader backend work on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
e98ee06776e0ba055e0194836d5813a0bc7e7795 |
12-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Don't double-convert integer/boolean uniforms. When ctx->Const.NativeIntegers is set, Core Mesa loads integer/boolean uniforms directly, rather than loading the floating point equivalent. So, when that's set, we don't need to perform any conversions. Unfortunately, we can't properly support native integers with the old vertex shader backend, so this patch leaves them disabled for now. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
01d81dedc795005ed235856ce762bb1981655716 |
15-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa, glsl_to_tgsi: Add new gl_context::NativeIntegers flag. Previously, native integer support was based on whether the driver advertised GLSL 1.30 or not. However, drivers that natively support integers may wish to do so for older GLSL versions as well. Adding this new opt-in flag allows them to do so. Currently disabled by default on all drivers, which was the existing behavior (no drivers currently implement GLSL 1.30). Fixes piglit tests on i965 with INTEL_GLSL_VERSION=130 set: - spec/glsl-1.10/fs-uniform-int-110.shader_test - spec/glsl-1.30/fs-uniform-int-130.shader_test (it was doubly converting the data) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mtypes.h
ain/uniforms.c
tate_tracker/st_glsl_to_tgsi.cpp
|
07e9b9049f94ceb443eac1206cc3f9e1e51ac6c1 |
18-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
eb86bb55f5faef67c21604db19210c6788592679 |
18-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Change incorrect use of 'struct fs_reg' to simply 'fs_reg'. It's actually a class. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
f4db75547f38f08665efac3daf1599fdc5594bb7 |
17-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Implement proper register allocation instead of 1:1 mapping. Fixes vs-atan-* and several others. This is not the real solution we eventually want, which will pack floats, vec2s, and vec3s into vec4 registers, but this code should provide the framework for that.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
8174945d3346dc049ae56dcb4bf1eab39f5c88aa |
17-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add simple dead code elimination. This is copied right from the fragment shader. It is needed for real register allocation to work correctly.
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
3dadc1e3cceac80a1b63cad2e10f0e0f8904531b |
17-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Copy the live intervals calculation over from the FS. This is a rather pessimistic calculation, since it doesn't distinguish individual channels of a vec4, or elements of an array, but should be a minimum start for register allocation.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_vec4.cpp
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
eb5454f20a7ad998f2789d9b2a91adcd41c887b6 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Remove stale comment about compressed instructions. This was copy'n'paste from the fragment shader, and didn't make sense here.
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
6a6441fc03b4f28bfd2619e4e6d260cf6ea82554 |
18-Aug-2011 |
Lauri Kasanen <cand@gmx.com> |
driconf: Add the PP descriptions Signed-off-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/xmlpool/options.h
rivers/dri/common/xmlpool/t_options.h
|
3e9dc51f82276e57ecfb4e2725d88d83dbedcd85 |
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle array textures in GenerateMipmap(), FramebufferTexture1/2D() This was an unfinished to-do item before. With this patch and the two preceeding patches, piglit's fbo-generatemipmap-array test runs and passes instead of generating a GL error and dying on an assertion. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/fbobject.c
|
0f8c43c34f74b2ebc40ade2944f3b56b7dc606b0 |
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
meta: use fallback mipmap generation for 1D/2D texture arrays We could do 1D/2D arrays with textured quad rendering, but it'll take some work (as with 3D textures). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
0eb18ee55719377ebd90456bde605384ce4ec14a |
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: set Q=1 for OPCODE_TEX execution Q should not be significant for OPCODE_TEX, but it winds up getting passed to the compute_lambda() function. Make sure it's 1.0 to prevent garbage values, which is effectively what we get when the swizzle is coord.xyzz (which is what GLSL gives us). Part of the fix for piglit's fbo-generatemipmap-array test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/prog_execute.c
|
352cab498a6210e1fdd57d6be2a30d33024ef37f |
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: restructure error checking in _mesa_FramebufferTexture1D/2DEXT() In anticipation of adding more texture targets. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/fbobject.c
|
f23c3ebeccc5c591b79c10cbdb693270ef27a2f5 |
13-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Declare _mesa_meta_begin()/end() as public Declare _mesa_meta_begin()/end() in meta.h so that drivers can write custom meta-ops (such as HiZ resolves for i965). This necessitates moving the the META_* macros into meta.h. To prevent naming collisions, this commit renames each macro to be MESA_META_*. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/common/meta.c
rivers/common/meta.h
|
ccecc08f79afc020c8c0acface04a8e53e3a7c32 |
18-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT() The spec says GL_INVALID_OPERATION is generated when texture!=0 and textarget is not a legal value. We had this right for the 2D function.
ain/fbobject.c
|
e9ae4cadf5008f25aeae1bf4fa0c9c3397ee8c18 |
16-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
glapi: update .gitignore for generated ES dispatch headers Commit 6eff33dc (glapi: generate ES dispatch headers from core mesa) replaced the autogenerated files src/mapi/es1api/main/{dispatch,remap_helper}.h with new autogenerated files src/mesa/main/api_exec_es{1,2}_{dispatch,remap_helper}.h. This patch updates the .gitignore files to properly ignore the new autogenerated files, and stop ignoring the old autogenerated files. Reviewed-by: Chia-I Wu <olv@lunarg.com>
ain/.gitignore
|
3f78f719732b87e6707f94c187ad6e263c6c2ef0 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix 32-bit integer multiplication. The MUL opcode does a 16bit * 32bit multiply, and we need to do the MACH to get the top 16bit * 32bit added in. Fixes fs-op-mult-int-*, fs-op-mult-ivec* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
718b894dbb585af52dd24defb2e8c130216e5485 |
17-Aug-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect loop over instruction src regs The array of src regs is of size 3, not 4.
tate_tracker/st_glsl_to_tgsi.cpp
|
59e56957cce16e5d993974e4b7f339afc9cb949b |
01-Jul-2011 |
Lauri Kasanen <cand@gmx.com> |
xmlpool.h: fix a typo
rivers/dri/common/xmlpool.h
|
b629d5ba24f76ed6af35455a874d351fde1e5bbe |
01-Jul-2011 |
Lauri Kasanen <cand@gmx.com> |
xmlconfig: Make the error message more informative
rivers/dri/common/xmlconfig.c
|
7125f1e87df359be4aad1d801b633146eeac7292 |
04-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Bump instruction execution limit to 65536 Shader Model 3.0[1] requires that shaders be able to execute at least 65536 instructions. Bump Mesa maxExec to that limit. This allows several vertex shaders in the OpenGL ES 2.0 conformance test suite to run to completion. 1: http://en.wikipedia.org/wiki/High_Level_Shader_Language Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/prog_execute.c
|
54c48a95e6e0573886433f94ac83293876ffe03d |
11-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add partial constant propagation pass for Mesa IR This cleans up some code generated by the IR-to-Mesa pass for i915. In particular, some shaders involving arrays of constant matrices result in really bad code. v2: Silence several warnings from merging the gl_constant_value work. Fix DP[23] folding. Add support for a bunch more opcodes that appear in piglit runs on i915. Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
rogram/prog_opt_constant_fold.c
rogram/prog_optimize.c
rogram/prog_optimize.h
ources.mak
|
ff2cfb8989cd79218dfe2cd8c3de20f1ca7418e6 |
02-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Emit a MAD(b, -a, b) for !a && b !a && b occurs frequently when nexted if-statements have been flattened. It should also be possible use a MAD for (a && b) || c, though that would require a MAD_SAT. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
ba01df11c4d09c65514a8522cb319e29034ab5a8 |
04-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Implement ir_binop_all_equal using DP4 w/SGE The operation ir_binop_all_equal is !(a.x != b.x || a.y != b.y || a.z != b.z || a.w != b.w). Logical-or is implemented using addition (followed by clampling to [0,1]) on values of 0.0 and 1.0. Replacing the logical-or operators with addition gives !bool((int(a.x != b.x) + int(a.y == b.y) + int(a.z == b.z) + int(a.w == b.w)). This can be implemented using a dot-product with a vector of all 1.0. After the dot-product, the value will be an integer on the range [0,4]. Previously a SEQ instruction was used to clamp the resulting logic value to [0,1] and invert the result. Using an SGE instruction on the negation of the dot-product result has the same effect. Many older shader architectures do not support the SEQ instruction. It must be emulated using two SGE instructions and a MUL. On these architectures, the single SGE saves two instructions. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
e7bf096e8b04931996c8c56548ce0b2c0af3a0dc |
04-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Implement ir_binop_any_nequal using DP4 w/saturate or DP4 w/SLT The operation ir_binop_any_nequal is (a.x != b.x) || (a.y != b.y) || (a.z != b.z) || (a.w != b.w), and that is the same as any(bvec4(a.x != b.x, a.y != b.y, a.z != b.z, a.w != b.w)). Implement the any() part the same way the regular ir_unop_any is implemented. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
92ca560d68e8a6b532998707afcf4f60c0ce2806 |
04-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Implement ir_unop_any using DP4 w/saturate or DP4 w/SLT This is just like the ir_binop_logic_or case. The operation ir_unop_any is (a.x || a.y || a.z || a.w). Logical-or is implemented using addition (followed by clampling to [0,1]) on values of 0.0 and 1.0. Replacing the logical-or operators with addition gives (a.x + a.y + a.z + a.w). This can be implemented using a dot-product with a vector of all 1.0. Previously a SNE instruction was used to clamp the resulting logic value to [0,1]. In a fragment shader, using a saturate on the dot-product has the same effect. Adding the saturate to the dot-product is free, so (at least) one instruction is saved. In a vertex shader, using an SLT on the negation of the dot-product result has the same effect. Many older shader architectures do not support the SNE instruction. It must be emulated using two SLT instructions and an ADD. On these architectures, the single SLT saves two instructions. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
7f4c65256cc3f4d9f6a214424beabe688a5dd6a2 |
30-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Make ir_to_mesa_visitor::emit_dp return the instruction Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
41f8ffe5e07c4f389eb13d17ecf0ff776890e9bc |
30-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Implement ir_binop_logic_or using an add w/saturate or add w/SLT Logical-or is implemented using addition (followed by clampling to [0,1]) on values of 0.0 and 1.0. Replacing the logical-or operators with addition gives a + b which has a result on the range [0, 2]. Previously a SNE instruction was used to clamp the resulting logic value to [0,1]. In a fragment shader, using a saturate on the add has the same effect. Adding the saturate to the add is free, so (at least) one instruction is saved. In a vertex shader, using an SLT on the negation of the add result has the same effect. Many older shader architectures do not support the SNE instruction. It must be emulated using two SLT instructions and an ADD. On these architectures, the single SLT saves two instructions. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
6ad08989d7c10892919ce1cb9c88c4cf8b73e1dc |
30-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Implement ir_unop_logic_not using 1-x Since our logic values are 0.0 (false) and 1.0 (true), 1.0 - x accurately implements logical not. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
3c9f172fe801a8e954a40affc38942b628b81bda |
15-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add Android to list of platforms that define fpclassify() This is a fix for the Android build. Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/querymatrix.c
|
bd064a49f119d126623c0e85702801e4cee62187 |
15-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Fix Android build by #ifdef'ing out locale support Bionic does not support locales. This commit #ifdef's out the locale usage in _mesa_strtof(). Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/imports.c
|
eb0ff1a1c0f1978d867c748bf2525f717a56bfce |
15-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Remove use of fpu_control.h Remove the inclusion of fpu_control.h from compiler.h. Since Bionic lacks fpu_control.h, this fixes the Android build. Also remove the sole use of the fpu_control bits, which was in debug.c. Those were brianp's debug bits, and he approved of their removal. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/compiler.h
ain/debug.c
|
0ddf0f1c3451eef8a7c7f46afca623dc4f7c5af6 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix multiplies to actually do 32-bit multiplies. Fixes vs-op-mult-int-int and friends.
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
7bf70c29adf175f51d0347d0187aecc0e9bbbcb8 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for conversion of FIXED_HW_REG src_reg to/from dst_reg. This was quietly occurring in some emit code I produced, and failed.
rivers/dri/i965/brw_vec4_visitor.cpp
|
e9a86ae3370948acb1276e80fbbc421d7025db36 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix memory leak of ralloc context for the visitor.
rivers/dri/i965/brw_vec4_visitor.cpp
|
feff7c62ce446f4e3bb755a2f40dcbd0e70155e4 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix condition code for scalar expression all_equals. Fixes vs-op-eq-bool-bool.
rivers/dri/i965/brw_vec4_visitor.cpp
|
8a649277cb57cc13fb38f8e8daf07e8a2b96223c |
12-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Don't assertion fail on vertex texturing. The linker will reject the program, but we need to survive until then. Fixes abort in glsl1-2D Texture lookup with explicit lod (Vertex shader)
rivers/dri/i965/brw_vec4_visitor.cpp
|
d0c595ac8032aa9aed402a513870b8dc92e42903 |
12-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Force WHILE exec size to 8. We can't just look at the instruction that happens to appear at the start of the loop, because it might be some other exec size and cause us to only loop on the first N channels. We always want 8 in our current code (since 16 doesn't work so we don't do 16-wide fragment in that case). Fixes loop-03.vert, which was triggering the assertions.
rivers/dri/i965/brw_eu_emit.c
|
905f3d03090c7b86e410959c5640054f5f6894ef |
12-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Remove remaining use of foreach_iter.
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
54e66a0a6327b55f15a7c641ec68da505ff19a35 |
12-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix abs/negate handling on attributes. Fixes glsl-vs-neg-attribute and glsl-vs-abs-attribute.
rivers/dri/i965/brw_vec4_emit.cpp
|
7642c1de6b65b7dfd9e39904291cc9737cd54b56 |
11-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Avoid generating a MOV for most ir_assignment handling. Removes an average of 11.5% of instructions in 54% of vertex shaders in shader-db.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
7fbe7fe13359d3f349664410ec73d7bd48824ed6 |
11-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Run the shader backend at link time and return compile failures. Link failure is something that shouldn't happen, but we sometimes want it during development. The precompile also allows analysis of shader codegen with shader-db.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
d376fa8e84b044ead47586d1b56a10742bcbdac7 |
16-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix assertion failure on a loop consisting of while (true) { break }. On enabling the precompile step in the VS, we tripped over this assertion failure in glsl-link-bug-30552.
rivers/dri/i965/brw_eu_emit.c
|
e8980c61b2932cd4c8791fcc5afdb54fa033c224 |
11-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix the trivial register allocator's failure path.
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
193a9a209d5121e2c20f1d20c61587b1e3d0603d |
10-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for if(any(bvec)) on gen6.
rivers/dri/i965/brw_vec4_visitor.cpp
|
072d64121e13ad6bcb9b703090de1ee4a59f7096 |
10-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for GL_FIXED attributes. Fixes arb_es2_compatibility-fixed-type
rivers/dri/i965/brw_vec4_emit.cpp
|
aed5e353e95f47773864c6e61c506b9ddad0e2e9 |
10-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Clamp vertex color outputs when required by ARB_color_buffer_float. Fixes glsl-vs-vertex-color.
rivers/dri/i965/brw_vec4_visitor.cpp
|
a55fbbc1a2b579aed1e80036367b521ef6928f66 |
10-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix access of attribute arrays. By leaving out the column index, we were reading an unallocated attribute on glsl-mat-attribute.
rivers/dri/i965/brw_vec4_emit.cpp
|
fea7d34b3545878ce00914f388e1eeebf55f7748 |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix builtin uniform setup. I want to intelligently pack them at some point, but for now we have the params set up in groups of 4. Fixes glsl-vs-normalscale.
rivers/dri/i965/brw_vec4_visitor.cpp
|
0b359e3ea015576d0e75bf5ec19aceef337311a3 |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for loops. This is copied from brw_fs.cpp, instead of doing the temporary IR generation that ir_to_mesa does. Fixes glsl-vs-loop and friends.
rivers/dri/i965/brw_vec4_visitor.cpp
|
abf843a797876b5e3c5c91dbec25b6553d2cc281 |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for ir_binop_pow. Fixes vs-pow-float-float.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
250770b74d33bb8625c780a74a89477af033d13a |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Respect the gen6 limitation that math opcodes can't be align16. Fixes vs-acos-vec3 and friends.
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
6408b0295f5c8be6fea891a025d79752484721b6 |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix implementation of ir_unop_any. We were inheriting whatever previous predicate existed.
rivers/dri/i965/brw_vec4_visitor.cpp
|
7b91eefe7cbe771397684b5970f7c04313baa2f0 |
09-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Slightly improve the trivial reg allocator to skip unused regs. This fixes most of the regressions in the vs array test set from the varying array indexing work, since the giant array that was originally allocated in virtual GRF space never gets used and is only ever read/stored from scratch space.
rivers/dri/i965/brw_vec4_reg_allocate.cpp
|
e94bdbe04a4f0adb73ab92153987f0c9f48814f7 |
08-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add gen6 disassembly for DP render cache messages.
rivers/dri/i965/brw_disasm.c
|
54fa706d6f06955221cb6b452b5b170bfaaceef4 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Enable variable array indexing in the VS.
rivers/dri/i965/brw_shader.cpp
|
584ff407482fd3baf5ce081dbbf9653eb76c40f1 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for scratch read/write codegen.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
|
0f22f98ccd69bb5e8df3c78203bce9bc630965c1 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Make some EU emit code for DP read/write messages non-static. We keep building these strange interfaces for DP read/write where there's a helper function with some partially-specific, partially-general controls, which is used in exactly one place in code generation. Making these public will let us set up those instructions in the one place they're to be generated.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
d0e4d71070cd7fa197ed98612782484ec1f27123 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Move virtual GRFs with array accesses to them to scratch space.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
758c3c2b4588f235def48b2f28c0479a70f7c194 |
08-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Reserve MRF 14/15 for array loads/register unspilling.
rivers/dri/i965/brw_vec4_visitor.cpp
|
1ff4f11dd94711a498cde0330101c58636ef2741 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Track the variable index of array accesses. This isn't used currently, as we lower all array accesses.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
314c2574ff6e562a6cfc5fb84980f092e495a948 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add remaining scratch space setup emit to unit states.
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
2b224d66a01f3ce867fb05558b25749705bbfe7a |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Set up allocation of a VS scratch space if required.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_wm.c
|
e355b179b2bd42a585464f17759764083fa3ef26 |
07-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead brw->wm.max_threads field.
rivers/dri/i965/brw_context.h
|
160a5a3ff0fc826a2978c6bea6de21b445f612e9 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for VUEs larger than a single URB write. Fixes glsl-max-varyings.
rivers/dri/i965/brw_vec4_visitor.cpp
|
31ef2e3ec2f5837eea0899b4bda5ea15e335a6a2 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Avoid generating extra moves when setting up large ir_constants. We were also screwing up the types in the process, and just not emitting moves was easier.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
aba9801996f2f524a765df378c234a7645b3a5d1 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix types of varying outputs. For structs/arrays/matrices, they were ending up as uint because we forgot to set them. All varyings in GLSL 1.20 are of base type float, so just force the matter here (which gets inherited at emit_urb_writes() time). Fixes vs-varying-array-mat2-col-rd.
rivers/dri/i965/brw_vec4_visitor.cpp
|
979072613139870f12e329e4b483c7f688b40560 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Handle assignment of structures/arrays/matrices better. This gets the right types on the instructions, as well as emitting minimal swizzles/writemasks.
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_visitor.cpp
|
930afd1774bdcd013bccbd7b5717ae0bb8e3dea3 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Don't forget to set up assignment condition code for arrays/structs. Fixes vs-uniform-array-mat2-index-col-rd.
rivers/dri/i965/brw_vec4_visitor.cpp
|
cda28bca0d789c328d19bf90afd35a5ff74cfb77 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Apply the gen6 math workaround for math1 instructions. Fixes glsl-vs-masked-cos.
rivers/dri/i965/brw_vec4_visitor.cpp
|
2b7632aeaa5f8b4ab3da7d33a3c71c71023a072a |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for if(any_nequal()) and if(all_equal()) on gen6. Fixes vs-temp-array-mat2-col-rd.shader_test.
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
|
c3752b399ab376aa53392afb8f2d4b526054f0a8 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Add support for dot product opcodes. Fixes glsl-vs-dot-vec2.
rivers/dri/i965/brw_vec4_emit.cpp
|
8e947c2546c25c0dfa93b538e54113af1bf582df |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix the types of array/struct dereferences. Fixes glsl-vs-arrays-3.
rivers/dri/i965/brw_vec4_visitor.cpp
|
814a9bef30beda427e8fbf6f3b8abb6a45f0e2e4 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Drop the assertion about dst.reg_offset == 0. Adding the offset is the right thing to do here, and fixes glsl-vs-mat-add-1.
rivers/dri/i965/brw_vec4_emit.cpp
|
e5363c7fd2ed6318e86ba4a62adc0c2377e51eef |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Use an appropriate swizzle on src regs from variables. Fixes glsl-vs-if-bool.
rivers/dri/i965/brw_vec4_visitor.cpp
|
eca762d831e099b549dafa0be896eac82b3fceb9 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix support for zero uniforms in use. We were looking for attributes in the wrong place, and pointlessly doing the work on gen6 at all.
rivers/dri/i965/brw_vec4_emit.cpp
|
164ccd27787e0df4ae6f85a7178aff0720d56ac9 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix support for "IF" instructions by copying brw_fs_visitor.cpp. Fixes glsl-vs-if-greater.
rivers/dri/i965/brw_vec4_visitor.cpp
|
aa753c5a14637ede804e8043762693122174bf8c |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Disable loops for now until rendering is generally correct.
rivers/dri/i965/brw_vec4_visitor.cpp
|
bb468fc1ede9b0a5231ebfaa51df444502d33654 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix ir_swizzle handling. I decided to refactor it a bit in adapting ir_to_mesa.cpp code, and mangled it. Fixes glsl-vs-cross-2.
rivers/dri/i965/brw_vec4_visitor.cpp
|
78fac1892a3a7a90eb7baf78903d70649028d27a |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Allocate storage for "auto" variables just like temps. Fixes segfault in glsl-vs-cross-2.
rivers/dri/i965/brw_vec4_visitor.cpp
|
82aa9299fbfe92d2526fa9f7ffd2a1ebc7827ee9 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Allow scalar values in assignments, too. Fixes glsl-vs-all-02 and many other tests.
rivers/dri/i965/brw_vec4_visitor.cpp
|
c0f334a3ed3c6645abd1812e39cd52f1dfa32fa1 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Don't emit an extra copy of the vertex position. Fixes glsl-vs-abs-neg, glsl-vs-all-01, and probably many other tests.
rivers/dri/i965/brw_vec4_visitor.cpp
|
4a4857246c79c42d918a84d7e28e9afff3a9ef6d |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Port the fix for clip plane writemasks from brw_vs_emit.c.
rivers/dri/i965/brw_vec4_visitor.cpp
|
83d5850518388202c5589d3181b84fb54c213fb1 |
06-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Fix constant vector construction. Fixes some issues noticed in glsl-vs-all-01.
rivers/dri/i965/brw_vec4_visitor.cpp
|
a070d5f363e99b0f846d555e9ca3a74ec807fdc0 |
04-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: Start adding support for uniforms There's no clever packing here, no pull constants, and no array support.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
af3c9803d818fd33139f1247a387d64b967b8992 |
02-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Start adding the VS visitor and codegen. The low-level IR is a mashup of brw_fs.cpp and ir_to_mesa.cpp. It's currently controlled by the INTEL_NEW_VS=1 environment variable, and only tested for the trivial "gl_Position = gl_Vertex;" shader so far.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_shader.h
rivers/dri/i965/brw_vec4.h
rivers/dri/i965/brw_vec4_emit.cpp
rivers/dri/i965/brw_vec4_reg_allocate.cpp
rivers/dri/i965/brw_vec4_visitor.cpp
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
65b5cbbcf783f6c668ab5b31a0734680dd396794 |
05-Aug-2011 |
Eric Anholt <eric@anholt.net> |
i965: Rename math FS_OPCODE_* to SHADER_OPCODE_*. I want to just use the same enums in the VS.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
6034b9a5124475d300d0678bd2fb6160865fa972 |
03-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Create a shared enum for hardware and compiler-internal opcodes. This should make gdbing more pleasant, and it might be used in sharing part of the codegen between the VS and FS backends.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_shader.h
|
c1f00731fd48dde68b67f157c27eb20982e82193 |
04-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Generate driver-specific IR for non-fragment shaders as well. This will be used by the new vertex shader backend. The scalarizing passes are skipped for non-fragment, since vertex and geometry threads are based on vec4s.
rivers/dri/i965/brw_shader.cpp
|
11e4ea0010c3a756cfdaf427c14e104c9a11a645 |
16-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: ChooseTextureFormat() returns gl_format, not GLuint
ain/dd.h
|
5880a9a4a7247e4c31df606bef089c45b4052aaa |
04-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Explain to the user what went wrong when built without libdrm. Before this commit, even LIBGL_DEBUG=verbose would just fail with: libGL error: failed to create dri screen
rivers/dri/radeon/radeon_bocs_wrapper.h
|
6eff33dc7f2cd6e1430bd8dcaef4a7eb9fe3f6ee |
11-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
glapi: generate ES dispatch headers from core mesa GLESv1 and GLESv2 have their own dispatch.h and remap_helper.h. These headers are only used by api_exec_es1.c and api_exec_es2.c in core mesa. Move the rules to generate them from glapi to core mesa. Reviewed-by: Brian Paul <brianp@vmware.com> [olv: updated after reviewing to fix SCons build]
akefile
Conscript
ain/es_generator.py
|
5076561b35b9c2c78f277ab03bf1e642094ee20e |
08-Aug-2011 |
Chia-I Wu <olv@lunarg.com> |
glapi: use gl_and_es_API.xml to generate GLES headers glapi/gen-es/ defines two sets of GLAPI XMLs for OpenGL ES 1.1 (es1_API.xml) and 2.0 (es2_API.xml) respectively. They are used to generate dispatch.h and remap_helper.h for GLES. Together with gl_and_es_API.xml, we have to maintain three sets of GLAPI XMLs. This commit makes dispatch.h and remap_helper.h for GLES be generated from gl_and_es_API.xml. Reviewed-by: Brian Paul <brianp@vmware.com>
Conscript
|
9cd64ec35acd54cbe0be4d03236d2c5a9d4be6fe |
11-Aug-2011 |
Chad Versace <chad@chad-versace.us> |
x86-64: Fix compile error with clang Remove the 'f' suffix from a float literal. - .float 0.0f+1.0 + .float 1.0 This fixes the following compile error with clang: error: unexpected token in directive .float 0.0f+1.0 ^ Note: This is a candidate for the stable branches. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
86-64/xform4.S
|
099aad2fb0dba8baff61dc7a6803c6c976c08069 |
11-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix initialization of GL_FOG_MODE in _mesa_init_driver_state()
rivers/common/driverfuncs.c
|
9b8287f8f5398647ced3a52885233d58e548c2b7 |
11-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix ColorMask array index in _mesa_init_driver_state() This doesn't really make any difference because all the colormasks are the same upon context set-up, but it makes more sense.
rivers/common/driverfuncs.c
|
37a64baea87c470a68f9b2582af86783eb3509c4 |
11-Aug-2011 |
Brian Paul <brianp@vmware.com> |
swrast: don't try to do depth testing if there's no depth buffer Fixes piglit hiz-depth-stencil-test-fbo-d0-s8 crash. See http://bugs.freedesktop.org/show_bug.cgi?id=37907 NOTE: This is a candidate for the 7.11 branch.
wrast/s_stencil.c
|
e411cd7b0a54d2f9b9f4cda4918aa7742ed5c2a6 |
10-Aug-2011 |
Andreas Fänger <a.faenger@e-sign.com> |
swrast: initial multi-threaded span rendering Optional parallel rendering of spans using OpenMP. Initial implementation for aa triangles. A new option for scons is also provided to activate the openmp support (off by default). Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_texcombine.c
nl/t_pipeline.c
|
fa351bd2e0aecccd5ed6ef8744d5ba4a6dbf5d2c |
08-Aug-2011 |
Ben Widawsky <ben@bwidawsk.net> |
intel: GetBuffer fix After copy buffer on preGEN6, it is necessary to wait for the blit to complete before returning data to the user. This should fix the piglit test: copy_buffer_coherency (pre-GEN6). Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_buffer_objects.c
|
09eeb0ff27005c0ffccd5cdbe46862e181a4ee6c |
10-Aug-2011 |
Carl Simonson <simonsonc@gmail.com> |
i830: Add missing vtable entry for i830 from the hiz work.
rivers/dri/i915/i830_vtbl.c
|
c9e81fe14f36933617c862efb15ae09194485eab |
15-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop the reg/hw_reg distinction. "reg" was set in only one case, virtual GRFs pre register allocation, and would be unset and have hw_reg set after allocation. Since we never bothered with looking at virtual GRF number after allocation anyway, just use the same storage and avoid confusion.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
b1f0bffd399f377a19b0541e1d834afad8b9dad0 |
09-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Factor out the register allocator setup to a separate function. Besides separating out a logical step of the giant register allocator function, this now communicates a bunch of the allocator information through entries in brw_context, which will make this code partially reusable for caching the expensive allocator setup.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
4e10d5825b31d2c58c0af3e29b7fc2eacb2b4709 |
06-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Simplify the register allocator using a map from RA reg to GRF. It's fewer pointers to track, and when we start caching the register set, should be algorithmically better in the cache hit case (lookup in a byte-per-register array, instead of a linear walk through desctiption of register classes to find how to translate that class).
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
b76378d46a211521582cfab56dc05031a57502a6 |
04-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Eliminate the magic nature of virtual GRF 0. This was a debugging aid at one point -- virtual grf 0 should never be allocated, and it would be used if undefined register access occurred in codegen. However, it made the confusing register allocation code even more confusing by indexing things off of 1 all over.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
bbcf13adbe525bd389a65ba15dd7831a56b8b13c |
04-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Use the new convenience interface for setting up reg conflicts. That code I wrote was impenetrable, and hard to write the first time. This makes things a lot more obvious.
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
fa43477fa33c068915283d511b64e3d6470ccd73 |
04-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a convenience interface for register allocator conflicts setup.
rogram/register_allocate.c
rogram/register_allocate.h
|
e6c64800cc8833fb4083a556c839b51e8ac84a8b |
09-Aug-2011 |
Henri Verbeet <hverbeet@gmail.com> |
glsl_to_tgsi: improve assignment hack Fixes StarCraft 2 and Fallout 3 in Wine.
tate_tracker/st_glsl_to_tgsi.cpp
|
afd1d857752b5c30a3082068f8bb9002e0c69699 |
09-Aug-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
swrast: silence unused var warnings Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_span.c
|
ffb7d02154186402f64e0b628998485309774bb8 |
07-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: inline st_prepare_fragment_program in st_translate_fragment_program This reverts an unnecessary part of commit 4683529048ee and fixes misrendering and an assertion failure in Cogs. Fixes freedesktop.org bug 39888. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_program.c
tate_tracker/st_program.h
|
8488112d20d49d3dc7fefef19c6e550e4b71661c |
05-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace changes
rogram/prog_parameter.h
|
425b179fafe93ddf4abacbccb67ed6aecbef6a7e |
05-Aug-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: don't resolve stencil twice
tate_tracker/st_cb_blit.c
|
db726b048e8858af226dbd0f0fda72d0be01394e |
31-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: In validate_program(), initialize errMsg for safety. validate_program relies on validate_shader_program to fill in errMsg; empirically, there exist cases where that doesn't happen. While tracking those down may be worthwhile, initializing the string so we don't try to ralloc_strdup random garbage also seems wise. Fixes issues caught by valgrind while running some test case. NOTE: This is a candidate for stable release branches. Reviewed-by: Chad Versace <chad@chad-versace.us> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/shaderapi.c
|
a9e97d022cb68266639eb54947517454c8ffe45e |
05-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix warnings from gl_constant_parameter changes.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_pass0.c
|
5164244df02f33d6ad9e0a286f4b6d6af2dfbc75 |
05-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: replace open-coded swizzle_for_size() This is a port of commit 4c7e215c7bb to glsl_to_tgsi.
tate_tracker/st_glsl_to_tgsi.cpp
|
b44648c9186d403abaeeeb3190d6759f951a49e4 |
05-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: try to avoid emitting a MOV_SAT to saturate an expression tree This is a port of commit 62722d9 to glsl_to_tgsi, with minor aesthetic changes (moved the declaration and assignment of new_inst inside the if block).
tate_tracker/st_glsl_to_tgsi.cpp
|
4c7e215c7bb09f827df630cbfc80e87869351f18 |
03-May-2011 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Replace open-coded swizzle_for_size()
rogram/ir_to_mesa.cpp
|
62722d90af9d43d889af33b080a682f2004e049c |
22-Jul-2011 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Try to avoid emitting a MOV_SAT to saturate an expression tree. Fixes a regression in codegen quality for ff_fragment_shader conversion to GLSL -- glean texCombine produces 7.5% fewer Mesa IR instructions.
rogram/ir_to_mesa.cpp
|
6bd5f43f212962a054a41290b0f8e350dae2f40d |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
prog_optimize: Add support for saturates to _mesa_merge_mov_into_inst. This fixes the remaining regression from ff_fragment_shader in Mesa IR instruction count, to now being a 1.9% win overall.
rogram/prog_optimize.c
|
9998df36c271810ecf20041bf6bed28f3952a94f |
26-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add dumping for gen6 WM constants too. This looks just like the VS dump for now.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/gen6_wm_state.c
|
69dc529da241747888efefdf0d3e58479dd6248c |
28-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove dead "MemPool" field of gl_shader_state.
ain/mtypes.h
|
ee0373b833155804bb8846c6f05f897b9ee5afa6 |
26-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Don't upload unused uniform components. This saves both register space and upload bandwidth for unused values. Note that previously we were relying on the visitor not initially generating references to different sets of uniforms between the 8-wide and 16-wide code generation, and now we're relying on them dead-code eliminating the same stuff, too.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
0722edc59cd526437c2d4bad474b934dad84d789 |
28-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Don't allocate the old backend's compile structs for our compile. This saves some 35MB when the program only uses GLSL shaders.
rivers/dri/i965/brw_wm.c
|
6e7942936c5de59f509779b6f7620d80d2fbc21a |
05-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unused-but-set variables in st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
c251d83d916336f95109363e919920a024947230 |
04-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
vbo: do not call _mesa_max_buffer_index in debug builds That code drops performance in Unigine Heaven and Tropics by a factor of 10. That's too crazy even for a debug build. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_array.c
|
a48118e510fcbb57634a7869cb628123fa8c3f2e |
05-Aug-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove MSVC stdint typedefs from compiler.h. MSVC can now include the stdint.h at include/c99/stdint.h.
ain/compiler.h
|
bf8d06c518a8e17e485b18ba03be3e1b45cc7327 |
05-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: pass correct constant type to _mesa_fetch_state() Fixes assorted warnings about float vs. gl_constant_value pointers.
rogram/prog_statevars.c
|
324857599b2a4735c86e54da9a1776c034dadf72 |
05-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_constant_value type in ARB program parser
rogram/program_parse.y
rogram/program_parser.h
|
a0eb83401ef599e597b72e70c8856e1bc0f59dcc |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_constant_value type in _mesa_[Get]ProgramNamedParameter4fNV()
ain/nvprogram.c
|
d7f2e38fca38a5521e930242be46be5a70a9cbd3 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add st_glsl_to_tgsi.cpp to Sconscript
Conscript
|
1c8d079e205919b24e04efdc2421c18d03f078ff |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix out of bounds array access in rtgc debug code Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39841 This would only be hit if someone set RGTC_DEBUG=1.
ain/texcompress_rgtc_tmp.h
|
d6a0692f9dc055c5e5f0e7c806537ad24aa13709 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: don't use K&R style function pointer calls
ain/texobj.c
|
4683529048ee133481b2d8f1cae1685aa1736f9a |
04-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
Merge branch 'glsl-to-tgsi' Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
|
9adcab9cd464d659288e31e6767efb5dee3894ff |
04-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: replace duplicated create_color_map_texture() function with shared function
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
b7e89115310628310bf458a33f2df2bf23384cf3 |
02-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: remove debugging printf
tate_tracker/st_glsl_to_tgsi.cpp
|
50073563b2bfe3716b3dc8b1ed2f91381ba24305 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence int/float and double/float conversion warnings
tate_tracker/st_cb_bitmap.c
|
09ba2527e885f6134002205716a44d01d83638c3 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: move declaration before code
tate_tracker/st_cb_blit.c
|
192baaac0fc4701e82dcc3e19b3033f81dd82a62 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor comment updates in enable.c
ain/enable.c
|
1e89a526c6cd21852b440904711c5ee733ce1ad2 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace, formatting fixes in GetTexParameter() code
ain/texparam.c
|
02d81dfcaf073b5f7073d405e931b3d3e9f577ef |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add null ptr checks in GetTexParameterI[u]iv() functions
ain/texparam.c
|
1254a2b2e45c6961a57d9c60f561907183ef7de7 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: condense GL_TEXTURE_RESIDENT query code
ain/texparam.c
|
88a4f2fe543d7c394c0ad732ae60f8cf94c0d357 |
04-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make error handling in glGetTexParameter() a bit more concise
ain/texparam.c
|
f253d83bc72e7d26df8cd3a04747b3d46a8543e6 |
03-Aug-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: implement multisample resolve via BlitFramebuffer
tate_tracker/st_cb_blit.c
|
57590e173b6f421b1015190aa3c0011ea55f31d8 |
28-Jul-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
st/mesa: determine Const.MaxSamples in init_extensions v2: Check for non-pow2 sample counts as well.
tate_tracker/st_extensions.c
|
e0e4c2e30552e524c91b2eb98a2dabdcd4666169 |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove some remaining set-but-unused variables. These looked more like copy-and-paste to me than the others (which looked more like possibly someone forgot to write some code in a refactor), so I didn't verify where they came from.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_cs_legacy.c
|
8de1d42f244f6315c471b01ef52a61f61d227c6d |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove set-but-unused variables in radeon_lock.c These have been unused since this function's introduction in the FBO support development around 2009.
rivers/dri/radeon/radeon_lock.c
|
f5e612ab594689c7736f8af082e88c107bd7582c |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove set-but-unused variables in radeonSetTexBuffer2() variants. These have been unused since 2009.
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
25fffa9364baef76a7e7e875be1fb3c4f10aadfd |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove set-but-unused log2depth variable. r100 doesn't support 3D GL_EXT_texture3D.
rivers/dri/radeon/radeon_texstate.c
|
7cf799d47269ce01d3e5981709744a16b7c2756c |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove set-but-unused color_mask variable. This has been around since the initial import in 2003 and never used.
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
0f1aae3ae7cef051f87dae056c46fcfd0afaab20 |
02-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix unused variable warning.
rivers/dri/intel/intel_fbo.c
|
0290a018a50bd4a3180af3233f145f4de7b63706 |
10-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacks This makes piglit a lot more happy. The errors are logged when INTEL_DEBUG=fallbacks because the application is about to hit a big software fallback. We frequently ask people to run applications that are hitting software fallbacks with INTEL_DEBUG=fallbacks so the we can help them debug the reason for the software fallback. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_program.c
|
3bb2f0dde1cd813a0b5e0b45be376f4d6606aeb8 |
26-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Fail without crashing if a Mesa IR program uses too many registers This can only happen in GLSL shaders because assembly shaders that use too many temps are rejected by core Mesa. It is easiest to make this happen with shaders that contain flow-control that could not be lowered. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i915/i915_fragprog.c
|
322c3bf9dc4c6edbf5a8793475ce1307e1c0186b |
26-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Emit warnings instead of errors for IR that can't be lowered Rely on the driver to do the right thing. This probably means falling back to software. Page 88 of the OpenGL 2.1 spec specifically says: "A shader should not fail to compile, and a program object should not fail to link due to lack of instruction space or lack of temporary variables. Implementations should ensure that all valid shaders and program objects may be successfully compiled, linked and executed." There is no provision for saying "No" to a valid shader that is difficult for the hardware to handle, so stop doing that. On i915 this causes a large number of piglit tests to change from FAIL to WARN. The warning is because the driver still emits messages to stderr like "i915_program_error: Unsupported opcode: BGNLOOP". It also fixes ES2 conformance CorrectFull_frag and CorrectParse1_frag on i915 (and probably other hardware that can't handle loops). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
8aadd89d07d750aadd10989fa9c81f8a2fdd98e2 |
26-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Use Add linker_error instead of fail_link The functions were almost identical. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
89193933cbd322cd08fb54232411a8a9221fcca8 |
29-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Ensure that gl_shader_program::InfoLog is never NULL This prevents assertion failures in ralloc_strcat. The ralloc_free in _mesa_free_shader_program_data can be omitted because freeing the gl_shader_program in _mesa_delete_shader_program will take care of this automatically. A bunch of this code could use a refactor to use ralloc a bit more effectively. A bunch of the things that are allocated with malloc and owned by the gl_shader_program should be allocated with ralloc (using the gl_shader_program as the context). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/shaderobj.c
|
81b036b4d79423c194596461b098a525af0102c2 |
31-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen5+: Fix incorrect miptree layout for non-power-of-two cubemaps. For power-of-two sizes, h0 == mt->height0 since it's already a multiple of two. However, for NPOT, they're different; h1 should be computed based on the original size. Fixes piglit test "cubemap npot" and oglconform test "textureNPOT". NOTE: This is a candidate for stable release branches. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_tex_layout.c
|
189e9f12c7d3a82d7dd28695935a83e4319bb267 |
27-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: copy reladdr in st_src_reg(st_dst_reg) constructor This is a glsl_to_tgsi port of commit f7cd9a858c04.
tate_tracker/st_glsl_to_tgsi.cpp
|
3e7fce9773ec332665326a785b6ed1fcf5bd578e |
27-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: add each relative address to the previous This is a glsl_to_tgsi port of commit d6e1a8f71437.
tate_tracker/st_glsl_to_tgsi.cpp
|
10d31cb307f90a08fafed5c67945ffe53d279940 |
27-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: lower all ir_quadop_vector expressions Unlike Mesa IR, TGSI doesn't have a SWZ opcode.
tate_tracker/st_glsl_to_tgsi.cpp
|
3354a5b56398f90fc36ab14b6444aae27b50e859 |
27-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: rework immediate tracking to not use gl_program_parameter_list
tate_tracker/st_glsl_to_tgsi.cpp
|
f751730ad003bb19ce85bc4d0abddaf40edde6c1 |
22-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: update comments
tate_tracker/st_glsl_to_tgsi.cpp
|
a2c3b9f38d81f363bd62abc87dc3abef2beeba95 |
22-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: make coding style more consistent
tate_tracker/st_glsl_to_tgsi.cpp
|
0da994a9f15b461d16cf88ce16dc07e98dfada6f |
21-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: make assignment hack safer Fixes an assertion failure in piglit test glsl-texcoord-array.
tate_tracker/st_glsl_to_tgsi.cpp
|
7732822c833ee22e259af3f8bd2bfb57c986612e |
21-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: separate immediates from array constants during IR translation Before, if any uniform or constant array was accessed with indirect addressing, st_translate_program() would emit uniform constants in the place of immediates. This behavior was unavoidable with ir_to_mesa/mesa_to_tgsi, but glsl_to_tgsi can work around it since the GLSL IR backend and the TGSI emission are both inside the state tracker.
tate_tracker/st_glsl_to_tgsi.cpp
|
87f8d8547db9b947ae847c509a464e06d0ac6c64 |
11-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix mistakes in get_pixel_transfer_visitor() I noticed these issues while working on get_bitmap_visitor().
tate_tracker/st_glsl_to_tgsi.cpp
|
5f0b4b0e9d376f9ec1cb5ae08c36052f4f51ac37 |
11-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa, glsl_to_tgsi: support glBitmap with a GLSL fragment shader active
tate_tracker/st_cb_bitmap.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
|
c0dcab2882a4731dccd363a40c3ebcabc88b9c5d |
09-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa, glsl_to_tgsi: support glDrawPixels/glCopyPixels with a GLSL fragment shader active Since this was previously implemented using Mesa IR and _mesa_combine_programs, this commit adds a new code path that works with glsl_to_tgsi.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
|
33e0c47b05c8fbae9d7af57ba65b612825b5db60 |
04-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: replace MAX_PROGRAM_TEMPS (256) with MAX_TEMPS (4096)
tate_tracker/st_glsl_to_tgsi.cpp
|
54db6e618e43abbd69b59e0a03e2b6ec83d3120f |
30-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
r200, r600c, i965: fix build
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vs_emit.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
9c2810103d107d1e5ef8bd8b57819d12264f664a |
28-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: always run copy_propagate() and eliminate_dead_code_advanced() These two passes are written to handle indirect addressing properly.
tate_tracker/st_glsl_to_tgsi.cpp
|
4c8b6a286887628e5fc35306189a4c4a83c482ea |
28-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix mistake in new dead code elimination pass The conditions of IF opcodes were not being counted as reads, which sometimes led to the condition register being wrong or undefined.
tate_tracker/st_glsl_to_tgsi.cpp
|
f00406b68c07f97b11e873c04917cafdb1a67462 |
28-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: improve assignment handling This is a hack, but it's better than emitting an unnecessary MOV instruction and hoping the optimization passes clean it up.
tate_tracker/st_glsl_to_tgsi.cpp
|
71cbc9e3c4c9ef6090ee31e87601ae64af26321e |
25-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: improve eliminate_dead_code_advanced()
tate_tracker/st_glsl_to_tgsi.cpp
|
3bd06e5b82b438041f50e2469be9ea68bf3b4300 |
25-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: use the correct writemask in try_emit_mad() and try_emit_sat()
tate_tracker/st_glsl_to_tgsi.cpp
|
194732fd7299481dd57815f46a594d155260ce17 |
25-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: use a more specific condition for gl_FragDepth hack in generating assignments This reduces the number of instructions in the fragment shader of glsl-fs-atan-2 from 174 to 146 with EmitNoIfs enabled.
tate_tracker/st_glsl_to_tgsi.cpp
|
41472f7809dcff114223b8fadc5b97baff6060a9 |
25-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: add a better, more advanced dead code elimination pass
tate_tracker/st_glsl_to_tgsi.cpp
|
7ec7dd4fb6ae6c8aa29988754476e1212eb986ef |
24-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: remove handling of XPD opcode in compile_tgsi_instruction() The opcode is never emitted by the glsl_to_tgsi_visitor, so its special case in compile_tgsi_instruction() was dead code.
tate_tracker/st_glsl_to_tgsi.cpp
|
8b881ad1c3d9dd3c96afbdbb608a7240d40e9c92 |
24-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: use swizzle_for_size for src reg in conditional moves This prevents the copy propagation pass from being confused by undefined channels and thus missing optimization opportunities.
tate_tracker/st_glsl_to_tgsi.cpp
|
8c50f18b29637470539d05ccc32b0cae0092aeac |
21-Jun-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
glsl_to_tgsi: execute merge_registers() after eliminate_dead_code() Fixes a regression unintentionally introduced by "glsl_to_tgsi: fix shaders with indirect addressing of temps" that caused missing leaves in 3dmark01 test 4 (Nature) and missing/displaced textures on human models in Counter-Strike: Source. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Bryan Cain <bryancain3@gmail.com>
tate_tracker/st_glsl_to_tgsi.cpp
|
29d21417e38aed0f0710d3692df320728aef90b1 |
17-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: implement simplify_cmp pass needed by r300g
tate_tracker/st_glsl_to_tgsi.cpp
|
552cc48fca9b932fceb3d8fa7f9d0067f46b67c2 |
16-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix compile error with g++ 4.6
tate_tracker/st_glsl_to_tgsi.cpp
|
1141c3f4c4014e3c2834db65b96a3ba7cc78744a |
16-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl: remove glsl_type::get_vec4_type() Thanks to Kenneth Graunke for pointing out that glsl_type::get_instance(base, 4, 1) is the same as glsl_type::get_vec4_type(base). The function was only used in st_glsl_to_tgsi, and this commit replaces that usage with get_instance.
tate_tracker/st_glsl_to_tgsi.cpp
|
b30bbd7436bdb9727d3766ba9c07abd610e6dda8 |
15-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: silence compiler warning
tate_tracker/st_mesa_to_tgsi.c
|
bf1cee9f24022e3da96d84fdc6baaa050d3eadf1 |
15-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: finish some loose ends
tate_tracker/st_glsl_to_tgsi.cpp
|
b2c067e3075414703a7ebad439d4290c27cab46a |
15-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl-to-tgsi: fix piglit tests This commit fixes all of the piglit tests regressed by "mesa, glsl_to_tgsi: add native support for integers in shaders" on softpipe.
tate_tracker/st_glsl_to_tgsi.cpp
|
b191382c60bdcfeb7f424b23aa6ab63de81e2f08 |
14-Jun-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa, glsl_to_tgsi: add native support for integers in shaders Disabled by default on all drivers. To enable it, change ctx->GLSLVersion to 130 in st_extensions.c. Currently, softpipe is the only driver with integer support.
ain/uniforms.c
rogram/prog_parameter.c
rogram/prog_parameter.h
tate_tracker/st_glsl_to_tgsi.cpp
|
6d89abadbcd68bbe9e08f041412549f8dc1fc73c |
18-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: support boolean and integer-based parameters in prog_parameter The functionality is not used by anything yet, and the glUniform functions will need to be reworked before this can reach its full usefulness. It is nonetheless a step towards integer support in the state tracker and classic drivers.
ain/ff_fragment_shader.cpp
ain/ffvertex_prog.c
ain/uniforms.c
rogram/ir_to_mesa.cpp
rogram/nvfragparse.c
rogram/prog_execute.c
rogram/prog_parameter.c
rogram/prog_parameter.h
rogram/prog_parameter_layout.c
rogram/prog_print.c
rogram/program.c
rogram/sampler.cpp
tate_tracker/st_glsl_to_tgsi.cpp
|
16d7a717d592524e4d62fec4173cb9523f7a1453 |
03-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: fix shaders with indirect addressing of temps Fixes several Piglit tests, although it's a step backwards for optimization.
tate_tracker/st_glsl_to_tgsi.cpp
|
56dc2c176c3ef0d4d5abea54ff4035b062262286 |
02-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: use TGSI opcodes when converting from GLSL IR Before, the translator used Mesa IR opcodes (a holdover from ir_to_mesa) and converted them to TGSI opcodes during TGSI emission.
tate_tracker/st_glsl_to_tgsi.cpp
|
3b0858f1aed83e2d90449f042d625c86ac7b93ed |
01-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: support DDY (ir_unop_dFdy)
tate_tracker/st_glsl_to_tgsi.cpp
|
a6705aa5ca151278ed1e596b68a327afd1405b9e |
01-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: lower noise opcodes when converting from GLSL IR, not when generating TGSI
tate_tracker/st_glsl_to_tgsi.cpp
|
5768ed6429937940bd48f5de4f8383273952880a |
01-May-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: define the sampler objects used Fixes the Nexuiz title screen and the water in 0 A.D.
tate_tracker/st_glsl_to_tgsi.cpp
|
556bd82ce1227a568d69dfa0c22841986267d39f |
30-Apr-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: remove a bad assertion It was triggered by Alien Arena.
tate_tracker/st_glsl_to_tgsi.cpp
|
c341d3cfd0ddbabf6274212b7f0da1a25854a673 |
30-Apr-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: remove reads to output registers Fixes a regression in 0 A.D. introduced by 809a11c77073e999fd47.
tate_tracker/st_glsl_to_tgsi.cpp
|
44867da3543ca54ef245695cef72a6e305451d93 |
30-Apr-2011 |
Bryan Cain <bryancain3@gmail.com> |
glsl_to_tgsi: stop generating Mesa IR Before, it was still generating unused Mesa IR as a remnant of ir_to_mesa, and depended on some of the information from it.
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_program.c
|
1e5fd8e480b661c1ab748c2ded587650ea7f3d20 |
30-Apr-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: fix segfault when no Mesa IR is generated
rogram/program.c
|
f379d8f73063a4c4d6cf379318c6b37118d46bfa |
26-Apr-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: Add a GLSL IR to TGSI translator. It is still a work in progress at this point, but it produces working and reasonably well-optimized code. Originally based on ir_to_mesa and st_mesa_to_tgsi, but does not directly use Mesa IR instructions in TGSI generation, instead generating TGSI from the intermediate class glsl_to_tgsi_instruction. It also has new optimization passes to replace _mesa_optimize_program.
ources.mak
tate_tracker/st_cb_program.c
tate_tracker/st_glsl_to_tgsi.cpp
tate_tracker/st_glsl_to_tgsi.h
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
tate_tracker/st_program.h
|
120d71a45cfda1edfa8cd6b1732e209eb98b53d8 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor comment changes in teximage.c
ain/teximage.c
|
dc1f32deae1ab7366792fe5c7d654e02757985c0 |
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add missing breaks for GL_TEXTURE_CUBE_MAP_SEAMLESS queries And fix indentation. NOTE: This is a candidate for the 7.11 branch.
ain/texparam.c
|
f710b8c7501f29f5f8941e757ea1066cbeb03305 |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Allow register coalescing where the source is a uniform. Removes 0.8% of the fragment shader instructions on Unigine Tropics.
rivers/dri/i965/brw_fs.cpp
|
a8b86459a1bb74cfdf0d63572a9fe194b2b5b53f |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Optimize a * 1.0 -> a. This appears in our instruction stream as a result of the brw_vs_constval.c handling.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
6d8d6b41b85a18685351f3023a4cd41266ba9e68 |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: If we see a RCP of a constant, try to constant fold it.
rivers/dri/i965/brw_fs.cpp
|
eb30820f268608cf451da32de69723036dddbc62 |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Port texture projection avoidance optimization from the old backend. This is part of fixing a ~1% performance regression in OpenArena when changing the fixed function fragment shader to using the new backend. Right now this just avoids the LINTERP of the projector, not the math using it.
rivers/dri/i965/brw_fs.cpp
|
652ef8569c923cf8e1e254dddc160c7995d258aa |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Don't compute brw->wm.input_size_masks when it's unused." This reverts commit 3412069e23b7fa5656262f3dd1aa86f66980594d. We're about to start using it in fragment shaders to handle avoiding projection for fixed function.
rivers/dri/i965/brw_vs_constval.c
|
44ffb4ae207e48f78fae55925601b8708ed09c1d |
29-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Stop using the exec_list iterator. The old style has gone out of favor in the project, but I kept copy and pasting from existing iterator code.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
4fdd289805d14d4f7a234f88cd375be1b3b96764 |
26-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Respect ARB_color_buffer_float clamping. This was done in the old codegen path, but not the new one. Caught by piglit fbo tests after the conversion to GLSL ff_fragment_shader. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
ef1854d09021b6601e59e39fcb71a88fb5e5efb2 |
13-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix ff fragment shader inputs calculation when enabling a VS. The FF VS generation happens just after the FF FS generation in state.c, so the ctx->VP._Current value is for the previous state update's vertex shader, not the one that will be chosen as a result of this state update. The vertexShader and vertexProgram variables should be accurately telling us whether there's going to be a ctx->VP._Current (except on _MaintainTnlProgram drivers, where it's always true). The glsl-vs-statechange-1 test was created to test for this, but it turns out that the bug is hidden by the fact that we call _mesa_update_state() twice per draw call -- once from _mesa_valid_to_render() and once from vbo_draw_arrays(), and the second one was fixing up the first one. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/ff_fragment_shader.cpp
|
83f5d5e6aa58754f52c3579c27d810c497fe13a3 |
23-Jul-2011 |
Eric Anholt <eric@anholt.net> |
Add dependency generation for Mesa and GLSL dricore objects. Reviewed-By: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
akefile
|
e4fdc95277bd323d8945e20635d3a1702a2e695d |
28-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix format selection for meta CopyTexSubImage() When we do a glReadPixels into the temporary buffer, we don't want to use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will compute L=R+G+B which is not what we want. This bug has existed all along but was only exposed by the elimination of the driver hook for glCopyTexImage() in 5874890c26f434f54e9218b83fae4eb8175c24e9. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39604 Tested-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
26684e0b1a857cc16a2c6f2b542e5ccf3da5acf5 |
28-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: test against MESA_FORMAT_NONE in _mesa_GetTexLevelParameteriv()
ain/texparam.c
|
58d6aa82878fc901d4dadd39e308a5d88b064997 |
27-Jul-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix comment language
tate_tracker/st_atom_texture.c
|
f73caddd3339d284556036d031ab30ce8057a510 |
26-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove the now unused intel_renderbuffer::draw_offset field. The previous commit removed the last use of this field. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
15c0bc5eefc89bec537e412c02965f201fb1c011 |
26-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Check actual tile offsets in Gen4 miptree workaround. The purpose of the (irb->draw_offset & 4095) != 0 check was to ensure that we don't have XYy offsets into a tile, since Gen4 hardware doesn't support that. However, it's insufficient: there are cases where draw_offset & 4095 is 0 but we still have a Y-offset. This leads to an assertion failure in brw_update_renderbuffer_surface with tile_y != 0. Instead, simply call intel_renderbuffer_tile_offsets to compute the actual X/Y offsets and check if either are non-zero. This makes both the workaround and the assertion check the same things. Fixes piglit test fbo-generatemipmap-formats, and should also fix bugs #34009 and #39487. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34009 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39487 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad@chad-versace.us> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_fbo.c
|
3e1fd13f605f16e8b48f3a9b71910a3c66eb84b5 |
25-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen4: Fix message parameter loading for 1D TXD sampling. We were neglecting to load dvdx and dvdy. v is not optional. Fixes glslparsertests tex-grad-0[12345].frag on Broadwater/Crestline. (We still need an execution test using sampler1D.) NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_visitor.cpp
|
58c04435b12a104b1996fac4d3a3d345f31bd4e7 |
27-Jul-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa: don't forget about sampleBuffers in framebuffer visual update Otherwise multisample will never been enabled for multisample renderbuffers. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/framebuffer.c
|
95739f19ccc8d3915c437238ca057ddbecd193c6 |
25-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: respect force_s3tc_enable environment variable NOTE: This is a candidate for the 7.10 and 7.11 branches.
tate_tracker/st_extensions.c
|
b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb |
23-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Make _mesa_get_compressed_formats match the texture compression specs The implementation deviated slightly from the GL_EXT_texture_sRGB spec and from other implementations. A giant comment block was added to justify the somewhat odd behavior of this function. In addition, the interface had unnecessary cruft. The 'all' parameter was false at all callers, so it has been removed. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/get.c
ain/texcompress.c
ain/texcompress.h
|
143b65f7612c255f29d08392192098b1c2bf4b62 |
23-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Return the correct internal fmt when a generic compressed fmt was used If an application requests a generic compressed format for a texture and the driver does not pick a specific compressed format, return the generic base format (e.g., GL_RGBA) for the GL_TEXTURE_INTERNAL_FORMAT query. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3165 Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texparam.c
|
09916e877fc14723d7950f892e181df9f7d7f36f |
23-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add utility function to get base format from a GL compressed format Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texcompress.c
ain/texcompress.h
|
3daa2d97eb13f41de4cbab9301a167be85d48642 |
26-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix MRT drawing since the m0->m2 move for shader debug. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs_emit.cpp
|
84f8548dfcc7de55e162359e2e39af2614903cbe |
18-Jul-2011 |
Tobias Droste <tdroste@gmx.de> |
r300/compiler: simplify code in peephole_add_presub_add Signed-off-by: Tobias Droste <tdroste@gmx.de> Signed-off-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/r300/compiler/radeon_optimize.c
|
818db3848bfaa002d0e7cf6b9b615a31eb82ba25 |
22-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix many of the trivial WebGL demos that broke due to IB optimization. The index buffer state emit only occurred if there was an IB in place and we were in either a new batch or a new IB state. But because we only flagged new IB state if IB state changed from the last IB state we calculated, we could simply never emit IB state after batchbuffer wraps if the first draw didn't use the IB and we didn't actually change the IB. Fixes piglit glx-multi-context-ib-1.
rivers/dri/i965/brw_vtbl.c
|
a0e5affb22da50aeb30262f5ba0912b059d858ea |
19-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use 3D clears on gen6+ to avoid inter-ring synchronization. Improves firefox-talos-gfx around 5%.
rivers/dri/intel/intel_clear.c
|
808024689247561d3de225856fb6ef17430fd39e |
21-Jul-2011 |
Eric Anholt <eric@anholt.net> |
meta: Also save/restore clip planes for GLSL. Fixes user-clip on 965 with 3D clears enabled. I created a separate flag because I wanted to avoid the overhead of the matrix operations in this path. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
185868c9c2e6a31a7313df2dbe29490547b65f61 |
25-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Emit texture cache flushes on gen6 along with render cache flushes. It turns out that internally the texture cache gets flushed in a couple of cases, particularly around 2D operations mixed with 3D. In almost all cases one of those happens between rendering to an FBO-attached texture and rendering from that texture. However, as of the next patch, glean tfbo (and the new fbo-flushing-2 test) would manage to get stale texture values because one of those flushes didn't occur. The intention of this code was always to get the render cache cleared and ready to be used from the sampler cache (and it does on <= gen4), so this just catches gen5 up. This patch was also tested to fix fbo-flushing on gen7.
rivers/dri/intel/intel_batchbuffer.c
|
d92463d5dc42aca09a54588c322fc60582cf9131 |
22-Jul-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: vs optimization fix: Check val.{negate,abs} in accumulator_contains() When emitting a MAC instruction in a vertex shader, brw_vs_emit() calls accumulator_contains() to determine whether the accumulator already contains the appropriate addend; if it does, then we can avoid emitting an unnecessary MOV instruction. However, accumulator_contains() wasn't checking the val.negate or val.abs flags. As a result, if the desired value was the negation, or the absolute value, of what was already in the accumulator, we would generate an incorrect shader. Fixes piglit test vs-refract-vec4-vec4-float. Tested on Gen5 and Gen6. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs_emit.c
|
572f6318954f31fcf3d396ac5df8e9eff3f37c74 |
12-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Fix shadow sampling in the old brw_wm_emit backend. On Ivybridge, the shadow comparitor goes in the first slot, rather than at the end. It's not necessary to send u, v, and r. Fixes tests texturing/texdepth and glean/fbo. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_emit.c
|
156cef0fbacf242e8fc67e39ab964e5f8f3739cb |
22-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Clear result before visiting shadow comparitor and LOD info. Commit 53c89c67f33639afef951e178f93f4e29acc5d53 ("i965: Avoid generating MOVs for assignments of expressions.") added the line "this->result = reg_undef" all over the code. Unfortunately, since Eric developed his patch before I landed Ivybridge support, he missed adding it to fs_visitor::emit_texture_gen7() after rebasing. Furthermore, since I developed TXD support before Eric's patch, I neglected to add it to the gradient handling when I rebased. Neglecting to set this causes the visitor to use this->result as storage rather than generating a new temporary. These missing statements resulted in the same register being used to store several different values. Fixes the following piglit tests on Ivybridge: - glsl-fs-shadow2dproj.shader_test - glsl-fs-shadow2dproj-bias.shader_test NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
1d3f09f15998c60326bf6c53a8d32c82496264ae |
21-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: When emitting a src/dst read of an output, keep the swizzle and neg Fixes i965 piglit vs-varying-array-mat[234]-row-rd. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_vs_emit.c
|
337e2dfad0bcd567755272271abd2593a1d0fd1f |
21-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: When emitting a src/dst write of an output, keep the write mask Fixes i965 piglit: vs-varying-array-mat[234]-col-row-wr vs-varying-array-mat[234]-index-col-row-wr vs-varying-array-mat[234]-index-row-wr vs-varying-array-mat[234]-row-wr vs-varying-mat[234]-col-row-wr vs-varying-mat[234]-row-wr Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_emit.c
|
fbeb68e880318808f90c779cd3f8b8c4160eecf8 |
21-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
prog_optimize: Set unused regs to PROGRAM_UNDEFINED after CMP->MOV conversion Leaving the unused registers with other values caused assertion failures and other problems in places that blindly iterate over all sources. brw_vs_emit.c:1381: get_src_reg: Assertion `c->regs[file][index].nr != 0' failed. Fixes i965 piglit: vs-uniform-array-mat[234]-col-row-rd vs-uniform-array-mat[234]-index-col-row-rd vs-uniform-array-mat[234]-index-row-rd vs-uniform-mat[234]-col-row-rd Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/prog_optimize.c
|
f7cd9a858c043e609fcdbf9ac9dfc1ef7ad002bf |
18-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Copy reladdr in src_reg(dst_reg) constructor Fixes i965 piglit: vs-temp-array-mat[234]-col-row-wr vs-temp-array-mat[234]-index-col-row-wr vs-temp-array-mat[234]-index-row-wr vs-temp-mat[234]-col-row-wr Fixes swrast piglit: fs-temp-array-mat[234]-col-row-wr fs-temp-array-mat[234]-index-col-row-wr fs-temp-array-mat[234]-index-row-wr fs-temp-mat[234]-col-row-wr vs-temp-array-mat[234]-col-row-wr vs-temp-array-mat[234]-index-col-row-wr vs-temp-array-mat[234]-index-row-wr vs-temp-mat[234]-col-row-wr Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
d6e1a8f71437d4a65e65f93271b2892dd62b0d23 |
18-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Add each relative address to the previous This fixes many cases of accessing arrays of matrices using non-constant indices at each level. Fixes i965 piglit: vs-temp-array-mat[234]-index-col-rd vs-temp-array-mat[234]-index-col-row-rd vs-temp-array-mat[234]-index-col-wr vs-uniform-array-mat[234]-index-col-rd Fixes swrast piglit: fs-temp-array-mat[234]-index-col-rd fs-temp-array-mat[234]-index-col-row-rd fs-temp-array-mat[234]-index-col-wr fs-uniform-array-mat[234]-index-col-rd fs-uniform-array-mat[234]-index-col-row-rd fs-varying-array-mat[234]-index-col-rd fs-varying-array-mat[234]-index-col-row-rd vs-temp-array-mat[234]-index-col-rd vs-temp-array-mat[234]-index-col-row-rd vs-temp-array-mat[234]-index-col-wr vs-uniform-array-mat[234]-index-col-rd vs-uniform-array-mat[234]-index-col-row-rd vs-varying-array-mat[234]-index-col-rd vs-varying-array-mat[234]-index-col-row-rd vs-varying-array-mat[234]-index-col-wr Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
12c22cab77f35a887d9f6790e0de4a8fa4b3b575 |
07-Jul-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add an ifndef guard around the definition of the INLINE macro Several Mesa headers redundantly define the INLINE macro. Adding this guard prevents the compiler from complaining about macro redefinition. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
ain/compiler.h
|
ecc6a26a3d602e8b649c441077e005dfeb77aff2 |
21-Jul-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'remove-copyteximage-hook'
|
000896c0bb99f356e52854608a29476d3ade387c |
19-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: GLES2 should return different error enums for invalid fbo queries ES 2.0.25 page 127 says: If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, then querying any other pname will generate INVALID_ENUM. See also: b9e9df78a03edb35472c2e231aef4747e09db792 NOTE: This is a candidate for the 7.10 and 7.11 branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/fbobject.c
|
3e5d36267d8c9536490c902f785137a7fa0637fc |
20-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Apply a homebrew workaround for GPU hang in OGLC api-texcoord. The behavior of flushes in the hardware is a maze of twisty passages, and strangely the VS constants appear to be loaded during a pipeline flush instead of at the time of the packet emit according to the simulator. On moving the STATE_BASE_ADDRESS packet to where it really needed to live (in order for data loads by other packets to be correct), we sometimes no longer got a flush between those packets where we apparently needed it. This replicates the flushes implied by a STATE_BASE_ADDRESS update, fixing the GPU hangs in OGLC and the "engine" demo. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36821 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39257 Tested-by: Keith Packard <keithp@keithp.com> (bzflag and etracer fixed) Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_vs_state.c
|
407785d0e97abd0cc51a6e360089111973748e7c |
19-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Enable the PIPE_CONTROL workaround workaround out of paranoia. There's scary stuff going on in PIPE_CONTROL internals, and if the BSpec says to do this to make PIPE_CONTROL work, I'll go ahead and do it because we'll probably never be able to debug it after the fact. v2: Use stall at scoreboard instead of depth stall, as noted by Ken.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_reg.h
|
dc7422405f6f3c201993251e4665bb9ec1b59db0 |
19-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Avoid kernel BUG_ON if we happen to wait on the pipe_control w/a BO. For this and occlusion queries, we're trying to avoid setting I915_GEM_DOMAIN_RENDER for the write domain, because the data written is definitely not going through the render cache, but we do need to tell the kernel that the object has been written. However, with using I915_GEM_DOMAIN_GTT, the kernel on retiring the batchbuffer sees that the w/a BO has a write domain of GTT, and puts it on the flushing list. If something tries to wait for that BO to finish rendering (such as the AUB dumper reading the contents of BOs), we get into wait_request (since obj->active) but with a 0 seqno (since the object is on the flushing list, not actually on a ringbuffer), and BUG_ONs. To avoid the kernel bug (which I'm hoping to delete soon anyway), just use I915_GEM_DOMAIN_INSTRUCTION like occlusion queries do. This doesn't result in more flushing, because we invalidate INSTRUCTION on every batchbuffer now that we're state streaming, anyway. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_batchbuffer.c
|
540e66b3bebb5ae82422e386aa178147ea14a39e |
17-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use the GLSL-based meta clear when available. Improves firefox-talos-gfx performance under GL when 3D clears are enabled: [ 0] gl-before firefox-talos-gfx 20.193 20.251 0.27% 3/3 [ 0] gl-after firefox-talos-gfx 18.013 18.040 0.19% 3/3
rivers/dri/intel/intel_clear.c
|
eee570290aebc8a339acd063033e3daefcef2bc6 |
17-Jul-2011 |
Eric Anholt <eric@anholt.net> |
meta: Add a GLSL-based _mesa_meta_Clear() variant. This cuts out a large portion of the overhead of glClear() from resetting the texenv state and recomputing the fixed function programs. It also means less use of fixed function internally in our GLES2 drivers, which is rather bogus. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
rivers/common/meta.h
|
d5e32397762a3bd55fa69ad6332351512083f9c6 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: get rid of redundant clipping code in st_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
1c1fc62e388534b6c0751fc9f8ab34a89e25efd0 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused dd_function_table::CopyTexImage1D/2D() hooks
ain/dd.h
|
774311fb5403e3da7ff0197199ffad8f34089e6a |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
meta: remove _mesa_meta_CopyTexImage1D/2D()
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/common/meta.h
|
0823ef84a5c3a6332ea76d0001febf6aaa440dc3 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_CopyTexImage1D/2D()
tate_tracker/st_cb_texture.c
|
9ed87c4463cf265b06566d15ba86bf20661c70de |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
radeon: remove radeonCopyTexImage2D()
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texture.h
|
fbe6836043dff2798571b838096ed59c60ec4438 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
intel: remove intelCopyTexImage1D/2D()
rivers/dri/intel/intel_tex_copy.c
|
1da28fa959e80610ebc9b7a28bfb83e3cad3aee4 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove comments referring to Driver.TexImage1D/2D
ain/texstore.c
|
5874890c26f434f54e9218b83fae4eb8175c24e9 |
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: stop using ctx->Driver.CopyTexImage1D/2D() hooks
ain/teximage.c
|
d84791a72b33f96fab54ff2399e8053c50205454 |
19-Jul-2011 |
Fredrik Höglund <fredrik@kde.org> |
st/mesa: fix the texture format in st_context_teximage Commit 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 made st_ChooseTextureFormat map GL_RGBA with type GL_UNSIGNED_BYTE to PIPE_FORMAT_A8B8G8R8_UNORM. The image format for ARGB pixmaps is PIPE_FORMAT_B8G8R8A8_UNORM however. This mismatch caused the texture to be recreated in st_finalize_texture. NOTE: This is a candidate for the 7.11 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39209 Signed-off-by: Fredrik Höglund <fredrik@kde.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_manager.c
|
f0e306c3430e4d8f6c8e085537807007a488f1e2 |
19-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update, shorten some comments in dd.h
ain/dd.h
|
f7dbcba280e4397cadb14f230aa925b4143cdde4 |
18-Jul-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Fix stencil buffer to be W tiled Until now, the stencil buffer was allocated as a Y tiled buffer, because in several locations the PRM states that it is. However, it is actually W tiled. From the PRM, 2011 Sandy Bridge, Volume 1, Part 2, Section 4.5.2.1 W-Major Format: W-Major Tile Format is used for separate stencil. The GTT is incapable of W fencing, so we allocate the stencil buffer with I915_TILING_NONE and decode the tile's layout in software. This fix touches the following portions of code: - In intel_allocate_renderbuffer_storage(), allocate the stencil buffer with I915_TILING_NONE. - In intel_verify_dri2_has_hiz(), verify that the stencil buffer is not tiled. - In the stencil buffer's span functions, the tile's layout must be decoded in software. This commit mutually depends on the xf86-video-intel commit dri: Do not tile stencil buffer Author: Chad Versace <chad@chad-versace.us> Date: Mon Jul 18 00:38:00 2011 -0700 On Gen6 with separate stencil enabled, fixes the following Piglit tests: bugs/fdo23670-drawpix_stencil general/stencil-drawpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX16-copypixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX16-drawpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX16-readpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX1-copypixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX1-drawpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX1-readpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX4-copypixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX4-drawpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX4-readpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX8-copypixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX8-drawpixels spec/EXT_framebuffer_object/fbo-stencil-GL_STENCIL_INDEX8-readpixels spec/EXT_packed_depth_stencil/fbo-stencil-GL_DEPTH24_STENCIL8-copypixels spec/EXT_packed_depth_stencil/fbo-stencil-GL_DEPTH24_STENCIL8-readpixels spec/EXT_packed_depth_stencil/readpixels-24_8 Note: This is a candidate for the 7.11 branch. Signed-off-by: Chad Versace <chad@chad-versace.us> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
|
fb5ff51f422e1718c09da01f3c5bb5baecc9d68e |
19-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix regression in 29a911c50e4443dfebef0a2e32c39b64992fa3cc. The previous define was the full 32-bit header, while the new define was just the top 16 bits.
rivers/dri/i965/brw_misc_state.c
|
348bdaa529c3eb60fcf03ed4531193bbf2e12491 |
13-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename CMD_VF_STATISTICS_(965|GM45) to include "3DSTATE". Including the full "3DSTATE_VF_STATISTICS" should make it easier to cross-reference the code and documentation. Also, move the 965/GM45 suffix to the beginning for consistency with newer #defines. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_defines.h
|
797522f1c9c0f4aa75e4c9c854e79c44ed374169 |
13-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename CMD_VERTEX_(BUFFER|ELEMENT) to 3DSTATE_VERTEX_...S. This makes our code use the same names as the documentation. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
|
29a911c50e4443dfebef0a2e32c39b64992fa3cc |
13-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename 3DSTATE_DRAWRECT_INFO_I965 to 3DSTATE_DRAWING_RECTANGLE. The documentation uses 3DSTATE_DRAWING_RECTANGLE, and we already had it defined in brw_defines.h; we were simply using an old #define from intel_reg.h. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_reg.h
|
cb5e0ba2aa97df28a9faeb7ca0d2f0cdfcf4e507 |
13-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Simplify intel_wpos_* with a helper function.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.h
|
fceda4342cadc22ce86877a19bf82b86eb022d79 |
13-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Include gl_FragCoord.w data, not just xyz. Fixes piglit fragcoord_w test. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34323
rivers/dri/i915/i915_fragprog.c
|
af9548d3358884b408fb4c3cc69028befc5abe1d |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Add support for HW rendering with no color draw buffer. This is useful for shadow map generation. Tested with glsl-bug-22603, which rendered the depth textures with fallbacks before. Acked-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i915_vtbl.c
|
debf751aeaf0f02b9a7fc0e242ae3b97dde8416f |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix incorrect depth scaling when enabling/disabling depth buffers. We were updating our new viewport using the old buffers' _WindowMap.m. We can do less math and avoid using that deprecated matrix by just folding the viewport calculation right in to the driver. Fixes piglit fbo-depthtex.
rivers/dri/i915/i915_state.c
|
79fee3a76b7f4f63d01266fc3a3cd6ca44d1e513 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Make stencil test for no-stencil handling match depth test. i915_update_draw_buffers() already handles the fallback bit for missing stencil region, so here we just need to handle whether the GL thinks we have stencil data or not (and disable the test if so).
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
fc4fba52cf7e9616c70dd76b4d6bdba6582e157b |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Disable the depth test whenever we don't have a depth buffer. We were disabling it once at the moment we changed draw buffers, but later enabling of depth test could turn it back on. Fixes fbo-nodepth-test. Note that ctx->DrawBuffer has to be checked because during context create we get called while it's still unset. However, we know we'll get an intel_draw_buffer() after that, so it's safe to make a silly choice at this point. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30080
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
4c47fce92e381cb182b51ce6d0727c0a1365e8b0 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Remove i965 paths from i915_update_drawbuffer() and i830's too. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
94efc350b4146b2fb82d45eeb78bd6be6f06fb9c |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove i915 paths from brw_update_draw_buffers(). Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vtbl.c
|
c68270a26b110e97ee93d49249025d56c771cc5f |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove unused region calculations in brw_update_draw_buffer(). Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vtbl.c
|
15af0f54b87ea337d419b50010037a3db8e2503c |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove empty brw_set_draw_region. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vtbl.c
|
dd898c3e89597f841a55272be1ccc07345500f60 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove FALLBACK() from brw_update_draw_region(). The 965 driver doesn't use these for deciding on fallbacks. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_vtbl.c
|
f34ec6169dc8b96e3958a42b51c9048c5f42ed80 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move intel_draw_buffers() code into each driver. The illusion of shared code here wasn't fooling anybody. It was tempting to keep i830 and i915 still shared, but I think I actually want to make them diverge shortly. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.h
|
8cf2741d2b05fd9f41eca35f0f43e6e0684d57f2 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clarify the depthRb == stencilRb logic. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
96cdbf43404a65a267065250ae6b29be93071520 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use the post-execution batchbuffer contents for dumping. We were missing out on all the relocation changes by dumping what we subdata()ed in instead of what's there after the kernel finished with it.
rivers/dri/intel/intel_batchbuffer.c
|
7854b8cb166e513300085f8798b3fd05ae6a492e |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
xmlconfig: remove an unused-but-set variable I hate gcc 4.6 already.
rivers/dri/common/xmlconfig.c
|
dade65505bdf62da448479e316cc7f4f2da22417 |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
prog_optimize: fix a warning that a variable may be uninitialized
rogram/prog_optimize.c
|
ed5e95ada6aa310266eb0969ac7d721c3664f1d1 |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove an unused-but-set variable and simplify the code
rivers/dri/r300/compiler/radeon_optimize.c
|
2ce6c3ea6e66a708aefba36358fa43f2f312c42f |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix a warning that a variable may be uninitialized
rivers/dri/r300/compiler/radeon_dataflow.c
|
2f02c2fe56bf69956912833d0a439f9693114bf5 |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unused-but-set variables in st_program.c
tate_tracker/st_program.c
|
3032d064fb01d29bc4511362274a02a71e33c91f |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
swrast: remove an unused-but-set variable
wrast/s_span.c
|
eca3152de0de85aa87040dbe29b6279df0635b8e |
15-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix unused-but-set-variable warnings in dlist.c
ain/dlist.c
|
a3d23a4868e0d95971086df17e04ed9f9f5f3121 |
15-Jul-2011 |
Alex Deucher <alexander.deucher@amd.com> |
r600c/g: add new NI pci ids Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
rivers/dri/radeon/radeon_screen.c
|
b6df603e650527d5fa7f0fc1448be1bb57f47fbb |
22-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
vbo: minor optimisation in vbo_exec_DrawRangeElements this moves getting the context into the debug in this function, just spotted it trawling callgrind traces for other things. Signed-off-by: Dave Airlie <airlied@redhat.com>
bo/vbo_exec_array.c
|
db0f2b363750d57652140c68c9436f1d2d540a87 |
14-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use inline function wrapper for _mesa_reference_texobj()
ain/texobj.c
ain/texobj.h
|
74142f1bf2a50fb929b593ebf7fda88da9da17f9 |
14-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use inline function wrapper for _mesa_reference_renderbuffer()
ain/renderbuffer.c
ain/renderbuffer.h
|
5db7723ada0be301b7f8eed754cb62f8a84d6768 |
14-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use inline function wrapper for _mesa_reference_framebuffer()
ain/framebuffer.c
ain/framebuffer.h
|
6214963c00769a724da8c599c3aee6920f7f6c31 |
14-Jul-2011 |
Brian Paul <brianp@vmware.com> |
main: use inline function wrapper for _mesa_reference_buffer_object()
ain/bufferobj.c
ain/bufferobj.h
|
323e4bff799a657632c5777c8be6e306202953af |
14-Jul-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: split _mesa_reference_program() into hot/cold paths. inline the hotpath of the reference remaining the same. This shouldn't penalise the slow path at all but improve the hot path so we don't have to jump to the function. It also moves some assert checks under an #ifndef NDEBUG. Minor clean-ups added by Brian. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rogram/program.c
rogram/program.h
|
f7a85f603b0da0770c27b200bff6e239e3aeae95 |
13-Jul-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
|
4f4855b249cbcb77900e9767041becf255afbba1 |
13-Jul-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
st/mesa: flush bitmap cache on query and conditional render boundaries Bitmap caching shouldn't affect the results of the queries and conditional render. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_condrender.c
tate_tracker/st_cb_queryobj.c
|
556a47a2621073185be83a0a721a8ba93392bedb |
13-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Add support for gl_FragData[0] for output color. We advertised ARB_draw_buffers, but either fell back to software when using this output, or assertion failed. Fixes glsl-fs-fragdata-1, and failures in some webgl conformance tests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39024 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34906
rivers/dri/i915/i915_fragprog.c
|
f2fd0d63046c41559c5dfca9ebdc5d33c0ae4177 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix NPOT compressed textures on 915. We were failing at rounding, misplacing the non-baselevels. Fixes: 3DFX_texture_compression_FXT1/fbo-generate-mipmaps ARB_texture_compression/fbo-generate-mipmaps EXT_texture_compression_s3tc/fbo-generate-mipmaps Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i915_tex_layout.c
|
898be7d5acc27e2e0dfa8c2f27dc4fd7085fb476 |
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix assertion failure in X8_Z24/Z24_X8 texfetch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texfetch_tmp.h
|
6aae729d6ec3cb2d5677120742c1180e38815482 |
11-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix depth texturing since 86e62b2357447b7c97f434be4834f4b50aa0764d The 965 driver already had the X8_Z24 case, but 915 was missing it. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i915_texstate.c
|
9a82d89a8fafde1b65c0843e022e99864b6d56b1 |
11-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Use _mesa_get_format_name to describe translate_tex_format() fail. I don't want to go count up to what format number 29 is. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
|
6e6b38860488a0b2b282866f095cea9860503a14 |
11-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix map/unmap mismatches from leaving INTEL_FALLBACK during TNL. The first rendering after context create didn't know of the color buffer yet, triggering a sw fallback. The intel_prepare_render() from intelSpanRenderStart then found the buffer and turned off fallbacks, but intelSpanRenderFinish was never called and things were left mapped. By checking buffers before making the call on whether to do the fallback pipeline or not, we avoid the fallback change inside of the rendering pipeline. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31561 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.h
|
aceb66951d467844f2d722cf5d6bd6c429207cd2 |
11-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use _mesa_tex_target_to_face() helper function instead of our own. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_tex_image.c
|
1ab5e1524258042e26c769221f61da16403d0cf6 |
11-Jul-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
st/mesa: check if _mesa_create_context() returns NULL In some cases _mesa_create_context() can return NULL an in the mesa state tracker, we do not concider the case, which may cause issues within st_create_context_priv() This patch adds a simple check (similar to the one in the dri drivers) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_context.c
|
c369fb42ee00598396e16faf1cd98995bf72c0b7 |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: choose a matching depth internal format for DrawPixels This makes it easier to hit the fast path and get a float format when we ask for it. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
2df4b6117b27acb4ea46222b47353ffb9f513204 |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: get rid of unnecessary 'goto' in DrawPixels Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
ab4d629613d5a7a8a94f3fe3f1acac347f39e2ec |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: derive a stencil sampler format from the actual texture format Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
a09b7f7f150d1687a614fd59cf09ec5e3c3a13fd |
11-Jul-2011 |
Andrew Randrianasulu <randrianasulu@gmail.com> |
dri/nouveau: nv10: fix vertex format for GL_UNSIGNED_BYTE Broken accidentally in f4efc256fd90beaff86321e4c6ce00f9be55092d, the switch to rnn headers. NV10TCL_VTXFMT_TYPE_BYTE_RGBA became U8_UNORM but B8G8R8A8_UNORM was used instead.
rivers/dri/nouveau/nv10_render.c
|
186e37c75454965e1a58298e878a9585f4866749 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Add support for gl_PointCoord. This is exactly analogous to Eric's Gen6 change in commit 6861a701772eac3a6a7d3136d03efa7ac7e5c026. His explanation: "This is just like PointSprite overrides, but it's always on for that attribute." Fixes glsl-fs-pointcoord and gtf/point_sprites. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 7.11 branch.
rivers/dri/i965/gen7_sf_state.c
|
147d0102952b7c0b16906c08da2ae447ec68185a |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Fix point sprite texture coordinate overrides. This is exactly analogous to Eric's Gen6 change in commit f304bb8a5d040d99db47a65813d216d11c66fb47. His explanation: "We were assuming that the input attribute n to the FS was FRAG_ATTRIB_TEXn, which happened to be true often enough for our testcases." Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 7.11 branch.
rivers/dri/i965/gen7_sf_state.c
|
5edb3ddf4191b31b4a4e43a85fe1bfbd62a8cb17 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Refactor SF setup a bit to handle overrides in one place. This is exactly analogous to Eric's Gen6 change in commit e7280b16d634e1f434bebbce83996b3d30d0419c. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> NOTE: This is a candidate for the 7.11 branch.
rivers/dri/i965/gen7_sf_state.c
|
f07cfebebe0b902431fb33104b70a531d57a0570 |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Add a stub dumper for CC unit state, which is different from gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
f7f03fb588414928ef75cb856aa683737dad6213 |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Add state dumping for unit state using state_batch_list[]. This is just barely more pretty-printing than we previously had, but at least it doesn't leave out unit states in the log. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
a1226bcd20a582146f1848cc0af8145c53b0ecbc |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add state dumping for the VS constants. This is quite a bit of spam, but I think it's useful to have in a full INTEL_DEBUG=batch dump. And a lot of this spam on glxgears is just because we're awful at handling our constants :/ Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/gen6_vs_state.c
|
6e17a01e427bb621f606b4237fae58c446de9a70 |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add state dumping for the scissor packet. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
93c7a5da1121a4aebff2fc889af229cbfb7006f5 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: When dumping programs, dump the whole cache. But don't by default. The previous brw_state_dump output was rather useless -- last used program per batch, and just the hex. Now we dump all programs (since we don't know which were used), and disassemble them. But that's a ton of spam, and usually when looking into program contents we use INTEL_DEBUG={vs,wm,misc,other} and when looking into state updates we use INTEL_DEBUG=batch, so this dump usually just massively clutters up the output. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
6bbaa7c0e58cd477deb970cd52d281bb9f87486c |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump the binding table using state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
13e82ece6d4761f07fb01e5a9aa57448d3bd2345 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump the surface, sampler, and sdc state using state_batch_list[]. Now, for example, INTEL_DEBUG=batch tex-border-1 shows all the texturing state involved. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
709a7af2afd72283f3532e5574fbfdef91f70e28 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Dump brw_state_batch data in an easier format for cross-referencing. Now that we're using state base addresses for most things, we're less interested in the absolute address of the state, and more in its offset from the state base address (start of batchbuffer). Also, reorder the printout so it looks more like the batchbuffer dump. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
d4846674232112bc3c7ad583e0daec0dfa2a3d26 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Map the batch once for dumping all our state batch structs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
00f07b33eca37c48e9c487426e80cb85bceffff2 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the new gen6 state structs to using state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
fbfeff73f3d6195e62ee413c18a93632edc3510d |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the SF VP state dump to using the state_batch_list[] Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
2a8d744345da718ed98b7ee216c4091018830900 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move CLIP VP state dump to using the state_batch_list[]. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
65c6de000e016e9a9468d32688514a00255f0fa4 |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Track the brw_state_batch() data while under INTEL_DEBUG=batch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_vtbl.c
|
d375df220fae47f38944c4832bcbd5f5d568884c |
23-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add a type argument to brw_state_batch(). I want to make brw_state_dump.c handle more than just the last statechange, so I want to keep track of what's in the batch state. By using AUB file numbering for most of these packets, this may be reusable for aub dumping. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_sampler_state.c
rivers/dri/i965/gen7_viewport_state.c
rivers/dri/i965/gen7_wm_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
35d5d5df72a2747262e00e521e650c8974d6c64d |
06-May-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make our context structure be a ralloc context. This will let me hang cached compiler structs off of the context without having to worry about cleaning them up at destroy time. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
|
a166720f2d93b090ad1c383c9bd90d0a9e27760d |
02-May-2011 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: typo fix in a comment.
rogram/ir_to_mesa.cpp
|
46a7639174d2c55c30ec24b179cbef059fb3ca43 |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix fp-dst-aliasing-[12].vpfp. There's no pretty way to avoid the overwriting of the src operands, so just use a temporary destination and rely on the MOV optimization. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_fp.c
|
e3ea5bc08e32119d05bce543c07c61ce93869e60 |
08-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix fp-lit-src-equals-dst. We were stomping over the source for the body of the LIT instruction when doing the MOV of 1.0 to the uninteresting channels. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_fp.c
|
d60880db35fd11d9348ce4b2bfbcc9325d2ebf91 |
11-Jul-2011 |
Brian Paul <brianp@vmware.com> |
glx: add a few missing glXChooseFBConfig() attributes Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38842 NOTE: This is a candidate for the 7.11 branch.
rivers/x11/fakeglx.c
|
6c53d75e7d41e7c586495e0486d46fbffaa77a5f |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix assertion failure in delete_wrapper
ain/depthstencil.c
|
ceb04b32baf13bbd62cf80496e5751612287ef15 |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add a comment in _mesa_test_formats
ain/formats.c
|
e134eaa2c5619b47e944e33d053ee23c61da7aa9 |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix assertion failure in _mesa_test_formats Z32_FLOAT_X24S8 has DataType of GL_NONE.
ain/formats.c
|
01f48a979d85525acd060c8055ec835a1b56ea87 |
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement packing of DEPTH_STENCIL & FLOAT_32_UNSIGNED_INT_24_8_REV combo Tested with the new piglit fbo-depthstencil test.
ain/pack.c
ain/pack.h
tate_tracker/st_cb_readpixels.c
wrast/s_readpix.c
|
d1214cca084f277b5acc913490d354edbd4b990f |
10-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
swrast: fix depth/stencil blits when there's no colorbuffer NOTE: This is a candidate for the 7.10 and 7.11 branches.
wrast/s_blit.c
|
83478e5d5944e1fc320e8cfb10ba75055bbea3fd |
10-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return early if mask is cleared to zero in BlitFramebuffer From ARB_framebuffer_object: If a buffer is specified in <mask> and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored.
ain/fbobject.c
|
e517e5ac7c89b133f341a1075db95e14d0ba23c2 |
27-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement read/draw/copypixels for Z32F and Z32F_S8X24
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
|
adea7ea0bc2683c0ee544e20074062df9ae5a72b |
01-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: initial ARB_depth_buffer_float support
tate_tracker/st_cb_clear.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
ba15e8260ef6697fcd8c1f6ab098469db6fe78ba |
01-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement depth/stencil renderbuffer wrapper accessors for Z32F_X24S8 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/depthstencil.c
ain/depthstencil.h
ain/framebuffer.c
|
bde6a044588401ebbd14881cd5621095c221f0a5 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement generatemipmap for GL_FLOAT_32_UNSIGNED_INT_24_8_REV Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/mipmap.c
|
b2f087cd87ab9b1651d221b5c7d7e543a4585d68 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement texstore for DEPTH32F_STENCIL8 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texstore.c
|
bc878c7f8bfdabb40a4f784984c13b94656569ed |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement texstore for DEPTH_COMPONENT32F Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texstore.c
|
bfb63b7d62ccd9618a110f9f5297f87574384058 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement depth unpacking for GL_FLOAT_32_UNSIGNED_INT_24_8_REV Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
ec6fbbe36ee198d00db6a1ae297970531186ae3c |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement stencil unpacking for GL_FLOAT_32_UNSIGNED_INT_24_8_REV Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/pack.c
|
4843c7b24af7408329d33ab16bb946b17244a5f8 |
20-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement texfetch functions for depth_buffer_float Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texfetch.c
ain/texfetch_tmp.h
|
1165280cbd37dee1e499358633478ab869de21df |
01-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial ARB_depth_buffer_float support Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there. The spec says the type is n/a. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/image.c
ain/readpix.c
ain/renderbuffer.c
ain/texfetch.c
ain/texformat.c
ain/texstore.c
|
440224ab73ba19a96629c34e21fe976d1395e483 |
09-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Recognize all depth formats in get_teximage_readbuffer. The existing code was missing GL_DEPTH_COMPONENT32, resulting in it wrongly returning the color buffer instead of the depth buffer. Fixes an issue in PlaneShift 0.5.7 when casting spells. The game calls CopyTexSubImage2D on buffers with a GL_DEPTH_COMPONENT32 internal format, which (prior to this patch) resulted in an attempt to copy ARGB8888 to X8_Z24. Instead of adding the missing enumeration directly, convert the code to use _mesa_is_depth_format() and _mesa_is_depthstencil_format() as these should catch any newly added depth formats in the future. NOTE: This is a candidate for the 7.10 and 7.11 branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex_copy.c
|
d03fdc4cdefdfdc5b59547945704c6037a5061c7 |
09-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Fix GPU hangs since the program streaming change. This was tricky. We were doing a use-before-initialize of grf_reg_count, but the value usually got overwritten anyway -- when we didn't have to do a relocation (typical), or on gen5 when we didn't have relocations at all. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38771 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_state.c
|
57b57f6d1c3689a3a44222cb169bfd3e3142a68d |
09-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Remove gratuitous dirty flags from WM and PS state. Commit b46dc45ceef3deb17ba2b0b4300eeb93e9cf7833 claimed that NEW_POLYGONSTIPPLE is gratuitous, but somehow just changed comments and whitespace instead of actually removing the flag. While we're at it, 3DSTATE_PS doesn't appear to need NEW_LINE or NEW_POLYGON either (those are in 3DSTATE_WM). Also, 3DSTATE_WM doesn't appear to need BRW_NEW_NR_WM_SURFACES or BRW_NEW_CURBE_OFFSETS either (those are in 3DSTATE_PS). NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_wm_state.c
|
7de28e80dcd4239a780b0f5fdc6e61e6e56a68aa |
27-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: handle float formats in st_format_datatype NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
292148dc4b18958d4447df7596311bd2f09fd44f |
27-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use the first non-VOID channel in st_format_datatype Otherwise PIPE_FORMAT_X8B8G8R8_UNORM and friends would fail. NOTE: This is a candidate for the 7.10 and 7.11 branches. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
a65e9706035c0e348307e76fdeeed0910ec8c68e |
08-Jul-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa/st: Fix piglit read-front with new drawable invalidation v2 When the state tracker adds a front buffer, nothing triggers a validate drawable call, since the state tracker manager is never notified. Force a validate drawable call by invalidating the framebuffer's stamp, so that the window system's renderbuffer (if any) is picked up. This fixes bug 38988 https://bugs.freedesktop.org/show_bug.cgi?id=38988 Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_manager.c
|
d8f65c07e9f3a5948c8bee95482bcab651b33c01 |
08-Jul-2011 |
Brian Paul <brianp@vmware.com> |
intel: add null src pointer check in intel_region_reference() Fixes segfault when running cubemap demo on i945. This happened when intel_region_reference() was called in i915_set_draw_region() with depth_region=NULL. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_regions.c
|
3c0c6248795806bb9e66bb89a7adc8fc0cf266d7 |
07-Jul-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
Revert "i915: Eliminate redundant CONSTANTS updates" This reverts commit 87641cffd97f328e846604d314c21582f426a19a.
rivers/dri/i915/i915_program.c
|
066bee64e1611093c7e641ba77bbd43f70d08cec |
06-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix use of freed buffer if glBitmap is called after a swap. Regions looked up from the framebuffer are invalid after intel_prepare_render(). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30266 Tested-by: Thomas Jones <thomas.jones@utoronto.ca>
rivers/dri/intel/intel_pixel_bitmap.c
|
a7a2704ab48edb4853060b4a292d9388eb909e61 |
07-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead comment about software clears -- it's handled just above.
rivers/dri/intel/intel_clear.c
|
f39476b234960cd0fb794a43a3eece440367cba2 |
29-Jun-2011 |
John <jpsinthemix@verizon.net> |
i915: Fix leak of ViewportMatrix data on context destroy. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
rivers/dri/intel/intel_context.c
|
007c2d6cd2f6b206564689ac12a3e51aaae242bc |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove gratuitous context checks in intel_delete_renderbuffer(). Even if we don't have a current context, if we're freeing the rb we should free its region (and BO). The renderbuffer unreference checks appear to be just cargo-cult from the region unreference code. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217 Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
c7ef5e8498550e6ed4d609641ca6deb932882485 |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove now trivial intel_renderbuffer_set_{hiz_,}region(). As a result of this cleanup, a bug in intel_process_dri2_buffer_no_separate_stencil() became quite apparent. We were associating the NULL pointer after an unreference with the STENCIL attachment -- clarify the logic and attach the right region. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
b904321ed018c661271fb1fc3eefd1af0ec61c7f |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on intel_region_reference()'s support of *dst != NULL. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
|
036b74a7f8adc745c7af089129f070b8e5b8f4bd |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Allow intel_region_reference() with *dst != NULL. This should help us avoid leaking regions in region reference code by making the API more predictable. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_regions.c
|
86e62b2357447b7c97f434be4834f4b50aa0764d |
15-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Mark MESA_FORMAT_X8_Z24 as always supported. This prevents developer surprise at seeing a GL_DEPTH_COMPONENT texture have stencil bits, and avoids the metaops path accidentally copying stencil bits around in glCopyTexImage(GL_DEPTH_COMPONENT) (and being broken because swrast's glReadPixels(GL_UNSIGNED_INT_24_8) is broken). Acked-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
|
3de9405763ad4b9e78577699ec206be7dda03374 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove unused structures for command packets. We simply emit these using OUT_BATCH and bitshifting, as it results in better compiled code than packed structures. Since our documentation is public, it's not terribly useful to keep these around for reference. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_structs.h
|
247e4c69ce6389805437256524d043019abfa6d1 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Convert system instruction pointer to OUT_BATCH style. Also rename it from CMD_STATE_INSN_POINTER to CMD_STATE_SIP to match the documentation. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
|
87de78523ae96737a39267aaa135ddabff05f2f2 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Convert PIPELINE_SELECT to OUT_BATCH style. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
473a519d20c97b54504ff61aaedc0665529c14b7 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit 3DSTATE_VF_STATISTICS in OUT_BATCH style. This is a little different from most because it's a single DWord; there's no length field. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
|
a68c5e6b71ac9abf70eb443637d4e79ffba66595 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Convert 3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP to OUT_BATCH style. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
|
e01e30b916dcbe01471a573ecaddb509cb9f0969 |
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Fix the BindSampler unit limit. I'm not sure about this one. The current code actually follows the spec, but considering the spec is supposed to be written against GL 3.2 I'd say the spec is broken. I filled out a spec feedback form over a month ago, but either the form is broken, or nobody cares. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/samplerobj.c
|
bfe284fd26e96b71c7cf46e6365b3697d68cde83 |
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Fix a couple of TexEnv unit limits. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texenv.c
|
47441956284b3e22df2ee8500667617d2880bfc8 |
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Use the Elements macro for the sampler index assert in validate_samplers(). This is probably nicer if the array size ever changes. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/shaderapi.c
|
86adc2b29effb573c18eb0de7016cef605ab1edc |
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders. The total number of units used by a shader is limited to MAX_TEXTURE_UNITS, but the actual indices are only limited by MAX_COMBINED_TEXTURE_IMAGE_UNITS, since they're shared between vertex and fragment shaders. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/shaderapi.c
ain/uniforms.c
|
2e35d90fb9a50562d3c658d45a50e16623028d8e |
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Check the texture against all units in unbind_texobj_from_texunits(). NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/texobj.c
|
dbda466fc05a6262ba857a7887e16347cf3d3e96 |
25-Jun-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Allocate temporary instructions on the visitor's ralloc context And don't delete them. Let ralloc clean them up. Deleting the temporary IR leaves dangling references in the prog_instruction. That results in a bad dereference when printing the IR with MESA_GLSL=dump. NOTE: This is a candidate for the 7.10 and 7.11 branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38584 Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
b786db06540472beda9cedd18937d6e12855b3eb |
06-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix texstore addressing bugs for depth/stencil formats Using GLuint pointers worked when the pixel size was four bytes or the row stride was a multiple of four but was otherwise broken. Fixes failures found with the piglit fbo-stencil test. This helps to fix https://bugs.freedesktop.org/show_bug.cgi?id=38729 NOTE: This is a candidate for the 7.11 branch.
ain/texstore.c
|
07e5295b6fe77253ea38dbc0d649b20e7275373a |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't error on glFeedbackBuffer(size = 0, buffer = NULL) The existing error result doesn't appear in the GL 2.1 or 3.2 compatibility specs, and triggers an unexpected GL error in Intel's oglconform when it tries to reset the feedback state after usage so that the "diff the state at error time vs. context init time" code doesn't generate spurious diffs. The unexpected GL error then translates into testcase failure. Brian wants the safety check on buffer = NULL, though, so that people can't as easily set up a broken buffer.
ain/feedback.c
|
c9aac11713c6238a8e3a89e8501e6e686fa811a7 |
29-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an error. Like the previous commit, but fixes ARB_vertex_program/getlocal4d-with-error. v2: Move the success case line into the conditional, use ASSIGN_4V more.
ain/arbprogram.c
|
e9d563e3ffed8eadde41c8cb25eaa42e20e9688f |
28-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error. Fixes a bug caught by oglconform, and now piglit ARB_vertex_program/getenv4d-with-error. The wrapping of an existing GL function made it so that we couldn't distinguish an error in looking up our arguments from an existing error. Instead, make a helper function to choose the param, and use it from multiple callers. v2: Move the success case line into the conditional, use COPY_4V more.
ain/arbprogram.c
|
eafc74d7d4982a835ac43c73963dda9982652464 |
30-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix message register allocation in FB writes. Commit 6750226e6d915742ebf96bae2cfcdd287b85db35 bumped the base MRF to m2 instead of m0, but failed to adjust inst->mlen, which was being set to the highest MRF. Subtracting the base MRF solves the issue. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
b633ddeb9fd951ddc49e8a3fd25a946e5a16361f |
14-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Implement new ir_unop_u2i and ir_unop_i2u opcodes. No MOV is necessary since signed/unsigned integers share the same bit-representation; it's simply a question of interpretation. In particular, the fs_reg::imm union shouldn't need updating. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
006d5a1aa4f9e07ceefdbb68324e9806f737a71c |
15-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: "Support" u2f, i2u, and u2i operations by doing nothing. Mesa IR actually stores all numbers as floating point, so this is totally a farce, but we may as well keep it going. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/ir_to_mesa.cpp
|
5ddc518401ae69ad92218643f00ef50617a0f11d |
29-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Add missing ! to brw->gs.prog_active assertion. A typo in commit c173541d9769 accidentally removed the !. It's supposed to assert that there is _not_ an active GS program. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38762 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_urb.c
|
e17f2bad3abf8e08b74871c71566dea5f1ce4bf7 |
29-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.12 (devel)
ain/version.h
|
475685ce5079877be5fc1fbcb8206dff4b79b0f3 |
29-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/tex_usage/bindings/ in st_format.h Just be consistent with the .c file.
tate_tracker/st_format.h
|
9b5c538726d279c79c1c74047fe19a6caab5321e |
28-Jun-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
st/mesa: Use correct internal target Commit 1a339b6c(st/mesa: prefer native texture formats when possible) introduced two new arguments to the st_choose_format() functions. This patch fixes the order and passes the correct internal_target rather than GL_NONE NOTE: This is a candidate for the 7.11 branch Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
19789e403ca3d0171d18f3c862738225902315e9 |
27-Jun-2011 |
Andre Maasikas <amaasikas@gmail.com> |
st/mesa: fix overwriting gl_format with pipe_format since 9d380f48 fixes assert later on in texcompress2/r600g Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
ac8fdbc1c723afb19eeaba5457ba78d0bf33b8d4 |
29-Jun-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
st-api: Rework how drawables are invalidated v3. The api and the state tracker manager code as well as the state tracker code assumed that only a single context could be bound to a drawable. That is not a valid assumption, since multiple contexts can bind to the same drawable. Fix this by making it the state tracker's responsibility to update all contexts binding to a drawable Note that the state trackers themselves don't use atomic stamps on frame-buffers. Multiple context rendering to the same drawable should be protected by the application. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_cb_viewport.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
|
a09c5c2e3053c48a33134cf28229105bfef52e6f |
19-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Reissue PIPELINE_POINTERS and BINDING_TABLE_POINTERS on SBA change. This was a requirement we didn't run into until we started using STATE_BASE_ADDRESS for instruction data.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_viewport_state.c
|
cd7bfd5d44f543246faa7ad6ff2f8309189be963 |
19-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix scissors using invalid STATE_BASE_ADDRESS. The scissor state was incorrectly in a .prepare function instead of .emit, so the packet would end up in the batch before the STATE_BASE_ADDRESS. It appears that this doesn't actually hurt, as the scissor address gets dereferenced according to the current SBA at draw time.
rivers/dri/i965/gen6_scissor_state.c
|
6750226e6d915742ebf96bae2cfcdd287b85db35 |
17-Jun-2011 |
Ben Widawsky <ben@bwidawsk.net> |
i965: step message register allocation The system routine requires m0 be reserved for saving off architectural state. Moved the allocation to start at 2 instead of 0. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
42e7a13e7bc9def0bcdede2d3a34dad1718e105c |
25-Jun-2011 |
Brian Paul <brianp@vmware.com> |
Revert "Fix 24bpp software rendering" This reverts commit c0c0bb6cb140825f5bab3c40c0c9c0ec575fbc76.
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
|
773556e0f537eba82d9d68d618e229140f413620 |
25-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen5: Fix grf_used calculation for 16-wide. If we happened to allocate a texture result (or other vector) to the highest hardware register slot, and we were in 16-wide, we would under-count the registers used and potentially wrap around to g0 if that allocation crossed a 16-register block boundary. Bad rendering and hangs ensued. Tested-by: Ian Romanick <idr@freedesktop.org>
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
95c2e0b601fd333cc73d7f214a3cd949f7e45aac |
12-Jun-2011 |
Paul Berry <stereotype441@gmail.com> |
i965: fix mask used to write to clip distance registers when gen>6 In gen6 and above, clip distances 0-3 are written to message register 3's xyzw components, and 4-7 to message register 4's xyzw components. Therefore when when writing the clip distances we need to examine the lower 2 bits of the clip distance index to see which component to write to. emit_vertex_write() was examining the lower 3 bits, causing clip distances 4-7 not to be written correctly. Fixes piglit test vs-clip-vertex-01.shader_test
rivers/dri/i965/brw_vs_emit.c
|
6062692cc6cd2a88d854b304d9a85bcf4bab0d11 |
23-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Fix workaround for _mesa_update_framebuffer In intel_draw_buffer, there exists a workaround to prevent _mesa_update_framebuffer from creating a swrast depth wrapper when using separate stencil. This commit fixes the workaround, which was incomplete for s8z24 texture renderbuffers. Fixes fbo-blit-d24s8 on gen5 with separate stencil manually enabled. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_buffers.c
|
97f263c229784a55014b32e8b3e420e58f8bc851 |
23-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Change framebuffer validation criteria Since all infrastructure is now in place to support packed depth/stencil renderbuffers when using separate stencil, there is no need for special cases when separate stencil is enabled. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
e357ae949465d0304adb704df5d860ee678390e7 |
23-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: In intel_update_wrapper, support s8z24 textures when using separate stencil Also, in order to coerce intel_update_tex_wrapper_regions() to allocate the hiz region, alter intel_update_tex_wrapper_regions() to examine the renderbuffer format instead of the texture image format. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
bffae4c9cd7df044cdbeeed1de257d720f1e76ac |
23-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Factor region updates out of intel_update_wrapper ... and into new function intel_update_tex_wrapper_regions. This prevents code duplication in the next commit. Also add a note explaining that the hiz region is broken for mipmapped depth textures. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
d09704b4e96ab333d567e3a60e77b4dba9be5e76 |
22-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: During glTexImage, allocate renderbuffers for faking s8z24 textures ... when using separate stencil. Define function intel_tex_image_x8z24_create_renderbuffers and call it in intelTexImage after the miptree has been created and filled with data. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_tex_image.c
|
5cd4d8551778e1b371397ad4a1144a1c0b9f436f |
22-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Declare some functions in intel_fbo.c as non-static ... because they will be needed by intel_tex_image_s8z24_create_renderbuffers. Redeclared functions are: intel_alloc_renderbuffer_storage intel_renderbuffer_set_draw_offsets Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
8869a2623775a4879ac310d7073f184b7d45eed1 |
21-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Change signature of intel_create_wrapped_renderbuffer Redeclare as non-static because intel_tex_image_s8z24_create_renderbuffers will use it. Remove the 'wrapper' parameter, because there is no wrapper for intel_texture_image.depth_rb and stencil_rb. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
951b75808eeac5fb97183ea8e653512bfa35fdb2 |
22-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Perform gather on s8z24 texture images during glGetTexImage Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_tex_image.c
|
01e493980c133ad20f70d627dcc1b1900e3ebf44 |
22-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Define functions intel_texture_s8z24_scatter/gather ... which copy the stencil bits between intel_image->depth_rb and intel_image->stencil_rb. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_tex_image.c
|
1a062dfc6f6e872e18f048bb5a61709c36f22870 |
21-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add fields to intel_texture for faking s8z24 with separate stencil Add the fields depth_rb and stencil_rb, and put hooks in place to release the renderbuffers in intelFreeTextureImageData and intelTexImage. Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
|
407832b0d251515307dc0712863e243435baa4c2 |
24-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
st/mesa: add PIPE_FORMAT_R8G8B8A8_UNORM as the first RGBA format. Otherwise we can end up creating RGBA render targets (which are BGRA on the hardware), and then we bind them as RGBA textures (which are RGBA on the hardware). This generates software fallbacks every time we bind the frame as a texture.
tate_tracker/st_format.c
|
100a37587f9919d986e6af6f7e2ddecdc5bcfd09 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: don't allocate memory in _mesa_unpack_depth_span if we don't need it Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
12c105b5de7dfb0e1c1f1fbe4ee71ddd54b020a7 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix a memory leak in _mesa_unpack_depth_span NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
e41a91cea764cc1ba95906251cd907d837225293 |
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix texstore of DEPTH24_STENCIL8 if srcFormat is STENCIL_INDEX NOTE: This is a candidate for the 7.10 branch.
ain/texstore.c
|
2b41399bb46356d5866c9bb4adfe4bb8f4878468 |
01-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused function _mesa_new_depthstencil_renderbuffer Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
ain/renderbuffer.h
|
09e71cf7228232aa203915c9248c79cf26c5b917 |
24-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix pipe_get_transfer() call in fallback_copy_texsubimage() Commit 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 caused us to take a different path through the glCopyTexSubImage() code. The pipe_get_transfer() call neglected to pass the texture's level, face and slice info. So we were always transferring from the 0th mipmap level even when the source renderbuffer was a non-zero mipmap level in a texture. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38649 NOTE: This is a candidate for the 7.10 branch.
tate_tracker/st_cb_texture.c
|
0c27dcb75cf43bd58d32c3d5d580f0d3145e27d8 |
22-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Make the brw_format_for_mesa_format table static const. Once again, assuming the compiler is clever works out so poorly. The generated code initialized the structure on the stack, then did a lookup into it. This was a performance regression from 70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
3541cc0d40f86d8ea63a876b7215831335ec677d |
22-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't bother telling swrast_setup about state updates until fallback. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_context.c
|
6cf3d1cace770a3b4a0bff0d44db3b9e1da4cb09 |
22-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't bother telling tnl about state updates unless we fall back. This was sucking up 1% of the CPU on 3DMMES. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_context.c
|
18d4a44bdc2ed91ec9511d816acddc4a0bd7f9be |
26-Feb-2011 |
Eric Anholt <eric@anholt.net> |
i965: Reuse existing program data when a new compiled program matches. It's common in applications just before the advent of EXT_separate_shader_objects to have multiple linked shaders with the same VS or FS. While we aren't detecting those at the Mesa level, we can detect when our compiled output happens to match an existing compiled program. This patch was created after noting the incredible amount of compiled program data generated by Heroes of Newerth. It reduces the program data in use at the start menu (replayed by apitrace) from 828kb to 632kb, and reduces CACHE_NEW_WM_PROG state flagging by 3/4. It doesn't impact our rate of hardware state changes yet, because things depending on CACHE_NEW_WM_PROG also depend on BRW_NEW_FRAGMENT_PROGRAM which is still being flagged. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_cache.c
|
d91dc4a356e5509116572770b89d0a7520a55bfc |
24-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix all_varyings_in_vbos() regression Fixes regression from d631c19db47181129811080bfa772b210d762d4d. See http://bugs.freedesktop.org/show_bug.cgi?id=38626
tate_tracker/st_draw.c
|
c0c0bb6cb140825f5bab3c40c0c9c0ec575fbc76 |
24-Jun-2011 |
Marc Pignat <marc@pignat.org> |
Fix 24bpp software rendering This patch add the support for 24bpp in the dri/swrast implementation. Signed-off-by: Marc Pignat <marc@pignat.org> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
|
d3d3fea7200947893eafa1da21db3b78c15356d9 |
24-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
dri/r200: properly spell current_atom.
rivers/dri/r200/r200_cmdbuf.c
|
5f691ba36fc52da3f0565c238c1f892422f7d439 |
24-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
dri/r200: rename __atom to current_atom. __atom is defined by gcc when the atom compile optimizations are used.
rivers/dri/r200/r200_cmdbuf.c
|
ca7510bbf9bdff35f813f970e3120a9c7f728cca |
24-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error string
ain/teximage.c
|
1f544cc58794cffe5d5cac5a83efde91154f1b7d |
24-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix format selection regression Note all gallium formats are supported by Mesa so disable them. Fixes regression from 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15. See https://bugs.freedesktop.org/show_bug.cgi?id=38602
tate_tracker/st_format.c
|
d631c19db47181129811080bfa772b210d762d4d |
17-Jun-2011 |
Eric Anholt <eric@anholt.net> |
vbo: Don't discount stride == 0 for testing all varyings in VBOs. In fixed function, stride == 0 (e.g. glColor4f() outside of the draw call) would get turned into uniform inputs, which is why it was ignored originally in this test. For shaders, drivers end up seeing a need to upload stride == 0 data, and get confused by needing to upload when vbo_all_varyings_in_vbos() returned true. In the 965 driver case, it wouldn't bother to compute the min/max index, and uploaded nothing if the min/max wasn't known. We've talked about removing the ff stride=0-into-uniforms code, so this check shouldn't be missed once that's gone. Fixes ARB_vertex_buffer_object/mixed-immediate-and-vbo Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37934 Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_rebase.c
|
8f28c05d07c7a1919c938d81b5f524aed2c60228 |
17-Jun-2011 |
Eric Anholt <eric@anholt.net> |
vbo: Don't bother checking for stride == 0 for "any varying in a VBO". We would still want to consider that data as being in a VBO even if we managed to produce this case, which as far as I know we can't. Reviewed-by: Brian Paul <brianp@vmware.com>
bo/vbo_rebase.c
|
babe1fc004b56202b2bd54d9689f5208dc4fd607 |
20-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add a couple more packets to the nonpipelined workaround list. All the packets chosen before came from grepping the pdf for nonpipelined, and these two came from grepping for non.pipelined. We could stand a review by looking at all packets emitted and identifying what kind they are.
rivers/dri/i965/brw_misc_state.c
|
3af3c58dfd8b1ddc96fc10b6865de0cb26860dde |
09-Mar-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
intel: Implement DRIimageExtension::dupImage
rivers/dri/intel/intel_screen.c
|
7587c140cd0c28f6c500846a7311b435443f46fd |
22-Jun-2011 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: use a helper for st_framebuffer creation In st_api_make_current, we would like to reuse the exising st_framebuffer if possible. Use a helper function to make the code clearer.
tate_tracker/st_manager.c
|
1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 |
23-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
st/mesa: prefer native texture formats when possible. If possible, we want to match the hardware format to what the app uses. By doing so, we avoid the need for pixel conversions and therefore greatly speed up texture uploads.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
5ff22ab229d40a5ffc6f5e67f58359cdef33e8dc |
22-Jun-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add missing bank tiling case for evergreen Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_screen.c
|
9786688672db9e8916b6b64ec78417197db77e84 |
22-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: comments and 80-column wrapping
ain/state.c
|
3c95ff209f72bacd1b5807c97e1dee079e9206b3 |
22-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comments in update_program_enables()
ain/state.c
|
79dddedfd197d089ccb1c6d8b5b7d38583493ac5 |
22-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update/fix comments in update_program()
ain/state.c
|
f3f080e526017f9643fd25543b4e0039f1905f4b |
22-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comment for gl_texture_unit
ain/mtypes.h
|
63e8cda9f180acd0f4fc38ca9569b16fbd3640d7 |
21-Jun-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: use BASE_VTX_LOC & AUTO_INDEX for drawing nonindexed with offset Saves cmd buffer space as we were generating indexes into cs in this case. This was laying around in https://bugs.freedesktop.org/show_bug.cgi?id=32768 for a long time.
rivers/dri/r600/r700_render.c
|
3db27d4a4aee9f311a447778ce94007415f2637f |
17-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Allocate s8_z24 non-texture renderbuffers when using separate stencil Now all infrastructure is in place to support s8_z24 non-texture renderbuffers for gen7. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
36e05c6870fc466053b4f54edd890e19d5ac9dcf |
15-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Unobfuscate intel_alloc_renderbuffer_storage Hiz buffer allocation can only occur if the 'else' branch has been taken, so move the hiz buffer allocation into the 'else' branch. Having the hiz buffer allocation dangling outside of the if-tree was just damn confusing. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
39d0e3632a4ccb10f2ce6578151e854ba52d3c0e |
16-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add fields to intel_renderbuffer for unwrapping packed depth/stencil buffers Add the following fields: intel_renderbuffer.wrapped_depth; intel_renderbuffer.wrapped_stencil If the intel_context is using separate stencil and the renderbuffer has a packed depth/stencil format, then wrapped_depth and wrapped_stencil are the real renderbuffers. Alter the following functions to accomodate the wrapped buffers: intel_delete_renderbuffer intel_draw_buffer intel_get_renderbuffer intel_renderbuffer_map intel_renderbuffer_unmap Subsequent commits allocate renderbuffer storage for wrapped_depth and wrapped_stencil. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
23ed3b90c7f9056182307f9a69a56f748da331a3 |
09-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Unconditionally enable support for S8_Z24 texture format Commit b5c847c7ca06823af3b72324056a2e478caca70b erroneously disabled support for S8_Z24 texture format when the context required separate stencil (intel_context.must_use_separate_stencil). But the GL spec requires implementations to support GL_DEPTH24_STENCIL8. So we better find a way to fake it... From page 180 (196 of pdf) of the OpenGL 3.0 spec: In addition, implementations are required to support the following sized internal [texture] formats. [...] - Combined depth+stencil formats: DEPTH32F_STENCIL8 and and DEPTH24_STENCIL8. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
|
0c74091591a8ab2760949715b2fde41074fb9532 |
21-Jun-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
st/mesa: Invalidate drawables on context switch
tate_tracker/st_manager.c
|
649d03d54d2b508bc6144fed41cedf7aa9ad0be5 |
21-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
st/mesa: Remove unneeded texture format terminators. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
bc60a7515a5ea2c1d3ae79a9e5dac7d5d2ed7276 |
21-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: put const qualifer on format_map table
tate_tracker/st_format.c
|
f6e5230b2614cc91e4c849c07781b2230878d274 |
18-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Apply documented workaround for nonpipelined state packets. Fixes a 100% reproducible GPU hang in topogun-1.06-orc-84k.trace. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
0ab7d6f437f2f7a1b2d84f30497f3c2013b52791 |
18-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Limit the workaround flush to once per primitive. We're about to call this function in a bunch of state emits, so let's not spam the hardware with flushes too hard.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.h
|
dfada714f8db3deea2fea3583c3c166a78db1117 |
18-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Use an BO instead of writing to address 0 for PIPE_CONTROL W/A. This was spectacularly unsafe. On my system, address 0 happens to be the hardware status page for the render ring, and the first quadword of that happens to contain nothing we ever look at, but I sure didn't look forward to having to debug some day when, for example, the kernel happened to bind the ringbuffer before binding the hwsp.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
8f9e8d79c8c180e4254d01c688969d6d45386891 |
18-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Factor the PIPE_CONTROL workaround to a separate function. We're need this workaorund a lot more than we're currently doing, so let's reuse it.
rivers/dri/intel/intel_batchbuffer.c
|
911768700ed63c937bfcc75ec9afcfd1aa66f690 |
16-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Remove state flagging on BRW_NEW_CURBE_OFFSETS. That flag was leftover from gen4, where brw_curbe.c is choosing ranges of the CURBE space for constants to live in, and the unit state tells where to load them from. That's not the case on gen6 -- we don't set this flag (since constants aren't in the URB), nor do we have any state like that to upload.
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
c860f48f11b83334128c8e557a64036b8071a90b |
16-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Remove old VS unit state key structure. We're streaming VS state out now, not caching it.
rivers/dri/i965/brw_vs_state.c
|
7d4d6082403bef750375cbff5cbb709e1fd30715 |
16-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add missing state flag for VS push constants. It was already annotated up above and everything.
rivers/dri/i965/gen6_vs_state.c
|
b46dc45ceef3deb17ba2b0b4300eeb93e9cf7833 |
16-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Correct gratuitous dependency on NEW_POLYGONSTIPPLE. That flag is for the contents of the stipple, not the enable flag.
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
416a698b3c727c6db9902ac20053da73bb4b59c2 |
16-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6+: Add a missing state flag for WM constants.
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_wm_state.c
|
dd3b812962a8720aca0a80bf6ea35f70319d3ca1 |
11-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable extension GL_ARB_shader_texture_lod. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36987 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_extensions.c
|
6430df37736d71dd2bd6f1fe447d39f0b68cb567 |
10-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add support for TXD with shadow comparisons. Our hardware doesn't have a sample_d_c message, so we have to do a regular sample_d and emit instructions to manually perform the comparison. This requires a state dependent recompile whenever the sampler's compare mode or function change. This adds the per-sampler comparison functions to brw_wm_prog_key, but only sets them when the sampler's compare mode is GL_COMPARE_R_TO_TEXTURE (i.e. only for shadow sampling). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
01fa9addf447120e994415ad8fc8246ac234ec27 |
10-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Refactor texture result swizzling into a helper function. The next patch will add a few additional uses. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
f1622cfe9c0f37a9b452be1297f187cba8c46e6a |
10-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Move sampler fetch to the top of the ir_texture visit function. This makes it available earlier, which will soon be necessary. (Separating code motion from actual changes.) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
6c947cfd1973c3791d54f1406c973357b4a9621a |
09-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add support for non-shadow textureGrad (TXD) on gen4. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
2f4a4b943f1cad9bbbb8f66c34dca506503ba5bb |
09-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add support for non-shadow textureGrad (TXD) on gen5/6. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_visitor.cpp
|
3fa910fff9f72d1adf33f0f4dea3d790a9ce04ab |
09-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Add support for non-shadow textureGrad (TXD) on Ivybridge. This is somewhat ugly, but I couldn't think of a nicer way to handle the interleaved coordinate/derivative parameter loading. Ironlake and Sandybridge will still hit an assertion in visit(). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
ad9481e12813d5f1dec95ce123927e132fa935fb |
11-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Check for compilation failure and bail before optimizing. Prior to this patch, it would attempt to optimize and allocate registers for the program even if it failed to compile. This seems wasteful. More importantly, the "message length > 11" failure seems to choke the instruction scheduler, making it somehow use an undefined value and segmentation fault. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
c173541d9769d41a85cc899bc49699a3587df4bf |
27-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use state streaming on programs, and state base address on gen5+. There will be a little bit of thrashing of the program cache BO as the cache warms up, but once the application is in steady state, this reduces relocations on gen5 and later. On my T420 laptop, cairogl firefox-talos-gfx performance improves 2.6% +/- 1.3% (n=6). No statistically significant performance difference on nexuiz (n=5).
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_urb.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/i965/gen7_disable.c
rivers/dri/i965/gen7_urb.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
962dab948609c97c1c01fde6a27e19307948d302 |
15-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Only flag the new-batch related state as dirty at new batch time. This was debug code from the initial import of the driver. No statistically significant performance difference on cairo-gl or nexuiz (n=6).
rivers/dri/i965/brw_vtbl.c
|
6f998b58bc61f2507cd53204d7567299379c42ca |
19-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix render-to-texture regression. Accidentally introduced in fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe. Fixes fbo-drawbuffers-maxtargets and friends.
ain/fbobject.c
|
001e07144332203bb30993eed4181b0e411a18be |
26-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Flag _NEW_BUFFERS when unbinding an attachment on glDeleteTextures. The _ColorDrawBuffers[] wouldn't get updated despite us having updated what it depends on (Attachments[]->Renderbuffer). Other callers of _mesa_remove_attachment are already flagging _NEW_BUFFERS for other reasons. The specific bug report that led to this fix (and the fbo-finish-deleted testcase) was fixed by 23b6f9606dc247488835745668b3686218612536, though. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texobj.c
|
a5a36d9b158a317daa1cf10a6b6ed2bed6b22750 |
11-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't try to continue space before the start of a VBO. This loop is trying to see if all the buffers to be uploaded happen to be the same increment from the start of the 3DSTATE_VERTEX_BUFFERS currently loaded in the hardware. However, we might be at a smaller offset than the previous set of VERTEX_BUFFERS, so we can't reuse because that packet made the first entry be its starting offset (you can't access outside the given bounds). Fixes piglit ARB_vertex_buffer_object/elements-negative-offset.
rivers/dri/i965/brw_draw_upload.c
|
5c2c60175d0e5da9b0e9688538b84dedf05107de |
11-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add missing state flag for vertex elements on current VS program. Fixes a missing 3DSTATE_VERTEX_ELEMENTS on topogun.trace.
rivers/dri/i965/brw_draw_upload.c
|
753660780a84187043d0dc4b0e0f449786862182 |
17-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: allow depth texture arrays The GL_EXT_texture_array spec allows this (Section 3.8.1). Fixes failing piglit fbo-depth-array test. NOTE: This is a candidate for the 7.10 branch.
ain/teximage.c
|
da5c852d636dfeffeb792c78b882c80c91ab6a89 |
17-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unneeded test for GL_TRUE
tate_tracker/st_format.c
|
15750d89b9d3592032814faf7dd885c9dd6d686b |
17-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove redundant _mesa_is_depth_format() call The _mesa_is_depth_or_stencil_format() call covers all depth format cases too.
tate_tracker/st_format.c
|
3ea6fdfdf1a6aed5c924cfe52aa0d543c6d58aa3 |
17-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove trailing whitespace in st_format.c
tate_tracker/st_format.c
|
befaab8fa12eb4f628e21ffa75e523ac5eb7fbc2 |
17-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: move comment for ChooseTextureFormat() to right place
tate_tracker/st_format.c
|
fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe |
16-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use helper functions to distinguish between user/winsys FBOs And replace IS_CUBE_FACE() macro w/ inline function.
ain/fbobject.c
|
37e6ab7b2de90ee90c06ceb08974423248fa6ee5 |
16-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: refactor, create _mesa_update_draw_buffers() helper Move this code out of _mesa_make_current() and put it into a helper function.
ain/buffers.c
ain/buffers.h
ain/context.c
|
296052681601f98e16c701299d2b2a6d9bd5eeab |
16-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: updated comments in _make_current()
ain/context.c
|
8875dd58719b978283e89acf04422a4eaf9b021d |
14-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Fix typo in intel_offset_S8 comments Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_span.c
|
d105f6684dfbfe596e57ddeb9377e7f9e4e57dcb |
09-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
i965/gen5,6: Fix hang when emitting hiz buffer without stencil buffer When emitting either a hiz or stencil buffer, the 'separate stencil enable' and 'hiz enable' bits are set in 3DSTATE_DEPTH_BUFFER. Therefore we must emit both 3DSTATE_HIER_DEPTH_BUFFER and 3DSTATE_STENCIL_BUFFER. Even if there is no stencil buffer, 3DSTATE_STENCIL_BUFFER must be emitted; failure to do so causes a hang on gen5 and a stall on gen6. This also fixes a silly, obvious segfault that occured when a hiz buffer xor separate stencil buffer existed. Fixes the piglit tests below on Gen5 when hiz and separate stencil are manually enabled: fbo-alphatest-nocolor fbo-depth-sample-compare fbo hiz-depth-read-fbo-d24-s0 hiz-depth-stencil-test-fbo-d24-s0 hiz-depth-test-fbo-d24-s0 hiz-stencil-read-fbo-d0-s8 hiz-stencil-test-fbo-d0-s8 fbo-missing-attachment-clear fbo-clear-formats fbo-depth-* Changes piglit test result from crash to fail: hiz-depth-stencil-test-fbo-d0-s8 Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_misc_state.c
|
3751aa4592fb9e97823876ae1b434bf573d4639b |
14-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix indentation, whitespace
tate_tracker/st_atom_sampler.c
|
99feecc7d1d0a6efb2511859973d6029d9fed9fd |
14-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace st->ctx with ctx
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_stipple.c
tate_tracker/st_atom_texture.c
tate_tracker/st_draw.c
|
c1477f6ffe6a3d032dbcc76a5f506a7293e2fece |
14-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix comments, whitespace
tate_tracker/st_draw.c
|
ee231b30a804438c89da7987d4546f14e0d9179a |
14-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: improved is_interleaved_arrays() checking Check that the difference in array pointers/offsets from the 0th array are less than the stride, for both VBOs and user-space arrays. Previously, we were only doing this for the later. This tightens up the interleaved array test and fixes a problem with the llvmpipe driver where we were creating way too many vertex fetch variants only because the pipe_vertex_element::src_offset values were changing frequently. This change results in a 5x speed-up for one of the viewperf tests. Also, clean up the function to make it easier to understand.
tate_tracker/st_draw.c
|
24a760e9cb7a1c905e36135534d4a9c6e93c3f2a |
15-Jun-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add tiling support for evergreen+ Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_screen.c
|
10e418f3815d690b2526e835bc7eb421b6be7050 |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Switch generate_mipmaps_compressed() to using TexImage2D to upload. The code was playing fast and loose with rowstrides, which meant that if a driver chose anything different for its alignment requirements, the generated mipmaps came out garbage. Unlike the uncompressed case, we can't generate mipmaps directly into image->Data, so by using TexImage2D we cut out most of the weird logic that existed to generate in-place into ->Data. The up/downside is that the driver recovery code for the fact that _mesa_generate_mipmaps whacked ->Data has to be turned off for compressed now. Fixes 6 piglit tests about compressed mipmap gen.
rivers/dri/intel/intel_tex.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/radeon/radeon_texture.c
ain/mipmap.c
|
b0c4db68b2bea1d41ba42211a3ff6b41dfee21a8 |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove uncompressed code from generate_mipmaps_compressed().
ain/mipmap.c
|
2bfd81df0a05351d79613b84908f167d6c5ad0af |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove compressed code from generate_mipmaps_uncompressed().
ain/mipmap.c
|
ba55ccd312e8a025f568ffcdc622660f146e2147 |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Split _mesa_generate_mipmap along compressed/uncompressed lines. The path taken is wildly different based on this (do we generate from a temporary image, or from level-1's data), and we appear to have stride bugs in the compressed case that are tough to disentangle. This just duplicates the code for the moment, the followon commit will do the actual changes. Only real code change here is handling maxLevel in one common place.
ain/mipmap.c
|
b9fbb9df22ab8ef869730c8b5c1eb79f4f48038e |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix miptree height alignment for compressed NPOT textures. This is effectively just "round up when dividing by 4" compared to the previous code. Fixes the broken stripe at the top of fbo-generatemipmap-formats GL_EXT_texture_compression_rgtc.
rivers/dri/intel/intel_tex_layout.c
|
56965aa007c2c6029204d617c0edcf142603e98d |
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop dead preinitialization of align_w, align_h.
rivers/dri/intel/intel_tex_layout.c
|
f94fef83db10f0c9327bd3dd43510ad31c94d82a |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the cpp argument to intel_miptree_create().
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
6dcc398ac0837025cf60b4d6a056fa3b0a16466f |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Calculate compress_byte in intel_miptree_create. One less argument and thing to get wrong.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
9c5fdbb721147f7304faaa8960f5b64e25a8f673 |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use the gl_format to get the base_format for miptree create. One less argument to this insanely long function call.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
9a523a48af05118424714f0a34ca3dda6861186a |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the internal_format field of the mipmap tree. This has been replaced with the gl_format now.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
0fac09a87c07d09dcd915c02b831505a53b02153 |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make the intel_miptree_match_image format check more specific. We don't care just about the internalFormat/cpp/compressed, but about the specific format chosen. We have no support for format translations as part of texture validation, and furthermore it has restrictions in the GL specification. However, we should be making consistent decisions for this check anyway.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_validate.c
|
afbe605eff5af3739a76705a04a3c97a53c81b0d |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i915: Drop dead argument to translate_texture_format().
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
|
4a60b0c8d2e4890038e1c6a72a7dac3b4cdf996e |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add block alignment for RGTC textures. We were using the default 4x2 alignment instead of the 4x4 required for RGTC textures.
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
d5809115b568d8b74f47316607dce0730964517a |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add the MESA_FORMAT as a field of the miptree. We only had internal_format before, which is way more irritating to work with.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
51ce86b7811871896d3b838888ab4adbfb77413d |
09-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix 2x2 and 1x1 compressed teximages from _mesa_generate_mipmap() Generally image uploads to a the region occur at TexImage time, but that's not the case for fallback _mesa_generate_mipmap(), and in this path we were forgetting to align the width when dividing height. We were just leaving out parts of the compressed block at 2x2 and 1x1 levels. Fixes gen-compressed-teximage.
rivers/dri/intel/intel_mipmap_tree.c
|
296e6b9038131cd246226881208ffebe3c2683c3 |
08-Jun-2011 |
Eric Anholt <eric@anholt.net> |
meta: Fix glCopyTexImage(GL_LUMINANCE) from non-GL_LUMINANCE source. glReadPixels() was performing RGB -> L conversion differently from the glTexImage() style conversion appropriate for glCopyTexImage(). Fixes gles2conform copy_texture.
rivers/common/meta.c
|
df46eb8ec082e020ae7e45d3f584cb1d3dd55653 |
08-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix mipmap and format handling of blit glCopyPixels(). Fixes fbo-mipmap-copypix.
rivers/dri/intel/intel_pixel_copy.c
|
ef0d548838c3da476596ee4dc983cc02b4f67b7b |
01-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Do the drawable x/y offset in intel_renderbuffer_map() for spans. We were mapping the renderbuffer once, then walking over all the buffers to map just the texture ones using the other texture mapping function that handled the x/y offset to the image in the region. But then we would go and overwrite *those* mappings with the original mappings for depth/stencil, which was wrong. Instead, just walk over the attachments once and map the attachments. Wasn't that easy?
rivers/dri/intel/intel_span.c
|
fb60e2061b1f2f58a65e908e864704c234b300b0 |
01-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use rb->Data and rb->RowStride to handle spans Y flipping. This is already pointing at 0 or Height - 1 and with an appropriate pitch, so no need to recompute those values per customization of the spans code. Cuts 3 out of 21kb of the compiled size. Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_span.c
|
d29117752f10d9bcb61e7b26064a872017a64ebe |
01-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clean up intel_render_texture with a rename and a helper function. The "newImage" isn't particularly new -- it might be the same texture that was attached to the same attachment point before. This function also gets called when just rebinding back to an FBO with a texture attachment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
b17aab5753a6d14c9e757bedb186963b2dae8823 |
31-May-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move the draw_x/draw_y to the renderbuffer where it belongs. It was originally located in the region because the tracking of depth/color buffers was on the regions, and getting back to the irb would have been tricky. Now, we're keying off of the renderbuffer in more places, which means we can move these fields where they belong. This could fix potential rendering failure with a single texture having multiple images attached to different renderbuffers across shareCtx (as far as I can tell, this was the only failure we could cause, since anything else should trigger intel_render_texture in between, for example a BindFramebuffer). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_copy.c
|
4fa01d705f0b795a5df30127925ced8e0522631f |
14-Jun-2011 |
Brian Paul <brianp@vmware.com> |
dri: include swrast.h, not s_texrender.h
rivers/dri/intel/intel_fbo.c
rivers/dri/radeon/radeon_fbo.c
|
755f2e2ae597df9208523b0996bbdabf3db463b0 |
13-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move texrender.c to swrast This stuff is really for software rendering, it's not core Mesa. A small step toward pushing the FetchTexel() stuff down into swrast. Reviewed-by: Eric Anholt <eric@anholt.net>
Conscript
rivers/common/driverfuncs.c
rivers/dri/intel/intel_fbo.c
rivers/dri/radeon/radeon_fbo.c
ain/texrender.c
ain/texrender.h
ources.mak
wrast/s_texrender.c
wrast/swrast.h
|
8852e35e29ff941172540e1ec7158b9259f46c3c |
13-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: minor simplification in print_draw_arrays() debug function
bo/vbo_exec_array.c
|
e6e1864f1c6c9be46b255e390d67de10f8f39509 |
13-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move invariant code out of loop in get_tex_rgba()
ain/texgetimage.c
|
317247390a3af61f2913e4446959975c9ab2478a |
12-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: rebind vertex arrays if _NEW_BUFFER_OBJECT is dirty This fixes piglit/vbo-bufferdata. It's a regression in 7.11. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_draw.c
|
4176025d463e7733dac19788b45b6472b65d62d4 |
08-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_FIXED vertex attributes. This sadly requires work in the VS to rescale them, because the hardware doesn't support this format natively. Fixes arb_es2_compatibility-fixed-type and gtf/fixed_data_type. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
23ef4a6063668c187d00a0502207f0c03be5f994 |
10-Jun-2011 |
Eugeni Dodonov <eugeni@mandriva.com> |
Fix format not a string literal error with -Werror=format-security A trivial fix for error: format not a string literal and no format arguments with compiling with -Werror=format-security flags. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
97d230b0bcf8ed001f685ebac314fbd8e1955718 |
10-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
i965/brw: Fix emit_depthbuffer() when packed depth/stencil texture is attached If either depth or stencil buffer has packed depth/stencil format, then do not use separate stencil. Before this commit, emit_depthbuffer() incorrectly assumed that the texture's stencil renderbuffer wrapper was a *separate* stencil buffer, because the depth and stencil renderbuffer wrappers are distinct for depth/stencil textures (that is, depth_irb != stencil_irb). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38134 Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_misc_state.c
|
6861a701772eac3a6a7d3136d03efa7ac7e5c026 |
05-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add support for gl_PointCoord. This is just like PointSprite overrides, but it's always on for that attribute. Fixes glsl-fs-pointcoord, gtf/point_sprites. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sf_state.c
|
f304bb8a5d040d99db47a65813d216d11c66fb47 |
05-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix point sprite texture coordinate overrides. We were assuming that the input attribute n to the FS was FRAG_ATTRIB_TEXn, which happened to be true often enough for our testcases. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sf_state.c
|
e7280b16d634e1f434bebbce83996b3d30d0419c |
05-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Refactor SF setup a bit to handle overrides in one place. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_sf_state.c
|
c1090f3019bbe0ff92455e4a9268f8957af9cda0 |
09-Jun-2011 |
Roland Scheidegger <sroland@vmware.com> |
mesa: get rid of homegrown logbase2 implementation in drivers Some of the logbase2 functions did just the same as _mesa_logbase2, though they were taking signed numbers (but it shouldn't matter for them).
rivers/dri/intel/intel_tex_image.c
rivers/dri/unichrome/via_tex.c
|
da009212fe121206a67cb65ca8f88777a9f7e44f |
09-Jun-2011 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix gcc version check for _mesa_bitcount The version check was bogus, and only inside a non-gcc block anyway.
ain/imports.c
|
b537f54b3a2bd47ec861f5c432c49529684eef21 |
09-Jun-2011 |
Roland Scheidegger <sroland@vmware.com> |
mesa: use __builtin_clz for logbase2 when available Also rename to _mesa_logbase2 and move to imports.h to keep the ugly ifdef GNUC stuff outside other files (also to allow reuse).
ain/imports.h
ain/teximage.c
|
4ef8464068bc96ea9af71bbd18d121358db303b2 |
07-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Call gen7_create_constant_surface instead of brw_[...]. Fixes 17 piglit tests: - glsl-vs-arrays-3 - glsl-vs-texturematrix-2 - glsl-vs-uniform-array-2 - arl - nv-arl - nv-init-zero-addr - vp-address-01 - vp-arl-constant-array - vp-arl-constant-array-huge - vp-arl-constant-array-huge-offset - vp-arl-constant-array-huge-offset-neg - vp-arl-constant-array-huge-relative-offset - vp-arl-constant-array-huge-varying - vp-arl-env-array - vp-arl-local-array - vp-arl-neg-array - vp-arl-neg-array-2 Fixes 4 glean tests: - glsl1-constant array of vec4 with variable indexing, vertex shader - glsl1-constant array with variable indexing, vertex shader - glsl1-constant array with variable indexing, vertex shader (2) - vp1-ARL test Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
acf82657f4d607e4477f03752613d42f239e4bd3 |
06-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Enable SIMD16 fragment shader dispatch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_wm_state.c
|
2a638076165eaa1294708a7e4518c2d72560e066 |
06-Jun-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Don't emit 3DSTATE_GS_SVB_INDEX on Ivybridge. According to vol2a.07, it only applies from Cantiga to Sandybridge. I found this in my ringbuffers while investigating various GPU hangs. While it may not have been the cause, it seemed wise to remove it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
626440add567174342d421a39252067c6a6fb901 |
23-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Program stencil buffers on Ivybridge. Thanks to Chad's hard work implementing separate stencil and HiZ support, this is entirely straightforward. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_misc_state.c
|
53b53a141ee4da9bf03b42d6381823520cd2e980 |
23-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Add a prepare_depthbuffer function. We need to call add_validated_bo to do proper aperture space accounting. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_misc_state.c
|
a00ca90815d8df3c087c49a2a7685f739d2d5c0a |
23-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: gen7_emit_depthbuffer needs the _NEW_DEPTH dirty bit. For ctx->Depth.Mask. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_misc_state.c
|
bd265201da44093ce9c583fe04aa7db94f61453c |
23-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Remove stencil renderbuffer from gen7_depth_format. Since Gen7 doesn't support packed depth/stencil, the stencil buffer can't possibly be relevant for determining the depth format. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen7_misc_state.c
|
e37e196151bd8c10a8475680ed91a82de8f7aad3 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: more helpful debug message in destroy_program_variants_cb()
tate_tracker/st_program.c
|
aea2236af60aee329e6ea73a41f2410d8eacc7b6 |
04-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Request DRI2 buffers for separate stencil and hiz When it is sensible to do so, 1) intelCreateBuffer() now attaches separate depth and stencil buffers to the framebuffer it creates. 2) intel_update_renderbuffers() requests for the framebuffer a separate stencil buffer (DRI2BufferStencil). The criteria for "sensible" is: - The GLX config has nonzero depth and stencil bits. - The hardware supports separate stencil. - The X driver supports separate stencil, or its support has not yet been determined. If the hardware supports hiz too, then intel_update_renderbuffers() also requests DRI2BufferHiz. If after requesting DRI2BufferStencil we determine that X driver did not actually support separate stencil, we clean up the mistake and never ask for DRI2BufferStencil again. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
f4efb7ff4f9cb0f6386e9b53f4dcfd9ef23dc9d1 |
26-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add assertions to intelCreateBuffer() Assert that the GLX config has an expected depth/stencil bit combination: one of d24/s8, d16/s0, d0/s0. These are the only depth/stencil configurations that we advertise. Remove the check for software stencil, because given the assertions' constraints the check always fails. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_screen.c
|
89d34cfd3e7c96cefc489fbb995124e2dc4a97ec |
04-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Refactor intel_update_renderbuffers() Extract the code that queries DRI2 to obtain the DRIdrawable's buffers into intel_query_dri2_buffers_no_separate_stencil(). Extract the code that assigns the DRI buffer's DRM region to the corresponding renderbuffer into intel_process_dri2_buffer_no_separate_stencil(). Rationale --------- The next commit enables intel_update_renderbuffers() to query for separate stencil and hiz buffers. Without separating the separate-stencil and no-separate-stencil paths, intel_update_renderbuffers() degenerates into an impenetrable labyrinth of if-trees. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
|
84294fe26ca5860c34e6541f633be4d093ab57f2 |
31-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add function intel_renderbuffer_set_hiz_region() It's the analog of intel_renderbuffer_set_region(), but for the hiz region of course. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
beb8b7da20c862549b96a500226caf3a610342d9 |
02-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel/intel_context.c: Remove unused functions Remove functions intel_override_hiz() and intel_override_separate_stencil(). They are now located in intel_screen.c. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
|
6b2bf272ee173bd8ee6c731500861de21fa01b5f |
27-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add flags to intel_screen for hiz and separate stencil Add the fields below to intel_screen. The expression in parens is the value to which intelInitScreen2() currently sets the field. GLboolean hw_has_separate_stencil (true iff gen >= 7) GLboolean hw_must_use_separate_stencil (true iff gen >= 7) GLboolean hw_has_hiz (always false) enum intel_dri2_has_hiz dri2_has_hiz (INTEL_DRI2_HAS_HIZ_UNKNOWN) The analogous fields in intel_context now inherit their values from intel_screen. When hiz and separate stencil become completely implemented for a given chipset, then the respective fields need to be enabled. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
df9f533c67e06713ae1b7f759c3644ca610058fd |
01-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Define enum intel_dri2_has_hiz ... which indicates if the X driver supports DRI2BufferHiz and DRI2BufferStencil. I'm placing this in its own commit due to the large comment block. CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_screen.h
|
ff99103c0a8a1b9e76fff80f9753d2124da27da2 |
01-Jun-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Define span functions for S8 renderbuffers Since the stencil buffer is interleaved, the generic Mesa renderbuffer accessors do not suffice. Custom span functions are necessary. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_span.c
|
2abc8cae87b4cd037ebde68b4b9a1d02254657df |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
i965/brw: Emit state for hiz and separate stencil buffers When emitting 3DSTATE_DEPTH_BUFFER, also emit 3DSTATE_HIER_DEPTH_BUFFER if there is a hiz buffer. Ditto for 3DSTATE_STENCIL_BUFFER and a separate stencil buffer. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
4bb748b609288205ddea750550185d7642025bff |
08-Jun-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: merge glapidispatch.h into dispatch.h glapidispatch.h was located in glapi and shared with mesa core. Because the way it was shared, mesa core must include it indirectly via main/dispatch.h. Now that it is no longer needed by glapi and is located in core mesa, merging it with main/dispatch.h to avoid wrong uses.
Conscript
ain/dispatch.h
ain/es_generator.py
ain/glapidispatch.h
|
0dc45374f2c62e33680f3a5729a18ba9ee40cd4d |
08-Jun-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: fix function remapping for dlist glapidispatch.h should not be included directly. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36282
ain/dlist.c
|
fed482f5e30ea6b230ed20982551b340570dc3e9 |
08-Jun-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: fix GLES remap table setup again Generate different glapidispatch.h's for GL and GLES. For GLES, we want a local remap table. This reverts commit 5af46e836073d2112b147b524e441bdb808cc128. The commit will break GL remap table setup when main/glapidispatch.h is regenerated.
ain/es_generator.py
|
7c2847a972cd68107348ba8fe3667dc211b78f3e |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: run 'indent' on vbo_save_api.c
bo/vbo_save_api.c
|
f1733d16de56b1fbecc2b0f22fc3270b85a813cc |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: rename DO_FALLBACK -> dlist_fallback
bo/vbo_save_api.c
|
62811057f41bf7c027da6156a44383266c7f3952 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove node->count > 0 test in vbo_save_playback_vertex_list() See piglit dlist-fdo31590.c test and http://bugs.freedesktop.org/show_bug.cgi?id=31590 In this case we had node->prim_count=1 but node->count==0 because the display list started with glBegin() but had no vertices. The call to glEvalCoord1f() triggered the DO_FALLBACK() path. When replaying the display list, the old condition basically no-op'd the call to vbo_save_playback_vertex_list call(). That led to the invalid operation error being raised in glEnd(). NOTE: This is a candidate for the 7.10 branch.
bo/vbo_save_draw.c
|
f1cdce95f606584a56eabf3b38eea19ff4c75757 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: check array indexes to prevent negative indexing See the piglit dlist-fdo31590.c test NOTE: This is a candidate for the 7.10 branch.
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
a25271fcb8d12298e64890cad25919938ae12018 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st: use _mesa_is_bufferobj()
tate_tracker/st_draw.c
|
d329b68f350a6db9439f71a0d1a8d2a8e2fd426c |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
vbo: added a comment
bo/vbo_save.h
|
3d75c42bbf34c8a16de425da81b6fb02a8aa4b47 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove old comment
ain/uniforms.c
|
f9c2feb96b5854ca8030d94a5ea5b168ec818fe8 |
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add more sampler types to is_sampler_type()
ain/uniforms.c
|
0e8d045bf8bc930576cc69b9de8a31a4c973dc7c |
07-Jun-2011 |
Jeremy Huddleston <jeremyhu@apple.com> |
osmesa: Fix missing symbols when GLX_INDIRECT_RENDERING is defined. When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/osmesa/osmesa.c
|
bb4758669c82f8979a56524db1c04ce662c783d8 |
07-Jun-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Ignore blits to/from missing buffers The EXT_framebuffer_object spec (and later specs) say: "If a buffer is specified in <mask> and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored." Check for color, depth, and stencil that the source and destination FBOs have the specified buffers. If the buffer is missing, remove the bit from the blit request mask and continue. Fixes the crash in piglit test 'fbo-missing-attachment-blit from', and fixes 'fbo-missing-attachment-blit es2 from'. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for the stable branches.
ain/fbobject.c
|
7f9c17aaa82f5a8a1d5f077eba4d5889d3c3b298 |
07-Jun-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Don't try to clear a NULL renderbuffer In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the framebuffer can be complete with some attachments be missing. In this case the _ColorDrawBuffers pointer will be NULL. Fixes the crash in piglit test fbo-missing-attachment-clear. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for the stable branches.
wrast/s_clear.c
|
1d71bbed3bbeb99d954cc137e4923c5db6e063c8 |
07-Jun-2011 |
Nicolas Kaiser <nikai@nikai.net> |
mga: enable GL_ARB_vertex_array_object extension Tested on a Matrox G550 AGP. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/mga/mga_xmesa.c
|
6d894f68af7ebbb861594c35c25680ac3633a494 |
06-Jun-2011 |
Eric Anholt <eric@anholt.net> |
intel: Update intel-decode.c from intel-gpu-tools.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_decode.c
|
23b6f9606dc247488835745668b3686218612536 |
31-May-2011 |
Eric Anholt <eric@anholt.net> |
intel: Implement glFinish() correctly by waiting on all previous rendering. Before, we were waiting for (most of) the current framebuffer to be done, which is not quite the same thing.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
6b821936779d6e3ab76bd353dfa8bdd17124654d |
06-Jun-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
radeon: Use pciid list to generate PCI_CHIP_<FAMILY>_<ID> defines Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_chipset.h
|
ef59049c5242a1be7fa59a182d342191185dd62b |
06-Jun-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix flipped GT1 vs GT2 URB VS entry count limits.
rivers/dri/i965/brw_context.c
|
c2e659037f4d0687e948e3d17f2d950d3e2dae1b |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SURFACE_STATE dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
4ba9cfe4b8b9690ec3d9e62dd2a15616428339ac |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SAMPLER_STATE dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
f9a3200adb1bc70f789c829661a92e3d24023dcf |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SF_CLIP_VIEWPORT state dumping for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
b438005d961bc7fcc8cbedc34b8b15dfd09365b1 |
06-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix renderbuffer internal format for accum buffer Fixes an accum buffer regression since switching to the table-based format selection code.
tate_tracker/st_cb_fbo.c
|
1d24e6ec1d13c2b88b858997900aa8b69de92b13 |
06-Jun-2011 |
Ben Skeggs <bskeggs@redhat.com> |
dri/nouveau: fix gnome-shell segfault Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
rivers/dri/nouveau/nouveau_context.c
|
e8ea8793e3c65f7feef063c6edc7b86bf0e66997 |
01-Jun-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't do sRGB encode for framebuffer blits on sRGB-enabled framebuffers. Fixes fbo-srgb-blit. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35373 Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
a513bee2f247d7cf9cd8e9c3d50f2bd48f136776 |
01-Jun-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't do srgb to linear decode when blitting srgb textures. Fixes the GL_SRGB8_ALPHA8 -> GL_RGBA8 blits in fbo-srgb-blit.c Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
836a595594a5500945c5d97d6f63c245ebbe34a8 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop remaining strict conformance fallback for GL_POINT_SMOOTH. We actually could do this in hardware in the fragment shader using gl_PointCoord and the point's size.
rivers/dri/i965/brw_draw.c
|
e9868979c5373501234392a38a786d5a92dc47b5 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop strict conformance fallback for GL_LINE_STIPPLE. We implement line stipples, just not *quite* correctly. We have a piglit testcase to use when we want to fix it, if we do. Until then, don't lie to our test suites.
rivers/dri/i965/brw_draw.c
|
d313346db6b70d27ed985e27df4fbd44f376efa0 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop strict conformance fallback for GL_LINE_SMOOTH. We do have hardware antialised lines. If we care, we should actually fix them to be conformant (or as close as possible) instead of using this knob to fool testcases using swrast. For some interesting reading on the state of GL_*_SMOOTH across several drivers, see: http://homepage.mac.com/arekkusu/bugs/invariance/HWAA.html
rivers/dri/i965/brw_draw.c
|
d8b733643d21001068c25ee9b97a3cd5bb4684a2 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop strict conformance fallback for GL_POLYGON_SMOOTH. From my reading of the GL 2.1 spec, no antialiasing is strictly conformant for polygon smoothing. Yes, it's absurd, but then, hardware doesn't support this so maybe it's not so absurd.
rivers/dri/i965/brw_draw.c
|
3f05374574db7d04ac920a93545734c9013f5ec4 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop INTEL_CONFORMANCE=2 fallback code. This was just a duplicate of no_rast=true driconf option, which is relatively standard across drivers.
rivers/dri/i965/brw_draw.c
|
aaeb9a82162f7bfedcd3ecbe466599c6487b30a6 |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix typo (s/GLGL/GLSL/)
ain/uniforms.c
|
52f6e79b7c5d220246fbb020006e628319b8c0c2 |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/uniforms.c
|
9653acc52a1eb0b3187091b11f65470206cae6e6 |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glGetUniform code
ain/uniforms.c
|
bbce18c647a9113baec7b5b17435fcc4f9acb52e |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: refactor/consolidate uniform lookup code
ain/uniforms.c
|
230c71d9ee02f09255aed9fdeec941f548f36124 |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add some minor fixes for geometry shaders
ain/shaderapi.c
|
b03296c1e9d5ebe5b7731347bf500bedbbdcc55d |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
dri: add missing files from 873379a8818eed9ab16c24728b7091a3a3705c5b
rivers/dri/Makefile.defines
rivers/dri/Makefile.targets
|
09201cc7a0c4c50871bb8aa5d00ac70aa4e9e670 |
31-May-2011 |
Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> |
mesa: add implementation of glDrawElementsInstancedBaseVertex Signed-off-by: Brian Paul <brianp@vmware.com>
ain/api_validate.c
ain/api_validate.h
ain/dd.h
ain/vtxfmt.c
bo/vbo_exec_array.c
|
0dae94610e0b70b353fd0b018833bb7c8d013abb |
31-May-2011 |
Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> |
glapi: regenerated files Signed-off-by: Brian Paul <brianp@vmware.com>
ain/glapidispatch.h
ain/remap_helper.h
|
873379a8818eed9ab16c24728b7091a3a3705c5b |
03-Jun-2011 |
Johannes Obermayr <johannesobermayr@gmx.de> |
dri/nouveau: Fix build with --enable-shared-dricore. - Based on the work of Себастьян Gliţa Κατινα <cglita@yahoo.com> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/Makefile.template
rivers/dri/i810/Makefile
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/nouveau/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
rivers/dri/radeon/Makefile
rivers/dri/savage/Makefile
rivers/dri/sis/Makefile
rivers/dri/swrast/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
|
a9c5efb11104d8cfe3139c5c9b6e4b0a4fcb7de5 |
03-Jun-2011 |
Brian Paul <brianp@vmware.com> |
r300: remove MIN3 macro, already defined in macros.h
rivers/dri/r300/r300_state.c
|
bab3b4a75886acd040e81730d9d3dfb31d4f0d48 |
02-Jun-2011 |
Benjamin Bellec <b.bellec@gmail.com> |
mesa: faster logbase2 With minor clean-ups by Brian Paul. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
029ea39fb9b707a861f4a884c8c191aef0e63af9 |
02-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: add GL_R11F_G11F_B10F to format table Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839
tate_tracker/st_format.c
|
f61d1deac7d19dcec38b7852a635d92680624a32 |
02-Jun-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Raise const.MaxTextureLevels to 14 (8192) Mesa now limits, by default, the max number of texture levels to 15 so we can now support the architectural maximum for gen4-6 of 14. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.c
|
57242715cb3ce9855460a5f1ccbca0dde8045c21 |
02-Jun-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: add format table entry for GL_RGB9_E5 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839
tate_tracker/st_format.c
|
b9e9df78a03edb35472c2e231aef4747e09db792 |
31-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: queries of non-existent FBO attachments should return INVALID_OPERATION OpenGL 4.0 Compatibility, page 449: If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no framebuffer is bound to target. In this case querying pname FRAMEBUFFER_- ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate an INVALID_OPERATION error. Reviewed-by: Chad Versace <chad@chad-versace.us>
ain/fbobject.c
|
d69dc2e20346397f4734a0760554a51fb4fbb3c0 |
31-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: UseShaderProgramEXT and Uniform* shouldn't be allowed inside Begin/End I couldn't find this being required by the spec. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/shaderapi.c
ain/uniforms.c
|
c5903ed4541ec4f9389e33ba27c9527afa87ec44 |
04-Apr-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add support for llano Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
c331b3123ecda127919458e24848b7c1596525ac |
12-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Use the embedded compare in SEL on gen6+. This avoids the extra CMP and the predication on SEL, so in addition to one less instruction, it makes scheduling less constrained. Improves glbenchmark Egypt performance 0.6% +/- 0.2% (n=3). Reduces FS instruction count across affected shaders in shader-db by 1.3% without regressing any. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
f04765922c02f2b522b0de17c7c7ce67beca1efe |
24-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove brw_surface_state struct that is now unused. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_structs.h
|
ee643b23ff546492c67d4e2b525ced7329a3c020 |
24-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Switch brw_state_dump to using bitshifting for surface state. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state_dump.c
|
e764f10ea557c9d819ad25bf1e700b1b3bd83277 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace struct with bit shifting for WM null surfaces. Reduces compiled size of brw_wm_surface_state.o another 1.9%. Overall, this brw_wm_surface_state reduction series cuts firefox-talos-gfx runtime by 0.68% +/- 0.42% (n=6). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
9bdc44a52804a64219a0ca1a061b18596863e524 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace struct with bit shifting for WM pull constant surfaces. This reduces compiled size (4.7% of brw_wm_surface_state.o). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_surface_state.c
|
ac11c01ddeccf34230f363c0723783a1e2fce555 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace struct with bit shifting for WM render target surfaces. This massively reduces compiled size (6.7% of brw_wm_surface_state.o). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_surface_state.c
|
ae5c1fceba383d13ab66f1c8db652bd98dfa4a26 |
28-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace structs with bitfield shifting for WM texture surfaces. This massively reduces compiled size (4.9% of brw_wm_surface_state.o). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
7d437b1f7fb64f187125a393eebe1d1c17db9961 |
31-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add defines for surface state setup using bitfield shifting. It turns out that gcc is just awful at generating code for brw_structs.h style state setup, and using bitshifting on u32s generates better code while being similarly readable (and more verifiable compared to the specs, using the INTEL_MASK macro).
rivers/dri/i965/brw_defines.h
|
3412069e23b7fa5656262f3dd1aa86f66980594d |
28-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't compute brw->wm.input_size_masks when it's unused. It's only used in the old fragment program path, to avoid projection when w is always 1. We do want to do this in the new path pre-gen6 too, but we'll probably do it through the ir. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_constval.c
|
bcbb1a536f7b6f00bbb164bd14d9f63102b9a8af |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop a gratuitous "if" that the compiler didn't eliminate at -O2. Oddly, this increases compiled code size. (marking the 'if' as likely also increases code size, but not as much). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
d1946f53482a5a490a1da86d9bf9a3e2e866c0c4 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move prepare_wm_surfaces texobj declarations inside of _ReallyEnabled. Interestingly, the compiler wasn't doing this for us at -O2, so we were doing the computation for every non-_ReallyEnabled unit. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_wm_surface_state.c
|
f29bc77572eb68c6e93371a5c7a9c4e4d1f9ee35 |
19-May-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove unused NO_TILE macro Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_span.c
|
29ceeeba2004f71ccb91ce67f518dc1bf0ca6b17 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: forbid UseProgram to be called inside Begin/End The spec doesn't state it should be an error, but. We have this piglit test useprogram-inside-begin that passes with this commit. No idea what's correct. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/shaderapi.c
|
1b37a41661f791b22f12b8477053a8dff6e33d6d |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't use resource_copy_region for CopyPixels with conditional render The conditional rendering should be able to kill CopyPixels. I assume the render condition has no effect on resource_copy_region. This fixes piglit: - NV_conditional_render/copypixels NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
8d45bbc4221d83bc2bfd0295f56b0f6d35b16a99 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: conditional rendering should not kill texture decompression via blit NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
91e56c88972448079b5aafbc2b876d0ea0e28a39 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: CopyTex(Sub)Image should not be killed by conditional rendering NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
ccfeb90b757ed2b2948bbe06fd4f4a15628639f9 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: BlitFramebuffer should not be killed by conditional rendering NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_blit.c
|
c0277d953975ddc232aa34a101955d8314c99b96 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
swrast: BlitFramebuffer should not be killed by conditional rendering NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_blit.c
|
1c95c3ef9c51c0eb218f80959bbbf29d213a6af0 |
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: GenerateMipmap should not be killed by conditional rendering NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_condrender.c
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
24ed0b384b74863d142a915a6bc9f998ddb20ef4 |
28-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix typos and add some format fallbacks in format_map Always default to DEFAULT_*_FORMATS for mandatory GL formats. (st_choose_format must not fail for those) Use DEFAULT_RGBA when alpha is required instead of RGB. Use DEFAULT_RGB otherwise. These are more or less the remaining differences between the old code and the new one. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
6c638b7ca1109e9ec0f16e6c13e08928b4d05b23 |
28-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: consolidate listing of depth formats Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
26d718ff71e6d9f863e092ab46ed18212e207157 |
28-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: add GL_DEPTH_COMPONENT32 fallback formats This makes D32 work again on chipsets which can't do it. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
49d4e803d369e0faedfa44063fb7f6232faa8175 |
28-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix changing internal format via RenderbufferStorage The problem is: The second time the function is called with a new internal format, strb->format is usually not PIPE_FORMAT_NONE. RenderbufferStorage(... GL_RGBA8 ...); RenderbufferStorage(... GL_RGBA16 ...); // had no effect on the format Broken with: fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb Test: piglit/fbo-storage-completeness NOTE: This is a candidate for the 7.10 branch. (if fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb is cherry-picked as well) Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
aae56150f5d59d45e13a4033b20f0ccf20a3319c |
25-May-2011 |
Tom Stellard <tstellar@gmail.com> |
r300g: Fix non-dri builds This is just a temporary solution for now until there is a better way to share code between mesa and gallium.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
|
4eeabd5a3d9fc7377b0461aa2ae2924547e82052 |
26-May-2011 |
Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> |
mesa: set parameter list StateFlags field in _mesa_layout_parameters() When using _mesa_layout_parameters, all params copied in the 'layout' output in the PASS 1 don't modify StateFlags (because they are simply memcpy'ed). This patch fixes the problem, assuring output gl_prog_param_list StateFlags field is the same as the input one. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
rogram/prog_parameter_layout.c
|
0653c450cc8da1212e1123a1cd6635c02f7d6919 |
27-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix up for 8752764076e5b3f052a57e0134424a37bf2e9164. I failed to commit and squash before pushing.
rivers/dri/i965/brw_fs_emit.cpp
rivers/dri/i965/brw_fs_visitor.cpp
|
9bd7e9c6b29b212a97bd4ca6c62836160b2f7698 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Include shader target in dumps of GLSL source. This makes automatic parsing of MESA_GLSL=dump output easier. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
8752764076e5b3f052a57e0134424a37bf2e9164 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Do a FS compile up front at link time to produce link errors. At glLinkShaders time, a fail() call in FS compile in 8-wide (the one that's required to succeed, though we may relax that at some point for pre-Ironlake performance) will now report out as a link error.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
d1f70a8a6c6ec7007bad22d3d6013415be2d243a |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Split the GLSL IR -> FS LIR visitor to brw_fs_visitor.cpp. We now have: brw_fs.cpp handles calling out to everything and optimization. brw_fs_visitor.cpp handles translating to our LIR. brw_fs_emit.cpp handles emitting from our LIR to native code. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_visitor.cpp
|
11dd9e9c0fcf9985b90ff4b63b2833345fece027 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Split the BRW native code emit to brw_fs_emit.cpp This is all separate from the visitor and the optimization passes which feed into it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_emit.cpp
|
b7b700aeb0eab2cae26a01d9db42feea969333c7 |
26-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move a couple of GLSL IR -> BRW helper functions to brw_shader.cpp. These will be used by the VS backend as well. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_shader.cpp
rivers/dri/i965/brw_shader.h
|
14b86f3c9131c1b26b01e07679cc899df0885b23 |
26-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move non-FS-specific shader support to brw_shader.cpp. These only existed in brw_fs.cpp because it was the only .cpp file in the area when I wrote them. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_shader.cpp
|
53c89c67f33639afef951e178f93f4e29acc5d53 |
27-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Avoid generating MOVs for assignments of expressions. No statistically significant difference measured in 3dbenchmark egypt/pro. It does reduce fragment shader instructions across shader-db by 0.3%.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
1791857d7d950d3d2834bbb09b495f51f43ef7c1 |
17-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Move the computation of register block count from unit to compile. No net code size change, but unit update is down 0.8% code size pre-gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
|
615117ce4efd041459f7d4b0c77aa8e248345e66 |
23-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Track fixed GRF regs separate from allocated GRF file in scheduling. There's an assumption here that fixed GRFs will never intersect with the allocated GRFs. That's true today, though it might change some day if we decide to register-allocate the regs containing push constants once they're dead. This fixes a regression in 0f7325b89038937bd428f7c89ed9859189a0ab0b in Lightsmark from the texture instructions now containing g0 references instead of having that be implied. Performance is improved 15.2% +/- 3.6% (n=3). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34968
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
40540cc517480720e509a63f213ab33d66409bf8 |
20-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add a helper function for add_dep(before, after, before->latency). This lets us avoid a bunch of before==NULL checks in the callers. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
4609e80288bacf19af99b0ed7656eef9bb280912 |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/height/depth/ in texsubimage() Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37648
ain/teximage.c
|
e401c1f57fc0640f0eba32f91703b1c5383f2364 |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug _mesa_GetObjectParameterivAPPLE into display list dispatch table
ain/dlist.c
|
6126d50e75f1d8ef2e65c5df844e50a1b7f415f9 |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL_ARB_vertex_array_object display list functions
ain/dlist.c
|
e00481586c6fe87c5bf8753f9502d220ea46763a |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: more geometry shader display list functions
ain/dlist.c
|
3b0f4318207d393ce586bd7dccc1c92eee13eaa1 |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: more transform feedback display list functions
ain/dlist.c
|
919e260bff53b9ea79347c4a3b88b373443494bf |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make query object API functions static Only directly referenced by the _mesa_init_queryobj_dispatch() function.
ain/queryobj.c
ain/queryobj.h
|
848bcd2e8c0232b7ab50da75059cd1dacbdb3db3 |
27-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify query object display list dispatch setup
ain/dlist.c
|
f7b3f40b70dc7dd602897d364011089047583c5d |
19-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Pack the lookup and line_aa bits into the first dword of the key. They were occupying whole 32-bit words, despite being only 10 or so bits. Reduces code size slightly (80/3300 bytes). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.h
|
9a729ab4b273f503747209a9c58dbb664adca838 |
19-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead shadowtex_mask entry in the WM key. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
f147599ef4b0d14c25a7e0d3f9f1c9b0229bb6fc |
19-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove linear_color for GL_PERSPECTIVE_CORRECTION_HINT. From the GL 2.1 spec: "Required perspective-correct interpolation for all fragment attributes except depth in sections 3.4.1 and 3.5.1, effectively making GL PERSPECTIVE CORRECT HINT a no-op." Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
c095335fa54498ec54e4587b5f84ad6afd8f1857 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop doubly irrelevant code in intelReadBuffers. First, FBO read/draw == NULL validation happens in mesa core not intelReadBuffers -> intel_draw_buffers. Second, that condition is no longer tested for in our driver since ARB_ES2_compatibility was added. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_buffers.c
|
6d4b974e89ca8c803e2a0033005ad95eab537fe6 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Flush vertices before updating drawbuffer computed state. Otherwise, the driver is likely to draw the flushed vertices to the new drawbuffer instead of the old one, missing the point of the flush. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/buffers.c
|
d3451f7f9c095204105259bb989428709fc1fdf0 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Allow NULL read/draw in complete FBOs in ARB_ES2_compatibility. From the ARB_ES2_compatibility spec: "(8) How should we handle draw buffer completeness? RESOLVED: Remove draw/readbuffer completeness checks, and treat drawbuffers referring to missing attachments as if they were NONE." Fixes arb_es2_compatibility-drawbuffers when the short-circuit for ARB_ES2_compatibility in the previous commit is dropped. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
f73ff463a2175039c5a54a9a15d65a9a2d1fae25 |
25-May-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Trigger FBO validation on DrawBuffers change in non-ES2 mode. glDrawBuffers pointing at an unattached buffer is supposed to be incomplete without ARB_ES2_compatibility. The testcase to catch the bug of not implementing that bit of the spec was tricked by this missing piece of state update. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/buffers.c
|
179a88d52c00970a450c98bc7bc6179c32432a08 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor whitespace fixes
ain/shaderapi.c
|
f84be846ca6c9ce9f8dc6c9bdd9ca5815e9a8e2e |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in sync object display list functions Most just dispatch through to the immediate mode functions, except for glWaitSync(), per the extension spec.
ain/dlist.c
|
95fa22c8640abd2f5694631aaa079ce815cef7d1 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for glProgramParameteriARB()
ain/dlist.c
|
001aa6c979f7795d8e48344c662a0546ae555f95 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug shader object functions into display list dispatch
ain/dlist.c
|
4535c98cdb2ccb11dbf5af8662eed8f9a08fbca6 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL 3.0 ClearBuffer() display list functions
ain/dlist.c
|
8f7c815568ece6804e626255b74e9f729b74a0e6 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fill in missing sampler object display list functions
ain/dlist.c
|
3e06803c2c6cf83009708b23d3ebafc0ea3dc525 |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: simplify some st_context(ctx)->pipe code
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
bf14ab417c6638afd19206e11ee69bdb9fb93d9e |
26-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect texture level/face/slice accesses If we use FBOs to access mipmap levels with glRead/Draw/CopyPixels() we need to be sure to access the correct mipmap level/face/slice. Before, we were just passing zero in quite a few places. This fixes the new piglit fbo-mipmap-copypix test. NOTE: This is a candidate for the 7.10 branch.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
|
b5846865deb20c54e88c7c1a7c732d29e9c47975 |
23-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Warnings cleanup. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/gen7_vs_state.c
|
fa42de5ad7ebbc0b81ce6ba0553742f0413690a7 |
24-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix assertion failures in unused brw_reg setup by deleting it. I was using undefined values to create an unused value. Go me. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37366 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
e7bcfadc2255e3417e03676837d248f4976419e2 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Change FBO validation criteria to accomodate hiz and seprate stencil Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
ce8fdf666fc14aa5b9672be1711dfc1c0039efd0 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Fix intel_draw_buffer() to accomodate hiz and separate stencil The logic of intel_draw_buffers() expected that stencil buffers were always combined depth/stencil. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_buffers.c
|
c270f1a628a625ccc9f6d931f2921e3d92c31818 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add hiz_region to intel_mipmap_tree When a texture is attached to multiple FBO's, a separate renderbuffer wrapper is created for each attachment. This necessitates storing the hiz region for these renderbuffers in the texture itself instead of the renderbuffer wrapper. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
6ed829fe5063f61f1ab2fcb39a441e17d89e622c |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Refactor the wrapping of textures with renderbuffers Before this commit, the renderbuffer's region was updated in intel_renderbuffer_texture(). This commit moves the update into intel_update_wrapper(), which is a more logical location for updates. This is in preparation for the next commit, which allocates and updates the texture's hiz region in intel_update_wrapper(). Having the two region updates located in the same function makes good form. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
7c0e6d9bbc11f7802c81df048eb721b5e15e8ece |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add hiz_region to intel_renderbuffer A hiz surface must be supplied to the hardware when rendering to a depth buffer with hiz. There are three potential places to store that surface: 1. Allocate a larger intel_region for the depthbuffer, and let the region's tail be the hiz surface. 2. Allocate a separate intel_region for hiz, and store it as brw_context state. 3. Allocate a separate intel_region for hiz, and store it in intel_renderbuffer. We choose method 3. Method 1 has not been chosen due to future complications it might cause when requesting a DRI drawable's depth buffer attachment from X. Method 2 has not been chosen because storing the hiz region apart from the depth region makes lazy hiz/depth resolves difficult to implement. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
a9e65097855468529242f9076bd6ef2a6c8062c1 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add is_hiz_depth_format() to intel_contex.vtbl Given a format, is_hiz_depth_format() indicates if HiZ can be enabled on a depthbuffer of that format. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.h
|
1a1411e09b23fce9977f7926dba4f1f0c8f3c5ec |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Allocate region for separate stencil buffer ... in intel_alloc_renderbuffer_storage(). The stencil buffer has quirky pitch requirements, so its region allocation is a special case. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_fbo.c
|
b5c847c7ca06823af3b72324056a2e478caca70b |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Change supported texture formats for separate stencil When hardware supports separate stencil, enable support for separate depth/stencil texture formats in the table intel_context.ctx.TextureFormatsSupported. If the hardware must use separate stencil, then disable support for combined depth/stencil formats. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex_format.c
|
4e0654ec2924c941fe03f57665fbf44e1b600db8 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Add MESA_FORMAT_X8_Z24 to _mesa_choose_tex_format Prefer MESA_FORMAT_X8_Z24 over MESA_FORMAT_S8_Z24 for textures with internal format GL_DEPTH_COMPONENT*. i965 needs MESA_FORMAT_X8_Z24 for HiZ and separate stencil. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
ain/texformat.c
|
76f77cb07edf9c6a548f782c709de70aa0a41458 |
23-May-2011 |
Chad Versace <chad@chad-versace.us> |
intel: Add flags to intel_context for hiz and separate stencil Add the following flags: intel_context.has_separate_stencil intel_context.must_use_separate_stencil intel_context.has_hiz The flags are currently set to false, and will be enabled for a given chipset once the feature is completely implemented. Since it may be some time before these features are completed, their values can be overridden with environment variables INTEL_HIZ and INTEL_SEPARATE_STENCIL. Valid values for these environment variables are "0" and "1". Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
d3b6e8a2b8e3581e07a6dd7277d4d4c6c0407760 |
22-May-2011 |
Mike Kaplinskiy <mike.kaplinskiy@gmail.com> |
mesa: fix glGetTexImage for cases when srgb decode is skipped See http://bugs.freedesktop.org/show_bug.cgi?id=37150 Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texgetimage.c
|
cd5417aac72ae1de85dd6bca3d53d2e2f2d7e546 |
24-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: prefer formats without stencil for DEPTH_COMPONENT for fast Z clears to be used more often. Original patch by Marek Olšák. Rebased to table-driven st_choose_format() by Brian Paul.
tate_tracker/st_format.c
|
d57e95f22af1a1b2d9013db7a15524717bd29579 |
21-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: rewrite st_choose_format() to be table driven Instead of using a giant switch statement with lots of code, use a table to convert GL format enums to pipe formats. Tested by running the old code next to the new and asserting that the return value was the same for piglit tests. We're doing a linear search, but if that ever appears to be too slow the table could easily be sorted or hashed.
tate_tracker/st_format.c
|
5af46e836073d2112b147b524e441bdb808cc128 |
22-May-2011 |
Thierry Reding <thierry@gilfi.de> |
mesa: Fix remap_table setup. Since the SET_xxx and GET_xxx macros used to initialize the remap_table have been replaced by inline functions, the missing late macro expansion leads to driDispatchRemapTable not being redefined to remap_table, which in turn causes the remap_table not to be setup properly. This commit fixes the issue by moving the table redefinition after the definition of driDispatchRemapTable but in front of the inline function definitions.
ain/es_generator.py
|
e8b1c6d6f55f5be3bef25084fdd8b6127517e137 |
21-May-2011 |
Adam Jackson <ajax@redhat.com> |
mesa: Fix return type of _mesa_get_format_bytes() (#37351) Despite that negative values aren't sensible here, making this unsigned is dangerous. Consider get_pointer_generic, which computes a value of the form: void *base + (int x * int stride + int y) * unsigned bpp The usual arithmetic conversions will coerce the (x*stride + y) subexpression to unsigned. Since stride can be negative, this is disastrous. Fixes at least the following piglit tests on Ironlake: fbo/fbo-blit-d24s8 spec/ARB_depth_texture/fbo-clear-formats spec/EXT_packed_depth_stencil/fbo-clear-formats NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Chad Versace <chad.versace@intel.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
ain/formats.c
ain/formats.h
|
d0c6d24a9ebe31b3a805e8f5845fc7e6fa552a98 |
22-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Fix miptree layout for cube surfaces. Volume 1a section 8.20.4.7.3 gives new equations which multiply by 12 instead of 11. Fixes 8 piglit tests: - fbo-cubemap - texCube - glsl-fs-texturecube - glsl-fs-texturecube-2 - glsl-fs-texturecube-2-bias - glsl-fs-texturecube-bias - arb_seamless_cubemap - cubemap Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_tex_layout.c
|
b522eb0717986bc7d8ca46ac1dd93a865e211345 |
22-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove comments about pre-965 hardware. They're irrelevant for this driver. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_tex_layout.c
|
fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb |
12-Apr-2011 |
pepp <pelloux@gmail.com> |
st/mesa: assign renderbuffer's format field when allocating storage See http://bugs.freedesktop.org/show_bug.cgi?id=36173 NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_fbo.c
|
9be8524af753791d26fbd65417c5380b4d934296 |
21-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix sampling on Ivybridge after headerless change. Fixes a regression since 90e922267a89fa9bef254bb257405531ceff7356. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
24de02acaca2ed2e5149a6a026b8707cd0d6d27f |
21-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove "TXD" from justification of sampler message headers. The coordinate offsets set in the m1 header are for textureOffset; they have nothing to do with textureGrad (TXD). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
5e48560926d43dfa8fbc148d0f1f6a3063fede48 |
19-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gen7: Add support for rendering to depthbuffer mipmap levels > 0. The same as 3e43adef95ee24dd218279d2de56939b90edcb4c but for Gen7. This doesn't quite fix GL_ARB_depth_texture/fbo-clear-formats; there's still a 1 pixel wide black line on the right edge of the smaller squares. The results were entirely wrong before, and are at least close now. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
8e7d4d4e0c74bff105a66c0cd0f427e2b287c9e3 |
20-May-2011 |
Thierry Reding <thierry.reding@avionic-design.de> |
mesa: Emit definition of GLAPIENTRYP in es_generator.py. GLES uses GL_APIENTRYP instead of GLAPIENTRYP, which breaks with the latest API table generation code. This fixes the issue by emitting a definition for GL_APIENTRYP when generating the GLES files.
ain/es_generator.py
|
075d2bfb72916bf59caae98dccdc211b929bb5e8 |
19-May-2011 |
José Fonseca <jfonseca@vmware.com> |
glapi: More type-checking in Get_xxx too.
ain/glapidispatch.h
|
4f59b321784e7c16bc91696303886c1ce7270960 |
20-May-2011 |
Brian Paul <brianp@vmware.com> |
r300: move declaration before code
rivers/dri/r300/compiler/radeon_compiler_util.c
|
43bdabd47d98975b56a759954fb5f37d2942c101 |
19-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix vertex array enable checking in check_valid_to_render() In particular, this fixes the case where a vertex shader only uses generic vertex attributes (non-0th). Before, we were no-op'ing the glDrawArrays/Elements(). This fixes the new piglit pos-array test. NOTE: This is a candidate for the 7.10 branch.
ain/api_validate.c
|
be0a2f62f3a5bc6f05c3c7c6b674f2688aee031d |
14-Apr-2011 |
Roland Scheidegger <sroland@vmware.com> |
mesa: handle some srgb cases in the fast path in _mesa_get_teximage Previously, always did unorm8->float/nonlinear-to-linear conversion (using lookup table), then convert back to nonlinear (using the expensive math func pow among others), and finally convert back to int (assuming caller wants unorm8), because the float texture fetch function is used for getting the actual texel values. This should probably all be changed at some point, but for now simply enable the memcpy path also for srgb formats (but if for instance swizzling is required, still the whole conversion will be done).
ain/texgetimage.c
|
ec4dfc2aad16ed3d04f47657e9f2cb22e791d511 |
19-May-2011 |
José Fonseca <jfonseca@vmware.com> |
glapi: Implement SET_xxx as inline functions instead of macros. In order to have the benefit of type checking, and detect missing GLAPIENTRY keywords on public entrypoints.
ain/glapidispatch.h
|
f4a98688113ef189ed2017b12d41915e2bc034de |
19-May-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: add another missing GLAPIENTRY keyword NOTE: this is a candidate for the 7.10 branch.
ain/blend.c
ain/blend.h
|
3e43adef95ee24dd218279d2de56939b90edcb4c |
13-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for rendering to depthbuffer mipmap levels > 0. Fixes GL_ARB_depth_texture/fbo-clear-formats GL_EXT_packed_depth_stencil/fbo-clear-formats
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
a98dd64af750fb6dae54b2dc02e0c5a3711156af |
13-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Stop caching the combined depth/stencil region in brw_context.c. This was going to get in the way of separate depth/stencil (which wants to know about both, and whether they are the same rb), and also wasn't a sufficient flag for the fix in the following commit.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_sf_state.c
|
64f8ddaf9b89e99396862fa38af631dd08b8c0c5 |
12-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Add support for point min/max size from ARB_point_parameters. Fixes glean pointAtten.
rivers/dri/i965/gen6_sf_state.c
|
90e922267a89fa9bef254bb257405531ceff7356 |
12-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Don't emit a header on gen5+ sample messages unless required. Improves glbenchmark egypt performance 0.6% +/- 0.4% (n=6). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
4bbc7915f16a8b0dcead3f34aa1b4f0328147bea |
12-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix GPU hang on texture2d-bias on pre-Ironlake. In the 16-wide rework, I missed that we were setting some things to be SIMD16 mode (corresponding to their setup in emit_texture_gen4()). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
b126a0c0cb30b1e2f2df1953fe14d8596d1cf4f7 |
02-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for correct GL_CLAMP behavior by clamping coordinates. This removes the stupid strict-conformance fallback code I broke when adding ARB_sampler_objects. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36572 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen7_sampler_state.c
|
7592f005608e6c03d53c18d27d9af84bde802014 |
11-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Drop the viewport index/rtai clearing in gen6 fb writes. These fields are documented to be in the payload, and though the FB write docs say they *aren't* in the payload, for all other fields the payload and header is structured so that no overwriting is required except for non-default options.
rivers/dri/i965/brw_fs.cpp
|
136eb2bde769713b100351ff96bceb970f068c0a |
10-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for "if" statements in 16-wide mode on gen6+. It turns out there's nothing in the hardware preventing this. It appears that it ought to work on pre-gen6 as well, but just produces GPU hangs. Improves glbenchmark Egypt framerate 4.4% +/- 0.3% (n=3), and Pro by 2.6% +/- 0.6% (n=3). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
|
27b03926618ddcafabb7b61e652fe6458b017b24 |
11-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix discard and alpha test in 16-wide. As of gen6, alt-mode (which we use) MOVs of floats are not raw -- they'll modify infs/nans. This broke discard and alpha test in 16-wide, where apparently the upper 8 bits of the pixel enables being set were causing the whole value to get trashed upon being moved. Treating the values as UD instead of float makes sure they get preserved. While I'm here, replace the two 8-wide moves of the halves of the header with a single compressed move. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36648 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
367020d87ce8c27aeb58b3887fbd29d216fdc151 |
11-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix blending state when no color buffer is bound. This is part of fixing fbo-alphatest-nocolor -- a regression in 35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 after the initial regression, that had us using a garbage BLEND_STATE[0] (in particular, the alpha test enable) if no color buffer was bound.
rivers/dri/i965/gen6_cc.c
|
51761a1aefd31b7df12edd9467ac630b9cbbbbc9 |
11-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Cut an instruction and a temporary from gen6 discard statements. I thought I was thwarted initially when I couldn't do conditional mod on a MOV, and couldn't use two immediate constants in one instruction. But g0 != g0 is also a way to produce a failing comparison. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
5dd5be69f099211db027b6e39150cacefcfdf8b6 |
09-May-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix compiler warnings about dead code from 963431829055f63ec94d
rivers/dri/i965/brw_fs.cpp
|
8a98aabe0bcea42cfdc982001ae4876e3d9b1214 |
18-May-2011 |
Andreas Faenger <a.faenger@e-sign.com> |
swrast: anisotropic filtering extension Anisotropic filtering extension for swrast intended to be used by osmesa to create high quality renderings. Based on Higher Quality Elliptical Weighted Avarage Filter (EWA). A 2nd implementation using footprint assembly is also provided. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
wrast/s_span.c
wrast/s_texcombine.c
wrast/s_texfilter.c
|
707eadcb7f603e803978a541a16e9893663c33e2 |
18-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify error check in _mesa_MapBufferRange()
ain/bufferobj.c
|
496bf04905197dc46c2dffe281008bd7f5edf8a8 |
18-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: only update array _MaxElement if array is enabled Fixes failed assertion when calling _mesa_print_arrays() debug function.
ain/arrayobj.c
|
de1df26b5c11a45f2b1ff2ddc7b8ec764356aa94 |
18-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check that flex/bison are installed Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch.
akefile
|
3e0bb02358d627e784a2b7041d6e2e23e3dfd2c5 |
18-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename IS_GT1 and IS_GT2 to IS_SNB_GT1 and IS_SNB_GT2. This should help distinguish Sandybridge GT1/GT2 from Ivybridge GT1/GT2. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_chipset.h
|
bb31ecf4fb5b2dc9bad801397562535bf38ccf9b |
18-May-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: split updating vertex and fragment shader stages. this seems like a logical thing to do and sets the correct st flags for vertex textures. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_texture.c
|
6bd8647b54054a59bdb4f0c170c4481eaadc81ff |
16-May-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: only memset sampler when about to use it. This function was taking a lot more CPU than required due to it memsetting a bunch of memory that didn't require it from what I can see. We should only memset here when we are about to fill out the sampler, otherwise we end up doing a bunch of memsets for everytime this function is called, basically setting 0 memory to 0. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_sampler.c
|
4e98318fc1722171a07d867a99ab7608ecf758cd |
13-May-2011 |
Eric Anholt <eric@anholt.net> |
i965: Instead of fallback on missing region, just bind a null renderbuffer. The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2 fell back even when rb == NULL, which is wrong for GLES2 and caused segfaulting in GLES2 conformance. For the GPU hang case (where the broken 2D driver failed to allocate a BO for the window system renderbuffer), it also would assertion fail/segfault immediately after the fallback setup when the renderbuffer map failed. Fixes GLES2 conformance packed_depth_stencil. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen7_wm_surface_state.c
|
461e193971db4ac456be0d383e9aebf15868542a |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Updated fixed-point sizes in Ivybridge SAMPLER_STATE. Texture LOD Bias is now S4.8 instead of S4.6; Min LOD, and Max LOD are now U4.8 instead of U4.6. Fixes piglit test tex-miplevel-selection. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen7_sampler_state.c
|
ead7d73a5143ccfc55e6c00b8ab5ba0b893e5f33 |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Ivybridge uses the Gen4 SAMPLER_BORDER_COLOR_STATE. Volume 5c 1.13.7 lists it as [PreDevILK] and [DevIVB+]. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_sampler_state.c
|
1b3d354743269ac1da80984da55d7545974f7345 |
23-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Recognize new Ivybridge PCI IDs. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
7f5e0d2a908d4f7ba781d70731172a07b640f401 |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Disable register spilling on Ivybridge for now. The data port messages for this are rather different. For now, fail to compile rather than hanging the GPU. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
344283de5d3f4e2bfa10455f6b974cf731184b55 |
11-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix RNDZ and RNDE on Sandybridge and Ivybridge. On gen4/5, the RNDZ and RNDE instructions return floor(x), but set special "round increment bits" in the flag register; a predicated ADD (+1) fixes the result. The documentation still lists '.r' as existing, and says that the predicated add is necessary, but it apparently lies. According to the simulator, BRW_CONDITIONAL_R (7) is not a valid conditional modifier and the RNDZ and RNDE instructions simply produce the correct value. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
199a2f90abdd5dd11f8e2b95e587401d3b46f3ff |
11-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix data port reads on Ivybridge. These also need to use gen7_dp. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
2a95568f64a6641a49a2d4855272e9be2ac2db6d |
11-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Avoid register coalescing away MATH workarounds on Ivybridge. The MATH instruction cannot handle source modifiers, even on Gen7. So, apply this workaround for Sandybridge on Ivybridge as well. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
6e918163dfbdc829f31a0aefc07248c49b890d1d |
30-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make the CONT instruction point to the WHILE instruction. This fixes piglit test glsl-fs-loop-continue.shader_test on Ivybridge. According to the documentation, the CONT instruction's UIP field should point to the WHILE instruction on both Sandybridge and Ivybridge. The previous code made UIP point to the implicit DO instruction, which seems incorrect. I'm not sure how it could have worked on Sandybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
77397ef96edbc17a698ae2a02ec4807b1059c036 |
30-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add support for loops on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
64ce592679a5b08d66e3cbbf964f9e695e14aee1 |
16-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add support for IF/ELSE/ENDIF control flow on Ivybridge. Ivybridge's IF instruction doesn't support conditional modifiers. It also introduces UIP, which must point to the ENDIF instruction. ELSE and ENDIF remain the same except that JIP moves from dst to src1. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_structs.h
|
ff6e3c73f6553cd29b915497b5b00e3ef158a27d |
29-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add support for Ivybridge texturing messages. Ivybridge puts the shadow comparator first, then lod/bias, and finally the coordinate---unlike previous generations which always reserved four slots for the coordinate at the beginning. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
36f8de02e71ee5c2ca55d86c486eb00d043ae1f5 |
29-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix sampler message descriptor on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
3f44043da37bcd0c481ceddf4f878ddb3419b763 |
29-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix SAMPLER_STATE on Ivybridge. Most of this code copied from brw_wm_sampler_state.c. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen7_sampler_state.c
|
3984372104ec6ac5986dedb07b8ca99d53dede18 |
29-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Mark some brw_wm_sampler_state.c helper functions as non-static. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_sampler_state.c
|
b2b6cc662271d611462532222ef2fcc30042bd0f |
28-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Update SURFACE_STATE for Ivybridge. I'm still not happy with the amount of code duplication here, but it will have to do for now. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen7_wm_surface_state.c
|
c12a93d5c452da16ff0c8955e55770b8eda28036 |
28-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Mark a few more brw_wm_surface_state functions as non-static. I need to reuse them. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_surface_state.c
|
70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4 |
28-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Change brw_format_for_mesa_format to a non-static function. This will make it easier to share between files. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_surface_state.c
|
62b79b4bb9d8a4a8679c3d1e1f5455ce33d7b90a |
20-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set Address Modify Enable in VERTEX_BUFFER on Ivybridge. Otherwise, Ivybridge seems to ignore the newly supplied data, giving us rubbish for vertices. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
|
09d881bf7420c97a0f684283c24b8ec3e42404ff |
27-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable channel masks in Ivybridge's URB_WRITE_HWORD header. This shouldn't be done using MRFs, but until I have a proper solution for dealing with MRFs, this allows my hack to keep working. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
97d4d6f77e885d2c343697f26a5ecf821caaf13b |
19-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix the URB write message descriptor on Ivybridge. The message header is still incorrect, but this is a start. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
ce526a7452abf552af38b86bd3546d6ff9a83194 |
19-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix render target writes on Ivybridge. Ivybridge shifts the data port messages by one bit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
482e8a6cd59292c58b11a9282632aaa9b24f44ae |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Mad hacks to avoid using MRFs on Ivybridge. Ivybridge's SEND instruction uses GRFs instead of MRFs. Unfortunately, a lot of our code explicitly uses MRFs, and rewriting it would take a fair bit of effort. In the meantime, use a hack: - Change brw_set_dest, brw_set_src0, and brw_set_src1 to implicitly convert any MRFs into the top 16 GRFs. - Enable gen6_resolve_implied_move on Ivybridge: Moving g0 to m0 actually moves it to g111 thanks to the previous hack. It remains to officially reserve these registers so the allocator doesn't try to reuse them. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
550ad737f77cfae9abf2db1638711713ad9d920e |
12-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit 3DPRIMITIVE Ivybridge-style. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw.c
|
fa4b23581b4ee8a07400364dccbd61b749c2d1d1 |
14-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Don't use the GS for breaking down quads on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_gs.c
|
d58400eb4a2605640267436f63d9e856fb3c1f96 |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit extra 0's in 3DSTATE_MULTISAMPLE on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_misc_state.c
|
8c8985bdd714f43a96ce922a7c0284d50aec3d1a |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add depth buffer support on Ivybridge. This also disables the HiZ and separate stencil buffers. We still need to implement stencil. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_misc_state.c
rivers/dri/i965/gen7_sf_state.c
|
bc08d4ebb832769aacb4aecaaf1e490f97c53d65 |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Upload sampler state pointers on Ivybridge. Since we currently only support sampling in the fragment shader, we only bother to emit the PS variant. In the future we'll need to emit others. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_wm_state.c
|
a94fe79464df088d8e26386d3f0db9a231bfdb61 |
21-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Disable binding table pointers for unused pipeline stages. This may not be necessary, but it seems like a good idea. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen7_disable.c
|
706dbf85f15d42c320481dabe2a3db0c2cbbebb8 |
22-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Upload binding table pointers on Ivybridge. Ivybridge uses per-stage commands to update binding table pointers. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_vs_state.c
rivers/dri/i965/gen7_wm_state.c
|
e0e2c045965f7bd4becae3dce8394f8455184e0d |
22-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Split BRW_NEW_BINDING_TABLE dirty bit into one per stage. Ivybridge can update each stage's binding table pointer independently, so we want separate dirty bits. Previous generations can simply subscribe to all three dirty bits and emit as usual. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
bac10b58de69108bdb2cc3358733e2648ab7c5d2 |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Explicitly disable unused pipeline stages on Ivybridge. This may not be strictly necessary, but seems wise. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_disable.c
|
6b2010df7d55ad9feacbbcf708a83a66cdf91aaf |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge VS state. Copied from gen6_vs_state.c; reuses create_vs_constant_bo from there. The 3DSTATE_VS command is identical but 3DSTATE_CONSTANT_VS is not. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_vs_state.c
|
18402fbf79e96d7afb6b690906a7656f01a92b9d |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge Viewport state setup. SF and CLIP viewport state has been combined into SF_CLIP_VIEWPORT; SF_CLIP and CC state pointers can now be uploaded independently. Some portions of the hardware documentation refer to separate upload commands for SF and CLIP; these are outdated and incorrect. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen7_viewport_state.c
|
81fd03fe56372c5c702bf257e821cea71ee25448 |
28-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge Clip state setup. Copied from gen6_clip_state.c. This enables early culling and sets the necessary fields. Otherwise, it is entirely the same, so I doubt this patch is strictly necessary for a functional driver. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_clip_state.c
|
24d0ed72c1817b624e3021b12a0987b2c5edd71b |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge CC state setup. The state itself still seems to be the same; the only change is that each part (CC, BLEND, DEPTH_STENCIL) can now be uploaded independently. Thus, we still rely on the code in gen6_cc.c to set up the state. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_cc_state.c
|
a924d69b57a82c02f2d4fba3fc0b31bf6a4f744e |
03-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge WM/PS state setup. Copied from gen6_wm_state.c. The main change from Sandybridge seems to be that 3DSTATE_WM was split into two separate state packet commands: 3DSTATE_WM and 3DSTATE_PS. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_wm_state.c
|
7d608d0c331c101088273655708965fb9f1be56e |
05-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge SF/SBE state setup. Copied from gen6_sf_state.c. The main change from Sandybridge seems to be that 3DSTATE_SF was split into two separate state packet commands: 3DSTATE_SF and 3DSTATE_SBE ("setup backend"). The bit-offsets are even the same - only the DWords numbers have shuffled around a bit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen7_sf_state.c
|
3dc4bc1f78db876d2dcb76153ecf9992fcce73e4 |
29-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Make gen6_sf_state.c's get_attr_override non-static. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state.h
rivers/dri/i965/gen6_sf_state.c
|
8832920c298f4e13ffd5e53feeba509be69edb16 |
27-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Initial Ivybridge URB space partitioning, including push constants. Currently this always reserves 16kB for push constants, regardless of how much space is needed, and partitions it evenly betwen the VS and FS. This is probably not ideal, but is straightforward. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen7_urb.c
|
477e2fe0318c79978dedd51a5a6039cf05fc59fb |
09-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Set maximum number of threads for Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
|
235fa21a0950150bcb78851e2d0cd2deeb1536f8 |
03-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Split out tracked state atoms for Ivybridge. Currently, gen7_atoms is a verbatim copy of gen6_atoms; future commits will update it to contain gen7-specific state. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_state_upload.c
|
89a82d72cafc1efbcf099e5229ba9b1cb53504f0 |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Initial IS_GEN7 plumbing. Currently, IS_GEN7, IS_IVYBRIDGE, IS_IVB_GT1, and IS_IVB_GT2 all return false. This allows me to write the code for them before actually adding the PCI IDs and thus enabling the hardware. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
d55471768e308853432de7d18f663034ddbc8599 |
15-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename max_vs_handles to max_vs_entries for consistency. The documentation uses the term "vertex URB entries", the code talks about "entry size", and so on. Also, handles are just "pointers" to entries (actually small integers). Also rename max_gs_handles to max_gs_entries. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_urb.c
|
d0f0d064825c457964614bee8fedcf31526a0775 |
16-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Convert BRW_NEW_* dirty bits to use an enum. This will make it much easier to add new dirty bits. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_context.h
|
c638180fc715aff84422c1092926120af966d417 |
16-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rework IF/ELSE jump target back-patching. The primary motivation for this is to better support Ivybridge control flow. Ivybridge IF instructions need to point to the first instruction of the ELSE block -and- the ENDIF instruction; the existing code only supported back-patching one instruction ago. A second goal is to simplify and centralize the back-patching, hopefully clarifying the code somewhat. Previously, brw_ELSE back-patched the IF instruction, and brw_ENDIF back-patched the previous instruction (IF or ELSE). With this patch, brw_ENDIF is responsible for patching both the IF and (optional) ELSE. To support this, the control flow stack (if_stack) maintains pointers to both the IF and ELSE instructions. Unfortunately, in single program flow (SPF) mode, both were emitted as ADD instructions, and thus indistinguishable. To remedy this, this patch simply emits IF and ELSE, rather than ADDs; brw_ENDIF will convert them to ADDs (the SPF version of back-patching). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu_emit.c
|
5936d96d33e767aa99f6afa92f2a6582ff04df23 |
16-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Move IF stack handling into the EU abstraction layer/brw_compile. This hides the IF stack and back-patching of IF/ELSE instructions from each of the code generators, greatly simplifying the interface. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_vs_emit.c
|
774fb90db3e83d5e7326b7a72e05ce805c306b24 |
16-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Get a ralloc context into brw_compile. This would be so much easier if we were using C++; we could simply use constructors and destructors. Instead, we have to update all the callers. While we're at it, ralloc various brw_wm_compile fields rather than explicitly calloc/free'ing them. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
|
ebeea9857339da5f0f0455c45a8350190bbad189 |
16-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/gs: Move generation check for bailing earlier. On Sandybridge, we don't need to break down primitives. There's no need to bother setting up brw_compile and such if it's not going to be used; bail as early as possible. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_gs.c
|
c6175d78705aaca23fc5561a3a73be0b6a952b27 |
17-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add _NEW_LIGHT to Gen6 clip state dirty bits. ctx->Light.ProvokingVertex depends on _NEW_LIGHT. Found by inspection. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_clip_state.c
|
355944087365a963d01deb5fcd6727dfd5360470 |
18-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add some missing GLAPIENTRY keywords NOTE: this is a candidate for the 7.10 branch.
ain/dlist.c
|
217cd216eac65983004ca77a9e49dbfad1b720b6 |
18-May-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix bug in rc_get_variables() Variables that write to the same source select need to pe paired together otherwise the register allocator might fail. https://bugs.freedesktop.org/show_bug.cgi?id=36753
rivers/dri/r300/compiler/radeon_variable.c
|
a3ac28a736c56cbdee0daa6e30c7a8b984a90ec6 |
14-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: make RGB9_E5 non-renderable on swrast again _BaseFormat for RGB9_E5 is GL_RGBA due to the previous revert.
ain/fbobject.c
|
947190ab4bbc8ea99bda3c464013af2a87c3286d |
14-May-2011 |
Marek Olšák <maraeo@gmail.com> |
Revert "mesa: set reasonable defaults in update_wrapper" This reverts commit 1d5f16ff8fae936f2e920800b169cf7736a8052a. It breaks fbo-readpixels on swrast. For some reason, swrast likes GL_RGBA and CHAN_TYPE.
ain/texrender.c
|
1309d2ea723613f1e755dd7785d22456dd39bb08 |
11-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Pass brw_compile pointer to brw_set_src[01]. This makes it symmetric with brw_set_dest, which is convenient, and will also allow for assertions to be made based off of intel->gen. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
2b8e7215eb314aded42d6f13e1f5d6bbae7c7c9c |
15-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix "Paramater" typo in gen6_wm_state.c. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/gen6_wm_state.c
|
c9aa3bbda44470c0a92c675abf4bbab83aba3fb7 |
14-May-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: overhaul vertex/fragment sampler and sampler views. This fixes piglits fragment-and-vertex-texturing test on llvmpipe for me. I've no idea if someone had another plan for this that is smarter than what I've done here, but what I've basically done is split fragment and vertex sampler and sampler_view setup function, factor out the common chunks of both. side-cleanups: drop st->state.sampler_list - unused don't update border color if we have no border color. should fix https://bugs.freedesktop.org/show_bug.cgi?id=35849 Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
6d539579add0a9d3017f441d9fad5d4cd3ae7bb9 |
15-May-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use ALU Result for IF conditionals This saves one instruction per IF.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_variable.c
rivers/dri/r300/compiler/radeon_variable.h
|
ad2999d2113356d526b39774eb8114e974dac048 |
14-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set correct baseInternalFormat for _mesa_texstore in DrawPixels GL_RGBA was always used for baseInternalFormat regardless of the chosen texture internal format. https://bugs.freedesktop.org/show_bug.cgi?id=37154 Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
2bba244329a6751d5ac07041874b2969b67fa8ee |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0. Using the #define'd constant is better than 0 with a comment. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_eu_emit.c
|
c77855d64eae45786d2d637bd065c8a700b788e5 |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename dp_render_target struct to gen6_dp. This is actually just the message descriptor for Gen6+ dataport access; it has nothing to do with the render cache. Access to the sampler cache and constant cache also would use this struct; rename for clarity. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
17eaff77b09d356aae46c5d89a8eaa67cfa4c1e7 |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Attempt to un-muddle Gen6 data port message target defines. These are documented on page 245 of IHD_OS_Vol4_Part2.pdf (the public Sandybridge documentation/SEND instruction description). Somebody had the bright idea to reuse gen4/5 defines labelled READ/WRITE which just happened to be the same values as Render Cache/Sampler Cache. It turns out that this field has nothing to do with READ/WRITE on Sandybridge, but rather represents which data port to direct it to. This was especially confusing in brw_set_dp_read_message, which used "BRW_MESSAGE_TARGET_DATAPORT_WRITE." In a read function. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
|
e28e3a774c0a32201d0f78a236db8c19f85b311c |
06-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: expose ARB_shader_texture_lod if SM3 is supported Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
f247b2d633f85d70f006df8e8588072f57ee847c |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix incorrectly named data port define. According to my documentation this is actually "Media Block Write" on Gen4-5; there has never been a "DWord Block Write." Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
|
ceaec241494ddde8ab49c7d90814b0350c99d222 |
13-May-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix typo in Gen6 "DWord Scattered Write" message define. It's DWORD, not DWORLD. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_defines.h
|
8a506374536497495bac27db6cd15ffd06bb01a2 |
13-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: EXT_texture_sRGB_decode little fixup It doesn't fix bug 37150 though.
ain/samplerobj.c
ain/texobj.c
|
32a95cb70cb73b9a7855baffaf00f4ea7b3a30c2 |
12-May-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa: Fix GetVertexAttrib* inside display lists. GetVertexAttrib*{,ARB} is no longer aliased to the NV calls. This fixes tracing yofrankie with apitrace, given it requires accurate results from GetVertexAttribiv*. NOTE: This is a candidate for the stable branches.
ain/dlist.c
|
95c93651b4023cb070878aee7723d886de8ea19a |
12-May-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix bug in rc_get_variables() Variables that share readers were not always being linked together. https://bugs.freedesktop.org/show_bug.cgi?id=36939
rivers/dri/r300/compiler/radeon_variable.c
|
4612554dce5d787fca9c85a67378024b336bd6ad |
24-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Limit instructions to 3 source selects Some presubtract conversions were generating more than 3 source selects. https://bugs.freedesktop.org/show_bug.cgi?id=36527 Note: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/tests/radeon_compiler_util_tests.c
|
d1e8195c070c7b1324efbb037299ba184bb06270 |
09-May-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add simple unit test framework Plus three tests for rc_inst_can_use_presub()
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/tests/Makefile
rivers/dri/r300/compiler/tests/radeon_compiler_util_tests.c
rivers/dri/r300/compiler/tests/rc_test_helpers.c
rivers/dri/r300/compiler/tests/rc_test_helpers.h
rivers/dri/r300/compiler/tests/unit_test.c
rivers/dri/r300/compiler/tests/unit_test.h
|
7a271151a5d6990c8325008f19ab621d730d06c4 |
11-May-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Don't append fog code for programs that don't output color. Fixes fdo 36919. NOTE: This is a candidate for the stable branches. It should be cherry-picked to the sames branches that 3aa21f93dc1329c6f956277f2746c2a0bdae5446 was.
rogram/programopt.c
|
68074387a4af74e1b1b42908b23a4a7ca2c1efa4 |
01-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Emit TXD instruction. Mesa already supports this because of NV_fragment_program. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Marek Olšák <maraeo@gmail.com>
rogram/ir_to_mesa.cpp
|
1d4eb8d5d82fca2bc6689cff90a8b971feac8054 |
19-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add ARB_shader_texture_lod to the extension list; off by default. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
ain/mtypes.h
|
86852236a396bd9932a6ab6e73def0c8ef2f23a5 |
09-May-2011 |
Matt Turner <mattst88@gmail.com> |
r300/compiler: align memory allocations to 8-bytes Eliminates unaligned accesses on strict architectures. Spotted by Jay Estabrook. Signed-off-by: Matt Turner <mattst88@gmail.com> NOTE: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/memory_pool.c
|
801fbdf286bed58435ca3a9008104b098717ed9b |
09-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: document instructions ir_to_mesa emits GLSL stopped using: BRA, EXP, LOG, LRP, NRM3, NRM4, XPD. GLSL started using: KIL, SCS, SSG, SWZ. (omg why SWZ? isn't proc_src_register flexible enough?) GLSL doesn't use these opcodes some Radeons do support: ARR, DP2A, DST, LRP, XPD. These opcodes are now unused: AND, NOT, NRM3, NRM4, OR, XOR. (plus maybe the NV extensions which are unused by Gallium) In addition to that, we don't use two-dimensional indirect addressing, which the Mesa IR can do.
rogram/prog_instruction.h
|
39be542f734f5725108f3e0223a9d748033b4735 |
09-May-2011 |
Michel Dänzer <daenzer@vmware.com> |
r300c: Fix up for register allocator rewrite. Was broken by commit fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 ('r300/compiler: Rewrite register allocator').
rivers/dri/r300/r300_blit.c
rivers/dri/r300/radeon_mesa_to_rc.c
|
de3d9fa95630db0ef8fdbbfc465951f4c6b54d7c |
06-May-2011 |
Matt Turner <mattst88@gmail.com> |
mesa: add precision to M_PI constant Value found in my math.h header. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
|
ebc0b2dca0eb6510189d433851bd475475e69aa6 |
06-May-2011 |
Matt Turner <mattst88@gmail.com> |
mesa: replace ONE_DIV_LN2 constant with M_LOG2E 1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
rogram/prog_statevars.c
|
03615c02d81437cf546609fc6a39c6c73be39360 |
06-May-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement TXD and TXL opcodes
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_program_tex.c
|
a5f0a11477ae90f47f3adb59a93c5576dc8c7325 |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: implement seamless cubemap extensions Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_extensions.c
|
bf65c9ea411b2fd394b82a0d5502675d427d9fd0 |
06-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: handle TEXTURE_CUBE_MAP_SEAMLESS in SamplerParameter Reviewed-by: Brian Paul <brianp@vmware.com>
ain/samplerobj.c
|
a19c42ffc606b594558a0c4f981662442ad6bb83 |
03-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement AMD_seamless_cubemap_per_texture
ain/extensions.c
ain/mtypes.h
ain/samplerobj.c
ain/texobj.c
ain/texparam.c
|
8c3226be9004657db6c850b3164caf70deafa822 |
06-May-2011 |
Kostas Georgiou <georgiou@opengamma.com> |
Add pci id for FirePro 2270 Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
e5169e9615e8391ea369415b356168717b8f7be0 |
06-May-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
egl: Add a cursor use bit to MESA_drm_image
rivers/dri/intel/intel_screen.c
|
02a6c9428d2ebb0ba121533f6bd7a0f2fe58c615 |
05-May-2011 |
Marcin Slusarz <marcin.slusarz@gmail.com> |
mesa: don't touch git_sha1.h if sha1 didn't change Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/.gitignore
|
da87370032c393077fa70099a79ea1e71ae2f5be |
04-May-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/gdi: Silence gcc warning about unused result.
rivers/windows/gdi/wgl.c
|
f85cd39fc4b982a7927258722fdf270724dd5baf |
04-May-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused restart.[ch] files _mesa_PrimitiveRestartIndex() is in varray.c and glPrimitiveRestart() is handled in the vbo module.
ain/restart.c
ain/restart.h
|
27477248d35928f5043ebcaf268c30442fc12d8c |
03-May-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add some new pci ids Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
5ba2e7adf01aaa855e36a577a47de8f4ddace99c |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement AMD_shader_stencil_export It's just an alias of the ARB variant with some GLSL compiler changes. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/extensions.c
|
a677952e681642c286ae6c5544a5b8ba3dfe8ec8 |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: make AMD_draw_buffers_blend an alias of the ARB variant Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/extensions.c
|
3be1c7f2601a4e8accfa653a095a716b18cf3710 |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
glapi: regenerate files for AMD_draw_buffers_blend
ain/remap_helper.h
|
62aa51b78abfdb3737ab64eaa776e4ddaab9dfd5 |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: flush vertices before changing GL_RASTERIZER_DISCARD state, not after Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/enable.c
|
aafbaa9e6a87cecb336f2704b799430d74c60456 |
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: make _NEW_TEXTURE dirty when changing GL_TEXTURE_CUBE_MAP_SEAMLESS Otherwise there would be no way to know whether the state has been changed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/enable.c
|
f986a6560f3ee9a79b89e9409e3a9ac52b53315c |
03-May-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa,st/mesa: fix WPOS adjustment Tested-by: Marek Olšák <maraeo@gmail.com>
rogram/prog_statevars.c
rogram/prog_statevars.h
tate_tracker/st_mesa_to_tgsi.c
|
484b51d484e52836bd2d2ded64626342203df0d3 |
30-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Align interleaved URB writes for overflow outputs as well. Fixes glsl-max-varyings. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35614 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_vs_emit.c
|
fb8786bda320fef12219bf71ea83d703be6aa48f |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove set-but-unused variables
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
|
847d397b3415b6705a084013903e1a7e8384e1d2 |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: remove set-but-unused variables
rogram/ir_to_mesa.cpp
|
2032daced10f98d94709e3f36e5276a9286d5297 |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove set-but-unused variables in texcompress_s3tc
ain/texcompress_s3tc.c
|
2d2b546189a5d46ca0a433e52f8b8dce70d28992 |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove set-but-unused variable in bind_attrib_location
ain/shaderapi.c
|
f507530d25c04e62268ae562f5a3ef32caefabae |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused-but-set variable in extract_uint_rgba
ain/pack.c
|
97398d1d56e6551ef0396738d5d8b58ebddfcd2b |
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove set-but-unused variables
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/radeon_optimize.c
|
dc9e5ed5e1d42261d6d113a7fe7e8fd4d94e169f |
30-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa: GL_PROVOKING_VERTEX_EXT is a GLenum, not GLboolean.
ain/get.c
|
7679a4ddf425f5a243ad8eb1baeda3caa508f829 |
30-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Cleanups from the regalloc merge
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
d7cf9833d7138daa1c2acdc489ab0c86c2ea7e41 |
30-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add return statement to rc_list()
rivers/dri/r300/compiler/radeon_list.c
|
7edf7d1169eb1efe5f24abc9e5e3f4ef04057c3b |
30-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300g: Fix scons build Broken by the dependency on ralloc introduced by fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42
rivers/dri/r300/compiler/SConscript
|
d379e938f0ed10f193f2aa6c60e283d7af6360e4 |
26-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Enable swizzle packing in the allocator for r300 and r400
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.h
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_variable.c
|
1b75d48e849aaefbff25486133ab67c782492b7c |
18-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle loops in the register allocator
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_variable.c
|
ac952a11dfb53416527a482f394fad7b45a5176f |
13-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle loops in rc_get_readers()
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
|
fe622bac0c1b5b9f2a9fcf9f35b51232a06bea42 |
11-Jan-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Rewrite register allocator The new allocator uses ra and does swizzle packing. Also, a data structure (struct rc_variable) and associated functions have been added for generating UD and DU chains.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_list.c
rivers/dri/r300/compiler/radeon_list.h
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_variable.c
rivers/dri/r300/compiler/radeon_variable.h
|
e4a765ae2de21dada2e1206baf6b17a381193b42 |
27-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
ra: Add ra_set_node_reg() This function can be used to avoid creating single register classes for input/payload registers. This makes optimistic coloring less likely to fail. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/register_allocate.c
rogram/register_allocate.h
|
dbac75fa2f8495c879d841803b494e7411427863 |
20-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use RC_MASK_W when converting RGB to Alpha instructions
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
4f4d1d06da5e151df39c60fe75ab686ffdd73659 |
31-Jan-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: rc_reader_data: Add ExitOnAbort flag
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_rename_regs.c
|
bbcee3268a28410f677577868386419da32379bd |
19-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add more info to struct rc_reader For pair instructions we need a reference to both the arg and source.
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_rename_regs.c
|
6a6068e5e110f9902fbf368bbff2a728657e81c6 |
26-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add remove dead sources pass The instruction scheduler will sometimes leave orphaned sources when converting instructions from RGB to Alpha. If one of these orphaned sources has an index greater than the maximum temporary register index, then the compiler will incorrectly report "Too many hardware temporaries used". The dead sources pass cleans up these orphaned sources.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_pair_dead_sources.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
fdff7e635b91988f9c926a91f89f47bc24e81aa1 |
28-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: expose ARB_ES2_compatibility if GL_FIXED vertex format is supported Tested with softpipe and llvmpipe. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
0f1e59deacb944f1a88e55f042a3265a12f2c201 |
29-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: accept GL_FIXED in glVertexAttribPointer (ARB_ES2_compatibility) GL_FIXED should not be accepted in the other gl*Pointer calls in OpenGL. There is a new piglit for this: arb_es2_compatibility-fixed-type. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/varray.c
|
076bd11112742ca615880f2c6dc6ed235ab37eb5 |
30-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix error string, remove out of date comment
ain/transformfeedback.c
|
be293c14c6992027e417ae473b77c5e04382d7e3 |
30-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove commented-out #include
ain/transformfeedback.c
|
6a02679f0120f095d2678eec4532e27e9627b26d |
30-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Fix LogicOp handling for GL_COPY and/or floating-point RTs. We were accidentally leaving blending enabled for LogicOp GL_COPY, which ARB_color_buffer_float/GL_RGBA32F-render (and friends) caught. Additionally, the GL spec says that no LogicOp should be done to floating-point targets, and the GPU gets really angry even if you say to LogicOp GL_COPY to float.
rivers/dri/i965/gen6_cc.c
|
3032582d032a28381dd4c2f4093d82c79e73129e |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead entrypoints to state cache, rename the one that's left. As we expanded the usage of the state cache, it grew extra functionality. However, with the recent state streaming rework, we're back to the state cache being used only for shader kernels, which is the piece of GPU state that's actually expensive to compute again from scratch, since it involves compiling. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
acb4d5cd96d91320b8e5edb727ff3a268f04587f |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move the GS state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
|
8ba0c025a4e0aba97ae596e2121416cf04c0c300 |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move clip state to state streaming Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vtbl.c
|
d6ba7b16039b3cf03903888df23732cbb358e810 |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop the now unused brw_cache_data() function. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
|
bb7ff01deb5c1eb813b90da6f40d987a67e2793b |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix up state dumping for SF state. It was moved to state streaming a while back and this was left over. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_state_dump.c
|
588cebce2d5b6afd24b72603d744d390481310dd |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move VS state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vtbl.c
|
04e3f1d3c29c68343e709d566b7fe13d617f8d13 |
24-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a bunch of documentation to the register allocator. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/register_allocate.c
|
a82a43e8d99e1715dd11c9c091b5ab734079b6a6 |
23-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Use the dynamic state base address to reduce relocations. Now that all the dynamic state is streamed through the top of the batchbuffer, we can cut out many of our relocations to that state by using the base address. Improves 3DMMES taiji performance 3.3% +/- 0.4% (n=15). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
855f56ca13c1003396a81da1a110357d624a2101 |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move scissor state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_scissor_state.c
|
5c742ea1ee0cea031cb99651155d0c7521f42b4e |
23-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move sampler state to state streaming. Overall, across this series since the last set of numbers, gen6 3DMMES taiji performance has dropped 0.8% +/- 0.3% (n=15), probably due to the increased reissuing of state from some of the state objects that otherwise never changed, and increased occurrence of the per-batch overhead as we've increased how much we put in the batch BO without increasing the batch BO's size. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_sampler_state.c
|
1a447749ed421db8eb6ba20012630785aef9bb12 |
23-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen4: Move WM state to state streaming. The samplers are about to become streamed for gen6 performance, which would cause this unit to blow out the state cache. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_state.c
|
c108a3f863c44b5e9760d4668148ef8ca7557b2f |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the depth/stencil state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_depthstencil.c
|
35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the blend state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_cc.c
|
2ee1fd2e8f023853b60c242ce7f83a595c0f65ff |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the color calc state to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_cc.c
|
d67c08319fda7d0f2df98d60b64c8cc2f3e06c44 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the CC VP to state streaming. This is in a way a revert of f5bb775fd1f333d8e579d07a5cac1ded2bd54a2f. The tiny win that had will be overwhelmed by the win of using the gen6 dynamic state base address. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_viewport_state.c
|
8d2047ca7e8a533e1853a2ba51cd1bd6e52ae4a3 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the SF VP to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_viewport_state.c
|
3628e123f13a480abfad8e8af9f875e3d8eeb5a6 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Move the clip VP to state streaming. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_viewport_state.c
|
32cc0c9d8de343f699e80e7e416ea0d7e3121a42 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Stream the VS push constants. Improves 3DMMES taiji demo performance by 10.1% +/- 0.9% (n=15). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_vs_state.c
|
90c70123b830bead0ac622df94f2809ac056af95 |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/gen6: Stream the WM push constants. Improves 3DMMES taiji demo performance by 5.1% +/- 1.9% (n=15), by reducing CPU time spent thrashing around those tiny little constant BOs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_wm_state.c
|
530de3a2f5f6c1f1a6ec7a5f781d90f7229cab2a |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Give the push constants and pull constants unique function names. This helps clarify profiling results. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_wm_state.c
|
03b2e0fcdf92c76411a957c3ea898233fb4ce1be |
29-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix fragcoord_w on gen6 with 16-wide. The payload regs can go all the way up to register 60+, so just give them 8 bits to be addressed by instead of 3-4 (which made source_w_reg of 8 end up 0). There's no reason to aggressively pack these fields, as they are just used as compiler information, where being easier to access is probably more important than shaving a byte or two off of the structure. Fixes piglit fragcoord_w. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36649
rivers/dri/i965/brw_wm.h
|
8c1637a4c233fd02a57dee1e38ac87012a04c4c5 |
26-Apr-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't ask for floating point textures if not ARB_texture_float. I was promoting to float for ARB_color_buffer_float unclamped, which failed when ARB_texture_float wasn't present. Since the metaops don't need results outside of [0,1] when not drawing to a floating point destination, they can just use a fixed point texture when floating point destinations are impossible. Fixes regression in fdo23670-depth_test when --enable-texture-float is not present. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36473
rivers/common/meta.c
|
2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b |
29-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix a few incorrect error messages
ain/transformfeedback.c
|
8a58eccc626c5b0b75c64e08b081cef4a983a1a0 |
26-Apr-2011 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Add git_sha1.h to .gitignore Since commit de579a1 "Include GIT SHA1 in GL version string" $ git status On branch master Your branch is ahead of 'origin/master' by 2 commits. Untracked files: (use "git add <file>..." to include in what will be committed) src/mesa/main/git_sha1.h nothing added to commit but untracked files present (use "git add" to track) Add git_sha1.h to .gitignore so git knows not to warn it is present but untracked Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Marek Olšák <maraeo@gmail.com>
ain/.gitignore
|
aeac658e25bd0d939b503000676a4b3c3114bf41 |
28-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused variable bytesPerRow
ain/texstore.c
|
e62530a6c00da71c0f7bf1f4c425fe6c5b452df6 |
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: support EXT_packed_float Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
631d23daa91c569bf268a2191bd466df73a64263 |
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_packed_float Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/image.c
ain/mipmap.c
ain/pack.c
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
1271424615b62544662a606bb23f6d7117a8b0e7 |
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa, util: move RGB9E5 conversion functions to gallium/util Also use MAX3 and incorporate Ian's suggestion in texformat.c. I don't think wrapping u_format_rgb9e5.h in another header and thus making it more complicated is worth it.
ain/mipmap.c
ain/pack.c
ain/rgb9e5.h
ain/texfetch.c
ain/texformat.c
ain/texstore.c
|
1da44f5923c5715d78a48dc300bbc6cbd3f3ea99 |
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: support EXT_texture_shared_exponent Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
9d7698c468f4ea7da8bb4ec00520c98f11cca0fa |
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement EXT_texture_shared_exponent swrast support done. There is no renderbuffer support in swrast, because it's not required by the extension. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/image.c
ain/mipmap.c
ain/pack.c
ain/rgb9e5.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texparam.c
ain/texstore.c
|
1d5f16ff8fae936f2e920800b169cf7736a8052a |
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: set reasonable defaults in update_wrapper I was wondering why I had been getting GL_RGBA for GL_RGB9_E5. Instead of setting GL_RGBA and CHAN_TYPE for most types, use the helper functions to obtain the info. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texrender.c
|
19efd1442cc44b0307fe72938d7c2b66c544654f |
27-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
prog_print: Add support for printing the TXD opcode. Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/prog_print.c
|
f9cc6acbfa6f6f91b29a0601436d91a330fdce79 |
27-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: raise shader MaxParameters if driver supports more The default value is 64 but drivers usually advertise more, like 4096. Allows ARB vp/fp programs to use more parameters. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
tate_tracker/st_extensions.c
|
f3c92c2323b1a00e592a2bae739c420a52d4285b |
27-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: emit more info in program parser error message
rogram/program_parse.y
|
aa3e1c25d3e4fc7e79236c717deaa838182e68c9 |
25-Apr-2011 |
Eric Anholt <eric@anholt.net> |
Revert "intel: use throttle ioctl for throttling" This reverts commit 50ade6ea697953bb17e3ca7210515fbd0411cd1e. Fixes jerky rendering again on apps that don't block on the GPU per frame and are GPU bound (e.g. 3DMMES on Ironlake). The whole point of this complicated throttle scheme is to wait on frame n-1 to have started rendering before starting frame n's rendering. Otherwise, the GPU-bound app will race ahead and call the GL to draw many nearly-identical frames, then >0ms later get stuck waiting for them (all dispatched at about the same time) to retire, then render a new batch of nearly-identical frames.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
66d95919d55098b96281e5144b6839627ad3d053 |
27-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: choose 3-component float formats before 4-component formats If GL_RGB16F or GL_RGB32F is specified let's try the 3-component float texture formats before trying the 4-component ones. Before this, GL_RGB16/32F were treated the same as GL_RGBA16/32F. Reviewed-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_format.c
|
48aa7725893ee75af10b8519e8a018e94334c7cc |
27-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: whitespace fixes
tate_tracker/st_extensions.c
|
069a9766a9bf62c3c6caacd0ce5fb30ece8a0eef |
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add macros MIN3 and MAX3
ain/macros.h
|
e031bed122a8902808b197549e7952cde10d310c |
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix warning: ‘user_memory’ may be used uninitialized in this function It's initialized later in a conditional the condition of which is always true the first time it's evaluated.
tate_tracker/st_draw.c
|
6b329b9274b18c50f4177eef7ee087d50ebc1525 |
26-Apr-2011 |
Brian Paul <brianp@vmware.com> |
Squashed commit of the following: commit 864fe253b04105b7469e5f7b064dc37637b944f8 Author: Brian Paul <brianp@vmware.com> Date: Thu Apr 21 20:13:07 2011 -0600 mesa: s/exec/disp/ in _mesa_init_histogram_dispatch() This function isn't normally compiled (FEATURE_histogram). commit f4bf45e2b94b582cacd19cdca873c5be627e4250 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: hook up GL_ARB_robustness dispatch functions ...and advertise the extension. Signed-off-by: Brian Paul <brianp@vmware.com> commit 2b89e38e5f572dc40cebc06381ae7c5d04386998 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: regenerated API files for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 5d5ebfb7135cec9d833adef86cbf4d0f3d9beca8 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 glapi: add ARB_robustness xml Signed-off-by: Brian Paul <brianp@vmware.com> commit 0159d1d6d99f4bbc18381dc2081c20d3aff17ac9 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: implement GL_ARB_robustness functions Signed-off-by: Brian Paul <brianp@vmware.com> commit 938fd71f4c4742f274922d53492a7290ab8d9c9b Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add context fields for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 72075137bc79e65be03dac7e97b6dba93c3a86a4 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize more bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit 32a3fc23746db49da903fbc08afa0135af3007d2 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize some bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit cecbf1f4d164207de373dec0cadee2e84e1f9656 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add more bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit edc895b52383d5bd274422db56adead1d81daf5f Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit 3a96ef28a538f158a219b406cd090dee70470c85 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: use is_bufferobj() helper function Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_pixel_bitmap.c
rivers/x11/xm_dd.c
ain/api_exec.c
ain/colortab.c
ain/context.c
ain/convolve.c
ain/dlist.c
ain/drawpix.c
ain/enums.c
ain/eval.c
ain/extensions.c
ain/get.c
ain/get.h
ain/getstring.c
ain/glapidispatch.h
ain/histogram.c
ain/mtypes.h
ain/pbo.c
ain/pbo.h
ain/pixel.c
ain/polygon.c
ain/polygon.h
ain/readpix.c
ain/readpix.h
ain/remap_helper.h
ain/texgetimage.c
ain/texgetimage.h
ain/uniforms.c
ain/uniforms.h
|
37642518b8864ce751754957b08cdb437998f4e7 |
29-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for compute-to-mrf in 16-wide mode. This is more painful than instruction scheduling, as we have to compare two MRF writes to see if they coincide, and have to handle partial GRF writes before that (for example, the result of a math instruction written to color). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
445289b5093acb9abaf7e0a89bfa319fcb4a1c31 |
29-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Typo fix a comment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
0834607a891f7c2529d1f2cdeca28b6e98899f8b |
25-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Enable constant propagation in 16-wide. All that needed fixing was skipping the newly-possible uncompressed/sechalf partial GRF constant writes. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
91d1a141589441b203a2270417ae665f0616ea3c |
23-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix and enable the instruction scheduler for 16-wide. Most of the work of the scheduler is agnostic to wide dispatch. It operates on our virtual GRF file, which means instructions are generally referring to 8 or 16 wide naturally. For the MRF file management we're trying to track the actual hardware MRF file, so we need to watch if an instruction writes multiple MRFs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
3b20f999bb7e9056e83ca09a842a9747d4ac1674 |
23-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for 16-wide dispatch with uniforms in use. This is glued in in a bit of an ugly way -- we rely on the uniforms having been set up by 8-wide dispatch, and we just reuse them without the ability to add new uniforms for any reason, since the 8-wide compile is already completed. Today, this all works out because our optimization passes are effectively the same for both and even if they weren't, we don't reduce the set of uniforms pushed after optimization. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
b061b5ffb055c64ffc45e506bad877f47942ba01 |
23-Mar-2011 |
Eric Anholt <eric@anholt.net> |
hash_table: Add an iterator for doing things like cleanup of the HT. Without this, consumers often have to keep linked lists of the entries, at additional malloc cost. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/hash_table.c
rogram/hash_table.h
|
b943b9b1a696cf51adfb2a18bcb9cf503fb2737f |
23-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add a little whitespace between shader dumping debug. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
9c57780dc0604f871650c5d23c06d627d964d803 |
28-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for compr4 MRF writes. These reduce an emitted (not decoded) instruction per shader on g4x/gen5, but may allow for additional register coalescing as well. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
42ad2f0b9b6a18f1613f6d915a46b4a4a89c5aa2 |
14-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for 16-wide dispatch on gen5. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_wm_state.c
|
662f1b48bd1a02907bb42ecda889a3aa52a5755d |
12-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add initial support for 16-wide dispatch on gen6. At this point it doesn't do uniforms, which have to be laid out the same between 8 and 16. Other than that, it supports everything but flow control, which was the thing that forced us to choose 8-wide for general GLSL support. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/gen6_wm_state.c
|
76b7a0c1af23838cb5100424a2a88d621b881d05 |
24-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for discard instructions in 16-wide mode. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
148a32e622c5b95a4dbd9a8776fddf85ef484147 |
29-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for math instructions in 16-wide mode. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_emit.c
|
54990673a65b72fd222aeafc19f3a384ce597146 |
24-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Fix interference calculation of pixel_[xy] in 16-wide. Fixes glsl-fs-ceil in that mode, which produced the code in the comment. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
af20328271425c217630b5114ee172bd8387a91a |
23-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Disable some optimization passes under 16-wide for now. These are fixable for 16, but that can wait until after it's basically working. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
8575d1836249309048d77d342671aad65c7fa7ff |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for 16-wide texturing on gen5+. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
|
141b0bb2779c80d3cd3fd21d2e9d10efa0433f26 |
21-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for computing pixel_[xy] in 16-wide. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
2ac1cb8b83ad1f7700cc40519a82c3cf698b543b |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add support for 16-wide dispatch to the register allocator. Note that the virtual grfs are in increments of the dispatch_width, not hardware registers -- this makes the 16-wide emit and 8-wide emit mostly the same. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
7c647a2fe98a645723fa5eace7f7f6c5c26f4f8e |
14-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the destination reg setup for 8/16 wide to the emit code. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_emit.c
|
5dfba09d49ccec2655e4d22ef6f46b9c67862bc9 |
25-Apr-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Use tiling for dri2AllocateBuffer implementation
rivers/dri/intel/intel_screen.c
|
7363088f9f9558b2bad3ac6da48947514a8cd790 |
25-Apr-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Set gen in intelInitScreen, just copy value in intelInitContext
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
63325a05862f28b1d4dd65af6e78c73f78f502d3 |
23-Apr-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Use X tiling for DRM EGL Images
rivers/dri/intel/intel_screen.c
|
cd354b4eb84839837a9349bd91e89b55d06e5837 |
22-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove SWcontext::_FogMode, use gl_context::gl_fog_attrib::Mode everywhere Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_context.c
wrast/s_context.h
wrast/s_fog.c
|
4dfbb81891dd12b093308b91899d1d8fb084bf6d |
25-Apr-2011 |
Nicolas Kaiser <nikai@nikai.net> |
main: remove duplicated includes Remove duplicated includes of guarded headers. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/pack.c
ain/texstore.c
|
9e59ed59c17daeb4e77f9455ac8794307cc1cae2 |
22-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add stricter checks for float formats in the texstore memcpy path E.g. when the internal format was RGBA16F and the source was RG, it would use memcpy.
ain/texstore.c
|
628544421d243e0ca8679c5d245728260d9e010d |
22-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement generate-mipmap fallback for RGB10_A2 I hit this when testing RV350, which lacks RGB10_A2 render target support. It had been missed when implementing the format and probably unused by anything else too. Not applicable to 7.10. Reviewed-by: Eric Anholt <eric@anholt.net>
ain/mipmap.c
|
863eecd0d892e9e7e01c6bb91f1937a450865bea |
24-Apr-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: fix regression since a22aba4eae9b29db731487bce90e8292f7e82c72 "st/mesa: check image size before copy_image_data_to_texture()" caused a regression in piglit fbo-generatemipmap-formats test on all gallium drivers. Level 0 for NPOT textures will not match minified values, so don't do this check for level 0. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_texture.c
|
e4da46e007de5c83202976a12efb0e894494a354 |
21-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add some comments about FRAG_RESULT_COLOR vs FRAG_RESULT_DATAn. This came from reading what swrast does, and 965 now behaves the same and gallium appears to as well.
ain/mtypes.h
|
d7f4c4e1b187552ede397f00fb56a6f0bb724ce1 |
21-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix fragment.color (no index) writes with OPTION ARB_draw_buffers. Fixes a bug in Trine where fragment.color would write FRAG_RESULT_COLOR (which is interpreted by drivers as being the "write this to all color buffers" option) instead of FRAG_RESULT_DATA0 (just the first target). Fixes piglit ATI_draw_buffers/arbfp-no-index.
rogram/program_parse.y
|
79bde19ef9e13d5db30d0516d9e7eae6a3a8d32a |
21-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Don't double-emit fragment.color writes for MRT with ARB_fp.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
bad8da8b00f829c20dfa42bf506875ce76cd3672 |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fill in the remaining fields of gen5+ sampler default color. Still doesn't fix texwrap.
rivers/dri/i965/brw_wm_sampler_state.c
|
e1e6545c8866e41b179da70429d90aadd71360c4 |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix batch decode for the gen5+ sampler default color.
rivers/dri/i965/brw_state_dump.c
|
1f32c665c8af0622e2bbf451edb999ffbcd7d0fe |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_sampler_objects. This extension support consists of replacing "gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->". One instance of referencing the texture's base sampler remains in the initial miptree allocation, where I'm not sure we have a clear association with any texture unit. Tested with piglit ARB_sampler_objects/sampler-objects. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/driverfuncs.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex_validate.c
ain/samplerobj.h
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_texture.h
|
1df72402d99145425531297eef6772b88ce5225d |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for NV_conditional_render. Since we lack hardware support for it, this is a simple matter of checking _mesa_check_conditional_render at the entrypoints, and suppressing it for the metaops where it doesn't apply. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
332822bd3d8c43cc81686148c0857b8df697341e |
22-Apr-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Disable glAccum drawing during conditional rendering.
wrast/s_accum.c
|
fb60040b691c174c1bfffb46cb6c39bbae6f27c5 |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't do conditional rendering on GenerateMipmaps and BlitFramebuffer. The NV_conditional_render spec calls out specific operations that conditional rendering applies to, which doesn't include these. Fixes NV_conditional_render/generatemipmap on swrast. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
4093fdce6d7b8370bfe3ff5119dc0ef0acb32054 |
18-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ARB_texture_compression_rgtc. Tested with rgtc-teximage-0[12]. EXT_texture_compression_rgtc/fbo-generatemipmap-formats fails in NPOT just like S3TC does. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
|
7d1a2056a84b5af75adf84e34a57e5d75f550139 |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't assert on the compressed convertformat for GenerateMipmaps. This assertion doesn't make any sense to me -- the convertFormat is already something valid (tested above), and the BaseFormat dictated by convertFormat doesn't matter to the function about to be called (it's the datatype/comps that were pulled out of convertFormat). Fixes assertion failure in GL_EXT_texture_compression_rgtc/fbo-generatemipmap-formats (still has a rendering failure in NPOT like S3TC does). Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mipmap.c
|
bc880b8d405e72be29c80e7e7e505f59755a388a |
20-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Choose RGTC formats for GL_COMPRESSED_RED, GL_COMPRESSED_RG. We were falling through to the default R8 and RG88 formats instead of compressing when possible. Noticed by swrast fbo-blending-formats actually doing rendering. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texformat.c
|
da49de811d5e74cf476399db9c641fdb8387dbb3 |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa/gdi: Address compiler warnings. In particular the function prototypes.
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
5bd545f5aa4f15914d3e17d7a092fad9f6d3b207 |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa/gdi: Remove InitCritSections.cpp. We are now able to declare global critical sections through other mechanisms so this is useless code.
rivers/windows/gdi/InitCritSections.cpp
|
336487450e6b6cec364fbf1e01dfcb87a23b9696 |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
Drop fx windows driver. Irrelevant now that glide driver was removed.
rivers/windows/fx/fx.rc
rivers/windows/fx/fxopengl.def
rivers/windows/fx/fxwgl.c
|
15eaf8297ecb39337109b95480e61f37a6b20f0a |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
scons: Build classic mesa gdi driver. Build as scons platform=windows mesagdi
rivers/SConscript
rivers/windows/gdi/SConscript
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
4c92f3fa6ebe01628546617f91da3b3c10572b16 |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
osmesa: Fix Mingw build. Build as scons platform=windows osmesa
rivers/osmesa/osmesa.c
|
8e8a56eaa068d431a4b4a1795e2cb52711f168d6 |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
scons: Build osmesa. Just type scons osmesa
Conscript
rivers/SConscript
rivers/osmesa/SConscript
|
abda64efce73c18d49c74e5be946b2825ba82cba |
23-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa/vf: Remove. Unused. Probably replaced by translate module.
Conscript
f/vf.c
f/vf.h
f/vf_generic.c
f/vf_sse.c
|
9d07ff63fca91fa98f9734699e499c410d896da4 |
22-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix up error message
rivers/dri/r300/compiler/radeon_compiler.c
|
1faf079a692bbf4b24c8e83fa2b331c1e3b58e13 |
20-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
swrast: fix readpix clamping Broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5. (ARB_color_buffer_float) Clamping should occur if type != float, otherwise the MSBs of the resulting pixels are killed off. For example, reading back LUMINANCE = R+G+B can be greater than 0xff, but the result is naturally masked by 0xff for UNSIGNED_BYTE, leading to bogus results. The following bug report seems to want clamping to occur if type == half_float too. Not sure what's correct. Bug: [bisected pineview] oglc case pxconv-read failed https://bugs.freedesktop.org/show_bug.cgi?id=35852 Tested by: Fang Xun <xunx.fang@intel.com> Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_readpix.c
|
d439491a77cf9f25ea7a7f9c2309d2542d87f83e |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Gut all remaining bits of hardware fog None of this ever gets used. Fog is always calculated by a fragment program. Even though the fixed-function fog unit is never used, state updates are still sent to the hardware. Removing those spurious state updates can't hurt performance. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
499f7c0114cca195c9569c202ae099ef0277b010 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: i915_context::vertex_fog is always I915_FOG_NONE, so kill it Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_state.c
|
c41cb17037777de6e4ae596e56a16239429486e9 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: There's always a fragment program Fragment programs are generated by core Mesa for fixed-function. Because of this, there's no reason to handle cases where there is no fragment program for fog. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i915/i915_state.c
|
8fc5ed18bc0d299a4495b28f02e63b1b75326bbc |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Delete disabled try_pixel_fog paths Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i915/i915_state.c
|
4d203a01e20dedcfaab09c18922e8ed9dcb39729 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill gl_fragment_program::FogOption with fire All drivers expect this to always be GL_NONE. Don't let there be any opportunity for a bad value to leak out and infect some unsuspecting driver. If any driver for hardware that had fixed-function per-fragment fog (i915 and perhaps some r300-ish) was ever going to add support, it would have done it by now. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
ain/ff_fragment_shader.cpp
ain/mtypes.h
rogram/arbprogparse.c
rogram/program.c
rogram/programopt.c
rogram/programopt.h
|
df7555e763b9a4d989788e9b1cd25e8740649e79 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: gl_fragment_program::FogOption is always GL_NONE so don't check it Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_state.c
|
8780c38983d9570004b4faed754f9d6a102cfb76 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: gl_fragment_program::FogOption is always GL_NONE so don't check it Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/i965/brw_program.c
|
f0188d4b08b84aa72c6d8148ca94e40d665c7b68 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: gl_fragment_program::FogOption is always GL_NONE so don't check it Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
wrast/s_context.c
nl/t_context.c
|
3aa21f93dc1329c6f956277f2746c2a0bdae5446 |
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix bugs in ff fragment shader fog handling This patch fixes two bugs related to fog in the fixed-function fragment shader generation code. Fog was only lowered to instructions if MRTs were used. The fragment shader assembler always lowers "fog option" code to instructions, and many drivers (e.g., r300) expect this. When fog lowering did happen, it was after the instruction count was checked against implementation limits. Since fog lowering may add up to 5 instructions, a program that was below the limits before lowering may exceed the limits after lowering. NOTE: This is a candidate for the stable branches. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
ain/ff_fragment_shader.cpp
|
a22aba4eae9b29db731487bce90e8292f7e82c72 |
21-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: check image size before copy_image_data_to_texture() We should only copy images into the dest texture if the size is correct. This fixes a failed assertion when finalizing a texture with mis-defined mipmap levels such as: level 0: 32x32 level 1: 8x8 Also, fix incorrect mipmap level used in assertion at the top of copy_image_data_to_texture(). NOTE: This is a candidate for the 7.10 branch.
tate_tracker/st_cb_texture.c
|
f9dafcb8f242a6f0d06ff3dcb2d4bb7d73b91b57 |
21-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement CopyBufferSubData using resource_copy_region Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
tate_tracker/st_cb_bufferobjects.c
|
dfaaf7c5e8d05ebf544f758be79f12c824c5cdd7 |
20-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove dead vertex buffer structs. We do this OUT_BATCH-style in brw_draw_upload.c.
rivers/dri/i965/brw_structs.h
|
42d377224af0fcf5a21269958ce5f96c4306c4fa |
20-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix void pointer arithmetic warning
ain/renderbuffer.c
|
d22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_color_buffer_float. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/gen6_cc.c
rivers/dri/intel/intel_extensions.c
|
99fa449bb9cf93a8dd2b840804c5bc44e51483dc |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
meta: Add support for ARB_color_buffer_float to _mesa_meta_Clear(). Tested with piglit arb_color_buffer_float-clear. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
b2491972591788fea0e55805cea3e9be8760969b |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
meta: Add support for ARB_color_buffer_float to _mesa_meta_DrawPixels. Tested with piglit arb_color_buffer_float-drawpixels. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
87478cd6e3e6349abc2688b390f8845d1e21af3d |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_texture_float. For 1 and 2-channel formats the hardware only supports rendering to R and RG. To do I and L render targets we just call them R and everything works out. For A, we would need to rewrite the CC to do the alpha channel's blending on color instead, and send the fragment alpha down the red channel. For LA, there doesn't seem to be any hope, because we can't do independent color/alpha blending while treating the LA surface as RG. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
|
0bbbeba2db0f3fd382d2f591bebc248c5ed40fb5 |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add support for blit copies of >32bpp formats. The blitter only does up 32bpp at a time, so we handle it by mangling coordinates and calling the surface 32bpp. Fixes ARB_texture_rg/fbo-generatemipmap-formats-float with ARB_texture_float. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_blit.c
|
b31a99367ca374e58ce8dda8a826e71fa9a922f3 |
18-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add renderbuffer accessors for A, I, L, FLOAT32. Of these, intel will be using I and L initially, and A once we rewrite fragment shaders and the CC for rendering to it as R. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
bad08969b50bc5b2d014043d55b30323d408e080 |
18-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add renderbuffer accessors for MESA_FORMAT_R_FLOAT32, RG_FLOAT32. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
f7c26109c2cc61150d678529c8b0b5e769e9607e |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add ChooseTexFormat fallbacks for floating point textures. This covers X_FLOAT16 -> X_FLOAT32, and X -> RGBA_FLOAT32. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/texformat.c
|
ba99c2fbd95c5ecd741767d0c37eaf94bf655342 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add renderbuffer accessors for MESA_FORMAT_RGBA_FLOAT32. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
a45b757f788d3a59a446fe2596065ec5f0d5eac2 |
18-Apr-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Add LUMINANCE, INTENSITY, LUMINANCE_ALPHA to span asserts. Fixes ARB_texture_float/fbo-alphatest-formats. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
wrast/s_span.c
|
b545b2987aaca856f3a54ecb31fb4646bf619cc6 |
19-Apr-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add evergreen big endian support Based on Cedric's r6xx/r7xx patch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_blit_shaders.h
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_tex.c
|
3c3a2596033d88848392c4aab5cc16d96afe149f |
19-Apr-2011 |
Cédric Cano <ccano@interfaceconcept.com> |
r600c: add big endian support for r6xx/r7xx Signed-off-by: Cedric Cano <ccano@interfaceconcept.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/defaultendian.h
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit_shaders.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_span.c
|
ab13ebf7c138cc54b405b990159c6b8ed0531d58 |
17-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r200: enable some extensions Such as: - GL_ARB_half_float_pixel - GL_ARB_vertex_array_object - GL_APPLE_vertex_array_object - GL_EXT_gpu_program_parameters
rivers/dri/r200/r200_context.c
|
ffc1d166d24532aeaa4dcf06a431e43ab7e7e315 |
19-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix dataflow analysis bug with ELSE blocks Writes within ELSE blocks were being ignored which prevented us from discovering all possible writers for some register values. Fixes piglit glsl-fs-raytrace-bug27060
rivers/dri/r300/compiler/radeon_dataflow.c
|
ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d |
14-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Convert 3DPRIMITIVE command from struct-style to OUT_BATCH style. Most of the newer portions of the code use OUT_BATCH style. I prefer this style because it offers a clear distinction between a) hardware messages/structures with a mandatory format, and b) data structures for our own internal use that we can format however we want. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_structs.h
|
42a805700039e81a9245f46f153e2cd9705cd0d7 |
13-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Allocate the whole URB to the VS and fix calculations for Gen6. Since we never enable the GS on Sandybridge, there's no need to allocate it any URB space. Furthermore, the previous calculation was incorrect: it neglected to multiply by nr_vs_entries, instead comparing whether twice the size of a single VS URB entry was bigger than the entire URB space. It also neglected to take into account that vs_size is in units of 128 byte blocks, while urb_size is in bytes. Despite the above problems, the calculations resulted in an acceptable programming of the URB in most cases, at least on GT2. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/gen6_urb.c
|
7ca38f5d973cf93bf19e27f3f24c0896e43b16e6 |
18-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix void pointer arithmetic warnings And fix a couple logic errors in the put_*_generic() functions.
ain/renderbuffer.c
|
9418d05914bdd961cdeaf34bf09dea2a7259c05e |
18-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix wrong parameter type in set_sampler_max_lod()
ain/samplerobj.c
|
dad95c112f09b9978d71ababe80c4e34121d49f0 |
17-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype(). Fixes warnings in fbo-storage-formats. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_format.c
|
bc57df03568e9e1f05b9d29df8e3a7fe58d5a196 |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Add spans code for the ARB_texture_rg support." This reverts what remains of commit 28bab24e1698843e27d27204a1117066e7ffeabb. It was garbage, trying to use a MESA_FORMAT enum as a preprocessor token, and I don't know how I thought it was even tested. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/spantmp2.h
|
73f07004811a2522b45179c74cd9a6d6d2e5c578 |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use mesa core's R8, RG88, R16, RG1616 RB accessors. Fixes: ARB_texture_rg/fbo-alphatest-formats Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_span.c
|
2b624634dda23d3b94045fb07aea558df39b48ff |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Don't try to adjust_colors for <8bpc when handling R16, RG1616. The GL_RED and GL_RG were tricking this code into executing, but it's totally unprepared for a 16-bit channel and just rescaled the values down to 0. We don't have anything with <8bit channels alongside >8bit channels, so disabling it should be safe. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
|
f0471d904cf5c03ecf2528268a116e4f147cd3c1 |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add renderbuffer accessors for R8/RG88/R16/RG1616. This will replace the current (broken by trying to use an enum in the preprocessor) spantmp2.h support I wrote for the intel driver. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
a52803e1087749bfa571c29fc4c1a73fa9b7bf8e |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Use _mesa_get_format_bytes to refactor out the RB get_row_* Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
6ab9889a2704304a45b4da5b28840af08f6f42c5 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Use _mesa_get_format_bytes to refactor out the RB get_pointer_* Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
|
0778fdb002b000e241b042ad65b6da6dd8480454 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use Mesa core's renderbuffer accessors for depth. Since we're using GTT mappings now (no manual detiling), there's really nothing special to accessing these buffers, other than needing the new RowStride field of gl_renderbuffer to accomodate padding. Reduces the driver size by 2.7kb, and improves glean depthStencil performance 3-10x (!) Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_span.c
ain/renderbuffer.c
|
9f164823c79bf933bf88217894129dc2eae0cbed |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a function to set up the default renderbuffer accessors. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/renderbuffer.c
ain/renderbuffer.h
|
155200c15431f8364114d9a37ec527af81c773a5 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a gl_renderbuffer.RowStride field like textures have. This will allow some drivers to reuse the core renderbuffer.c get/put row functions in place of using the spantmp.h macros. Note that unlike textures, we use a signed integer here to allow for handling FBO orientation. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/depthstencil.c
ain/mtypes.h
ain/renderbuffer.c
|
348ea34d0310cc862ad3c078d8703c6c1f0b602f |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Repack single-byte fields in gl_renderbuffer. Cuts 8 out of 120 bytes in the struct. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
|
91226ce6487e9ea9c21f5a269f63cf98affa8ef4 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove renderbuffer deletion debug field. It has presumably served its purpose by now, and other object deletion doesn't do this. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/mtypes.h
ain/renderbuffer.c
|
641dd899bd485c194c20a871633797a47e4f912d |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Don't assert against glReadPixels of GL_RED and GL_RG. Everything appears to already be in place for this. Fixes aborts in: ARB_texture_rg/fbo-alphatest-formats-float ARB_texture_rg/fbo-blending-formats-float. Reviewed-by: Brian Paul <brianp@vmware.com>
wrast/s_readpix.c
wrast/s_span.c
|
cd3568c329cff16333455fa2228a7c27b261cf05 |
16-Apr-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use _mesa_base_tex_format for FBO texture attachments. The _mesa_base_fbo_format variant doesn't handle some texture internalformats, such as "3". Fixes: fbo-blending-formats. fbo-alphatest-formats EXT_texture_sRGB/fbo-alphatest-formats Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_fbo.c
|
4673f9433fb73febce796945e3883274636fbf62 |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965: Quit spamming gen6 DP read/write send instructions with gen5 bits. This was copy-and-paste from originally trying to get DP read/write working reliably, and notably for other common messages (URB, sampler) we weren't doing this.
rivers/dri/i965/brw_eu_emit.c
|
59c6b775a6aacfe03c84dae62c2fd45d4af9d70b |
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add gen6 register spilling support. Most of this is code movement to get the scratch space allocated in a shared location. Other than that, the only real changes are that the old oword block messages now operate on oword-aligned areas (with new messages for unaligned access, which we don't do), and that the caching control is in the SFID part of the descriptor instead of message control. Fixes glsl-fs-convolution-1.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_wm_state.c
|
14eedf3028422e98ac05713a3e3c37e6c9b4cf37 |
13-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix _mesa_unpack_dudv_span_byte assertion. It was accepting only GL_DUDV_ATI and not the specific sized format GL_DU8DV8_ATI. Fixes assertion failure at startup in Shadowgrounds. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/pack.c
|
97535699ee610a2f66732609f966102150847d3c |
05-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
prog_optimize: Add simplify CMP optimization pass This pass coverts CMP T0, T1 T2 T0 -> MOV T0, T2 when the CMP instruction is the first instruction to write to register T0. This pass is useful for hardware that requires a lot of lowering passes that generate many CMP instructions.
rogram/prog_optimize.c
|
257cc48de2f4e472eb651a4c70042e5cb6b9fe0e |
06-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
prog_optimize: get_src_arg_mask() respect writemask for more opcodes Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/prog_optimize.c
|
0fa81d6d05b12db825be31533d9a485625ae35e2 |
16-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix incorrect presubtract conversion ADD instructions with constant swizzles can't be converted to presubtract operations. NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/radeon_optimize.c
|
d5a5893adc395158e1dc77dacd417f4eb2696237 |
16-Apr-2011 |
Carl-Philip Haensch <Carl-Philip.Haensch@mailbox.tu-dresden.de> |
mesa: provide more info for glCompressedTexImage() errors Signed-off-by: Brian Paul <brianp@vmware.com>
ain/teximage.c
|
af0e2ef8cc5c823e3c950233a09b8de87933a363 |
16-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move error check code in compressedteximage() This was mistakenly inside the #if FEATURE_ES block.
ain/teximage.c
|
0630593c5fb22fe0f98f2c815c4a315056a9e3d2 |
15-Apr-2011 |
Brian Paul <brianp@vmware.com> |
vbo: init prim[] array with memset() This fixes a Coverity warning about uninitialized data.
bo/vbo_exec_array.c
|
2c57caa8939a2d077912eeec287927da77c97ef7 |
15-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: simplify a bit of the previous patch Grrr, this was supposed to go in the previous commit.
tate_tracker/st_cb_readpixels.c
|
6e9c7c4c11167c81d476e0366875f5115bbae69c |
14-Apr-2011 |
Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> |
st/mesa: add handling for 'PIPE_FORMAT_B8G8R8X8_UNORM' in st_fast_readpixels With minor edits by Brian Paul. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_readpixels.c
|
d2afae33f896ece1af0c8953ac9ce141c39f6dd2 |
14-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
Revert "r300/compiler: Don't try to convert RGB to Alpha in full instructions" This reverts commit cd2857fae16e1352f39b37f611797e66619d3fe5. It breaks Unigine Heaven.
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
8e28d842d192e69ba8cae4f9754766a26ae8c739 |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: convert Mesa float formats to Gallium Squashed commit of the following: Author: Marek Olšák <maraeo@gmail.com> st/mesa: require RGBA16F and RGBA32F to be renderable st/mesa: fix L32F and L16F format translation st/mesa: also convert the R/RG float formats commit 49a9948b6a81b7d813304d081139d98e95ba5d1a Author: Luca Barbieri <luca@luca-barbieri.com> Date: Fri Aug 20 10:36:17 2010 +0200 mesa/st: enable ARB_texture_float if supported formats allow it commit 7383632f7b6f9021b65f4973b7e7c99f0e8ce9b2 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:00:46 2010 +0200 mesa/st: support ARB_texture_float internal formats commit 7c362cc06982586c2d29fac55f6bcc4bcd1550b5 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:00:33 2010 +0200 mesa/st: convert L/A/I floating point formats
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
15f99d13626b42f517467fd884a379cc7475e5d1 |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: finish up ARB_texture_float Squashed commit of the following: Author: Marek Olšák <maraeo@gmail.com> mesa: handle floating-point formats in _mesa_base_fbo_format mesa: add ARB/ATI_texture_float, remove MESAX_texture_float commit 123bb110852739dffadcc81ad80b005b1c4f586d Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Aug 25 01:35:42 2010 +0200 mesa: compute floatMode for FBOs and return it on RGBA_FLOAT_MODE
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
ain/extensions.c
ain/fbobject.c
ain/framebuffer.c
|
0ecbb0ab7472fe5cb33be13a8307e16f875254e5 |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add R/RG floating-point formats
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
19648fcf015e512283e93ab9de4a3e969d577e59 |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix L16F and L32F format properties
ain/formats.c
|
6881cfc7f7b425f52ae631936cc53d409f208fa1 |
14-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Avoid spurious transfers when creating fbo textures without image data. We could actually try to do an early return both for gallium textures and malloc memory textures, but I'm not sure exactly which situations stImage->pt is NULL, and whether texImage->Data == NULL would be acceptible or not. Reviewed-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
78e90bf2474b89dcc7cc199ddb360745e93720c6 |
13-Apr-2011 |
pepp <pelloux@gmail.com> |
st/mesa: add support for GL_RGBA + GL_UNSIGNED_INT_8_8_8_8 in st_fast_readpixels Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_readpixels.c
|
a9a02c8a39620515ec9fd0d774ce329cf67ecb4e |
13-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Expose ATI_draw_buffers. This is the same as ARB_draw_buffers (which derived from it), except for s/ARB/ATI/. The glapi bits were already in place, and what was missing was just the ARB_fp part. The new Humble Bundle game "trine" tries to use this extension without checking that it's exposed, which this works around. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36182 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/extensions.c
|
fb6e39737a24f9652b6cdc10067736b8915c61f9 |
13-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for OPTION ATI_draw_buffers to ARB_fp. Tested by piglit ati_draw_buffers-arbfp. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/program_parse_extra.c
|
28cec9e832b716b84c11ddabfcee74e0daf6ec49 |
13-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers. Fixes fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/program_parse.y
rogram/program_parser.h
|
4847f802c28e595130bda14055cd52c9b1f51cd7 |
09-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Constant-fold immediates in src0 of SEL instructions. This is like what we do for add/mul, but we have to invert the predicate to choose the other source instead. This removes 5 extra moves of constants in nexuiz shaders. No statistically significant performance difference on my Sandybridge laptop (n=5). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
811c147220d2630b769e505ce4d40ef9108fe034 |
09-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Constant-fold immediates in src0 of CMP instructions. This is like what we do with add/mul, but we also have to flip the conditional test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_fs.cpp
|
4cbb261ebaeeb16b885364810fd17d02a96a3d1b |
13-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor clean-ups in update_textures()
tate_tracker/st_atom_texture.c
|
032a7ef0a1cb753defc11e97b11ea2e602bae5f2 |
13-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping and whitespace fixes
ain/context.c
ain/context.h
ain/shared.c
ain/shared.h
|
75d585e5447fb90a27e9ddb6c60f3560db1512f4 |
13-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix some comments in sampler object code
ain/samplerobj.c
|
d3cc3901ab67823af3aba08efc863daa22ed1408 |
07-Apr-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Change assertion condition from implicit to explicit ... because grokking explicit assertions requires fewer neurons. In brw_misc_state.c:emit_depthbuffer, change assertion condition tiling != I915_TILING_X && tiling != I915_TILING_NONE to tiling == I915_TILING_Y Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_misc_state.c
|
4d7c1871671710865be3020e0d460e0463707f14 |
27-Mar-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT This depth format was added in Gen5. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_defines.h
|
05173c61c7cb987d08681f182ac78a1a179e02a4 |
08-Apr-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Document brw_context.state.depth_region Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
|
9949d2a2511564226e0d68d303a53cf7d80f0c2b |
08-Apr-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Remove unnecessary release/reference of brw_context.state.depth_region Release the old depth region and reference the new one *only* if it has changed. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_vtbl.c
|
3f7318c1b8d2ad4f4aef66362cdb7b9e8dc89eac |
13-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add comments about URB size units and limits. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs_emit.c
|
35b3f597bd1729da4483857cc0e88e81fb2a2419 |
11-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Never enable the GS on Gen6. Prior to Gen6, we use the GS for breaking down quads, quad-strips, and line loops. On Gen6, earlier stages already take care of this, so we never need the GS. Since this code is likely completely untested, remove it for now. We can write new code when enabling real geometry shaders. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_gs_state.c
|
f703ba8c42e924ee6d5e4308c3888e434d8ba98c |
12-Apr-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
Revert "i965: Reinstate max-index paranoia" This reverts commit b4cbd2b312d53a50603e2cda925711bc9def4517. It looked like a safe sanity check. It missed the issue of the start of the buffer not being at 0, but even that was not enough to explain why setting the max vertex index caused glyphs to be dropped from the game 'Achron'. Instead, the issue appears to be related to the use of the vertex bias and so we would need to re-emit the max-index every time we adjusted the bias, so re-emitting the relocations and defeating the original optimisation. Reported-and-tested-by: Thomas Jones <thomas.jones@utoronto.ca> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35163 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
b27f206b0cc9bf31bff6dd1abe66c4f21f3de21e |
12-Apr-2011 |
Dave Airlie <airlied@redhat.com> |
nouveau_vieux: fix build since sampler objects merge
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
e338a1b0cea94f8c57968b01eebd795c6c8ce74e |
10-Apr-2011 |
Hans de Goede <hdegoede@redhat.com> |
texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616 According to https://bugs.freedesktop.org/show_bug.cgi?id=34280 commit 5d1387b2da3626326410804026f8b92f1a121fdc causes the font corruption problems people have been seeing under various apps and gnome-shell on r200 cards. This commit changed (loosened) the check for using the memcpy path in the former al88 / al1616 texstore functions, which are now also used to store rg texures. This patch restores the old strict check in case of al textures. I've no idea why this fixes things, since I don't know the code in question at all. But after seeing the bisect in bfdo34280 point to this commit, I gave this fix a try and it fixes the font issues seen on r200 cards. [airlied: r200 has no native working A8, so it does an internal storage format of AL88 however srcFormat == internalFormat == ALPHA when we get to this point, so it copies, but it wants to store into an AL88 not ALPHA so fails, I'll also push a piglit test for this on r200]. Many thanks to Nicolas Kaiser who did all the hard work of tracking this down! Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texstore.c
|
847f991a87b9549eb89a521edb7cd149005006bb |
12-Apr-2011 |
Brian Paul <brianp@vmware.com> |
ir_to_mesa: silence signed/unsigned comparison warnings
rogram/ir_to_mesa.cpp
|
155a9670e62ef063ca9903b229ccdc3325d52bd2 |
12-Apr-2011 |
Brian Paul <brianp@vmware.com> |
r600: silence various compiler warnings
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_oglprog.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
1ca55854591d647a485364c2db67899e7f9aaae1 |
12-Apr-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'arb_sampler_objects'
|
2432ca1c2e205100d48070305ba2d5f8978bce03 |
12-Apr-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
Revert "i965: clear global offset to zero in m0.2 for VS DP read." This reverts commit 66b66295d0bc856c69fdcccc22575580c7ecee16. it was already fixed by commit 9d60a7ce08a67eb8b79c60f829d090ba4a37ed7e
rivers/dri/i965/brw_eu_emit.c
|
a7fa203f0d645bdb06b3cb345ab1a0ccf4e62fe3 |
09-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Remove hint_gs_always and resulting dead code Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
7e809f0b8d635c8d5519b3d0fdaf11ac0ddda7eb |
09-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Fix ROUND_DOWN_TO macro Previously the macro would (ALIGN(value - alignment - 1, alignment)). At the very least, this was missing parenthesis around "alignment - 1". As a result, if value was already aligned, it would be reduced by alignment. Condisder: x = ROUND_DOWN_TO(256, 128); This becomes: x = ALIGN(256 - 128 - 1, 128); Or: x = ALIGN(127, 128); Which becomes: x = 128; This macro is currently only used in brw_state_batch (brw_state_batch.c). It looks like the original version of this macro would just use too much space in the batch buffer. It's possible, but not at all clear to me from the code, that the original behavior is actually desired. In any case, this patch does not cause any piglit regressions on my Ironlake system. I also think that ALIGN_FLOOR would be a better name for this macro, but ROUND_DOWN_TO matches rounddown in the Linux kernel. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Whitwell <keithw@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/intel/intel_context.h
|
65b024d63a44464ecf752bec417281109f4bd81e |
11-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fixup r600 DRI driver for sampler object changes
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
88022278f71ed3ea9613a7fa72a03367f75443d3 |
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Move the SF VP from state caching to state streaming. This is a 49.6% +/- 2.0% (n=9, IPS outlier removed) performance improvement for the hacked-up-for-cache-misses scissor-many, and no statistically significant performance difference for the hacked-up-for-cache-hits version (n=9, IPS outlier removed). No statistically significant performance difference from ETQW (n=5) from these last two commits.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_dump.c
|
b1be5bd205d3efcaf4012d2c9a12831da57fc7fb |
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Change the SF unit from state caching to state streaming. This is a 28.1% +/- 1.4% (n=10) performance improvement for the hacked-up-for-cache-misses scissor-many (n=10), and no statistically significant wall-time performance difference for the hacked-up-for-cache-hits version (n=9, first outlier in each removed since IPS was warming up. User time increased by about 4.7%, but kernel time decreased equivalently).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
|
aaf188e3bbe29826f0fea8944243a416946e7343 |
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Turn SF unit and viewport structs into pointers to prep for streaming. I wanted to separate this mechanical change from the actual work.
rivers/dri/i965/brw_sf_state.c
|
34a5d3b9f4740601708c82093e2114356d749e65 |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in new functions for GL_ARB_sampler_objects Build the new sources, plug the new functions into the dispatch table, implement display list support. And enable extension in the gallium state tracker.
Conscript
ain/api_exec.c
ain/dlist.c
ain/mfeatures.h
ources.mak
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
f22d49de0f02653bb54aeb6a5f07a56e2cc63f1d |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new code/functions for GL_ARB_sampler_objects This implements the infrastructure for sampler objects and all the new API functions.
ain/samplerobj.c
ain/samplerobj.h
|
6bb4d807f7e80eaf899fd5c34c2c9ff0474eb80e |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: alloc/free shared sampler objects
ain/shared.c
|
0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new driver hooks for GL_ARB_sampler_objects
ain/dd.h
|
aebe16da539cbfaffa08243cecef44e69356fe36 |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add glGet for GL_ARB_sampler_objects
ain/get.c
|
ecfaab88b2577bd0395bc05d75a036126806a9c4 |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move sampler state into new gl_sampler_object type gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
rivers/common/meta.c
rivers/dri/common/texmem.c
rivers/dri/i810/i810tex.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mga/mgatex.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r700_chip.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_texstate.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.c
ain/attrib.c
ain/ff_fragment_shader.cpp
ain/mtypes.h
ain/texfetch.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
rogram/prog_statevars.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
wrast/s_fragprog.c
wrast/s_span.c
wrast/s_texcombine.c
wrast/s_texfilter.c
wrast/s_triangle.c
|
1cbd3a1cc734df16610a59dc49cdb42c70dc3270 |
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files for GL_ARB_sampler_objects
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
158d42c8b08411d761fa40299f3f29027ad3905f |
07-Apr-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Also update the color draw buffer if it's explicitly set to GL_NONE. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
ain/buffers.c
|
d27ff8c5cd22ac0279948d3df4b3384eef866cde |
09-Apr-2011 |
Alan Coopersmith <alan.coopersmith@oracle.com> |
Make st_pipe_vertex_format return type in st_draw.h match st_draw.c Fixes compiler error from Sun compilers: "state_tracker/st_draw.c", line 185: identifier redeclared: st_pipe_vertex_format current : function(unsigned int, unsigned int, unsigned int, unsigned char) returning enum pipe_format previous: function(unsigned int, unsigned int, unsigned int, unsigned char) returning unsigned int : "state_tracker/st_draw.h", line 73 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
tate_tracker/st_draw.h
|
64ce3933f59f71ac78d83b8b3db813b6d2619382 |
08-Apr-2011 |
Alan Coopersmith <alan.coopersmith@oracle.com> |
Fix GET_PROGRAM_NAME() on Solaris to not try to modify a read-only string Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
rivers/dri/common/xmlconfig.c
|
963431829055f63ec94d88c97a5d07d30e49833a |
03-Apr-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Remove broken optimization for live intervals in loops. The theory here was to detect a temporary variable used within a loop, and avoid considering it live across the entire loop. However, it was overeager and failed when the first definition of the variable appeared within the loop but was only conditionally defined. Fixes glsl-fs-loop-redundant-condition.
rivers/dri/i965/brw_fs.cpp
|
79db70bd8aa04e19a4e1b9ee98eb568d90bb6d62 |
17-Jan-2011 |
Henri Verbeet <hverbeet@gmail.com> |
st/mesa: Clamp min_lod to the max miplevel as well. Otherwise min_lod can potentially be larger than the clamped max_lod. The code that follows will swap min_lod and max_lod in that case, resulting in a max_lod larger than MAX_LEVEL. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
|
2ecb73379e4d88873cbe1cafdd056f7f687ea743 |
17-Jan-2011 |
Henri Verbeet <hverbeet@gmail.com> |
st/mesa: Set samplers views' first_level. Base level and min LOD aren't equivalent. In particular, min LOD has no effect on image array selection for magnification and non-mipmapped minification. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
|
6eff8479af1a137d81d7bffc0c55a39910c28ce9 |
06-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix dstRowDiff computation in RGTC texstore functions Copied from libtxc_dxtn, this fixes NPOT RGTC1 textures with r300g. I also did the same for RGTC2.
ain/texcompress_rgtc.c
|
584d1e23096ed103ae62c13685a435b220b482f2 |
07-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Update _ElementSize in a few more places.
bo/vbo_context.c
bo/vbo_exec_api.c
bo/vbo_save_draw.c
|
0c501bacef3738b55986292abca149dcfe76d72d |
07-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Fix user buffer size computation when stride is zero. Although for GL a zero stride means tightly packed elements, Mesa internally uses zero strides for constant arrays. Therefore user buffers need to be defined from buffer_offset + src_offset + min_index*stride to buffer_offset + src_offset + max_index*stride + elem_size Simplifying the later with (max_index + 1)*stride will give zero sized buffers. This change also aggregates the st_context's info about user buffers into a single array.
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
204991bf5d29caa3fa54df9e4f6898faa73752cf |
07-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Update _ElementSize.
ain/arrayobj.c
bo/vbo_context.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
|
23d75936a72b9a9b9e1d04a901a86a75d93dbffb |
06-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Prevent 'end' < 'start' in vbo_exec_DrawRangeElementsBaseVertex() We adjust 'end' to fit into _MaxElement, but that may result into a 'start' value bigger than 'end' being passed downstream, causing havoc. This could be seen with arb_robustness_draw-vbo-bounds, due to an application bug.
bo/vbo_exec_array.c
|
aa61b1535187129c61dd772471f23c633971665d |
06-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Handle feedback draw when VBO offsets are not sorted in ascending order. Simply port the same logic from setup_interleaved_attribs(). Avoids overflow in mustpass.c and feedback.c conform tests.
tate_tracker/st_draw_feedback.c
|
66b66295d0bc856c69fdcccc22575580c7ecee16 |
07-Apr-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: clear global offset to zero in m0.2 for VS DP read. Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
rivers/dri/i965/brw_eu_emit.c
|
8800a798d1f0cc3453d01ceaf2f4972d3ae75baa |
07-Apr-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix allocation size of extension_indices array. Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
95368f25c1793619e94d464fe94afcea0409ae26 |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix error message text
ain/varray.c
|
7b8830d81d816c22d5930bec1f0f178cf0d138c6 |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate code in _mesa_update_array_max_element()
ain/arrayobj.c
ain/state.c
ain/varray.h
|
122275760dcc9dfa6b2e377cae657aeeb121556a |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: init/release the default texture buffer object
ain/texstate.c
|
53245fffc022e5fc18c847e799f65c6b91e7378a |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix popping of texture state for GL_TEXTURE_BUFFER Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
ain/attrib.c
|
c1f4b2364f473910667ab97d6599619003639d39 |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: TEXTURE_BUFFER fix-up Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36033
ain/shaderapi.c
|
cd2857fae16e1352f39b37f611797e66619d3fe5 |
06-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't try to convert RGB to Alpha in full instructions Note: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
740282b417caca6c1f223f488ee9a6f9bff81164 |
06-Apr-2011 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options.
ain/debug.c
|
14b574433c7faedaa18f1c946159cb03630c7d9f |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
swrast: simplify assertion to silence warning
wrast/s_aatriangle.c
|
874a2c0b7da62f4dd08dedcec221f55b22e40e95 |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: core support for GL_ARB_texture_buffer_object No GLSL or driver support yet.
ain/api_exec.c
ain/bufferobj.c
ain/context.c
ain/get.c
ain/mtypes.h
ain/shared.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texstate.c
rogram/program.c
tate_tracker/st_cb_texture.c
|
9a77e285e8d015328278fcd0a110e662dba2e744 |
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated API entrypoints for GL_ARB_texture_buffer_object
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
622ee08e516afc406b21df3d354037bab73a30a7 |
06-Apr-2011 |
Vinson Lee <vlee@vmware.com> |
scons: Generate empty git_sha1.h for all platforms. Fixes MinGW SCons build.
Conscript
|
b4dfb7473efd378c51b955a856eaef69312c1f9f |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Use gl_register_file enum type rather than 'int'. src_reg already used this; make dst_reg use it too. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
ce5d969adf4db6e95e7f1abb0a5532311d1c3c28 |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Unprefix ir_to_mesa_undef* and ir_to_mesa_address_reg. Rename ir_to_mesa_undef to undef_src, for clarity. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
5d9718f0dbe1bb9b25324c43ed0fa631735c6a51 |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Use emit overloads to avoid passing undef registers. Makes the code just a little bit cleaner. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
01e19fcf1f36cea40cc5efc48796d4e153a20f2f |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Rename ir_to_mesa_emit_*_opX methods to emit_*. There's really no need for a prefix on member functions, and overloading takes care of the _op1/_op2 distinction quite nicely. Eric already made a similar change in the i965 FS backend. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
cb21fa91b8e8f46d7d27604b9cb77fba031567f4 |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Use constructors to convert between src_reg and dst_reg. Rather than ir_to_mesa_dst_reg_from_src and ir_to_mesa_src_reg_from_dst. The new constructors are marked 'explicit' so that the compiler can catch cases where source and destination registers were accidentally interchanged. This also necessitated using constructors to initialize the undef and address registers, as well as adding a default constructor. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
fc6b4332c32461d0e092c908a0f3d9d44d1452a9 |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Remove the "ir_to_mesa_" prefix on src_reg/dst_reg types. Both classes are completely private to ir_to_mesa.cpp, so there won't be any name conflicts with other parts of Mesa. The prefix simply makes it harder to read. Also, use a class rather than typedef structs. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
461273e9105b8d0d53c26854ac5ba68814c31a67 |
05-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Rename src_reg and dst_reg variables to src and dst. This is in preparation from removing the "ir_to_mesa_" prefix on the src_reg and dst_reg types, which would cause a naming conflict. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
0c2455031d7e5d969252ddb892b31365f6bb5da2 |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
scons: generate empty git_sha1.h file for now My feeble attempt to invoke the extract_git_sha1 script from SConscript didn't work. Hopefully this will do for now.
Conscript
|
de579a16298e29358fec08bd7cfe3e505674705a |
31-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Include GIT SHA1 in GL version string Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
ain/version.c
|
0fe34b7bbc9a8e089bbb4d0fe401b09095a571eb |
01-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Remove driver date from renderer string Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_dd.c
rivers/dri/mga/mgadd.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/r128/r128_dd.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savagedd.c
rivers/dri/sis/sis_dd.c
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/unichrome/via_context.c
|
9996a86085edb2bdbcb165d985203ee8ce6a9b22 |
04-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Handle shadow compare w/projection and LOD bias correctly The code would previously handle the projection, then swizzle the shadow comparitor into place. However, when the projection is done "by hand," as in the TXB case, the unprojected shadow comparitor would over-write the projected shadow comparitor. Shadow comparison with projection and LOD is an extremely rare case in real application code, so it shouldn't matter that we don't handle that case with the greatest efficiency. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=32395
rogram/ir_to_mesa.cpp
|
d8361400b76dde6fb63df6c363b7dd59c5946e09 |
05-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix vertex shader MAD instructions with constant swizzles NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
5d5db24a26415cdec4b3d3f2a92bae7112c9f884 |
25-Mar-2011 |
Fabian Bieler <der.fabe@gmx.net> |
st/mesa: Apply LOD from texture object Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
|
d863bd7d7baa0a71529f195b0025d57b9d65089a |
25-Mar-2011 |
Fabian Bieler <der.fabe@gmx.net> |
st/mesa: Apply LOD bias from correct texture unit Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
|
8778bf221e90e9b59caad02ab72a0a0edcfe2451 |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix alpha value for texstore_rgbx8888 Silences constant overflow compiler warning.
ain/texstore.c
|
c7339d42c603048c0f89276da6576647c4421ba0 |
05-Apr-2011 |
Fabian Bieler <der.fabe@gmx.net> |
mesa: Guard against null pointer deref in fbo validation This matches the behaviour below when numSamples is compared. At least with the gallium state tracker this can actually occur if st_render_texture fails. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
db0f9e701d59dcfcd3b50f4d245897692f27fec9 |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_attachment_teximage() helpers
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/teximage.c
ain/texrender.c
tate_tracker/st_cb_fbo.c
|
e9375cd0e895ac2c3e7ff17f18da7a7f8cd3a82d |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/fbobject.h
ain/teximage.h
ain/texobj.h
|
9ac64f73019ff72e106ed60c7a30ff7a24e12b43 |
05-Apr-2011 |
Dave Airlie <airlied@redhat.com> |
r300c: fix build since last r300g commit
rivers/dri/r300/r300_fragprog_common.c
|
b3011ea60cc36a888da031ebac932d67473f4521 |
05-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shader
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
|
20141d9efdf674a3c7a13a75fabe533665d02cd0 |
05-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement the CND opcode No one uses it now, but I will need it for a lowering pass.
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/r300_reg.h
|
c97234507ad7de36e57868ade22a11ea8de773a6 |
05-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: set the MSB of ADDR for inline constants The docs say so.
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
5d92596c5619eee4bac0fdc7733bafcd578309de |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor assorted clean-ups and fixes
tate_tracker/st_draw.c
|
ed9396782e40a9a6106f0b3168e723de077c5587 |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: use 'array' local var to simplify the code a bit
tate_tracker/st_draw.c
|
6cab07685fa48174b310e52b26151a8fb8a8e6dc |
05-Apr-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix zero-sized user vertex buffer bug Commit 4c4ab5668cd6df573db7b065f0493fb80ac70ab8 didn't properly handle the stride==0 case. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35961
tate_tracker/st_draw.c
|
e397b3a7c051b70a574e34096b70fc98e4e84b2c |
03-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add fall-back formats for unsupported snorm formats This is always the way with real hardware and desktop OpenGL. Some hardware can't do some formats natively. The alpha-only, luminance, and intensity formats are usually the most problematic. Some sized formats can also be problematic. This patch provides fall-back formats for those that are not natively supported. At some point it would be interesting to try providing device-independent conversions using EXT_texture_swizzle. The drivers that support EXT_texture_swizzle could, for example, see GL_LUMINANCE16_SNORM as MESA_FORMAT_SIGNED_R16 with a { r, r, r, 1 } swizzle. Care would need to be taken to prevent issues with using those textures for FBO rendering. This is the rest of the fix for glean's pixelFormats test on i965. Reviewed-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
ain/texformat.c
|
ad3fbac00bb4430aa26f4dbd3a795715b0fc7fef |
03-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Add the missing supportable EXT_texture_snorm formats This class of hardware can natively sample all of the snorm surface formats that DX10 requires, but it can't do some of the legacy GL formats. In particular, all of the alpha, luminance, and intensity formats are unsupported. This partially fixes the breakage in glean's pixelFormats test since GL_EXT_texture_snorm support was added to Mesa. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
|
fdb04c0384838d983ccd1bc239dcce2b37ee77f8 |
04-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: work around failed assertion for GL_RGBA16_SNORM accum buffer We use this format to represent the accum buffer. No snorm texture sampling or rendering takes place. Fixes failed assertion with swrast and any app using the accum buffer (and glxinfo).
ain/renderbuffer.c
|
0d96ae8fc7c77768b0abb0e7fce7cb9cdc661c2b |
04-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: apply the texture swizzle to shadow pass and fail values too Piglit tests: - glsl-fs-shadow2d-01 - glsl-fs-shadow2d-02 - glsl-fs-shadow2d-03 - fs-shadow2d-red-01 - fs-shadow2d-red-02 - fs-shadow2d-red-03 NOTE: This is a candidate for the stable branches.
rivers/dri/r300/compiler/radeon_program_tex.c
|
2679760834e9c04c81cc9af4bc19d312530ea055 |
04-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: propagate SaturateMode down to the result of shadow comparison NOTE: This is a candidate for the stable branches.
rivers/dri/r300/compiler/radeon_program_tex.c
|
b0da65bd0e5ecb443cfd0dbae15f5ae5638bcf72 |
04-Apr-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add new ontario pci ids Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
381d32af74e305041b5e75930a32795db94e0e15 |
03-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
Revert "r300/compiler: Remove obsolete compiler passes" This reverts commit 9f013a8233197d4a0482661cb37cfeac1a61b804. These passes are still need for non-GLSL paths like g3dvl and ARB programs.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_emulate_branches.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
5d7fefb9afbcc6f1d58a92d07c390e6b912c3b00 |
03-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Switch W and 1/W in Sandybridge interpolation setup. Various documentation mentions that "W" is handed to the WM stage, but further digging seems to indicate that they really mean 1/W. The code here is still unclear, but changing this fixes piglit test "fragcoord_w" on Sandybridge as well as a Khronos ES2 conformance test. I also tested 3DMarkMobile ES2.0's taiji and hoverjet demos, as well as Nexuiz, just to be safe. NOTE: This is a candidate for the 7.10 branch.
rivers/dri/i965/brw_fs.cpp
|
a019dd0d6e5bba00e8ee7818e004ee42ca507102 |
03-Apr-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix null register use in Sandybridge implied move resolution. Fixes regressions caused by commit 9a21bc6401, namely GPU hangs when running gnome-shell or compiz (Mesa bugs #35820 and #35853). I incorrectly refactored the case that dealt with ARF_NULL; even in that case, the source register needs to be changed to the MRF. NOTE: This is a candidate for the 7.10 branch (if 9a21bc6401 is cherry-picked, take this one too).
rivers/dri/i965/brw_eu_emit.c
|
904b8ba1bb604b2eaaa22f7f074d236011fe213f |
29-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix the VS thread limits for GT1, and clarify the WM limits on both.
rivers/dri/i965/brw_context.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
25f26997670302b07d48207b28f385f85f6af9bb |
28-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add a CAP for mixed colorbuffer format support Some GPUs can't do it (I think most of DX9 ones), so they should have the option not to allow it.
tate_tracker/st_cb_fbo.c
|
9f013a8233197d4a0482661cb37cfeac1a61b804 |
01-Apr-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Remove obsolete compiler passes Branch emulation and loop unrolling are done in the GLSL frontend. Transforming loops is no longer needed for fragment shaders, but it is still necessary for vertex shaders.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_emulate_branches.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
18dcbd358f1d4fd5e4a40fa26c6d3bf99485884e |
27-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
prog_optimize: Fix reallocating registers for shaders with loops Registers that are used inside of loops need to be considered live starting with the first instruction of the outermost loop. https://bugs.freedesktop.org/show_bug.cgi?id=34370 NOTE: This is a candidate for the 7.9 and 7.10 branches. Reviewed-by: Eric Anholt <eric@anholt.net>
rogram/prog_optimize.c
|
c40b7910ee1338b9d391816df5391ce43f509ef0 |
31-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Fix regression in clear_with_blit from 7bae1c3d Oops, the mask was being used in the loop to determine whether to use include the stencil || depth values. This began to fail when mask was cleared at the beginning of the loop. So reorder the tests and do the work up-front along with determining the depth_stencil value to use. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35822 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_blit.c
|
6584d0cd4fa3a3255a4c0962f31338601df705cb |
30-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Remove the unrelaxed relocation assertion Now that we purposefully generate delta that point outside of the target buffer, the assertion has outlived its usefulness. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_batchbuffer.c
|
5eb9f687087a4bc71775a32efcd848fc6cd67694 |
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add some defense against buffer allocation failure for subimage blits Once more! This time without the unwarranted conversion from drm_intel_bo_alloc_tiled. Signed-off-by: [a very embarrassed] Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_tex_subimage.c
|
f5a9a0bc22c4b717c2c32f4ddf283878d6c7ba93 |
30-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
Revert "intel: Add some defense against buffer allocation failure for subimage blits" This reverts commit de7678ef521f4fb34459e407a66ab8bf8be733e1. The conversion from using drm_intel_bo_alloc_tiled to a plain drm_intel_bo_alloc forgot that the tiled variant adjusts the allocation height even for TILING_NONE. Reported-by: Dave Airlie <airlied@redhat.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35786 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_tex_subimage.c
|
72e82418ef035dd4fb502e7f0a7e2e869ce8a444 |
30-Mar-2011 |
Michel Dänzer <daenzer@vmware.com> |
Use row stride instead of width when getting colour index texels. Untested, noticed while working on the depth/stencil fix.
ain/texgetimage.c
|
b082e04619224b0affc46fb6953c0efd5685fc17 |
30-Mar-2011 |
Michel Dänzer <daenzer@vmware.com> |
Use proper source row stride when getting depth/stencil texels.
ain/texgetimage.c
|
ee8d182426d4ecda7b9f5089d19d36f7de2a4dfe |
30-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Add IS_GT2 macro for recognizing Sandybridge GT2 systems. Also, refactor IS_GEN6 to use the IS_GT1 and IS_GT2 macros.
rivers/dri/intel/intel_chipset.h
|
a99e80d795f7c6aec0e73369a31d1728577b9727 |
25-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix ugly indentation left from previous commit Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
89d81ab16c05818b290ed735c1343d3abde449bf |
25-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Calcluate Mesa state slots in front-end instead of back-end This should be the last bit of infrastructure changes before generating GLSL IR for assembly shaders. This commit leaves some odd code formatting in ir_to_mesa and brw_fs. This was done to minimize whitespace changes / reindentation in some loops. The following commit will restore formatting sanity. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
92e412e788931ad464125113a64eec8a8223cda3 |
25-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Move _mesa_builtin_uniform_desc from uniforms.c to ir_variable.cpp This array is going to be used in the main compiler soon. Leaving them uniforms.c caused problems for building the stand-alone compiler. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Chad Versace <chad.versace@intel.com>
ain/uniforms.c
|
7d41857566d900aee3319f06c272049e6211acc1 |
29-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
intel: fix build broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5 (mesa: implement clamping controls (ARB_color_buffer_float))
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_program.c
|
7bae1c3d85344b7229e0124d1f54376392682430 |
29-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Protect intel_clear_with_blit from failed buffer allocations Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34419 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_blit.c
|
252eaa765e69a70036ec33a7e1e0ffeac1aab2ff |
29-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Avoid name clash of loop counter and member src/mesa/drivers/dri/i965/brw_fs.cpp:565 warning: name lookup of ‘c’ changed Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_fs.cpp
|
b094dff50a05e56f5415d31daa5e4542f321c858 |
10-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Detect allocation failure of batch buffer Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_vtbl.c
|
8d4ec87d7f987b3852dafa6802815bb9a3ec7ad4 |
26-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL The vertex color clamp control is a property of an API, a lot like gl_rasterization_rules. The state should be set according to the API being implemented, for example: OpenGL Compatibility: enabled by default OpenGL Core: disabled by default D3D11: always disabled This patch also changes the way ARB_color_buffer_float is advertised. If no SNORM or FLOAT render target is supported, fragment color clamping is not required.
tate_tracker/st_extensions.c
|
e28fe8fe5d05c87a065f8e72adef8b5077da2c73 |
26-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: clamp texture border color if ARB_texture_float is unsupported ARB_texture_float disables clamping of the texture border color, ARB_color_buffer_float only modifies clamping of the glGet query.
ain/texparam.c
|
b518f4d0ea72dc3872f351250034aa9155756dd3 |
15-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: choose an appropriate texture format for DrawPixels
tate_tracker/st_cb_drawpixels.c
|
2af1da15468d06d3ce9d89bcc706276ecc66f761 |
14-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add EXT_texture_snorm support
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
daa5242f9eafaf61f9f492f1e798de8701e6f498 |
13-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement texstore and texfetch hooks for signed normalized formats The snorm texstore functions were all broken. swrast support done except for mipmap generation, but I leave it disabled.
ain/texfetch.c
ain/texfetch_tmp.h
ain/texstore.c
|
0be369975fdfa79bcb702d0c13aa0a221055f61b |
18-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial EXT_texture_snorm support The component ordering of some formats has been been reversed to match Gallium types.
ain/extensions.c
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/image.c
ain/macros.h
ain/mtypes.h
ain/texformat.c
ain/teximage.c
ain/version.c
|
47e3896dfd89a26abbe4ca2469c2480f3982b204 |
16-Feb-2011 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: implement clamping controls (ARB_color_buffer_float) BTW this changes the gallium interface. Some rather cosmetic changes by Marek. Squashed commit of the following: commit 513b37d484f0318311e84bb86ed4c93cdff71f13 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:17:54 2010 +0200 mesa/st: respect fragment clamping in st_DrawPixels commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:17:28 2010 +0200 mesa/st: support fragment and vertex color clamping commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:56:37 2010 +0200 mesa/st: expose ARB_color_buffer_float if unclamping is supported commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 17:53:41 2010 +0200 mesa/st: use unclamped colors This assumes that Gallium is to be interpreted as given drivers the responsibility to clamp these colors if necessary. commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. (see the removed XXX comment. -Marek) TODO: did I get the set of operations mandating it right? commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:18:25 2010 +0200 gallium: add color clamping to the interface
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_extensions.c
|
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 |
15-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement clamping controls (ARB_color_buffer_float) Squashed commit of the following: Author: Marek Olšák <maraeo@gmail.com> mesa: fix getteximage so that it doesn't clamp values mesa: update the compute_version function mesa: add display list support for ARB_color_buffer_float mesa: fix glGet query with GL_ALPHA_TEST_REF and ARB_color_buffer_float commit b2f6ddf907935b2594d2831ddab38cf57a1729ce Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 31 16:50:57 2010 +0200 mesa: document known possible deviations from ARB_color_buffer_float commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:54:56 2010 +0200 mesa: expose GL_ARB_color_buffer_float commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly (I'll squash the st/mesa part to a separate commit. -Marek) We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. TODO: did I get the set of operations mandating it right? commit 3a9cb5e59b676b6148c50907ce6eef5441677e36 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:09:41 2010 +0200 mesa: respect color clamping in texenv programs (v2) Changes in v2: - Fix attributes other than vertex color sometimes getting clamped commit de26f9e47e886e176aab6e5a2c3d4481efb64362 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:05:53 2010 +0200 mesa: restore color clamps on glPopAttrib commit a55ac3c300c189616627c05d924c40a8b55bfafa Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:04:26 2010 +0200 mesa: clamp color queries if and only if fragment clamping is enabled commit 9940a3e31c2fb76cc3d28b15ea78dde369825107 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Aug 25 00:00:16 2010 +0200 mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY To do this, we make ClampColor call FLUSH_VERTICES with the appropriate _NEW flag. We introduce _NEW_FRAG_CLAMP since fragment clamping has wide-ranging effects, despite being in the Color attrib group. This may be easily changed by s/_NEW_FRAG_CLAMP/_NEW_COLOR/g commit 6244c446e3beed5473b4e811d10787e4019f59d6 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 17:58:24 2010 +0200 mesa: add unclamped color parameters
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_program.c
ain/api_exec.c
ain/attrib.c
ain/blend.c
ain/clear.c
ain/colortab.c
ain/dlist.c
ain/extensions.c
ain/ff_fragment_shader.cpp
ain/fog.c
ain/get.c
ain/mtypes.h
ain/pack.c
ain/state.c
ain/texenv.c
ain/texparam.c
ain/version.c
rogram/arbprogparse.c
rogram/prog_statevars.c
rogram/prog_statevars.h
rogram/programopt.c
rogram/programopt.h
|
3bdd12ecb57e9cdc2b21cd665fab14698c1c07df |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: regenerate glapi files
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
9d60a7ce08a67eb8b79c60f829d090ba4a37ed7e |
29-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Resolve implied moves in brw_dp_READ_4_vs_relative. Fixes piglit test glsl-vs-arrays-3 on Sandybridge, as well as garbage rendering in 3DMarkMobileES 2.0's Taiji demo and GLBenchmark 2.0's Egypt and PRO demos. NOTE: This a candidate for stable release branches. It depends on commit 9a21bc640188e4078075b9f8e6701853a4f0bbe4.
rivers/dri/i965/brw_eu_emit.c
|
9a21bc640188e4078075b9f8e6701853a4f0bbe4 |
16-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Refactor Sandybridge implied move handling. This was open-coded in three different places, and more are necessary. Extract this into a function so it can be reused. Unfortunately, not all variations were the same: in particular, one set compression control and checked that the source register was not ARF_NULL. This seemed like a good idea, so all cases now do so.
rivers/dri/i965/brw_eu_emit.c
|
4f94e0b76ab75a5f0d629431395754b6339d3a98 |
29-Mar-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing parentheses in glBlitFramebufferEXT error strings.
ain/fbobject.c
|
e21beaeb10711a38276d704c4e058cb07f9b23e6 |
28-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Don't leak the tex object miptree when replacing it Eventually the miptree refcounting interface should be cleaned up. The assymmetry dramatically increases the probability of bugs like this. It should be made to like like libdrm refcounting or the refcounting style used in other parts of Mesa. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33046 Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_tex_image.c
|
5d7c27f5ec2f30c264dc2d53c4980970b3a13ee5 |
23-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
st/mesa: Validate state before doing blits. Specifically, this ensures things like the front buffer actually exist. This fixes piglt fbo/fbo-sys-blit and fd.o bug 35483. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
tate_tracker/st_cb_blit.c
|
0c8beb0ab5e72a9d2ecaad51db16a7d5291e120b |
27-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Fix linear gl_Color interpolation on pre-gen6 hardware. Civilization 4's shaders make heavy use of gl_Color and don't use perspective interpolation. This resulted in rivers, units, trees, and so on being rendered almost entirely white. This is a regression compared to the old fragment shader backend. Found by inspection (comparing the old and new FS backend code). References: https://bugs.freedesktop.org/show_bug.cgi?id=32949 NOTE: This is a candidate for the 7.10 branch.
rivers/dri/i965/brw_fs.cpp
|
4e994e150f65c854229b4af12eae5519ebd9dda1 |
25-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965/fs: Use different name for inner loop counter 'i' is already used for the outer loop. This caused some problems while doing other work in this area. No bug exists here... until you want to use the outer loop counter in the inner loop.
rivers/dri/i965/brw_fs.cpp
|
cf290344cc6c61b81452a28d739021a7f11b11bc |
25-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add void to save_TextureBarrierNV()
ain/dlist.c
|
a81828cb962e747644dd5b479179cd4f55932c1e |
25-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Avoid redefining PUBLIC/USE/likely/unlikely macros.
ain/compiler.h
|
7fbe020bbcfeefbb2b6d6d8d0e23bca99bc06bf1 |
25-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use appropriate call convention in VertexAttribI*v. We were using typecasts because the functions pointers are polymorphic in the second argument type, which. Surprisingly the wrong calling convention didn't cause crashes on Windows, but it was causing certain registers to be trashed in MSVC optimized builds, when processing callists in the ClearView RC Flight Simulator.
ain/api_arrayelt.c
|
acd7ce57f79b3bd729041dc97c04a78386d13404 |
25-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa,mapi: Remove spurious const keyword from ClearBufferfi args.
ain/glapidispatch.h
|
e1a9ef2304e9dc688b604fab889964922e76b6fe |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_dump_image() for debugging
ain/debug.c
ain/debug.h
|
e4852ae4d24396daa323652023655fb3b6456ff5 |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor whitespace fixes
ain/atifragshader.c
ain/drawpix.c
ain/extensions.c
ain/pbo.c
|
2911fa0cca86f7acbc5423cab4dd328a412253cd |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Make compile failure more verbose with INTEL_DEBUG=wm.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
4a101f957714dea2bc956d516d34c5b56ecb2c64 |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Clean up reg_undef args from long ago lack of fs_inst overloads.
rivers/dri/i965/brw_fs.cpp
|
53d78be3bde68bfb6416fb9c1abfbc24030f390e |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Clean up the emit calls by introducing emit() overload helpers. I think the code ends up a lot more legible this way, though we've still got the overloads in the fs_inst as well (even though there's only one caller left currently).
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
82dd62fb22c8f88d62e3c77666c6805a2ac6ecd3 |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new MESA_EXTENSION_MAX_YEAR env var If set to year X, only report extensions up to that year. This is a work-around for games that try to copy the extensions string to a fixed size buffer and overflow. If a game was released in year X, setting MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem.
ain/extensions.c
|
c22a7f9045ff7a4a9505225a133b25e262958e1c |
24-Mar-2011 |
Iain Hibbert <plunky@rya-online.net> |
radeon: use C99 style in macros with variable arguments Signed-off-by: Iain Hibbert <plunky@netbsd.org>
rivers/dri/radeon/radeon_debug.h
|
ff2950dd690a2ed9ee96823030ba9edf073c8229 |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
radeon: reorder #includes to silence warnings Silences warnings about RADEON_TILING_SURFACE being redefined. Only compile tested, not run tested.
rivers/dri/radeon/radeon_bocs_wrapper.h
|
b5745429d733f2b381b8afef74448c29e7c3c2ed |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
r128: fix an old annoying warning
rivers/dri/r128/r128_span.c
|
7d40bf25662feea57a804502814634ffa908b58c |
24-Mar-2011 |
Brian Paul <brianp@vmware.com> |
radeon: fix radeon_create_image_from_name() wrong parameter type
rivers/dri/radeon/radeon_screen.c
|
81992010b57e5b137c9319b47f282e267a086582 |
23-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: More glGet* fixes. glGet(GL_NORMAL_ARRAY) giving potentially wrong results. Most of glGet(GL_XXX_ARRAY_BUFFER_BINDING) giving totally bogus results.
ain/get.c
|
12b9e079665915e610c1dbb5f830057bb319efbb |
23-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _MESA_NEW_NEED_NORMALS
ain/mtypes.h
|
7ecb61c30c4984a8513b306b640f9d274d8ecf61 |
23-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _MESA_NEW_TRANSFER_STATE
ain/mtypes.h
ain/pixel.c
ain/state.c
ain/teximage.c
|
f6970872c083a813a6d6ce9ce0cde2375da6dcbc |
22-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*).
ain/get.c
|
cfc7ded3ff5bdaff17e1022e11fd0e3aeee870a1 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping and comment updates
ain/matrix.c
|
d0d767ad4c6ee13c72577b072b24aa06841f6357 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping, update comment
ain/enable.c
|
933b99f113c97588b616daad2fb19456eece96e2 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate enable/disable code for GL_TEXTURE_GEN_S/T/R/Q
ain/enable.c
|
ec4a21b0e21e8c706f26db5308fb267b6979b631 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate clip plane update code
ain/clip.c
ain/clip.h
ain/enable.c
|
957552fce0c272b476d89bee374724e8a94a8d8a |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/readpix.c
|
aafcbd2cf726e9f300d6a9cdfd62ee0fd64f85c9 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace macro with function
ain/fog.c
|
9459cc593c7fc7f8e5e0a7e9e673c075d91ae057 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/arrayobj.c
|
630d925666766f1c5c9ee2fc31ed307c987d76ff |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename functions to follow Mesa conventions
ain/bufferobj.c
|
79f4281a52e18f7068543547631acb22c29909c2 |
19-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/bufferobj.c
|
9d2ef284bb3ec419b8f53f56bff7f6dd5492ee4c |
18-Mar-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use a 4-bit writemask in pair instructions We now use a 4-bit writemask for all instruction types, which makes it easier to write generic helper functions to manipulte writemasks. NOTE: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
8042d751debb7a8375e8bc587189fea9a5a8371d |
18-Mar-2011 |
Johannes Obermayr <johannesobermayr@gmx.de> |
nouveau: Fix serious compiler warnings Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025 Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/nouveau/nouveau_texture.c
|
5b902a08c1919d1bc4666d3e3b8e3f7933b7974b |
18-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor improvements in glTexEnvfv()
ain/texenv.c
|
582570a04c73bc304e16af63621b594e0fc39aea |
18-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: only report up to 50 _mesa_problem() calls http://bugs.freedesktop.org/show_bug.cgi?id=35200 reports a disk partition getting filled because of warning messages. Stop emitting after 50.
ain/imports.c
|
147148fd50ec2db089a0fbcca9740146aa096be8 |
18-Mar-2011 |
Brian Paul <brianp@vmware.com> |
swrast: report data type in error message
wrast/s_span.c
|
5e9aa9926b9bdf1260ce7350b88908bda337388b |
26-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove the CompileShader driver hook; it's just a no-op.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm.h
ain/dd.h
ain/shaderobj.c
rogram/ir_to_mesa.cpp
|
cbadedb511cfcebaf15029891221211219584fb3 |
17-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() helper in BindTexture()
ain/texobj.c
|
552f54bf0490dabce3fac6d17e78ac65411fde5c |
17-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded local var in BindTexture()
ain/texobj.c
|
dfda559b9867d70b70b99c0f3e751fd5930bdc01 |
17-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: clean up the glBindTexture early out code a bit
ain/texobj.c
|
2279156fe7ac9718533b8b0de90ae96100486680 |
16-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename brw_(IF|CONT)_gen6 functions to gen6_(IF|CONT).
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_vs_emit.c
|
f3a828c21fcb95c67868f0224ab4ec92f54eee7f |
16-Mar-2011 |
Tobias Droste <tdroste@gmx.de> |
autoconf: don't use CFLAGS for cpp files Signed-off-by: Tobias Droste <tdroste@gmx.de>
akefile
|
2baac48f3900b6e7a6443c6c116899cf95275629 |
16-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename BRW_DATAPORT_..._GEN6 messages to GEN6_... for consistency.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
|
cc48d663f7282411d88c6187ce3d03f21df0acd3 |
16-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename BRW_SAMPLER_MESSAGE_..._GEN5 to GEN5_SAMPLER_MESSAGE. We already have lots of GEN6_* defines; this seems more consistent.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_emit.c
|
8767fe2437094f33db140a6b92f25116de4fc371 |
10-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Sort extensions in extension string by year. The years were obtained automatically by scraping the first year from the spec text file. They are approximate.
ain/extensions.c
|
5fc5820cbc0faf57a48154466b4792294841a690 |
16-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use typecast in BITFIELD64_BIT macro. Unsigned long is 32bit on several platforms (e.g., Windows), yielding 1UL << 32 to be zero. Note that BITFIELD64_BIT result is often assigned to variables of type GLbitfield, instead of GLbitfield64. That's probably wrong and should be addressed in a later change.
ain/mtypes.h
|
11150e4667ce11b056d98244754ce3f2a79599a6 |
15-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use BITFIELD64_BIT() macro
rogram/program.c
|
aa878f94ab77fe3be352d820aaa950b32836c814 |
15-Mar-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: use BITFIELD64_BIT() macro in a few more places
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_program.c
|
d029ba9ec0750f9ba3a6291745c986105b4ffbdb |
15-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use 1UL for 64-bit unsigned constant for C++ This fixes C++ warnings where BITFIELD64_BIT() is used.
ain/mtypes.h
|
a99447314ca1cfce60f2a22285398fb222b2a440 |
12-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix alpha testing when there is no color buffer in the FBO. We were alpha testing against an unwritten value, resulting in garbage. (part of) Bug #35073.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
b60651a17ba85af14e9d7b9a1398e065adb58665 |
11-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Do our lowering passes before the loop of optimization. The optimization loop won't reinsert noise instructions or quadop vectors, so we were traversing the tree for nothing. Lowering vector indexing was in the loop after do_common_optimization() to avoid the work if it ended up that the index was actually constant, but that has been called already in the core.
rivers/dri/i965/brw_fs.cpp
|
d0e805ebd8fd492241e77c015ae7b2a0b7840869 |
15-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix scons build
Conscript
|
aea4ed41ed9b4d0442d1090ac1f01231a9859796 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add texture barrier support to the interface and st/mesa (v2) v2: change the gallium entry point to texture_barrier.
Conscript
ources.mak
tate_tracker/st_cb_texturebarrier.c
tate_tracker/st_cb_texturebarrier.h
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
9a9c1e1ae1d54af6d73dbdb393d80bf5ad37f28d |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add display list support for NV_texture_barrier
ain/dlist.c
|
7fa53f37e632880c9760aee31270841c83325709 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: regenerate glapi files Be sure to type "make clean" after this commit, otherwise your binaries will segfault.
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
867f9b07d42c2b49ddb9e5bb17f0ac5c4a80d8ac |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add NV_texture_barrier
Conscript
rivers/common/driverfuncs.c
ain/api_exec.c
ain/dd.h
ain/extensions.c
ain/mtypes.h
ain/texturebarrier.c
ain/texturebarrier.h
ources.mak
|
baab835a1f11d026bd757d99ff05b59971042a3e |
26-Feb-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
st/mesa: Make use of the new PIPE_TRANSFER_DISCARD_* for buffer object. In memory mapping buffer objects make use of PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE and PIPE_TRANSFER_DISCARD_RANGE when appropriate. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
tate_tracker/st_cb_bufferobjects.c
|
25e31140952c328f70f804e0134664d7ed6248a6 |
14-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable texture lookups whose return type is 'float' This enables the new shadow texture functions in GLSL 1.30. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@intel.com>
rivers/dri/i965/brw_fs.cpp
|
1842b89f77bb7bd283b61e27cd69c643f2a60a22 |
13-Mar-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Fix tex_swizzle when depth mode is GL_RED Change swizzle from (x000) to (x001). Signed-off-by: Chad Versace <chad.versace@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
|
e0cbb154f2cb62e3ae0354dc4f14185dbad2bef2 |
13-Mar-2011 |
Chad Versace <chad.versace@intel.com> |
i965: Remove dead assignment The assignment on line 368, `tex_swizzles[i] = SWIZZLE_NOOP`, is rendered dead by the reassignment on line 392. Signed-off-by: Chad Versace <chad.versace@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/i965/brw_wm.c
|
bb0910bfa6dcdbf6fd9b58ebc21a14e40e066633 |
14-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename _mesa_texstore_a8 -> _mesa_texstore_unorm8 It's a generic function capable of storing A8, L8, I8, R8.
ain/texstore.c
|
c0110d5450f2d4722652728a6b30bc9ae6b81c60 |
14-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix up assertion in _mesa_source_buffer_exists This was probably missed when implementing luminance and luminance alpha render targets. _mesa_get_format_bits checks for both GL_*_BITS and GL_TEXTURE_*_SIZE. This fixes: main/framebuffer.c:892: _mesa_source_buffer_exists: Assertion `....' failed.
ain/framebuffer.c
|
0f84ddad29284b407c6bbef0b731201056d40324 |
13-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: do not check the number of uniforms against hw limits The r300 compiler can eliminate unused uniforms and remap uniform locations if their number surpasses hardware limits, so the limit is actually NumParameters + NumUnusedParameters. This is important for some apps under Wine to run. Wine sometimes declares a uniform array of 256 vec4's and some Wine-specific constants on top of that, so in total there is more uniforms than r300 can handle. This was the main motivation for implementing the elimination of unused constants. We should allow drivers to implement fail & recovery paths where it makes sense, so giving up too early especially when comes to uniforms is not so good idea, though I agree there should be some hard limit for all drivers. This patch fixes: - glsl-fs-uniform-array-5 - glsl-vs-large-uniform-array on drivers which can eliminate unused uniforms.
rogram/ir_to_mesa.cpp
|
098f9c5325de16bfb5bf8b0e93e0ec1871db4a76 |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
Revert "mesa: Convert fixed function fragment program generator to GLSL IR." This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5. There were regressions (Bug #35244) and more review has been requested.
ain/ff_fragment_shader.cpp
ain/state.c
ain/texenvprogram.h
rogram/program.c
|
07c420a3c6799a744088f1bbe1c1a5ff157a1771 |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
Revert "mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program" This reverts commit b4452c3baad6e0379eeb7f22f2e51d13999e1323.
ain/mtypes.h
ain/state.c
|
403be1111190a3fe63ae03bc0111e0a0b026495b |
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Use the fixed function GLSL program instead of the ARB program." This reverts commit 81b34a4e3a7aec9cdf2781757408dc5e9eec79cb. There were regressions in the core change that this depends on.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_state.c
|
1a79064da12a8be71dca7656e5eebc4b85d2b35f |
05-Mar-2011 |
Jakob Bornecrantz <wallbraker@gmail.com> |
gallium: Delay the creation of simple helper shaders
tate_tracker/st_cb_clear.c
|
ab21147c899ba1506df38438b6750d3dc5eaabdf |
12-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
u_blitter: Do blits in linear color space. Blits between sRGB and linear formats should happen in linear color space. This fixes piglit fbo/fbo-srgb-blit.
tate_tracker/st_cb_texture.c
|
6da4866ffdb19315bbb48f6778d1a5297b842a77 |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: do not set TEX_IGNORE_UNCOVERED on r500 The docs say it can be set for direct texture lookups, but even that causes problems. This fixes the wireframe bug: https://bugs.freedesktop.org/show_bug.cgi?id=32688 NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
1e97b4dd103a00f497cc92571498ffd7178ba263 |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: TEX instructions don't support negation on source arguments This fixes piglit: - glsl-fs-texture2d-dependent-4 NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/r500_fragprog.c
|
589d835dfd9b07f49ee12af2dfa04a4e054bec68 |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: Abs doesn't cancel Negate (in the conversion to native swizzles) NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r500_fragprog.c
|
d96305e4fcc67047e730cdc177bfa3da4307ff5a |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix translating the src negate bits in pair_translate (1, -_, ...) was converted to (-1, ...) because of the negation in the second component. Masking out the unused bits fixes this. Piglit: - glsl-fs-texture2d-branching NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/radeon_pair_translate.c
|
4b92c688a45480027390764b06077105298666c3 |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300g: implement fragment color clamping in the shader This finishes the implementation of the fragment color clamp control for ARB_color_buffer_float. I don't wanna keep this stuff in a branch...
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_code.h
|
e4707604ab46252d2e010906124775d3300f0be1 |
12-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix the saturate modifier when applied to TEX instructions This bug can only be triggered if the source texture is either signed or float.
rivers/dri/r300/compiler/radeon_program_tex.c
|
02725bc8b0a4ed312bf223f788231b92d4274f70 |
11-Mar-2011 |
Adam Jackson <ajax@redhat.com> |
nouveau: Build fix nouveau_vieux_dri.so.tmp: undefined reference to `_mesa_need_secondary_color'
rivers/dri/nouveau/nouveau_driver.h
|
b5872cdda08c8db8bd24bc0bd3e2cd9dd8878ef2 |
11-Mar-2011 |
Adam Jackson <ajax@redhat.com> |
r600: Build fix r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r700_state.c
|
dee6eafbd2f8acf99da99960572f42fcf473f86a |
11-Mar-2011 |
Vinson Lee <vlee@vmware.com> |
scons: Move texenvprogram.c to ff_fragment_shader.cpp.
Conscript
|
81b34a4e3a7aec9cdf2781757408dc5e9eec79cb |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use the fixed function GLSL program instead of the ARB program. This gets one more piece of the pipeline onto the new codegen backend. Once ARB_fragment_program can generate GLSL programs, we can nuke the old backend.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_state.c
|
b4452c3baad6e0379eeb7f22f2e51d13999e1323 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program This is like how we track FragmentProgram._Current for the computed ARB fragment program for fixed function texenv, but this gives direct access to the gl_shader_program for drivers to codegen from, skipping ARB_fp.
ain/mtypes.h
ain/state.c
|
7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 |
01-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Convert fixed function fragment program generator to GLSL IR. This is a step towards providing a direct route for drivers accepting GLSL IR for codegen. Perhaps more importantly, it runs the fixed function fragment program through the GLSL IR optimization. Having seen how easy it is to make ugly fixed function texenv code that can do unnecessary work, this may improve real applicatinos.
ain/ff_fragment_shader.cpp
ain/state.c
ain/texenvprogram.h
rogram/program.c
|
29e013e58be93aa6ed760393cf77ef34ca1d57c0 |
24-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add gl_MESAFogParamsOptimized for our special pre-computed fog params. It would be nice if we handled optimized uniform math like this in some generic way, since people often end up doing uniform expressions in shaders, but for now keep this hard-coded like it was in the texenvprogram code.
ain/uniforms.c
|
20f7a6f11aef492d5ca13e8ba9525eb2961d483c |
12-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add a builtin uniform for the ATI_envmap_bumpmap rotation matrix. For fixed function fragment processing in GLSL IR, we want to be able to reference this state value. gl_* not explicitly permitted is reserved, so using this variable name internally shouldn't be any issue.
ain/uniforms.c
|
cdacca4868bbfe2e39f72d524556e7b2c7200ba5 |
31-Oct-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Move texenvprogram.c to ff_fragment_shader.cpp. This file is about to change to generating a shader program instead of a fragment program.
ain/ff_fragment_shader.cpp
ain/texenvprogram.c
ources.mak
|
e1cb12bfff7f65c3599c9b68b9269f73942b1602 |
05-Nov-2010 |
Eric Anholt <eric@anholt.net> |
prog_cache: Add some support for shader_programs in prog_cache. This is used in the upcoming fixed function shader_program generation, and shader_program and ARB programs are together in this code until both fragment and vertex ff get converted.
rogram/prog_cache.c
rogram/prog_cache.h
|
9c7231c1d9cda244444dbfa05f15ead1bf581dc3 |
05-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't try to remove an internal shader_program from the hash. It fails on assertions if the key isn't actually present.
ain/shaderobj.c
|
5ae1d195061b5f01d85b8f6d48d89d7995b07f4f |
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use ffs() on a 32-bit int value instad of ffsll().
rivers/dri/i965/brw_draw_upload.c
|
7e02303497237cde958c28608477d0c355a8038b |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove flags from the flush function The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_flush.h
tate_tracker/st_cb_syncobj.c
tate_tracker/st_manager.c
|
e968975cb57eb854769292f7c6ff773c64a386c3 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove the geom_flags param from is_format_supported
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
bfe88e69988b3d3bdff0b9f6051d0428e1315653 |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: cleanup fence_signalled and fence_finish So that they don't have the driver-specific param and return type.
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_syncobj.c
|
d7db14ab7d66520b6030c0aa48c94507179a8d4e |
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: test against MaxUniformComponents in check_resources() Since we're compiling/linking GLSL shaders we should check against the shader uniform limits, not the legacy vertex/fragment program parameter limits which are usually lower.
rogram/ir_to_mesa.cpp
|
e0e94026a0648d6b33d6b7cf2b9b01429cf945e4 |
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move location of some geometry program limits The gl_program_constants struct is for limits that are applicable to any/all shader stages. Move the geometry shader-only fields into the gl_constants struct. Remove redundant MaxGeometryUniformComponents field too.
ain/context.c
ain/get.c
ain/mtypes.h
ain/shaderapi.c
rogram/ir_to_mesa.cpp
|
8cc84b3e454cf03c71282322e988f03bc4a1baa3 |
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use check_resources() to check program against limits Without these checks we could create shaders with more samplers, constants than the driver could handle. Fail linking rather than dying later.
rogram/ir_to_mesa.cpp
|
decc6e2a32ef49e673c081f30e19b8970155d887 |
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines and rename them.
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/mga/mgastate.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_state_tnl.c
rivers/dri/r128/r128_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_state.c
ain/context.h
ain/state.c
ain/state.h
wrast/s_aatriangle.c
wrast/s_triangle.c
nl/t_context.c
|
4293a12c7f0d4fd7ac3a278570f3fe55fc4433a6 |
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: call FLUSH_VERTICES() before deleting shaders, buffers, query objects Need to flush rendering (or at least indicate that the rug might be getting pulled out from underneath us) when a shader, buffer object or query object is about to be deleted. Also, this helps to tell the VBO module to unmap its current vertex buffer.
ain/bufferobj.c
ain/queryobj.c
ain/shaderapi.c
|
bdf103894026238c7e896eccb995b141161bfb70 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unnecessary flushes The framebuffer cache flush should be implicit when calling set_framebuffer_state. There is no need to flush the command stream either.
tate_tracker/st_cb_fbo.c
|
f6ca4a304bf920ea6913b08638fb8eb3e020d446 |
09-Mar-2011 |
Eric Anholt <eric@anholt.net> |
intel: Don't complain when getparam fails due to a missing param. This is an expected behavior when we're testing for the presence of new kernel features.
rivers/dri/intel/intel_screen.c
|
ea004a3aed89ec02bb5f2356479cd038d41f73c1 |
08-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Pack the tracked state atoms into separate arrays for prepare/emit. Improves performance of a hacked-up scissor-many (to reuse a small set of scissors instead of blowing out the cache, and then to run 100x more iterations so it actually took some time) by 3.6% +/- 1.2% (n=10)
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
|
b39bccbd4ed71e9585da4cf5acf7b887b2e90899 |
05-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add timeout parameter to fence_finish This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_syncobj.c
|
5257a6dbc65d742e6d0fcf4278a4157b2f39fdf7 |
05-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement ARB_sync The ServerWaitSync implementation matches Intel's driver. The extension is advertised when pipe_screen::fence_finish is set.
Conscript
ources.mak
tate_tracker/st_cb_syncobj.c
tate_tracker/st_cb_syncobj.h
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
b0ec461954d87085cd31dfe92a9e13a4e5df5aa5 |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: cleanup checking for signed compressed formats in generate_mipmaps
tate_tracker/st_gen_mipmap.c
|
384845f335d1fbe6766673b988b23a003e104e7b |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: add LATC and 3DC support softpipe passes all tests.
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_gen_mipmap.c
|
69f16accd0aa3b8d414092a5e52ccc99649da01a |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ATI_texture_compression_3dc LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI.
ain/extensions.c
ain/glheader.h
ain/image.c
ain/mtypes.h
ain/texcompress.c
ain/texformat.c
ain/teximage.c
|
7d16e2c0cd70dc5a23b746dbc8e44c58366b5353 |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add EXT_texture_compression_latc The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some other tests fail too, so I guess it's unrelated to LATC. - Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]), however RGTC has the same problem. Further testing (with other of my patches) shows that hardware drivers and softpipe work. BTW, ETQW uses this extension.
ain/extensions.c
ain/formats.c
ain/formats.h
ain/image.c
ain/mipmap.c
ain/mtypes.h
ain/texcompress.c
ain/texcompress_rgtc.c
ain/texcompress_rgtc.h
ain/texfetch.c
ain/texformat.c
ain/teximage.c
ain/texstore.c
|
12fa91b6753dccbd3aa12c570d1f1e55c7dc0582 |
07-Mar-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
st/mesa: Fix an incorrect user vertex buffer reference st->user_vb[attr] was always pointing to the same user vb, regardless of the value of attr. Together with reverting the temporary workaround for bug 34378, and a fix in the svga driver, this fixes googleearth on svga. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_draw.c
|
ef58598c1cf2ac689f67c75b2f477f2c404fce98 |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
vbo: mark vertex arrays as dirty when re-binding This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34378
bo/vbo_exec_array.c
|
ff8baec5bc377cab716b0510d98195fb5564fb1a |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove unused variables
rivers/dri/r300/compiler/radeon_program_tex.c
|
4a802738b08b1dbddef6c59d0a1324f864b987b0 |
08-Mar-2011 |
Brian Paul <brianp@vmware.com> |
swrast: flip the conditionals in shadow_compare4() for readability
wrast/s_texfilter.c
|
d9f584e663c7447e638acca2c164b16626a5271a |
08-Mar-2011 |
Philip Taylor <excors@gmail.com> |
swrast: add coord clamping, fix comparisons for shadow testing This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast and piglit depth-tex-compare. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_texfilter.c
|
4dfcf3c4fe6edd1785348f4f6fc1ef0af2fff6f6 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix equal and notequal shadow compare functions
rivers/dri/r300/compiler/radeon_program_tex.c
|
94818d4c6ac6585f6b036f9a8bf550f73b7ae4b4 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: detect constants harder
rivers/dri/r300/compiler/radeon_optimize.c
|
4f3826117957b5ac1554b833af33d342360f655a |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: improve the detection of constants for constant folding Now the expression V==0 generates one instruction instead of two.
rivers/dri/r300/compiler/radeon_optimize.c
|
eb1acd16130a2945122d373357ee72585e520755 |
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: saturate Z before the shadow comparison This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31159 NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/radeon_program_tex.c
|
a674ef7814ea16622b6002009ffe27a55cb500bf |
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return after invalidating renderbuffer
ain/fbobject.c
|
fb5d9e1199cabe653ae1bb822bb66ce9f0ce7f55 |
06-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format fails This fixes: state_tracker/st_format.c:401:st_pipe_format_to_mesa_format: Assertion `0' failed.
tate_tracker/st_cb_fbo.c
|
df818d572e4ddb1ceccd22a538bf98ce01caffee |
06-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: invalidate framebuffer if internal format of renderbuffer is changed RenderTexture doesn't have to be called in invalidate_rb, I guess.
ain/fbobject.c
ain/mtypes.h
|
f4ca12c4f1fc249d0be8f228a638748609fcf696 |
07-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: initialize DummyBufferObject's mutex The mutex's fields were all zeros. That's OK on Linux, but not Windows. NOTE: This is a candidate for the 7.10 branch.
ain/bufferobj.c
|
ce6f16d382dc76fd77064c6ce04ca6cc18cdfcef |
05-Mar-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect version checking code
tate_tracker/st_manager.c
|
51db2045b488477230d9a31b60779f90f0f4bf64 |
07-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove stray _mesa_finish() call in _mesa_CopyPixels() Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd.
ain/drawpix.c
|
a8bde5c47e1e8df13b408e44a2ae79edffd5ebed |
07-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
i915: Only invert wpos when rendering to the system framebuffer.
rivers/dri/i915/intel_tris.c
|
a99b23752b0182c64ebe1dc9c18ab821550771ff |
07-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
i915: Derive the gl_fragment_program from i915_fragment_program. Instead of using the current gl_fragment_program. These aren't necessarily the same, for example when translate_program() is called by i915ValidateFragmentProgram().
rivers/dri/i915/i915_fragprog.c
|
6547253bd138db815173c00ca2dc220e8ad20ab1 |
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: check for miptree allocation failure Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_tex_validate.c
|
de7678ef521f4fb34459e407a66ab8bf8be733e1 |
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add some defense against buffer allocation failure for subimage blits Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_tex_subimage.c
|
f627d429bda8196fd20f2023374ad6d34e4becb6 |
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add some defense against bo allocation failure Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_regions.c
|
6538b5824e298eaebede2d9686c7607c44ab446a |
06-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. This realigns the name of the glx bit to align with the core mesa names.
rivers/dri/common/utils.c
|
95c7881ac8240fa369e33db411bbd165d0f61948 |
05-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
tate_tracker/st_extensions.c
|
1a57717bbe8a2cedf2e1bb72cfd7ec85cd2350fc |
22-Feb-2011 |
Eric Anholt <eric@anholt.net> |
i965: Apply a workaround for the Ironlake "vertex flashing". This is an awful hack and will hurt performance on Ironlake, but we're at a loss as to what's going wrong otherwise. This is the only common variable we've found that avoids the problem on 4 applications (CelShading, gnome-shell, Pill Popper, and my GLSL demo), while other variables we've tried appear to only be confounding. Neither the specifications nor the hardware team have been able to provide any enlightenment, despite much searching. https://bugs.freedesktop.org/show_bug.cgi?id=29172 Tested by: Chris Lord <chris@linux.intel.com> (Pill Popper) Tested by: Ryan Lortie <desrt@desrt.ca> (gnome-shell)
rivers/dri/i965/brw_vs_state.c
|
ba48811fa8cbe80c67cdbbb9b8180aaf64433c4e |
04-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set PIPE_BIND_RENDER_TARGET for sRGB formats if UNORM is supported Because the format can be changed to UNORM in a surface. This fixes: state_tracker/st_atom_framebuffer.c:163:update_framebuffer_state: Assertion `framebuffer->cbufs[i]->texture->bind & (1 << 1)' failed.
tate_tracker/st_cb_texture.c
|
9d31138f53c0bee9193af73850ab6febddd29f51 |
03-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Fix extending VB packets Computation of the delta of this array from the last had a silly little bug and ignored any initial delta==0 causing grief in Nexuiz and friends. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
18dd7932c7fc13e230384bcab08311a5de5d6de7 |
03-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Handle URB_FENCE erratum for Broadwater There is a silicon bug which causes unpredictable behaviour if the URB_FENCE command should cross a cache-line boundary. Pad before the command to avoid such occurrences. As this command only applies to gen4/5, do the fixup unconditionally as the specs do not actually state for which chip it was fixed (and the cost is negligible)... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_urb.c
|
1546291e5b8d3ac02f5bee38252f9d479bcf95cc |
03-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Align index to type size and flush if the type changes Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_tex_image.c
|
1c0d09cd4efabf4e804780ebc45f1d120f6509c5 |
27-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add couple of missing gen6 commands to decode Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_decode.c
|
b93684f5f311f89c965960ab42bfea71a397b180 |
03-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Prevent using a zero sized (or of unknown type) vertex array Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
5d0e8beaa2051c28a7ac941e8aaad286e39e1267 |
03-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
scons: More tweaks to fix MinGW build.
Conscript
|
dbfbb8cf6da472e9000481ebd6a2a6b4e4845560 |
03-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
scons: Ensure generated headers are in the include path.
Conscript
|
118ecb1a2226494929a87c36b7802b64451ca004 |
03-Mar-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: SNB GT1 has only 32k urb and max 128 urb entries. Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
rivers/dri/i965/gen6_urb.c
rivers/dri/intel/intel_chipset.h
|
8ad821df0a2d49964141f2ea4ef8179f4edc052f |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_program_constants::MaxAddressOffset See https://bugs.freedesktop.org/show_bug.cgi?id=29418
ain/context.c
ain/mtypes.h
rogram/program.c
rogram/program_parse.y
|
41208bf047888f5633befc5bcfac1c9132920492 |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: increase INST_INDEX_BITS to 12 For more info see fd.o bug 29418.
rogram/prog_instruction.h
|
5f4d0cc6bcfb34a68a72ebc4091f3ab0cf43f90c |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()" This reverts commit 1f9a0a4e6e5566c36c781add5f1e62af3efdfb58. This caused trouble with Lightsmark w/ i965 driver and fbo/fbo-blit-d24s8 (see bug 34894). It's probably something simple but no time to debug now.
ain/framebuffer.c
|
69c6e21ceb6c2eb0c4b0fae0228027d665027b4e |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: fix error parameter Spotted by Ian.
bo/vbo_save_api.c
|
f1824905faad6831edee6cf35cb8fa389ef3852a |
02-Mar-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: Maxinum the usage of urb space on SNB. SNB has 64k urb space, we only use piece of them. The more urb space we alloc, the more concurrent vs threads we can run. push the urb space usage to the limit. Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
rivers/dri/i965/gen6_urb.c
|
e8d061fd7476ee0266a2f9860771f924e9ffccd5 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: fix softpipe npot compressed mipmaps. this fixes fbo-generatemipmap-formats rgtc and s3tc in NPOT mode with softpipe. r600g fails to even get level 0 correct so have to look into that a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_gen_mipmap.c
|
64f19b90d777ab21f8053eddcce83369754592a6 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: fix generate mipmap for signed compressed formats. This was always converting to 8-bit per channel unsigned formats, which isn't suitable for RGTC signed formats, this special cases those two formats and converts to floats for those. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_gen_mipmap.c
|
59cae3eee105b8522bc9b17cd60ad1e98b1e8825 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: remove GL types from this file. I'd like to share this file with gallium u_format stuff. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc_tmp.h
|
531c336fa39d8e823d05728cb7ddb3cc8a44d199 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: move the texel fetch into common unsigned/signed code. This function can be done in the include file also. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc.c
ain/texcompress_rgtc_tmp.h
|
fb6ecca0a556dcca1f77bfb84a835e2b9c2e2e6a |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: fix issues with compressor and signed types. With signed types we weren't hitting this test however the comment stating this doesn't happen often doesn't apply when using signed types since an all 0 block is quite common which isn't abs min or max. this fixes the limits correctly again also. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc.c
ain/texcompress_rgtc_tmp.h
|
521394a204bd8073846acc7f9861081d29fa24c9 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: don't try to access off the end of the block. if the values are all in the last dword, the high bits can be 0, This fixes a valgrind warning I saw when playing with mipmaps. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc.c
|
5f714c2aaf8d25e5d5ba2e4c29cb3046f7639d24 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: move to using ubyte for fetch instead of chan + fix limit My previous fix to the byte max was incorrect. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc.c
|
c37e283423a33ce870e865e9adeca7f4eddf4b5b |
01-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use RGTC for GL_COMPRESSED_RED/RG if possible With proper fallback formats.
tate_tracker/st_format.c
|
8731f0363fea81394417b2da8a9ac9788a0dcfc6 |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: add vbo_always_unmap_buffers() Drivers can call this function as needed. It tells the VBO module to always unmap the current glBegin/glEnd VBO when we flush. Otherwise it's possible to be in a flushed state but still have the VBO mapped.
bo/vbo.h
bo/vbo_exec.h
bo/vbo_exec_api.c
|
a2924b488b8d77381779bbb5a0097c467678d39b |
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: generate GL_INVALID_VALUE for bad glVertexAttrib index
bo/vbo_attrib_tmp.h
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
3ff4974f225a844625cf47c9b1a7d53c3cd7b2c1 |
02-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Revert most of 3158cc7d because it causes other breakage
ources.mak
|
8be58df67a3d3cc682407f10badcb92a1c988e65 |
02-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
scons: Use Flex and Bison to generate lexer/parser files. This gets it building again here; I'll leave it up to the SCons maintainers to make further improvements.
Conscript
|
ff0f36f59d58e90e775117beb945ffbec7a5d7e2 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: fix fetch function limits for signed types
ain/texcompress_rgtc.c
|
8eebd216dd9f32de65e9af4160c042825ca75466 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: fixup mipmap generation this allows swrast to pass mipmap generation for these formats.
ain/mipmap.c
|
01d5d1e80ee506205e8615356e55e4bca16c6b11 |
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
swrast/rgtc: fix rendering issues introduced when fix constants The max value was wrong and this showed up in the piglit tests.
ain/texcompress_rgtc.c
|
3158cc7df85a8c5bcdb90a7d9ebb62c72b5f052a |
02-Mar-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix build breakage caused by c73e6ce
akefile
rogram/Makefile
ources.mak
|
6dd0a2ed40309fe721eb1c6f8217d363b3a57f04 |
12-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Add generated parser / lexer files to gitignore lists
rogram/.gitignore
|
c73e6ce7e24af175a6a14b2f5b6efa76d56c12b0 |
01-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove files generated by flex and bison from GIT These files were for the ARB_vertex_program / ARB_fragement_program assembler.
rogram/lex.yy.c
rogram/program_parse.tab.c
rogram/program_parse.tab.h
|
4c4ab5668cd6df573db7b065f0493fb80ac70ab8 |
01-Mar-2011 |
Christian König <deathsimple@vodafone.de> |
st/mesa: probably handle instanced drawing Remove the previous workaround for instanced drawing and implement it correctly.
tate_tracker/st_draw.c
|
d1fc920f613aa349e6721963e22e12c6eb49e3f9 |
01-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Support glCopyTexImage() from ARGB8888 to XRGB8888. Nexuiz was hitting a software fallback.
rivers/dri/intel/intel_tex_copy.c
|
900a5c91eeb3acae7ee0ad331154531c4dba96e1 |
01-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Use negative relocation deltas to minimse vertex uploads With relaxed relocation checking in the kernel, we can specify a negative delta (i.e. pointing outside of the target bo) in order to fake a range in a large buffer. We only then need to upload the elements used and adjust the buffer offset such that they correspond with the indices used in the DrawArrays. (Depends on libdrm 0209428b3918c4336018da9293cdcbf7f8fedfb6) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
9fa380ccdcf987430b9bff8e5216869e05b0aaea |
01-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Undo 'continuation of vb packets' This breaks nexuiz for unknown reason; disable until a true fix can be found.
rivers/dri/i965/brw_draw_upload.c
|
69b3f24658b74f15b622adda6464a6fcb87f4ee6 |
01-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Fix uploading of shortened vertex packets ... handle all cases and not just the interleaved upload. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
6ddfb322f58c7e00db73e25689ee55ffa1111bd9 |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Upload all vertices used ... and take advantage of start_vertex_bias to trim to [min_index, max_index] where possible (i.e. when we need to upload all arrays). Fixes half_float_vertex(misc.fillmode.wireframe) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34595 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
186d3bc7a3389b78a851e34d8f970c28b8db1608 |
01-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge." This reverts commit 4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d, as it caused a regression on Ironlake (bug #34646).
rivers/dri/i965/brw_fs.cpp
|
6c324777a685d28d0a81d23157e4863240552999 |
01-Mar-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: bump VS thread number to 60 on SNB Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_vs_state.c
|
9c16fcc617b8c5c4db825ed290f994e535de8c65 |
01-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: shared the compressor code between signed/unsigned No idea why I didn't do it like this the first time, but share the code like other portions of mesa do using _tmp.h suffix and some #defines for the types. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texcompress_rgtc.c
ain/texcompress_rgtc_tmp.h
|
7b3bec87dfb02e8ee43f64da12c928d76883aa61 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
vbo: silence unused var warning
bo/vbo_exec_array.c
|
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move PBO-related functions into a new file
Conscript
rivers/common/meta.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/unichrome/via_tex.c
rivers/x11/xm_dd.c
ain/bufferobj.c
ain/bufferobj.h
ain/colortab.c
ain/dlist.c
ain/drawpix.c
ain/pbo.c
ain/pbo.h
ain/pixel.c
ain/polygon.c
ain/readpix.c
ain/texgetimage.c
ain/texstore.c
ain/texstore.h
ources.mak
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
7d8db55148b0861e35ec6bb6323db6dad4c8f17f |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: always generate error in glColorTableParameter[fi]v() These were only used by GL_SGI_texture_color_table, which is gone now.
ain/colortab.c
|
9d20849516fe34bb0a430b007cef7878858cf0c7 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_SGI_texture_color_table support It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
ain/attrib.c
ain/colortab.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/pixel.c
ain/texstate.c
wrast/s_texcombine.c
|
c6991433ef343a8cbaf3f4cfacb74ddcd049c6a4 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate framebuffer target lookup code
ain/fbobject.c
|
fec26193fbc279985ba91740f654c82dbd8a7a67 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove some old do-nothing code
ain/framebuffer.c
|
1f9a0a4e6e5566c36c781add5f1e62af3efdfb58 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: reduce calls to _mesa_test_framebuffer_completeness() when updating/validating framebuffer state. The _Status field is set to zero when we need to recompute _Status. Otherwise, it's up to date.
ain/framebuffer.c
|
b0fceae22f008f3963a392ebd57d7d2a095a5e05 |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: reduce calls to _mesa_test_framebuffer_completeness() when doing glCopyTex[Sub]Image() and checking the source buffer's completeness. We only need to determine FBO completeness when the status is indeterminate.
ain/teximage.c
|
ca1b5515621d4ab9e90e27533fbc0fafa5cf641b |
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/mesaFormat/attFormat/
ain/fbobject.c
|
3f600047d95f46995915d46aff574796d088fa83 |
28-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
rgtc: fix void pointer arith. should fix scons build.
ain/texcompress_rgtc.c
|
0a163cf56d1e412629cb802480998a982a47bb3c |
26-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Enable GL_OES_texture_3D extension for ES2.
ain/extensions.c
|
93893139a4e81d0ac59c30ce7d1a124902bd36ef |
28-Feb-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Add texcompress_rgtc.c to SConscript.
Conscript
|
83ebc01c1dd1cd8a960a2a61fc7203f8312644d5 |
25-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: add RGTC format support. this just adds a format check + format conversion.
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
903726d2859d6ce51e4bc96038be1830bd276f1a |
24-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
swrast: add RGTC support
ain/extensions.c
ain/texformat.c
|
8d47c919859e9cd90cfc04eb220ac8a5aa87048e |
22-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: Add RGTC texture store/fetch support. This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/formats.c
ain/formats.h
ain/texcompress.c
ain/texcompress_rgtc.c
ain/texcompress_rgtc.h
ain/texfetch.c
ain/texstore.c
ources.mak
|
e792e79f5ae6be008d9521eccf1c647492cd682a |
25-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: make_float_temp_image non-static We need this to do signed stuff for RGTC.
ain/texstore.c
ain/texstore.h
|
bce4f9ac395986ee0acae2702ed73448333d81b8 |
28-Feb-2011 |
Christian König <deathsimple@vodafone.de> |
st/mesa & v_bug_mgr: two small instanced drawing fixes
tate_tracker/st_draw.c
|
dea5e57861ec998cb7ee913a8819752cb9fa946b |
15-Feb-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use the current context rather than last bound context for a drawable. If another thread bound a context to the drawable then unbound it, the driContextPriv would end up NULL. With the previous two fixes, this fixes glx-multithread-makecurrent-2, despite the issue not being about the multithreaded makecurrent.
rivers/dri/intel/intel_screen.c
|
58f7c9c72ee52527610b26ca8a137dd88c082c89 |
25-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Initial plumbing to support TXD. This adds the opcode and the code to convert ir_txd to OPCODE_TXD; it doesn't actually add support yet.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
2830b1ae9032666e62460de5aece8db843c51c14 |
28-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Complete TXL support on gen5+. Initial plumbing existed to turn the ir_txl into OPCODE_TXL, but it was never handled.
rivers/dri/i965/brw_fs.cpp
|
4ddd11aad6a396e98ae30e3e78f6736804eae541 |
28-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Complete TXL support on gen4. Initial plumbing existed to turn the ir_txl into OPCODE_TXL, but it was never handled.
rivers/dri/i965/brw_fs.cpp
|
e54d62b89677624b5806442cc5053c0ceedd79b0 |
28-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Use a properly named constant in TXB handling. The old value, BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE makes it sound like we're doing a non-bias texture lookup. It has the same value as the new constant BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_BIAS_COMPARE, so there should be no functional changes.
rivers/dri/i965/brw_fs.cpp
|
a3cd542894606e3f2c892a4218cc6f7370c827a5 |
28-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add #defines for gen4 SIMD8 TXB/TXL with shadow comparison. From volume 4, page 161 of the public i965 documentation.
rivers/dri/i965/brw_defines.h
|
8e17adfdbd96ba1a11cda329ddfd2b997255ea20 |
25-Feb-2011 |
Jerome Glisse <jglisse@redhat.com> |
gallium/st: place value check before value is use 7.9 & 7.10 candidate Signed-off-by: Jerome Glisse <jglisse@redhat.com>
tate_tracker/st_mesa_to_tgsi.c
|
e6e5c1f46d374015d924522ed0b2bf2443c3e6d4 |
24-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Increase Sandybridge point size clamp in the clip state. 255.875 matches the hardware documentation. Presumably this was a typo. NOTE: This is a candidate for the 7.10 branch, along with commit 2bfc23fb86964e4153f57f2a56248760f6066033. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_clip_state.c
|
c0ad70ae31ee5501281b434d56e389fc92b13a3a |
05-Feb-2011 |
Neil Roberts <neil@linux.intel.com> |
intel: Try using glCopyTexSubImage2D in _mesa_meta_BlitFramebuffer In the case where glBlitFramebuffer is being used to copy to a texture without scaling it is faster if we can use the hardware to do a blit rather than having to do a texture render. In most of the drivers glCopyTexSubImage2D will use a blit so this patch makes it check for when glBlitFramebuffer is doing a simple copy and then divert to glCopyTexSubImage2D. This was originally proposed as an extension to the common meta-ops. However, it was rejected as using the BLT is only advantageous for Intel hardware. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33934 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
|
f19439940c43aa9d937716c6f1ee70cc26799e08 |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Remember to pack the constant blend color as floats into the batch Fixes regression from aac120977d1ead319141d48d65c9bba626ec03b8. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_cc.c
|
5ce0f7f10908a0636900bae783cb426a6c607673 |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Reset the buffer offset after releasing reference to packed upload Fixes oglc/vbo(basic.bufferdata) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34603 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
|
135ccb2daecb7792dfb17e66ab0acb79a97f78c8 |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Unmap the correct pointer after discontiguous upload Fixes piglit/fbo-depth-sample-compare: ==14722== Invalid free() / delete / delete[] ==14722== at 0x4C240FD: free (vg_replace_malloc.c:366) ==14722== by 0x84FBBFD: intel_upload_unmap (intel_buffer_objects.c:695) ==14722== by 0x85205BC: brw_prepare_vertices (brw_draw_upload.c:457) ==14722== by 0x852F975: brw_validate_state (brw_state_upload.c:394) ==14722== by 0x851FA24: brw_draw_prims (brw_draw.c:365) ==14722== by 0x85F2221: vbo_exec_vtx_flush (vbo_exec_draw.c:389) ==14722== by 0x85EF443: vbo_exec_FlushVertices_internal (vbo_exec_api.c:543) ==14722== by 0x85EF49B: vbo_exec_FlushVertices (vbo_exec_api.c:973) ==14722== by 0x86D6A16: _mesa_set_enable (enable.c:351) ==14722== by 0x42CAD1: render_to_fbo (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) ==14722== by 0x42CEE3: piglit_display (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) ==14722== by 0x42F508: display (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) ==14722== Address 0xc606310 is 0 bytes after a block of size 18,720 alloc'd ==14722== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==14722== by 0x85202AB: copy_array_to_vbo_array (brw_draw_upload.c:256) ==14722== by 0x85205BC: brw_prepare_vertices (brw_draw_upload.c:457) ==14722== by 0x852F975: brw_validate_state (brw_state_upload.c:394) ==14722== by 0x851FA24: brw_draw_prims (brw_draw.c:365) ==14722== by 0x85F2221: vbo_exec_vtx_flush (vbo_exec_draw.c:389) ==14722== by 0x85EF443: vbo_exec_FlushVertices_internal (vbo_exec_api.c:543) ==14722== by 0x85EF49B: vbo_exec_FlushVertices (vbo_exec_api.c:973) ==14722== by 0x86D6A16: _mesa_set_enable (enable.c:351) ==14722== by 0x42CAD1: render_to_fbo (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) ==14722== by 0x42CEE3: piglit_display (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) ==14722== by 0x42F508: display (in /home/ickle/git/piglit/bin/fbo-depth-sample-compare) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34604 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
a2029a78c39427f9bd7e24bbe5a5ff124f9d446b |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Protect against waiting on a NULL render target bo If we fall back to software rendering due to the render target being absent (GPU hang or other error in creating the named target), then we do not need to nor should we wait upon the results. Reported-by: Magnus Kessler <Magnus.Kessler@gmx.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34656 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_context.c
|
13f5a4d3169be75136ee5255474df803a8f4e070 |
18-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: treat 1D ARRAY upload like a depth or 2D array upload. This is because the HW doesn't always store a 1D array like a 2D texture, it more likely stores it like 2D texture (i.e. alignments etc). This means we upload each slice separately and let the driver work out where to put it. this might break nvc0 as I can't test it, I have only nv50 here. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_cb_texture.c
|
671018aa99528a41955654f62120eeea0c5517e1 |
24-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: gen3 is particular sensitive to batch size ... and prefers a small batch whereas gen4+ prefer a large batch to carry more state. Tuning using openarena/padman indicate that a batch size of just 4096 is best for those cases. Bugzilla: https://bugs.freedesktop.org/process_bug.cgi Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_context.c
|
19ac5fa50dbb2f80eb0d47866b1474e3bd7a84dc |
23-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: And remember assign the new value to the state reg... Fixes regression from 298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34589 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_state.c
|
b65e2195c4a3aeb6179e2ec227ba0a2414efc8af |
23-Feb-2011 |
Wiktor Janas <wixorpeek@gmail.com> |
st/mesa: fix computing the lowest address for interleaved attribs Ptr can be very well NULL, so when there are two arrays, with one having offset 0 (and thus NULL Ptr), and the other having a non-zero offset, the non-zero value is taken as minimum (because of !low_addr ? start ...). On 32-bit systems, this somehow works. On 64-bit systems, it leads to crashes. Signed-off-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_draw.c
|
6d1f28d6c045f768da2eee779006535acf382cce |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: added vbo_check_buffers_are_unmapped() debug function
bo/vbo.h
bo/vbo_exec_array.c
|
bcd017f16fd00723a00a212775e22c55fac2af27 |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: removed unused #defines, add comments
bo/vbo_exec.h
|
eb24a5a9be2d517dfe5a00c869e6255ed7a279ce |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move comment, change debug code
ain/dlist.c
|
d7fcb2ac81e1b1da593f0ce7375324773470d8ed |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: simplify NeedFlush flag clearing
bo/vbo_exec_api.c
|
d8aebc4e4b9bb2b62dec5849698cfc1f2ed67c21 |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: use ctx intstead of exec->ctx
bo/vbo_exec_api.c
|
90e227f0791cb585dc4e4e1f71e32c67f5e20436 |
11-Feb-2011 |
Andy Skinner <Andy.Skinner@mathworks.com> |
xlib: pass Display pointer to XMesaGarbageCollect() Fixes an issue when different displays are used on different threads. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesa.h
|
2bfc23fb86964e4153f57f2a56248760f6066033 |
20-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Increase Sandybridge point size clamp. 255.875 matches the hardware documentation. Presumably this was a typo. Found by inspection. Not known to fix any issues. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
|
4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d |
20-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Correctly set up gl_FragCoord.w on Sandybridge. pixel_w is the final result; wpos_w is used on gen4 to compute it. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
df2aef0e197f9276f60a8e755260420c90841269 |
20-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Refactor control flow stack handling. We can't safely use fixed size arrays since Gen6+ supports unlimited nesting of control flow. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
2c2686b912de19a430aba9f5ea5fa679eabdc5c6 |
19-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Avoid register coalescing away gen6 MATH workarounds. The code that generates MATH instructions attempts to work around the hardware ignoring source modifiers (abs and negate) by emitting moves into temporaries. Unfortunately, this pass coalesced those registers, restoring the original problem. Avoid doing that. Fixes several OpenGL ES2 conformance failures on Sandybridge. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
72cd7e87d35e96fad9643f1cee706a8568fa3fa1 |
19-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965/fs: Apply source modifier workarounds to POW as well. Single-operand math already had these workarounds, but POW (the only two operand function) did not. It needs them too - otherwise we can hit assertion failures in brw_eu_emit.c when code is actually generated. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
3e91070ea81da970b640acf22e2b1aa761161906 |
22-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix shaders that write to gl_PointSize on Sandybridge. gl_PointSize (VERT_RESULT_PSIZ) doesn't take up a message register, as it's part of the header. Without this fix, writing to gl_PointSize would cause the SF to read and use the wrong attributes, leading to all kinds of random looking failure. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/gen6_sf_state.c
|
c6cedd43feccb9341c597329e28bb432c491939f |
22-Feb-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Avoid undeclared ffs function warning on mingw.
ain/imports.h
|
695cdee67827ee2c11e1445eb2022d3a530f1b23 |
20-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix crash when using both user and vbo buffers with the same stride If two buffers had the same stride where one buffer is a user one and the other is a vbo, it was considered to be one interleaved buffer, resulting in incorrect rendering and crashes. This patch makes sure that the interleaved buffer is either user or vbo, not both.
tate_tracker/st_draw.c
|
7942e6a5ae0113f1cbdf62b772849cf6cdd4eca1 |
20-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix crash when DrawBuffer->_ColorDrawBuffers[0] is NULL This fixes the game Tiny and Big.
tate_tracker/st_cb_clear.c
|
3adc108b4a7460ef5d92c0f5f0ee655d4ca6cb32 |
22-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Trim the interleaved upload to the minimum number of vertices ... should have no impact on a properly formatted draw operation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
b4cbd2b312d53a50603e2cda925711bc9def4517 |
22-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Reinstate max-index paranoia Don't trust the applications not to reference beyond the end of the vertex buffers. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
3377faffcdc7227bd27381894c87c7600547744f |
22-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Zero the offset into the vbo when uploading non-interleaved Fixes regression from 559435d9152acc7162e4e60aae6591c7c6c8274b. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
9e872a5865c66ed0a518dd1c6c54e72f3afa71f1 |
22-Feb-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix VB packet reuse when offset for the new buffer isn't stride aligned. Fixes regression in scissor-stencil-clear and 5 other tests.
rivers/dri/i965/brw_draw_upload.c
|
12f25eb6d5521ad2dc61eab08331c1ea8d3c67f7 |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: convert macros to inline functions" This reverts commit e9ff76aa81d9bd973d46b7e46f1e4ece2112a5b7. Need to use macros so __FUNCTION__ reports the caller.
ain/context.h
|
e2d108ec828bdbebdc7e8f9df30c86f0b521aa8d |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: need to translate clear color according to surface's base format When clearing a GL_LUMINANCE_ALPHA buffer, for example, we need to convert the clear color (R,G,B,A) to (R,R,R,A). We were doing this for texture border colors but not renderbuffers. Move the translation function to st_format.c and share it. This fixes the piglit fbo-clear-formats test. NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_clear.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
c966c6980c2a4a1e50b238f7607a9ce111f6c0b4 |
22-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix the default case in st_format_datatype() Part of the fix for piglit fbo-clear-formats NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_format.c
|
7dbafea860dace9bfad29760f8b756122bc9937a |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect texture size allocation in st_finalize_texture() If finalizing a non-POW mipmapped texture with an odd-sized base texture image we were allocating the wrong size of gallium texture (off by one). Need to be more careful about computing the base texture image size. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=34463
tate_tracker/st_cb_texture.c
|
4cdcec08d14a0709b09dc82a35367b2bcc817957 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: refactor guess_and_alloc_texture() code
tate_tracker/st_cb_texture.c
|
51f9713e39a4bd6dddff40328ca17632b80c5c81 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix mipmap generation for non-POW textures This is part of the fix for https://bugs.freedesktop.org/show_bug.cgi?id=34463
tate_tracker/st_gen_mipmap.c
|
e9ff76aa81d9bd973d46b7e46f1e4ece2112a5b7 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: convert macros to inline functions
ain/context.h
|
da9adb9613ff55638e37186c89bfa4a558cafb28 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: more comments
bo/vbo_exec_api.c
|
6f027ba20d6bb642f1d05cc3ad63169e4f3196e1 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: make vbo_exec_FlushVertices_internal() static
bo/vbo_exec.h
bo/vbo_exec_api.c
|
bbd756e824c8d37bc7f8e9138466e8cad067afc5 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: remove old debug code, add comments
bo/vbo_exec_api.c
|
7cba2df4a6f3b4435fe4be277db4a87b2a0f89e3 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: rename, document function params
bo/vbo_exec_draw.c
|
f0c8e7c32766cb78756de24a9ca5e8c28017a682 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: comments
bo/vbo_exec_draw.c
|
0ba2810e47d68ec24a93c5fc74cf99afe50e8c9b |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: replace assert(0) with proper assertions
bo/vbo_exec_draw.c
|
ae4b6e04cdea188f6b5e656a1aafb6c3343fe5a7 |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: rename some vars, add new comments, fix formatting, etc.
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
8b2598d000e4002bd0f07bf1eeecf4488fb6627c |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: use ctx instead of exec->ctx
bo/vbo_exec_api.c
|
f9e1542286a05e9773f8f31ee75887f6da969cdb |
21-Feb-2011 |
Brian Paul <brianp@vmware.com> |
radeon: add default switch case to silence unhandled enum warning
rivers/dri/radeon/radeon_fbo.c
|
497baf4e4a6a0a2f247c7bfb9bf69a2b93c2c19f |
10-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Use C-style system headers in C++ code to avoid issues with std:: namespace
rogram/sampler.cpp
|
5a1fbf0f70a1c2d444f61494f86e26ca866c31d5 |
21-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Fix insufficient integer width for upload buffer offset I was being overly miserly and gave the offset of the buffer into the bo insufficient bits, distracted by the adjacency of the buffer[4096]. Ref: https://bugs.freedesktop.org/show_bug.cgi?id=34541 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_context.h
|
a43f20e0699f0b60d1e1e3e7a0693192f8d2895d |
21-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Remove spurious duplicate ADVANCE_BATCH ... a leftover from a bad merge. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
2c6793fb6bc89df16c23f727bcb072a157ab8d10 |
25-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Emit a single relocation per vbo Reducing the number of relocations has lots of nice knock-on effects, not least including reducing batch buffer size, auxilliary array sizes (vmalloced and copied into the kernel), processing of uncached relocations etc. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
|
298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e |
26-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Suppress emission of redundant stencil updates Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_state.c
|
7c97e288fb6a105ea60c377aef4472cc33ca01bc |
26-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Separate BLEND from general context state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
4f82585e279276e08c719d55218cd64a2c880a6b |
26-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Only flag context changes if the actual state is changed Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_state.c
|
0b0cad38c57fbe59710cb4058866b2e68f6d471a |
25-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: suppress repeated sampler state emission Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_vtbl.c
|
87641cffd97f328e846604d314c21582f426a19a |
25-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Eliminate redundant CONSTANTS updates Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_program.c
|
41260a9bf63aa61f88f188053f1ed4dba3a852d2 |
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Use compiler builtins when available Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_util.h
ain/imports.c
ain/imports.h
|
8ea6e98c7be6483514769b03ffa6c6f4f7b2e0be |
20-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Micro-optimise check_state Replace the intermediate tests due to the logical or with the bitwise or. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_state_upload.c
|
50ade6ea697953bb17e3ca7210515fbd0411cd1e |
30-Dec-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: use throttle ioctl for throttling Rather than waiting on the first batch after the last swapbuffers to be retired, call into the kernel to wait upon the retirement of any request less than 20ms old. This has the twofold advantage of (a) not blocking any other clients from utilizing the device whilst we wait and (b) we attain higher throughput without overloading the system. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
46131a824ffa3b658c822fd6cc543a5935773a6f |
12-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Remove unused 'next_free_page' member Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
|
57ca0803b34587f1148b218a11d2193b0d4f4c97 |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Skip the flush before read-pixels via blit As we will flush when reading the return values of the blit, we can forgo the earlier flush. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_pixel_read.c
|
c625aa19cb53ed27f91bfd16fea6ea727e9a5bbd |
18-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: extend current vertex buffers If the next vertex arrays are a (discontiguous) continuation of the current arrays, such that the new vertices are simply offset from the start of the current vertex buffer definitions we can reuse those defintions and avoid the overhead of relocations and invalidations. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_buffer_objects.c
|
a07e4811794051dc65187d17b7f85e340e61854e |
18-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Use specified alignment for writes into the upload buffer Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
d9e591391d490c83ce301aa568a2e0afe4cc3c0a |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Clean up brw_prepare_vertices() Use a temporary glarray variable to replace the numerous input->glarray. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
3630d5b69afcecc3142d2c4897835175886f4bd8 |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: combine short memcpy using a temporary allocated buffer Using a temporary buffer for large discontiguous uploads into the common buffer and a single buffered upload is faster than performing the discontiguous copies through a mapping into the GTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
dfc6c96e5c470f6136cad26b753c024538fd09a0 |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: upload normal arrays as interleaved Upload the non-vbo arrays into a single interleaved buffer object, and so need to just emit a single vertex buffer relocation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
94d73d700e804ce78c214c58e84382c81dcb8280 |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: interleaved vbo If the user passed in several arrays interleaved in the same vbo, only emit a single vertex buffer and relocation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
559435d9152acc7162e4e60aae6591c7c6c8274b |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: emit one vb packet per vbo Track reuse of the vertex buffer objects and so minimise the number of vertex buffers used by the hardware (and their relocations). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
|
abb51097566c401344b22a7ee9d699f002a1977f |
11-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: upload transient indices into the same discontiguous buffer As we now pack the indices into a common upload buffer, we can reuse a single CMD_INDEX_BUFFER packet and translate each invocation with a start vertex offset. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
60bb3e5614a533ff886bf1ddb6341ff34f75c886 |
20-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: suppress repeat-emission of identical vertex elements Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
aac120977d1ead319141d48d65c9bba626ec03b8 |
20-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Move repeat-instruction-suppression to batchbuffer core Move the tracking of the last emitted instructions into the core batchbuffer routines and take advantage of the shadow batch copy to avoid extra memory allocations and copies. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
|
8d68a90e225d831a395ba788e425cb717eec1f9a |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: use pwrite for batch It's faster. Not only is the memcpy more efficiently performed in the kernel (making up for the system call overhead), but by not using mmap we remove the greater overhead of tracking the vma of every batch. And it means we can read back from the batch buffer without incurring the cost of a uncached read through the GTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_syncobj.c
rivers/dri/intel/intel_tex_image.c
|
3f55683927278e57f3ef8a151d15f4cffdc060dc |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: drop state_bo references to batch_bo As we use state relocations and we know that all the state belongs to the same bo, we can drop the multiple references to the same bo. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
|
1be3764dbe8d8ab2259c206a2158fe8f3c62c962 |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: directly write wm state to batch As we write directly into the batch in system memory, we do not need to write first to the stack (as was to avoid read back through the GTT) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_wm_surface_state.c
|
df156549e7ce284f0cf887eec1bad9aa1392ebbf |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: write cc straight to batch As we write directly into the batch in system memory, we do not need to write first to the stack (as was to avoid read back through the GTT) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_cc.c
|
f29606598e7703d830440a878673d98e7ce13218 |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: switch gen6 to use its own cc state bo In preparation for a greater change, use the color_calc_state_bo already provisioned for this purpose. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/gen6_cc.c
|
8a9e67b8df9836408270a4bc3660ec45b622ae56 |
10-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Buffered upload Rather than performing lots of little writes to update the common bo upon each update, write those into a static buffer and flush that when full (or at the end of the batch). Doing so gives a dramatic performance improvement over and above using mmaped access. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_context.h
|
40ee15407ab626f466a12c239fc39cb872bec804 |
09-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Replace the bo for a complete update Rather than performing a blit to completely overwrite a busy bo, simply discard it and create a new one with the fresh data. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_buffer_objects.c
|
abb37861d9f3310fe2d16194d893682092f41087 |
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Combine vb upload buffer with the general upload buffer Reuse the new common upload buffer for uploading temporary indices and rebuilt vertex arrays. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
e476e122207e6195a16a8c7d2cab90eeba227934 |
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Pack dynamic draws together Dynamic arrays have the tendency to be small and so allocating a bo for each one is overkill and we can exploit many efficiency gains by packing them together. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_tex_image.c
|
d0809d7b15ba58c05bb0b63128c9cf7042304cd2 |
08-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Use system memory for DYNAMIC_DRAW source objects Dynamic draw buffers are used by clients for temporary arrays and for uploading normal vertex arrays. By keeping the data in memory, we can avoid reusing active buffer objects and reallocate them as they are changed. This is important for Sandybridge which can not issue blits within a batch and so ends up flushing the batch upon every update, that is each batch only contains a single draw operation (if using dynamic arrays or regular arrays from system memory). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_buffer_objects.c
|
45ba7afbd15b28ffd61548ee46334ff4527a7cde |
29-Jan-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Trim the trailing NOOP from 3DSTATE_INDEX_BUFFER Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_draw_upload.c
|
13bab58f04c1ec6d0d52760eab490a0997d9abe2 |
18-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i965: Fallback on encountering a NULL render buffer Following a GPU hang, or other error, the render target is not likely to have an allocated BO and so we must fallback to avoid using it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32534 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i965/brw_wm_surface_state.c
|
7ea729a1855e93b3c41c72781950f8612221fd5c |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
vbo: add debug code to verify that buffers are unmapped before drawing
bo/vbo_exec_array.c
|
6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: MESA_VERBOSE logging for glRead/Draw/CopyPixels, glBlitFramebuffer
ain/drawpix.c
ain/fbobject.c
ain/readpix.c
|
633c9fcf781d4cc23d69d4d839cf2143ac9df1fd |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: set renderbuffer _BaseFormat in a few places NOTE: This is a candidate for the 7.9 and 7.10 branches
tate_tracker/st_cb_fbo.c
|
09f14a60867ed902a27307da090e429546d8e838 |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: check buffer orientation in blit_copy_pixels() Can't invert the region if copying between surfaces with different orientations.
tate_tracker/st_cb_drawpixels.c
|
bb46eeade3a3eb604aba5c084d1e21942c2fa2ac |
17-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix geometry corruption by always re-binding vertex arrays This is a temporary workaround. It fixes sauerbrauten with shaders enabled. I guess we might be changing vertex attribs somewhere and not updating the appropriate dirty flags, therefore we can't rely on them for now. Or maybe we need to make this state dependent on some other flags too. More info: https://bugs.freedesktop.org/show_bug.cgi?id=34378
tate_tracker/st_draw.c
|
d252db7af1370246c76b46f4b9e66b352879bd9b |
18-Feb-2011 |
Cyril Brulebois <kibi@debian.org> |
Point to bugs.freedesktop.org rather than bugzilla.freedesktop.org Suggested by a freedesktop.org admin. Signed-off-by: Cyril Brulebois <kibi@debian.org>
ain/imports.c
|
b736b4a2b5c07b502e15e49ba2a9f10b0c5f3ab7 |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement blit-based path for glCopyPixels If doing a simple non-overlapping glCopyPixels with no per-fragment ops we can use pipe_context::resource_copy_region().
tate_tracker/st_cb_drawpixels.c
|
d44fbd3c9d976763ec1f4a8f0314f294be8c14f4 |
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments for _mesa_clip_readpixels()
ain/image.c
|
de2f25de269894d591b144ac0583a78f5a5e992b |
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: indentation fix
tate_tracker/st_cb_drawpixels.c
|
d1becefb057ce89eeb93e130cb0d0c63de4be3d8 |
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glCopyPixels position on fallback path If we hit the pipe_get/put_tile() path for setting up the glCopyPixels texture we were passing the wrong x/y position to pipe_get_tile(). The x/y position was already accounted for in the pipe_get_transfer() call so we were effectively reading from 2*readX, 2*readY. NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_cb_drawpixels.c
|
8902c42db4fd72568cfa071987cfa10e7a366c2e |
17-Feb-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Do copy propagation across if-else-endif. Addresses excessive TEMP allocation in vertex shaders where all CONSTs are stored into TEMPS at the start, but copy propagation was failing due to the presence of IFs. We could do something about loops, but ifs are easy enough.
rogram/ir_to_mesa.cpp
|
f9df46f873ba3db15baaf77da9ee4dd98cb5f762 |
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused screen variables
tate_tracker/st_cb_texture.c
|
30ed4ced1161ef61efd10de81ff3324d0e7ff39e |
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove the MESA_NO_DITHER env var This was sometimes useful back when 16-bit framebuffers were prominent.
ain/debug.c
ain/enable.c
ain/mtypes.h
|
e162f28228ed56ff041ae870b96b813a52dd6b54 |
15-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_write_renderbuffer_image() non-static
ain/debug.c
ain/debug.h
|
aaceca16dfc57375cdb837b82b3d123e42710c65 |
16-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrap
ain/texgetimage.c
|
8513d3405bd5cd633579b16af1ab04253a8b37d9 |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2 and 4_4 Oops, I copy-pasted a typo from 3_3_2. The 3_3_2 part is a candidate for 7.9 and 7.10. The 4_4 part isn't, because AL44 is in neither branches.
ain/mipmap.c
|
4d6994e40ebccf9428fc757d845e25c0e0c12cef |
16-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix mipmap generation for MESA_FORMAT_AL44 This was missed when implementing AL44.
ain/formats.c
ain/formats.h
ain/image.c
ain/mipmap.c
|
2a2b156ea5ec40110b9e66ba9ccc7d6f3a314723 |
21-Sep-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Remove the DXT compression via blit path. No longer used.
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
|
fc5ab1b19780ef97c5e7f6257a2d91121503bd53 |
16-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_format type instead of GLuint
ain/mtypes.h
|
a231ac23f41a38cf9bde80bab4cb6aa8821d4895 |
16-Feb-2011 |
Chad Versace <chad.versace@intel.com> |
tnl: Add support for datatype GL_FIXED in vertex arrays Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), convert vertex data in GL_FIXED format to GL_FLOAT. Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 NOTE: This is a candidate for the 7.9 and 7.10 branches.
nl/t_draw.c
|
eafb7f234d11a290b00dcaf5492b9bdad1cf5148 |
13-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add usage parameter to pipe_buffer_create And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
|
fdb4373a2083ccd0363737fade295b0bedaf9f50 |
14-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: fix compressed mipmap generation. If the underlying transfer had a stride wider for hw alignment reasons, the mipmap generation would generate badly strided images. this fixes a few problems I found while testing r600g with s3tc Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_gen_mipmap.c
|
dc578188fae099a78a806c7f2cf147d151a014ae |
15-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix GLES build Broken since d5062fb3a315c46d77d5c954a3e3c14be1907d33. I wonder why this code is hidden behind #if by default.
tate_tracker/st_cb_drawtex.c
|
a476ca1fd1b4e76e31c9babfd7fb2a54a09f21d3 |
10-Feb-2011 |
Fabian Bieler <der.fabe@gmx.net> |
st/mesa: Use blend equation and function of first render target for all render targets if ARB_draw_buffers_blend is not supported If EXT_draw_buffers2 is supported but ARB_draw_buffers_blend isn't _mesa_BlendFuncSeparateEXT only sets up the blend equation and function for the first render target. This patch makes sure that update_blend doesn't try to use the data from other rendertargets in such cases. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_blend.c
|
588fa884d212eba5ffbc69fda75db37d7c77214c |
09-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: notify drivers about possible changes in user buffer contents Also implement the redefine_user_buffer hook in the drivers.
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 |
26-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set vertex arrays state only when necessary The vertex arrays state should be set only when (_NEW_ARRAY | _NEW_PROGRAM) is dirty. This assumes user buffer content is mutable, which will be sorted out in the next commit. The following usage case should be much faster now: for (i = 0; i < 1000; i++) { glDrawElements(...); } Or even: for (i = 0; i < 1000; i++) { glSomeStateChangeOtherThanArraysOrProgram(...); glDrawElements(...); } The performance increase from this may be significant in some apps and negligible in others. It is especially noticable in the Torcs game (r300g): Before: 15.4 fps After: 20 fps Also less looping over attribs in st_draw_vbo yields slight speed-up in apps with lots of glDraw* calls.
tate_tracker/st_draw.c
|
cdca3c58aa2d9549f5188910e2a77b438516714f |
10-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove pipe_vertex_buffer::max_index This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
d5062fb3a315c46d77d5c954a3e3c14be1907d33 |
09-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: always save and restore vertex buffers using cso_cache
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_draw.c
|
cfaf217135d8a8e903b3fbf380f18170df018f0c |
12-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
vbo: bind arrays only when necessary We don't need to call bind_arrays in the vbo module if the states which the function depends on are not dirty.
ain/mtypes.h
ain/state.c
bo/vbo_exec_array.c
|
5a01361ceaf29614ba008278e31cf2ffe85f251b |
27-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
vbo: notify a driver that we change buffer offsets, strides, etc.
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
04521c158f54d7d3b541cb3a5c2d94e3f7f5a94d |
12-Feb-2011 |
Eric Anholt <eric@anholt.net> |
dri: Remove the old metaops code which has been superceded by ../common/
rivers/dri/Makefile.template
rivers/dri/common/dri_metaops.c
rivers/dri/common/dri_metaops.h
|
211725eccdda4a9b7959e1f458d253b32186ff6a |
12-Feb-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Remove setup of the old dri/ meta code, which is now unused.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
47589c17b0ea34f2c77c8c9e633349af6d1a2f10 |
12-Feb-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove setup of the old dri/ meta code, which is now unused.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
9106b98766e36b04daf738bd81c4f86eedfa1b8d |
09-Feb-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't erase sources when converting RGB->Alpha https://bugs.freedesktop.org/show_bug.cgi?id=34030 NOTE: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
d1e28b22673777fe1290cda899abf73aad02e4aa |
03-Feb-2011 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
mesa: Optionally build a dricore support library (v3) This an adds --enable-shared-dricore option to configure. When enabled, DRI modules will link against a shared copy of the common mesa routines rather than statically linking these. This saves about 30MB on disc with a full complement of classic DRI drivers. v2: Only enable with a gcc-compatible compiler that handles rpath Handle DRI_CFLAGS without filter-out magic Build shared libraries with the full mklib voodoo Fix typos v3: Resolve conflicts with talloc removal patches Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
akefile
rivers/dri/Makefile.template
86/read_rgba_span_x86.S
|
3803295fc2b9c517e80aa46f2338308e23e64e4a |
12-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Don't dereference a NULL pointer during copy propagation The ACP may already be NULL, so don't try to make it NULL again. This should fix bugzilla #34119.
rogram/ir_to_mesa.cpp
|
81affb8f4cb1a8e0304002d9cb3630ad42710b4c |
08-Feb-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
st/mesa: Fix surfaceless opengl with non-dummy contexts main/context.c:check_complatible() detecs an incomplete framebuffer using its pointer, so do not copy it. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=34042
tate_tracker/st_manager.c
|
3ee97ead0b827e6c6a40ec1a326f9d01d5e5b413 |
11-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unused gl_shader fields
ain/mtypes.h
|
2e8726f5b156ec59fd5c8b80a7947183055d80c2 |
11-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove empty header file s_trispan.h.
rivers/beos/GLView.cpp
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
wrast/s_trispan.h
|
c0beaf6e6d5764531a4cb21d0d0a9a1fd09affee |
10-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupported In this case, we always use the corresponding linear format in create_surface, therefore we should check for linear format support as well.
tate_tracker/st_cb_fbo.c
|
4c1dc1c4d772b06578567f14419fdd4f27843825 |
10-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Force lowering of all types of indirect array accesses in the FS NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/i915/i915_context.c
|
53b8b6884355da3737d1ff714f1fadc69d1745e4 |
10-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Calculate partial result to temp register first Previously the SNE and SEQ instructions would calculate the partial result to the destination register. This would cause problems if the destination register was also one of the source registers. Fixes piglit tests glsl-fs-any, glsl-fs-struct-equal, glsl-fs-struct-notequal, glsl-fs-vec4-operator-equal, glsl-fs-vec4-operator-notequal. NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/i915/i915_fragprog.c
|
21b0996dfcbe62c55dd31cc316cd47f2b8531d2e |
06-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/st: enable GL_EXT_framebuffer_sRGB If the formats don't match we need to update the surface with the new format. if we can render to SRGB formats, enable the extension Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_extensions.c
|
a7293cbe5c5e2db29fb36842747da7dd62d9de06 |
08-Feb-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa/st: Clean up vertex buffer unreferencing Avoid accessing draw module internal structures outside of the draw module. Unreference vertex buffers in error path. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_draw_feedback.c
|
f70c98b6a628e7450728431c0ca877a37a5af70f |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
r200: add cast to silence warning
rivers/dri/r200/r200_vertprog.c
|
3b0c2eb07cdffe372f816cc30a3e6108a510e946 |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused BITFIELD64 macros
ain/mtypes.h
|
6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_create_context_for_api() Just add the gl_api parameter to _mesa_create_context().
rivers/beos/GLView.cpp
rivers/dri/i810/i810context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/unichrome/via_context.c
rivers/windows/gldirect/dglcontext.c
ain/context.c
ain/context.h
tate_tracker/st_context.c
|
5e4ca1ccc9029fd75bb7676dc128e33d12da9665 |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_initialize_context_for_api() Just add the gl_api parameter to _mesa_initialize_context().
rivers/dri/intel/intel_context.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/swrast/swrast.c
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_api.c
ain/context.c
ain/context.h
|
2634e92dc0cecc364984bef9169a91bb96bafdcd |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add/update VERBOSE_API logging
ain/blend.c
ain/bufferobj.c
ain/depth.c
ain/hint.c
ain/lines.c
ain/queryobj.c
ain/shaderapi.c
ain/stencil.c
|
7230e1a22822ce91f2d2555da53404f195fa9aaf |
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix shader deletion regression Fixes a regression from commit 5cbff0932e498f49b57cbb71037b93416bfe30e0. The problem is *some* glDrawPixels fragment programs need to be deleted, but not all. Use an explicit flag to indicate whether or not the program needs to be deleted. This should fix http://bugs.freedesktop.org/show_bug.cgi?id=34049
tate_tracker/st_program.c
|
f6f04ae29c25ec93ee7e28bd8525e43332262e28 |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing DEFINE_BITS for brw dirty bits. These are only used for debugging, but should be there. Found by inspection.
rivers/dri/i965/brw_state_upload.c
|
58b7e37722a899e1033244e5f14371be7601e7e9 |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Separate the BRW_NEW_(VS|WM)_CONSTBUF dirty bits. These were incorrectly defined to the same value - likely due to a cut and paste error. Found by inspection.
rivers/dri/i965/brw_context.h
|
71acbb54f49089b03d3498b6f88c1681d3f649ac |
09-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename a few more commands to match the documentation.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
|
df8ca3e0ec7bb804d9a225ed8e888b7199b70567 |
05-Feb-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove pointless keying of WM state on VUE size.
rivers/dri/i965/brw_wm_state.c
|
76857e8954484d5bf8758d7bfc87f264f95a0ebd |
04-Feb-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the Mesa IR copy propagation to not read past writes to the reg. Fixes glsl-vs-post-increment-01. Reviewed-by: José Fonseca <jfonseca@vmware.com>
rogram/ir_to_mesa.cpp
|
80424700574e128070f457d79e1920d512a1efda |
08-Feb-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa/st: Plug a fragment program variant parameter leak Fixes a minor memory leak with the "engine" mesa demo. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_program.c
|
5cbff0932e498f49b57cbb71037b93416bfe30e0 |
08-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: free the temporary bitmap/drawpix shader code Fixes a per-shader memory leak when drawing glBitmaps, glDrawPixels or glCopyPixels. NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_program.c
|
bb1036aae5b31af583b9aa263fec73c899383493 |
07-Feb-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa/st: Fix vertex buffer leak Make sure we unreference the vertex buffer pointers in a local array. This fixes huge vertex buffer / memory leaks in mesa demos "fire" and "engine". NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_draw_feedback.c
|
2adfde3aaee43d7ec974d25794a07fe02f36c6cd |
04-Feb-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
intel: Implement dri2::{Allocate,Release}Buffer
rivers/dri/intel/intel_screen.c
|
1b8ef9416bf3a4d2d47fcf9935063af57da2975d |
04-Feb-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
Add dri2::{Allocate,Release}Buffer extension
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
68b701f5ded5f6b73a6b07cf37d862fab4836607 |
06-Feb-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Disable register rename pass on r500 The scheduler and the register allocator are not good enough yet to deal with the effects of the register rename pass. This was causing a 50% performance drop in Lightsmark. The pass can be re-enabled once the scheduler and the register allocator are more mature. r300 and r400 still need this pass, because it prevents a lot of shaders from using too many texture indirections. NOTE: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/r3xx_fragprog.c
|
19202284c069b1295d590aa6c04809e5e33bda57 |
05-Feb-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't count BEGIN_TEX instructions in the compiler stats
rivers/dri/r300/compiler/radeon_compiler.c
|
88ffa9ce5b8e5fe2b93238f8b9a7a888be28324e |
28-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/965: add support for GL_EXT_framebuffer_sRGB (v2) This adds i965 support for GL_EXT_framebuffer_sRGB, it introduces a new constant to say that the driver can support sRGB enabled FBOs since enabling the extension doesn't mean the driver can actually support sRGB. Also adds the suggested state flush in the core code suggested by Brian. fix the ARB_fbo color encoding. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
ain/enable.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
|
5c3f1cdbbeb4d787bad7729ccd3f10aa78d113ac |
04-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix error checks in GetVertexAttrib functions Querying index zero is not an error in OpenGL ES 2.0. Querying an index larger than the value returned by GL_MAX_VERTEX_ATTRIBS is an error in all APIs. Fixes bugzilla #32375.
ain/varray.c
|
1b80622c4e94e8c59eb2f7ee9989d99712baff8f |
31-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop the dead tracking of color_regions[]. We pull the draw regions right out of the renderbuffers these days.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
|
95cdce7f703ff24ee39ec9a341141622842d61b9 |
20-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Drop the INTEL_DEBUG=state spam about the cache size check. There's way more interesting info in INTEL_DEBUG=state if you could find it among the state size checks.
rivers/dri/i965/brw_state_cache.c
|
b43a147128a1144a5fe4afcda412ccaba0c0793b |
30-Jan-2011 |
Haitao Feng <haitao.feng@intel.com> |
swrast: add an interface createNewContextForAPI This new interface could set up context for OpenGL, OpenGL ES1 and OpenGL ES2. It will be used by egl_dri2 driver. Signed-off-by: Haitao Feng <haitao.feng@intel.com>
rivers/dri/common/drisw_util.c
rivers/dri/swrast/swrast.c
|
7535f93e5a98e5e79d76c07ccabe59f576ce01f0 |
03-Feb-2011 |
Michel Dänzer <daenzer@vmware.com> |
r300c: Unbreak after R4xx support was added to r300/compiler.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
|
8503cffc4c7b8df8d4260161dc8aa06b0f81f19e |
02-Feb-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r200: remove 0x4243 pci id There's no such device. 0x4243 is a pci bridge id, not a GPU. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
a04582739e77b58cea9e2aa523109e878bf90b6a |
01-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Only mark a register as available if all components are written Previously a register would be marked as available if any component was written. This caused shaders such as this: 0: TEX TEMP[0].xyz, INPUT[14].xyyy, texture[0], 2D; 1: MUL TEMP[1], UNIFORM[0], TEMP[0].xxxx; 2: MAD TEMP[2], UNIFORM[1], TEMP[0].yyyy, TEMP[1]; 3: MAD TEMP[1], UNIFORM[2], TEMP[0].zzzz, TEMP[2]; 4: ADD TEMP[0].xyz, TEMP[1].xyzx, UNIFORM[3].xyzx; 5: TEX TEMP[1].w, INPUT[14].xyyy, texture[0], 2D; 6: MOV TEMP[0].w, TEMP[1].wwww; 7: MOV OUTPUT[2], TEMP[0]; 8: END to produce incorrect code such as this: BEGIN DCL S[0] DCL T_TEX0 R[0] = MOV T_TEX0.xyyy U[0] = TEXLD S[0],R[0] R[0].xyz = MOV U[0] R[1] = MUL CONST[0], R[0].xxxx R[2] = MAD CONST[1], R[0].yyyy, R[1] R[1] = MAD CONST[2], R[0].zzzz, R[2] R[0].xyz = ADD R[1].xyzx, CONST[3].xyzx R[0] = MOV T_TEX0.xyyy U[0] = TEXLD S[0],R[0] R[1].w = MOV U[0] R[0].w = MOV R[1].wwww oC = MOV R[0] END Note that T_TEX0 is copied to R[0], but the xyz components of R[0] are still expected to hold a calculated value. Fixes piglit tests draw-elements-vs-inputs, fp-kill, and glsl-fs-color-matrix. It also fixes Meego bugzilla #13005. NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/i915/i915_fragprog.c
|
20d278a7ff0ce66e5c4ac437e1fbe52c31a1ecb3 |
27-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: glGetUniform only returns a single element of an array Also return it as the correct type. Previously the whole array would be returned and each element would be expanded to a vec4. Fixes piglit test getuniform-01 and bugzilla #29823.
ain/uniforms.c
|
09e15ac76a6efb17148467671508f171658765d9 |
31-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Initial size for secondary color array is 3 See table 6.7 on page 347 of the OpenGL 3.0 specification.
ain/arrayobj.c
|
0f7325b89038937bd428f7c89ed9859189a0ab0b |
27-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Emit texel offsets in sampler messages.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
8aac5d123c4636fad5e9d70c3a6706aaa6f1f240 |
24-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove talloc from the SCons build system.
Conscript
|
d1d8120545b0bd2f7ec48c5f03c77b967b082e04 |
17-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove talloc from the make and automake build systems.
akefile
rivers/osmesa/Makefile
|
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 |
21-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Convert everything from the talloc API to the ralloc API.
rivers/dri/i965/brw_cubemap_normalize.cpp
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
rivers/dri/i965/brw_program.c
ain/shaderapi.c
ain/shaderobj.c
rogram/ir_to_mesa.cpp
rogram/register_allocate.c
rogram/sampler.cpp
|
8f32c6cfc6503dd234f09fb06941803866c23c65 |
29-Jan-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Standardize the number of bits used by swizzle fields Swizzles are now defined everywhere as a field with 12 bits that contains 4 channels worth of meaningful information. Any channel that is unused is set to RC_SWIZZLE_UNUSED. This change is necessary because rgb instructions and alpha instructions were initializing channels that would never be used (channel 3 for rgb and channels 1-3 for alpha) with 0 (aka RC_SWIZZLE_X). This made it impossible to use generic helper functions for swizzles, because sometimes a channel value of 0 meant unused and other times it meant RC_SWIZZLE_X. All hacks that tried to guess how many channels were relevant have also been removed.
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_program_print.c
|
1dd8e2757852682af44b63193c89dff3c09c7703 |
29-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix texture array dimensions For 1D/2D texture arrays use the pipe_resource::array_size field. In OpenGL 1D arrays texture use the height dimension as the array size and 2D array textures use the depth dimension as the array size. Gallium uses a special array_size field instead. When setting up gallium textures or comparing Mesa textures to gallium textures we need to be extra careful that we're comparing the right fields. The new st_gl_texture_dims_to_pipe_dims() function maps OpenGL texture dimensions to gallium texture dimensions and simplifies this quite a bit.
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
b3cfcdf92327184513635db8312e698e22664714 |
29-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix typo, wrap long line
ain/fbobject.c
|
db3a8af7f900e4970ea18659e86a824b4ebdefc7 |
29-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: pass layers param to st_texture_create()
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
c494763579f1a3818029aca3ac8b1265c7291081 |
28-Jan-2011 |
Chad Versace <chad@chad-versace.us> |
mesa: Fix available APIs for AMD_conservative_depth Remove ES2, since AMD_conservative_depth is not listed in the OpenGL ES extension registry.
ain/extensions.c
|
c6ace30028a9b96cf9f26d82837760f4fc78f8e2 |
28-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: print stats based on the initial number of instructions The same number of shaders is now printed regardless of optimizations being enabled or not, so that we can compare shader stats side by side easily.
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
7a4345fd83605695dc641af503f6e87b808b48d7 |
27-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glsl: use 'this' pointer to be consistent
rogram/ir_to_mesa.cpp
|
2b7be12d5467096362073260911a380c64c772d0 |
27-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glsl: remove needless conditional
rogram/ir_to_mesa.cpp
|
86471246f0f3c4c122f605fdd56dd0f5864fc307 |
27-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glsl: move ir_var_out code
rogram/ir_to_mesa.cpp
|
7baa498ae46668aebf165b9f2b1ddf0f5fe87c07 |
27-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glsl: move ir_var_system_value code
rogram/ir_to_mesa.cpp
|
304b239869fe5cd57dc87e6fd95c4906d9653b97 |
27-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glsl: use local var to simplify code a bit
rogram/ir_to_mesa.cpp
|
59dbdbbb7d0ff90dc7561b1bc337bbb918755103 |
27-Jan-2011 |
Zack Rusin <zackr@vmware.com> |
mesa: fix compilation this isn't c++ please don't mix declerations with code
ain/extensions.c
|
ad3dc370d86e3cfdb5e766bbf6dfbf247807044c |
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+' If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed.
ain/extensions.c
|
7cbcf4c583641544b677d601d35f8de64ff26710 |
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Simplify logic in get_extension_override() * Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append().
ain/extensions.c
|
a1b83464ffb1125b77e6f5664e0071f95167055d |
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IR
ain/mtypes.h
rogram/ir_to_mesa.cpp
|
1aeecaa43346d5ab6feec5d7caf28bd5ce53a32b |
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Add AMD_conservative_depth to extension list The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
ain/extensions.c
ain/mtypes.h
|
3fe0185ba506b830b86f0e39d2e366400ecffae6 |
26-Jan-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Support internalFormat=GL_BGRA for DRI drivers
ain/texformat.c
|
684c66bb8b8cdaa7fc18b64a6f739ad70a10cd54 |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix MESA/EXT typo Spotted by Bernd Buschinski.
ain/teximage.c
|
9b56a2cb626b254bcb7b7202e6babd1b5570208f |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: support for 1D/2D texture arrays
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
tate_tracker/st_mesa_to_tgsi.c
|
0bfd174fb510320c7a7ee3784ac50849322f9c5d |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove isProxy local var
ain/texparam.c
|
365f658602c0984d83e2b9617967803c70f7043a |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use texFormat local var in more places
ain/texparam.c
|
f322400970745112ce53e4f804e3c977f326c412 |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv()
ain/texparam.c
|
0f6b8e29ab38ae25a64aa558df92297c0f5fc881 |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate error handling in set_tex_parameteri()
ain/texparam.c
|
f2dd11817a66b6254e1533398dc53f1bc51953be |
26-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add checks for GL_EXT_texture_array In case the driver enables GL_MESA_texture_array but not the EXT version.
ain/teximage.c
ain/texparam.c
|
5c2cec8337c5afc6941cd5c0bcedd27ff99b1bc7 |
25-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Add several assertions about sizes of arrays Both of these assertions are triggered by the test case in bugzilla size of 0.
rogram/ir_to_mesa.cpp
|
23490d7a8bb77cc0a39ffe7c1ce83ce8e9e9c5bb |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: add comments in emit_wpos()
tate_tracker/st_mesa_to_tgsi.c
|
bb56631f0cb6b3fc552a72e0165816909bf6fdc9 |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect fragcoord.x translation emit_adjusted_wpos() needs separate x,y translation values. If we invert Y, we don't want to effect X. Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795 NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_mesa_to_tgsi.c
|
d30156525f869d11445575767298900fb6121c6a |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add red, red/green formats in _mesa_base_fbo_format()
ain/fbobject.c
|
62c66b34303303e6786652efa611a100ae64439a |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer() The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
rivers/common/driverfuncs.c
ain/fbobject.c
ain/fbobject.h
ain/renderbuffer.c
|
976ea9d76b44b6e654bd38e3d00f20517be518e0 |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: new cases in _mesa_base_fbo_format() The set of internalFormat parameters accepted by glRenderBufferStorage depends on the EXT vs. ARB version of framebuffer_object. The later added support for GL_ALPHA, GL_LUMINANCE, etc. formats. Note that these formats might be legal but might not be supported. That should be checked with glCheckFramebufferStatus().
ain/fbobject.c
|
f41bbc7c44565c7f3949340a4e2fdf78a8cebf3f |
25-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages." This reverts commit 65c41d55a06137115f0b4c67f9a3fd2708f0b625. There really are quite a few differences in the set of internal formats allowed by glTexImage and glRenderbufferStorage.
ain/fbobject.c
|
b0669837808dee576dd05c8c335ca78264dd8e80 |
21-Jan-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
st/mesa: Enable EXT_texture_format_BGRA8888 for gles1/2
tate_tracker/st_extensions.c
|
c5c1dc8b3fb9495cc4dc54fd80a801c9e826b227 |
21-Jan-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
st/mesa: support internalFormat=GL_BGRA in TexImage2D
tate_tracker/st_format.c
|
8bfbcba2b7f01691a64c74639b3f3ca0284eb214 |
21-Jan-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
mesa/es: require internalFormat==format in TexImage2D
ain/APIspec.xml
|
f1452844fe2522387bbc6633f22aec09b8a06204 |
21-Jan-2011 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
mesa: allow internalFormat=GL_BGRA_EXT in TexImage2D
ain/teximage.c
|
811ee32a9ef177bec46c82692eeac8bc7297753c |
24-Jan-2011 |
Dimitry Andric <dimitry@andric.com> |
mesa: s/movzxw/movzwl/ in read_rgba_span_x86.S Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33386 NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Brian Paul <brianp@vmware.com>
86/read_rgba_span_x86.S
|
3fda80246f0c41edebdfb4b1ce35bb4726a8c521 |
24-Jan-2011 |
Dimitry Andric <dimitry@andric.com> |
mesa: s/movzx/movzbl/ Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33388 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
86-64/xform4.S
|
7d6abd254a46e37a27401c3ae0ce0645d8b0decd |
24-Jan-2011 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
osmesa: mklib requires arguments before objects Fixes the build when selecting driver=osmesa and building static libraries. Otherwise, mklib tries to add the ‘-ltalloc’ object to the archive, which obviously fails. Clients which statically link to osmesa will need to link to libtalloc also, as specified in the Libs.private of osmesa.pc. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33360 NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/osmesa/Makefile
|
92767e9052979294df6cb85efe21fe409b758dfd |
24-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: only colors can be flat shaded fixes stellarium text and menu display
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/r700_fragprog.c
|
c40ec20c273104198f7b3c52af2cd2328833b72b |
13-Dec-2010 |
Tom Stellard <tstellar@gmail.com> |
r300g: Increase fragment shader limits for r400 cards r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_reg.h
|
1bf3c75825da5da84e74b1603f6a58ee17b496c4 |
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
gldirect: remove _NEW_ACCUM
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
|
c78b48d80867a3c065eea61a3f6a9751827dd93f |
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
i965: remove _NEW_ACCUM
rivers/dri/i965/brw_state_upload.c
|
f154cd231552d16c66b87ca1e32be5451f6bdae4 |
23-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ARB_framebuffer_sRGB as alias of the EXT variant Signed-off-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
|
81ae8c6313adbe7681a73636dee4d5d34334d4d7 |
23-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: return GL_LINEAR for ..COLOR_ENCODING if framebuffer_sRGB is unsupported Signed-off-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
fb7efb1b194831cc6cb0b69291949ac693f20f25 |
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #defines The _NEW_ACCUM flag was only set when changing the accumulation buffer clear color and never used anywhere. Reclaim that dirty bit. Clean up the definitions of the other dirty bit flags.
ain/accum.c
ain/debug.c
ain/mtypes.h
|
f4dc24a0b5290b0bbfb254b3bc76d801371dd790 |
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: smarter glTexParameter state invalidation Only a few texture object parameters can effect texture completeness: min level, max level, minification filter. Don't mark the texture incomplete for other texture object state changes.
ain/texparam.c
|
ffcdd49c69811b9f768c0b32acef6527d5626a6e |
23-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove any code related to relative addressing of temporaries The hw can't do it and the code was useless anyway (it's lowered in the GLSL compiler).
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_print.c
rivers/dri/r300/r300_blit.c
rivers/dri/r300/radeon_mesa_to_rc.c
|
9d380f487a4f2628594821a4fed5fe587ce52031 |
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: ensure that all pixel paths operation on linear RGB data, not sRGB Before, we were converting between linear/sRGB in glReadPixels, glDrawPixels, glAccum, etc if the renderbuffer was an sRGB texture. Those all need to operate on pixel values as-is without conversion. Also, when setting up render-to-texture, if the texture is sRGB the pipe_surface view must be linear RGB. This will change when we support GL_ARB_framebuffer_sRGB. This fixes http://bugs.freedesktop.org/show_bug.cgi?id=33353
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
4c251b88613ae3650a7b9eb255b79a95d0c837a7 |
22-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: update comment, use st_fb_orientation()
tate_tracker/st_atom_rasterizer.c
|
bd67962c5e8469062516da396e9c466a9446e00d |
22-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: comments in update_viewport()
tate_tracker/st_atom_viewport.c
|
bb770af3a59e5935c108c05ee45490fc5668d4a3 |
14-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
scons: Add support for GLES. GLES can be enabled by running scons with $ scons gles=yes When gles=yes is given, the build is changed in three ways. First, libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes DRI drivers and libEGL support and advertise GLES support. Second, GLES libraries will be created. They are libGLESv1_CM, libGLESv2, and libglapi. Last, libGL or opengl32 will link to libglapi. This change is required as _glapi_* will be declared as __declspec(dllimport) in libmesa.a on windows. libmesa.a expects those symbols to be defined in another DLL. Due to this change to GL, GLES support is marked experimental. Note that GLES requires libxml2-python to generate some of its sources.
Conscript
|
e256e4743c3f8f924f0d191759d9428f33f3e329 |
19-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl, i965: Remove unnecessary talloc includes. These are already picked up by ir.h or glsl_types.h.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
819f92deaa810ce0d5c36f6ee16220ce55a7768c |
22-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
ra: Use the same context when realloc'ing arrays. The original allocations use regs->regs as the context, so talloc will happily ignore the context given here. Change it to match to clarify that it isn't changing.
rogram/register_allocate.c
|
a637280e42b9a2f4ccbb5e7b209c5645073f584e |
17-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: EXT_framebuffer_sRGB interface additions. This adds the get/enable enums and internal gl_config storage for this extension. In theory this is all that is needed to enable this extension from what I can see, since its not mandatory to implement the features if you don't advertise the visuals or the fb configs. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/enable.c
ain/get.c
ain/mtypes.h
|
634e889bb5aee64ee17dcec221f4fb05ff93270d |
21-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: get OQ results only for 4 DBs on r600 class - since evergreen addition which increased this to 8 depth backends other bytes may contain garbage values
rivers/dri/radeon/radeon_queryobj.c
|
2fb0aebd4a248d2a0725099cd5646253c30c1dc3 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Fix typeos from 3d028024 and 790ff232 ...and remove egg from face.
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
|
790ff232e2607a83e6207d06900a5e3de613d161 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Set correct values for range/precision of fragment shader types
rivers/dri/i915/i915_context.c
|
3d028024e581b05f71f0be915657c2c105885de6 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Set correct values for range/precision of fragment shader types
rivers/dri/i965/brw_context.c
|
04dca296e0a5e5ffbb8acb699e013a23ebd7b645 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Set correct values for range/precision of shader integer types
ain/context.c
|
dde3270c19143b42a55a93e1e85bb24194462671 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Connect glGetShaderPrecisionFormat into the dispatch table
ain/shaderapi.c
|
22eeb1b331767abb29d03be2f11cfe9d8626c440 |
20-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Fix the build from 887d2b64 Thanks to all the include frobbing, GLuint is not known in some places that included enums.h.
ain/enums.c
ain/enums.h
|
887d2b647bae7f6536bab08649bad9f799995d08 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up _mesa_lookup_prim_by_nr() Remove the redundant public _mesa_prim_name[] array.
ain/debug.c
ain/enums.c
ain/enums.h
ain/mtypes.h
|
fe49dcb3b03454ec1451b610ea89f2374946e090 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move extra prim mode #defines
ain/dd.h
ain/mtypes.h
|
b62e78c783a76215f404ba69eef9b4f58b4a07ea |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
vbo: added comment
bo/vbo.h
|
cfae745a8bcbc108611178b69c645cfe29f28b37 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor formatting fixes
ain/mtypes.h
|
7330f8b2bc88458f3ad1704248c8e35c5f1d1ea4 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean up the sampler view format code
tate_tracker/st_atom_texture.c
|
751fe9058bc15f4f8608f0fdc02209542991ff23 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: document sRGBDecode field
ain/mtypes.h
|
f579a05a9f3962728e86b858deee97f9dca30f20 |
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: formatting, whitespace fixes
tate_tracker/st_atom_texture.c
tate_tracker/st_texture.h
|
c20778e76f1203063977337ebbe1bd2aacef5dc0 |
20-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: bump sq gpr resources if a shader needs more than default ideally this should be set once in the beginning of CS but there's no way to change values there while in the middle of rendering. For now reemitting SQ setup seems to work probably due to r700WaitForIdleClean after each render currently does not to try to decrease values once increased fixes hangs in glsl-vs-vec4-indexing-temp-src-in-nested-loop-combined glsl-vs-vec4-indexing-temp-dst-in-nested-loop-combined for my rv740 maybe more for other chips
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
e8c7d7598fb48237508f566204c71ba8f74d544f |
26-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Fix OpenGL and OpenGL ES interop. When --enable-shared-glapi is specified, libGL will share libglapi with OpenGL ES instead of defining its own copy of glapi. This makes sure an app will get only one copy of glapi in its address space. The new option is disabled by default. When enabled, libGL and libglapi must be built from the same source tree and distributed together. This requirement comes from the fact that the dispatch offsets used by these libraries are re-assigned whenever GLAPI XMLs are changed. For GLX, indirect rendering for has_different_protocol() functions is tricky. A has_different_protocol() function is assigned only one dispatch offset, yet each entry point needs a different protocol opcode. It cannot be supported by the shared glapi. The fix to this is to make glXGetProcAddress handle such functions specially before calling _glapi_get_proc_address. Note that these files are automatically generated/re-generated src/glx/indirect.c src/glx/indirect.h src/mapi/glapi/glapi_mapi_tmp.h
rivers/x11/Makefile
|
8c68362d7c3ab9a49714b59255d05c871d8d2eff |
20-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
r200: fix up some problems with TFP on r200
rivers/dri/r200/r200_texstate.c
|
b41d323c90da47d720c015a18aa90e9efbb689aa |
19-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Take the shared mathbox into account in instruction scheduling. I don't have evidence for this amounting to any improvement, but it does codify a bit more what we understand so far about the pipeline.
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
382c2d99da3f219a5b82f391a81b534b6b44ebce |
19-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add a helper function for detecting math opcodes.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
1991d92207cf629ba4ceead4bfc3f768d7b9e402 |
19-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Assign URB/CURB register numbers after instruction scheduling. This fixes a bunch of unnecessary barriers due to the scheduler not knowing what that arbitrary register description refers to when trying to reason about its dependencies. The result is rescheduling in the convolution kernel shader in Lightsmark, which results in avoiding register spilling and increasing the performance of the first scene from 6-7 fps midway through the panning to 11fps. The register spilling was a regression from Mesa 7.9 to Mesa 7.10.
rivers/dri/i965/brw_fs.cpp
|
63879d90ace519749fed228ca0e21b5b56c7e1c0 |
19-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add an instruction scheduler. Improves performance of my GLSL demo by 5.1% (+/- 1.4%, n=7). It also reschedules the giant multiply tree at the end of glsl-fs-convolution-1 so that we end up not spilling registers, producing the expected level of performance.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_schedule_instructions.cpp
|
3f2fe31eee1667ef9cad99aaad69e52a09c9effa |
19-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Add a helper for detecting texturing opcodes.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
3ee60a3558a3546b3c3a0a9732d384afcf02994a |
19-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement glGetShaderPrecisionFormat() Drivers should override the default range/precision info as needed. No drivers do this yet.
ain/context.c
ain/mtypes.h
ain/shaderapi.c
|
a5da4acb9583db5289fcad410513d0fedcf9bab2 |
19-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: avoid segfault on 3D textures. This is a candidate for 7.9 and 7.10
rivers/dri/radeon/radeon_state.c
|
4832403c38183380f98713bddb077b5179ae073f |
19-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: oops didn't need this logbase2 fn
rivers/dri/radeon/radeon_texstate.c
|
c6fb88fc5a77ed7e40eda6db772990714c3b8c01 |
19-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: calculate complete texture state inside TFP function (really not sure why I'm doing this). This is a candidate for 7.9 and 7.10 branches.
rivers/dri/radeon/radeon_texstate.c
|
c73a1c18b2eb15b2e42a072222a5b166080a52ef |
19-Jan-2011 |
Ben Skeggs <bskeggs@redhat.com> |
dri/nouveau: allow multiple maps of surface buffers Can happen during swrast fallbacks if a buffer is somehow bound as a render target and a texture. Fixes gnome-shell on nv20, and gets it mostly working on nv10. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
rivers/dri/nouveau/nouveau_texture.c
|
f7bab47e6c7cf877acf6d9bb85453851e5aa7f19 |
19-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix fbo-clearmipmap + gen-teximage sw clears were being used and not getting the correct offsets in the span code. also not emitting correct offsets for CB draws to texture levels. (I've no idea why I'm playing with r100). This is a candidate for 7.9 and 7.10
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state_init.c
|
568e0083651dd29e5bce94ade8625a64a0e85e88 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix a comment typo.
rivers/dri/i965/brw_fs.cpp
|
8ce425f3e3e330bda859c439b915c4e59b1a2bf4 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix a bug in i965 compute-to-MRF. Fixes piglit glsl-fs-texture2d-branching. I couldn't come up with a testcase that didn't involve dead code, but it's still worthwhile to fix I think.
rivers/dri/i965/brw_fs.cpp
|
90ff6178a2350cdf7b1c1a28bf3a8c9a66da3d4b |
18-Jan-2011 |
Brian Paul <brianp@vmware.com> |
vbo: initialize num_instances in a few places This fixes https://bugs.freedesktop.org/show_bug.cgi?id=33247 There might still be some issues with drawing multiple instances with VBO splitting to investigate someday.
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
d5a53ad271396257ee037a56cb10ba9382460705 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ra: Take advantage of the adjacency list in finding a node to spill. This revealed a bug in ra_get_spill_benefit where we only considered the benefit of the first adjacency we were to remove, explaining some of the ugly spilling I've seen in shaders. Because of the reduced spilling, it reduces the runtime of glsl-fs-convolution-1 36.9% +/- 0.9% (n=5).
rogram/register_allocate.c
|
ea8e21856e88863913e97ef90d89cf76894c5aeb |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ra: Remove unused "name" field in regs.
rogram/register_allocate.c
|
604022abed537d8066ddece5d8a4bbf08e93a2d5 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ra: Take advantage of the adjacency list in ra_select() too. Reduces runtime of glsl-fs-convolution-1 another 13.9% +/- 0.6% (n=5).
rogram/register_allocate.c
|
7cf648da632595d1997d50a9fa92701ade61ff63 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ra: Add an adjacency list to trade space for time in ra_simplify(). This was recommended in the original paper, but I figued "make it run" before "make it fast". Now we make it fast. Reduces the runtime of glsl-fs-convolution-1 by 12.7% +/- 0.6% (n=5).
rogram/register_allocate.c
|
754b9c5363aa7ae5f47c88c78790b3fe35c07403 |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ra: Trade off some space to get time efficiency in ra_set_finalize(). Our use of the register allocator in i965 is somewhat unusual. Whereas most architectures would have a smaller set of registers with fewer register classes and reuse that across compilation, we have 1, 2, and 4-register classes (usually) and a variable number up to 128 registers per compile depending on how many setup parameters and push constants are present. As a result, when compiling large numbers of programs (as with glean texCombine going through ff_fragment_shader), we spent much of our CPU time in computing the q[] array. By keeping a separate list of what the conflicts are for a particular reg, we reduce glean texCombine time 17.0% +/- 2.3% (n=5). We don't expect this optimization to be useful for 915, which will have a constant register set, but it would be useful if we were switch to this register allocator for Mesa IR.
rogram/register_allocate.c
|
4ef3e261a4dbe81c1ca73dbf83d45edf332c8d68 |
18-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: preserve correct buffer when using fbo Hopefully better than previous - this passes more mipgen tests
rivers/dri/radeon/radeon_common_context.c
|
0a85845c9ee42c0da4ee031d21d66e888c00e764 |
18-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600: set border color as RGBA border color is RGBA for samples - this passes texenv tests
rivers/dri/r600/r600_tex.c
|
52fbff2130b43625d208b121295477e619f0bbc6 |
18-Jan-2011 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: use STATE_FB_WPOS_Y_TRANSFORM variable to do wpos transform use introduced STATE_FB_WPOS_Y_TRANSFORM variable (thanks Marek) this gets coords also right when using fbo
rivers/dri/r600/r700_fragprog.c
|
e4be665bbddcb6ddfd7b9b13f01152a97097b35c |
18-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Fix dead pointers to fp->Parameters->ParameterValues[] after realloc. Fixes texrect-many regression with ff_fragment_shader -- as we added refs to the subsequent texcoord scaling paramters, the array got realloced to a new address while our params[] still pointed at the old location.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
afeebecd95b43860c8320f18b50863958de4f765 |
18-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: move PIPE_CAP_INDEP_BLEND_FUNC code
tate_tracker/st_extensions.c
|
5a64626ee57183a404827e2cda8359db3529b180 |
17-Jan-2011 |
Brian Paul <brianp@vmware.com> |
vbo: init num_instances in split_prims() Fixes a VTK regression after adding GL_ARB_draw_instanced.
bo/vbo_split_inplace.c
|
6179f7e38e78eea6fb06180fca3c8b1e78d25f2b |
17-Jan-2011 |
Brian Paul <brianp@vmware.com> |
tnl: assert that num_instances > 0
nl/t_draw.c
|
72f2551017e03f888d63fa9040120740c6d40620 |
17-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/primcount/numInstances/ primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things.
ain/api_validate.c
bo/vbo_exec_array.c
|
d136d1d2e1174d2420ce5e32507904243ab240cd |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor tweaks in _mesa_set_fetch_functions()
ain/texfetch.c
|
aad7219f80e21739c521d58a6e32a14114ac0bb0 |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add comment for _mesa_get_srgb_format_linear()
ain/formats.c
|
bfad484505e5e313895ae797fe7c24cca97331b3 |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move declarations before code
ain/texfetch.c
|
527bf67682db70091abf9c5395433bf9b8b98aab |
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
gallium: add EXT_texture_sRGB_decode. This uses a sampler view to access the texture with the alternate format. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_texture.c
tate_tracker/st_extensions.c
|
9b1a15e1cb42247703422d1d25c7150214778f84 |
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
i965: add support for EXT_texture_sRGB_decode We just choose the texture format depending on the srgb decode bit for the sRGB formats. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
|
edc2dd8e4788e556d445c9f59974ed95b33c2bbc |
12-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/swrast: implement EXT_texture_sRGB_decode This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/extensions.c
ain/formats.c
ain/formats.h
ain/mtypes.h
ain/texfetch.c
ain/texfetch.h
ain/texobj.c
ain/texparam.c
|
b3ca11059433c3eb807815c15fd41a561d3d8126 |
12-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement glGet queries for GL_ARB_draw_buffers_blend
ain/get.c
|
44c2122a737569e78af18c54994c3aa4035882ee |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for GL_ARB_draw_buffers_blend functions
ain/dlist.c
|
7f48278edc70ad0841cbee2c46add7653b4fac15 |
12-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL_ARB_draw_buffers_blend functions
ain/api_exec.c
|
561307844f0fb2bc5721731b9c01522e1d373f53 |
12-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files
ain/glapidispatch.h
ain/remap_helper.h
|
74713e2d293f9e796a4053a5a99ee5cb7df5c740 |
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: begin implementation of GL_ARB_draw_buffers_blend
rivers/common/driverfuncs.c
rivers/dri/i810/i810state.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/gen6_cc.c
rivers/dri/intel/intel_pixel.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgastate.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savagestate.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_state.c
ain/attrib.c
ain/blend.c
ain/blend.h
ain/context.h
ain/dd.h
ain/extensions.c
ain/get.c
ain/mtypes.h
tate_tracker/st_atom_blend.c
tate_tracker/st_extensions.c
wrast/s_blend.c
|
a6860f0913d5d4be0c73da963e84e97fc926225f |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: GL_ARB_instanced_arrays support
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
1d1eb9578716913f4133786b30c6e6edc69a8a0c |
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: support for GL_ARB_instanced_arrays
ain/api_exec.c
ain/dlist.c
ain/mtypes.h
ain/varray.c
ain/varray.h
|
1250e2330b913d3e90bd0b28e46bf565a827b5bf |
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
d1e284407cf67f9a83e147914ed5a67d8c55e87e |
16-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: move/consolidate an assignment
tate_tracker/st_draw.c
|
652901e95b4ed406293d0e1fabee857c054119b1 |
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'draw-instanced' Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
|
a4a5a9a5ce255e34ba92396dacd997f7c6f96462 |
14-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add glDepthRangef and glClearDepthf to APIspec.xml. Core mesa has gained support for GL_ARB_ES2_compatibility. Make GLES generated dispatch table use them.
ain/APIspec.xml
|
4620de7eeae18f313436936088d235a99b7bc11d |
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility. Fixes piglit arb_es2_compatibility-shadercompiler
ain/get.c
|
8395f206a86b3700fc5f8eefc4d9b55e7e150d25 |
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS. Fixes piglit arb_es2_compatibility-maxvectors.
ain/get.c
|
e12c4faf7ef1246fd7c3a9d9dc30130a6675c3b4 |
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glDepthRangef and glClearDepthf. These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
ain/api_exec.c
ain/depth.c
ain/depth.h
ain/viewport.c
ain/viewport.h
|
25beab10cd39a400a0a6d2495cf814d22f346e81 |
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix segfaults on ir_to_mesa invocation after MSVC change.
rogram/ir_to_mesa.cpp
|
7772a34f3aedfa8ef58ad5f912f56bd5adf27057 |
15-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Dynamically allocate acp array in ir_to_mesa_visitor::copy_propagate. Fixes these MSVC errors. ir_to_mesa.cpp(2644) : error C2057: expected constant expression ir_to_mesa.cpp(2644) : error C2466: cannot allocate an array of constant size 0 ir_to_mesa.cpp(2644) : error C2133: 'acp' : unknown size ir_to_mesa.cpp(2646) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand ir_to_mesa.cpp(2709) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand ir_to_mesa.cpp(2718) : error C2070: 'ir_to_mesa_instruction *[]': illegal sizeof operand
rogram/ir_to_mesa.cpp
|
7b987578a94008e28daa5cacf68ee37566a27be8 |
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add actual support for glReleaseShaderCompiler from ES2. Fixes no-op dispatch warning in piglit arb_es2_compatibility-releaseshadercompiler.c.
ain/shaderapi.c
|
ed93f9f3a362288328e8417a12dd337334ae5bda |
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Expose GL_ARB_ES2_compatibility. We don't have all of the features of this extension hooked up yet, but the consensus yesterday was that since those features are things that we should also be supporting in our ES2 implementation, claiming ES2 here too doesn't make anything worse and will make incremental improvement through piglit easier.
rivers/dri/intel/intel_extensions.c
|
9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b |
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
ain/extensions.c
ain/mtypes.h
|
841ad6bfad27b2d8a196169b81235312a5e5f36a |
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
glapi: Regenerate for GL_ARB_ES2_compatibility.
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
|
a6e4614ca1284c5731876bb88732b326bf13aba0 |
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Replace broken handling of dead code with an assert. This code should never have been triggered, but I often did anyway when I disabled optimization passes during debugging, then spent my time debugging that this code doesn't work.
rivers/dri/i965/brw_fs.cpp
|
7c7df146b59bae9dcb3a271bd3c671e273015617 |
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add an invalidation of live intervals after register splitting. No effect, since it was called before live intervals were calculated.
rivers/dri/i965/brw_fs.cpp
|
65c41d55a06137115f0b4c67f9a3fd2708f0b625 |
13-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages. The comment of "this is just like teximages except for..." is a pretty good clue that we're handling this wrong. By just using the teximage code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
ain/fbobject.c
|
34a9da4eb4dd41dc874f1a175e993e42d4ff4b2a |
13-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add channel-wise copy propagation to ir_to_mesa. This catches more opportunities than the prog_optimize.c code on openarena's fixed function shaders turned to GLSL, mostly due to looking at multiple source instructions for copy propagation opportunities. It should also be much more CPU efficient than prog_optimize.c's code.
rogram/ir_to_mesa.cpp
|
d53c8380bf1ed2897979f67fdb675074169b0465 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix compiler warning from sw fallback removal change.
rivers/dri/intel/intel_fbo.c
|
6e9b0f6807c7a22f096f483961ae71512f8d9f41 |
14-Jan-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
gles2: Also support GL_BGRA_EXT for glTexSubImage2d
ain/APIspec.xml
|
483de8ef2eb9d4861c746dee750379529ea0ce0c |
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
i965: fix fbo-srgb on i965. Until we get the EXT_framebuffer_sRGB extension we should bind the sRGB formats for FBO as linear. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/i965/brw_wm_surface_state.c
|
7f652fc523b56a3c13a90b417f8d32e7a702ed3d |
14-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
srgb: fix fbo base format picking. Pointed out by Brian.
ain/fbobject.c
|
7b9dc40b0d984ca2da915224517d5ba9d633f32a |
13-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
i915: Disable extension OES_standard_derivatives OES_standard_derivatives must be manually disabled for i915 because Mesa enables it by default.
rivers/dri/intel/intel_extensions_es2.c
|
78838b2d1bd88f948030cd60479b832b661ccd3c |
13-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Change OES_standard_derivatives to be stand-alone extension Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
ain/extensions.c
ain/mtypes.h
|
1f6693033256123ec5cf6f186e5cfb1679e523d3 |
13-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/brw_fallback.c
|
d76f1da7cb4a9c5666e2364f90eb09552e839b55 |
13-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing break statement in SARGB8 case.
ain/texrender.c
|
dad914f6b2e5862a5174133f11276e975867be04 |
13-Jan-2011 |
Paulo Zanoni <pzanoni@mandriva.com> |
dri_util: fail driCreateNewScreen if InitScreen is NULL Without this, X doesn't start with UMS on r300g. NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/dri_util.c
|
407184fe08ced99875c3abfac743a1d60857ccf2 |
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/srgb: handle SARGB8 case in the sw fbo renderer.
ain/texrender.c
|
71b889f904fcba4fbc5aafff4cb62a7201f38075 |
06-Jan-2011 |
Fredrik Höglund <fredrik@kde.org> |
st/mesa: fix a regression from cae2bb76 stObj->pt is null when a TFP texture is passed to st_finalize_texture, and with the changes introduced in the above commit this resulted in a new texture being created and the existing image being copied into it. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
tate_tracker/st_cb_texture.c
|
8c8e26d66ae41e900cc88521da9c0dc02803d7d2 |
13-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.
ain/fbobject.c
|
31b10516636043b8d92ce518acf6afb27d82a2d1 |
13-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Move loop variable declarations outside for loop in extensions.c. Fixes MSVC build.
ain/extensions.c
|
dd973cd9e81abf1c0bc1880c7905f3277d4361a0 |
13-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT() Fixes a failed assertion when a renderbuffer ID that was gen'd but not previously bound was passed to glFramebufferRenderbuffer(). Generate the same error that NVIDIA does. NOTE: This is a candidate for the 7.9 and 7.10 branches.
ain/fbobject.c
|
67722ae403526d8b267e29ed2ac962b806001ce5 |
13-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: don't assert in GetIntegerIndexed, etc We were getting an assertion upon invalid pname. NOTE: This is a candidate for the 7.9 and 7.10 branches.
ain/get.c
|
2fa6012f6a0b02de6093cbccba3bf4432f072e57 |
13-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix num_draw_buffers==0 in fixed-function fragment program generation This fixes a problem when glDrawBuffers(GL_NONE). The fragment program was writing to color output[0] but OutputsWritten was 0. That led to a failed assertion in the Mesa->TGSI translation code. NOTE: This is a candidate for the 7.9 and 7.10 branches.
ain/texenvprogram.c
|
30616fdacfd3e2d8d3df64e4aa6b4cac405f3cf0 |
12-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSED Fixes piglit occlusion_query2 failure.
tate_tracker/st_cb_queryobj.c
|
356e2e962f424215b41bcf67d7114b83471e8813 |
13-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Move declaration before code in extensions.c. Fixes SCons build.
ain/extensions.c
|
a7b5664c05a7a0bdc999caedf2dea17fee6bb5c8 |
13-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Change OES_point_sprite to depend on ARB_point_sprite The extension string in GLES1 contexts always advertised GL_OES_point_sprite. Now advertisement depends on ARB_point_sprite being enabled. Reviewed-by: Ian Romanick <idr@freedesktop.org>
ain/extensions.c
|
039150169e99be28d8b172a95a07032a3c862585 |
11-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Change dependencies of some OES extension strings Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <idr@freedesktop.org>
ain/extensions.c
|
19418e921af0efce198627d0ce6c92660797d011 |
10-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Add/remove extensions in extension string Add GL_OES_stencil8 to ES2. Remove the following: GL_OES_compressed_paletted_texture : ES1 GL_OES_depth32 : ES1, ES2 GL_OES_stencil1 : ES1, ES2 GL_OES_stencil4 : ES1, ES2 Mesa advertised these extensions, but did not actually support them. Reviewed-by: Ian Romanick <idr@freedesktop.org>
ain/extensions.c
|
9b260c377f5b437b7e03607fefa022459ef758ed |
09-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Refactor handling of extension strings Place GL, GLES1, and GLES2 extensions in a unified extension table. This allows one to enable, disable, and query the status of GLES1 and GLES2 extensions by name. When tested on Intel Ironlake, this patch did not alter the extension string [as given by glGetString(GL_EXTENSIONS)] for any API. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
ain/mtypes.h
|
c3f000b3926988124a44ce7e8cd6588e46063058 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: Do flat shading when appropriate. We were trying to interpolate, which would end up doing unnecessary math, and doing so on undefined values. Fixes glsl-fs-flat-color.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
e1fb511570e9b2a4d015332b7d80f469bf334b2a |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
meta: Actually use mipmapping when generating mipmaps. With the change to not reset baselevel, this GL_LINEAR filtering was resulting in generating mipmaps off of the base level instead of the next higher detail level. Fixes fbo-generatemipmap-filtering. Reported by: Neil Roberts <neil@linux.intel.com>
rivers/common/meta.c
|
e880a57a71bbd5152ed26367dcc7051f21c20981 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Clarify when we need to (re-)calculate live intervals. The ad-hoc placement of recalculation somewhere between when they got invalidated and when they were next needed was confusing. This should clarify what's going on here.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
9351ef7a4418f5c1bb95a8f2016af0a15fa97679 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/vs: When MOVing to produce ABS, strip negate of the operand. We were returning the negative absolute value, instead of the absolute value. Fixes glsl-vs-abs-neg.
rivers/dri/i965/brw_vs_emit.c
|
ab56e3be9aae54602372427755305c354821e105 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965/fs: When producing ir_unop_abs of an operand, strip negate. We were returning the negative absolute value, instead of the absolute value. Fixes glsl-fs-abs-neg.
rivers/dri/i965/brw_fs.cpp
|
4eb7284ef98c24331761cbe683c5bd89058e3ad3 |
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Tighten up the check for flow control interfering with coalescing. This greatly improves codegen for programs with flow control by allowing coalescing for all instructions at the top level, not just ones that follow the last flow control in the program.
rivers/dri/i965/brw_fs.cpp
|
5acf94e95559879df13bfa854e081665fd58fb61 |
11-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead fallback for stencil _Enabled but no stencil buffer. The _Enabled field is the thing that takes into account whether there's a stencil buffer. Tested with piglit glx-visuals-stencil.
rivers/dri/i965/brw_fallback.c
|
ca8960234e0a727f46fcf8af1a9b7fa2ff0451dd |
02-Dec-2010 |
Alberto Milone <alberto.milone@canonical.com> |
r600c: add evergreen ARL support. Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
rivers/dri/r600/r700_assembler.c
|
167db6d34fdb36b09052d8ed20d102891731f468 |
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: include teximage.h to silence warning
ain/texrender.c
|
d92e56460e0b6b6057097fc12c7f947528e58c13 |
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: do a debug check of _mesa_format_to_type_and_comps() Make sure that all formats are handled in this function. It's easy to miss this function when adding new pixel formats. See also http://bugs.freedesktop.org/show_bug.cgi?id=31544
ain/context.c
ain/formats.c
|
0073f50cd47c48c706b4524364b9c0594804febf |
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix a few format table mistakes, assertions The BaseFormat field was incorrect for a few R and RG formats. Fix a couple assertions too. NOTE: This is a candidate for the 7.9 and 7.10 branches.
ain/formats.c
|
c0cdae03685056e170c25da7d46aed959176d652 |
11-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Use a new miptree to avoid software fallbacks due to drawing offset. When attaching a small mipmap level to an FBO, the original gen4 didn't have the bits to support rendering to it. Instead of falling back, just blit it to a new little miptree just for it, and let it get revalidated into the stack later just like any other new teximage. Bug #30365.
rivers/dri/i965/brw_fallback.c
rivers/dri/intel/intel_fbo.c
|
6bdc31942138f4dff5a701f26fe186a6e2e92275 |
10-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop the speculatively-use-firstImage-mt in validation. It's been replaced by just setting texObj->mt to image->mt at TexImage time.
rivers/dri/intel/intel_tex_validate.c
|
bdc6dc1d7e7891ab00a2d08818093d5ecf249920 |
10-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Don't relayout the texture on maxlevel change. This avoids relayouts in the common case of glGenerateMipmap() or people doing similar things. Bug #30366.
rivers/dri/intel/intel_tex_validate.c
|
48024fb44cbbccd0c688949084ef249d3c1208ab |
10-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: When making a new teximage miptree, make a full one. If we hit this path, we're level 1+ and the base level got allocated as a single level instead of a full tree (so we don't match intelObj->mt). This tries to recover from that so that we end up with 2 allocations and 1 validation blit (old -> new) instead of allocations equal to number of levels and levels - 1 blits.
rivers/dri/intel/intel_tex_image.c
|
bd4a2e9209e13878d052dfb8e981fd798c6e4e40 |
10-Jan-2011 |
Eric Anholt <eric@anholt.net> |
meta: Don't tweak BaseLevel when doing glGenerateMipmap(). We don't need to worry about levels other than MaxLevel because we're minifying -- the lower levels (higher detail) won't contribute to the result. By changing BaseLevel, we forced hardware that doesn't support BaseLevel != 0 to relayout the texture object.
rivers/common/meta.c
|
5b3eb7538cd9ceb967b6e9e765896183e7c2c4d4 |
10-Jan-2011 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Always allocate miptrees from level 0, not tObj->BaseLevel." This reverts commit 7ce6517f3ac41bf770ab39aba4509d4f535ef663. This reverts commit d60145d06d999c5c76000499e6fa9351e11d17fa. I was wrong about which generations supported baselevel adjustment -- it's just gen4, nothing earlier. This meant that i915 would have never used the mag filter when baselevel != 0. Not a severe bug, but not an intentional regression. I think we can fix the performance issue another way.
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_validate.c
|
da0c0dbab060416452e7c96415abef91ec7d64f4 |
10-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add #defines for HiZ and separate stencil buffer commands.
rivers/dri/i965/brw_defines.h
|
4b929c75e2d868cbfb21b5dbeb1f6c689a903be6 |
22-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add new HiZ related bits to WM_STATE.
rivers/dri/i965/brw_structs.h
|
1feee7b1b39e54c279ffdc3c27f3911c04658430 |
10-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename more #defines to 3DSTATE rather than CMD or CMD_3D. Again, this makes it match the documentation.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
|
6c5e6cd13036ef38b9c63bcb245d7132bcffd0f1 |
10-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove unused #defines which only contain the sub-opcode. Most _3DSTATE defines contain the command type, sub-type, opcode, and sub-opcode (i.e. 0x7905). These, however, contain only the sub-opcode (i.e. 0x05). Since they are inconsistent with the rest of the code and nothing uses them, simply delete them. The _3DOP and _3DCONTROL defines seemed similar, and were also unused.
rivers/dri/i965/brw_defines.h
|
a988ddf3798e0ec568704e4a72b46030079c7e45 |
10-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/swrast: handle sRGB FBOs correctly (v2) From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions with FBO I've found that swrast is converting the sRGB values to linear for blending when an sRGB texture is bound as an FBO. According to the spec and further explained in the framebuffer_sRGB spec this behaviour is not required unless the GL_FRAMEBUFFER_SRGB is enabled and the Visual/config exposes GL_FRAMEBUFFER_SRGB_CAPABLE_EXT. This patch fixes swrast to use a separate Fetch call for FBOs bound to SRGB and avoid the conversions. v2: export _mesa_get_texture_dimensions as per Brian's comments. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texfetch.c
ain/texfetch.h
ain/teximage.c
ain/teximage.h
ain/texrender.c
|
31351dc029ff0e12a250e3ffc509f4f01e025a24 |
06-Dec-2010 |
Tom Fogal <tfogal@alumni.unh.edu> |
Export TLS support in gl.pc.
akefile
l.pc.in
|
12583174c53b23be6db1fb1cfa3dd1e8dbbd3c15 |
07-Jan-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove GLES overlay. With core mesa doing runtime API checks, GLES overlay is no longer needed. Make --enable-gles-overlay equivalent to --enable-gles[12]. There may still be places where compile-time checks are done. They could be fixed case by case.
akefile
|
231ca0ec8531c49ba7fee3f67245fe4f284b6ecf |
10-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
r600: Include mfeatures.h in files that perform feature tests.
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_tex.c
|
c45814d6d3ae1398a44f0e07b7ad175081ded98d |
10-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
r300: Include mfeatures.h in files that perform feature tests.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_tex.c
|
7a1cdef6c440f4f0ae1a4e6cf51f6a6235de3418 |
10-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
r200: Include mfeatures.h in files that perform feature tests.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_tex.c
|
fb9c6e681f91c986b7cbe2d6e9f6baceda00c415 |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
radeon: Include mfeatures.h in files that perform feature tests.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
1933e97034a1774e37268035f67ca5973220e8c6 |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
dri/nouveau: Include mfeatures.h in files that perform feature tests.
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fbo.c
|
45a56e4730a74a012ad712fd9b6013d900b04742 |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
intel: Include mfeatures.h in files that perform feature tests.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions_es2.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
14b36cd568b7f3ae963430248fcd7ef0b7a165f6 |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
vbo: Include mfeatures.h in files that perform feature tests.
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
|
edc09358f72cd48cb2315daf23c82e7646aeaea3 |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include mfeatures.h in files that perform feature tests.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_blit.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_drawtex.h
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_eglimage.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_feedback.h
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_queryobj.h
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_rasterpos.h
tate_tracker/st_cb_xformfb.c
tate_tracker/st_cb_xformfb.h
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_manager.c
tate_tracker/st_program.c
|
21750a2d9d2a4ed69308316b121fd53b0c873aea |
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mfeatures.h in program.c. Include mfeatures.h for feature tests.
rogram/program.c
|
d8cfe464424b41bd986276e19427f0079778bf8f |
08-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in cpuinfo.c.
ain/cpuinfo.c
|
29c4f95cbcad29d52bf3b6c875840b38b8823e4c |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Make renderbuffer tiling choice match texture tiling choice. There really shouldn't be any difference between the two for us. Fixes a bug where Z16 renderbuffers would be untiled on gen6, likely leading to hangs.
rivers/dri/intel/intel_fbo.c
|
8f593597fc100b496db368b2b988e1d2ec58b612 |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use the _BaseFormat from MESA_FORMAT_* in renderbuffer setup.
rivers/dri/intel/intel_fbo.c
|
5df51c2bb00871b338ec8455bd4ce5feea163f63 |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Drop old checks for the settexoffset hack.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
372dc4cd6c666c88bcf587202458cd73bda9a244 |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Don't claim to support AL1616 when neither 830 nor 915 does it. Fixes an abort in fbo-generatemipmap-formats.
rivers/dri/intel/intel_context.c
|
a7bf7230564ac282cc957207224d16f322fa73d8 |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Add a vtbl hook for determining if a format is renderable. By relying on just intel_span_supports_format, some formats that aren't supported pre-gen4 were not reporting FBO incomplete. And we also complained in stderr when it happened on i915 because draw_region gets called before framebuffer completeness validation.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
|
f3240547f978bd6c572c0cf17b05e0c5c6087a9e |
08-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: expose ARB_framebuffer_object in the i915 driver. ARB_fbo no longer disallows mismatched width/height on attachments (shouldn't be any problem), mixed format color attachments (we only support 1), and L/A/LA/I color attachments (we already reject them on 965 too). It requires Gen'ed names (driver doesn't care), and adds FramebufferTextureLayer (we don't do texture arrays). So it looks like we're already in the position we need to be for this extension. Bug #27468, #32381.
rivers/dri/intel/intel_extensions.c
|
1d1ad6306d0d55b6ba97d9ecc730d5f919d55df5 |
07-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Avoid double-negation of immediate values in the VS. In general, we have to negate in immediate values we pass in because the src1 negate field in the register description is in the bits3 slot that the 32-bit value is loaded into, so it's ignored by the hardware. However, the src0 negate field is in bits1, so after we'd negated the immediate value loaded in, it would also get negated through the register description. This broke this VP instruction in the position calculation in civ4: MAD TEMP[1], TEMP[1], CONST[256].zzzz, CONST[256].-y-y-y-y; Bug #30156
rivers/dri/i965/brw_vs_emit.c
|
2a7380e9c3a040356599a5b7740aa24e067fc1f5 |
05-Jan-2011 |
Jian Zhao <jian.j.zhao@intel.com> |
mesa: fix an error in uniform arrays in row calculating. Fix the error in uniform row calculating, it may alloc one line more which may cause out of range on memory usage, sometimes program aborted when free the memory. NOTE: This is a candidate for 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/uniforms.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
ain/accum.c
ain/api_arrayelt.c
ain/api_arrayelt.h
ain/api_noop.c
ain/api_noop.h
ain/arrayobj.c
ain/atifragshader.c
ain/attrib.c
ain/bufferobj.c
ain/bufferobj.h
ain/colortab.c
ain/convolve.c
ain/dlist.h
ain/drawpix.c
ain/drawtex.c
ain/enable.c
ain/eval.c
ain/eval.h
ain/extensions.c
ain/fbobject.c
ain/feedback.c
ain/feedback.h
ain/ffvertex_prog.c
ain/get.c
ain/getstring.c
ain/histogram.c
ain/image.c
ain/matrix.c
ain/pixel.c
ain/pixelstore.c
ain/queryobj.c
ain/queryobj.h
ain/rastpos.c
ain/shaderapi.c
ain/shaderobj.c
ain/shared.c
ain/syncobj.c
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_fxt1.h
ain/texcompress_s3tc.c
ain/texformat.c
ain/texgen.c
ain/texgen.h
ain/texgetimage.c
ain/teximage.c
ain/texpal.c
ain/texparam.c
ain/texstore.c
ain/transformfeedback.c
ain/uniforms.c
ain/varray.c
ain/vtxfmt.c
ain/vtxfmt.h
|
7c320a869b7c755e6cf3fc0bb37f4b0bd66ba3e0 |
07-Jan-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix up SQ setup in blit code for Ontario/NI
rivers/dri/r600/evergreen_blit.c
|
7b97bdba4096180df4e32e6c52f79713a649478b |
07-Jan-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add support for NI asics
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
e31defc825ee94f1d1092e277954abad7097c552 |
04-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Rename various gen6 #defines to match the documentation. This should make it easier to cross-reference the code and hardware documentation, as well as clear up any confusion on whether constants like CMD_3D_WM_STATE mean WM_STATE (pre-gen6) or 3DSTATE_WM (gen6+). This does not rename any pre-gen6 defines.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_urb.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
984d64881fbdd6524bbd4f78ef7f9daaa6c5567b |
26-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
vbo: remove a redundant call to _ae_invalidate_state It's called in vbo_exec_invalidate_state too.
bo/vbo_context.c
|
009cecf2465d9323a790977c35726364640980d0 |
29-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unused members in st_context What were these for?
tate_tracker/st_context.h
|
58c5e782e351621bde2693fa945d0c90d140b855 |
29-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: optimize constant buffer uploads The overhead of resource_create, transfer_inline_write, and resource_destroy to upload constant data is very visible with some apps in sysprof, and as such should be eliminated. My approach uses a user buffer to pass a pointer to a driver. This gives the driver the freedom it needs to take the fast path, which may differ for each driver. This commit addresses the same issue as Jakob's one that suballocates out of a big constant buffer, but it also eliminates the copy to the buffer.
tate_tracker/st_atom_constbuf.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw_feedback.c
|
5adcd9c9117b125cab1155c5f3af0bb51ace74b7 |
27-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: do sanity checks on states only in debug builds
tate_tracker/st_atom.c
|
8fd8de3995343f5cee8536c235e2a4fc5c768490 |
06-Jan-2011 |
Pierre Allegraud <pallegra@gmail.com> |
mesa: fix build for NetBSD See http://bugs.freedesktop.org/show_bug.cgi?id=32859 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/mach64/mach64_context.h
|
ab564b516e258c965b55b3fa6f9323492ff19e15 |
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in version.c. Include imports.h directly instead of indirectly through context.h. version.c does use any symbols that are added by context.h.
ain/version.c
|
becd98018b5334d210702d9a17df6c1895b0cf73 |
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: bump version to 7.11
ain/version.h
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
ain/api_arrayelt.c
ain/arrayobj.c
ain/bufferobj.c
ain/buffers.c
ain/clear.c
ain/colortab.c
ain/condrender.c
ain/drawtex.c
ain/fbobject.c
ain/getstring.c
ain/hint.c
ain/image.c
ain/imports.c
ain/mipmap.c
ain/multisample.c
ain/nvprogram.c
ain/pack.c
ain/pixeltransfer.c
ain/rastpos.c
ain/readpix.c
ain/scissor.c
ain/shaderapi.c
ain/shaderobj.c
ain/syncobj.c
ain/texcompress.c
ain/texcompress_s3tc.c
ain/texenv.c
ain/texenvprogram.c
ain/texformat.c
ain/texgetimage.c
ain/texparam.c
ain/texstore.c
ain/transformfeedback.c
ain/uniforms.c
ain/version.c
ain/viewport.c
|
a728646fb55245477d35e2761c3e0d15099b4cd4 |
06-Jan-2011 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: skip too small size mipmap this fixes doom3 crash.
rivers/dri/intel/intel_tex_validate.c
|
d60145d06d999c5c76000499e6fa9351e11d17fa |
06-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix build for previous commit.
rivers/dri/i915/i915_tex_layout.c
|
7ce6517f3ac41bf770ab39aba4509d4f535ef663 |
06-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Always allocate miptrees from level 0, not tObj->BaseLevel. BaseLevel/MaxLevel are mostly used for two things: clamping texture access for FBO rendering, and limiting the used mipmap levels when incrementally loading textures. By restricting our mipmap trees to just the current BaseLevel/MaxLevel, we caused reallocation thrashing in the common case, for a theoretical win if someone really did want just levels 2..4 or whatever of their texture object. Bug #30366
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_validate.c
|
01b70c06284f3a0ab2de61228b73c78ed00a1a14 |
06-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop unused first/lastlevel args to miptree_create_for_region. We're always making a single-level, 0-baselevel miptree.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
|
f84573d039e3cc2bf11d8c15d59bd3255fd05b27 |
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
swrast: Include mtypes.h in s_triangle.c. Include mtypes.h for gl_context symbol.
wrast/s_triangle.c
|
20d85865ec75f2cf2ae2a62ed3cf419e9af3eca3 |
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include mtypes.h in st_cb_drawpixels.c. Include mtypes.h for gl_context symbol.
tate_tracker/st_cb_drawpixels.c
|
1b18b45d79e065e4e05a1e89e9d756d96258ded5 |
06-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clarify first_level/last_level vs baselevel/maxlevel by deletion. This has always been ugly about our texture code -- object base/max level vs intel object first/last level vs image level vs miptree first/last level. We now get rid of intelObj->first_level which is just tObj->BaseLevel, and make intelObj->_MaxLevel clearly based off of tObj->_MaxLevel instead of duplicating its code (incorrectly, as image->MaxLog2 only considers width/height and not depth!)
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_validate.c
|
9b7f57b18eff3959a525297f068697ac03a75840 |
06-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Consider textures incomplete when maxlevel < baselevel. See section 3.8.10 of the GL 2.1 specification. There's no way to do anything sane with that, and drivers would get all sorts of angry.
ain/texobj.c
|
39cc0ee3eaf0d0cae70d91ae33961053782662c8 |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Enable LOD preclamping on 8xx like on 915/965. Fixes lodclamp-between and lodclamp-between-max.
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_texstate.c
|
973e821a633031fe5a8608b50beabb10af21430e |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i915: Implement min/max lod clamping in hardware on 8xx. This avoids 8xx-specific texture relayout for min/max lod changes. One step closer to avoiding relayout for base/maxlevel changes!
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_texstate.c
rivers/dri/intel/intel_tex_validate.c
|
6f31da584fd0c65095c325e60728f8230c66385a |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop TEXTURE_RECTANGLE check in miptree layout setup. It's already handled by our non-mipmapped MinFilter, since TEXTURE_RECTANGLE is always NEAREST or LINEAR.
rivers/dri/intel/intel_tex_validate.c
|
8f0005bfd5dad4a338c23b9650baa3f5a1b0b06f |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Clean up redundant setup of firstLevel. It's always BaseLevel (since TEXTURE_RECTANGLE's baselevel can't be changed from 0), except for 8xx minlod hilarity.
rivers/dri/intel/intel_tex_validate.c
|
e2ee0c55d360f6b0bb8cd140b6dd6c0f46998ab1 |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Drop a check for GL_TEXTURE_4D_SGIS. The SGIS_texture4D extension was thankfully never completed, so we couldn't implement it if we wanted to.
rivers/dri/intel/intel_tex_validate.c
|
d5435b3f0c53e964abcd76daf296d11465bcc64e |
05-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary headers.
wrast/s_texfilter.c
wrast/s_triangle.c
|
332a90e1015f0e1be4fb441e2d34e91f6bba812f |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Simplify the renderbuffer setup code. It was quite a mess by trying to do NULL renderbuffers and real renderbuffers in the same function. This clarifies the common case of real renderbuffers.
rivers/dri/i965/brw_wm_surface_state.c
|
266d8eed6927650a55974a293959fe21073030bb |
05-Jan-2011 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use BLT to clear buffer if possible on Sandybridge This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32713
rivers/dri/intel/intel_clear.c
|
06cb1a6a5bdba5654408e3568584e1ab168266b7 |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
i965: Add support for SRGB DXT1 formats. This makes fbo-generatemipmap-formats GL_EXT_texture_sRGB-s3tc match fbo-generatemipmap-formats GL_EXT_texture_compression_s3tc and swrast in bad DXT1_RGBA alpha=0 handling, but it means we won't unpack and repack someone's textures into uncompressed SARGB8 format.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
|
3488b14a047bf1f05831b3bbdc374a0da482212c |
05-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the baseFormat for GL_COMPRESSED_SLUMINANCE_EXT. It's just LUMINANCE, not LUMINANCE_ALPHA. Fixes fbo-generatemipmap-formats GL_EXT_texture_sRGB-s3tc assertion failure when it tries to pack the L8 channels into LUMINANCE_ALPHA and wonders why it's trying to do that.
ain/teximage.c
|
5dbb856e960f9448ec4e322f936f5f6763ee77e2 |
04-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Merge our choosetexformat fallbacks into core. We now share the type/format -> MESA_FORMAT_* mappings with software mesa, and the core supports most of the fallbacks hardware drivers will want.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_format.c
ain/texformat.c
|
001d944fd50e0579739b8865e6e09be5d267c05a |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Make _mesa_choose_tex_format() choose formats out of a supported table. Right now this is just tweaking the current code to look at the table. Choosing actually supported formats will come later.
ain/context.c
ain/mtypes.h
ain/texformat.c
|
50630f9016bdf0ea33ae1007c5a523cdcde3e3c9 |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010 Use make_temp_float_image instead of _make_temp_chan_image. The latter converts the texture to 8 bits/component, losing 2 bits.
ain/colormac.h
ain/texfetch_tmp.h
ain/texstore.c
|
73e8a2738743035e1347571ba630747d2ec33a2d |
18-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: advertise GL_ARB_half_float_pixel This extension doesn't appear to need any driver-specific parts.
tate_tracker/st_extensions.c
|
8543902bfbdfc15c39525bd99bee22e2f2126e74 |
04-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: disable the rename_regs pass for loops This workaround fixes rendering of kwin thumbnails. NOTE: This is a candidate for the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/radeon_rename_regs.c
|
e96e86d07be86ce12628d750ff686d6aea919fff |
04-Jan-2011 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix black terrain in Civ4 rc_inst_can_use_presub() wasn't checking for too many RGB sources in Alpha instructions or too many Alpha sources in RGB instructions. Note: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/radeon_compiler_util.c
|
b7b2791c6bea6ad0db76fdad9a217aa1efffea93 |
04-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: When validating an FBO's combined depth/stencil, use the given FBO. We were looking at the current draw buffer instead to see whether the depth/stencil combination matched. So you'd get told your framebuffer was complete, until you bound it and went to draw and we decided that it was incomplete.
rivers/dri/intel/intel_fbo.c
|
0ea49380e20bdf76cd0e434d3d431ca9f526f1f1 |
04-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Fix segfaults from trying to use _ColorDrawBuffers in FBO validation. The _ColorDrawBuffers is a piece of computed state that gets for the current draw/read buffers at _mesa_update_state time. However, this function actually gets used for non-current draw/read buffers when checking if an FBO is complete from the driver's perspective. So, instead of trying to just look at the attachment points that are currently referenced by glDrawBuffers, look at all attachment points to see if they're driver-supported formats. This appears to actually be more in line with the intent of the spec, too. Fixes a segfault in my upcoming fbo-clear-formats piglit test, and hopefully bug #30278
rivers/dri/intel/intel_fbo.c
|
c94996f0570c729b9cb2b55329ababb9877fbbea |
04-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: skip glDrawPixels/glBitmap-related code for ES build Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560
tate_tracker/st_program.c
|
c8a6a8bf2c8c530edfea737ab0f316ae7b1e42ee |
04-Jan-2011 |
Brian Paul <brianp@vmware.com> |
osmesa: pass context to _mesa_update_framebuffer_visual() Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32814
rivers/osmesa/osmesa.c
|
bea6539abff17f39c822ac9c1c94f8249c396b18 |
04-Jan-2011 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Use last vertex convention for quad provoking vertex on sandybridge Until we know how hw converts quads to polygon in beginning of 3D pipeline, for now unconditionally use last vertex convention. Fix glean/clipFlat case.
rivers/dri/i965/brw_context.c
|
9095947fa7359b2add06d1111337136bcd3d9bbc |
04-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in renderbuffer.h. Include mtypes.h for gl_buffer_index symbol. This is a follow-up to commit 65da73c5f87bc39c76ba9e45945da95fff354308.
ain/renderbuffer.h
|
1df795f95868998c4f72d11a8dc394e0615ac417 |
04-Jan-2011 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Correct comment for gen6 fb write control message setting Remove incorrect headless comment for gen6 fb write message. Note current SIMD16 mode has already done right for control message.
rivers/dri/i965/brw_wm_emit.c
|
9977297ad9bc0e816810bd3a39d89e5c1cffff72 |
04-Jan-2011 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix provoking vertex select in clip state for sandybridge Triangle fan provoking vertex for first convention should be 'vertex 1' in sandybridge clip state. Partly fix glean/clipFlat case
rivers/dri/i965/gen6_clip_state.c
|
7bd2c5d1f98d0cfcf896a58c3d66713165f6bedd |
04-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix AL44 texture fetch function nybble -> float conversion Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32804
ain/texfetch_tmp.h
|
30fef21aa34667d332669f1445de74b49994eb0e |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Use tri clears when we don't know how to blit clear the format. Bug #32207. Fixes ARB_texture_rg/fbo-clear-formats (see my fbo-clear-formats piglit branch currently)
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_clear.c
|
5f13c39484859393cec11b3aa24e541bea8e220d |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA. Noticed by code inspection.
ain/fbobject.c
|
f45aea0ec912159eb6aa4ef2ba2bdcd022bc8aca |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Also report renderbuffer red/green size for GL_RED and GL_RG. Noticed by code inspection.
ain/fbobject.c
|
059cca92a819e20e0d834605a3a7d277eaf88d9f |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Use the common logic for "is this baseformat a color format?" When figuring out whether a renderbuffer should be used to set the visual bits of an FBO, we were missing important baseformats like GL_RED, GL_RG, and GL_LUMINANCE.
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/framebuffer.h
|
beac6ee62aea196d6e670abd4b198190e33e6cb1 |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Allow color renderbuffers besides just RGB and RGBA. We did so already for textures to do ARB_fbo's GL_ALPHA/GL_LUMINANCE/etc. support and for ARB_texture_rg's GL_RED and GL_RG, but this path was missed.
ain/fbobject.c
|
2d29349c0083134e3b9b9d2023368268b7dcc951 |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Update comment about the list of BaseFormats for gl_formats.
ain/formats.c
|
94ed481131e4f5ba2c83fe7f3b12715661660133 |
03-Jan-2011 |
Eric Anholt <eric@anholt.net> |
intel: Handle forced swrast clears before other clear bits. Fixes a potential segfault on a non-native depthbuffer, and possible accidental swrast fallback on extra color buffers.
rivers/dri/intel/intel_clear.c
|
efbd33aff93d875af95d40db018b7911a3f87d02 |
03-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix renderbuffer pointer check in st_Clear() Fixes http://bugs.freedesktop.org/show_bug.cgi?id=30694 NOTE: This is a candidate for the 7.9 and 7.10 branches.
tate_tracker/st_cb_clear.c
|
65da73c5f87bc39c76ba9e45945da95fff354308 |
03-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/GLuint/gl_buffer_index/
ain/renderbuffer.c
ain/renderbuffer.h
|
35266fbe4f2d11093e71ef41083d9d733aac5869 |
03-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: 80-column wrapping
tate_tracker/st_cb_fbo.c
|
337f6e7b0ec86c621cf1568b79804f1d78eea2f0 |
03-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: 80-column wrapping
tate_tracker/st_manager.c
|
fb03510738e80716068a193a4078814d0e801120 |
02-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix build on non-KMS systems. Reported on irc by adamk.
rivers/dri/radeon/radeon_bocs_wrapper.h
|
59051ad44310d7f744fcb0706326564990b554dd |
22-Dec-2010 |
Henri Verbeet <hverbeet@gmail.com> |
st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().
tate_tracker/st_cb_texture.c
|
79fa5acf26d02760d745be435d1b0a28e485a4d6 |
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Clean up header file inclusion in mmx.h.
86/mmx.h
|
a1cd093a72043d543a6e81a58d491a11f92ef1d9 |
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Clean up header file inclusion in t_vertex.h.
nl/t_vertex.h
|
43c291683c1cad16f7bec0eb5f0fafb3aedbf8bb |
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Clean up header file inclusion in vbo.h.
bo/vbo.h
|
176a8359b93badfff3b6f6e78df974f870fbf7aa |
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Clean up header file inclusion in t_vp_build.h.
nl/t_vp_build.c
nl/t_vp_build.h
|
9db97618744a585a808bd9d51943cd6532b4da4e |
30-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Clean up header file inclusion in tnl.h.
nl/tnl.h
|
df4d83dca4618eb7077637865763d3e9ab750d11 |
29-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Do lowering of array indexing of a vector in the FS. Fixes a regression in ember since switching to the native FS backend, and the new piglit tests glsl-fs-vec4-indexing-{2,3} for catching this.
rivers/dri/i965/brw_fs.cpp
|
54df8e48bcceacbfa468d5237f2981b26493df29 |
28-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix regression in FS comparisons on original gen4 due to gen6 changes. Fixes 26 piglit cases on my GM965.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
74dffb39c3434b590b36833905f2b12a6e3477e9 |
28-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Factor out the ir comparision to BRW_CONDITIONAL_* code.
rivers/dri/i965/brw_fs.cpp
|
689aca782216d2666486dea02206cbc9c4162e0d |
28-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix occlusion query on sandybridge Clear target query buffer fixed occlusion query on sandybridge. https://bugs.freedesktop.org/show_bug.cgi?id=32167
rivers/dri/i965/brw_queryobj.c
|
59fa8600d8efa803a4f86a41beaca78f7be41d7c |
28-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
Revert "i965: upload multisample state for fragment program change" This reverts commit de6fd527a545f8344e074312544517d05573fb72. Revert this workaround as it seems the real trouble is caused by lineloop, which doesn't require GS convert on sandybridge actually.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
6bb1e4541eb707d525163987b167bd974c87067e |
28-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Internally enable GL_NV_blend_square on ES2. Hopefully should fix bug #32520.
rivers/dri/intel/intel_extensions_es2.c
|
b832ae8a4a77563c50a6e82c49b4732f6a0dbf11 |
27-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: don't spawn GS thread for LINELOOP on Sandybridge LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
rivers/dri/i965/brw_gs.c
|
634a7dce9c1d9e4a8576ff8197c8adaea7e9ddd1 |
27-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Flatten if-statements beyond depth 16 on pre-gen6. Gen4 and Gen5 hardware can have a maximum supported nesting depth of 16. Previously, shaders with control flow nested 17 levels deep would cause a driver assertion or segmentation fault. Gen6 (Sandybridge) hardware no longer has this restriction. Fixes fd.o bug #31967.
rivers/dri/i965/brw_fs.cpp
|
9ac6a9b2fa45debac63f2e2b20d78c4776d06e37 |
27-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Support if-flattening beyond a given maximum nesting depth. This adds a new optional max_depth parameter (defaulting to 0) to lower_if_to_cond_assign, and makes the pass only flatten if-statements nested deeper than that. By default, all if-statements will be flattened, just like before. This patch also renames do_if_to_cond_assign to lower_if_to_cond_assign, to match the new naming conventions.
rogram/ir_to_mesa.cpp
|
aa68dd9a49d4d78fb4bf0b7674cc51da7c608092 |
26-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in ss_vb.h.
wrast_setup/ss_vb.h
|
da0bdc7cd576cc46b94a1d145cc59b6ed1f6439e |
26-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in ss_triangle.h.
wrast_setup/ss_triangle.h
|
77d1d351637f127651d554616d71bc9afb9395f9 |
26-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_texfilter.h.
wrast/s_texfilter.h
|
06fa98611277839689a7bc221c59c409032bbd4e |
26-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_texcombine.h.
wrast/s_texcombine.h
|
77aaaf5fd5c9946a2c0e6ac5a1b089e977d16eaf |
26-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_masking.h.
wrast/s_masking.h
|
b01b73c482474609aceb6bb13b083e96c06ba353 |
25-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Only do frame throttling at glFlush time when using frontbuffer. This is the hack for input interactivity of frontbuffer rendering (like we do for backbuffer at intelDRI2Flush()) by waiting for the n-2 frame to complete before starting a new one. However, for an application doing multiple contexts or regular rebinding of a single context, this would end up lockstepping the CPU to the GPU because every unbind was considered the end of a frame. Improves WOW performance on my Ironlake by 48.8% (+/- 2.3%, n=5)
rivers/dri/intel/intel_context.c
|
ecc6b7c0026a428ca49e486882baefb8fca1e440 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_logic.h.
wrast/s_logic.h
|
8dfeb98eb16285e099f1713722c8d71be2281c0f |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_fragprog.h.
wrast/s_fragprog.h
|
3e2ea145b16f6c2894121df7b4a802d8bbbe6d46 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_span.h.
wrast/s_span.h
|
7d5f5d3843641e42c5f8cf0a4b6db0b03aecdf19 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_fog.h.
wrast/s_fog.h
|
ec891d78a0472f22bfda3cc93445c8752d73fd8c |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_depth.h.
wrast/s_depth.h
|
b3c59acca6671ee22d248bda8c9b30545e66d7df |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_blend.h.
wrast/s_blend.h
|
c9a0e259194440d03480a13d3dd9d86b57f4b3dc |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_atifragshader.h.
wrast/s_atifragshader.h
|
eadb90f045087bd07fd70fb946feea0aecc7f25e |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_alpha.h.
wrast/s_alpha.h
|
ebe95d37967c32a951f13e552badecc84b295d9b |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_accum.h.
wrast/s_accum.h
|
775e373dd9e7c1fd5ac94799371d2a4e9bd86133 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_aatriangle.h.
wrast/s_aatriangle.h
|
d59075303a2d64b619d592c104fe69cb39c67046 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_aaline.h.
wrast/s_aaline.h
|
499c77edf1ce9be6ba82da7169e4d8c731cd1604 |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.
tate_tracker/st_mesa_to_tgsi.h
|
b20dac4e2d2348826d31c3c2da06e6a3d4115dcf |
25-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_gen_mipmap.h.
tate_tracker/st_gen_mipmap.h
|
a57e2c436bac4ce22d35681b45b513334dcb2fd9 |
24-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps. The case of format being MESA_FORMAT_COUNT should never occur.
ain/formats.c
|
dc987adc9f5f9f851be124985fa6bbcdbfa4a7a5 |
24-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use align1 access mode for instructions with execSize=1 in VS All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
rivers/dri/i965/brw_eu_emit.c
|
82493216044b0320219fc631baa7b02381daa0de |
24-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix register region description This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
rivers/dri/i965/brw_vs_emit.c
|
38eff56f7eb6c64b153d612ea6ae31bd78149a41 |
24-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.
ain/atifragshader.c
|
bf4dffb8ef5d02cbb4c5ff6d68b761a11d04a612 |
24-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_tex_copy.c
|
07498075b5de14955958da44a90eb7ee203218a1 |
18-Dec-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/st: set the color write cbuf property for fragColor writes
tate_tracker/st_program.c
|
eccffe2328aff8c81b82287cf9567a2a67ff09c6 |
23-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/brw_state_cache.c
|
280750c5cabfc5f312c3abe0424f57b2edeb53df |
23-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps. According to the comment, the warning should be for debug builds.
ain/formats.c
|
bf7b6f60aea3caa12c858271af167387fc0cfa4e |
29-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix texel store functions for some float formats These are copy-paste errors obviously.
ain/texfetch_tmp.h
|
4a710469e0df18220ff13f91e007738aebce640e |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: do not require all texture formats to be renderable This is a bandaid on the problem that if some formats were not renderable (like luminance_alpha), st/mesa fell back to some RGBA format, so basically some non-renderable formats were actually not used at all. This is only a problem with hardware drivers, softpipe can render to anything. Instead, require only RGB8/RGBA8 to be renderable.
tate_tracker/st_format.c
|
998657112b09f354232ab521dc62f00aa77921d9 |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16
tate_tracker/st_format.c
|
fd8aa7ac71699facf9839e2ae56b5e37579c6bcc |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format I16
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
bb5ace68ce9e8bd171a39162ed6bd93632bd6619 |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format L16
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texgetimage.c
ain/texstore.c
|
eb31837a0d4fa4fe115bb288ddb37cbedea954ae |
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format A16
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texgetimage.c
ain/texstore.c
|
bae9d511f343c7bd5eb66d1d1d18d32b47e738e3 |
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format AL44 Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g.
ain/colormac.h
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
621e5254ef6714520f106bd3707fe6ddc279aa0c |
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format ARGB2101010 Radeon GPUs do support GL_RGB10_A2.
ain/colormac.h
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
0a7b60f7ed3167acce72b3c367181dcae81f92c1 |
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: if Z32 is unsupported, prefer Z24 to Z16
tate_tracker/st_format.c
|
888e59fce85b3c30cb91063a4b7b594dd9bcccf9 |
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use RGBA16 for RGB12 and RGB16 To provide enough precision if a user wants it.
tate_tracker/st_format.c
|
3f9e78ac390a095d42f94b8edc02016f18b255dd |
21-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use DXT SRGB formats for COMPRESSED_SRGB And also check if the formats are supported to return something meaningful if compression cannot be used.
tate_tracker/st_format.c
|
bf15ad37824652b2df61dac5991aa0d4eaa0c436 |
23-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Keep around a copy of the VS constant surface dumping code. Just like everywhere else, I never trust my constant uploads to correctly put constants in the right places, even though that's so rarely where the issue is.
rivers/dri/i965/brw_vs_surface_state.c
|
5dc53444c8323c1787dddbe6b67048828df9c684 |
23-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Correct the dp_read message descriptor setup on g4x. It's mostly like gen4 message descriptor setup, except that the sizes of type/control changed to be like gen5. Fixes 21 piglit cases on gm45, including the regressions in bug #32311 from increased VS constant buffer usage.
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
de6fd527a545f8344e074312544517d05573fb72 |
23-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: upload multisample state for fragment program change This makes conformance tests stable on sandybridge D0 to track multisample state before SF/WM state.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
845d651cf686ba885dffd9e05df971fa68c3431a |
23-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Use MI_FLUSH_DW for blt ring flush on sandybridge Old MI_FLUSH command is deprecated on sandybridge blt.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_reg.h
|
1e7bfcc70719054e6fb69fc5313edd0420715e2c |
23-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_cb_blit.c
|
4374703a9b2ce0be105ee544c8402a932e3e1f52 |
22-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: explicit tell header present for fb write on sandybridge Determine header present for fb write by msg length is not right for SIMD16 dispatch, and if there're more output attributes, header present is not easy to tell from msg length. This explicitly adds new param for fb write to say header present or not. Fixes many cases' hang and failure in GL conformance test.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_emit.c
|
4fe78d3e12fa963273de4d83b1fd55a78a5d41bf |
21-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Avoid using float type for raw moves, to work around SNB issue. The SNB alt-mode math does the denorm and inf reduction even for a "raw MOV" like we do for g0 message header setup, where we are moving values that aren't actually floats. Just use UD type, where raw MOVs really are raw MOVs. Fixes glxgears since c52adfc2e1d130effea940e75690897eb5d3ceaa, but no piglit tests had regressed(!)
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
|
8b9570e685f010745e2dfb1bff00d555e2e5f6ba |
21-Dec-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Check for unsupported texture when finishing using as a render target Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_fbo.c
|
c1f0f90a976c62546efed34ecbec50b25d0f6aa7 |
21-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_format.h.
tate_tracker/st_format.h
|
3d03b4d839afeb4939b28c21ca32f6cb069f4495 |
21-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_draw.h.
tate_tracker/st_draw.h
|
5c102dd94f435e97507213fbd128e50dd15f5f54 |
20-Dec-2010 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau: fix includes for latest libdrm Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
rivers/dri/nouveau/nouveau_driver.h
|
ec51092a72e2dff1e9b1362d813fe4691cda89b7 |
19-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_draw_feedback.c
|
c451aade889c3c0733fabab691f2a33643e8a054 |
20-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove comment cruft from st_context.h. This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
tate_tracker/st_context.h
|
2dd788663a8d54e8d54fc373d9399548f324c9ea |
20-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_texture.h.
tate_tracker/st_cb_texture.h
|
10eb0c39d52d59956f306ee9daa63e1466e0cd3e |
20-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_readpixels.h.
tate_tracker/st_cb_readpixels.h
|
c87f82bc40f90fd3fe7af74ffa4d7784c7d1b6b1 |
18-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_program.h.
tate_tracker/st_cb_program.h
|
ac09685d2ae4e302b25454b681396d3256a4b6cb |
18-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_accum.h.
tate_tracker/st_cb_accum.h
|
488e994ba977dc363a5b0a8b657d93a46ade7da2 |
18-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in prog_statevars.h.
rogram/prog_statevars.h
|
aa4d3118734566881e49c8bd962da94630450512 |
18-Dec-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: fix queryobj whitespace. Had done this before pushing but forgot to amend, doh.
ain/queryobj.c
|
ff7aa554a11863de2c4c0b4b6d1ec7b07c819739 |
11-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/swrast/st: add ARB_occlusion_query2 support. This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/extensions.c
ain/queryobj.c
tate_tracker/st_extensions.c
|
d0f8eea9a06d8268a21ac58b134964a602f9594e |
17-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove OES_compressed_paletted_texture from the ES2 extension list. We don't support it.
ain/extensions.c
|
fcc7024afec9b02069334b57c2c6bd20f1138731 |
16-Dec-2010 |
richard <richard@richard-desktop.(none)> |
r600c : inline vertex format is not updated in an app, switch to use vfetch constants. For the 7.9 and 7.10 branches as well.
rivers/dri/r600/r700_assembler.c
|
290a1141bc561cbd8fd2bbbb0a7c24d1b6abe0b4 |
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Support glCopyTexImage() from XRGB8888 to ARGB8888. The only mismatch between the two is that we have to clear the destination's alpha to 1.0. Fixes WOW performance on my Ironlake, from a few frames a second to almost playable.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_tex_copy.c
|
ec03b316b4dc5d56b8510cc5aeb0f71a4fdada18 |
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Try to sanely check that formats match for CopyTexImage. Before, we were going off of a couple of known (hopeful) matches between internalFormats and the cpp of the read buffer. Instead, we can now just look at the gl_format of the two to see if they match. We should avoid bad blits that might have been possible before, but also allow different internalFormats to work without having to enumerate each one.
rivers/dri/intel/intel_tex_copy.c
|
e65c643792d1327a0a491f5d4a707467a6955746 |
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Drop commented intel_flush from copy_teximage. The blit that follows appears in the command stream so it's serialized with previous rendering. Any queued vertices in the tnl layer were already flushed up in mesa/main/.
rivers/dri/intel/intel_tex_copy.c
|
99c7840b0c10dbc731cad93b02b3865855ad086b |
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Update renderbuffers before looking up CopyTexImage's read buffer. Not fixing a particular bug, just noticed by code inspection.
rivers/dri/intel/intel_tex_copy.c
|
aa5ba96d294698809186cc4b59034abbd3076812 |
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/varient/variant
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
c52adfc2e1d130effea940e75690897eb5d3ceaa |
16-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the alternative floating point mode on gen6 VS and WM. This matches how we did the math instructions pre-gen6, though it applies to non-math as well. Fixes vp1-LIT test 2 (degenerate case: 0 ^ 0 -> 1)
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
2bd11ea11921bcd180b354342a8786c5b7ddd6b3 |
15-Dec-2010 |
Shuang He <shuang.he@intel.com> |
i915: Fix INTEL_DEBUG=wm segmentation fault The program should be disassembled after it's uploaded
rivers/dri/i915/i915_fragprog.c
|
a8ca30bc58b73203a83799149ca9d21bcdce74b5 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect prev pointer in destroy_program_variants()
tate_tracker/st_program.c
|
be2aa81f5f8f44be8c9c8854098d29635352c4f8 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more program debug code
rogram/prog_execute.c
|
68c41a25b4adf77886cc915d47af5e01723142f8 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename the varient release functions
tate_tracker/st_cb_program.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
4d1b2df6c0fd837828fdebc0bd20d9eccf1ffedf |
14-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in prog_optimize.h.
rogram/prog_optimize.h
|
2c582dd25f0625eae9ebd2c0c2c151f048a9790b |
14-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in prog_cache.h.
rogram/prog_cache.h
|
71af07bf40e095e4c4e075d3f52a1f89f22d6639 |
14-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in nvvertparse.h.
rogram/nvvertparse.h
|
c27285610c9f9b50d06bf0f2725da195937cb48d |
13-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for using the BLT ring on gen6.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
|
d88aa6fe3e9e08af332a900c69bf2bf5c4420e90 |
14-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Improve the hacks for ARB_fp scalar^scalar POW on gen6. This is still awful, but my ability to care about reworking the old backend so we can just get a temporary value into a POW is awfully low since the new backend does this all sensibly. Fixes: fp1-LIT test 1 fp1-LIT test 3 (case x < 0) fp1-POW test (exponentiation) fp-lit-mask
rivers/dri/i965/brw_wm_emit.c
|
43b7b9d02aa3a3670fd30619ef2b2366abf955dc |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: 80-columns wrapping, whitespace fixes in st_cb_bitmap.c
tate_tracker/st_cb_bitmap.c
|
c21807d2f7329a363f2c68cd8ef4dfc46575d52f |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add geom program code in destroy_program_variants()
tate_tracker/st_program.c
|
b830b62a47dec70640062c488cbebd2c8ac487f9 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: program struct comments
tate_tracker/st_program.h
|
43125694109b01b9d99ed73ca340fcf19b831cd5 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use st_fragment_program() instead of cast
tate_tracker/st_program.c
|
6c669d0c0766c27c58dd3ea7c3bd18b47a922aea |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename variable
tate_tracker/st_program.h
|
83d50c3ee1309ee12bc4516d6c836a3c03fa9026 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor re-indenting
tate_tracker/st_program.c
|
8d8e9491df01898a8dde725baa000c0259a991a3 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: make st_delete_program() static
tate_tracker/st_cb_program.c
tate_tracker/st_cb_program.h
|
9b4433fe58cc1a64c44388590385a777e3050bb3 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add comments, fix formatting in st_cb_program.c
tate_tracker/st_cb_program.c
|
3d203b610045980853d26370ee21fb2ef4aed17e |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
Squashed commit of the following (st-mesa-per-context-shaders branch): commit 4f106f44a32eaddb6cf3fea6ba5ee9787bff609a Author: Brian Paul <brianp@vmware.com> Date: Mon Dec 13 14:06:08 2010 -0700 st/mesa: reorganize vertex program translation code Now it looks like the fragment and geometry program code. Also remove the serial number fields from programs. It was used to determine when new translations were needed. Now the variant key is used for that. And the st_program_string_notify() callback removes all variants when the program's code is changed. commit e12d6791c5e4bff60bb2e6c04414b1b4d1325f3e Author: Brian Paul <brianp@vmware.com> Date: Mon Dec 13 13:38:12 2010 -0700 st/mesa: implement geometry shader varients Only needed in order to support per-context gallium shaders. commit c5751c673644808ab069259a852f24c4c0e92b9d Author: Brian Paul <brianp@vmware.com> Date: Sun Dec 12 15:28:57 2010 -0700 st/mesa: restore glDraw/CopyPixels using new fragment program variants Clean up the logic for fragment programs for glDraw/CopyPixels. We now generate fragment program variants for glDraw/CopyPixels as needed which do texture sampling, pixel scale/bias, pixelmap lookups, etc. commit 7b0bb99bab6547f503a0176b5c0aef1482b02c97 Author: Brian Paul <brianp@vmware.com> Date: Fri Dec 10 17:03:23 2010 -0700 st/mesa: checkpoint: implement fragment program variants The fragment programs variants are per-context, as the vertex programs. NOTE: glDrawPixels is totally broken at this point. commit 2cc926183f957f8abac18d71276dd5bbd1f27be2 Author: Brian Paul <brianp@vmware.com> Date: Fri Dec 10 14:59:32 2010 -0700 st/mesa: make vertex shader variants per-context Gallium shaders are per-context but OpenGL shaders aren't. So we need to make a different variant for each context. During context tear-down we need to walk over all shaders/programs and free all variants for the context being destroyed.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_program.c
tate_tracker/st_program.h
|
bb7c2691d25b6aaea2663f85a5b6723edbf56938 |
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa, st/mesa: disable GL_ARB_geometry_shader4 The new GLSL compiler doesn't support geom shaders yet so disable the GL_ARB_geometry_shader4 extension. Undo this when geom shaders work again. NOTE: This is a candidate for the 7.10 branch.
ain/extensions.c
tate_tracker/st_extensions.c
|
2d577ee730c30caacf711babde6542766aa0b655 |
14-Dec-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Don't generate swizzles for record derefs of non-scalar/vectors This is the same as what the array dereference handler does. Fixes piglit test glsl-link-struct-array (bugzilla #31648). NOTE: This is a candidate for the 7.9 and 7.10 branches.
rogram/ir_to_mesa.cpp
|
036c817f77f71e7c4b17571ae100a9bc93d8fe5b |
13-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gl_FragCoord.z setup on gen6. Fixes glsl-bug-22603.
rivers/dri/i965/brw_fs.cpp
|
5fbd8da8dfb89c61f0ed143ad3f21a2b8752a476 |
13-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i956: Fix the old FP path fragment position setup on gen6. Fixes fp-arb-fragment-coord-conventions-none
rivers/dri/i965/brw_wm_emit.c
|
7cec7bf56c1b8aa03800e01fa06f29a02edae755 |
13-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix ARL to work on gen6. RNDD isn't one of the instructions that can do conversion from execution type to destination type. Fixes glsl-vs-arrays-3.
rivers/dri/i965/brw_vs_emit.c
|
df9f89154471ec162227ebce1681c5010f64e6e6 |
13-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Include stdbool so we can stop using GLboolean when we want to. This requires shuffling the driconf XML macros around, since they use true and false tokens expecting them to not get expanded to anything.
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
6577f753b278878eeb965964b381812c7b950083 |
13-Dec-2010 |
Brian Paul <brianp@vmware.com> |
tnl: a better way to initialize the gl_program_machine memory This improves commit ef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca NOTE: This is a candidate for the 7.9 and 7.10 branches.
nl/t_vb_program.c
|
bf8242684a893c2b3abb4a515c31d24a0a6b7dc4 |
11-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in nvfragparse.h.
rogram/nvfragparse.h
|
7d8c06746059c2b3cd7ac08fd0909e38c880ec9c |
11-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in ir_to_mesa.h.
rogram/ir_to_mesa.h
|
d0990db6bd7d6e9e1cd780dc6b50ce00408a3cbc |
11-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix swizzle lowering with a presubtract source operand If a source operand has a non-native swizzle (e.g. the KIL instruction cannot have a swizzle other than .xyzw), the lowering pass uses one or more MOV instructions to move the operand to an intermediate temporary with native swizzles. This commit fixes that the presubtract information was lost during the lowering. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
|
9e1fbd3d6e2a8accd0ebdc5937dd6eb7a8ef9b10 |
11-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix LIT in VS This fixes broken rendering of trees in ETQW. The trees still disappear for an unknown reason when they are close. Broken since: 2ff9d4474bdf5f05852ad4963d0b597d20743678 r300/compiler: make lowering passes possibly use up to two less temps NOTE: This is a candidate for the 7.10 branch.
rivers/dri/r300/compiler/radeon_program_alu.c
|
783e7caadf945f176cb297b8791769e2855fc9ef |
10-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Put common info on converting MESA_FORMAT to BRW_FORMAT in a table. There are exceptions to the table for depth texturing or rendering to not-quite-supported formats thanks to the non-orthogonal component selection for surface formats, but it's still a lot simpler.
rivers/dri/i965/brw_wm_surface_state.c
|
be72efb4f29180fdaf0935f8739f230fe5ea6317 |
10-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Just use ChooseTextureFormat for renderbuffer format choice. One less place to forget to put your new MESA_FORMAT support in.
rivers/dri/intel/intel_fbo.c
|
e339b669a14f37698b842c0c51c1f5e4001ef12f |
10-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Add a couple of helper functions to reduce rb code duplication.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_format.c
|
28bab24e1698843e27d27204a1117066e7ffeabb |
10-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Add spans code for the ARB_texture_rg support. This starts spantmp2.h down the path of using MESA_FORMAT_* for specifying the format instead of the crazy GL format/type combo.
rivers/dri/common/spantmp2.h
rivers/dri/intel/intel_span.c
|
a7e2d649710efaf6b542e8a96453baba5c58321f |
10-Dec-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)
ain/formats.c
|
ef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca |
10-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Initialize gl_program_machine memory in run_vp. Fixes piglit valgrind glsl-array-bounds-04 failure (FDO bug 29946). NOTE: This is a candidate for the 7.10 branch. This is a candidate for the 7.9 branch.
nl/t_vb_program.c
|
b3d2ec9942303d1d03e28a25b030eb060415abfb |
17-Oct-2010 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
vbo: Avoid the copy to current in dlists if not required. The current state is allowed to be undefined past DrawElements et al. Consequently omit that copying at least in the display list code. This pays us some percents performance. Signed-off-by: Brian Paul <brianp@vmware.com>
bo/vbo.h
bo/vbo_save.h
bo/vbo_save_api.c
|
2a4df8933eaeb0bd0d6e63fee3d23a47c4b3adb7 |
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa/meta: fix broken assertion, rename stack depth var assert(current_save_state < MAX_META_OPS_DEPTH) did not compile. Rename current_save_state to SaveStackDepth to be more consistent with the style of the other fields.
rivers/common/meta.c
|
b7c38734c9d85f9dad1796d97690be2d9c55c397 |
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_ARB_draw_instanced for software drivers
ain/extensions.c
|
a63486ac680acc0bfb895037aca130a457caa01a |
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
tnl: implement instanced drawing
nl/t_context.h
nl/t_draw.c
nl/t_vb_program.c
|
6a0d3b7696260f449a1d0c5222814568764e8110 |
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement system values in program interpreter
rogram/prog_execute.c
rogram/prog_execute.h
|
d5810efca69d016eddd6ece4cb399394c46525db |
10-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in arbprogparse.h.
rogram/arbprogparse.h
|
e47eacdc53aec6743c42c8d9ab8298f802161733 |
10-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: support for two-sided lighting on Sandybridge VS places color attributes together so that SF unit can fetch the right attribute according to object orientation. This fixes light issue in mesa demo geartrain, projtex.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
|
d1196bbc191c4f1b355d432dcb2eeff9790fda34 |
10-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
meta: allow nested meta operations _mesa_meta_CopyPixels results in nested meta operations on Sandybridge. Previoulsy the second meta operation overrides all states saved by the first meta function.
rivers/common/meta.c
|
3a3b1bd722786ab0b1386a3a505cadfa89798232 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 reladdr VS constant loading.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
15566183a64ef3f9940962a3b08b1c3469c98566 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 constant-index constant loading.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
3fb18d67753fec8a21461266246ff6949fc0fe81 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Set the swizzling for depth textures using the GL_RED depth mode. Fixes depth-tex-modes-rg.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
|
b4e8ec3a57c28c0881fb5b595116f95b8cbe3f02 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use plain R8 and RG8 for COMPRESSED_RED and COMPRESSED_RG. Fixes texture-rg.
rivers/dri/intel/intel_tex_format.c
|
c3ca384e7190656afcd9f5143e811843efa2b3cb |
09-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence uninitialized variable warning. Fixes this GCC warning. brw_fs.cpp: In function 'brw_reg brw_reg_from_fs_reg(fs_reg*)': brw_fs.cpp:3255: warning: 'brw_reg' may be used uninitialized in this function
rivers/dri/i965/brw_fs.cpp
|
834cc8e501c2632fd8f9fc78502a1a99803e6fb9 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: remove unused variable since brw_wm_glsl.c removal.
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_wm_state.c
|
cfcc2ef587fad91ad1dff1abbd42886dbe9cc095 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set render_cache_read_write surface state bit on gen6 constant surfs. This is said to be required in the spec, even when you aren't doing writes.
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_wm_surface_state.c
|
30f25a10190632a971e2b214c443e54afa463ead |
16-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the correct texture border color state struct for Ironlake. This doesn't actually fix border color on Ironlake, but it appears to be a requirement, and gen6 needs it too.
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_wm_sampler_state.c
|
14a9153a32255f186a30b500d6db412388f4de28 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up VS constant buffer location setup.
rivers/dri/i965/brw_eu_emit.c
|
8fab1c0e2e0610813dfaa7fbc83662ec0f3a049c |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix VS constants regression pre-gen6. Last minute change for gen6 with 0 used params dropped the multiply.
rivers/dri/i965/brw_vs_emit.c
|
9946f15d302d48a0bc0ab0b8a3556c184e88c7d0 |
09-Dec-2010 |
Shuang He <shuang.he@intel.com> |
mesa: allow GLfixed arrays for OpenGL ES 2.0 Signed-off-by: Brian Paul <brianp@vmware.com>
ain/varray.c
|
0c0eda393ad5048528f2664d03046ff7f7d3a64c |
09-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix glTexCoordPointer with type GL_FIXED. GL_FIXED is also a legal type for glTexCoordPointer.
ain/varray.c
|
2d270ac0904a1e3779906f7dbf493f31e5b3823b |
09-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix GL_FIXED arrays. It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.
ain/image.c
|
05e534e6c4395269b1ca3a9694a1f437363dd186 |
09-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Drop push-mode reladdr constant loading and always use constant_map. This eases the gen6 implementation, which can only handle up to 32 registers of constants, while likely not penalizing real apps using reladdr since all of those I've seen also end up hitting the pull constant buffer. On gen6, the constant map means that simple NV VPs fit under the 32-reg limit and now succeed. Fixes around 10 testcases.
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_vs_state.c
|
fd543e1f9506fe41e6e9e78aebbe0bca01df055c |
09-Dec-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: bump mip tree levels to 15 I forgot to bump this when I bumped the tex levels.
rivers/dri/radeon/radeon_mipmap_tree.h
|
09a5e028a6d254f619132e302a96c8535018603d |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify target checking for TexImage functions
ain/teximage.c
|
7404fa3f07a953343f2640fa97d82ab82ba5545d |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: revamp error checking for compressed texture images Simplify some code, remove unneeded checks, etc.
ain/teximage.c
|
2b5e1e5287df5cae218b6f83d2638853d250aff9 |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: translate shader system inputs
tate_tracker/st_mesa_to_tgsi.c
|
691048a22acf930e263711cf206e792a1b52f342 |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: ir_to_mesa support for system values
rogram/ir_to_mesa.cpp
|
379332f629153220614e651225b0521cd64c98b9 |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: program printing for PROGRAM_SYSTEM_VALUE
rogram/prog_print.c
|
c6d74bcbfcb54e0c03f4c3d7e82bc1267f36ffe4 |
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add PROGRAM_SYSTEM_VALUE and related tokens System values are shader inputs which don't necessarily change from vertex to vertex or fragment to fragment. gl_InstanceID and gl_FrontFacing are examples.
ain/mtypes.h
|
d547ab150ae8db64caebbae2b2414a3988b2f089 |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Drop KIL_NV from the ff/ARB_fp path since it was only used for GLSL.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_pass1.c
|
dba6fde08cca22187ac7bf23462a22147a596683 |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the new pixel mask location for gen6 ARB_fp KIL instructions. Fixes: fp-kil fp-generic/kil-swizzle.
rivers/dri/i965/brw_wm_emit.c
|
39eaacff14ba2d529a072e737b8fe11f887011ea |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the render target index in gen6 fixed-function/ARB_fp path. Fixes: fbo-drawbuffers2-blend fbo-drawbuffers2-colormask
rivers/dri/i965/brw_wm_emit.c
|
4b4dc778b6289891d18ad62efdea86b060f07061 |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the per-render-target blend state on gen6. This will let us get EXT_draw_buffers2 blending and colormasking working.
rivers/dri/i965/gen6_cc.c
|
0d3b8a5cc2c1730af0efc69482d36a86ff18f15e |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the color masking for the first drawbuffer on gen6. Fixes glean/maskedClear
rivers/dri/i965/gen6_cc.c
|
d2028ba33967b3ce3de94b0837c9faf06f1c2b94 |
08-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Do not advertise GL_OES_texture_3D. GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented, GL_OES_texture_3D should not be advertised.
ain/extensions.c
|
98ee6739d97b5592a7dad0b453c78e180a51ad50 |
07-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
vbo: Fix GLES2 glVertexAttrib. Attribute 0 has no special meaning in GLES2. Add VertexAttrib4f_nopos for that purpose and make _es_VertexAttrib* call the new function. Rename _vbo_* to _es_* to avoid confusion. These functions are only used by GLES, and now some of them (_es_VertexAttrib*) even behave differently than vbo_VertexAttrib*.
ain/APIspec.xml
bo/vbo.h
bo/vbo_exec_api.c
|
9f0d7dd25941b2f327c7bedf7513eee871829073 |
07-Dec-2010 |
Chia-I Wu <olv@lunarg.com> |
vbo: Drop second ATTR macro. There is no need to have a special version of ATTR for !FEATURE_beginend, since 81ccb3e2ce708619f4c23537a237d61bdffdd35f.
bo/vbo_exec_api.c
|
c64447f47de168e82086bc2fb483817b82e59cab |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_test_proxy_teximage() easier to read
ain/teximage.c
|
4ff70b7a8f5f6383d8f320e68d798d0654799210 |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glCompressedTexImage1/2/3D() functions
ain/teximage.c
|
1c23b860cea93534f726d2a18658444f37f43538 |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glCopyTexSubImage1/2/3D() functions
ain/teximage.c
|
11f386fb504b9f07dd501a65f31185cfa0e9a679 |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glCopyTexImage1/2D() code
ain/teximage.c
|
45124e043da5a67e1081526d61b99422f4ccde19 |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate the glTexSubImage1/2/3D() functions
ain/teximage.c
|
35f620d55ced7fcb3f39465c173ba2ae435a2ba1 |
08-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify proxy texture code in texture_error_check()
ain/teximage.c
|
c4f9e55d61a75751a202f8028f64893c4425f541 |
08-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove at least unused immediates if externals cannot be removed
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_remove_constants.c
|
2ff9d4474bdf5f05852ad4963d0b597d20743678 |
07-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: make lowering passes possibly use up to two less temps CMP may now use two less temps, other non-native instructions may end up using one less temp, except for SIN/COS/SCS, which I am leaving unchanged for now. This may reduce register pressure inside loops, because the register allocator doesn't do a very good job there.
rivers/dri/r300/compiler/radeon_program_alu.c
|
93f2df07606132519e8eed349ff2f6910e9fbbd6 |
08-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: handle DPH and XPD in rc_compute_sources_for_writemask This bug can only be triggered if you put deadcode before native rewrite.
rivers/dri/r300/compiler/radeon_opcodes.c
|
95080fb50f24bc96fdbb380ef386ee7b9cc164ec |
08-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: do not print pair/tex/presub program stats for vertex shaders
rivers/dri/r300/compiler/radeon_compiler.c
|
8fac29d49e2b87c058cb6332211721c979fc231e |
08-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: cleanup rc_run_compiler
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
2592a8f506568784c5e97bfd7ba306348d6007ed |
07-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add a function to query program stats (alu, tex, temps..)
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
431b4c0c84424bb80820c3b189aed901fdb605b2 |
07-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: don't terminate regalloc if we surpass max temps limit The same check is already in a later pass (translate_vertex_program).
rivers/dri/r300/compiler/r3xx_vertprog.c
|
2f07a744f127a232943101d5cc7fd533859c2ca9 |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't try to store gen6 (float) blend constant color in bytes. Fixes glean/blendFunc
rivers/dri/i965/gen6_cc.c
|
b2167a6c013c057e731b96486e3363c1d1171d60 |
08-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix flipped value of the not-embedded-in-if on gen6. Fixes: glean/glsl1-! (not) operator (1, fail) glean/glsl1-! (not) operator (1, pass)
rivers/dri/i965/brw_fs.cpp
|
7ca7e9b626389dd6dac683c6664b8478e6d5c3b9 |
07-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Work around gen6 ignoring source modifiers on math instructions. With the change of extended math from having the arguments moved into mrfs and handed off through message passing to being directly hooked up to the EU, it looks like the piece for doing source modifiers (negate and abs) was left out. Fixes: fog-modes glean/fp1-ARB_fog_exp test glean/fp1-ARB_fog_exp2 test glean/fp1-Computed fog exp test glean/fp1-Computed fog exp2 test ext_fog_coord-modes
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_emit.c
|
2d7dfb8446df87f11494a2a079cf4e0e8d1da030 |
07-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disabled debug code for dumping out the WM constant payload. This can significantly ease thinking about the asm.
rivers/dri/i965/gen6_wm_state.c
|
6848e27e1462e98dd91826a06f96c203c9eeebd0 |
07-Dec-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Correctly emit constants for aggregate types (array, matrix, struct) Previously the code only handled scalars and vectors. This new code is modeled somewhat after similar code in ir_to_mesa. Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_fs.cpp
|
fa0d5a2c5bfb6109d365a6f0b9bee53dfee50325 |
07-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Always hand the absolute value to RSQ. gen6 builtin RSQ apparently clamps negative values to 0 instead of returning the RSQ of the absolute value like ARB_fragment_program desires and pre-gen6 apparently does. Fixes: glean/fp1-RSQ test 2 (reciprocal square root of negative value) glean/vp1-RSQ test 2 (reciprocal square root of negative value)
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_fp.c
|
72845d206e692581b6084c56b8d1f3bc689e8a03 |
07-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Handle saturates on gen6 math instructions. We get saturate as an argument to brw_math() instead of as compile state, since that's how the pre-gen6 send instructions work. Fixes fp-ex2-sat.
rivers/dri/i965/brw_eu_emit.c
|
ed492e954480326930e83ff62da3f35f0548d774 |
07-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix comment about gen6_wm_constants. This is the push constant buffer, not the pull constants.
rivers/dri/i965/brw_state_upload.c
|
27609a826734594c092390c2538b74f8358c1aba |
07-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: upload WM state for _NEW_POLYGON on sandybridge Be sure polygon stipple mode is updated. This fixes 'gamma' demo.
rivers/dri/i965/gen6_wm_state.c
|
6ee415cc6d7083bb091dfa93c617c3907a4801c9 |
07-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
r200: Silence uninitialized variable warning. Fixes this GCC warning. r200_maos_arrays.c: In function 'r200EmitArrays': r200_maos_arrays.c:113: warning: 'emitsize' may be used uninitialized in this function
rivers/dri/r200/r200_maos_arrays.c
|
5ff6ed2b975d56e0e9ab363e2dc756ce93c78803 |
07-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: set minimum/maximum Point Width on Sandybridge It is used for point width on vertex. This fixes mesa demo spriteblast and pointblast.
rivers/dri/i965/gen6_clip_state.c
|
dda3ccba8c3e34320524d65292e98d34f03c4fa7 |
07-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in viewport.h.
ain/viewport.h
|
dbd3f726620f908f5d37b56ee89491d919d46bf6 |
07-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in varray.h.
ain/varray.h
|
2aa36f78dc78a304c613c87e238292c2b212e612 |
07-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in transformfeedback.h.
ain/transformfeedback.h
|
8cc3d411ed58f19acc07e8f96a634a005d1dab3e |
07-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texrender.h.
ain/texrender.h
|
d0b2b8da7d363f6b79fcab7bfe6e81d1d436944e |
07-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glTexImage1/2/3D() code Something similar could be done for glCopyTex[Sub]Image() and the compressed texture image functions as well.
ain/teximage.c
|
6dca66b6209378092fcaaeaeaf738629a146fad8 |
06-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: set gl_texture_object::_Complete=FALSE in incomplete()
ain/texobj.c
|
ecb7cc3319a74bda1edc226a1103f0e1a86d92a9 |
06-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: test for cube map completeness in glGenerateMipmap() The texture is not cube complete if the base level images aren't of the same size and format. NOTE: This is a candidate for the 7.9 branch.
ain/fbobject.c
ain/texobj.c
ain/texobj.h
|
a8f52647b045b5400ebcfc58ba235599a6e9ad87 |
06-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
symbol_table: Add support for adding a symbol at top-level/global scope.
rogram/symbol_table.c
rogram/symbol_table.h
|
d72cb9c94d0194861df3ca53e7181cfa08fd782a |
06-Dec-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Unbind all constant buffers
tate_tracker/st_context.c
|
a9fa0f3a2f318a7c57163491abe931e86b2cd4c3 |
06-Dec-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Bump the number of bits in the register index. More than 1023 temporaries were being used for a Cinebench shader before doing temporary optimization, causing the index value to wrap around to -1024.
rogram/prog_instruction.h
|
cae2bb76c1147d48f75ddd7a058a48d11e72ba03 |
06-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix mipmap generation bug In st_finalize_texture() we were looking at the st_texture_object:: lastLevel field instead of the pipe_resource::last_level field to determine which resource to store the mipmap in. Then, in st_generate_mipmap() we need to call st_finalize_texture() to make sure the destination resource is properly allocated. These changes fix the broken piglit fbo-generatemipmap-formats test.
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
b89a731ff297dec597e3a4be1abf94e97d9b0e44 |
06-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add error margin to clip mask debug/check code When X or Y or Z is close to W the outcome of the floating point clip test comparision may be different between the C and x86 asm paths. That's OK; don't report an error. See fd.o bug 32093
ath/m_debug_clip.c
|
4538ce915ba4c43290f4341ad80040b4b735eab3 |
11-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove INTEL_DEBUG=glsl_force now that there's no brw_wm_glsl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
5ba517baa22b05d594b8839ac06fe45b81c1d09f |
11-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Nuke brw_wm_glsl.c. It was only used for gen6 fragment programs (not GLSL shaders) at this point, and it was clearly unsuited to the task -- missing opcodes, corrupted texturing, and assertion failures hit various applications of all sorts. It was easier to patch up the non-glsl for remaining gen6 changes than to make brw_wm_glsl.c complete. Bug #30530
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_wm_state.c
|
245662f3083795e272fe9ef5d4cbeb6d048cf0e5 |
03-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for the instruction compression bits on gen6. Since the 8-wide first-quarter and 16-wide first-half have the same bit encoding, we now need to track "do you want instruction compression" in the compile state.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
3f8bcb0d998820594ea288e4607462fa4479859f |
04-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Align gen6 push constant size to dispatch width. The FS backend is fine with register level granularity. But for the brw_wm_emit.c backend, it expects pairs of regs to be used for the constants, because the whole world is pairs of regs. If an odd number got used, we went looking for interpolation in the wrong place.
rivers/dri/i965/gen6_wm_state.c
|
237aa33c67039f6660cac19f061057250b8b3697 |
04-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Make the sampler's implied move on gen6 be a raw move. We were accidentally doing a float-to-uint conversion.
rivers/dri/i965/brw_eu_emit.c
|
5340dd8ccacda82d4e68a4357f90503c84831594 |
03-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up gen6 samplers for their usage by brw_wm_emit.c We were trying to do the implied move even when we'd already manually moved the real header in place.
rivers/dri/i965/brw_eu_emit.c
|
ad29e798504fcaf23ac3f2656bcfb8d8e19ca183 |
03-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gen6 interpolation setup for 16-wide. In the SF and brw_fs.cpp fixes to set up interpolation sanely on gen6, the setup for 16-wide interpolation was left behind. This brings relative sanity to that path too.
rivers/dri/i965/brw_wm_pass2.c
|
ae0df25ab439508c8bca707b91bbf085ff16d47c |
13-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't smash a group of coordinates doing gen6 16-wide sampler headers.
rivers/dri/i965/brw_eu_emit.c
|
d1ead22d1bc2931e46410cd7367e48656135d63c |
03-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up 16-wide gen6 FB writes after various refactoring.
rivers/dri/i965/brw_wm_emit.c
|
ad35528944960f1619e0a9491164c848b333e6cf |
13-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Provide delta_xy reg to gen6 non-GLSL path PINTERP. Fixes many assertion failures in that path.
rivers/dri/i965/brw_wm_fp.c
|
16f8c823898fd71a3545457eacd2dc31ddeb3592 |
11-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move payload reg setup to compile, not lookup time. Payload reg setup on gen6 depends more on the dispatch width as well as the uses_depth, computes_depth, and other flags. That's something we want to decide at compile time, not at cache lookup. As a bonus, the fragment shader program cache lookup should be cheaper now that there's less to compute for the hash key.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_iz.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_pass2.c
|
2b1469340bbf910469449354eeb5c02a9acfedba |
06-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix GS state uploading on Sandybridge Need to check the required primitive type for GS on Sandybridge, and when GS is disabled, the new state has to be issued too, instead of only updating URB state with no GS entry, that caused hang on Sandybridge. This fixes hang issue during conformance suite testing.
rivers/dri/i965/brw_gs.c
rivers/dri/i965/gen6_urb.c
|
08be8d64509f60d2cc80112f5b94f43e06e94ff2 |
06-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix for flat shading on Sandybridge use constant interpolation instead of linear interpolation for attributes COL0,COL1 if GL_FLAT is used. This fixes mesa demo bounce.
rivers/dri/i965/gen6_sf_state.c
|
9cd277684db5a266b451a719a963556664838d6e |
05-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWING
tate_tracker/st_extensions.c
|
c0c929cdac75a9a0077d74c87b525b65f0a3b6c8 |
05-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: initialize key in st_vp_varient This fixes endless vertex shader recompilations in find_translated_vp if the shader contains an edge flag output. NOTE: This is a candidate for the 7.9 branch. Signed-off-by Brian Paul <brianp@vmware.com>
tate_tracker/st_program.c
|
afb80c531530d0ff4c0efbc9f728f99a87165d8e |
05-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix compile warning about missing opcodes.
rivers/dri/i965/brw_fs_channel_expressions.cpp
|
8f23039f0014eafec8b9d3fa06ce5fcba655a39b |
04-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update gen6 SF state on fragment program change too. SF state depends on what inputs there are to the fragment program, not just the outputs of the VS.
rivers/dri/i965/gen6_sf_state.c
|
65570d048234bfc13c5f1545e0454263fb2b5038 |
04-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update gen6 WM state on compiled program change, not just FP change.
rivers/dri/i965/gen6_wm_state.c
|
4ac2f09e2034d8940a0ce9426a8d5c5d74bc63bd |
03-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Add an env var override to execute for a different GPU revision. Sometimes I'm on the train and want to just read what's generated under INTEL_DEBUG=vs,wm for some code on another generation. Or, for the next gen enablement we'll want to dump aub files before we have the actual hardware. This will let us do that.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
09fba30fded4505e2cc5a93fd84cb1a73b7320a7 |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texobj.h.
ain/texobj.h
|
f657ac951defd13ef9c24bff3f95e722d1bbbd6f |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texgetimage.h.
ain/texgetimage.h
|
0ed245bd579777e8ce80637e8935c81c2404fc39 |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texformat.h.
ain/texformat.h
|
f8a9f5458b3f8d52ad579ff9a8cd9667ae207b08 |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texenvprogram.h.
ain/texenvprogram.h
|
f618f4549a95877588f42e4c3c93abb52297b2e2 |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texcompress_s3tc.h.
ain/texcompress_s3tc.h
|
3132591a4dfbc5966c999cff414573d7e2008ae8 |
04-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in texcompress.h.
ain/texcompress.h
|
6c33e820d5fe740ac4735d8bab864177dd1b2f14 |
04-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: new comment about updating state vars
tate_tracker/st_atom_constbuf.c
|
64244dfd39b6e63a62a91ea2fb2743bd88a22476 |
04-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: update comments, remove dead code
rogram/prog_statevars.c
|
6f851e6642a640deda34790c14d178acac1c552e |
04-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded cast
rogram/prog_statevars.c
|
503983b09e86b2ea1bdc1268977e12eaea42293d |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM In find_value() check if we've hit the 0th/invalid entry before checking if the pname matches. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31987 NOTE: This is a candidate for the 7.9 branch.
ain/get.c
|
40ee69b4f33288604f8d90a1d11a63dfde082952 |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: restructure some glReadPixels() code
wrast/s_readpix.c
|
5fc2548faea31acdd08bbb0f016ea41c6f01cf41 |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: accept GL_RG in glReadPixels() Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32088
wrast/s_readpix.c
|
8d6a0dc7f35995018b29f24b59e3386531f49592 |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix indentation
wrast/s_drawpix.c
|
75746e3779f9100fab8ac76242124152772dd8d9 |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: allow GL_RG format in glDrawPixels() Restructure the switch statement to avoid having to add additional color formats in the future. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32086
wrast/s_drawpix.c
|
6d13ec7dc082aea9a8ce04dd8e045e77e5921d8a |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type If querying the default/window-system FBO's attachment type, return GL_FRAMEBUFFER_DEFAULT (per the GL_ARB_framebuffer_object spec). See http://bugs.freedesktop.org/show_bug.cgi?id=31947 NOTE: This is a candidate for the 7.9 branch.
ain/fbobject.c
|
20cf1851d82d6135b92c20323266156eb6ad5ffe |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query Return 0 instead of generating an error. See http://bugs.freedesktop.org/show_bug.cgi?id=30993 Note that piglit fbo-getframebufferattachmentparameter-01 still does not pass. But Mesa behaves the same as the NVIDIA driver in this case. Perhaps the test is incorrect. NOTE: This is a candidate for the 7.9 branch.
ain/fbobject.c
|
d531f9c2f5c78468d913fc509b223760ac1c1124 |
02-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium gl_FragCoord.y needs to be flipped upside down if a FBO is bound. This fixes: - piglit/fbo-fragcoord - https://bugs.freedesktop.org/show_bug.cgi?id=29420 Here I add a new program state STATE_FB_WPOS_Y_TRANSFORM, which is set based on whether a FBO is bound. The state contains a pair of transformations. It can be either (XY=identity, ZW=transformY) if a FBO is bound, or (XY=transformY, ZW=identity) otherwise, where identity = (1, 0), transformY = (-1, height-1). A classic driver (or st/mesa) may, based on some other state, choose whether to use XY or ZW, thus negate the conditional "if (is a FBO bound) ...". The reason for this is that a Gallium driver is allowed to only support WPOS relative to either the lower left or the upper left corner, so we must flip the Y axis accordingly again. (the "invert" parameter in emit_wpos_inversion) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rogram/prog_statevars.c
rogram/prog_statevars.h
tate_tracker/st_mesa_to_tgsi.c
|
36b09b5ded84a03622a746bd6e963cec5d70c5c3 |
03-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace more MAX_WIDTH stack allocations with heap allocations
ain/pack.c
ain/pack.h
|
77ea102735114855a01507a6c802318d4958ce5a |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: avoid large stack allocations in readpixels code
tate_tracker/st_cb_readpixels.c
|
aa28efe60dee4570730538ef091d1c79f42fa1cd |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: avoid large stack allocations in tex combine code
wrast/s_texcombine.c
|
25662f878ea5f3a8c55506d0becafe2c0a6370f2 |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
swrast: avoid large stack allocations in blend code
wrast/s_blend.c
|
2addcb7b50e6f1e821c06a295038194216ca1869 |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace large/MAX_WIDTH stack allocations with heap allocations
ain/pack.c
|
896a08bde6de96bbd737d70386dd3cea270be4c4 |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace large/MAX_WIDTH stack allocations with heap allocations
ain/texgetimage.c
|
a3dc947057fb9b1229fa5a62b00822b7aa891bd7 |
02-Dec-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: bump texture limits to hw limits
rivers/dri/r600/r600_context.c
|
64da9a1a04f5e3a0609be09a65a4c0419ebd43a5 |
02-Dec-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Temporary hack to prevent stack overflow on windows e.g. st_readpixels is trying to alloca() an huge ammount of memory from the stack.
ain/config.h
|
43491adc44c82646652e8322acbd7f8684aae889 |
02-Dec-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add getters for ARB_copy_buffer's attachment points. Fixes more complaints by oglconform.
ain/get.c
|
7cba339375f4b8c4e4614853f9e160d41eb25c51 |
02-Dec-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add getters for the rest of the supported draw buffers. MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform.
ain/get.c
|
e3659329e0b91ea78afe32e231f2f75d3d728af9 |
02-Dec-2010 |
José Fonseca <jfonseca@vmware.com> |
WIN32_THREADS -> WIN32 Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
Conscript
rivers/windows/gdi/InitCritSections.cpp
|
4b08f35487fa439fd9ca4d653d3a146c3dc09c1c |
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: raise max texture sizes to 16K This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size.
ain/config.h
ain/context.c
ain/mtypes.h
ain/teximage.c
|
23390e2f5cf1050f98c70c8603e374191e7d84e7 |
02-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: disable the swizzle lowering pass in vertex shaders It was a no-op because all swizzles are native there.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
4c7001462607e6e99e474d6271dd481d3f8f201c |
02-Dec-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: support for array textures and related changes resources have a array_size parameter now. get_tex_surface and tex_surface_destroy have been renamed to create_surface and surface_destroy and moved to context, similar to sampler views (and create_surface now uses a template just like create_sampler_view). Surfaces now really should only be used for rendering. In particular they shouldn't be used as some kind of 2d abstraction for sharing a texture. offset/layout fields don't make sense any longer and have been removed, width/height should go too. surfaces and sampler views now specify a layer range (for texture resources), layer is either array slice, depth slice or cube face. pipe_subresource is gone array slices (or cube faces) are now treated the same as depth slices in transfers etc. (that is, they use the z coord of the respective functions). Squashed commit of the following: commit a45bd509014743d21a532194d7b658a1aeb00cb7 Merge: 1aeca28 32e1e59 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 04:32:06 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_resource_texture.c src/gallium/drivers/i915/i915_state_emit.c src/gallium/drivers/i915/i915_surface.c commit 1aeca287a827f29206078fa1204715a477072c08 Merge: 912f042 6f7c8c3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 00:37:11 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/st_inlines.h src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/vega/vg_manager.c commit 912f042e1d439de17b36be9a740358c876fcd144 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 03:01:55 2010 +0100 gallium: even more compile fixes after merge commit 6fc95a58866d2a291def333608ba9c10c3f07e82 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 00:22:26 2010 +0100 gallium: some fixes after merge commit a8d5ffaeb5397ffaa12fb422e4e7efdf0494c3e2 Merge: f7a202f 2da02e7 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 30 23:41:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_state_emit.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/vg_context.c commit f7a202fde2aea2ec78ef58830f945a5e214e56ab Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 19:19:32 2010 +0100 gallium: even more fixes/cleanups after merge commit 6895a7f969ed7f9fa8ceb788810df8dbcf04c4c9 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 03:07:36 2010 +0100 gallium: more compile fixes after merge commit af0501a5103b9756bc4d79167bd81051ad6e8670 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 19:24:45 2010 +0100 gallium: lots of compile fixes after merge commit 0332003c2feb60f2a20e9a40368180c4ecd33e6b Merge: 26c6346 b6b91fa Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 17:02:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/gallivm/lp_bld_sample.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_blitter.c src/gallium/auxiliary/util/u_inlines.h src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/util/u_surfaces.c src/gallium/docs/source/context.rst src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nvfx/nv04_surface_2d.c src/gallium/drivers/nvfx/nv04_surface_2d.h src/gallium/drivers/nvfx/nvfx_buffer.c src/gallium/drivers/nvfx/nvfx_miptree.c src/gallium/drivers/nvfx/nvfx_resource.c src/gallium/drivers/nvfx/nvfx_resource.h src/gallium/drivers/nvfx/nvfx_state_fb.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_buffer.c src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_screen.h src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/include/pipe/p_defines.h src/gallium/state_trackers/egl/common/egl_g3d_api.c src/gallium/state_trackers/glx/xlib/xm_st.c src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c src/gallium/targets/libgl-gdi/libgl_gdi.c src/gallium/tests/graw/tri.c src/mesa/state_tracker/st_cb_blit.c src/mesa/state_tracker/st_cb_readpixels.c commit 26c6346b385929fba94775f33838d0cceaaf1127 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:37:21 2010 +0200 fix more merge breakage commit b30d87c6025eefe7f6979ffa8e369bbe755d5c1d Merge: 9461bf3 1f1928d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:15:38 2010 +0200 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_rast_priv.h src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_screen_buffer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_texture.h src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/drivers/r600/r600_texture.h src/gallium/state_trackers/dri/common/dri1_helper.c src/gallium/state_trackers/dri/sw/drisw.c src/gallium/state_trackers/xorg/xorg_exa.c commit 9461bf3cfb647d2301364ae29fc3084fff52862a Merge: 17492d7 0eaccb3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jul 15 20:13:45 2010 +0200 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_surface.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/tests/trivial/quad-tex.c commit 17492d705e7b7f607b71db045c3bf344cb6842b3 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Jun 18 10:58:08 2010 +0100 gallium: rename element_offset/width fields in views to first/last_element This is much more consistent with the other fields used there (first/last level, first/last layer). Actually thinking about removing the ugly union/structs again and rename first/last_layer to something even more generic which could also be used for buffers (like first/last_member) without inducing headaches. commit 1b717a289299f942de834dcccafbab91361e20ab Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 14:46:09 2010 +0100 gallium: remove PIPE_SURFACE_LAYOUT_LINEAR definition This was only used by the layout field of pipe_surface, but this driver internal stuff is gone so there's no need for this driver independent layout definition neither. commit 10cb644b31b3ef47e6c7b55e514ad24bb891fac4 Merge: 5691db9 c85971d Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 12:20:41 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/docs/source/glossary.rst src/gallium/tests/graw/fs-test.c src/gallium/tests/graw/gs-test.c commit 5691db960ca3d525ce7d6c32d9c7a28f5e907f3b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 11:29:03 2010 +0100 st/wgl: fix interface changes bugs commit 2303ec32143d363b46e59e4b7c91b0ebd34a16b2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:32 2010 +0100 gallium: adapt code to interface changes... commit dcae4f586f0d0885b72674a355e5d56d47afe77d Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:05 2010 +0100 gallium: separate depth0 and array_size in the resource itself. These fields are still mutually exclusive (since no 3d array textures exist) but it ultimately seemed to error-prone to adapt all code accept the new meaning of depth0 (drivers stick that into hardware regs, calculate mipmap sizes etc.). And it isn't really cleaner anyway. So, array textures will have depth0 of 1, but instead use array_size, 3D textures will continue to use depth0 (and have array_size of 1). Cube maps also will use array_size to indicate their 6 faces, but since all drivers should just be fine by inferring this themselves from the fact it's a cube map as they always used to nothing should break. commit 621737a638d187d208712250fc19a91978fdea6b Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:47:38 2010 +0100 gallium: adapt code to interface changes There are still usages of pipe_surface where pipe_resource should be used, which should eventually be fixed. commit 2d17f5efe166b2c3d51957c76294165ab30b8ae2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:46:14 2010 +0100 gallium: more interface changes In particular to enable usage of buffers in views, and ability to use a different pipe_format in pipe_surface. Get rid of layout and offset parameter in pipe_surface - the former was not used in any (public) code anyway, and the latter should either be computed on-demand or driver can use subclass of pipe_surface. Also make create_surface() use a template to be more consistent with other functions. commit 71f885ee16aa5cf2742c44bfaf0dc5b8734b9901 Merge: 3232d11 8ad410d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 14:19:51 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_box.h src/gallium/drivers/nv50/nv50_surface.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_screen.h src/gallium/include/pipe/p_state.h commit 3232d11fe3ebf7686286013c357b404714853984 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:40:04 2010 +0100 mesa/st: adapt to interface changes still need to fix pipe_surface sharing (as that is now per-context). Also broken is depth0 handling - half the code assumes this is also used for array textures (and hence by extension of that cube maps would have depth 6), half the code does not... commit f433b7f7f552720e5eade0b4078db94590ee85e1 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:35:52 2010 +0100 gallium: fix a couple of bugs in interface chnage fixes commit 818366b28ea18f514dc791646248ce6f08d9bbcf Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:42:11 2010 +0200 targets: adapt to interface changes Yes even that needs adjustments... commit 66c511ab1682c9918e0200902039247793acb41e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:41:13 2010 +0200 tests: adapt to interface changes Everything needs to be fixed :-(. commit 6b494635d9dbdaa7605bc87b1ebf682b138c5808 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:39:50 2010 +0200 st: adapt non-rendering state trackers to interface changes might not be quite right in all places, but they really don't want to use pipe_surface. commit 00c4289a35d86e4fe85919ec32aa9f5ffe69d16d Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:38:48 2010 +0200 winsys: adapt to interface changes commit 39d858554dc9ed5dbc795626fec3ef9deae552a0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:54 2010 +0200 st/python: adapt to interface changes don't think that will work, sorry. commit 6e9336bc49b32139cec4e683857d0958000e15e3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:07 2010 +0200 st/vega: adapt to interface changes commit e07f2ae9aaf8842757d5d50865f76f8276245e11 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:25:56 2010 +0200 st/xorg: adapt to interface changes commit 05531c10a74a4358103e30d3b38a5eceb25c947f Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:53 2010 +0200 nv50: adapt to interface changes commit 97704f388d7042121c6d496ba8c003afa3ea2bf3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:45 2010 +0200 nvfx: adapt to interface changes commit a8a9c93d703af6e8f5c12e1cea9ec665add1abe0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:01 2010 +0200 i965g: adapt to interface changes commit 0dde209589872d20cc34ed0b237e3ed7ae0e2de3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:22:38 2010 +0200 i915g: adapt to interface changes commit 5cac9beede69d12f5807ee1a247a4c864652799e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:58 2010 +0200 svga: adapt to interface changes resource_copy_region still looking fishy. Was not very suited to unified zslice/face approach... commit 08b5a6af4b963a3e4c75fc336bf6c0772dce5150 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:01 2010 +0200 rbug: adapt to interface changes Not sure if that won't need changes elsewhere? commit c9fd24b1f586bcef2e0a6e76b68e40fca3408964 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:31 2010 +0200 trace: adapt to interface changes commit ed84e010afc5635a1a47390b32247a266f65b8d1 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:21 2010 +0200 failover: adapt to interface changes commit a1d4b4a293da933276908e3393435ec4b43cf201 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:12 2010 +0200 identity: adapt to interface changes commit a8dd73e2c56c7d95ffcf174408f38f4f35fd2f4c Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:55 2010 +0200 softpipe: adapt to interface changes commit a886085893e461e8473978e8206ec2312b7077ff Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:44 2010 +0200 llvmpipe: adapt to interface changes commit 70523f6d567d8b7cfda682157556370fd3c43460 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:14 2010 +0200 r600g: adapt to interface changes commit 3f4bc72bd80994865eb9f6b8dfd11e2b97060d19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:05 2010 +0200 r300g: adapt to interface changes commit 5d353b55ee14db0ac0515b5a3cf9389430832c19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:17:37 2010 +0200 cell: adapt to interface changes not even compile tested commit cf5d03601322c2dcb12d7a9c2f1745e2b2a35eb4 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:14:59 2010 +0200 util: adapt to interface changes amazing how much code changes just due to some subtle interface changes? commit dc98d713c6937c0e177fc2caf23020402cc7ea7b Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:12:40 2010 +0200 gallium: more interface fail, docs this also changes flush_frontbuffer to use a pipe_resource instead of a pipe_surface - pipe_surface is not meant to be (or at least no longer) an abstraction for standalone 2d images which get passed around. (This has also implications for the non-rendering state-trackers.) commit 08436d27ddd59857c22827c609b692aa0c407b7b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 10 17:42:52 2010 +0200 gallium: fix array texture interface changes bugs, docs commit 4a4d927609b62b4d7fb9dffa35158afe282f277b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 3 22:02:44 2010 +0200 gallium: interface changes for array textures and related cleanups This patch introduces array textures to gallium (note they are not immediately usable without the associated changes to the shader side). Also, this abandons pipe_subresource in favor of using level and layer parameters since the distinction between several faces (which was part of pipe_subresource for cube textures) and several z slices (which were not part of pipe_subresource but instead part of pipe_box where appropriate for 3d textures) is gone at the resource level. Textures, be it array, cube, or 3d, now use a "unified" set of parameters, there is no distinction between array members, cube faces, or 3d zslices. This is unlike d3d10, whose subresource index includes layer information for array textures, but which considers all z slices of a 3d texture to be part of the same subresource. In contrast to d3d10, OpenGL though reuses old 2d and 3d function entry points for 1d and 2d array textures, respectively, which also implies that for instance it is possible to specify all layers of a 2d array texture at once (note that this is not possible for cube maps, which use the 2d entry points, although it is possible for cube map arrays, which aren't supported yet in gallium). This should possibly make drivers a bit simpler, and also get rid of mutually exclusive parameters in some functions (as z and face were exclusive), one potential downside would be that 3d array textures could not easily be supported without reverting this, but those are nowhere to be seen. Also along with adjusting to new parameters, rename get_tex_surface / tex_surface_destroy to create_surface / surface_destroy and move them from screen to context, which reflects much better what those do (they are analogous to create_sampler_view / sampler_view_destroy). PIPE_CAP_ARRAY_TEXTURES is used to indicate if a driver supports all of this functionality (that is, both sampling from array texture as well as use a range of layers as a render target, with selecting the layer from the geometry shader).
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_manager.c
tate_tracker/st_texture.c
|
32e1e591467d9a28c2ac4d2e17af7be2dc429d43 |
01-Dec-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: add support for polygon mode on Sandybridge. This fixes some mesa demos such as fslight/engine in wireframe mode.
rivers/dri/i965/gen6_sf_state.c
|
f361f8a8a9a71d84fc569445902adacc2f2cc069 |
02-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for loops in the VS. This follows the changes done for the FS alongside the EU emit code.
rivers/dri/i965/brw_vs_emit.c
|
251d15d888dfaea045447f9e56ea094cb726830b |
02-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable IF statements in the VS. While the actual IF instructions were fixed by Zhenyu, we were still flattening them to conditional moves.
rivers/dri/i965/brw_context.c
|
843a6a308e05bd4bf2056e08ec65ac4770097b93 |
01-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 CONTINUE instruction emit. At this point, piglit tests for fragment shader loops are working.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
|
00e5a743e2ee3981a34b95067a97fa73c0f5d779 |
01-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 BREAK ISA emit. There are now two targets: the hop-to-end-of-block target, and the target for where to resume execution for active channels.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_structs.h
|
4890e0f09c934e3ffb692b417e5444e43685c876 |
01-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 DO/WHILE ISA emit. There's no more DO since there's no more mask stack, and WHILE has been shuffled like IF was.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
|
a9f62881a316539658845a98b856f1bf31ca44bc |
02-Dec-2010 |
Eric Anholt <eric@anholt.net> |
i965: Dump the WHILE jump distance on gen6.
rivers/dri/i965/brw_disasm.c
|
c92550be64abd454560556599cd95b237f4375b1 |
01-Dec-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Correctly generate unconditional KIL instructions Fixes piglit test glsl-fs-discard-03. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/i915/i915_fragprog.c
|
b6dbc06742af4cbd86869243640c35aa7025766c |
25-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Request that POW instructions be lowered
rivers/dri/i915/i915_context.c
|
c4285be9a5bd1adaa89050989374b95a9a601cdc |
25-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Lower ir_binop_pow to a sequence of EXP2 and LOG2
ain/mtypes.h
rogram/ir_to_mesa.cpp
|
da61afa7388f1ce50ef612b89aba2302a052a3bb |
24-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Use M_LOG2E constant instead of calling log2
ain/compiler.h
|
940df10100d740ef27fa39026fd51c3199ed3d62 |
25-Nov-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Add a lowering pass to move discards out of if-statements. This should allow lower_if_to_cond_assign to work in the presence of discards, fixing bug #31690 and likely #31983. NOTE: This is a candidate for the 7.9 branch.
rogram/ir_to_mesa.cpp
|
ead2ea89f42b40edc56ddf8c6ce1df4efdcefe2a |
25-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: Add support for conditional discards. NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rogram/ir_to_mesa.cpp
|
2ca9256911d8d5aed0de2b3d53d8ef998b105176 |
01-Dec-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix some opcodes on evergreen There were a few places where we were using the wrong opcodes on evergreen. arl still needs to be fixed on evergreen; see r600g for reference. NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r700_assembler.c
|
e6d798948e00e255b80a69562a7d262257f77ee5 |
01-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement and lower OPCODE_CLAMP Needed for st/vega.
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program_alu.c
|
c530fd3f8a5b5ac6918dece5d9083b2fac4ef78e |
01-Dec-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: also using align1 mode for math2 on sandybridge Like Eric's workaround patch of commit 490c23ee6be2e8531b5a14d42f808de83d401130. This forces to align1 mode for math2 too.
rivers/dri/i965/brw_vs_emit.c
|
2927b6c21202fd0f9a661665e0093e7193c5df6e |
30-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix type of gl_FragData[] dereference for FB write. Fixes glsl-fs-fragdata-1, and hopefully Eve Online where I noticed this bug in the generated shader. Bug #31952.
rivers/dri/i965/brw_fs.cpp
|
1ccef926be46dce3b6b5c76e812e2fae4e205ce7 |
29-Nov-2010 |
Adam Jackson <ajax@redhat.com> |
drivers/x11: unifdef XFree86Server This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/dri/sis/server/sis_dri.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/unichrome/server/via_dri.h
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_glide.c
rivers/x11/xm_image.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xmesa.h
rivers/x11/xmesaP.h
|
e5aa69f6a6779d1e0fb3d413ad7007b0fb90b176 |
29-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix texture border color for RED and RG base formats The spec says the border color should be consistent with the internal format. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_sampler.c
|
b1097607db58ddaa91281e364dbb4aa53d904052 |
29-Nov-2010 |
pontus lidman <pontus.lidman@27m.se> |
mesa: check for posix_memalign() errors Signed-off-by: Brian Paul <brianp@vmware.com>
ain/imports.c
|
c3602ff5ed3f423e44c2e09b44334263e12a07ab |
30-Oct-2010 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
st/mesa: Set PIPE_TRANSFER_DISCARD for GL_MAP_INVALIDATE_RANGE/BUFFFER_BIT Signed-off-by: Brian Paul <brianp@vmware.com> Note: this is a candidate for the 7.9 branch.
tate_tracker/st_cb_bufferobjects.c
|
97ae4dad1cc24c5e969e6b99f07ece68e239964b |
26-Nov-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix mapping of zero-sized buffer objects Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31934
tate_tracker/st_cb_bufferobjects.c
|
e6e6fcd3a674429886aed499f9a63594aa5a0f58 |
25-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: move util functions to radeon_compiler_util The compiler seriously needs a cleanup as far as the arrangement of functions is concerned. It's hard to know whether some function was implemented or not because there are so many places to search in and it can be anywhere and named anyhow.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_tex.c
|
ea2f56b49026dce4f0e507b587fd58b18b5de1ec |
25-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add a function for swizzling a mask
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_program.h
|
7c294462324fd3dc1951fc003290b926fbc0b07e |
25-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove duplicate function rc_mask_to_swz
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
|
ae3e58d973c6fbc10ca1e9880f40aec3a3ec1ecc |
25-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix rc_rewrite_depth_out for it to work with any instruction It looks like the function was originally written for ARB_fragment_program. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/r3xx_fragprog.c
|
2cc79acc1ab5cdaadc427526a146c2c27ee0f906 |
25-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning with linux-x86 build. radeon_pair_regalloc.c: In function ‘compute_live_intervals’: radeon_pair_regalloc.c:222: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
995de71550d124dd93186d7264b2e6fc34a73d57 |
25-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning with linux-x86 build. radeon_pair_regalloc.c: In function ‘compute_live_intervals’: radeon_pair_regalloc.c:221: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
1197393faa285bee0d99409a1c82f575dbcbc708 |
24-Nov-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties. Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495.
ain/get.c
|
ee88727df8b133e99608e5d30cbd50fb6e11628a |
24-Nov-2010 |
Peter Clifton <pcjc2@cam.ac.uk> |
meta: Mask Stencil.Clear against stencilMax in _mesa_meta_Clear This fixes incorrect behaviour when the stencil clear value exceeds the size of the stencil buffer, for example, when set with: glClearStencil (~1); /* Set a bit pattern of 111...11111110 */ glClear (GL_STENCIL_BUFFER_BIT); The clear value needs to be masked by the value 2^m - 1, where m is the number of bits in the stencil buffer. Previously, we passed the value masked with 0x7fffffff to _mesa_StencilFuncSeparate which then clamps, NOT masks the value to the range 0 to 2^m - 1. The result would be clearing the stencil buffer to 0xff, rather than 0xfe. Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
03a4f97a68dc0bf7008efcfdb61fd7033357d1ab |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
x11: remove test_proxy_teximage() function This was really just for testing purposes.
rivers/x11/xm_dd.c
|
74c324fdbaebb7accaee668f2bc54af4699d0025 |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_format_image_size64()
ain/formats.c
ain/formats.h
|
7bfbd88d2cc4c7e7c1c2fe02b0d223f4a3ea8db2 |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add assertion and update comment in _mesa_format_image_size()
ain/formats.c
|
a889f9ee5cccee031c1090a6ef92cba894b1d77c |
24-Nov-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i965: Don't write mrf assignment for pointsize output https://bugs.freedesktop.org/show_bug.cgi?id=31894
rivers/dri/i965/brw_vs_emit.c
|
78a340fd487c56468ace7347a53f95a0c751c419 |
24-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Disallow alpha, red, RG, and sRGB as render targets Fixes bugzilla #31832 NOTE: This is a candidate for the 7.9 branch.
rivers/dri/intel/intel_fbo.c
|
903ead0b26e4fc55474b652adf9470247283e7aa |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
glsl: start restoring some geometry shader code
rogram/ir_to_mesa.cpp
|
6162773ea4b0e84c3ab9c9952fb5e838519c2564 |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
glsl: better handling of linker failures Upon link error, exit translation loop, free program instructions. Check for null pointers in calling code.
rogram/ir_to_mesa.cpp
|
2900e56f9dda864f2c5b75d3db4dcc452dc91373 |
24-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_shader_type enum
ain/shaderapi.c
|
c628fd743ee3c3305e9beac7f0e6efacf6982115 |
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace #defines with new gl_shader_type enum
ain/context.c
ain/mtypes.h
ain/shaderobj.c
ain/shaderobj.h
rogram/program.c
rogram/program.h
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
512f840702d58b48607a9dca06dd939256c7afed |
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_valid_register_index() to validate register indexes
rogram/program.c
rogram/program.h
|
b8dacaf174517d3efa32711e0f85f8b861d0846b |
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename, make _mesa_register_file_name() non-static Plus remove unused parameter.
rogram/prog_print.c
rogram/prog_print.h
|
caf974c5259f14b50257e8dd9b325a87378259af |
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
glsl: use gl_register_file in a few places
rogram/ir_to_mesa.cpp
|
50fd99d1723a6c7f3bd2dedffeeadf7d5e33b83b |
22-Nov-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix off by one in register index assertion
rogram/ir_to_mesa.cpp
|
df24450bac404e2acd9569340dacc6e537fb919c |
15-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the new embedded compare in SEL on gen6 for VS MIN and MAX opcodes. Cuts the extra CMP instruction that used to precede SEL.
rivers/dri/i965/brw_vs_emit.c
|
8a7cf99457f5061c3c5aae48f14fb23b2ca07503 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't upload line smooth params unless we're line smoothing.
rivers/dri/i965/brw_misc_state.c
|
008fd3779bc7adf603b27f49f4c90b21cee814e0 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't upload line stipple pattern unless we're stippling.
rivers/dri/i965/brw_misc_state.c
|
e29e3c32d9d52fc206ab3ccc8674683adc880e82 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't upload polygon stipple unless required.
rivers/dri/i965/brw_misc_state.c
|
7720bfffa3fd537789b5ded30ecc23afa21dc410 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move gen4 blend constant color to the gen4 blending file.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_misc_state.c
|
4265c2f81980eae37f6081979c65b2d1bae60b82 |
23-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't allow presubtract sources to be remapped twice https://bugs.freedesktop.org/show_bug.cgi?id=31193 NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_dataflow.c
|
f44d96e1af7a3a88677fa256d3fbb96834ffaf39 |
23-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in syncobj.h.
ain/syncobj.h
|
93102b4cd8e620337acf4bd42ba51f954664087e |
23-Nov-2010 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7 Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <oleksiyk@gmail.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
ain/context.c
|
cb7a36b6512f52abcb9161e06a69d43baf05a490 |
23-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix VC flush on cedar and palm
rivers/dri/r600/evergreen_chip.c
|
072f2cbf29725c698497fd451a3289802ff31a40 |
22-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add Ontario Fusion APU support Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
e7c74a7dfab789496761226fe62a08f2d9fea5c7 |
21-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set MaxUniformComponents Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
6a0255122a7d7c0aa09bceacda90a5cea67d5ee2 |
22-Nov-2010 |
Brian Paul <brianp@vmware.com> |
swrast: init alpha value to 1.0 in opt_sample_rgb_2d()
wrast/s_texfilter.c
|
9aa089eac05ebefafb6610b4a7e209b2fd1e93f6 |
14-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
gallium: add PIPE_SHADER_CAP_SUBROUTINES This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_extensions.c
|
1b6ed809729dd3adee4adfa87c227bbd98d9f23a |
12-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add a more efficient version of rc_find_free_temporary()
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_rename_regs.c
|
8833f53e659e079e7ab74bb9197f9b44b1eeefe0 |
11-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Enable rename_reg pass for r500 cards In addition, the rename_reg pass has been rewritten to use rc_get_readers().
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_rename_regs.c
|
bbe49bc585c4fed46f55d184b463d13bddd97f1b |
09-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use presubtract operations as much as possible Previously, presubtract operations where only being used by instructions with less than three source source registers.
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
ddceededf850c942c1bb8185ec7dc0c203d3bad6 |
30-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Convert RGB to alpha in the scheduler
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_print.c
|
681f56af807ed9e2a930a595ef509ee814d130dd |
06-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Track readers through branches in rc_get_readers()
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_optimize.c
|
255860113f12062c7341c012e6d9a3e6d834ab98 |
14-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()
rivers/dri/r300/compiler/radeon_dataflow.c
|
96f9580160bf769fbdcd005b48c7bf6e92d453f7 |
30-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add rc_get_readers()
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
23f577dbd491bd045c47c6378bd23748255eb045 |
11-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Ignore alpha dest register when replicating the result When the result of the alpha instruction is being replicated to the RGB destination register, we do not need to use alpha's destination register. This fixes an invalid "Too many hardware temporaries used" error in the case where a transcendent operation writes to a temporary register greater than max_temp_regs. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_pair_translate.c
|
d668659003d0164f0d9c805f4127ff8eb64f0624 |
11-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use zero as the register index for unused sources This fixes an invalid "Too many hardware temporaries used" error in the case where a source reads from a temporary register with an index greater than max_temp_regs and then the source is marked as unused before the register allocation pass. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
3e5f9789d653726d2602de67e996b73a813ebc2e |
14-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix instruction scheduling within IF blocks Reads of registers that where not written to within the same block were not being tracked. So in a situations like this: 0: IF 1: ADD t0, t1, t2 2: MOV t2, t1 Instruction 2 didn't know that instruction 1 read from t2, so in some cases instruction 2 was being scheduled before instruction 1. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
e2301b45c288cdbd4e763dfbc698d709045f2df5 |
14-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix register allocator's handling of loops NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
412803b5cd64a5771835366b38b398a2ed8732d8 |
11-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Make sure presubtract sources use supported swizzles NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/radeon_optimize.c
|
9d08902457e9203e531689722120430bbcc4aeaf |
22-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecessary header.
rivers/dri/r600/evergreen_tex.c
|
e40a58b7f8ef8079d216932aedf321f7afdf3f3f |
21-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: enable ARB_explicit_attrib_location and EXT_separate_shader_objects Gallium drivers pass all piglit tests for the two (there are 12 tests for separate_shader_objects and 5 tests for explicit_attrib_location), and I was told the extensions don't need any driver-specific code. I made them dependent on PIPE_CAP_GLSL. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
5e3733fadf08178fca7c9f20a0f4783f940383aa |
21-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix get_texture_dimensions() for texture array targets Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779
ain/teximage.c
|
5ed51e950f8b5850cada5aa6289215dbf254c1c7 |
21-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: hook up GL 3.x entrypoints Fix up some details in the xml files and regenerate dispatch files.
ain/api_exec.c
ain/enums.c
ain/glapidispatch.h
ain/remap_helper.h
ain/vtxfmt.c
|
197b1d78983983a64a81c49dab6325a2c6b447d4 |
19-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix error msg typo
ain/clear.c
|
8bea7776a3590a3e469a81fcce345194eb92ccf2 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in stencil.h.
ain/stencil.h
|
9732a93f402453a8bda8923b856e7bbde53ad3b2 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in shared.h.
ain/shared.h
|
20f041952c9d71f9cd42b56d148bdc93b8472b57 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in shaderapi.h.
ain/shaderapi.h
|
baa04715973975187a00fb6ed24cd88c39fde50d |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in scissor.h.
ain/scissor.h
|
27e96655c7e33e46bd9e74cdd1f66c8c049d3e42 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in renderbuffer.h.
ain/renderbuffer.h
|
b6215d18b59f675fba027f87f9f41a6204bd5ccd |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in readpix.h.
ain/readpix.h
|
bab188d22f033dd64f1ee4e50163131087ecff97 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in rastpos.h.
ain/rastpos.h
|
9b66305b8d41a470faac8f8de7dfd99330801385 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in polygon.h.
ain/polygon.h
|
f5cbe04b69581ed64ac3d4d6326cb9663edf25f1 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
rivers/dri/intel/intel_tex_copy.c
|
84f52291199202332706450b201df769506aad34 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecesary header.
rivers/dri/r600/evergreen_tex.c
|
b59f3dd8ca012a9427d13a051eef8cfd76af1467 |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header.
rivers/dri/swrast/swrast.c
|
1310806872799bf30669e426217780d3954aaf9c |
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_gen_mipmap.c
tate_tracker/st_manager.c
|
bb045d339b53f7ddd42bfca363e3d589b0ddcf20 |
21-Nov-2010 |
Chia-I Wu <olv@lunarg.com> |
scons: Define IN_DRI_DRIVER. The define is required for DRI drivers. It is not needed for libgl-xlib, but the overhead it introduces should be minor.
Conscript
|
b6b91fa02911f5dfc5d528d822674ee5557800d9 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove duplicate MRF writes in the FS backend. This is quite common for multitexture sampling, and not only cuts down on the second and later set of MOVs, but typically also allows compute-to-MRF on the first set. No statistically siginficant performance difference in nexuiz (n=3), but it reduces instruction count in one of its shaders and seems like a good idea.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
47b1aac1cf0aefae4df58a60bb7eb26d21e25913 |
18-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Improve compute-to-mrf. We were skipping it if the instruction producing the value we were going to compute-to-mrf used its result reg as a source reg. This meant that the typical "write interpolated color to fragment color" or "texture from interpolated texcoord" shader didn't compute-to-MRF. Just don't check for the interference cases until after we've checked if this is the instruction we wanted to compute-to-MRF. Improves nexuiz high-settings performance on my laptop 0.48% +- 0.08% (n=3).
rivers/dri/i965/brw_fs.cpp
|
ac89a90401f08df945248fcc96da59ba0e2bbfa9 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Detect and emit MOV_SATs for saturate constructs. The goal here is to avoid regressing performance on ir_to_mesa drivers for fixed function fragment shaders requiring saturates.
rogram/ir_to_mesa.cpp
|
19631fab35ca4d5ca64d606922f3f20774b27645 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Recognize saturates and turn them into a saturated mov. On pre-gen6, this turns 4 instructions into 1. We could still do better by folding the saturate into the instruction generating the value if nobody else uses it, but that should be a separate pass.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
602ae2441aaca6a652d3fc78114bb60852132f98 |
18-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fold constants into the second arg of BRW_SEL as well. This hits a common case with min/max operations.
rivers/dri/i965/brw_fs.cpp
|
f9b420d3bda25ea517b66c5ee2c6bde4fdff3935 |
18-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove extra \n at the end of every instruction in INTEL_DEBUG=wm.
rivers/dri/i965/brw_fs.cpp
|
5944cda6ed1182f8dc45452708df5fde2474d437 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Just use memset() to clear most members in FS constructors. This should make it a lot harder to forget to zero things.
rivers/dri/i965/brw_fs.h
|
61126278a39fbff9a66aff9ecc37893e87950091 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix compute_to_mrf to not move a MRF write up into another live range. Fixes glsl-fs-copy-propagation-texcoords-1.
rivers/dri/i965/brw_fs.cpp
|
6b1d7dd781d77705be0270be32124dceab2053b6 |
19-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Include C++ files in the makedepend of DRI drivers.
rivers/dri/Makefile.template
|
63684a9ae7a66f68df1f2c68cd9358e5622122a3 |
19-Nov-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Combine many instruction lowering passes into one. This should save on the overhead of tree-walking and provide a convenient place to add more instruction lowering in the future. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
11d6f1c69871d0b7edc28f639256460839fccd2d |
16-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add ir_quadop_vector expression The vector operator collects 2, 3, or 4 scalar components into a vector. Doing this has several advantages. First, it will make ud-chain tracking for components of vectors much easier. Second, a later optimization pass could collect scalars into vectors to allow generation of SWZ instructions (or similar as operands to other instructions on R200 and i915). It also enables an easy way to generate IR for SWZ instructions in the ARB_vertex_program assembler.
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
fc92e87b9757eda01caf0bb3e2c31b1dbbd73aa0 |
11-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Eliminate assumptions about size of ir_expression::operands This may grow in the near future.
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
f2616e56de8a48360cae8f269727b58490555f4d |
18-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add ir_unop_sin_reduced and ir_unop_cos_reduced The operate just like ir_unop_sin and ir_unop_cos except that they expect their inputs to be limited to the range [-pi, pi]. Several GPUs require this limited range for their sine and cosine instructions, so having these as operations (along with a to-be-written lowering pass) helps this architectures. These new operations also matche the semantics of the GL_ARB_fragment_program SCS instruction. Having these as operations helps in generating GLSL IR directly from assembly fragment programs.
rivers/dri/i965/brw_fs.cpp
rogram/ir_to_mesa.cpp
|
af17d89966bbf171ee5467a2cb090777802a9434 |
16-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: Clean up magic numbers in get_rt_format Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv20_state_fb.c
|
c05ccc1ebde177646ac09c1bd6d1b4719e745f82 |
19-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Generate smarter code for some conditional moves Condiation moves with a condition of (a < 0), (a > 0), (a <= 0), or (a >= 0) can be generated with "a" directly as an operand of the CMP instruction. This doesn't help much now, but it will help with assembly shaders that use the CMP instruction.
rogram/ir_to_mesa.cpp
|
83e93b6008213ad86607027e8434ecaccc8b1a2c |
19-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: pass gl_format to _mesa_init_teximage_fields() This should prevent the field going unset in the future. See bug http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background. Also remove unneeded calls to clear_teximage_fields(). Finally, call _mesa_set_fetch_functions() from the _mesa_init_teximage_fields() function so callers have one less thing to worry about.
rivers/common/meta.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/swrast/swrast.c
ain/mipmap.c
ain/texfetch.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_manager.c
|
ca9f99d9c5d75decb73bbc5b046c2055410504ff |
17-Nov-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Clean up core.h. Remove version.h and context.h from core.h.
ain/core.h
|
4f38dcd97410d0a58be19cb5c6dfbee51a3b7561 |
10-Nov-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Add st_context_iface::share to st_api. It will be used to implement wglShareLists. Fill st_context_iface::copy for glXCopyContext as well.
tate_tracker/st_manager.c
|
28105471afce634df6c35ef14b198fe6e3684c00 |
17-Nov-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Add st_api::name. It is the name of the rendering API. This field is informative.
tate_tracker/st_manager.c
|
50b4508319cc5277d51a38065850eaa092afc0d4 |
18-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Eliminate dead code more aggressively. If an instruction writes reg but nothing later uses it, then we don't need to bother doing it. Before, we were just killing code that was never read after it was ever written. This removes many interpolation instructions for attributes with only a few comopnents used. Improves nexuiz high-settings performance .46% +/- .12% (n=3) on my Ironlake.
rivers/dri/i965/brw_fs.cpp
|
48af60b46540a30c3754f0e59801a62dfb1a146d |
17-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: upgrade to glext.h version 66 The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too.
ain/dlist.c
ain/glapidispatch.h
ain/nvprogram.c
ain/nvprogram.h
|
da35388044db4aa6fc66c08a087d8d703b5a6008 |
17-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fail on loops on gen6 for now until we write the EU emit code for it.
rivers/dri/i965/brw_fs.cpp
|
3c8db58a17581504018bedf56bacef66fe30a7ba |
16-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add dumping of the sampler default color.
rivers/dri/i965/brw_state_dump.c
|
95addca0190032d49bd576ea1c486e34c1e3c76f |
16-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add state dumping for sampler state.
rivers/dri/i965/brw_state_dump.c
|
03ff02d08b92ca3b7da0c22aef3042677c7fb2da |
13-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't spam the console in a debug build unless some spam is requested. It's annoying to use test suites under a Mesa debug build because pretty output is cluttered with stderr's continuous reports that you're still using the debug driver.
ain/context.c
|
d512cbf58f9039575dbbb5ab65dbbf7b742a0854 |
17-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Shut up spurious gcc warning about GLSL_TYPE enums.
rivers/dri/i965/brw_fs.cpp
|
9935fe705df44bb633039ca74332cc0c126ccc30 |
17-Nov-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Remove the ir_binop_cross opcode.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_channel_expressions.cpp
rogram/ir_to_mesa.cpp
|
75e52556a8e72f2841ef03de91255f260160ebd2 |
17-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c/evergreen: texture align is group_bytes just like 6xx/7xx Default group bytes to 512 on evergreen. Don't query tiling config yet for evergreen, the current info returned is not adequate for evergreen (no way to get bank info).
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
1d39df42c429a99b3c3b77b6da3517d8567eafb7 |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-ups in context code
ain/context.c
|
85288ad722aa0ad378004c523a0e1a4984e15316 |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: reorder texture_error_check() params To better match other functions.
ain/teximage.c
|
3c59febf05e6af80d63e5b9a478a11b275ac429c |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/teximage.c
|
76114d23d1bcd5635b69d8536a8047cbf6c4c6e2 |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace cleanups
ain/texobj.c
|
78527154bd8693c0956ff78c369222d37c5668e7 |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix error messages and minor reindenting
ain/texstore.c
|
063c6b8f74d114241f663ef8fd93732a0a07c10f |
16-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add definitions for inverse hyperbolic function on MSVC.
ain/imports.h
|
c1928c7f1065876345d00477eac5558f4cf85158 |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add more work-arounds for acoshf(), asinhf(), atahf()
ain/imports.h
|
20c2debce82e36166ae0326a3fb94be42d71be4a |
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(depth/stencil) bugs When drawing GL_DEPTH_COMPONENT the usual fragment pipeline steps apply so don't override the depth state. When drawing GL_STENCIL_INDEX (or GL_DEPTH_STENCIL) the fragment pipeline does not apply (only the stencil and Z writemasks apply) so disable writes to the color buffers. Fixes some regressions from commit ef8bb7ada98f1ddc8e2554a7336af5d669cb1290
tate_tracker/st_cb_drawpixels.c
|
228d0d1153d4d8314edc9361a1a8d237da28cd63 |
15-Nov-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Evergreen has two extra frac_bits for the sampler LOD state. Note: this is a candidate for the 7.9 branch.
rivers/dri/r600/evergreen_tex.c
|
88850b3e4f5f2692bf77d46fab031bd573f4d642 |
15-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Kill a bunch of ternary operators.
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_polygon.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_state_raster.c
rivers/dri/nouveau/nv20_state_tnl.c
|
aceb5b3277e83b17da57b14c4c1a005032bf2ecc |
15-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix typo.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
8c94c7138ec11daa2d9459b77cedc64ddd93eb02 |
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: Remove nouveau_class.h, finishing switch to rules-ng-ng headers Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_class.h
|
69f54d2a7e06210f28b46d20f74a906d9750a36e |
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau nv20: Use rules-ng-ng headers Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_render.c
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_frag.c
rivers/dri/nouveau/nv20_state_polygon.c
rivers/dri/nouveau/nv20_state_raster.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
|
f4efc256fd90beaff86321e4c6ce00f9be55092d |
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: nv10: Use rules-ng-ng headers Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv10_3d.xml.h
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv10_state_polygon.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
|
8983855012301c8ebc023edf42ddf5e423189585 |
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: nv04: Use rules-ng-ng headers Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_render.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_state_frag.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv04_surface.c
|
dfc2bf818b38d7b3449d1ff5729873d77b4ff10f |
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: Import headers from rules-ng-ng Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv01_2d.xml.h
rivers/dri/nouveau/nv04_3d.xml.h
rivers/dri/nouveau/nv10_3d.xml.h
rivers/dri/nouveau/nv20_3d.xml.h
rivers/dri/nouveau/nv_m2mf.xml.h
rivers/dri/nouveau/nv_object.xml.h
|
3e910faed55c9c8398d2e03018d2d8041c55ae6a |
15-Nov-2010 |
Brian Paul <brianp@vmware.com> |
evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer() See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
rivers/dri/r600/evergreen_tex.c
|
f2f1c61950f47efd1a53aeb8c3453173ad8b4ea2 |
15-Nov-2010 |
Brian Paul <brianp@vmware.com> |
r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2() See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
rivers/dri/r300/r300_texstate.c
|
401f1efd3a4b5042b7ee471d08e458a52e3499e3 |
15-Nov-2010 |
Brian Paul <brianp@vmware.com> |
r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2() See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
rivers/dri/r200/r200_texstate.c
|
0ef3b298e60bc34ffbd1165f6edef78e82377166 |
15-Nov-2010 |
Brian Paul <brianp@vmware.com> |
r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2() See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
rivers/dri/r600/r600_texstate.c
|
86abc1f104c99ecc45385ba669c5274e0d68c516 |
15-Nov-2010 |
Brian Paul <brianp@vmware.com> |
radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2() See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
rivers/dri/radeon/radeon_texstate.c
|
ef0720758e5ba34d0d163bdf5efc6e8dabd65aa8 |
15-Nov-2010 |
Daniel Lichtenberger <daniel.lichtenberger@gmail.com> |
radeon: fix potential segfault in renderbuffer update Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_common_context.c
|
3b337f5cd94384d2d5918fb630aa8089e49b1d8d |
13-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gl_FragCoord inversion when drawing to an FBO. This showed up as cairo-gl gradients being inverted on everyone but Intel, where I'd apparently tweaked the transformation to work around the bug. Fixes piglit fbo-fragcoord.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
d11db2a857141c556378fde9f9f5ec08c7f8636f |
14-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence uninitialized variable warning. Silences this GCC warning. brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()': brw_fs.cpp:2516: warning: unused variable 'reg'
rivers/dri/i965/brw_fs.cpp
|
3f6b1756f865e012eff8ef0533e184fc5e9d4472 |
13-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in points.h.
ain/points.h
|
56b4819932b0a44bfef9e10ed5f55649534252a8 |
12-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate assertions in teximage code
ain/teximage.c
|
cbfdf262ccf8b573f1fa4c0065a8eb1fb87d93da |
10-Nov-2010 |
Marek Olšák <maraeo@gmail.com> |
gallium: add CAPs for indirect addressing and lower it in st/mesa when needed Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing of temps, inputs, outputs, and consts (FS-only) or the hw support is so limited that we cannot use it. This should make r300g and possibly nvfx more feature complete. Signed-off-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_extensions.c
|
d18df9e336b5d2e68a4a6185f7b9d0d0c095c3c4 |
12-Nov-2010 |
Brian Paul <brianp@vmware.com> |
tdfx: s/Format/_BaseFormat/ Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
rivers/dri/tdfx/tdfx_tex.c
|
78587ea0122d34e13c078d095aa5b730ce24bb73 |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix glDeleteBuffers() regression This fixes a regression (failed assertion) from commit c552f273f559968dfd770367e25329baccbcd0c4 which was hit if glDeleteBuffers() was called on a buffer that was never bound. NOTE: this is a candidate for the 7.9 branch.
ain/bufferobj.c
|
c552f273f559968dfd770367e25329baccbcd0c4 |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make glIsBuffer() return false for never bound buffers Use a dummy buffer object as we do for frame/renderbuffer objects. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514 Note: this is a candidate for the 7.9 branch.
ain/bufferobj.c
|
b3b6476695a8bb12b873d2e7d8556b7432723b5a |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: handle more pixel types in mipmap generation code NOTE: This is a candidate for the 7.9 branch.
ain/mipmap.c
|
79c65410c132c22b67b7635cee740dea9a736f80 |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add missing formats in _mesa_format_to_type_and_comps() NOTE: this is a candidate for the 7.9 branch
ain/formats.c
|
c9126d66fa8e535a53d45adda44c3275fa2e229f |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: improve error message
ain/formats.c
|
624661cae4e0ccb53fd0101cc4b2dd6fdc77cead |
11-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: #include mfeatures.h in enums.h
ain/enums.h
|
cdb38b5d3d1b93a90a91ad06c0f03efdfde6b525 |
10-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Split hardware/software TNL instantiation more cleanly.
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_render.c
|
dc524adee2cfd0f115800cd4ec3f8384010f154e |
11-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf format warnings.
ain/debug.c
|
bcef51c3b891dcdb97fd9fce0f2b76f161b59af5 |
10-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample Previously queries of MAX_SAMPLES were only allowed with ARB_framebuffer_object, but EXT_framebuffer_multisample also enables this query. This seems to only effect the i915. All other drivers support both extensions or neither extension. This patch is based on a patch that Kenneth sent along with the report. NOTE: this is a candidate for the 7.9 branch. Reported-by: Kenneth Waters <kwaters@chromium.org>
ain/get.c
|
e8b2d367234f554dafa968455b8d0d3e332058eb |
21-Oct-2010 |
Robert Hooker <robert.hooker@canonical.com> |
intel: Add a new B43 pci id. Signed-off-by: Robert Hooker <robert.hooker@canonical.com>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
9effc1adf1e7ba57fb3b10909762b76c1ae12f61 |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: re-enable gen6 IF statements in the fragment shader. IF statements were getting flattened while they were broken. With Zhenyu's last fix for ENDIF's type, everything appears to have lined up to actually work. This regresses two tests: glsl1-! (not) operator (1, fail) glsl1-! (not) operator (1, pass) but fixes tests that couldn't work before because the IFs couldn't be flattened: glsl-fs-discard-01 occlusion-query-discard (and, naturally, this should be a performance improvement for apps that actually use IF statements to avoid executing a bunch of code).
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_fs.cpp
|
490c23ee6be2e8531b5a14d42f808de83d401130 |
10-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Work around strangeness in swizzling/masking of gen6 math. Sometimes we swizzled in a different channel it looked like, and sometimes we swizzled in zero. Or something. Having looked at the output of another code generator for this chip, this is approximately what they do, too: use align1 math on temporaries, and then move the results into place. Fixes: glean/vp1-EX2 test glean/vp1-EXP test glean/vp1-LG2 test glean/vp1-RCP test (reciprocal) glean/vp1-RSQ test 1 (reciprocal square root) shaders/glsl-cos shaders/glsl-sin shaders/glsl-vs-masked-cos shaders/vpfp-generic/vp-exp-alias
rivers/dri/i965/brw_vs_emit.c
|
47c471f2818bb0d82bc670a4cb0a7e0616231a6d |
02-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
meta: Handle bitmaps with alpha test enabled. Acked-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
aad65fa112754074d24d0b5a8397db2663dc9454 |
08-Nov-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricaps DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
ain/debug.c
ain/lines.c
ain/mtypes.h
ain/state.c
|
c7192ab11f7e34fdfe17d36d089260c6703ddfa8 |
08-Nov-2010 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix r200 large points DD_POINT_SIZE got never set for some time now (as it was set only in ifdefed out code), which caused the r200 driver to use the point primitive mistakenly in some cases which can only do size 1 instead of point sprite. Since the logic to use point instead of point sprite prim is flaky at best anyway (can't work correctly for per-vertex point size), just drop this and always emit point sprites (except for AA points) - reasons why the driver tried to use points for size 1.0 are unknown though it is possible they are faster or more conformant. Note that we can't emit point sprites without point sprite cntl as that might result in undefined point sizes, hence need drm version check (which was unnecessary before as it should always have selected points). An alternative would be to rely on the RE point size clamp controls which could clamp the size to 1.0 min/max even if the SE point size is undefined, but currently always use 0 for min clamp. (As a side note, this also means the driver does not honor the gl spec which mandates points, but not point sprites, with zero size to be rendered as size 1.) This should fix recent reports of https://bugs.freedesktop.org/show_bug.cgi?id=702. This is a candidate for the mesa 7.9 branch.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
5b8ed2f6d2e14303c55aeca65cdbc20791e820f6 |
10-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in pixelstore.h.
ain/pixelstore.h
|
700add5707ff3a94e919deb8ff86426eed917f96 |
10-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in pixel.h.
ain/pixel.h
|
65972f992f2b5505cc568a3fa29254e8d25c3042 |
10-Nov-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
Revert "i965: VS use SPF mode on sandybridge for now" This reverts commit 9c39a9fcb2c76897e9b5aff68ce197a411c4e25c. Remove VS SPF mode, conditional instruction works for VS now.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_vs_state.c
|
9249af17b857e8d9a359b4cd04e9393aca517e9c |
10-Nov-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix dest type of 'endif' on sandybridge That should also be immediate value for type W.
rivers/dri/i965/brw_eu_emit.c
|
f289dcd849cdb790b745860f3e97b61b5ad98f19 |
10-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for math on constants in gen6 brw_wm_glsl.c path. Fixes 10 piglit cases that were assertion failing.
rivers/dri/i965/brw_wm_emit.c
|
ad8cb131d8f73dee75e7be39dbc004783cd7f350 |
10-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Refactor code for emitting DP instructions
rogram/ir_to_mesa.cpp
|
f00929cbddf2ea5794bebf01ac45f4070416d334 |
10-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Allow OPCODE_SWZ to put immediates in the first arg. Fixes assertion failure with texture swizzling in the GLSL path when it's triggered (such as gen6 FF or ARB_fp shadow comparisons). Fixes: texdepth texSwizzle fp1-DST test fp1-LIT test 3
rivers/dri/i965/brw_wm_emit.c
|
efb0417040f4bdd55cf07dd8f54ecd4fc92c1286 |
09-Nov-2010 |
Peter Clifton <pcjc2@cam.ac.uk> |
intel: Add assert check for blitting alignment. Also fixup code comment to reflect that the GPU requires DWORD alignment, but in this case does not actually pass the value "in DWORDs" as I previously stated.
rivers/dri/intel/intel_blit.c
|
00391c79416ffd4b6f3af0ad911b7b8210f746d1 |
09-Nov-2010 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Fix the client-side swapbuffers throttling." This reverts commit 76360d6abc9e0195bc5c373101ae616e68b2e6e6. On second thought, it turned out that sync objects also used the wait_rendering API like this, and would need the same treatment, and so wait_rendering itself is fixed in libdrm now.
rivers/dri/intel/intel_context.c
|
76360d6abc9e0195bc5c373101ae616e68b2e6e6 |
09-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix the client-side swapbuffers throttling. We were asking for a wait to GTT read (all GPU rendering to it complete), instead of asking for all GPU reading from it to be complete. Prevents swapbuffers-based apps from running away with rendering, and produces a better input experience.
rivers/dri/intel/intel_context.c
|
6e2e136428b97d2424ebe626a30d7237015f7ea3 |
09-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: no-op glBufferSubData() on size==0 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439 NOTE: this is a candidate for the 7.9 branch
ain/bufferobj.c
|
3e6a05b1aa77d70d56fb6db34bf3b7bdccbd1253 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in nvprogram.h.
ain/nvprogram.h
|
0c123679fc909e778cc52d6bb0cfe52bfe1789c0 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in multisample.h.
ain/multisample.h
|
c509bf91ecfdcf82fdab6990c400578f4400de57 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in matrix.h.
ain/matrix.h
|
e09800432b0544c1ec6834c4572e692e9300b394 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in lines.h.
ain/lines.h
|
a20e440c65987a2d5b97dd0cbf6c2efbfdf5ec57 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in light.h.
ain/light.h
|
934fc80b06a757d8c006fc7bb92e2bfa114dc11a |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header and forward declarations in dd.h.
ain/dd.h
|
90394b2d96a3cfd42080ba179b631739575dcfcb |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in image.h.
ain/image.h
|
6af2a7fe2c296611190412a546d549ec12192577 |
01-Nov-2010 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa: Add talloc includes for gles Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
akefile
|
d79d942b2e38c3297169cf620d702045c94ed2ae |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in histogram.h.
ain/histogram.h
|
5b3d6bd39e14fdc63249c8f4f4a15269495b8808 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in hint.h.
ain/hint.h
|
63f1740a5d9a4ed36026da3e4c1370441218f919 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in framebuffer.h.
ain/framebuffer.h
|
b35d3b33e70ac6b2583c2099e22fe6162711228a |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in fog.h.
ain/fog.h
|
08354667a32b4006601563c1349f711bbbebf1eb |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in ffvertex_prog.h.
ain/ffvertex_prog.h
|
6121730e74ed4ff80569cfa496721afbf8ee7d22 |
09-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in fbobject.h.
ain/fbobject.h
|
d7855ee3323e8493f139af70db9d0cdb853c2a08 |
09-Nov-2010 |
Johann Rudloff <cypheon@googlemail.com> |
radeon: Implement GL_OES_EGL_image agd5f: add support to radeon/r200/r300 as well
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
b42e562a11a1dded1c4c734de065cb1480da1772 |
08-Nov-2010 |
Johann Rudloff <cypheon@googlemail.com> |
radeon: Implement __DRI_IMAGE and EGL_MESA_image_drm
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
f9b5201dbdca4a612afdd694a583177fb4af8685 |
27-Jul-2010 |
Johann Rudloff <cypheon@googlemail.com> |
radeon: Implement EGL_MESA_no_surface_extension
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
|
d8eef5196fcd6f51e443d4dfa0fda8aadc668f9f |
08-Nov-2010 |
Mario Kleiner <mario.kleiner@tuebingen.mpg.de> |
mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping. A call to radeon_prepare_render() at the beginning of draw operations was placed too deep in the call chain, inside r300RunRenderPrimitive(), instead of r300DrawPrims() where it belongs. This leads to emission of stale target color renderbuffer into the cs if bufferswaps via page-flipping are used, and thereby causes massive rendering corruption due to unsynchronized rendering into the active frontbuffer. This patch fixes such problems for use with the upcoming radeon page-flipping patches. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
10b9e018ca4b37c66a6e0215d4551ed74b4981a6 |
06-Nov-2010 |
Peter Clifton <pcjc2@cam.ac.uk> |
intel: Fix emit_linear_blit to use DWORD aligned width blits The width of the 2D blits used to copy the data is defined as a 16-bit signed integer, but the pitch must be DWORD aligned. Limit to an integral number of DWORDs, (1 << 15 - 4) rather than (1 << 15 -1). Fixes corruption to data uploaded with glBufferSubData. Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk>
rivers/dri/intel/intel_blit.c
|
5b15b5f4a8fffa07d8051e6cd4cd0a6c9288fc9f |
08-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: properly align mipmaps to group size fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31400
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
962967d080a1859bafc843ebdf374bcdfcff9271 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in extensions.h.
ain/extensions.h
|
0be44c94065063a3ee4eaab30d01f68c734773e6 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in enable.h.
ain/enable.h
|
82cc8261d352384c2545b1ac25a9331854ca2239 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in drawtex.h.
ain/drawtex.h
|
5c2558884f497d24b3063afa72949a3f7d2a42c9 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in drawpix.h.
ain/drawpix.h
|
5953eac7ac8c161067c0ca0a9019e83cd40cb58b |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in depthstencil.h.
ain/depthstencil.h
|
e0bbb8e5a4ef39a8108a95c75bda98a4e03dfae7 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in depth.h.
ain/depth.h
|
76a5fed50196e1168ce463dec66be34c5d7d1e50 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in debug.h.
ain/debug.h
|
a408dbeb37e6e34770a8d794aa06f00ce1d15e07 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in convolve.h.
ain/convolve.h
|
cc0c45e7c538c0bb0b20310ed6f21e358e227e20 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in colortab.h.
ain/colortab.h
|
fdf317400721e086facbb8fd58307a92c385ed6b |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in buffers.h.
ain/buffers.h
|
f26565f221038ff63ab983938a89eadeafc73a04 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in blend.h.
ain/blend.h
|
42a8af9239ee2707c06d089c0c981c4d56c1f115 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in attrib.h.
ain/attrib.h
|
908272b183c40a807a99611574df81711cd86b39 |
08-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in atifragshader.h.
ain/atifragshader.h
|
11dd228415d9299f3afa81525d0e588135099b4b |
08-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make fixed-pt and byte-valued arrays a runtime feature These ES1 features were only tested for in the vertex array code. Checking the ctx->API field at runtime is cleaner than the #ifdef stuff and supports choosing the API at runtime.
ain/mfeatures.h
ain/varray.c
|
802bd6b7059122bccaf4bd27ae4062a70aa4e918 |
08-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()
ain/image.c
|
dd28b4c1fc56106e5ac2f13767f41b9f721dbb36 |
08-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement uint texstore code We used float temporary images before which could lose precision for uint-valued texture images.
ain/texstore.c
|
90c52c26d8345cf9854b2f0e444966acc1642253 |
08-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename vars in pixel pack/unpack code
ain/pack.c
|
e54d5a9d681dbf81d5b61f708ae32c5fda3858ff |
08-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate pixel packing/unpacking code
ain/pack.c
|
3a223c3098ed6ae7d2c0dfcea6d1eee62bea3cc8 |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in arrayobj.h.
ain/arrayobj.h
|
6bf0ac0916bf09e049b378d94478035072efed53 |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.
ain/api_validate.c
|
d421149cc8b9abe2b9061e166dce953a984b169a |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.
ain/api_loopback.c
|
fb83400f6b9e8203bc2a8a3facac9ee28d4c45f8 |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in api_validate.h.
ain/api_validate.h
|
af12de279ea36fa5bc985bbe27ca9e93529cd82f |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in api_loopback.h.
ain/api_loopback.h
|
31bdc53057441cd8b3eb5a07bd723167079f7b83 |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in version.h.
ain/version.h
|
7a33b1c0a917a71441056e113047d5aec938a115 |
07-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in accum.h.
ain/accum.h
|
d348b0c72d41603178c0923e276869c7280904c7 |
06-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix delayed state flagging for EXT_sso-related program changes. Flushing the vertices after having already updated the state doesn't do any good. Fixes useshaderprogram-flushverts-1. As a side effect, by moving it to the right place we end up skipping no-op state changes for traditional glUseProgram.
ain/shaderapi.c
|
8eaa97592a4330d1a253f6fa32df7a3fd04f53ae |
30-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
meta: Don't try to disable cube maps if the driver doesn't expose the extension. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
2e64c2209e7f9d5acbcc9d70bf315732f3c403b3 |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
vbo: Avoid unnecessary copy to/from current in vertex format upgrade. Rebuilding the vertex format from scratch every time we see a new vertex attribute is rather costly, new attributes can be appended at the end avoiding a copy to current and then back again, and the full attr pointer recalculation. In the not so likely case of an already existing attribute having its size increased the old behavior is preserved, this could be optimized more, not sure if it's worth it. It's a modest improvement in FlightGear (that game punishes the VBO module pretty hard in general, framerate goes from some 46 FPS to 50 FPS with the nouveau classic driver). Signed-off-by: Brian Paul <brianp@vmware.com>
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
3168c6ff1a239d089180be77a5774b566aade1e9 |
05-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence uninitialized variable warning. Silences this GCC warning. brw_wm_fp.c: In function 'brw_wm_pass_fp': brw_wm_fp.c:966: warning: 'last_inst' may be used uninitialized in this function brw_wm_fp.c:966: note: 'last_inst' was declared here
rivers/dri/i965/brw_wm_fp.c
|
03577f8250cc7c8cdbd6ce1e166d9c1315c15280 |
05-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence uninitialized variable warning. Silences this GCC warning. brw_wm_fp.c: In function 'precalc_tex': brw_wm_fp.c:666: warning: 'tmpcoord.Index' may be used uninitialized in this function
rivers/dri/i965/brw_wm_fp.c
|
eba2ad6de2e4310521befce6aa10e954905af329 |
05-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning with linux-x86 build. radeon_dataflow.c: In function 'get_readers_normal_read_callback': radeon_dataflow.c:472: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_dataflow.c
|
86559ce2d84456674e617be97da238bfb7cc4daf |
05-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning with linux-x86 build. radeon_pair_schedule.c: In function 'merge_presub_sources': radeon_pair_schedule.c:312: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
7831994868d039da726cc0c1a86b1f94137ad412 |
02-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
meta: Fix incorrect rendering of the bitmap alpha component. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
d8463623893b189dae5ab7288395ffb54849c572 |
02-Nov-2010 |
Francisco Jerez <currojerez@riseup.net> |
meta: Don't leak alpha function/reference value changes. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
646a8b7e1dfbd126819d577a94102e64748d0b9d |
02-Nov-2010 |
Tilman Sauerbeck <tilman@code-monkey.de> |
st/mesa: Reset the constant buffers before destroying the pipe context. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
tate_tracker/st_context.c
|
d3fcadf8400360f4db45a4deb45b3b260e880b49 |
04-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
dri/nouveau: Silence uninitialized variable warning. Fixes this GCC warning. nouveau_vbo_t.c: In function 'nv10_vbo_render_prims': nouveau_render_t.c:161: warning: 'max_out' may be used uninitialized in this function nouveau_render_t.c:161: note: 'max_out' was declared here
rivers/dri/nouveau/nouveau_render_t.c
|
b29ca2a561621425991727f8dc2145ae21f0f3b2 |
30-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: code to unpack RGBA as uints
ain/pack.c
ain/pack.h
|
2aa738bf26448afad5c94e6275c42b955faabfc0 |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove leftover dri1 locking fields in the context.
rivers/dri/intel/intel_context.h
|
5716ad24255a39f4fb91f9ca28ccfe29e3d4a4b9 |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove duplicated teximage miptree to object miptree promotion. intel_finalize_mipmap_tree() does this optimization too, just more aggressively.
rivers/dri/intel/intel_tex_image.c
|
0300c9ab54f80bb7f172672c8e748721c658f660 |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Avoid taking logbase2 of several things that we max. logbase2(max(width, height, depth)) == max(logbase2(width), logbase2(height), logbase2(depth)), but in 60 bytes less code.
rivers/dri/intel/intel_tex_image.c
|
e42ce160b1854dae395c1c393eb546a4fe902c7f |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead intel_structs.h file.
rivers/dri/i915/intel_structs.h
rivers/dri/i965/intel_structs.h
|
6ad0283f482d96f060555f8973557a4d10f9addf |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove the magic unaligned memcpy code. In testing on Ironlake, the histogram of clocks/pixel results for the system memcpy and magic unaligned memcpy show no noticeable difference (and no statistically significant difference with the 5510 samples taken, though the stddev is large due to what looks like the cache effects from the different texture sizes used).
rivers/dri/intel/intel_tex.c
|
bb1540835056cdea5db6f55b19c0c87358f14cd1 |
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Annotate debug printout checks with unlikely(). This provides the optimizer with hints about code hotness, which we're quite certain about for debug printouts (or, rather, while we developers often hit the checks for debug printouts, we don't care about performance while doing so).
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
|
61f25216e3b55ee0b3c4f479da9bad3e5f0cae77 |
03-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: silence new warnings in texobj.c Silences warning such as: main/texobj.c:442:40: warning: ISO C99 requires rest arguments to be used main/texobj.c:498:58: warning: ISO C99 requires rest arguments to be used
ain/texobj.c
|
6f90a7cbff502e2584eccd5a3142f0c250fb7553 |
03-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
savage: Remove unnecessary header.
rivers/dri/savage/savage_xmesa.c
|
689def8bbcd2851adc89bebc84fd99bd627ff173 |
20-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: For batch, use GTT mapping instead of writing to a malloc and copying. No measurable performance difference on cairo-perf-trace, but simplifies the code and should have cache benefit in general.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
1210aa75513391779c87e93f009fcf3e52a79cbf |
02-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't compute an unused texture completeness debug string. This showed up at about 1% on cairo-gl firefox-talos-gfx, where glClear() is called while a texture is incomplete.
ain/texobj.c
|
965c8a3f1d0f5013359340cda72117faa8960f91 |
31-Oct-2010 |
Tilman Sauerbeck <tilman@code-monkey.de> |
st/mesa: Reset the index buffer before destroying the pipe context. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
tate_tracker/st_context.c
|
223568fbcd2f4ec295d932f5d71fe4b18bb279d3 |
01-Nov-2010 |
Chad Versace <chad@chad-versace.us> |
mesa: Fix C++ includes in sampler.cpp Some C++ header files were included in an extern "C" block. When building with Clang, this caused the build to fail due to namespace errors. (GCC did not report any errors.) Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
rogram/sampler.cpp
|
8dfafbf0861fe3d2542332658dd5493851053c78 |
02-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: unbind constant buffer when not in use Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
tate_tracker/st_atom_constbuf.c
|
fc70c05dbd5af94b04cf4717253cfbd57aadf1af |
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix aux/accum comment and error message mixups
ain/renderbuffer.c
|
4a9ce9b299832b4f367cc6da06f36ee20c7d0d5f |
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove always-false conditional in check_compatible() The two gl_config pointers can never be equal.
ain/context.c
|
670207e6d0f0c5a25a709a4b83987d379ee4b8fe |
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
dri/util: add a bunch of comments
rivers/dri/common/utils.c
|
0fefafb2e46fa7ead35ef05fda10368af0970c88 |
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move the gl_config struct declaration It was in the middle of the lighting-related structures before. Also add some info about field sizes in this structure.
ain/mtypes.h
|
ee1f047c8146c717fff30f1690d4ff9e69bd179f |
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use GLubyte for edge flag arrays Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310
ain/varray.c
|
aedc270966a3a6563d8c6eaf1f41095ab9cfef3e |
02-Nov-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6 Fix compiz crash. https://bugs.freedesktop.org/show_bug.cgi?id=31124
rivers/dri/i965/gen6_wm_state.c
|
16ee7a55ae269612263468195f2af998cb9ef695 |
26-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Allow contexts of different APIs to coexist. This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization.
ain/api_exec.c
ain/context.c
ain/es_generator.py
ain/remap.c
ain/remap.h
|
fdede1efaae32d23caf3b351cc766df12e3c5f8d |
26-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Select FEATURE_remap_table when multiple APIs are enabled. Core mesa should query glapi for the positions of the functions in _glapi_table when multiple APIs are supported. It does not know which glapitable.h glapi used.
ain/dispatch.h
ain/es_generator.py
ain/mfeatures.h
|
6b999c89ce1a5bf2d5e8533929b8f2101beaa481 |
02-Nov-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't track readers into an IF block. This makes rc_get_readers_normal() more conservative than it needs to be, but it fixes some incorrect behavior in the optimization passes.
rivers/dri/r300/compiler/radeon_dataflow.c
|
f9156ebcc4b26c5213750d4a9d032d65b60c9224 |
01-Nov-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: Fix MinGW cross-compilation.
Conscript
|
601498ae73e654c2de997ea75075613a694d604d |
01-Nov-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: Revamp how to specify targets to build. Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
Conscript
|
a84bd587c68a48c675aae538934a0de48421ff08 |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Re-emit the BO state when coming back from a software fallback.
rivers/dri/nouveau/nouveau_context.c
|
4a282629c28864b977a86cf5c314bf2fafdff3bf |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Validate the framebuffer state on read buffer changes.
rivers/dri/nouveau/nouveau_state.c
|
453b71855294508fce8358134f9bf5316043b834 |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix type promotion issue on 32bit platforms. Fixes some VTX protection errors introduced by e89af209261.
rivers/dri/nouveau/nouveau_vbo_t.c
|
a15cf3cd0b21d593033a3abd2b1788de292001bd |
30-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't clobber presubtract sources during optimizations https://bugs.freedesktop.org/show_bug.cgi?id=28294
rivers/dri/r300/compiler/radeon_optimize.c
|
088145f95086aa640e20b5436854bb68ca3e4934 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Pipeline glTexSubImage texture transfers.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
|
f67fa5229331f6d4920175dd0d6e1e6a2c69c060 |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.
rivers/dri/nouveau/nouveau_array.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_vbo_t.c
|
e89af209261e51988b99d954d09f2cbc59e55358 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Optimize VBO binding re-emission.
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv20_render.c
|
57382e71ef892a36ca2171fe8758aba6c9c885e6 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Split out array handling to its own file.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_array.c
rivers/dri/nouveau/nouveau_array.h
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv20_render.c
|
9d1f1fcf136e8f5f427ae203128ff641cc9e7197 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Use a macro to iterate over the bound vertex attributes.
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv20_render.c
|
dbe1eae785e8a98eb3d515b572c8e5e28b234edd |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Avoid recursion in nouveau_bo_context_reset().
rivers/dri/nouveau/nouveau_bo_state.c
|
f2098e0fefbbcd72df4c8283d195beae4a113f35 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Split out the scratch helpers to a separate file.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_scratch.c
rivers/dri/nouveau/nouveau_scratch.h
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
6daaf4535998a05ec6e974828cee33c513d2b5a2 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Tell the vbo module we want real hardware BOs.
rivers/dri/nouveau/nouveau_render_t.c
|
6ee9cd482ab620eb070792ab4176fdc34f945ba7 |
31-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range.
rivers/dri/nouveau/nouveau_bufferobj.c
|
f102c5220c8b671d92c04dce803b9c1f474f7253 |
25-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Call _mesa_update_state() after framebuffer invalidation. Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_context.c
|
e3c0b7ba4198db170543ff2b8cf9ebc8e0657f62 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv25: Bind a hierarchical depth buffer.
rivers/dri/nouveau/nouveau_bo_state.h
rivers/dri/nouveau/nouveau_class.h
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_state_fb.c
|
c5ca972c076187aacc3ff110a1db8c86a8a47426 |
29-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Don't assert(0) on compressed internal formats.
rivers/dri/nouveau/nouveau_texture.c
|
920481d38751957ec24de323ae8f15a6aec334a5 |
23-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv20: Clear with the 3D engine.
rivers/dri/nouveau/nv20_context.c
|
cfc81d93f7b07a89437cbbce173fc468070e06da |
30-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Unreference the sampler view in st_bind_surface. Without this, update_textures may not pick up the new pipe_resource. It is actually update_textures that should check stObj->sampler_view->texture != stObj->pt, but let's follow st_TexImage and others for now.
tate_tracker/st_cb_eglimage.c
|
9c2b4814d0b7dc67777099ea249c09bcf9ee46eb |
30-Oct-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: fix renderbuffer memleak in OSMesaMakeCurrent() Fixes fd.o bug 31128.
rivers/osmesa/osmesa.c
|
a974949f3b586eee2bc8d6d97d3adb71796fe167 |
29-Oct-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Make metaops use program refcounts instead of names. Fixes failure on restoring state when the program was active but deleted, and the name no longer exists. Bug #31194
rivers/common/meta.c
ain/shaderapi.c
ain/shaderapi.h
|
34e8801b9c04960337fa59d4b24f9df68a06a0d9 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove dead code
ain/api_loopback.c
|
d070edd4f085b5b3ad8256f6cabeee53267328de |
29-Oct-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix windows build (uint -> GLuint).
ain/api_loopback.c
|
9de5c6a1cb1428154c371f4331b55b5161957b50 |
28-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
Merge branch 'glapi-reorg' Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
|
bdba4608dff7fc1666e97476c2f94f9343d9eecd |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: pixel transfer ops do not apply to integer-valued textures
ain/texstore.c
|
0a3566cec02f4fc3fef5a29b31ca990d2c08e293 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional integer formats in _mesa_bytes_per_pixel()
ain/image.c
|
7faf521fad970d6f6706fc9d3c3f4644f2e158ac |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add const qualifier to _mesa_is_legal_format_and_type()
ain/image.c
ain/image.h
|
113c1832b1fef04fc4856b4efeab71ac76a87ad0 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix integer cases in _mesa_is_legal_format_and_type() Some integer formats work with some packed datatypes.
ain/image.c
|
9fc7fa0a4cbe9dc8faa124744f623491fa754bd7 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect type in _mesa_texstore_rgba_int16()
ain/texstore.c
|
b44f9c7e0a43e45b59956e7f8fd75a879bd2b1ef |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete comment
ain/varray.c
|
22c7a69d7b9554d261d5315520ed2d6332c0a7c8 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add extension table entry for GL_EXT_gpu_shader4
ain/extensions.c
|
55dc971dedd8155e2fe2eb9bb9239e56442b3075 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up array element code Remove unnecessary GLAPIENTRY keywords, update comments, re-indent.
ain/api_arrayelt.c
|
d916d81582aa7c45ccd128f7fd3e8205b1ceebf1 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: glArrayElement support for integer-valued arrays
ain/api_arrayelt.c
|
3b82ceec677e875d2f2f9edbcfceafd4d9a85cb7 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
ain/context.c
ain/get.c
ain/mtypes.h
|
433e5e6defc85d8b1d6262aff990e3f5a8b37027 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glVertex/Color/etcPointer() code This removes a bunch of similar error checking code in all the vertex pointer functions and puts nearly all the error checking in update_array().
ain/varray.c
|
d1184d26bb14304a6a61d7729c90a7c7f3627086 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add gl_client_array::Integer field and related vertex array state code
ain/mtypes.h
ain/varray.c
|
ca2618f4b632bf4b357a539a8fb7dafc99b35976 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement integer-valued vertex attribute functions The integers still get converted to floats. That'll have to change someday.
ain/api_loopback.c
ain/vtxfmt.c
bo/vbo_attrib_tmp.h
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
e2b8c657238d37b76720ea5d2e8b30d748718c29 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add new GLvertexformat entries for integer-valued attributes
ain/dd.h
|
ba9995953c347b074b2f9df0053fa85040b4af83 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in more GL_EXT_gpu_shader4 functions
ain/api_exec.c
|
9c61ca90eaf466211281eba6cacb243d4ed8db5b |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add glGetUniformuiv(), plug in uint glUniform funcs
ain/uniforms.c
ain/uniforms.h
|
53eca8d21627a82e88a81e2255654e81f9858221 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in stubs for glBindFragDataLocation(), glGetFragDataLocation()
ain/shaderapi.c
ain/shaderapi.h
|
a6fb2acfdbae273857ee0aceccbf5671539c769f |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated API files
ain/enums.c
ain/remap_helper.h
|
beea704be231ef13edab93a7299efa297039239d |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
vbo: re-indent file
bo/vbo_attrib_tmp.h
|
25efd558a3d8c5b4d6e53c3bf104eddcf064f0b2 |
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer()
ain/varray.c
ain/varray.h
|
9d45c7d1ce0c4ab7c981ddd15b296b2117437fa4 |
29-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update the gen6 stencil ref state when stencil state changes. Fixes 6 piglit tests about stencil operations.
rivers/dri/i965/gen6_cc.c
|
b271445e3731a512425fa28f20579e8af48bbfa2 |
29-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Upload required gen6 VS push constants even when using pull constants. Matches pre-gen6, and fixes glsl-vs-large-uniform-array.
rivers/dri/i965/gen6_vs_state.c
|
c5114c7eab12af3936675324298c278e3939bccb |
29-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update gen6 SF state when point state (sprite or attenuation) changes.
rivers/dri/i965/gen6_sf_state.c
|
e30a3e7aa09c373c0a02df555d090693718f0fe8 |
27-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add user clip planes support to gen6. Fixes piglit user-clip, and compiz desktop switching when dragging a window and using just 2 desktops. Bug #30446.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_vs_state.c
|
a54ab4960b86839f73e7c16fdde00670a67ee80e |
28-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Silence uninitialized variable warning. Fixes this GCC warning. state_tracker/st_program.c: In function 'st_print_shaders': state_tracker/st_program.c:735: warning: 'sh' may be used uninitialized in this function
tate_tracker/st_program.c
|
aa43176ebd26227947b07221f4e475c52bd7a76b |
22-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use rc_get_readers_normal() for presubtract optimizations
rivers/dri/r300/compiler/radeon_optimize.c
|
cbc966b57bdb61f5bc158352a9c8dd57bf31b81e |
19-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add bit operation support to the fragment shader backend.
rivers/dri/i965/brw_fs.cpp
|
9e3641bd0d739a87a6998300ca29580cb557f380 |
25-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Make FS uniforms be the actual type of the uniform at upload time. This fixes some insanity that would otherwise be required for GLSL 1.30 bit ops or gen6 integer uniform operations in general, at the cost of upload-time pain. Given that we only have that pain because mesa's mangling our integer uniforms to be floats, this something that should be fixed outside of the shader codegen.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_wm_state.c
|
817ed687102b40d504d010b4d0e3c2e24ae4cd50 |
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Enable GL_EXT_separate_shader_objects in Intel drivers
rivers/dri/intel/intel_extensions.c
|
f48915ec52b446a816fc43c6361ec0324b92a6a0 |
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Enable GL_EXT_separate_shader_objects in software paths
ain/extensions.c
|
84eba3ef71dfa822e5ff0463032cdd2e3515b888 |
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Track separate programs for each stage The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings.
rivers/common/meta.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm_state.c
ain/context.c
ain/mtypes.h
ain/shaderapi.c
ain/state.c
ain/texenvprogram.c
ain/texstate.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
wrast/s_fragprog.c
|
75c6f472880706dcbb9d1e20727fa8f71db8b11c |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track an ActiveProgram distinct from CurrentProgram ActiveProgram is the GL_EXT_separate_shader_objects state variable used for glUniform calls. glUseProgram also sets this.
ain/get.c
ain/mtypes.h
ain/shaderapi.c
ain/uniforms.c
|
01abcf3b79c9ba18fef2de423b51e7e1f9bb1b3f |
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add display list support for GL_EXT_separate_shader_objects functions
ain/dlist.c
|
c72aa7fa58899a278da06a117e56452ce26bea9c |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Skeletal support for GL_EXT_separate_shader_objects Really just filling in the entry points. None of them do anything other than validate their inputs.
ain/shaderapi.c
ain/shaderapi.h
|
b97794c041f848a5c9481cfeac6401f5dc9f0e48 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add infrastructure to track GL_EXT_separate_shader_objects
ain/extensions.c
ain/mtypes.h
|
44f6e17ebb82e3debd8e7afe4614de1620c70386 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glapi: Commit files changed by previous commit
ain/enums.c
ain/remap_helper.h
|
3acc8265200295265b476222299a013791050b73 |
25-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Fix build on systems where "python" is python 3. First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
rivers/dri/common/xmlpool/Makefile
|
8ff7885e8ffc9ebe54ed45d28b68970d8b314f54 |
27-Oct-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add missing radeon_prepare_render() call on evergreen
rivers/dri/r600/evergreen_render.c
|
b194b9b23801cd716244047b0b9b8bd9be518b78 |
27-Oct-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100: revalidate after radeon_update_renderbuffers This is a port of 603741a86df0e43c0b52e8c202a35c7fe2fc1d9c to r100. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
80adc8ac3b45ee43f1e5f12164a56d63e63a2e65 |
27-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Print out format on unexpected failure in _swrast_ReadPixels.
wrast/s_readpix.c
|
e7343cd704afb19b6491b8cbf591e0dda0160f87 |
27-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/image.c
|
21ce44374a1617e38ec0672e70d061082aa562f9 |
27-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_cb_queryobj.c
|
d4cdd2fab058b4b54b415c72bce7df1d21ba975d |
27-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/drawpix.c
|
b762db62c2972506fa78a5ed72f796113fc9b0d1 |
25-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove unnecessary glapitable.h includes. With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included by core mesa only to know the size of _glapi_table. It is not necessary as the same info is given by _gloffset_COUNT. This change makes _glapi_table opaque to core mesa. All operations on it are supposed to go through one of the SET/GET/CALL macros.
ain/api_exec.c
ain/api_loopback.c
ain/context.c
ain/dispatch.h
ain/dlist.c
ain/es_generator.py
|
aefd4f76ea52d0480d63e053d2e2c768dd40a470 |
25-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
vbo: Use CALL_* macros. Use macros to access _glapi_table consistently. There is no functional change.
bo/vbo_save_api.c
|
07b85457d95bcc70588584e9380c51cd63aa3a2b |
25-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Merge glapioffsets.h into glapidispath.h. Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
ain/dispatch.h
ain/es_generator.py
ain/glapidispatch.h
|
412b9608838b872bc294569b3ee913343a7e66f6 |
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename function to _mesa_is_format_integer_color() Be a bit more clear about its operation.
ain/fbobject.c
ain/formats.c
ain/formats.h
ain/readpix.c
ain/teximage.c
|
ab50148fdafeb6496b4ab684e5b9a2355ccf542c |
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix bug in _mesa_is_format_integer() We only want to return true if it's an integer _color_ format, not a depth and/or stencil format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31143
ain/formats.c
|
e213968f2b99b07e20b69e4dd6f94bea35f54161 |
25-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Move glapidispatch.h to core mesa. It is a core mesa header, not a glapi header.
ain/dispatch.h
ain/es_generator.py
ain/glapidispatch.h
|
b5022ad03584f119b27c143b53e7ed80e8c12ffb |
25-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Do not use glapidispatch.h. glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries.
rivers/x11/glxapi.c
|
9b3c4d3e67db9d43fc6b12d2b4943b087c80c926 |
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove the unused _mesa_is_fragment_shader_active() function This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
ain/shaderobj.h
|
ccef2110edbcc418abebabecc42ee3d9c0e5ab7a |
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap This lets us simplify and consolidate some state checking code. This implements the GL_INVALID_OPERATION check for all drawing commands required by GL_EXT_texture_integer.
ain/drawpix.c
|
705978e2831eb8b8bb23bd11ee08ce51d9b2915c |
27-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: do integer FB / shader validation check in _mesa_valid_to_render()
ain/context.c
|
bb4f12f53875707a0d3c1eb254745b6250c42951 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Disable register spilling on gen6 until it's fixed. Avoids GPU hang on glsl-fs-convolution-1.
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
00bfdac5b8e20463c04b9ec3f67bf1392fb86205 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix VS URB entry sizing. I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1. Fixes: glsl-kwin-blur glsl-max-varying glsl-routing
rivers/dri/i965/gen6_urb.c
|
88087ba1bf5566c8fe1c7d88028d2485126af286 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Drop the eot argument to read messages, which can never be set.
rivers/dri/i965/brw_eu_emit.c
|
3ee5d68075d1b198c92daf01826aba83a35fccf5 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for constant buffer loads on gen6. Fixes glsl-fs-uniform-array-5.
rivers/dri/i965/brw_eu_emit.c
|
519835de04f39ef8aee61f6ef38e347958d7c52c |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the constant buffer on gen6 when it's needed. This was slightly confused because gen6_wm_constants does the push constant buffer, while brw_wm_constants does pull constants.
rivers/dri/i965/brw_state_upload.c
|
6488cf46f5f0196745db825fbcd4d3a893ae4d61 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix typo in comment about state flags.
rivers/dri/i965/gen6_wm_state.c
|
33c4b2370f7546013e67e39ab9ec8ab2125e7597 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Handle new ir_unop_round_even in channel expression splitting.
rivers/dri/i965/brw_fs_channel_expressions.cpp
|
62452e7d94a6353b59dfe0a8891d0709670dbeac |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for discard instructions on gen6. It's a little more painful than before because we don't have the handy mask register any more, and have to make do with cooking up a value out of the flag register.
rivers/dri/i965/brw_fs.cpp
|
9b1d26f78f74ba7f0d5c940f848c21b43ef69398 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for the flag register.
rivers/dri/i965/brw_disasm.c
|
0e8c834ffa2f6d943a927e1a32a273d2f8600694 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clear some undefined fields of g0 when using them for gen6 FB writes. This doesn't appear to help any testcases I'm looking at, but it looks like it's required.
rivers/dri/i965/brw_fs.cpp
|
1732a8bc72fe0a8eaf7449eda65eba1a017ae909 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use SENDC on the first render target write on gen6. This is apparently required, as the thread will be initiated while it still has dependencies, and this is what waits for those to be resolved before writing color.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu_emit.c
|
748f3744bebc37cc753a5ea1c321854c580a7317 |
26-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clarify an XXX comment in FB writes with real info.
rivers/dri/i965/brw_eu_emit.c
|
3789d5025a3200c40a39119c94c3d38a13e4b65a |
25-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add EU code for dword scattered reads (constant buffer array indexing).
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
326b981d3fafbf0cc253d2b224f0c9ad307038a3 |
26-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional teximage error checks for GL_EXT_texture_integer
ain/teximage.c
|
862bb1b0ff9131eec1db7658b088ea1f9fae628f |
26-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional switch cases for GL_EXT_texture_integer
ain/image.c
|
751e10fc0106e929a54d055de7427b3d87a6ffa6 |
26-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional glReadPixels error checks for GL_EXT_texture_integer
ain/readpix.c
|
64276cffcba0dd1544882ed7af5881fb257cd9be |
04-Oct-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: support RGBA16 and use it for RGBA12 as well Tested with r300g. Signed-off-by: Marek Olšák <maraeo@gmail.com>
tate_tracker/st_format.c
|
da580dbbe8833fbc49325bb0f7aadf05ea03b526 |
25-Oct-2010 |
Brian Paul <brianp@vmware.com> |
xlib: silence unused var warning
rivers/x11/fakeglx.c
|
2701eb342b358da638b8c0f281c791c2b16b300b |
25-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix uninitialized var warning http://bugs.freedesktop.org/show_bug.cgi?id=31067
ain/enable.c
|
f72e4b306bb26b067b46f2d7561aabeb6f3f4be0 |
25-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: silence enum comparison warning http://bugs.freedesktop.org/show_bug.cgi?id=31069
rogram/program.c
|
6e618535901ac71a74ffb80d3da7c841a82eec02 |
02-Oct-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <maraeo@gmail.com>
ain/fbobject.c
|
e6ac8d5353dda1b859dbc1219ca4e91c9183ae85 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: be smarter choosing texture format for glDrawPixels() This lets us get an integer texture format for integer pixel formats.
tate_tracker/st_cb_drawpixels.c
|
efd9e2431237499d72d9e651c807cab8e3d0076b |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for GL_EXT_texture_integer
ain/dlist.c
|
98bb70ac842e6898c0e2f78940549be5fb910eda |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL_EXT_texture_integer functions
ain/api_exec.c
|
01e13a7d75b166ccd3ee1f52c60b35a0557bf1ee |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated API files for GL_EXT_texture_integer
ain/enums.c
ain/remap_helper.h
|
646afcc34045cd482e79ded241aac23082e65f6c |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify target_can_be_compressed() function
ain/teximage.c
|
77ca2044a0b14cfe089763d6e0b548bd9eaf9358 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add format selection for signed/unsigned integer formats
tate_tracker/st_format.c
|
d72bf5e79dfb820309ef28b1f7fe39864d884886 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added cases for GL_EXT_texture_integer
ain/readpix.c
|
7a60512f849f052a7abc2ad0aa42a0c152e5c5e6 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added cases for GL_EXT_texture_integer formats
ain/framebuffer.c
|
c7d18374dd97ee78e80d1e65c7b97f7611ebd2c8 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()
ain/fbobject.c
|
9968a3960f7824e9cfffc366494b19834eff5d40 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT
ain/get.c
|
f681ea4741c8136b2c169ff17c9d5b49b1d791ba |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new gl_framebuffer::_IntegerColor field
ain/mtypes.h
|
9ee07a0a27f515c11ae6d3061565863da757a8ed |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new gl_extensions::EXT_gpu_shader4 field
ain/mtypes.h
|
2502ee673893394cfa01f1f26ab9b657a3ccb2dc |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: new glDrawPixels error check for integer formats
ain/drawpix.c
|
013d5ffeec3af5665c81c6a7a8370d21699ca609 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_is_fragment_shader_active() helper
ain/shaderobj.h
|
f1e97dc264c95e515b13db7406c15d46f423488d |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor reformatting, clean-ups
ain/shaderobj.h
|
f5ed39e7e6dd31ea60477475d97d8a5ce6946ccc |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_is_format_integer() function
ain/formats.c
ain/formats.h
|
a0bc8eeb3224eec1e713fb9885f5d02c21b30c14 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT() For GL_EXT_texture_integer.
ain/clear.c
ain/clear.h
|
f6dbb693d211feca9980437c54897ca6619e0a15 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add pixel packing for unscaled integer types And add some missing GL_RG cases.
ain/pack.c
|
1c131752c3e07ef91f49d4970dafca6d26585334 |
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: split up the image.c file New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
Conscript
ain/colortab.c
ain/dlist.c
ain/image.c
ain/image.h
ain/pack.c
ain/pack.h
ain/pixeltransfer.c
ain/pixeltransfer.h
ain/polygon.c
ain/texgetimage.c
ain/texstore.c
ources.mak
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_texcombine.c
|
e67f6ee96e1aaeaba70e24d057c21172fa36f165 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify fbo format checking code
ain/fbobject.c
|
f9288540ecdc896a330f6ce7b7d3b16ee99c3474 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrapping
ain/fbobject.c
|
07cd8f46acc34b04308f81de2faf05ba33da264b |
22-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for pull constants to the new FS backend. Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_wm_state.c
|
ff622d5528c8cca465e29081c0792ca210cdd092 |
22-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move the FS disasm/annotation printout to codegen time. This makes it a lot easier to track down where we failed when some code emit triggers an assert. Plus, less memory allocation for codegen.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
dd2499b484b34e7efb8800f57c915c2f62ab1db4 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move declaration before code
rogram/register_allocate.c
|
a00eec529562532031370b25f5941a916d5399ab |
22-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer.
rivers/dri/nouveau/nouveau_context.c
|
69a07be3e527dbc2148a4e20c50e60266225f5f2 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'primitive-restart-cleanup' Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
|
053875a8b193481a7b1c209d9adf9d3d85788884 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: support for primitive restart
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
be45255ab1f63c10fefcf2f399ac7d1c9294cf6a |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
vbo: support for primitive restart We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it.
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_save_api.c
|
b3de6e703d91da4f7f402f9ca33ccbbe31e97d99 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in primitive restart function
ain/api_exec.c
ain/api_noop.c
ain/vtxfmt.c
|
4f495ec20e25f0e23058f9a2b3981b544ee2b6a6 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated files with primitive restart
ain/enums.c
ain/remap_helper.h
|
7f26ad80ba74b9c78a3735caee202e1868f6ff58 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: set/get primitive restart state
ain/enable.c
ain/get.c
ain/varray.c
|
a80afbd99e879d36fdb4b099fd49c1f75edc8886 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: driver hook for primitive restart
ain/dd.h
|
1d91f8d9164b38b4c924f43ec4fc5ceb65c96a78 |
22-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Be more aggressive in tracking live/dead intervals within loops. Fixes glsl-fs-convolution-2, which was blowing up due to the array access insanity getting at the uniform values within the loop. Each temporary was considered live across the whole loop.
rivers/dri/i965/brw_fs.cpp
|
b66a92de8c032708e93ca5fd52edfff81e7e6213 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()
tate_tracker/st_format.c
|
d4a296caaabfe608fc2b9b3e3c7188249cc2b402 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add missing cases for packing red/green images
ain/image.c
|
d4c1bcce44add7642e857237dfe69bf1fc4511d9 |
22-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add GL_RG case to _mesa_source_buffer_exists() Fixes failure with glReadPixels(format=GL_RG)
ain/framebuffer.c
|
4e7252510976d8d3ff12437ea8842129f24d88f5 |
22-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Correct scratch space allocation. One, it was allocating increments of 1kb, but per thread scratch space is a power of two. Two, the new FS wasn't getting total_scratch set at all, so everyone thought they had 1kb and writes beyond 1kb would go stomping on a neighbor thread. With this plus the previous register spilling for the new FS, glsl-fs-convolution-1 passes.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
|
0b77d57394a3712851ec271aa7ad353d56f302a1 |
21-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't emit register spill offsets directly into g0. g0 is used by others, and is expected to be left exactly as it was dispatched to us. So manually move g0 into our message reg when spilling/unspilling and update the offset in the MRF. Fixes failures in texture sampling after having spilled a register.
rivers/dri/i965/brw_eu_emit.c
|
99b2c8570ea6f46c6564681631f0e0750a0641cc |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for register spilling. It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_reg_allocate.cpp
rivers/dri/i965/brw_wm_emit.c
rogram/register_allocate.c
rogram/register_allocate.h
|
7a3f113e79f983222ecc95c33655a8c9354fcfad |
21-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gl_FrontFacing emit on pre-gen6. It's amazing this code worked. Basically, we would get lucky in register allocation and the tests using frontfacing would happen to allocate gl_FrontFacing storage and the instructions generating gl_FrontFacing but pointing at another register to the same hardware register. Noticed during register spilling debug, when suddenly they didn't get allocatd the same storage.
rivers/dri/i965/brw_fs.cpp
|
5ac6c4ecfe77bf7e02ae61981b2c8b1fe73027cd |
20-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Split register allocation out of the ever-growing brw_fs.cpp.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_reg_allocate.cpp
|
16333e1fc489a414233bc485f1230b847d11b020 |
15-Oct-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove unused vtxfmt_tmp.h. It was used by the "neutral" tnl module that was dropped in 81ccb3e2ce708619f4c23537a237d61bdffdd35f.
ain/vtxfmt_tmp.h
|
2e5764ccf440e59fc6f8441e329c0747ef4ed57b |
21-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Print out format on unexpected failure in _swrast_DrawPixels.
wrast/s_drawpix.c
|
b970da4d24ce67d5dd0f099bd49bb90e6d82e61e |
20-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove FEATURE_ARB_shading_language_120 macro. Everything should be able to support 1.20 at this point.
ain/context.c
ain/mfeatures.h
|
5a3ac74ad594bd221389c2a5631f7ca8b8677fb0 |
20-Oct-2010 |
Orion Poplawski <orion@core.nwra.com> |
osmesa: link against libtalloc Otherwise consumers have to, and that's lame. Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/osmesa/Makefile
|
ae5698e60467db2a7e3f730788cdcdd3711da101 |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the new style of IF statement with embedded comparison on gen6. "Everyone else" does it this way, so follow suit. It's fewer instructions, anyway.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
6ea108e7db79cb7135a8a1ef216e25381f72c225 |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the source operand types for gen6 if/else/endif to integer. I don't think this should matter, but I'm not sure, and it's recommended by a kernel checker in fulsim.
rivers/dri/i965/brw_eu_emit.c
|
d0c87b90a85af0bd9ca7f8cec411a458742190cc |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add EU emit support for gen6's new IF instruction with comparison.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
f30de6964018619658439216cd8bf9371ee6256d |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Disable thread dispatch when the FS doesn't do any work. This should reduce the cost of generating shadow maps, for example. No performance difference measured in nexuiz, though it does trigger this path.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/gen6_wm_state.c
|
2595589f1df351895bc5b1a92f19e995a19da15b |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove the gen6 emit_mi_flushes I sprinkled around the driver. These were for debugging in bringup. Now that relatively complicated apps are working, they haven't helped debug anything in quite a while.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_urb.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
32573792de559c4dbad766a7cfcf02ea71f5047f |
19-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Tell the shader compiler when we expect depth writes for gen6. This fixes hangs in some Z-writes-in-shaders tests, though other pieces don't come out correctly. Bug #30392: hang in fbo-fblit-d24s8. (still fails with bad color drawn to some targets)
rivers/dri/i965/brw_wm.c
|
988b246c471c9c7ece1082682853e3744b702dd2 |
18-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix mesa version string construction Now that MESA_MINOR=10, we no longer need the extra '0' in the version string.
rivers/x11/Makefile
|
f82d9843526e4f121ab1c2c726155e3b7dbe1a01 |
14-Oct-2010 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa: Make sure we have the talloc cflags when using the talloc headers Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
akefile
|
f36a6420305ff57db542eec611462a71858f128d |
19-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Remove unused variable.
rivers/dri/r300/compiler/radeon_compiler.c
|
f822cc22f223a0a4f9cf1cdd5871780e5df11d67 |
18-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300g: Add new debug option for logging vertex/fragment program stats
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_remove_constants.c
|
9d2ab6cb00e72fd8b53d0f97578758504b49ee23 |
10-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add a new function for more efficient dataflow analysis rc_get_readers_normal() supplies a list of readers for a given instruction. This function is now being used by the copy propagate optimization and will eventually be used by most other optimization passes as well.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/radeon_compiler_util.c
rivers/dri/r300/compiler/radeon_compiler_util.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_optimize.c
|
3cdff41d9245f997c465869148a74a2041739504 |
14-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Clear empty registers after constant folding
rivers/dri/r300/compiler/radeon_optimize.c
|
75734d0a37c7cb24fb97c9ba0166f9f2d2da60f8 |
06-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix incorrect assumption It is possible for a single pair instruction arg to select from both an RGB and an Alpha source.
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
ad683577b202750ffac917392d50fb7202d5bf2a |
01-Oct-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Create a helper function for merging presubtract sources
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
80c9f756b28d15ca097963af35915f5b073f081d |
19-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Remove unused variable.
rivers/dri/i965/brw_fs.cpp
|
4af293741635aea8630e8734a8b4caf58047e91d |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Avoid blits in BufferCopySubdata on gen6. Fixes glean/bufferObject.
rivers/dri/intel/intel_buffer_objects.c
|
641028debf0e4b03111b205088763d3d957070b2 |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix scissor-offscreen on gen6 like we did pre-gen6.
rivers/dri/i965/gen6_scissor_state.c
|
022531209d1575b5c1cd84070757521566f856b7 |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now.
rivers/dri/i965/brw_vs_emit.c
|
66800a04e512ab02ddde7bdb564feb0a77b2f575 |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix assertion failure on gen6 BufferSubData to busy BO. Fixes fbo-blit and probably several other tests.
rivers/dri/intel/intel_buffer_objects.c
|
746e68c50b4ae1566b342fbc965557b6dbcfaa2e |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix a weirdness in NOT handling. XOR makes much more sense. Note that the previous code would have failed for not(not(x)), but that gets optimized out.
rivers/dri/i965/brw_fs.cpp
|
ea213417f14a8b2734cb2a88d8aa1ac05a70b7d5 |
18-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Disable the debug printf I added for FS disasm.
rivers/dri/i965/brw_fs.cpp
|
65d4234c2398aaa48eb5e29e6e7bede40fe2fd36 |
18-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add missing "break" statement. Otherwise, it would try to handle arrays as structures, use uninitialized memory, and crash.
rivers/dri/i965/brw_fs.cpp
|
746b602fbdd6e7955e076c0c0d39e86b01bd3dfd |
17-Oct-2010 |
Brian Rogers <brian@xyzw.org> |
mesa: Add missing else in do_row_3D This fixes erroneous "bad format in do_row()" messages Signed-off-by: Brian Paul <brianp@vmware.com>
ain/mipmap.c
|
81c27dbfb943df8dc5cf65a2654d96fe5d7c1df4 |
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: update function name, comments
tate_tracker/st_cb_drawpixels.c
|
fa5309f0b09f7216ddf7f00cc4f318fa9db9128d |
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32
tate_tracker/st_atom.h
|
cba65f7e0e0269bbb30efd886dd7868f5e3ccc38 |
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: reformatting in st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.c
|
61a467e515c31eb6b97b039bc3f97dbe6eafa7cb |
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX) We need to keep track of three different fragment shaders: Z-only, stencil- only, and Z+stencil. Before, we were only keeping track of the first one we encountered.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
81d0a1fb3f1e5b7bcf43145f8a096691e3a5fdfb |
15-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the type of the null register to fix gen6 FS comparisons. We often use reg_null as the destination when setting up the flag regs. However, on gen6 there aren't general implicit conversions to destination types from src types, so the comparison to produce the flag regs would be done on the integer result interpreted as a float. Hilarity ensued. Fixes 20 piglit cases.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
20b39c7760487bae73489b9812408e12d1d56dd5 |
15-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Fix indentation after commit 3322fbaf
rivers/dri/i965/brw_fs.cpp
|
a14376218e649ccf3a5187b40409480dbdabcf02 |
15-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to shaderobj.h. Include compiler.h for ASSERT symbol.
ain/shaderobj.h
|
3322fbaf3b5e305ce00c1d08c26965bb98e0cef0 |
14-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Slightly change the semantic of _LinkedShaders Previously _LinkedShaders was a compact array of the linked shaders for each shader stage. Now it is arranged such that each slot, indexed by the MESA_SHADER_* defines, refers to a specific shader stage. As a result, some slots will be NULL. This makes things a little more complex in the linker, but it simplifies things in other places. As a side effect _NumLinkedShaders is removed. NOTE: This may be a candidate for the 7.9 branch. If there are other patches that get backported to 7.9 that use _LinkedShader, this patch should be cherry picked also.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_state.c
ain/context.c
ain/mtypes.h
ain/shaderobj.c
rogram/ir_to_mesa.cpp
|
4b4284c9c9b472f750663352485290c22f8c3921 |
15-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix texturing on pre-gen5. I broke it in 06fd639c519214b6ebcbf29127b6d9ed429f8641 by only testing 2 generations of hardware :(
rivers/dri/i965/brw_fs.cpp
|
8fb49554d9404cd3538f569003a0f917fbdfb2d8 |
14-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove post-convolution width/height vars These were left-over bits from when convolution was removed.
ain/teximage.c
|
f157812bbbcf9caac1f84988e738fc9d1e051056 |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Add support for ir_unop_round_even via the RNDE instruction.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
|
d85d25dd1f4fd281bd210ba6ba5135ba1e3b535f |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Add a new ir_unop_round_even opcode for GLSL 1.30's roundEven. Also, update ir_to_mesa's "1.30 is unsupported" case to "handle" it.
rogram/ir_to_mesa.cpp
|
4bab22bca36696a7a1ed6ea3de9b993ffd181f30 |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Clean up a warning in the old fragment backend. Hopefully this code can just go away soon.
rivers/dri/i965/brw_wm_emit.c
|
a81d423d93f22a948f3aa4bf73dc6b1a3b70192f |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable the new FS backend on pre-gen6 as well. It is now to the point where we have no regressing piglit tests. It also fixes Yo Frankie! and Humus DynamicBranching, probably due to the piglit bias tests that work that didn't on the Mesa IR backend. As a downside, performance takes about a 5-10% performance hit at the moment (e.g. nexuiz 19.8fps -> 18.8fps), which I plan to resolve by reintroducing 16-wide fragment shaders where possible. It is a win, though, for fragment shaders using flow control.
rivers/dri/i965/brw_fs.cpp
|
897f6d3c7d06316b0535971cc2de318157c23692 |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Correctly emit the RNDZ instruction. Simply using RNDU, RNDZ, or RNDE does not produce the desired result. Rather, the RND* instructions place a value in the destination register that may be 1 less than the correct answer. They can also set per-channel "increment bits" in a flag register, which, if set, mean dest needs to be incremented by 1. A second instruction - a predicated add - completes the job. Notably, RNDD always produces the correct answer in a single instruction. Fixes piglit test glsl-fs-trunc.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
f541b685aaf404fa7c8142f51d91c2720d82f264 |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use RNDZ for ir_unop_trunc in the new FS. The existing code used RNDD, which rounds down, rather than toward zero.
rivers/dri/i965/brw_fs.cpp
|
c4226142f3b5d1c931fcc781be8a3aafdfabf316 |
14-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Use logical-not when emitting ir_unop_ceil. Fixes piglit test glsl-fs-ceil.
rivers/dri/i965/brw_fs.cpp
|
5dd07b442e02696bf0ec5d4e3b4be1674519664a |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add peepholing of conditional mod generation from expressions. This cuts usually 2 out of 3 instructions for flag reg generation (if statements, conditional assignment) by producing the conditional mod in the expression representing the boolean value. Fixes glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined (register allocation no longer fails for the conditional generation proliferation)
rivers/dri/i965/brw_fs.cpp
|
d5599c0b6a22cd0bbc475ec715824660144d02a0 |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a function for handling the move of boolean values to flag regs. This will be a place to peephole comparisions directly to the flag regs, and for now avoids using MOV with conditional mod on gen6, which is now illegal.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
1d33e940d2050f3d9180019f6ffd57f6fc295507 |
14-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Only install vtxfmt tables for OpenGL GLES1 and GLES2 install their own exec pointers and don't need the Save table. Also, the SET_* macros use different indices for the different APIs so the offsets used in vtxfmt.c are actually wrong for the ES APIs.
ain/vtxfmt.c
|
4f88550ba0e1ad07e39903f268975921c0101e85 |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a pass to the FS to split virtual GRFs to float channels. Improves nexuiz performance 0.91% (+/- 0.54%, n=8)
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
b8613d70da34217b98edb9ac9e0a4c9a6598d0b3 |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update the live interval when coalescing regs.
rivers/dri/i965/brw_fs.cpp
|
0c6752026c405dc3ab5fe85c6a40ac3f04c685c3 |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set class_sizes[] for the aligned reg pair class. So far, I've only seen this be a valgrind warning and not a real failure.
rivers/dri/i965/brw_fs.cpp
|
81ccb3e2ce708619f4c23537a237d61bdffdd35f |
13-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop the "neutral" tnl module Just always check for FLUSH_UPDATE_CURRENT and call Driver.BeginVertices when necessary. By using the unlikely() macros, this ends up as a 10% performance improvement (for isosurf, anyway) over the old, complicated function pointer swapping.
ain/context.c
ain/mtypes.h
ain/vtxfmt.c
ain/vtxfmt.h
bo/vbo_exec_api.c
|
338b3f0b90fdd6f5f6a84a7cf7cd6f3c1be65105 |
14-Oct-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
Revert "i965: fallback lineloop on sandybridge for now" This reverts commit 73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac.
rivers/dri/i965/brw_draw.c
|
e8e79c1d7eed0f5ae8820611cb86bdbd6ce595e6 |
14-Oct-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix GS hang on Sandybridge Don't use r0 for FF_SYNC dest reg on Sandybridge, which would smash FFID field in GS payload, that cause later URB write fail. Also not use r0 in any URB write requiring allocate.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
a57ef244fc55476660f9fb76982130c5c0b25163 |
14-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for rescaling GL_TEXTURE_RECTANGLE coords to new FS.
rivers/dri/i965/brw_fs.cpp
|
7d8ba5f78fc31357b65b9bb2acc5e0b97c543af1 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Clean up various 'unused parameter' warnings in shaderapi
ain/shaderapi.c
|
ccc1c4c6d98168ee86c469307aa67e748af6f058 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Clean up two 'comparison between signed and unsigned' warnings
ain/shaderapi.c
|
5cb24c4a75cd0b45bb332721c3d0e5a1f928b6f4 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor validation of shader targets Actually validate that the implementation supports the particular shader target as well. Previously if a driver only supported vertex shaders, for example, glCreateShaderObjectARB would gladly create a fragment shader. NOTE: this is a candidate for the 7.9 branch.
ain/shaderapi.c
|
babe20b9d188ed94a5ecab30d829dd3f4ad728b5 |
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Silence unused variable warning
ain/context.c
|
c3ed27ec76c5456412122d7e654a2e298409cc88 |
13-Oct-2010 |
Brian Paul <brianp@vmware.com> |
x11: fix breakage from gl_config::visualType removal
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
f9995b30756140724f41daf963fa06167912be7f |
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
rivers/beos/GLView.cpp
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
rivers/common/meta.c
rivers/common/meta.h
rivers/dri/common/depthtmp.h
rivers/dri/common/dri_metaops.c
rivers/dri/common/dri_metaops.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/common/spantmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810render.c
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
rivers/dri/i810/i810state.c
rivers/dri/i810/i810state.h
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tex.h
rivers/dri/i810/i810texstate.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_fallback.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions.h
rivers/dri/intel/intel_extensions_es2.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_syncobj.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mga/mga_texcombine.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/nouveau/nouveau_bo_state.c
rivers/dri/nouveau/nouveau_bo_state.h
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nouveau_surface.c
rivers/dri/nouveau/nouveau_surface.h
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_driver.h
rivers/dri/nouveau/nv04_render.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_state_frag.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv04_surface.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv10_state_polygon.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_render.c
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_frag.c
rivers/dri/nouveau/nv20_state_polygon.c
rivers/dri/nouveau/nv20_state_raster.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_blit.h
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r200/r200_vertprog.h
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_common.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
rivers/dri/r300/radeon_context.h
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_blit.h
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_context.c
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_fragprog.h
rivers/dri/r600/evergreen_ioctl.c
rivers/dri/r600/evergreen_ioctl.h
rivers/dri/r600/evergreen_oglprog.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/evergreen_state.h
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/evergreen_tex.h
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/evergreen_vertprog.h
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_clear.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_blit.h
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_queryobj.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_tex_getimage.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedd.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_spantemp.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/tdfx/tdfx_vbtmp.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_tris.h
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dglcontext.h
rivers/windows/gldirect/dglwgl.c
rivers/windows/gldirect/dglwgl.h
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_dx7.h
rivers/windows/gldirect/dx7/gld_ext_dx7.c
rivers/windows/gldirect/dx7/gld_pipeline_dx7.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx7/gld_texture_dx7.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx7/gld_wgl_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_dx8.h
rivers/windows/gldirect/dx8/gld_ext_dx8.c
rivers/windows/gldirect/dx8/gld_pipeline_dx8.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx8/gld_texture_dx8.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx8/gld_wgl_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_dx9.h
rivers/windows/gldirect/dx9/gld_ext_dx9.c
rivers/windows/gldirect/dx9/gld_pipeline_dx9.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/dx9/gld_texture_dx9.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/dx9/gld_wgl_dx9.c
rivers/windows/gldirect/gld_driver.c
rivers/windows/gldirect/gld_driver.h
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ain/accum.c
ain/accum.h
ain/api_arrayelt.c
ain/api_arrayelt.h
ain/api_validate.c
ain/api_validate.h
ain/arrayobj.c
ain/arrayobj.h
ain/atifragshader.c
ain/atifragshader.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/bufferobj.c
ain/bufferobj.h
ain/buffers.c
ain/buffers.h
ain/clear.c
ain/colortab.c
ain/condrender.c
ain/condrender.h
ain/context.c
ain/context.h
ain/dd.h
ain/debug.c
ain/debug.h
ain/depth.c
ain/depth.h
ain/depthstencil.c
ain/depthstencil.h
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawtex.c
ain/enable.c
ain/enable.h
ain/eval.c
ain/eval.h
ain/extensions.c
ain/extensions.h
ain/fbobject.c
ain/fbobject.h
ain/feedback.c
ain/feedback.h
ain/ffvertex_prog.c
ain/ffvertex_prog.h
ain/fog.c
ain/fog.h
ain/framebuffer.c
ain/framebuffer.h
ain/get.c
ain/getstring.c
ain/hash.c
ain/hint.c
ain/hint.h
ain/image.c
ain/image.h
ain/imports.c
ain/imports.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/matrix.c
ain/matrix.h
ain/mipmap.c
ain/mipmap.h
ain/mtypes.h
ain/multisample.c
ain/multisample.h
ain/nvprogram.c
ain/nvprogram.h
ain/pixel.c
ain/pixel.h
ain/pixelstore.c
ain/pixelstore.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/queryobj.c
ain/queryobj.h
ain/rastpos.c
ain/rastpos.h
ain/readpix.c
ain/readpix.h
ain/renderbuffer.c
ain/renderbuffer.h
ain/scissor.c
ain/scissor.h
ain/shaderapi.c
ain/shaderapi.h
ain/shaderobj.c
ain/shaderobj.h
ain/shared.c
ain/shared.h
ain/state.c
ain/state.h
ain/stencil.c
ain/stencil.h
ain/syncobj.c
ain/syncobj.h
ain/texcompress.c
ain/texcompress.h
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
ain/texenv.c
ain/texenvprogram.c
ain/texenvprogram.h
ain/texformat.c
ain/texformat.h
ain/texgetimage.c
ain/texgetimage.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texparam.c
ain/texrender.c
ain/texrender.h
ain/texstate.c
ain/texstate.h
ain/texstore.c
ain/texstore.h
ain/transformfeedback.c
ain/transformfeedback.h
ain/uniforms.c
ain/uniforms.h
ain/varray.c
ain/varray.h
ain/version.c
ain/version.h
ain/viewport.c
ain/viewport.h
ain/vtxfmt.c
ain/vtxfmt.h
rogram/arbprogparse.c
rogram/arbprogparse.h
rogram/ir_to_mesa.cpp
rogram/ir_to_mesa.h
rogram/nvfragparse.c
rogram/nvfragparse.h
rogram/nvvertparse.c
rogram/nvvertparse.h
rogram/prog_cache.c
rogram/prog_cache.h
rogram/prog_execute.c
rogram/prog_execute.h
rogram/prog_optimize.c
rogram/prog_optimize.h
rogram/prog_print.c
rogram/prog_print.h
rogram/prog_statevars.c
rogram/prog_statevars.h
rogram/program.c
rogram/program.h
rogram/program_parse.tab.c
rogram/program_parse.y
rogram/program_parser.h
rogram/programopt.c
rogram/programopt.h
tate_tracker/st_atom.c
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_accum.h
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_condrender.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_program.h
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
tate_tracker/st_cb_strings.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_cb_viewport.c
tate_tracker/st_cb_xformfb.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_gen_mipmap.h
tate_tracker/st_manager.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
tate_tracker/st_program.h
wrast/NOTES
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_atifragshader.c
wrast/s_atifragshader.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_blit.c
wrast/s_clear.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_fragprog.c
wrast/s_fragprog.h
wrast/s_lines.c
wrast/s_lines.h
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_points.c
wrast/s_points.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_spantemp.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texcombine.c
wrast/s_texcombine.h
wrast/s_texfilter.c
wrast/s_texfilter.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast/swrast.h
wrast_setup/NOTES
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.h
wrast_setup/swrast_setup.h
nl/NOTES
nl/t_context.c
nl/t_context.h
nl/t_draw.c
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_rasterpos.c
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_generic.c
nl/t_vertex_sse.c
nl/t_vp_build.c
nl/t_vp_build.h
nl/tnl.h
nl_dd/imm/t_dd_imm_primtmp.h
nl_dd/imm/t_dd_imm_vb.c
nl_dd/imm/t_dd_imm_vbtmp.h
nl_dd/t_dd.c
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_dmatmp2.h
nl_dd/t_dd_rendertmp.h
nl_dd/t_dd_triemit.h
nl_dd/t_dd_tritmp.h
nl_dd/t_dd_unfilled.h
nl_dd/t_dd_vb.c
nl_dd/t_dd_vbtmp.h
bo/vbo.h
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_exec_eval.c
bo/vbo_rebase.c
bo/vbo_save.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
bo/vbo_split.c
bo/vbo_split.h
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
86/gen_matypes.c
86/mmx.h
86/mmx_blendtmp.h
|
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 |
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLframebuffer typedef and just use struct gl_framebuffer
rivers/beos/GLView.cpp
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810screen.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgapixel.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_screen.c
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dglcontext.h
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_dx7.h
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_dx8.h
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_dx9.h
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
ain/context.c
ain/context.h
ain/dd.h
ain/framebuffer.c
ain/image.c
ain/mtypes.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_viewport.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
tate_tracker/st_manager.h
|
d3491e775fb07f891463b2185d74bbad62f3ed24 |
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Rename GLvisual and __GLcontextModes to struct gl_config
rivers/beos/GLView.cpp
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810screen.h
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgaspan.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dglcontext.h
rivers/x11/xm_buffer.c
rivers/x11/xmesaP.h
ain/context.c
ain/context.h
ain/framebuffer.c
ain/framebuffer.h
ain/glheader.h
ain/mtypes.h
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
|
705e142dda047f24b563fc2bea0f922173e91d1b |
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
gl: Remove unused GLcontextModes fields
rivers/dri/common/dri_util.c
rivers/dri/common/utils.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
rivers/x11/xmesa_x.h
ain/context.c
ain/glheader.h
ain/mtypes.h
|
e3c1c5377c7fcd17085bfb22fbc1cf30646751ba |
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Get rid of GL/internal/glcore.h __GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
rivers/dri/common/dri_util.h
rivers/dri/common/drisw_util.h
ain/context.c
ain/context.h
ain/glheader.h
ain/imports.h
ain/mtypes.h
|
8c107e6ca619dd676e3697749a7d9b81ed19f46a |
13-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
tdfx: Silence unused variable warning on non-debug builds. Fixes this GCC warning. tdfx_texman.c: In function 'tdfxTMMoveOutTM_NoLock': tdfx_texman.c:897: warning: unused variable 'shared'
rivers/dri/tdfx/tdfx_texman.c
|
71fa3f8fe21770de6343f4c13a7000cf118a7edd |
13-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Silence uninitialized variable warning. Fixes this GCC warning. r300_state.c: In function 'r300InvalidateState': r300_state.c:2247: warning: 'hw_format' may be used uninitialized in this function r300_state.c:2247: note: 'hw_format' was declared here
rivers/dri/r300/r300_state.c
|
39de9251c4770fdcce3395643003aa626178446d |
13-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: reformatting, comments, code movement
ain/texstore.c
|
1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e |
13-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove assertion w/ undeclared variable texelBytes
ain/texstore.c
|
5f612f5c006ff006ad1d2b90fbfdcdbee271771e |
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: enable stencil shader export extension if supported
tate_tracker/st_extensions.c
|
d9671863eaae41ba28b6fe82e3e7d1dac12f514c |
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
glsl: add support for shader stencil export This adds proper support for the GL_ARB_shader_stencil_export extension to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
ain/extensions.c
ain/mtypes.h
|
ef8bb7ada98f1ddc8e2554a7336af5d669cb1290 |
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: use shader stencil export to accelerate shader drawpixels. If the pipe driver has shader stencil export we can accelerate DrawPixels using it. It tries to pick an S8 texture and works its way to X24S8 and S8X24 if that isn't supported.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
tate_tracker/st_texture.h
|
06642c61757b459f4f9283b721ad93b6f15386a7 |
07-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add option to choose a texture format that we won't render to. We need a texture to put the drawpixels stuff into, an S8 texture is less memory/bandwidth than the 32-bit X24S8, but we might not be able to render directly to an S8, so this lets us specify we won't be rendering to this texture.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
c79e681a68a1ef73cdb756f7b46b2a1df1bcc710 |
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: improve texstore for 8/24 formats and add texstore for S8. this improves mesa texstore for 8/24 so it can create S24X8/X24S8 variants by keeping the depth bits static. it also adds a texstore for S8 so we can write out an S8 texture to use in the sampler for accel draw pixels to save memory bw. The logic seems sound here, I've worked it out a few times on paper, though it would be good to have some review. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texstore.c
|
bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb |
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: add support for FRAG_RESULT_STENCIL. this is needed to add support for stencil shader export. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/mtypes.h
|
43873b53c4d15f10f0321c770b1b8bd537cc226d |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't rebase the index buffer to min 0 if any arrays are in VBOs. There was a check to only do the rebase if we didn't have everything in VBOs, but nexuiz apparently hands us a mix of VBOs and arrays, resulting in blocking on the GPU to do a rebase. Improves nexuiz 800x600, high-settings performance on my Ironlake 41% (+/- 1.3%), from 14.0fps to 19.7fps.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
bo/vbo.h
bo/vbo_rebase.c
|
3316a542050182d159ed5e5e07aa62839f293b69 |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
intel: Allow CopyTexSubImage to InternalFormat 3/4 textures, like RGB/RGBA. The format selection of the CopyTexSubImage is pretty bogus still, but this at least avoids software fallbacks in nexuiz, bringing performance from 7.5fps to 12.8fps on my machine.
rivers/dri/intel/intel_tex_copy.c
|
080e7aface81e6a055ac61988ca27a88ad70f879 |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix missing "break;" in i2b/f2b, and missing AND of CMP result. Fixes glsl-fs-i2b.
rivers/dri/i965/brw_fs.cpp
|
9fea9e5e2115bcb52435648d2ef753638733d7d9 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Fix incorrect assertion This assertion was added in commit f1c1ee11, but it did not notice that the array is accessed with 'size-1' instead of 'size'. As a result, the assertion was off by one. This caused failures in at least glsl-orangebook-ch06-bump.
rogram/ir_to_mesa.cpp
|
b2b9b22c1013ebf02aa6f0d9c1c7b5267523d973 |
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Validate assembly shaders when GLSL shaders are used If an GLSL shader is used that does not provide all stages and assembly shaders are provided for the missing stages, validate the assembly shaders. Fixes bugzilla #30787 and piglit tests glsl-invalid-asm0[12]. NOTE: this is a candidate for the 7.9 branch.
ain/context.c
|
f1c1ee11d34f4aa5975641a615c7fd2edb32e1c0 |
12-Oct-2010 |
Brian Paul <brianp@vmware.com> |
ir_to_mesa: assorted clean-ups, const qualifiers, new comments
rogram/ir_to_mesa.cpp
|
c25fcf5aa5beccd7731706b8f85682170a2eca56 |
28-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
nouveau: Get larger push buffers. Useful to amortize the command submission/reloc overhead (e.g. etracer goes from 72 to 109 FPS on nv4b).
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
70828aa246464d5e1ae0c32a9301c4dccfa54935 |
09-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Initialize tile_flags when allocating a render target.
rivers/dri/nouveau/nouveau_surface.c
rivers/dri/nouveau/nv10_state_fb.c
|
bcec03d527561e2df56bf9ebfa250cef56bb732b |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Always use the new FS backend on gen6. It's now much more correct for gen6 than the old backend, with just 2 regressions I've found (one of which is common with pre-gen6 and will be fixed by an array splitting IR pass). This does leave the old Mesa IR backend getting used still when we don't have GLSL IR, but the plan is to get GLSL IR input to the driver for the ARB programs and fixed function by the next release.
rivers/dri/i965/brw_fs.cpp
|
0cadd32b6dc80455802c04b479ec8e768f93ffe1 |
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gen6 pixel_[xy] setup to avoid mixing int and float src operands. Pre-gen6, you could mix int and float just fine. Now, you get goofy results. Fixes: glsl-arb-fragment-coord-conventions glsl-fs-fragcoord glsl-fs-if-greater glsl-fs-if-greater-equal glsl-fs-if-less glsl-fs-if-less-equal
rivers/dri/i965/brw_fs.cpp
|
17306c60ad61f5096010d210f5d3f6d0b3a99dad |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't compute-to-MRF in gen6 VS math. There was code to do this for pre-gen6 already, this just enables it for gen6 as well.
rivers/dri/i965/brw_vs_emit.c
|
720ed3c906b0f6d5822fe9fa442294c9828e1560 |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Expand uniform args to gen6 math to full registers to get hstride == 1. This is a hw requirement in math args. This also is inefficient, as we're calculating the same result 8 times, but then we've been doing that on pre-gen6 as well. If we're doing math on uniforms, though, we'd probably be better served by having some sort of mechanism for precalculating those results into another uniform value to use. Fixes 7 piglit math tests.
rivers/dri/i965/brw_fs.cpp
|
317dbf4613ebf56ca14ee70c1ad6e620ad7942c2 |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't compute-to-MRF in gen6 math instructions.
rivers/dri/i965/brw_fs.cpp
|
7b5bc38c44269fc51db2f8b5e4ba0222212c6d71 |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a couple of checks for gen6 math instruction limits.
rivers/dri/i965/brw_eu_emit.c
|
25cf241540007088936a6df16c849441087f722c |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't consider gen6 math instructions to write to MRFs. This was leftover from the pre-gen6 cleanups. One tests regresses where compute-to-MRF now occurs.
rivers/dri/i965/brw_fs.cpp
|
a34817917bd8c408d8f732c24b4eb586f666d6c1 |
08-Oct-2010 |
Chad Versace <chad@chad-versace.us> |
intel_extensions: Add ability to set GLSL version via environment Add ability to set the GLSL version used by the GLcontext by setting the environment variable INTEL_GLSL_VERSION. For example, env INTEL_GLSL_VERSION=130 prog args If the environment variable is missing, the GLSL versions defaults to 120. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_extensions.c
|
603741a86df0e43c0b52e8c202a35c7fe2fc1d9c |
10-Oct-2010 |
Daniel Vetter <daniel.vetter@ffwll.ch> |
r200: revalidate after radeon_update_renderbuffers By calling radeon_draw_buffers (which sets the necessary flags in radeon->NewGLState) and revalidating if NewGLState is non-zero in r200TclPrimitive. This fixes an assert in libdrm (the color-/ depthbuffer was changed but not yet validated) and and stops the kernel cs checker from complaining about them (when they're too small). Thanks to Mario Kleiner for the hint to call radeon_draw_buffer (instead of my half-broken hack). v2: Also fix the swtcl r200 path. Cc: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_common_context.c
|
c6dbf253d284f68b0d0e4a3c145583880855324b |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Compute to MRF in the new FS backend. This didn't produce a statistically significant performance difference in my demo (n=4) or nexuiz (n=3), but it still seems like a good idea and is recommended by the HW team.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
06fd639c519214b6ebcbf29127b6d9ed429f8641 |
09-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Give the FB write and texture opcodes the info on base MRF, like math.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
0cd6cea8a3e9339fc69f9de0da6b40e4f9d5f4fe |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Give the math opcodes information on base mrf/mrf len. This is progress towards enabling a compute-to-MRF pass.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
|
37758fb1cbb1ddcd106553763c1b1f222f4cfb47 |
11-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move FS backend structures to a header. It's time to start splitting some of this up.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs.h
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
rivers/dri/i965/brw_wm.h
|
251fe2785484f7ba0c194c92fe0feff9c78b52ca |
10-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Reduce register interference checks for changed FS_OPCODE_DISCARD. While I don't know of any performance changes from this (once extra reg available out of 128), it makes the generated asm a lot cleaner looking.
rivers/dri/i965/brw_fs.cpp
|
90c402204018c78f4a0b8a79515cf8c582092963 |
10-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Split FS_OPCODE_DISCARD into two steps. Having the single opcode write then read the reg meant that single instruction opcodes had to consider their source regs to interfere with their dest regs.
rivers/dri/i965/brw_fs.cpp
|
e2acc7be2683fd3c295480724b02f5a497309cfd |
10-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10: Fake fast Z clears for pre-nv17 cards.
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_tnl.c
|
35a1893fd1993932a428f5f83051383d51c8135e |
10-Oct-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Minor cleanup.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv20_render.c
|
e7843363a5cb1a7e6c206e2bc79f03bd58312820 |
09-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Initialize member variables. Fixes these GCC warnings. brw_wm_fp.c: In function 'search_or_add_const4f': brw_wm_fp.c:92: warning: 'reg.Index2' is used uninitialized in this function brw_wm_fp.c:84: note: 'reg.Index2' was declared here brw_wm_fp.c:92: warning: 'reg.RelAddr2' is used uninitialized in this function brw_wm_fp.c:84: note: 'reg.RelAddr2' was declared here
rivers/dri/i965/brw_wm_fp.c
|
5abd498c47e63ac4445360535b4591dbf6ea627a |
09-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence unused variable warning on non-debug builds. Fixes this GCC warning. brw_vs.c: In function 'do_vs_prog': brw_vs.c:46: warning: unused variable 'ctx'
rivers/dri/i965/brw_vs.c
|
978ffa1d61902f0d55e15fbc51af75d444f35124 |
09-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence unused variable warning on non-debug builds. Fixes this GCC warning. brw_eu_emit.c: In function 'brw_math2': brw_eu_emit.c:1189: warning: unused variable 'intel'
rivers/dri/i965/brw_eu_emit.c
|
220c0834a45d1dfa71f192b17d9a9b959a5a807e |
09-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Silence unused variable warning in non-debug builds. Fixes this GCC warning. i915_vtbl.c: In function 'i915_assert_not_dirty': i915_vtbl.c:670: warning: unused variable 'dirty'
rivers/dri/i915/i915_vtbl.c
|
0f4984a0fb5a59efe8e3d954e9deb5ec83177e90 |
09-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Silence unused variable warning in non-debug builds. Fixes this GCC warning. i830_vtbl.c: In function 'i830_assert_not_dirty': i830_vtbl.c:704: warning: unused variable 'i830'
rivers/dri/i915/i830_vtbl.c
|
dc459f87566576d06310f6ff6b0bcb2080653f3e |
08-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Enable GL_ARB_explicit_attrib_location
rivers/dri/intel/intel_extensions.c
|
dbc6c9672d5bec1310772b10a676b5a539aa9130 |
06-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
main: Enable GL_ARB_explicit_attrib_location for swrast
ain/extensions.c
|
c52a0b5c7d4b55fb183c8ab68aa3561432287283 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add register coalescing to the new FS backend. Improves performance of my GLSL demo 14.3% (+/- 4%, n=4) by eliminating the moves used in ir_assignment and ir_swizzle handling. Still 16.5% to go to catch up to the Mesa IR backend, presumably because instructions are almost perfectly mis-scheduled now.
rivers/dri/i965/brw_fs.cpp
|
80c0077a6f7908b302e9fd03ab0d2e5c30dcbddd |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable attribute swizzling (repositioning) in the gen6 SF. We were trying to remap a fully-filled array down to only handing the WM the components it uses. This is called attribute swizzling, and if you don't enable it you just get 1:1 mappings of inputs to outputs. This almost fixes glsl-routing, except for the highest gl_TexCoord[] indices.
rivers/dri/i965/gen6_sf_state.c
|
cac04a93974e7ae773b84e000a2b26391ee2f4bb |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix new FS gen6 interpolation for sparsely-populated arrays. We'd overwrite the same element twice.
rivers/dri/i965/brw_fs.cpp
|
624ce6f61b70e033fe367da791ef5a9881887685 |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gen6 WM push constants updates. We would compute a new buffer, but never point the hardware at the new buffer. This partially fixes glsl-routing, as now it get the updated uniform for which attribute to draw.
rivers/dri/i965/gen6_wm_state.c
|
5b24d69fcd6359dc959ec465c7e77b4626a27e72 |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Handle swizzles in the addition of YUV texture constants. If someone happened to land a set in a different swizzle order, we would have assertion failed.
rivers/dri/i965/brw_wm_fp.c
|
0534e958c9d7fc854b64ad38964863e895e5a317 |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Drop the check for YUV constants in the param list. _mesa_add_unnamed_constant() already does that.
rivers/dri/i965/brw_wm_fp.c
|
fa8aba9da429e12fe77c0c78b6945d6ed1d7057c |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Drop the check for duplicate _mesa_add_state_reference. _mesa_add_state_reference does that check for us anyway.
rivers/dri/i965/brw_wm_fp.c
|
e310c22bb738e024faadca8dba16fa53e7215a3e |
08-Oct-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Simplify a bit of _mesa_add_state_reference using memcmp.
rogram/prog_parameter.c
|
bbb840049e7a92af6e0e8c2c5c21c63caec9e826 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Normalize cubemap coordinates like is done in the Mesa IR path. Fixes glsl-fs-texturecube-2-*
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_cubemap_normalize.cpp
rivers/dri/i965/brw_fs.cpp
|
4d202da7a4951eb534f77014238e7cdca9f781e9 |
07-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Disable emitting if () statements on gen6 until we really fix them.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_fs.cpp
|
1d595c7cd4aefc7baf1942626f53bec8f6699f7f |
07-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
gles2: Add GL_EXT_texture_format_BGRA8888 support
rivers/dri/intel/intel_extensions_es2.c
ain/APIspec.xml
ain/extensions.c
ain/mtypes.h
|
d3163912c1f15fcb44beb33c5069799d56e1dc16 |
07-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gen6 pointsize handling to match pre-gen6. Fixes point-line-no-cull. Bug #30532
rivers/dri/i965/gen6_sf_state.c
|
b380531fd40e0876218b1116502bafea7911bd3d |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't assume that WPOS is always provided on gen6 in the new FS. We sensibly only provide it if the FS asks for it. We could actually skip WPOS unless the FS needed WPOS.zw, but that's something for later. Fixes: glsl-texture2d and probably many others.
rivers/dri/i965/brw_fs.cpp
|
1fdc8c007ea66b4c9866bf2c679653a005307fa5 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gl_FrontFacing on gen6. Fixes glsl1-gl_FrontFacing var (2) with new FS.
rivers/dri/i965/brw_fs.cpp
|
a760b5b509f85991a10400977576afabcedbb3c5 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Refactor gl_FrontFacing setup out of general variable setup.
rivers/dri/i965/brw_fs.cpp
|
75270f705f319b0ecf297d1bdd328e52a8a956aa |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Gen6's sampler messages are the same as Ironlake. This should fix texturing in the new FS backend.
rivers/dri/i965/brw_fs.cpp
|
fe6efc25ed3c1edf26073c4e6b6a3a45c857c1eb |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't do 1/w multiplication in new FS for gen6 Not needed now that we're doing barycentric.
rivers/dri/i965/brw_fs.cpp
|
5d99b01501128c7179cdd6aa29bc8953d0d81e75 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add some clarification of the WECtrl field.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
|
5eeaf3671e2f913d38187fd1401c4b22a2900d57 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix botch in the header_present case in the new FS. I only set it on the color_regions == 0 case, missing the important case, causing GPU hangs on pre-gen6.
rivers/dri/i965/brw_fs.cpp
|
feca6609390d4642418cf7aab878e654964510c4 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up IF/ELSE/ENDIF for gen6. The jump delta is now in the part of the instruction where the destination fields used to be, and the src args are ignored (or not, for the new non-predicated IF that we don't use yet).
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
f7cb28fad9855020e9fbd1481df03bb09346d4be |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Gen6 no longer has the IFF instruction; always use IF.
rivers/dri/i965/brw_eu_emit.c
|
3c97c00e3810d31c3aa26173eb9fdef91b3e7c87 |
06-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add back gen6 headerless FB writes to the new FS backend. It's not that hard to detect when we need the header.
rivers/dri/i965/brw_fs.cpp
|
634abbf7b2e6ea21db30aafc0de9472ee31d4173 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Also do constant propagation for the second operand of CMP. We could do the first operand as well by flipping the comparison, but this covered several CMPs in code I was looking at.
rivers/dri/i965/brw_fs.cpp
|
dcd0261affc293b75d231e612091ec7b1076fff6 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable the constant propagation code. A debug disable had slipped in.
rivers/dri/i965/brw_fs.cpp
|
3d6eec0a87ee5549e817cdabb4b6424960678189 |
05-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace assertion w/ conditional in framebuffer invalidation https://bugs.freedesktop.org/show_bug.cgi?id=30632 NOTE: this is a candidate for the 7.9 branch.
tate_tracker/st_manager.c
|
fb5e6f88fc426e53af26e98d1c336222a8952cc5 |
05-Oct-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix choose_depth_texture_level() to respect mipmap filtering state NOTE: this is a candidate for the 7.9 branch.
wrast/s_texfilter.c
|
ea909be58dda7e916cb9ce434ecb78597881ad33 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gen6 FB writes to the new FS. This uses message headers for now, since we'll need it for MRT. We can cut out the header later.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fs.cpp
|
739aec39bd25e79adce306d6cf48296b7c9e4fc0 |
05-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod. It instead sensibly appears in the src0 slot.
rivers/dri/i965/brw_disasm.c
|
3bf8774e9c293fcad654d1bd67d4b43247b82f97 |
04-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add initial folding of constants into operand immediate slots. We could try to detect this in expression handling and do it proactively there, but it seems like less logic to do it in one optional pass at the end.
rivers/dri/i965/brw_fs.cpp
|
e27c88d8e6c9d18bfa793f884d02ce6011c4bdde |
04-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add trivial dead code elimination in the new FS backend. The glsl core should be handling most dead code issues for us, but we generate some things in codegen that may not get used, like the 1/w value or pixel deltas. It seems a lot easier this way than trying to work out up front whether we're going to use those values or not.
rivers/dri/i965/brw_fs.cpp
|
9faf64bc32cf7c1a06a302fff9f80d7e2e2685d5 |
04-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Be more conservative on live interval calculation. This also means that our intervals now highlight dead code.
rivers/dri/i965/brw_fs.cpp
|
14bf92ba19373d54e9909bbdda5e430e0affea37 |
03-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix glean/texSwizzle regression in previous commit. Easy enough patch, who needs a full test run. Oh, that's right. Me.
rivers/dri/i965/brw_wm.c
|
a7fa00dfc5ab5782b2e497fbf4ca292dde69cdbd |
03-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up swizzling of shadow compare results for GL_DEPTH_TEXTURE_MODE. The brw_wm_surface_state.c handling of GL_DEPTH_TEXTURE_MODE doesn't apply to shadow compares, which always return an intensity value. The texture swizzles can do the job for us. Fixes: glsl1-shadow2D(): 1 glsl1-shadow2D(): 3
rivers/dri/i965/brw_wm.c
|
4fb0c92c6986cf4e88296bab8837320210f1794f |
03-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for EXT_texture_swizzle to the new FS backend.
rivers/dri/i965/brw_fs.cpp
|
71a079fb4ecbd17703ac9b5e6d5ef622fd7bc50f |
11-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/st: initial attempt at RG support for gallium drivers passes all piglit RG tests with softpipe.
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
f31771343259d195ba243ce8d307831e495d5a2c |
02-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix incorrect batchbuffer size in gen6 clip state command. FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword.
rivers/dri/i965/gen6_clip_state.c
|
64a9fc3fc15603a8e25d0e1146fe5da5a5bde55b |
02-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't try to emit code if we failed register allocation.
rivers/dri/i965/brw_fs.cpp
|
6397addd6146661689a0e315b06e543ef12d8868 |
02-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix off-by-ones in handling the last members of register classes. Luckily, one of them would result in failing out register allocation when the other bugs were encountered. Applies to glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined, which still fails register allocation, but now legitimately.
rivers/dri/i965/brw_fs.cpp
|
afb64311e3484002e06aeac62187b68467610449 |
02-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a sanity check for register allocation sizes.
rivers/dri/i965/brw_fs.cpp
|
5ee09413162f4ec83cc7a738e807ffde8c89cca7 |
02-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: When producing a single channel swizzle, don't make a temporary. This quickly cuts 8% of the instructions in my glsl demo.
rivers/dri/i965/brw_fs.cpp
|
a0799725f52386cef911d3e104c5514a2811290b |
02-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Restore the forcing of aligned pairs for delta_xy on chips with PLN. By doing so using the register allocator now, we avoid wasting a register to make the alignment happen.
rivers/dri/i965/brw_fs.cpp
|
fb0eed84cac3cdb45bd0b46047fc389b81a5b1df |
02-Oct-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix segfault in evergreen stencil code Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30551
rivers/dri/r600/evergreen_chip.c
|
1ca6cbec1b1168b55fecb264d4e75a26de2cccaf |
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
rgtc: Detect RGTC formats as color formats and as compressed formats
ain/image.c
|
5ebbabc5ccd03afe59299b8ce52ca862334fd252 |
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Trivial correction to comment
ain/texcompress_fxt1.c
|
69c78bf2c21c239d6064847dd0628f3526d68f9b |
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix misplaced #endif If FEATURE_texture_s3tc is not defined, FXT1 formats would erroneously fall through to the MESA_FORMAT_RGBA_FLOAT32 case.
ain/formats.c
|
7c6147014a726eefb7a73c8520a0b48a57248a03 |
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format
ain/image.c
|
e2a054b70cb5dace40fc1426cbf936366dc72fb9 |
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add ARB_texture_compression_rgtc as an alias for EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT).
ain/extensions.c
ain/mtypes.h
ain/teximage.c
ain/version.c
|
e5fd15199dce4cb56e84edb5866167d4906d063f |
02-Oct-2010 |
Vinson Lee <vlee@vmware.com> |
savage: Remove unnecessary header.
rivers/dri/savage/savage_xmesa.c
|
c77cd9ec10f7c6ad2927740e15900591d1ff388a |
20-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Enable GL_ARB_texture_rg
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_format.c
|
9ef390dc14edd0adc0fa0d07c64621b0f220edd8 |
01-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Enable GL_ARB_texture_rg in software paths
ain/extensions.c
|
421f4d8dc1e324067534719fc096e82fd9ef3017 |
01-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Allow RED and RG textures as FBO color buffer attachments
ain/fbobject.c
|
5d1387b2da3626326410804026f8b92f1a121fdc |
29-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats
ain/formats.c
ain/formats.h
ain/image.c
ain/readpix.c
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
214a33f6104511bc163fdb964161d264e67090d3 |
28-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Handle RED and RG the same as RGB for tex env
ain/texstate.c
|
cd5dea640144b45ba2e88c2451f1f01ee08c1c4a |
28-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODE
ain/texparam.c
wrast/s_texfilter.c
|
cc6f13def53eb280b63427fbdeca197a09315062 |
28-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Add GL_TEXTURE_{RED,GREEN}_SIZE query support
ain/texparam.c
|
3ebbc176f9200ac954d461758937e755220ac551 |
28-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_texture_rg: Correct some errors in RED / RG internal format handling Fixes several problems: The half-float, float, and integer internal formats depend on ARB_texture_rg and other extensions. RG_INTEGER is not a valid internal format. Generic compressed formats depend on ARB_texture_rg, not EXT_texture_compression_rgtc. Use GL_RED instead of GL_R.
ain/teximage.c
|
e9bcc8328968f05a5688a020bfa8165260865a9b |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up copy'n'pasteo from moving coordinate setup around for gen4.
rivers/dri/i965/brw_fs.cpp
|
bfd9715c3c9d40b3f937638073ff2f0969ebd143 |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add real support for pre-gen5 texture sampling to the new FS. Fixes 36 testcases, including glsl-fs-shadow2d*-bias which fail on the Mesa IR backend.
rivers/dri/i965/brw_fs.cpp
|
92eb07a281d3b8748b5570d502c98aca654823de |
01-Oct-2010 |
richard <richard@richard-desktop.(none)> |
evergreen : fix z format setting, enable stencil.
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_state.c
|
8f63a44636e4fef2f35fe73f24c27db9b04389b1 |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Pre-gen6, map VS outputs (not FS inputs) to URB setup in the new FS. We should fix the SF to actually give us just the data we need, but this fixes regressions in the new FS until then. Fixes: glsl-kwin-blur glsl-routing
rivers/dri/i965/brw_fs.cpp
|
ff5ce9289b5159e7de34706b31be771d3e3cefd6 |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Also increment attribute location when skipping unused slots. Fixes glsl1-texcoord varying.
rivers/dri/i965/brw_fs.cpp
|
354c40a62411262d1223f439fdaf2176ca9adbe9 |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the gen6 jump size for BREAK/CONT in new FS. Since gen5, jumps are in increments of 64 bits instead of increments of 128-bit instructions.
rivers/dri/i965/brw_fs.cpp
|
efc4a6f7909dbf554ee440210233c4b0f89ac89e |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add gen6 attribute interpolation to new FS backend. Untested, since my hardware is not booting at the moment.
rivers/dri/i965/brw_fs.cpp
|
0c39a53aa6b9ef47152e3d44f94fa4486a11831b |
01-Oct-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: pull over 6xx/7xx vertex fixes for evergreen
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_vertprog.c
|
1d073cb2d920d1c0b8c6d598055b14048fedc96e |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Split the gen4 and gen5 sampler handling apart. Trying to track the insanity of the different argument layouts for normal/shadow crossed with normal/lod/bias one generation at a time is enough. Fixes: glsl1-texture2D() with bias. (first test passing in this code that doesn't pass without it!)
rivers/dri/i965/brw_fs.cpp
|
5f237a1ccb28399fbbceecea694f5d18ebba9938 |
01-Oct-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the lowering pass for texture projection. We should end up with the same code, but anyone else with this issue could share the handling (which I got wrong for shadow comparisons in the driver before).
rivers/dri/i965/brw_fs.cpp
|
a3e9998614da6bd10d9015134bc19f5b8cf6e518 |
01-Oct-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add reloc for CB_COLOR0_ATTRIB We'll need a reloc for tiling eventually, so add it now.
rivers/dri/r600/evergreen_chip.c
|
c6960e4471abe287448b9d0e7e6519d588cdf43c |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix new FS handling of builtin uniforms with packed scalars in structs. We were pointing each element at the .x channel of the ParameterValues. Fixes glsl1-linear fog.
rivers/dri/i965/brw_fs.cpp
|
a7cddd7de3123eb13e68c35aa111ff4060669f59 |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't reference a W component in setting up a vec3 uniform component. The 965 driver would try to set up storage for the W component, and the offsets would get mixed up.
ain/uniforms.c
|
6f6542a483ec726538f8a4555bddaeb0be6b2146 |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix whole-structure/array assignment in new FS. We need to walk the type tree to get the right register types for structure components. Fixes glsl-fs-statevar-call.
rivers/dri/i965/brw_fs.cpp
|
0c86e1f29483d9557f30796c03b94a34d965c095 |
30-Sep-2010 |
Adam Jackson <ajax@redhat.com> |
i965: Update renderer strings for sandybridge Signed-off-by: Adam Jackson <ajax@redhat.com>
rivers/dri/intel/intel_context.c
|
4160d947d289c07f1de6b8bf21a874e842b51f51 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
st: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_rasterpos.c
|
bad10b961aeae8d695ecec600d47de5f8505b396 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
math: remove duplicated includes Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
ath/m_matrix.c
ath/m_vector.c
|
9674929bce0c0ea4862b468d0a1a7e58b2664049 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
main: remove duplicated includes Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/api_exec.c
ain/dlist.c
ain/renderbuffer.c
|
8c92a80b6210bf7d977816690476ff336b350c79 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/savage: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/savage/savage_xmesa.c
|
1663e6da2f15ff8db9f08ca6a7337f8bd28add17 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/radeon: remove duplicated includes Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_maos_verts.c
|
a7670be8a15c56b625f2f1aad08eeff2414200b4 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/r600: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/r600/r600_cmdbuf.c
|
223c4b418854a6c260723ae8bc4afd7a27463c22 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/r300: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/r300/radeon_context.h
|
705d98deb80db476ef37674d256530fae68171c1 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/r128: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/r128/r128_tex.c
|
f094b352073bf5414a101b056f47f1ee2f814e81 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/mga: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/mga/mga_xmesa.c
|
1a98a463043e1558b1ad6ebf79a1371d6218ac5a |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/intel: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_tex_image.c
|
c24144f41fe797a0448f60705d9023902f1178ce |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/i965: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/i965/brw_vtbl.c
|
f831212eabe25ea2603be13d8d40b12477012acc |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/i915: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/i915/i915_context.c
|
b958dabe1602d9a59b0aef0c004f8cf20c3e9c70 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/i810: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/i810/i810tex.c
|
c24e062fdbf21114904258687f95d3d45911f893 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
dri/common: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/vblank.h
|
7d0b89fda056c89c265518a745ec751287723a12 |
30-Sep-2010 |
Nicolas Kaiser <nikai@nikai.net> |
swrast: remove duplicated include Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_aatriangle.c
|
065163bcd2df12494ca523538736282fc847fa6b |
25-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10: Use fast Z clears.
rivers/dri/nouveau/nouveau_class.h
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_state_fb.c
|
bdd19da2183c685056c4c2eee5cea8358d9935cb |
28-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Remove unnecessary flush.
rivers/dri/nouveau/nouveau_context.c
|
6f39280ba910e290fb3cda378057dc91e5811c95 |
28-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Have a smaller amount of larger scratch buffers. Larger VBOs avoid many kernel trips to get them in sync with the GPU.
rivers/dri/nouveau/nouveau_render.h
|
72b368ae69bc037681ab4e458296c07cb04349be |
30-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: always set tiling for fbo depth buffer on sandybridge Sandybridge requires depth buffer must be tiling. Fix 'fbo_firecube' demo.
rivers/dri/intel/intel_fbo.c
|
ad1506c5ac61b75e45f24a2e18c91dc8a49a3bb0 |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove my "safety counter" code from loops. I've screwed this up enough times that I don't think it's worth it. This time, it was that I was doing it once per top-level body instruction instead of just once at the end of the loop body.
rivers/dri/i965/brw_fs.cpp
|
b90c7d1713c5a52fd85cb9dacad5828ae2fdbf6c |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add live interval analysis and hook it up to the register allocator. Fixes 13 piglit cases that failed at register allocation before.
rivers/dri/i965/brw_fs.cpp
|
e1261d3c493ff48348483a0084f3017c7e663dc0 |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: First cut at register allocation using graph coloring. The interference is totally bogus (maximal), so this is equivalent to our trivial register assignment before. As in, passes the same set of piglit tests.
rivers/dri/i965/brw_fs.cpp
|
9ff90b7230cceb362c7e0fe1c3d5029b8cbfe6bd |
27-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ra: First cut at a graph-coloring register allocator for mesa. Notably missing is choice of registers to spill.
rogram/register_allocate.c
rogram/register_allocate.h
ources.mak
|
21148e1c0a3cf9cf25ded006a3d5ce2b12803ea9 |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up the virtual GRF handling. Now, virtual GRFs are consecutive integers, rather than offsetting the next one by the size. We need the size information to still be around for real register allocation, anyway.
rivers/dri/i965/brw_fs.cpp
|
0efea25c4b9c6b5505fdbba25b525efb27468de4 |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i956: Make new FS discard do its work in a temp, not the null reg! Fixes: glsl-fs-discard-02 (GPU hang) glsl1-discard statement (2)
rivers/dri/i965/brw_fs.cpp
|
3da98c1ca530cba9907735e6bf397017ffc8bd77 |
30-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix use of undefined mem_ctx in vector splitting.
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
02b8fb3ed5ac9f3be34b9822c78fa971dfee274d |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning on linux-x86 build. r3xx_vertprog.c: In function ‘ei_if’: r3xx_vertprog.c:396: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/r3xx_vertprog.c
|
7c7fdef3b1cfa0db7ec3eb45e39d72ca60753f30 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. r500_fragprog_emit.c: In function ‘emit_paired’: r500_fragprog_emit.c:237: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘emit_tex’: r500_fragprog_emit.c:367: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘emit_flowcontrol’: r500_fragprog_emit.c:415: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘r500BuildFragmentProgramHwCode’: r500_fragprog_emit.c:633: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
ae664daa25ac230e3a97cae0b82b7cd3c392c4bb |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. r500_fragprog.c: In function ‘r500_transform_IF’: r500_fragprog.c:45: warning: ISO C90 forbids mixed declarations and code r500_fragprog.c: In function ‘r500FragmentProgramDump’: r500_fragprog.c:256: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/r500_fragprog.c
|
a4f296d6180d1990916c8e874adb587f6d8cdb7d |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. r300_fragprog_emit.c: In function ‘emit_alu’: r300_fragprog_emit.c:143: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c:156: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c: In function ‘finish_node’: r300_fragprog_emit.c:271: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c: In function ‘emit_tex’: r300_fragprog_emit.c:344: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/r300_fragprog_emit.c
|
b96a391d14bdfcb4a7183a0767a9b45440330034 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Remove declaration before code. Fixes these GCC warnings on linux-x86 build. r300_fragprog_swizzle.c: In function ‘r300_swizzle_is_native’: r300_fragprog_swizzle.c:120: warning: ISO C90 forbids mixed declarations and code r300_fragprog_swizzle.c: In function ‘r300_swizzle_split’: r300_fragprog_swizzle.c:159: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
|
dafbf480dbf30e191594cb505bca6007024262e8 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning on linux-x86 build. radeon_rename_regs.c: In function ‘rc_rename_regs’: radeon_rename_regs.c:112: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_rename_regs.c
|
0d0273142a4a9a8c895eb6eb90c45772061ae234 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning on linux-x86 build. radeon_remove_constants.c: In function ‘rc_remove_unused_constants’: radeon_remove_constants.c:100: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_remove_constants.c
|
4cd4fd37aa1a68104c80526923f49cd0998779d9 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warning on linux-x86 build. radeon_optimize.c: In function ‘constant_folding’: radeon_optimize.c:419: warning: ISO C90 forbids mixed declarations and code radeon_optimize.c:425: warning: ISO C90 forbids mixed declarations and code radeon_optimize.c:432: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_optimize.c
|
07a38505c6ee96b6ab1836fa5c0642a2ed86a2b4 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. radeon_dataflow_deadcode.c: In function ‘push_branch’: radeon_dataflow_deadcode.c:112: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c: In function ‘update_instruction’: radeon_dataflow_deadcode.c:183: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c: In function ‘rc_dataflow_deadcode’: radeon_dataflow_deadcode.c:352: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c:379: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
|
a9d5808232087ace460fe0d30dc9b8a49c30fd5c |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning on linux-x86 build. radeon_pair_regalloc.c: In function ‘rc_pair_regalloc_inputs_only’: radeon_pair_regalloc.c:330: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
4f80a2d1700a1916e0ac6f24f60b117f9c4dfef1 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. radeon_pair_schedule.c: In function ‘emit_all_tex’: radeon_pair_schedule.c:244: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘destructive_merge_instructions’: radeon_pair_schedule.c:291: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c:438: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘scan_read’: radeon_pair_schedule.c:619: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘scan_write’: radeon_pair_schedule.c:645: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘schedule_block’: radeon_pair_schedule.c:673: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘rc_pair_schedule’: radeon_pair_schedule.c:730: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
4e07aadabbf4b3ff57d79033e92dfab9fe299f45 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. radeon_pair_translate.c: In function ‘set_pair_instruction’: radeon_pair_translate.c:153: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c:170: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c: In function ‘rc_pair_translate’: radeon_pair_translate.c:336: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c:341: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_pair_translate.c
|
45d22a9b20b6728adf4ed7c96cdf6ebf572f186d |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings on linux-x86 build. radeon_program_alu.c: In function ‘r300_transform_trig_simple’: radeon_program_alu.c:882: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c:932: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c: In function ‘radeonTransformTrigScale’: radeon_program_alu.c:996: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c: In function ‘r300_transform_trig_scale_vertex’: radeon_program_alu.c:1033: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_program_alu.c
|
483971e649946bd8d3399240de5b483be9bd3402 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes this GCC warning on linux-x86 build. radeon_emulate_loops.c: In function ‘rc_emulate_loops’: radeon_emulate_loops.c:517: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
760d7c5d7d8e2c77866917853cab6b3c033815f6 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Move declaration before code. Fixes these GCC warnings with linux-x86 build. radeon_emulate_branches.c: In function ‘handle_if’: radeon_emulate_branches.c:65: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c:71: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘handle_else’: radeon_emulate_branches.c:94: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘handle_endif’: radeon_emulate_branches.c:201: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘fix_output_writes’: radeon_emulate_branches.c:267: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c:284: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘rc_emulate_branches’: radeon_emulate_branches.c:307: warning: ISO C90 forbids mixed declarations and code
rivers/dri/r300/compiler/radeon_emulate_branches.c
|
aa62416ae17b707ce059e92197f719a6896d109c |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf format warning. Fixes this GCC warning. math/m_debug_xform.c: In function '_math_test_all_transform_functions': math/m_debug_xform.c:320: warning: format not a string literal and no format arguments
ath/m_debug_xform.c
|
9c841abebc809be232032066c314d37231e595e2 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf format warning. Fixes this GCC warning. math/m_debug_norm.c: In function '_math_test_all_normal_transform_functions': math/m_debug_norm.c:365: warning: format not a string literal and no format arguments
ath/m_debug_norm.c
|
ae0cd811892d55bee12afed88fd12bb2611517d3 |
29-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf format warning. Fixes this GCC warning. math/m_debug_clip.c: In function '_math_test_all_cliptest_functions': math/m_debug_clip.c:363: warning: format not a string literal and no format arguments
ath/m_debug_clip.c
|
d4da253b298677c63def5f2f774608d660be31a1 |
29-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
Revert "i965: Always set tiling for depth buffer on sandybridge" This reverts commit 0a1910c26760762eb8d67f68dfd87494ab479e38. oops, shouldn't apply tiling depth buffer for other chips as well.
rivers/dri/i965/brw_misc_state.c
|
b27a809266bd664cd101fcfdf20886cc2b7df787 |
29-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't merge instructions that write output regs and ALU result https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
1b76dde0cd90509da0acc631f6599fb6f7fe676d |
28-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't use rc_error() unless the error is unrecoverable https://bugs.freedesktop.org/show_bug.cgi?id=30416 NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
d40ff5510ce60c5bc9db238e2650fa79104d84e9 |
28-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix segfault in error path https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
73dab75b4165f7d2214a68d4ba8e3cb7aab9b4ac |
26-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fallback lineloop on sandybridge for now Until we fixed GS hang issue.
rivers/dri/i965/brw_draw.c
|
0a1910c26760762eb8d67f68dfd87494ab479e38 |
29-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Always set tiling for depth buffer on sandybridge Sandybridge only support tiling depth buffer, always set tiling bit. Fix 'fbo_firecube' demo.
rivers/dri/i965/brw_misc_state.c
|
1747aa6755088398108febb121a80d9572c1533e |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for builtin uniforms to the new FS backend. Fixes 8 piglit tests.
rivers/dri/i965/brw_fs.cpp
|
daacaac3c8b91c87ab2cfc2d9f821474552b8181 |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Move the list of builtin uniform info from ir_to_mesa to shared code. I'm still not pleased with how builtin uniforms are handled, but as long as we're relying on the prog_statevar stuff this seems about as good as it'll get.
ain/uniforms.c
ain/uniforms.h
rogram/ir_to_mesa.cpp
|
9ac910cfcddf1b6e7c520261371e78fc9bcbddcf |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up obsolete FINISHME comment.
rivers/dri/i965/brw_fs.cpp
|
ff0eb45f47ebf2fcc1af06a8b6b934c79dff1d41 |
29-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix array indexing of arrays of matrices. The deleted code was meant to be handling indexing of a matrix, which would have been a noop if it had been correct.
rivers/dri/i965/brw_fs.cpp
|
17f3b8097d01a63917afaaefccd6eea070271652 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't try to emit interpolation for unused varying slots. Fixes: glsl-fs-varying-array glsl-texcoord-array glsl-texcoord-array-2 glsl-vs-varying-array
rivers/dri/i965/brw_fs.cpp
|
5272c6a7a23ba74c696608fc2cb07fbfaf9e822a |
03-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Do interpolation for varying matrices and arrays in the FS backend. Fixes: glsl-array-varying-01 glsl-vs-mat-add-1 glsl-vs-mat-div-1 glsl-vs-mat-div-2 glsl-vs-mat-mul-2 glsl-vs-mat-mul-3
rivers/dri/i965/brw_fs.cpp
|
b9a59f0358f6f6afc7fafc1b417fa1b2c4cdaf37 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ARB_fragment_coord_conventions to the new FS backend. Fixes: glsl-arb-frag-coord-conventions glsl-fs-fragcoord
rivers/dri/i965/brw_fs.cpp
|
701c5f11c9102047c8962f053843469ada3b3a1a |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ir_loop counters to the new FS backend. Fixes: glsl1-discard statement in for loop glsl-fs-loop-two-counter-02 glsl-fs-loop-two-counter-04
rivers/dri/i965/brw_fs.cpp
|
89f6783d1769c61b835b49a5fb4405a3249031f4 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for MRT to the new FS backend. Fixes these tests using gl_FragData or just gl_FragDepth: glsl1-Preprocessor test (extension test 1) glsl1-Preprocessor test (extension test 2) glsl-bug-22603
rivers/dri/i965/brw_fs.cpp
|
86fd11262cb5697e5c3563e876781b3587788737 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for non-color render target write data to new FS backend. This is the first time these payload bits have made sense to me, outside of brw_wm_pass* structure. Fixes: glsl1-gl_FragDepth writing
rivers/dri/i965/brw_fs.cpp
|
f46a61554f2cc8904a381d3e514403dca9754360 |
28-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
scons: Add program/sampler.cpp to SCons build. This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
Conscript
|
2999a44968a045b5516ff23d70b711b01bd696a5 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up sampler numbers in the FS backend. +10 piglits
rivers/dri/i965/brw_fs.cpp
|
a32893221ce253da7bb465e0ec9d0df5f7208d8f |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.
rogram/ir_to_mesa.cpp
rogram/sampler.cpp
rogram/sampler.h
ources.mak
|
9e96c737f8cb6faebf7c7339cfcf14f80ed8e73c |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Subtract instead of adding when computing y delta in new FS backend. Fixes 7 piglit cases.
rivers/dri/i965/brw_fs.cpp
|
5f7bd68149e59b6940e891928faa532bce0271f6 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for gl_FrontFacing to the new FS backend. Fixes: glsl1-gl_FrontFacing var (1) glsl1-gl_FrontFacing var (2)
rivers/dri/i965/brw_fs.cpp
|
ef8e002c75a5def2c400638336dcd55d411d87be |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up part of my Sandybridge attributes support patch. I confused the array sizing for number of files for the number of regs in a file.
rivers/dri/i965/brw_wm.h
|
f1dba030564e66ca52f4ed44172681e7d2e90ad2 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix all non-snb regression in the snb attribute interpolation commit. This apparently had never been tested elsewhere before being merged to master.
rivers/dri/i965/brw_wm_fp.c
|
6bf12c8b7366a9db8c88b9cacaa06266b41a73b5 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for struct, array, and matrix uniforms to FS backend. Fixes 16 piglit cases.
rivers/dri/i965/brw_fs.cpp
|
ba481f2046e6427c8bd7fc5f8cb8ef3059a7881a |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for dereferencing structs to the new FS backend. Fixes: glsl1-struct(2)
rivers/dri/i965/brw_fs.cpp
|
07fc8eed8f0398063d87acf3a7ee392da4184822 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the variable type when dereferencing an array. We don't set the type on the array virtual reg as a whole, so here's the right place. Fixes: glsl1-GLSL 1.20 arrays glsl1-temp array with constant indexing, fragment shader glsl1-temp array with swizzled variable indexing
rivers/dri/i965/brw_fs.cpp
|
719f84d9aba6b016e1069e0461cbfc4211f5a3b5 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up the FS backend for the variable array indexing pass. We need to re-run channel expressions afterwards as it generates new vector expressions, and we need to successfully support conditional assignment (brw_CMP takes 2 operands, not 1).
rivers/dri/i965/brw_fs.cpp
|
57edd7c5c116926325e3a86cef618bfd1b5881c1 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix valgrind complaint about base_ir for new FS debugging.
rivers/dri/i965/brw_fs.cpp
|
1723fdb3f0004a685351d005ba0f5bfc1c2a852e |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Apply the same set of lowering passes to new FS as to Mesa IR. While much of this we will want to support natively, this should make the task of reaching the Mesa IR backend's quality easier. Fixes: glsl-fs-main-return.
rivers/dri/i965/brw_fs.cpp
|
e10508812aed4c41c62ea27ac540c8d079bece07 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Actually track the "if" depth in loop in the new FS backend. Fixes: glsl-fs-if-nested-loop.
rivers/dri/i965/brw_fs.cpp
|
fceb78e3cc67d035a69613826f46a18e62235f5c |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix negation in the new FS backend. Fixes: glsl1-Negation glsl1-Negation2
rivers/dri/i965/brw_fs.cpp
|
45b37c4b12bb328e804a2b58c90e0099240879d3 |
28-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fallback bitmap operation on sandybridge Need to bring back correct fb write with header to set pixel write mask. Fallback for now.
rivers/dri/intel/intel_pixel_bitmap.c
|
3074b61f64601be4620f1fb3c48c7c6024d3fd57 |
27-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix occlusion query on sandybridge Fix pipe control command for depth stall and PS_DEPTH_COUNT write.
rivers/dri/i965/brw_queryobj.c
|
ec99833e928baf8dc8c958e3df6f3bbdce922794 |
26-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix point sprite on sandybridge Need to set point sprite function in fixed SF state now on sandybridge.
rivers/dri/i965/gen6_sf_state.c
|
4b6b0bf24a043035d7ada0c966e01df6327dc529 |
28-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix scissor state on sandybridge Fix incorrect scissor rect struct and missed scissor state pointer setting for sandybridge.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen6_scissor_state.c
|
3f3059fcc0cfb797830eb5e0755b5b4ec3fd218b |
26-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: enable polygon offset on sandybridge Depth offset function is moved to SF stage on sandybridge.
rivers/dri/i965/gen6_sf_state.c
|
15a8e7ec90433eea72416793c263febff078c888 |
25-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix pixel w interpolation on sandybridge
rivers/dri/i965/brw_wm_emit.c
|
85fa900b932243785e528e73fe119c27fa1988c4 |
25-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: don't do calculation for delta_xy on sandybridge Sandybridge doesn't have Xstart/Ystart in payload header.
rivers/dri/i965/brw_wm_emit.c
|
c58bf2cee5b0f14a585089084fec7767f33887a7 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: only allow SIMD8 kernel on sandybridge now Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
rivers/dri/intel/intel_context.c
|
18c3b754f974751550dc9505d50535365beac8f3 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: sandybridge pipe control workaround before write cache flush Must issue a pipe control with any non-zero post sync op before write cache flush = 1 pipe control.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_reg.h
|
c8033f1b1ea118f3f47b7f3de557b7a8dcf11082 |
16-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add all device ids for sandybridge
rivers/dri/intel/intel_chipset.h
|
81aae67e58f7c3123724e629a81e2c937864e3be |
26-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix const register count for sandybridge Sandybridge's PS constant buffer payload size is decided from push const buffer command, incorrect size would cause wrong data in payload for position and vertex attributes. This fixes coefficients for tex2d/tex3d.
rivers/dri/i965/brw_wm_glsl.c
|
956f866030f7bea5fc4a2de28c72e60bdc3a5b3d |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix sampler on sandybridge Sandybridge has not much change on texture sampler with Ironlake.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_sampler_state.c
|
c5a3b25bb954db49dcb5e7737018979782d2edba |
28-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix jump count on sandybridge Jump count is for 64bit long each, so one instruction requires 2 like on Ironlake.
rivers/dri/i965/brw_eu_emit.c
|
9c39a9fcb2c76897e9b5aff68ce197a411c4e25c |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: VS use SPF mode on sandybridge for now Until conditional instructions were fixed, use SPF mode instead for now.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_vs_state.c
|
7401a98e29eaaa80fc42e18b126988683b090543 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: add sandybridge viewport state bo into validation list
rivers/dri/i965/gen6_viewport_state.c
|
a0b1d7b2b8d35f30793d811d7b5a693e9ea17596 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: ignore quads for GS kernel on sandybridge Sandybridge's VF would convert quads to polygon which not required for GS then. Current GS state still would cause hang on lineloop.
rivers/dri/i965/brw_gs.c
|
67dafa4b56422b44ca26b093d8feb6e743eb89e6 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: ff sync message change for sandybridge
rivers/dri/i965/brw_eu_emit.c
|
fa589770e8829f02d2742c32d05eecde0b70fe80 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix point size setting in header on sandybridge
rivers/dri/i965/brw_vs_emit.c
|
03218a00932e83f0ffd0c3077bbbe65a7765c572 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: force zero in clipper to ignore RTAIndex on sandybridge
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen6_clip_state.c
|
41c31c2ebd5ed2ca021ff9d89f79270562e6c368 |
16-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Fix color interpolation on sandybridge Don't double store position in vertex attribute. This makes color interpolation right by using barycentric coordinates.
rivers/dri/i965/brw_vs_emit.c
|
8c31a4c3cf6655fe4db6befb4a7b029ada62aaf6 |
16-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: enable accumulator update in PS kernel too on sandybridge Accumulator update flag must be set for implicit update on sandybridge.
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
b016a78b983295c112421c01d378fbe2862412d4 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: new state dump for sandybridge Dump new state object on sandybridge for cc viewport, clip viewport, depth stencil, cc and blend state.
rivers/dri/i965/brw_state_dump.c
|
bf60f3593452f6ab6340c7a8737cc74f223f2a62 |
17-Sep-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: disasm quarter and write enable instruction control on sandybridge
rivers/dri/i965/brw_disasm.c
|
fe2d4a5ea02df38c9940a726aa04bcf550fab1da |
22-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for POW in gen6 FS. Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
|
2f914053bc8bba3e6d20334ec44feacc803f5d84 |
21-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up inputs to the fragment shader according to FP InputsRead. Sending down data that doesn't get read doesn't make any sense, and would make handling things like gl_FrontFacing and gl_PointCoord harder.
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_wm_state.c
|
a66e9a4d86d227b65874c43fbf9e299c7a26389f |
26-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for attribute interpolation on Sandybridge. Things are simpler these days thanks to barycentric interpolation parameters being handed in in the payload.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/gen6_wm_state.c
|
79d56577700a4f4b8628b3b61098763d019f17d4 |
28-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Add GET_PROGRAM_NAME definition for Mac OS X.
rivers/dri/common/xmlconfig.c
|
b3e95dc45ce0cef5a1b17324a02f18f40a506ca8 |
28-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use rc_for_all_reads_src() in "dead constants" pass
rivers/dri/r300/compiler/radeon_remove_constants.c
|
40d256295cbd038653db15f53211a4946d01aeb8 |
28-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: radeon_remove_constants.c: fix indentation
rivers/dri/r300/compiler/radeon_remove_constants.c
|
a716952184a7dcd3d95ea6b0d7c130aa801f1cb6 |
27-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Print immediate values after "dead constants" pass
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_remove_constants.c
|
798355d429f3cd6e76bb1d01549c203e443348b6 |
24-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add more helper functions for iterating through sources rc_for_all_reads_src() and rc_pair_for_all_reads_arg() pass references to instruction sources to the callback so they can be modified directly.
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
|
13359e6a4b732335cdd8da48276960d0b176ffe3 |
29-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: add support for 3D NPOT textures without mipmapping The driver actually creates a 3D texture aligned to POT and does all the magic with texture coordinates in the fragment shader. It first emulates REPEAT and MIRRORED wrap modes in the fragment shader to get the coordinates into the range [0, 1]. (already done for 2D NPOT) Then it scales them to get the coordinates of the NPOT subtexture. NPOT textures are now less of a lie and we can at least display something meaningful even for the 3D ones. Supported wrap modes: - REPEAT - MIRRORED_REPEAT - CLAMP_TO_EDGE (NEAREST filtering only) - MIRROR_CLAMP_TO_EDGE (NEAREST filtering only) - The behavior of other CLAMP modes is undefined on borders, but they usually give results very close to CLAMP_TO_EDGE with mirroring working perfectly. This fixes: - piglit/fbo-3d - piglit/tex3d-npot
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
|
7128e1625bea502b9bf083f14606d679c90222a6 |
28-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix shadow sampling with swizzled coords Taking the W component from coords directly ignores swizzling. Instead, take the component which is mapped to W in the TEX instruction parameter. The same for Z. NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_program_tex.c
|
c2ea7ffb0a9368571bb62038aeb318307afedb40 |
28-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: do not use copy propagation if SaturateMode is used NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_optimize.c
|
6f747567ec775f37d43b35d957e72334c511e8bc |
28-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix projective mapping of 2D NPOT textures NOTE: This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_program_tex.c
|
82f8e43bfa27b0318b01674e2a273c06becae263 |
28-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: code cleanups Some random stuff I had here. 1) Fixed some misleading comments. 2) Removed fake_npot, since it's redundant. 3) lower_texture_rect -> scale_texcoords 4) Reordered and reindented some TEX transform code.
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
|
94d44c33c0ced34e222517ed9c3b72d3c5e3b9f0 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for dFdx()/dFdy() to the FS backend. Fixes: glsl-fwidth glsl-derivs-swizzle
rivers/dri/i965/brw_fs.cpp
|
3610e0c1a0edc87cef32b7d5d3f4d9004e31f6c4 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix vector splitting RHS channel selection with sparse writemasks. Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
169ff0cc9d189f5a00a2a94313a6ce1503d1d5b9 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Handle all_equal/any_nequal in the new FS. These are generated for scalar operands instead of plain equal/nequal. But for scalars, they're the same anyway. +30 piglits.
rivers/dri/i965/brw_fs.cpp
|
a5c6c8a31b240729baa12e2eca0ef53199efeed2 |
28-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove swizzling of assignment to vector-splitting single-channel LHS. We'd end up reading some non-x component of the float RHS. +53 piglits.
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
11ba8bafdbb31f40ecbb6478e26496b547d34c68 |
27-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up writemasked assignments in the new FS. Not sure how I managed to get tests to succeed without this. +54 piglits.
rivers/dri/i965/brw_fs.cpp
|
8b2d5f431f8c862374d3e352f228b016060cd70a |
20-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove unnescessary initializations of UpdateTexturePalette This is already NULL'ed in _mesa_init_driver_functions.
rivers/dri/intel/intel_tex.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/unichrome/via_tex.c
tate_tracker/st_cb_texture.c
|
02984e3536bf9a4f149916b45d727659c8dc9a7c |
18-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove GL_EXT_cull_vertex This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
rivers/dri/i915/intel_render.c
rivers/dri/intel/intel_extensions.c
rivers/windows/fx/fxopengl.def
ain/api_exec.c
ain/clip.c
ain/clip.h
ain/enable.c
ain/extensions.c
ain/mtypes.h
ain/remap_helper.h
ources.mak
nl/t_pipeline.h
nl/t_vb_cull.c
|
4b1f98241f9601c2b163bb41e45aa567f9cd61dd |
18-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove GL_MESA_packed_depth_stencil This extension was never enabled in any driver.
rivers/dri/mga/mgapixel.c
ain/extensions.c
ain/mtypes.h
|
7f11d471e6bafae2282ec82ba4a19d30c440d28f |
27-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Force GL_SGIS_generate_mipmap to always be enabled As per discussions at XDS.
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/tdfx/tdfx_context.c
ain/extensions.c
ain/hint.c
ain/texparam.c
|
4da5f1b7c52fb02a3b2baa846931c2dd5ee1b92e |
27-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Force GL_ARB_copy_buffer to always be enabled As per discussions at XDS.
rivers/dri/common/utils.c
rivers/dri/intel/intel_extensions.c
ain/bufferobj.c
ain/extensions.c
|
522e994a22e8b46c8a41f2920af88c5ebad43cd8 |
25-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix two mistakes in the presubtract optimization pass. 1. We can't turn an instruction into a presubtract operation if it writes to one of the registers it reads from. 2. If we turn an instruction into a presubtract operation, we can't remove that intruction unless all readers can use the presubtract operation. This fixes fdo bug 30337. This is a candidate for the 7.9 branch.
rivers/dri/r300/compiler/radeon_optimize.c
|
5ba62cd4139e95c752453a1591eb3e47b6b18238 |
25-Sep-2010 |
Brian Paul <brianp@vmware.com> |
swrast: update comments for REMAINDER() macro
wrast/s_texfilter.c
|
f3e6a0faa9090cfcfcafe06e1481ed5a18838ca0 |
25-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
rivers/dri/intel/intel_pixel_bitmap.c
|
865cf775030beac3147547537a1a5372485127de |
25-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0 1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
ain/mipmap.c
|
365da88a7127e43eb9327552dda4921d1e8f885e |
25-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
f07ac801b9b5507b46a8e4d8884b822a24573213 |
25-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
unichrome: Remove unnecessary header.
rivers/dri/unichrome/via_tex.c
|
c510f8eeb425db281154cbfb915977226fa2e3ab |
25-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/context.c
ain/convolve.c
ain/histogram.c
|
ef1e1261df02203da4c7ebf708b0edf1b9cd16c2 |
25-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Fix implicit declaration of function '_mesa_meta_Bitmap' warning. Fix this GCC warning. intel_pixel_bitmap.c: In function 'intelBitmap': intel_pixel_bitmap.c:343: warning: implicit declaration of function '_mesa_meta_Bitmap'
rivers/dri/intel/intel_pixel_bitmap.c
|
1acadebd6270d3604b026842b8a21360968618a0 |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data. Fixes ARB_depth_texture/fbo-generatemipmap-formats.
ain/mipmap.c
|
b917691bc015ec4a148a67bf3a1cdca0248400a7 |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Improve some of the miptree debugging.
rivers/dri/intel/intel_mipmap_tree.c
|
86ad797be4b9b2768f1c28bb5ac3ae6f9a41794a |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: More reverting of the sw fallback for depth texture border color. The rest was done with 9aec1288eeae8e87adc9a99f377be536892941b2
rivers/dri/intel/intel_tex_image.c
|
2e3d22b0746dad2cc64873f336367ca4949d0123 |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Add fallback debug to glGenerateMipmap.
rivers/dri/intel/intel_tex.c
|
934fde4f5a63ff7c3c29c21e9e67cce3c2564788 |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix segfault on INTEL_DEBUG=fbo with unsupported framebuffers.
rivers/dri/intel/intel_fbo.c
|
1946b81e700fbb266294b8c1cb0d29ced84bf647 |
25-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for rendering to SARGB8 FBOs. Tested with fbo-generatemipmap-formats GL_EXT_texture_srgb. The test still fails on SLA8, though.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
|
836803df794be7a2ae3be0fc047e882d49ab22bb |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Corresponding FinishRenderTexture debug to BeginRenderTexture.
rivers/dri/intel/intel_fbo.c
|
e7c8832c7f4cbf0add350fbb6fe7c955b4665363 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Dead comment removal.
rivers/dri/intel/intel_screen.c
|
15861e0074bdc0185662ef6a6f4358230a187243 |
24-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix mipmap stride on evergreen taken from Dave's r600g fix
rivers/dri/radeon/radeon_common_context.c
|
f5c810c42f9dfcb660303ea898975b64f060b238 |
24-Sep-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use the wrapped renderbuffer in CopyPixels() Fixes assertion failures when copying stencil pixels. NOTE: this is a candidate for the 7.9 branch.
tate_tracker/st_cb_drawpixels.c
|
10dcc989ab9f143f0bd6d103fd2b336429644467 |
24-Sep-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format() NOTE: this is a candidate for the 7.9 branch.
tate_tracker/st_format.c
|
9f7c8053e06663ba1f7b105f987052d9412d8fad |
24-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix assertions to handle srgb formats http://bugs.freedesktop.org/show_bug.cgi?id=30333 NOTE: This is a candidate for the 7.9 branch.
ain/texcompress_s3tc.c
|
f46523e0bcdfe447b4a9a35fe1561490fa32c3f0 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i915: Remove a dead if (0) block.
rivers/dri/i915/i915_context.c
|
64ff468d6ff7645e4c0247a5135d71f380690873 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead intelIsTextureResident(). It always returned 1 (GL_TRUE), which is the same thing that happens when the driver hook isn't present.
rivers/dri/intel/intel_tex.c
|
f9e6f401e1c3b0a9caeb09f4c14eaea48dd91d06 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
unichrome: Mostly revert my convolution removal changes. For this driver, the minimum pitch alignment stuff does appear to be necessary, so leave the separate munged width/height variable in place.
rivers/dri/unichrome/via_tex.c
|
1c0646a826cb19d3c3eaa84591930590db6e8af8 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
radeon: Remove copied minimum pitch alignment code. This is already covered by radeon_mipmap_tree.c, and my convolution cleanups broke in the presence of this code. Thanks to Marek Olšák for tracking down the relevant miptree code for me.
rivers/dri/radeon/radeon_texture.c
|
fae18559461e62af623be77787ecba4c7013a8b4 |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Replace my intel_texture_bitmap code with _mesa_meta_Bitmap. The meta code is more general than mine, and appears to pass the same sets of tests (piglit + some oglconform).
rivers/dri/intel/intel_pixel_bitmap.c
|
2337f364b193c6379ecd5744743b26a5e75e73ae |
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove unnecessary minimum pitch alignment to 32 bytes. This broke with the cleanup I did in convolution removal. It's unnecessary anyway since region_alloc_tiled adjusts pitches for us (64 byte alignment)
rivers/dri/intel/intel_tex_image.c
|
d26211e499afb06359d903419315070f022c8efe |
23-Sep-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove disabled stencil drawpixels acceleration. We still retain the fallback override for GL_STENCIL_INDEX, because the metaops version fails at oglconform.
rivers/dri/intel/intel_pixel_draw.c
|
a62efdf82c20747feb11dfd7756f0579aa914b57 |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove EXT_convolution. More optional code.
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/savage/savagetex.c
rivers/dri/unichrome/via_tex.c
ain/attrib.c
ain/context.c
ain/convolve.c
ain/convolve.h
ain/dd.h
ain/enable.c
ain/extensions.c
ain/get.c
ain/image.c
ain/mtypes.h
ain/pixel.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/teximage.c
ain/texstore.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
73578ba9c4938db3a23198c3a2ddf843cfc4f700 |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove SGI_color_matrix. Another optional ARB_imaging subset extension.
rivers/dri/i965/brw_state_upload.c
ain/context.c
ain/debug.c
ain/dlist.c
ain/extensions.c
ain/get.c
ain/image.c
ain/image.h
ain/matrix.c
ain/mtypes.h
ain/pixel.c
ain/querymatrix.c
rogram/prog_statevars.c
rogram/prog_statevars.h
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_extensions.c
|
6c227e57e69158e4da40c69322db0eac4c31086c |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove SGI_color_table. Another optional ARB_imaging subset extension.
ain/attrib.c
ain/colortab.c
ain/colortab.h
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/image.c
ain/mtypes.h
ain/pixel.c
|
7126e38d9037da66fd531c4cb02b3843b68b84ff |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove EXT_histogram. This has always been optional, and not useful.
ain/attrib.c
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/histogram.c
ain/histogram.h
ain/image.c
ain/mfeatures.h
ain/mtypes.h
ain/pixel.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
907a6734fcd427a6ac6fe5fcfbeac5d6054d82ae |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the non-required ARB_imaging extension. Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
ain/blend.c
ain/extensions.c
ain/get.c
ain/histogram.c
ain/mtypes.h
tate_tracker/st_cb_texture.c
|
ada1d91c15e05b55829d61d04879faeea98474e9 |
23-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
egl: fix build since 17eace581d25a626a7d75d9d1205d012cbb14a6e looks like mesa st didn't get updated.
tate_tracker/st_manager.c
|
17eace581d25a626a7d75d9d1205d012cbb14a6e |
23-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Pass the __DRIscreen and the __DRIscreen private back to image lookup We will typically have a current context when we need to lookup the image, but the lookup implementation don't need it so drop it.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_image.c
|
03923ff95ed2c1ee54f0132e87e277b6cf07b7f5 |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Warning fix for vector result any_nequal/all_equal change.
rivers/dri/i965/brw_fs.cpp
|
bb70bd55596fa19f5775bac98bffb567f3ba1d9f |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update expression splitting for the vector-result change to compares. Fixes: glsl1-precision exp2 glsl1-precision log2
rivers/dri/i965/brw_fs_channel_expressions.cpp
|
ac3d5beb0b20eb369b188aaf7b78f935969f3b62 |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: When splitting vector variable assignment, ignore unset channels. The new checks for sanity in ir_assignment creation got angry about this write_mask == 0. Fixes: glsl-fs-dot-vec2. glsl-fs-atan-2 glsl-fs-dot-vec2
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
d74bab1fb67fe1334fd80eaf0d4e224fc6d96f22 |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the vector/expression splitting for the write_mask change. +113 piglits.
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
eaa6bf59db68f97fa32c3395eb4aa6e589f34b26 |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Only compare vector_elements present for any_nequal/all_equal Fixes: glsl-mat-from-int-ctor-03
rogram/ir_to_mesa.cpp
|
b39e6f33b60ef9bbaf81f320aaca6a440d8a6a8f |
22-Sep-2010 |
Eric Anholt <eric@anholt.net> |
glsl: Rework assignments with write_masks to have LHS chan count match RHS. It turns out that most people new to this IR are surprised when an assignment to (say) 3 components on the LHS takes 4 components on the RHS. It also makes for quite strange IR output: (assign (constant bool (1)) (x) (var_ref color) (swiz x (var_ref v) )) (assign (constant bool (1)) (y) (var_ref color) (swiz yy (var_ref v) )) (assign (constant bool (1)) (z) (var_ref color) (swiz zzz (var_ref v) )) But even worse, even we get it wrong, as shown by this line of our current step(float, vec4): (assign (constant bool (1)) (w) (var_ref t) (expression float b2f (expression bool >= (swiz w (var_ref x))(var_ref edge)))) where we try to assign a float to the writemasked-out x channel and don't supply anything for the actual w channel we're writing. Drivers right now just get lucky since ir_to_mesa spams the float value across all the source channels of a vec4. Instead, the RHS will now have a number of components equal to the number of components actually being written. Hopefully this confuses everyone less, and it also makes codegen for a scalar target simpler. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
9ec0b2a45e18c045fd3dbcdf846fad7faf97494c |
22-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontext We can't expect to have a context when this is called, and we don't need one so just require a __DRIscreen instead. Reported by Yu Dai <yu.dai@intel.com>
rivers/dri/intel/intel_screen.c
|
b91dba49e0b08b18dbd6c477facdcc7b5472c8c7 |
22-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Fix GL_ARB_shading_language_120 commit Fix commit e7087175f8a04f777403366fb34b58edd00f4d60. Move the reference to GL_VERSION_2_1_functions to intel_extensions.c where it's available, don't try to enable a non-existing extension and advertise 1.20 for all intel chipsets, not just GEN4 and up.
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_extensions.c
|
e7087175f8a04f777403366fb34b58edd00f4d60 |
22-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: don't advertise bogus GL_ARB_shading_language_120 extension Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/r600/r600_context.c
ain/context.c
ain/extensions.c
ain/getstring.c
ain/mtypes.h
ain/version.c
tate_tracker/st_extensions.c
|
dd9a88f4ddf4e5fa384792f891a1cc3d8ff73946 |
21-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Track the windowizer's dispatch for kill pixel, promoted, and OQ Looks like the problem was we weren't passing the depth to the render target as expected, so the chip would wedge. Fixes GPU hang in occlusion-query-discard. Bug #30097
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_iz.c
|
4a0bc4716db7bbcbcd65c0f993704733f47d41f7 |
21-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Also enable CC statistics when doing OQs. This is required by the spec, so respect that.
rivers/dri/i965/brw_cc.c
|
23c507f1358833585de330ed313dffafabbbd3cd |
21-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Share the KIL_NV implementation between glsl and non-glsl.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
d49f153ab36fec16f687f35f3a9aaf19fb7254be |
21-Sep-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'sprite-coord'
|
610aed81dbaee73bc2a1fb9a030d7ec0e49e73cb |
16-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Refactor the pair instruction data structures Use rc_pair_ prefix for all pair instruction structs Create a named struct for pair instruction args Replace structs radeon_pair_instruction_{rgb,alpha} with struct radeon_pair_sub_instruction. These two structs were nearly identical and were creating a lot of cut and paste code. These changes are the first step towards removing some of that code.
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
bf8f24c1c84ab39207301ae5d298850d72e11876 |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix software mipmap generation on 1x1 textures.
rivers/dri/nouveau/nouveau_texture.c
|
98add55fffc29e0c40859fd5e9cec47fa1e352f5 |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10-nv20: Fix texturing in some cases after a base level change.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
22c83ac47a50ed1fdab59476886a7e56910a653a |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Cleanup more references to old FBOs and VBOs.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
13c246bceafd356959daff3d9872ffb0549c531a |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Remove unnecessary assertion.
rivers/dri/nouveau/nv04_surface.c
|
72e5fd5c02cb745d95f11573e7119ad1ba4bc1a8 |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Use nvgl_wrap_mode().
rivers/dri/nouveau/nv04_state_tex.c
|
99907303f6a1e9abe02977664ad8457c122213ce |
21-Sep-2010 |
Timo Wiren <timo.wiren@gmail.com> |
Fix typos in comments and debug output strings. Bug #30208.
rivers/dri/common/vblank.c
rivers/dri/common/xmlconfig.c
rivers/dri/intel/intel_context.c
|
168554904bc079650124fbd026d9b75834eabc92 |
17-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix assertion failure in GetTexImage for cubemaps Can be reproduced with mesa/demos/src/tests/blitfb. NOTE: This is a candidate for the 7.9 branch.
tate_tracker/st_cb_texture.c
|
55228878420733e77a09c67d5175e90e4b2e7245 |
20-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: don't call valid_texture_object() in non-debug builds This reverts commit c32bac57ed445e48856d74113364287ed6e5cdd4 and silences the warning differently. The _mesa_reference_texobj() function is called quite a bit and we don't want to call valid_texture_object() all the time in non- debug builds.
ain/texobj.c
|
9ea2a3af9c3e150e212f2bcbb23ae05b4779d702 |
18-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Silence unused variable warning on Mac OS X. Silences the following GCC warning on Mac OS X. x86/common_x86.c:58: warning: 'detection_debug' defined but not used
86/common_x86.c
|
c32bac57ed445e48856d74113364287ed6e5cdd4 |
18-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Silence "'valid_texture_object' defined but not used" warning.
ain/texobj.c
|
ff78d6dcc07c0951cddc72e76cad355239a43c73 |
18-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
ir_to_mesa: Remove unused member array_indexed from struct statevar_element. Fixes this GCC warning. warning: missing initializer for member 'statevar_element::array_indexed'
rogram/ir_to_mesa.cpp
|
3c9653c3a014b6ae639f5de24205911da7c73281 |
18-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: bump version to 7.10
ain/version.h
|
e22e3927b056806e9bbb089734132ad0bcb98df1 |
18-Sep-2010 |
Brian Paul <brianp@vmware.com> |
gallium: rework handling of sprite_coord_enable state Implement the pipe_rasterizer_state::sprite_coord_enable field in the draw module (and softpipe) according to what's specified in the documentation. The draw module can now add any number of extra vertex attributes to a post-transformed vertex and generate texcoords for those attributes per sprite_coord_enable. Auto-generated texcoords for sprites only worked for one texcoord unit before. The frag shader gl_PointCoord input is now implemented like any other generic/texcoord attribute. The draw module now needs to be informed about fragment shaders since we need to look at the fragment shader's inputs to know which ones need auto-generated texcoords. Only softpipe has been updated so far.
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_program.c
|
a6ecd1c3724a78b76ab9e81ea39632f1279021f8 |
16-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add flags to enable variable index lowering
rivers/dri/i965/brw_context.c
ain/mtypes.h
rogram/ir_to_mesa.cpp
|
82c4af33b0d860e27f4c2d3b3d2401c7549de355 |
17-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10: Fix the CLAMP texture wrap mode.
rivers/dri/nouveau/nouveau_gldefs.h
|
50ac56bf98d6fd16fd1b7534268ee362e45b691d |
16-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
meta: Don't bind the created texture object in init_temp_texture(). This function is executed outside _mesa_meta_begin/end(), that means that e.g. _mesa_meta_Bitmap() clobbers the texturing state because it changes the currently active texture object. There's no need to bind the new texture when it's created, it's done again later anyway (from setup_drawpix/copypix_texture()). Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
3a6f9d0f47861b1c618366d679ad8ddd9a06b323 |
16-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: include mfeatures.h in formats.c Otherwise, FEATURE_EXT_texture_sRGB was undefined. This is (part of?) the fix for fd.o bug 30177.
ain/formats.c
|
db94a2a5be8e9a8e4de088771874b14b79438299 |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Cleanup references to the old FBOs on glMakeCurrent().
rivers/dri/nouveau/nouveau_context.c
|
d4d81ed02e79ef39ab0e06ebc18e1f5b79e2c92d |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Don't reemit the BO state in nouveau_state_emit().
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv04_context.c
|
bfc7518ab993b006dffaad5f605137e94ff9d7bc |
14-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Don't request a fake front unnecessarily.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_state.c
|
39658f32eaf1acc9603a9a5a2242fba8fd49e08f |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format.
rivers/dri/nouveau/nouveau_fbo.c
|
cbe0dd0f5a5468f821fe39b855e83ae19f28aa7f |
16-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Add some more extensions.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv20_context.c
|
aad06c852491d9a83e74625220923da1626896ed |
14-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Update nouveau_class.h.
rivers/dri/nouveau/nouveau_class.h
|
8f1051dca2d2ea4a4d38f251a5f98fc2a9d097c9 |
16-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Fix provoking vertex.
rivers/dri/nouveau/nv04_render.c
|
286d8f2877f75d9ad82c55d1fa494f46a4a8f422 |
16-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Fix maximum texture size.
rivers/dri/nouveau/nv04_context.c
|
7b06fdbd3319aae394e66f3a87de9561295bb049 |
16-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Fix up color mask.
rivers/dri/nouveau/nv04_context.c
|
0a6cfa1668af7c5541c9d56436776514a6c493d9 |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Align SIFM transfer dimensions.
rivers/dri/nouveau/nv04_surface.c
|
bec626ff63ad1d5c7c3e4b5b1d7a741e4f7d55ac |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Mipmapping fixes.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv04_state_tex.c
|
aa317a40ced575024924ef5697fc0b96c76e3d90 |
15-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Fix PGRAPH_ERRORs when running OA.
rivers/dri/nouveau/nv04_state_fb.c
|
c344f27539a93e885ddcb8ceb066d481a6cd60cf |
14-Sep-2010 |
Andrew Randrianasulu <randrianasulu@gmail.com> |
dri/nv04: Enable eng3dm for A8/L8 textures. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv04_context.c
|
a27bfb991c7fa8995be4814425c0ad4992447a4b |
14-Sep-2010 |
Andrew Randrianasulu <randrianasulu@gmail.com> |
dri/nv04: Don't expose ARB_texture_env_combine/dot3. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv20_context.c
|
9ca59b2427837b8a70b580d66b4909e5f8443945 |
15-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Update ES APIspec.xml. Enable some extensions now that the needed tokens are defined in GLES/glext.h and GLES2/glext.h. Update the prototype of MultiDrawArrays now that the prototype of _mesa_MultiDrawArraysEXT has been updated.
ain/APIspec.xml
|
9f7f7b3ff87e756a5d42eb4c6a953ec33e128f89 |
16-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa/st: Silence uninitialized variable warning.
tate_tracker/st_extensions.c
|
7545514fb65f807fa2c888954f0ac153a918e2ce |
15-Sep-2010 |
Brian Paul <brianp@vmware.com> |
glsl2: fix signed/unsigned comparison warning
rogram/ir_to_mesa.cpp
|
84f7b5d974ba7601a7a43bbe307cc3dc95f221fa |
15-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: fix buffer height setting in dri2 case fbHeight is 0 in this case uncovered by changes in b0bc026c and should fix kernel rejecting command streams after that commit
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/r700_chip.c
|
fd7f70af4897e4e31b11562eb1c473f0ee00fce5 |
15-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in program.h. Include compiler.h for ASSERT symbol.
rogram/program.h
|
b0bc026c12042405357ae65585812ca11786837f |
14-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: fix setting negative values to bitfields when setting negative integers to bitfields we could overwrite other parts of it. So mask the value to be written correctly. This is used quite often in the driver - hope it doesnt affect performace or uncover behaviour relied before... fixes strange effects when setting negative lodbias on evergreen
rivers/dri/r600/r700_chip.h
|
7993832c12bba578010005b344dcd3817be84a42 |
14-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: update to version 64 of GL/glext.h A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h.
ain/dlist.c
ain/glheader.h
ain/varray.c
ain/varray.h
|
83f5f50f2f69adae497c71ac48e4e0177979ebff |
14-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move, redefine MESA_GEOMETRY_PROGRAM
ain/glheader.h
ain/mtypes.h
|
9476efe77ff196993937c3aa2e5bca725ceb0b41 |
13-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove unnecessary FEATURE tests. Remove all FEATURE tests in mesa/drivers/common/. They are not needed and the code looks better without them.
rivers/common/driverfuncs.c
rivers/common/meta.c
|
10ff2646a443ca3c54d66443b346eb7063973b5e |
13-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Less FEATURE_ARB_sync tests. Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
ain/api_exec.c
ain/context.c
ain/shared.c
ain/syncobj.c
ain/syncobj.h
|
db6273e0ddc5dbfcff27b8f75982bbf348810d31 |
13-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove unused _MESA_INIT_*_FUNCTIONS. They were intended to be used to build OpenGL ES only DRI drivers, but that never happened.
ain/accum.h
ain/colortab.h
ain/convolve.h
ain/dlist.h
ain/drawpix.h
ain/drawtex.h
ain/feedback.h
ain/mfeatures.h
ain/queryobj.h
ain/rastpos.h
ain/texgen.h
|
fbc7c9b7a9d9df979ea82136d2b74121e5d4346e |
14-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: ask GLSL to not emit noise since we have a dummy implementation Note, BTW, that the Gallium implementation returns 0.5, which seems to violate the GLSL spec, where it should return 0.0 instead. Not sure whether changing it to 0 is correct or not.
tate_tracker/st_extensions.c
|
b37459388b22fb6a831d45bc08e51cdb7b9c610c |
06-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: set compiler options based on Gallium shader caps This turns on if conversion and unlimited loop unrolling if control flow is not supported. NOTE: this will change the behavior of r300g and any other driver that doesn't advertise control flow
tate_tracker/st_extensions.c
|
a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d |
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3) Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested
tate_tracker/st_extensions.c
|
4dfb89904c0a3d2166e9a3fc0253a254680e91bc |
08-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: introduce ir_binop_all_equal and ir_binop_any_equal, allow vector cmps Currently GLSL IR forbids any vector comparisons, and defines "ir_binop_equal" and "ir_binop_nequal" to compare all elements and give a single bool. This is highly unintuitive and prevents generation of optimal Mesa IR. Hence, first rename "ir_binop_equal" to "ir_binop_all_equal" and "ir_binop_nequal" to "ir_binop_any_nequal". Second, readd "ir_binop_equal" and "ir_binop_nequal" with the same semantics as less, lequal, etc. Third, allow all comparisons to acts on vectors. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rogram/ir_to_mesa.cpp
|
4de7a3b76add1940f7316253a619c3728025d9db |
13-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Request that returns be lowered in shader main Fixes piglit tests glsl-vs-main-return and glsl-fs-main-return.
rivers/dri/i965/brw_context.c
|
87708e8c90220cc1997cef9de9b394c04d952be9 |
07-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: call ir_lower_jumps according to compiler options
rogram/ir_to_mesa.cpp
|
9532eea509321d8f88a4e60191a1e659ada40dfe |
13-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: const buffer sizes must be a multiple of 16 consts This applies to r6xx/r7xx/evergreen
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_vertprog.c
|
6f839eb631511925505093be4d0509ac14f5675b |
13-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c/eg: remove obselete comment
rivers/dri/r600/evergreen_chip.c
|
2ef5bc3976025ed1c137bfc8ef2c70ca4d3efece |
13-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c/eg: remove unused emit timestamp function
rivers/dri/r600/evergreen_chip.c
|
07d95cdbfbfe95578cc14cb04d1111e547a3b5c7 |
13-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c/eg: emit CB_BLEND_ALPHA with the other blend values saves a few dwords
rivers/dri/r600/evergreen_chip.c
|
105ef5eb5e0522cd9ade659ca2ed42a1f98852b2 |
13-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: remove redundant state emit on evergreen r700start3d already emits the context control packets
rivers/dri/r600/evergreen_chip.c
|
7dcb3050006a12c8afa44e436902b8a663855bc8 |
13-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Revert accidentally committed vertex code chunk
bo/vbo_exec_array.c
|
cdfe02d3fcc30a7ca5a745fe6ac470b554b075da |
13-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: eg: fix typo probably copy/paste error
rivers/dri/r600/r700_assembler.c
|
629842b44c40190239b2c7c0d0619af8c6687bbe |
13-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: eg: 256 float4 constants may need more than 256 bytes
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_vertprog.c
|
c82beb436b8272c8eb69f4cac15106953fefe9a1 |
13-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: eg - fix uninitialized variable
rivers/dri/r600/evergreen_chip.c
|
4ebf07a426771b62123e5fcb5a8be0de24037af1 |
13-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glx: Don't destroy DRI2 drawables for legacy glx drawables For GLX 1.3 drawables, we can destroy the DRI2 drawable when the GLX drawable is destroyed. However, for legacy drawables, there os no good way of knowing when the application is done with it, so we just let the DRI2 drawable linger on the server. The server will destroy the DRI2 drawable when it destroys the X drawable or the client exits anyway. https://bugs.freedesktop.org/show_bug.cgi?id=30109
bo/vbo_exec_array.c
|
2471d0d6c545c965ccf5faf14b3a1d53bb6201ce |
12-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600c: remove stray unmap call no idea how/why it got there
rivers/dri/r600/evergreen_chip.c
|
185434fbe8e5e1ce650304bd077766b4e77b5f91 |
13-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix warnings
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_remove_constants.c
|
19b2cfd6f683e158d21ba10af3bc6ce5da5d669c |
11-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix depend.es[12] generation when LLVM is enabled. "llvm-config --cflags" outputs -f options, which conflict makedepend. Clean up compiler flags and append LLVM_CFLAGS to the new xxx_CFLAGS instead of xxx_CPPFLAGS, where xxx may be MESA, ES1, or ES2.
akefile
ources.mak
|
4749429a4a4bb893c35cd945a2aed60bf8f94a3e |
10-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Reorganize presub_helper()
rivers/dri/r300/compiler/radeon_optimize.c
|
3fffcb317c90b03cad733bca027ff2a978567306 |
09-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't use presubtract in TEX instructions
rivers/dri/r300/compiler/radeon_optimize.c
|
8b67159e9a8f2e3782dfb78bc612e2753395563a |
07-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Print the presub subtract operation in the correct order
rivers/dri/r300/compiler/radeon_program_print.c
|
e3fc210a4f93c41cd3d1601dd1c937388f117d97 |
07-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix dataflow bug in presub_helper()
rivers/dri/r300/compiler/radeon_optimize.c
|
d442c7f172df72875bc4a4c8e20ddd8c49dee12a |
07-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Replace asserts with error messages
rivers/dri/r300/compiler/radeon_pair_translate.c
|
66b1e716fb2f36db98ce490dc6e58d5585c652ae |
07-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix copy propigation for some presub instructions
rivers/dri/r300/compiler/radeon_optimize.c
|
564653b9f196b9bf91fe772fd1ca1e131ff33774 |
06-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add peephole optimization for the 'sub' presubtract operation
rivers/dri/r300/compiler/radeon_optimize.c
|
a64b4a05af362fff52c9e52eb51cd92fe164afcc |
30-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add peephole optimization for the 'add' presubtract operation
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
598e220f9581db750cf212c59275d25fda810fe1 |
05-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Clean up rc_pair_alloc_source()
rivers/dri/r300/compiler/radeon_program_pair.c
|
63432ecfce5415fbf07f1781ec77b5ea3efff599 |
14-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Enable presubtract sources The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_program_print.c
rivers/dri/r300/compiler/radeon_remove_constants.c
|
d8a36620089e72d431ae853ec168f193f3376782 |
10-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused Emit flags from gl_shader_compiler_options
ain/mtypes.h
|
55aaee602078a8a57681cd4c205a71048fd184fe |
10-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove noise opcode support from i915 and i965 drivers With recent changes to the GLSL compiler, these opcode should never be seen in these drivers.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_wm_glsl.c
|
58eaade6622294f91d681e85143adeb3b536c497 |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add missing header
rivers/dri/r600/evergreen_context.c
|
9cced19125f0c8bfe05d7d0c599b5c556efb20e7 |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add OQ support for evergreen
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_context.c
rivers/dri/radeon/radeon_queryobj.c
|
7ffc5d7c2e0fee488e25ed0a20792973b1e4138e |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: oq updates
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_chip.c
|
4e53d6e6c94fe0fa52eef73e1d84ba64398f9bfc |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add blit support for evergreen driver was previously calling the r600 blit code which won't work on evergreen.
rivers/dri/r600/Makefile
rivers/dri/r600/evergreen_blit.c
rivers/dri/r600/evergreen_blit.h
rivers/dri/r600/evergreen_blit_shaders.h
rivers/dri/r600/evergreen_context.c
|
886c6c09ea7847a55e51d56c94a6fc147bf80f7a |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: emit start3d packet on evergreen
rivers/dri/r600/evergreen_context.c
|
f35b728accbb5a8da5706c4acd0189c6c8a94859 |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix some typos
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/r600_blit.c
|
a712db73ced2f093e1dbf3ea768f6d14d595944e |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix type in cb setup on evergreen
rivers/dri/r600/evergreen_chip.c
|
c7843280f0a50e78a2a04e10bc9a078de53f1e30 |
10-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add support for more rendering formats on evergreen
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_context.c
|
78109952d47046bfb8d179f32493daa1b5e98615 |
10-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: set correct initial point_minmax values
rivers/dri/r600/r600_context.c
|
67270e1fd60fbdfb9b78fd46cabf077dedf273df |
09-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: dont bswap rgba FLOAT formats fixes at least some readback tests in piglit
rivers/dri/r600/r600_blit.c
|
5ea092117fb607a5776f52d251f976c5691575c8 |
10-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2. They are no longer used.
tate_tracker/st_gl_api.h
tate_tracker/st_manager.c
|
4531356817ec8383ac35932903773de67af92e37 |
10-Sep-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Add context profile support to st_api. Add struct st_context_attribs to describe context profiles and attributes. Modify st_api::create_context to take the new struct instead of an st_visual. st_context_attribs can be used to support GLX_ARB_create_context_profile and GLX_EXT_create_context_es2_profile in the future. But the motivation for doing it now is to be able to replace ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2 by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
ain/version.c
tate_tracker/st_manager.c
|
6ef5f212343c0557c4fca272d8236226c1a7c87a |
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add switch cases for ir_unop_noise, which should have been lowered. Fixes compiler warnings.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_channel_expressions.cpp
|
042a333028eba49f21b45cafaf9dd15d34c68033 |
10-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Revert "glapi: Implement optional dispatch logging" This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
rivers/dri/common/dri_test.c
ain/context.c
ain/context.h
ain/debug.c
ain/dlist.c
ain/mtypes.h
|
2b70dbfe091af5ae7c788e16275e1af2cb1c284c |
10-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add EmitNoNoise flag, use it to remove noise opcodes
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
ain/mtypes.h
ain/shaderapi.c
rogram/ir_to_mesa.cpp
|
3a5ce85cfa4914711e56c8cf831699242618928e |
02-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add ir_unop_noise
rogram/ir_to_mesa.cpp
|
6fe1b479ca92b8abc7461d4be1c019bbefe0ef51 |
10-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Only reference logging symbols in debug builds
ain/context.c
|
144356f9925fa9d892faa64fa7264ef9f1d7e2b4 |
09-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer Binding framebuffer 0 on a context that doesn't have a winsys drawable will try to bind the incomplete framebuffer. That fails when that's also the dummy framebuffer.
ain/context.c
ain/fbobject.c
|
b9abc6139a310677a37754ea7172d976dbf56979 |
09-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Implement optional dispatch logging There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
rivers/dri/common/dri_test.c
ain/context.c
ain/context.h
ain/debug.c
ain/dlist.c
ain/mtypes.h
|
cdd5f21eacc93dfb242e59a6158d0e450a39a9b6 |
09-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Expose EXT_texture_env_combine.
rivers/dri/nouveau/nouveau_context.c
|
3bbad7f1084c3d6259dfa23fd60f654c949f7408 |
09-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10-nv20: Add support for NV_texture_env_combine4.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv10_state_frag.c
|
699749cfeeea7d0a17ed5f94fd5fdbbe52f4ab2b |
09-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv04: Add support for NV_texture_env_combine4.
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_state_frag.c
|
a76f6dc84952348261c32bcace56790e939a2902 |
02-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Minor cleanup.
rivers/dri/nouveau/nv20_state_tnl.c
|
777f352e6087e3ef05f7a88232f23e4f971bc5a0 |
02-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add TXL instruction and note about TXB
rivers/dri/r600/r700_assembler.c
|
1f12945d2fba751e09c2f2dd01899107590b30ec |
02-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: remove depth exports move, just set to output x <- z in the export intruction
rivers/dri/r600/r700_assembler.c
|
7753416c5b6bdcc757983400c50c5cf878bc9caf |
02-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: protect cleanup instructions from double free We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_shader.c
|
5697bf166082119593bf1297028d03a7938eacfb |
02-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: remove mask from output intructions in case of relative addressing we never get to know which comps were really written.
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
ae21956be29c027659568e17f1cf72d1931c4d61 |
02-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: allow relative addressing of temps, inputs, outputs
rivers/dri/r600/r700_assembler.c
|
515d6eed0ba39f0279f35fa12b97803e33d9a4f7 |
01-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: handle LIT writemask
rivers/dri/r600/r700_assembler.c
|
9d0d78ad3f1f906c99dae593e9ebc0c52496ffe1 |
01-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix rsq from negative input arbfp specifies rsq of abs value
rivers/dri/r600/r700_assembler.c
|
e591c4625cae63660c5000fbab366e40fe154ab0 |
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: add several EmitNo* options, and MaxUnrollIterations This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i965/brw_fs.cpp
ain/mtypes.h
ain/shaderapi.c
rogram/ir_to_mesa.cpp
tate_tracker/st_extensions.c
|
6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd |
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: make compiler options per-target This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
rivers/dri/r600/r600_context.c
ain/mtypes.h
ain/nvprogram.c
ain/shaderapi.c
rogram/ir_to_mesa.cpp
tate_tracker/st_extensions.c
|
ede4205b245ee58bacf866d298273ebbe31feacf |
06-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2) Changes in v2: - No longer adds tessellation enums
ain/mtypes.h
ain/shaderobj.h
rogram/program.h
|
de1ffd2f62257c174325d877c327d56b1a9e6cbc |
08-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor parameter processing in set_combiner_(operand|source) The enum values were chosen to have sequential values for a reason. Use that to compact and simplify the code.
ain/texenv.c
|
1a2d498b4164f457c48e9fde9ae8bbadfcf7fa72 |
08-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix handling of texenv operands for EXT vs ARB version GL_EXT_texture_env_combine has slightly more restrictive limits on the valid sources for some operands. This wasn't caught before because almost every driver in Mesa that supports the EXT version also supports the ARB version. Inspired by a patch posted the the mesa-dev mailing list by Andrew Randrianasulu.
ain/texenv.c
|
b4bb6680200b5a898583392f4c831c02f41e63f7 |
08-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Unset current context and dispatch table when unbinding Otherwise, when we switch to an indirect glx context and then back, it looks like we're still current. https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_context.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/swrast/swrast.c
|
883ac22810578c82f76ae3d4f02dfdc5d5c2e8fe |
30-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Enable EXT_framebuffer_blit internally. Otherwise, ES2's BindFramebuffer entrypoint hits this assertion: main/fbobject.c:1323: _mesa_BindFramebufferEXT: Assertion `ctx->Extensions.EXT_framebuffer_blit' failed.
rivers/dri/intel/intel_extensions_es2.c
|
67da41c10ce5eda8b8e35c03fb81f606d40d3dd7 |
30-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Enable GL_MAX_VERTEX_ATTRIBS in ES2. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
7dcfc44b72f00ba5a38cb02123c80113440f0de9 |
05-Sep-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0. Also define it if #version 100 is encountered.
rogram/ir_to_mesa.cpp
|
4a867be14378587574b3082071e9fff962d28d12 |
08-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for gl_NormalScale. Bug #30040.
rogram/ir_to_mesa.cpp
rogram/prog_statevars.c
|
a09a8ec12d76e1fb1583fa99cf9f48246c108d7b |
08-Sep-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Make sure shader source isn't NULL. This should only occur if glCompileShader is called without a prior call to glShaderSource. An empty source program should be the empty string.
rogram/ir_to_mesa.cpp
|
50a3349bee04088bee3491622d6ef3c032d01eac |
07-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it. Fixes assertion failures in fbo-alpha with a debug build of Mesa. Bug #29781.
ain/fbobject.c
wrast/s_readpix.c
wrast/s_span.c
|
acd7c21541110d7ae6b9e63647391f65946e5c5d |
07-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix warning in last commit. I swear there was some git option for "don't push things when you've got uncommitted changes", but I can't find it now.
rogram/ir_to_mesa.cpp
|
6c0ba32fd1466e8c1700acab3003dc1fe1deb337 |
02-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Move the STATE_VAR elements of a builtin uniform to a temp (v2). Like the constant handling and the handling of other uniforms, we add the whole thing to the Parameters, avoiding messy, incomplete logic for adding just the elements of a builting uniform that get used. This means that a driver that relies only on ParameterValues[] for its parameters will have an increased parameter load, but drivers generally don't do that (since they have other params they need to handle, too). Fixes glsl-fs-statevar-call (testcase for Ember). Bug #29687. v2: Continue referencing the STATE_VAR[] file directly when the uniform will land in STATE_VAR[] formatted exactly as we'd put into a temporary. When there's array dereferencing, we don't copy-propagate in Mesa IR (not knowing where the array is in register space), so smarts here are required or we'll massively increase the temp count.
rogram/ir_to_mesa.cpp
|
24c12e6c7f8aa8c2f4c163d23d740b070bfabfc3 |
07-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Store the byte address in the VS constant buffer as an integer. We carefully multiplied our two ints (since we want to be precise after all) then stored them in a float, which is not specced to really work, in addition to wasting precision. Fixes vp-arl-constant-array-huge-* things since the assertions were added.
rivers/dri/i965/brw_vs_emit.c
|
32b84ef4ca50998914184fc4600d8e43674a9a22 |
05-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Make pixel_xy results UW. There is a restriction on the destination of an operation involving a vector immediate being 128-bit aligned and the destination horizontal stride being equivalent to 2 bytes. Fixes bad pixel_x results from gl_FragCoord, where each pair had the same value.
rivers/dri/i965/brw_fs.cpp
|
5afdfa222fa9ec8c54e7d6957d2680c37a9eb715 |
06-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't bother with RNDZ for f2i. The default type conversion for MOV should be fine, and RNDZ actually requires two instructions.
rivers/dri/i965/brw_fs.cpp
|
a560a509fab467b0ed4be2bceaf1c5a60890ca0d |
05-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments. Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these.
rivers/dri/i965/brw_eu_emit.c
|
0002069fd5117b52f0ae2be0b7e3d8e839a3a61c |
05-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add assertion for another requirement about types. This catches a failure in the FS backend.
rivers/dri/i965/brw_eu_emit.c
|
3fb5377ba57aea356a81c521c0cf1975dc290b61 |
04-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Align the start of attribute interp coefficients in FS to use PLN.
rivers/dri/i965/brw_fs.cpp
|
3dbc9ea0a35653a0484d3b0a65a305626c251789 |
03-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Just assert when we flagged a compile error in the FS for now. Dumping back to potentially 16-wide dispatch doesn't really work out at the moment, and hopefully I'll just be able to resolve all the failures so we never have to do this at all.
rivers/dri/i965/brw_fs.cpp
|
42fc60cadcea920e9d67581de133a47effcc8441 |
03-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up fs_reg setup by using a helper for constructors.
rivers/dri/i965/brw_fs.cpp
|
b157113e7333e9dad1c994902e10faedc45bd5e7 |
02-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: When using the new FS backend, don't validate the Mesa IR version.
rivers/dri/i965/brw_program.c
|
5c777928591279886e015c10f640828f77b97559 |
04-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a bit of validation for some ISA restrictions in the docs.
rivers/dri/i965/brw_eu_emit.c
|
e432fe09ddb105d4ca5a0654512adc300b0cd22e |
04-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: set the source width/stride when handling reladdr dests in the VS. This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements.
rivers/dri/i965/brw_vs_emit.c
|
6561a64a69c0f5005d03ea297f9a309f48449731 |
07-Sep-2010 |
nobled <nobled@dreamwidth.org> |
dri: Make it a little clearer that we're not dereferencing a NULL pointer
rivers/dri/common/dri_util.c
|
1b8c9fef1128cfeee5e5ba75ba7d645522cc76c2 |
07-Sep-2010 |
nobled <nobled@dreamwidth.org> |
dri: Use the right type for the API token Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized.
rivers/dri/common/dri_util.c
|
4a730b773f0cae9ff5defb407bb2b7ca43234c35 |
07-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
nouveau: restore nouveau_class.h for nv04-nv20 Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it.
rivers/dri/nouveau/nouveau_class.h
|
079c8840609f1277320bd85c3e9568179e30bfd3 |
06-Sep-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Define C99's __func__ macro on MSVC.
ain/compiler.h
|
d8bba2ef69371a78eaa981846924e241a05b85b6 |
05-Sep-2010 |
Henri Verbeet <hverbeet@gmail.com> |
radeon: Add radeon_buffer_objects.c.
rivers/dri/radeon/Makefile
|
7d4f3525866352e51c4481302a38456e5c825f67 |
05-Sep-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r200: Add radeon_buffer_objects.c.
rivers/dri/r200/Makefile
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_buffer_objects.h
|
50b9c54ef6b813b348df7e63a0cf291d3d9d39f4 |
04-Sep-2010 |
Henri Verbeet <hverbeet@gmail.com> |
radeon: Make do_blit_readpixels() into a PBO work.
rivers/dri/radeon/radeon_pixel_read.c
|
029c1815717ea62bae28e86798c86dfa98cbc8a7 |
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: don't smash the stack in _mesa_find_used_registers At some point this actually triggered, not sure if it still does. Give a meaningful assert and refuse to smash the stack anyway.
rogram/program.c
|
9a77d0471a655b2903a9e2696aa91b4b92267583 |
24-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: don't expose unsupported GL_ARB_geometry_shader4 for now The new GLSL compiler doesn't support it. Advertising it prevents Unigine Heaven from working, since it attempts to use it.
ain/extensions.c
|
ece8490bb5fbee10bbe8d186bdc5e13f85e22df4 |
05-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g,r300c: memset the compiler struct to zeros This should fix bogus reports "Too many temporaries." and maybe some others.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
7a212525a238eef7ba8a5c890019aab2d7be1045 |
05-Sep-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Remove stray break statement This fixes glsl-fs-loop-nested.
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
6dc71d6aa5262ee3fcb79c713f2d91121db79533 |
05-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix the instruction limit in vertex shaders Broken with commit d774b0c710bb7d833d17bd12f5151a0176baad96. Reported by Chris Rankin.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
280665be7026c978acead9713c10271c36a571ee |
04-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
Revert "ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to a temp." This reverts commit 5ad74779cea07cc6a19a52874cdaef8b018e2f1b. Sorry, but I had to revert this. Any commit which needlessly increases the number of temporaries is wrong. More temporaries mean less shader performance because of reduced parallelism and therefore less efficient latency hiding. In this case, there is possible performance degradation of every shader which uses GL state variables. I cannot accept this.
rogram/ir_to_mesa.cpp
|
58471c801a05e0e8783c798c4d9a4f18f67558b2 |
04-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: indent printed instructions according to the branch depth
rivers/dri/r300/compiler/radeon_program_print.c
|
d774b0c710bb7d833d17bd12f5151a0176baad96 |
03-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: use limits from the compiler input instead of inline constants
rivers/dri/r300/compiler/r3xx_vertprog.c
|
63943c8fcdc7dae4c059d364528b0a90b8c4041f |
03-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: improve register allocation with indexable temporaries for VS Register allocation can now reallocate temporaries right after the last indexed source operand, instead of being disabled for the whole shader.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
33360a707e16c3349fde9dd43fee8e38bae9e7f0 |
02-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix handling of indexed temporaries in peephole
rivers/dri/r300/compiler/radeon_optimize.c
|
aa554d508b03ee54f2553200d0d43c78b3982e44 |
02-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: disable deadcode elimination for indexed dst operands
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
|
f90c870304ad7222779c3e3bed0e2bbd4214d0cf |
02-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: allocate at least FS inputs if register allocation is disabled
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
cfc461fca6ad5656f58c48803d13052537063316 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: add a new debug option which disables compiler optimizations Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
d2f4ceaa47695f9dc203c28b39d332eea8a115b2 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: compute the final number of temporaries during translation And not during the register allocation, which may be skipped for debugging purposes. Also the predicate register is now added to the number of temps.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
f46fd041369a1c2c188cbd65918c900900724d37 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
63eafaa8eca04b8b3b30926b5f406c321d757d1b |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: use peephole and constant folding for vertex shaders too
rivers/dri/r300/compiler/r3xx_vertprog.c
|
f5609ff0d7ffaf2822b65890ef248a969a82c41f |
02-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove unused enum OPCODE_REPL_ALPHA We use RC_OPCODE_REPL_ALPHA instead.
rivers/dri/r300/compiler/radeon_program.h
|
fba5f6bda76f5236f6f05aa81157a08949cde7c3 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: refactor fragment shader compilation This cleans up the mess in r3xx_compile_fragment_program.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_rename_regs.c
rivers/dri/r300/compiler/radeon_rename_regs.h
|
3ba562e62af0db0318ecebb356d5a3c514f4d1c8 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add new compiler parameter max_constants
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
0b9f8361470564563dc54e6b13879e73182d353b |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: refactor vertex shader compilation First list compiler passes in an array, then run the new function rc_run_compiler. Every backend may need a different set of passes. This cleans up the mess in r3xx_compile_vertex_program.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_emulate_branches.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/compiler/radeon_remove_constants.c
rivers/dri/r300/compiler/radeon_remove_constants.h
|
9a9aa7daa84341daae6a18dd6c13b958979d2343 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove a redundant parameter in rc_pair_regalloc
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
f0ae99252a5af8fbe425301b7ad1b174e7f47602 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove a redundant parameter in rc_dataflow_deadcode &c->Base == c.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
|
cc8f2d559989f516a6896ac137c8a79c7a212fa5 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: use null-terminated array of transformation functions I need to reduce the number of parameters of each compiler pass function. This is part of a larger cleanup.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
|
313e95f0c792580f6051fedb67e65838405c88f8 |
01-Sep-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add new compiler parameter max_alu_insts
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
a0fb406d9fd2bcd040f70ba639cc8342c0a92c6d |
31-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: put emulate_loop_state in radeon_compiler
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
|
603bef557220d68dbb165e775c7c9b0d6db7709e |
04-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image Fixes piglit fdo25614-genmipmap.
tate_tracker/st_cb_texture.c
|
8680c1324097ec3df51e8bf6f25a3347df6f798c |
03-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix up a comment
ain/mtypes.h
|
0f4f8c73644a9cc436500d605413207c44cfb4ee |
27-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Handle loops with loop controls set The downside of our talloc usage is that we can't really make static (i.e., not created with new) instances of our IR types. This leads to a lot of unnecessary dynamic allocation in this patch.
rogram/ir_to_mesa.cpp
|
7e282b8e62fb5d237a2e2cc94ac6a39a2f73f271 |
03-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: add proper returns for some evergreen functions these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_vertprog.c
|
b009d50f4465d2b38613b5f8664121f56932f1c5 |
03-Sep-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: emit DB_HTILE_DATA_BASE on evergreen Make the hw happy.
rivers/dri/r600/evergreen_chip.c
|
3888c38fc9e7debc53a901295af0027801c4ae74 |
03-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf-like warning.
rogram/program_parse.tab.c
rogram/program_parse.y
|
c5dde53f4e42612518cd927bb58f08c0e22db17a |
03-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf-like warnings.
ain/dlist.c
ain/fbobject.c
ain/light.c
ain/shaderobj.c
ain/texenvprogram.c
ain/teximage.c
|
e746a6bb9a6c9f797d1b40ed22b2f296f8fa5aac |
02-Sep-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING Don't try to use more generic varying vars than core Mesa supports. Fixes fd.o bug 29959.
tate_tracker/st_extensions.c
|
c9039fdb167865547dc9b3828d69b99209344999 |
02-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix code generation for ir_unop_sqrt The CMP instruction needed to be flipped to properly handle operand==0. Fixes fd.o bug 29923.
rogram/ir_to_mesa.cpp
|
9eca0e2c3e9409b5da49d9a5052d3665e7d45bb1 |
02-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix some printf warnings with casts
ain/bufferobj.c
ain/extensions.c
ain/transformfeedback.c
bo/vbo_exec_array.c
|
5ad74779cea07cc6a19a52874cdaef8b018e2f1b |
02-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to a temp. Like the constant handling and the handling of other uniforms, we add the whole thing to the Parameters, avoiding messy, incomplete logic for adding just the elements of a builting uniform that get used. This means that a driver that relies only on ParameterValues[] for its parameters will have an increased parameter load, but drivers generally don't do that (since they have other params they need to handle, too). Fixes glsl-fs-statevar-call (testcase for Ember). Bug #29687. Regresses glsl-vs-array-04 on 965. Thanks to a slight change in register allocation, this test of undefined behavior now wraps around the register space and unexpectedly reads the constant value it's trying to compare to. The test should probably not look at the resulting color, since behavior is undefined.
rogram/ir_to_mesa.cpp
|
500e7b75995460537b0e682e5bde4c32eb40b85c |
01-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add a little helper for emitting link failure messages.
rogram/ir_to_mesa.cpp
|
86af037e6a1643284f87c5e01c3fcb09dd07bf35 |
01-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix many printf-like warnings. Most of these are just typecasting to long to match the arg type. I don't really care too much about getting a GLsizei or whatever appropriate type in. However, there were a number of real bugs, like missing arguments or passing floats to integer format specifiers. My favorite: printflike("%s, argument") is missing an argument.
ain/bufferobj.c
ain/context.c
ain/transformfeedback.c
wrast/s_context.c
|
3cddc15d9dcf44a0998dd5f29ae6f6d17370584e |
01-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add __printf__ attribute to printf-like functions to get warnings.
ain/compiler.h
ain/imports.h
|
557a71c50631a232528f654fa8b8e4add0e565d2 |
02-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/st: remove check for buffer/elements = 0 shown by the glsl-vs-point-size failing on r600g. the test passes on softpipe and I get a full piglit test run completing on r600g.
tate_tracker/st_draw.c
|
4ff3467daf0ac07e4295c7d2e2ad3c3c8c89dff6 |
01-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix out of bounds memory read in mipmap gen code Out of bounds reads could happen for reducing WxH to WxH/2 or WxH to W/2xH. Fixes fd.o bug 29918.
ain/mipmap.c
|
fd7f2ae085ea55649089b29515e143eed43c177e |
01-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more prog_execute.c debug code
rogram/prog_execute.c
|
dd5ef33e3c2ac7886ca71344e41201d0be2062c0 |
01-Sep-2010 |
Eric Anholt <eric@anholt.net> |
i965: DP2 produces a scalar result like DP3, DP4, etc. Fixes glsl-fs-dot-vec2-2.
rivers/dri/i965/brw_wm.c
|
07317012369c7b2662a8357fa4ea15453c4e277b |
01-Sep-2010 |
Vladimir Vukicevic <vladimir@pobox.com> |
mesa: initialize dummy framebuffer and renderbuffer mutexes See fd.o bug 29909. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/fbobject.c
|
c3c25a7ab8507c9c6b21137de03b5d94c2420369 |
01-Sep-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: cube mipmap levels are aligned to 8 faces only starting from r7xx
rivers/dri/radeon/radeon_mipmap_tree.c
|
9b075cb9fa9eb6a95d0816283ef01ae72dafa680 |
31-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: When emitting a pixel kill, flag that we did so. Both i965 and swrast rely on UsesKill to determine whether to do early depth writes. Fixes glsl-fs-discard-02. Bug #29835.
rogram/ir_to_mesa.cpp
|
99f3c9caa39fbe9dfa7561c919202395720e9472 |
31-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Sort the uniform list we're adding to Parameters[] order. Fixes glsl-uniform-linking-1 and failure to link a shader in Unigine. An alternative here would be to just ditch using _mesa_add_parameter and build the initial params list on our own, but that would require two walks of the list as well. Bug #29822
rogram/ir_to_mesa.cpp
|
2a78807db7a3bc852da0cda1e933a157204c3a47 |
22-Aug-2010 |
nobled <nobled@dreamwidth.org> |
ir_to_mesa: Fix struct/class confusion
rogram/ir_to_mesa.cpp
|
7406898441bfec937840d575500fb6d43192310d |
30-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Set up our instruction nodes with zeroed data. cond_update wasn't being set by emit_op3, leading to valgrind complaints, and failures in several piglit tests when built with clang.
rogram/ir_to_mesa.cpp
|
4f189b3bf57a6500953dac49105f160af5fa6468 |
31-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: use RSQ+MUL instead of RSQ+RCP for SQRT sqrt(x) = 1/rsq(x) = x*rsq(x) This optimization already was in the old GLSL compiler. Acked on irc by Eric Anholt.
rogram/ir_to_mesa.cpp
|
24ff42e7d56ac489caeca6b5ffcc3091cc8194b5 |
31-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: fix depth test on sandybridge This includes several corrections for fixing depth test on sandybridge. Fix wrong bits definition in depth stencil state. Fix wrong order of state buffer offset in 3DSTATE_CC_STATE_POINTERS command. Correctly use buffer width parameter in depth buffer setting. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen6_cc.c
|
e637f8b40c426d6ae79e0215fa8865d50326812f |
30-Aug-2010 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
Add talloc to osmesa library dependencies also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
rivers/osmesa/Makefile
|
9b0ba68b4489557c48efa088c3884120dabc68fb |
30-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Fix inverted version checks in check_extra. Previously, if an attribute was enabled by either a specific GL version or an extension, the check would require -both- to be enabled. This bug was not discovered earlier because version checks are currently only ever used on their own. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ain/get.c
|
5360c48317f5806c7ea8814002e9aac2041960a7 |
30-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clear the cached constant buffer entry in the VS at control flow. Fixes the 7 regressions with constant buffers forced on with piglit -t glsl (glsl-vs-if-*).
rivers/dri/i965/brw_vs_emit.c
|
3bae20bbc9b8255044edf2223079363bb2b94d4a |
30-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Align the number of payload regs to 2 again in 16-wide mode. Fixes a regression in point-line-no-cull and glean/paths tests since 501c9dc62774a73c080d500a1eab773b0da9577e.
rivers/dri/i965/brw_wm_pass2.c
|
e1aa3c234fcc30c5c07f4b896adf304414558604 |
30-Aug-2010 |
Cedric Vivier <cedricv@neonux.com> |
i965: Apply the rest of the old-libdrm guard patch. Bug #29855
rivers/dri/intel/intel_context.h
|
1fcb5a9858b7513c5130006933edc224b69be82d |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for loops to the new FS backend. This includes a handy little safety check to prevent the loop from going "too long", as permitted by the spec. I haven't gone out of my way to test it, though… Fixes 20 more piglit tests.
rivers/dri/i965/brw_fs.cpp
|
352dff62f8005add9e71e6b5ba3b3321cb953d73 |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Make brw_CONT and brw_BREAK take the pop count. We always need to set it, so pass it in.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
b0a933a4d91c47e697459921073f8afe668bac31 |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add "discard" support to the new FS backend. Fixes 3 testcases related to discard.
rivers/dri/i965/brw_fs.cpp
|
4ff25c2106fb981334bdc1b032fcf37d8753ba62 |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the new implementation of ir_unop_sign to match brw_wm_emit.c Like the comparison operations, this suffered from CMP only setting the low bit. Doing the AND instructions would be the same instruction count as the more obvious conditional moves, so do cond moves. Fixes glsl-fs-sign and 6 other cases, like trig functions that use sign() internally.
rivers/dri/i965/brw_fs.cpp
|
40aadafa91ef5b931436d400fedafd720d59deff |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for texturing with bias to i965 FS backend. Fixes 5 piglit tests for bias. Note that LOD is a 1.30 feature and not yet supported.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_fs.cpp
|
4841c0a15adcc722e67d7d246987cd686d3f7a17 |
30-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Return after assertion failure. Addresses the warnings: warning: ‘target’ may be used uninitialized in this function warning: ‘target_string’ may be used uninitialized in this function
rogram/ir_to_mesa.cpp
|
128237927d6fa4ffb23e52c59150f57520004c00 |
30-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix _mesa_lookup_parameter_constant's return value. Fixes gcc warning In function ‘_mesa_add_unnamed_constant’: warning: ‘pos’ may be used uninitialized in this function but also what appears to be a bug.
rogram/prog_parameter.c
|
007bac83312b29061753e625edfd45ccab9ecc9c |
25-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set the MaxVarying GLSL constant
tate_tracker/st_extensions.c
|
b3d41844c7704a4b937f4eb5925e71f35547cd4a |
30-Aug-2010 |
Richard Li <richardradeon@gmail.com> |
evergreen : fix shader const allocation and instruction bugs.
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_fragprog.h
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/evergreen_vertprog.h
rivers/dri/r600/r700_assembler.c
|
0a46497a4ee3325fab47929cb17cfe2525e1fc33 |
29-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
ir_to_mesa: Initialize variable in ir_to_mesa_visitor::visit. Fixes piglit glsl-fs-loop valgrind uninitialized value error on softpipe and llvmpipe.
rogram/ir_to_mesa.cpp
|
735af3959f4a4eb5940835c5a4117a020f103414 |
28-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add initial support for texturing to the new FS backend. Fixes 11 piglit tests.
rivers/dri/i965/brw_fs.cpp
|
af62060ef264998f96eb977d6e0a5de9fe2bd651 |
29-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for gen5 sampler messages.
rivers/dri/i965/brw_disasm.c
|
3d4597f9d4c93d285825d5a6505d4ee7ce6e2c3e |
29-Aug-2010 |
Cedric Vivier <cedricv@neonux.com> |
i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.h Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other brw_fs_*.cpp files. Bug #29855
rivers/dri/i965/brw_fs.cpp
|
2dfd348e33f0152e3ab693ec3b53911331f5c349 |
28-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include missing header in st_mesa_to_tgsi.c. Include p_screen.h for complete type to pipe_screen.
tate_tracker/st_mesa_to_tgsi.c
|
d17faf726ecfd18f5a1f9a1c2b54eec4348ee053 |
28-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the pop count on BRK/CONT inside of an if statement in the FS. This is the same as 8de8c97275e9555183a7e8f2238143657bbe60b2 for the VS, and fixes glsl-fs-if-nested-loop and the mandelbrot demo. Bug #29498
rivers/dri/i965/brw_wm_glsl.c
|
ae6e112c69cf42fb81ef4ed5bdeb3b280647f141 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
dri: Get prototype for _mesa_destroy_compiler(). Bug #29665.
rivers/dri/common/dri_util.c
|
d20c2766182b632fba296eff7328bf14c802096e |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't strip negate/abs flags when assigning uniform locations. Fixes glsl-algebraic-sub-zero-4.
rivers/dri/i965/brw_fs.cpp
|
f0aa2d6118b1af7434b7551227cd72c588568e65 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add missing handling for BRW_OPCODE_SEL. Fixes 4 piglit tests about min, max, and clamp.
rivers/dri/i965/brw_fs.cpp
|
38d01c5b272d28a805e7598bad2f2ef5c8da732a |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Mask out higher bits of the result of BRW_CMP producing a boolean. When it says it sets the LSB, that's not just a hint as to where the result goes. Only the LSB is modified. Fixes 20 piglit cases.
rivers/dri/i965/brw_fs.cpp
|
4229a93cc756b3ade02dcf93d806610f95497ad3 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the types of immediate integer values. When we're trying to do integer ops, handing a float in doesn't help.
rivers/dri/i965/brw_fs.cpp
|
41e75cde2605e62ab691fd725a8a7259f40f5122 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add translation for RNDD and RNDZ. Fixes: glsl-fs-any. glsl1-integer division with uniform var
rivers/dri/i965/brw_fs.cpp
|
31c9f468f35637ce3b82e59a43c49c949d59ee9e |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ir_binop_mod using do_mod_to_fract. Fixes glsl-fs-mod.
rivers/dri/i965/brw_fs.cpp
|
9ce0d92ae70362a1cd8c07c9f7ac25bcbcd09959 |
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move null ptr check (fdo bug 29843)
ain/shaderobj.c
|
f57df7f2130dfe20a6f7e75cfc1f5d4e1717d098 |
27-Aug-2010 |
Nick Bowler <nbowler@draconx.ca> |
mesa: Use the format info to identify packed depth/stencil formats. Due to a misunderstanding of the Z24_X8 and X8_Z24 formats, the earlier patch created depth/stencil wrappers for them. This broke swrast. Use the format info instead, which only identifies Z24_S8 and S8_Z24 as packed depth/stencil. It also has the advantage of being nicer code. Signed-off-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/formats.c
|
579fce252413f39830ee379076fddf0580ea9b16 |
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use atexit() handler to release GLSL compiler memory This releases a bunch of memory that was showing up as leaks with valgrind. If atexit() isn't widely supported we may need to add some #ifdef tests around the call.
ain/context.c
|
53290900db2f13fd9ab56b8f9780fa309d31780f |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix swapped instructions in ir_unop_abs and ir_unop_neg. Fixes glsl-fs-neg and 5 other tests.
rivers/dri/i965/brw_fs.cpp
|
2776ad2641469d3bdb6f53b99fbd748efd277c51 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add generate() handling for AND, OR, XOR. 10 more piglit tests pass.
rivers/dri/i965/brw_fs.cpp
|
130368f910a806a12287c7561df7dddd0fc8be40 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for if instructions in the new FS backend. 20 more piglit tests pass.
rivers/dri/i965/brw_fs.cpp
|
a0ffee2cd79deb5a437784e25de6512d7f8e6bb8 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: When encountering an unknown opcode in new FS backend, print its name.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_optimize.c
|
40932c1752b0fa918d764e3367f5ab450033304a |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the maximum grf counting in the new FS backend. glsl-algebraic-rcp-rsq managed to use 33 registers, and we claimed to only use 32, so the write to g32 would go stomping over the precious g0 of some other thread.
rivers/dri/i965/brw_fs.cpp
|
166b3fa29d4b5af8d4e8c410ed71e4348b65bbd9 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Validate the IR tree after doing our custom optimization passes. This wouldn't catch the last failure fixed in them, because we don't validate assignments well (due to the fact that we've got a pretty glaring inconsistency in how we handle assignment writemasking), but it could catch other failure we may produce.
rivers/dri/i965/brw_fs.cpp
|
55ced3367543994bd21b48326c64edb743001145 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a bit of support for matrices to the new FS.
rivers/dri/i965/brw_fs.cpp
|
91a037b5e1374fe0574480a579bd36c71b75f9c2 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix destination writemasking in the new FS.
rivers/dri/i965/brw_fs.cpp
|
0435cb348aaa8f2d8163a38517a098e27a81adef |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix swizzling in vector splitting for the new FS backend. We weren't smearing a component of a split RHS out to reach an unsplit LHS's writemask, so gl_FragColor (always unsplit) would often get uninitialized values. Fixes: glsl-algebraic-add-add-1 (and probably many others).
rivers/dri/i965/brw_fs_vector_splitting.cpp
|
c8e0970667d2b4d92abe22bf099cafee4acb717b |
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: free the fallback texture object in free_shared_state()
ain/shared.c
|
476adf796b150ca93fcfaf6c6d97a9eedd678561 |
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix double-underscore naming
ain/shaderobj.c
|
67ffbbbb5db88f936d54bacab971d20e44a83da1 |
27-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Fix typo in function name "shading_laguage_version".
ain/getstring.c
|
a4d97d3726046fca66f3dbcfbe7b276c5eb80b3b |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add preliminary support for uniforms to the new FS backend. +269 piglits
rivers/dri/i965/brw_fs.cpp
|
3dff682b6595c8771655307ed00bd8844f22238c |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Abort on gl_FragDepth in the new FS backend for now. It hangs the GPU due to FB_WRITE handling being incomplete. There are bigger issues to handle first.
rivers/dri/i965/brw_fs.cpp
|
1a3de23509b8170ee87223dc63e992e195a04de5 |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up and actually enable the NewShader and NewShaderProgram hooks.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_program.c
|
fa2deb3ddc8dc9e3eedf7f3dc1d2d2945a95f79b |
27-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Hack in avoidance of c++ reserved keyword in libdrm. I'm also fixing this upstream in libdrm, but this avoids new libdrm dependency for the moment.
rivers/dri/i965/brw_fs.cpp
|
363d0f6774b4c6b825f5b903284da1cd51a91986 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add GLSL IR-level source annotation and comments to new FS debug. This should make debugging way easier, as now we have context for reading large programs.
rivers/dri/i965/brw_fs.cpp
|
7268bd82f60b1c9642a48dcfff6d77b2897222cd |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the implied move in brw_math() in the new FS.
rivers/dri/i965/brw_fs.cpp
|
e85f8272d0757989aeab650fbf929b382d671492 |
17-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for in varyings to the new FS codegen. At least some tests, like glsl-vs-sign, now work.
rivers/dri/i965/brw_fs.cpp
|
dcb7c0009bf0a1e0c4fb1aae4b7b07efcc0ed173 |
16-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Start building the codegen visitor. This can successfully emit a real program that generates magenta now.
rivers/dri/i965/brw_fs.cpp
|
9763d0a82a1ee605a8794f199d432824fb972b6a |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Start building direct GLSL2 IR to 965 assembly codegen. Our channel-expressions and vector-splitting changes now happen into a private copy of the IR that we maintain for ourselves. Uniform assignment still happens by the core, so we continue using Mesa IR generation not just for swrast fallbacks but also for uniform values (since there's no storage for their contents other than shader_program->FragmentProgram->Parameters->ParameterValues). And most importantly, at the moment no actual codegen is hooked up other than emitting our favorite color to the framebuffer.
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_state.c
|
c1dfdcb93a8991788032d4906c5bf1a5b48cdc48 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add new pass to split vectors into scalar variables Combined with the previous pass, this lets other optimization passes do their work thanks to ir_tree_grafting. Still have regression in instruction count with INTEL_NEW_FS, but register count is even better.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_vector_splitting.cpp
rivers/dri/i965/brw_wm.h
|
3a8ad33dde2f059b82ebf09f5cffa66c86f2e734 |
13-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a pass for the FS to reduce vector expressions down to scalar. This is a step towards implementing a GLSL IR backend for the 965 fragment shader. Because it has downsides with the current codegen, it is hidden under the environment variable INTEL_NEW_FS. This results in an increase in instruction count at the moment (1444 -> 1752 for glsl-fs-raytrace, 345 -> 359 on my demo), because dot products are turned into a series of multiplies and adds instead of a custom expansion of MULs and MACs, and by not splitting the variable types up we don't get tree grafting and thus there are extra moves of temporary storage. However, register count drops for the non-GLSL path (64 -> 56 on my demo shader) because the register allocator sees all the sub-operations.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_fs_channel_expressions.cpp
rivers/dri/i965/brw_wm.h
|
a1bebf73dfdaf2cd23286aa74271b87166589901 |
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Start building 965 FS backend.
rivers/dri/Makefile.template
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fs.cpp
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm.h
ain/shaderobj.c
ain/shaderobj.h
|
264ba1ab88f273dc92add8018f24edcdd67fa5e5 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't assume that an ir_dereference_array is of a variable. Fixes: glsl-array-bounds-02 (software) glsl-array-bounds-04 glsl-array-bounds-06 (software) glsl-array-bounds-08
rogram/ir_to_mesa.cpp
|
9b4384c32233c6d75021bcc67552b7ea9dc56de6 |
26-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_format.c
|
9629dbf4f2adc42bbc99f3c830be288a7b150f6a |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for destination RelAddr writes in the VS. Fixes: glsl-vs-varying-array
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_vs_emit.c
|
b72c85df5567713293452db6b60c537cd913dcc1 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the test for variable indexing of shader inputs. Shader inputs appear in source registers, not dst registers. Catches unsupported shaders in glsl-fs-varying-array and Humus RaytracedShadows.
rivers/dri/i965/brw_program.c
|
86ddb356e8278423ef41125be627e57e073471d1 |
26-Aug-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add missing packed depth/stencil formats in st_format_datatype() Fixes llvmpipe regression from one of the prev commits.
tate_tracker/st_format.c
|
7b07674667e8e34c936c417ab6f1c2e33093205b |
26-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix mixed-up function call name
ain/framebuffer.c
|
e71a9042cb5e046072d2ea8fbd22a01de625bf8a |
26-Aug-2010 |
Nick Bowler <nbowler@draconx.ca> |
mesa: Identify packed depth/stencil buffers using the Format field. Intel sometimes uses packed depth/stencil buffers even when only a depth buffer or only a stencil buffer was requested. Common code currently uses the _BaseFormat field to determine whether a depth/stencil wrapper is necessary. But unless the user explicitly requested a packed depth/stencil buffer, the _BaseFormat field does not encode this information, and the required wrappers are not created. The problem was introduced by commit 45e76d2665b38b ("mesa: remove a bunch of gl_renderbuffer fields"), which killed off the _ActualFormat field upon which the decision to create a wrapper used to be made. This patch changes the logic to use the Format field instead, which is more like the old code. Fixes fdo bug 27590. Signed-off-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/formats.c
ain/formats.h
ain/framebuffer.c
|
bda941e1b895547d680b68eaf28ae2db11e6149f |
25-Aug-2010 |
Nick Bowler <nbowler@draconx.ca> |
intel: Merge identical cases in switch statement. Signed-off-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_fbo.c
|
0599509fc4e21a69bcbf121deacbc631c38ccfa2 |
26-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix vertex buffer size calculation when we dont know max_index we cannot calculate vb size from count anymore - just use the bo size. Also added an assert to remind that we dont handle GL_INT GL_DOUBLE upload when we dont' know max_index - will fix later
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
0f74efdef05c5c27b3137163d795dc91f34cc114 |
25-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Fix glEGLImageTargetTexture2DOES. stObj->pt should be set in st_bind_surface, just as in st_TexImage. On the other hand, st_TexImage should unreference stObj->pt. It also needs to initialize the texture image again as _mesa_clear_texture_object clears the image.
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_texture.c
|
41c095bf31cedf4f463e315e8dbad8a007985464 |
25-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Add support for surfaceless current contexts. A surfaceless current context is a context that is made current without draw and read framebuffers. Such contexts can only render to FBOs.
tate_tracker/st_manager.c
|
aa2f55883b9a4e8a192c5dcc97ae7fdab2a33e0a |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Disable the debug spam for x86 CPU detection with a compile-time flag. I don't know of any problems with CPU detection in years. Don't spam the user that was just looking to enable assertions with this stuff.
86/common_x86.c
|
7af8f7f164dba479de25aed835c890db39351d8d |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Move the x86 detection debug messages next to the detection.
86/common_x86.c
86/x86_xform.c
|
0673b46933735cf7a1a923b93ce88e99714decd6 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't warn when the desired result of s3tc lib available occurs.
ain/texcompress_s3tc.c
|
fdf054a585882d5f9497384749bf33842f5d1ec4 |
26-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecessary headers.
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_context.c
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_vertprog.c
|
d430aea8bc0e74a657236d04584607443549b378 |
26-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Remove unnecessary header.
rivers/dri/r300/r300_fragprog_common.c
|
b2872ea353efd117fcc4d22f0ca66a26f95a14c4 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH." This reverts commit 001a7bfdfc8b3c8930d5ced21982dbdfb8cd35b3. I hadn't found the section of the spec clarifying that the old behavior was right. Reverting fixes the new version of the testcase, and the Humus demos that could no longer find their uniforms. Bug #29782 Bug #29783
ain/shaderapi.c
|
a1f2ac2b37b8291d1521169b171f6c3ea683cae7 |
26-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix detection of implicit MOVs to message regs in brw_optimize.c. Texcoords in AmbientApertureLighting were getting trashed since the move of math arguments to implied moves, due to the logic for detecting ALU message reg writes overriding the logic for SEND implicit message reg writes.
rivers/dri/i965/brw_optimize.c
|
b5c07b9226d8e7de78f6367b5799b39caf820ef3 |
25-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove now-unused _mesa_add_sampler(). We do the generation of "what sampler number within Parameters are we" right in ir_to_mesa.cpp, instead of repeatedly walking the existing list to find out.
rogram/prog_parameter.c
rogram/prog_parameter.h
|
aa452e20bff9aea2ecb994c9f7b413b0726a04f3 |
25-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for samplers in structures. Fixes: glsl-fs-uniform-sampler-struct glsl-fs-sampler-numbering-3 Bug #29690
rogram/ir_to_mesa.cpp
|
9ab1332d749e8e7eda2896c25725e245fd0f8444 |
25-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove now-unused _mesa_add_uniform. We had to inline it to avoid doing a double-lookup in the process of adding assertion checks.
rogram/prog_parameter.c
rogram/prog_parameter.h
|
0924ba0c3496160a134d37cec800f902ae805b9c |
24-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Convert this code to using linker.cpp's uniform locations. Fixes: glsl-fs-uniform-array-4.
rogram/ir_to_mesa.cpp
rogram/prog_uniform.h
|
ea2231ff5e4ced36bdb65ccdd02a1008fb8bfce7 |
25-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the "Used" flag in gl_program_parameter. This was in place for uniform handling, but nothing actually needs the value now, since presence in a parameter list indicates that the uniform was used as far as the linker was concerned.
rogram/ir_to_mesa.cpp
rogram/prog_parameter.c
rogram/prog_parameter.h
|
bcca7fd5d56890a05527e09f5abef0449398f95e |
25-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: emulate relative addressing with negative offsets in VS 3 more piglits, cool.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
92cfcc2afdb796cc702cb0430ffcf98704c0a880 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_draw_feedback.c
|
653ddaab2636764b9e7999fa39b37edde7fe7c6d |
25-Aug-2010 |
Aras Pranckevicius <aras@unity3d.com> |
glsl/mesa: fixes for MSVC Signed-off-by: Brian Paul <brianp@vmware.com>
ain/imports.h
|
f301932dba4cc75e810e0c051e39247128a899fc |
07-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Support EGL_MESA_image_drm
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
9087ba128089ed0dc00e6eb38f37126fb7557d3b |
04-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Take an intel_screen pointer in intel_alloc_region_* functions
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
22f6026324f63c142925244ff575fefc29a90389 |
25-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Use draw_set_index_buffer and others. Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
tate_tracker/st_draw_feedback.c
|
cc4925bfe6915010caf03e5aa041ba1fdf0a422f |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary header.
rivers/dri/i965/brw_state_upload.c
|
a8177e745654c332592fad12cbd49d1e6ab1c029 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Include missing header in evergreen_fragprog.c. Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_fragprog.c: In function 'evergreenSetupFragmentProgram': evergreen_fragprog.c:521: warning: implicit declaration of function 'r600EmitShader' evergreen_fragprog.c:778: warning: implicit declaration of function 'r600EmitShaderConsts'
rivers/dri/r600/evergreen_fragprog.c
|
cab86cb765bedb625b56398c9d312f55c9a24006 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Include missing header in evergreen_vertprog.c. Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_vertprog.c:614: warning: implicit declaration of function 'r600EmitShader' evergreen_vertprog.c:701: warning: implicit declaration of function 'r600EmitShaderConsts'
rivers/dri/r600/evergreen_vertprog.c
|
0ae6b30c147e6a237cd4e6338975e46de5a95565 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Silence uninitialized variable warning. The variable loops would be used uninitialized if it ever processed a RC_OPCODE_ENDLOOP case first. This patch initalizes the loops variable to NULL and adds an assert at the RC_OPCODE_ENDLOOP case that loops isn't NULL. Silence the following GCC warning. r3xx_vertprog.c: In function 'translate_vertex_program': r3xx_vertprog.c:469: warning: 'loops' may be used uninitialized in this function
rivers/dri/r300/compiler/r3xx_vertprog.c
|
19f9340e6741611779ec2b78b60f521330984077 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r300g: Add missing comma in SConscript. This is a follow-on patch to commit 574ba4b5f50bfe661427327cd792a8a200559376. Fixes r300g SCons build.
rivers/dri/r300/compiler/SConscript
|
3a97ec7f4833ff62fa1b533de693a41ae49f1fef |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Include missing header in evergreen_render.c. Fixes the following GCC warning. evergreen_render.c: In function 'evergreenTryDrawPrims': evergreen_render.c:836: error: implicit declaration of function 'evergreenSetupFragmentProgram'
rivers/dri/r600/evergreen_render.c
|
8cf7eaf3ffd22d60d4f163ac169faa820fbf0c27 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unused variable. Silences the following GCC warning. evergreen_state.c: In function 'evergreenSetBlendState': evergreen_state.c:341: warning: unused variable 'id'
rivers/dri/r600/evergreen_state.c
|
e96b3110373e8f15c3ba1de5ab561c9885e0003b |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Fix printf format warnings on 32-bit builds.
rivers/dri/i965/brw_wm_debug.c
|
3db9d4b2534288931a80137434bcf8ee02b7253f |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unused variable. Fixes the following GCC warning. r600_emit.c In function 'r600AllocShaderConsts': r600_emit.c:59: warning: unused variable 'out'
rivers/dri/r600/r600_emit.c
|
67925c6cd6710ca70a0d926438d79a59937fd3c6 |
25-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove spaces between backslash and newline. Fixes the following GCC warnings. r600_cmdbuf.h:201: warning: backslash and newline separated by space r600_cmdbuf.h:202: warning: backslash and newline separated by space
rivers/dri/r600/r600_cmdbuf.h
|
574ba4b5f50bfe661427327cd792a8a200559376 |
23-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement elimination of unused constants Wine likes to create a *lot* of constants, exceeding the size of the constant file in hw.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_remove_constants.c
rivers/dri/r300/compiler/radeon_remove_constants.h
|
4b9b2a3cdc6a809b2e583a21b888ed59e5c20aec |
23-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: terminate vertex shader compilation immediately after an error Also rename "compiler" to "c".
rivers/dri/r300/compiler/r3xx_vertprog.c
|
1802007ee9d63f71d1f372a80b169b6291daa378 |
22-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fail to compile if we hit hw limits or an unimplemented feature i.e. relative addressing (mainly FS), saturate modifiers, exceeding the maximum number of constants.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_pair_translate.c
|
6c88f84bddf4b61f8306c5e0eb48642cb636bd58 |
22-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: handle indexable temporaries correctly in deadcode elimination
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
|
3aee8c3b1d10f8e8978c1b902aff4347684d4e79 |
22-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: disable register allocation for indexable temporaries in VS If there is relative addressing of temporaries, we cannot change register indices, so skip register allocation entirely. To utilize register allocation at least partially, we need separate indexable and non-indexable register files in both TGSI and Mesa IR.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
5755d1d6a7ff68c7d690d67c4cd64ef8e01ec2ed |
22-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
ir_to_mesa: set IndirectRegisterFiles This fixes relative addressing of temporaries (and maybe others) in all gallium drivers. Acked on irc by Eric Anholt.
rogram/ir_to_mesa.cpp
|
2f5bf20e44d509fa3afbe2cfbb9bb65347daea6a |
25-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl: Set up uniform initializers by walking the shaders after linking. Previously, uniform initializers were handled by ir_to_mesa as it made its Parameters list. However, uniform values are global to all shaders, and the value set in one Parameters list wasn't propagated to the other gl_program->Parameters lists. By going back through the general Mesa uniform handling, we make sure that all gl_programs get updated values, and also successfully separate uniform initializer handling from ir_to_mesa gl_program generation. Fixes: glsl-uniform-initializer-5.
ain/uniforms.c
ain/uniforms.h
rogram/ir_to_mesa.cpp
|
ad58f0d9e021065d8e6d82e1aa7387dcd206f86e |
24-Aug-2010 |
Brian Paul <brianp@vmware.com> |
make: Use C++ compiler to link stdc++ library. glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
rivers/x11/Makefile
|
0eb2026c8767d6e1f68e6b07f35a9aca9ed757c7 |
18-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
prog_execute: Implement OPCODE_TXL Fixes bugzilla #29628
rogram/prog_execute.c
|
f82163b01260edf2c1bf6905846f74bf001d7139 |
24-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added isblank() for MSVC
ain/imports.h
|
9dd95b46c80e71eb858c373b636ad04c69c0d15d |
24-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove extraneous semicolon.
ain/core.h
|
f90b5936d07c4c8f280318ab5cf5894ecb67aef6 |
23-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add core.h. core.h is the public header of core mesa. GLX, WGL, and GLSL are supposed to include this header file. It should be noted that headers included by core.h must not perform feature tests (#if FEATURE_xxx). Otherwise, we cannot, for example, mix a FEATURE_ES2 libmesagallium.a with a FEATURE_GL libglsl.a.
ain/core.h
ain/dd.h
ain/mtypes.h
|
e0564d56b1d3bc339b7a9cd232df4b042a93aab2 |
24-Aug-2010 |
Eric Anholt <eric@anholt.net> |
intel: Add support for MAX_SAMPLES=1 EXT_framebuffer_multisample. The spec specifically sets the minimum MAX_SAMPLES at 1 to allow exposing the extension on all implementations, so do so.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
|
d1b4f4034796e607371536d43370c6fefc22811c |
24-Aug-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: print chip family for evergreen in renderer string
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
|
5e9ac94cc44ef4f97063d7b696411b2a4be16f36 |
23-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Add new ir_unop_any() expression operation. The previous any() implementation would generate arg0.x || arg0.y || arg0.z. Having an expression operation for this makes it easy for the backend to generate something easier (DPn + SNE for 915 FS, .any predication on 965 VS)
rogram/ir_to_mesa.cpp
|
66afcb560771b6ba6ad668156e9f442e86b9a7a2 |
23-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Implement f2b by comparing the arg to 0, not the result. Fixes: glsl-fs-any
rogram/ir_to_mesa.cpp
|
6dad5a4e8d5c4ea90bb9342e329defb9c8eb2092 |
13-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Include imports.h to get snprintf wrapper for MSVC Signed-off-by: José Fonseca <jfonseca@vmware.com>
ain/imports.h
|
44a6c13ac33fc00fc4d0cf7435ac23eaa8058300 |
23-Aug-2010 |
Aras Pranckevicius <aras@unity3d.com> |
mesa: Fix msvc build of glsl. Signed-off-by: José Fonseca <jfonseca@vmware.com>
ain/imports.h
|
ebef04011736ea8e13692fed87623d425c4d1b08 |
23-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix constant array handling to return the temp we created. We ended up returning CONST[loc] rather than TEMP[loc2]. Things would *usually* end up working out OK, since the constants often ended up getting allocated to CONST[loc..loc+columns] with no swizzle. But for the case where the contigous temporary copy of the swizzled constant vec4 args was actually needed, we'd end up reading some other constant values, possibly including ones not actually allocated. Fixes: glsl-varying-mat3x2.
rogram/ir_to_mesa.cpp
|
001a7bfdfc8b3c8930d5ced21982dbdfb8cd35b3 |
23-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH. Fixes: glsl-getactiveuniform-length.
ain/shaderapi.c
|
0c878280506767c38887b71b45af2cb64a0f4abd |
21-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Assorted fixes for es_generator.py on win32. Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function prototype should never be empty.
ain/es_generator.py
|
8a537b2fb856d27f49235d9f5684901f1213214c |
23-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add sandybridge D0 pci ids Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/intel/intel_chipset.h
|
cfc4d866566c5b2d584cdc998e6540733190ea05 |
14-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement depth-only blit for BlitFramebuffer Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_blit.c
|
36e523f4a3383bc9e6170d0bc959ba9ffdb85016 |
14-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix BlitFramebuffer for D24S8 textures This is the same issue as in the previous patch, but here the Blit is not implemented for separate depth and stencil buffers at all (such a configuration is not supported in Gallium) and the code incorrectly treated a D24S8 texture as two separate buffers, making this Blit a no-op. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_blit.c
|
24bd9780bcf400a00f6fc5a89b1648c7e3b7df07 |
23-Aug-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: added st_is_depth_stencil_combined() function This code is part of a patch by Marek Olšák.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
6b90d1b1acaaf42b9c8b787d0dac54ac74d4fdcc |
23-Aug-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix ReadPixels crashes when reading depth/stencil from a FBO This is based on a patch from Marek Olšák. NOTE: This is a candidate for the Mesa 7.8 branch.
tate_tracker/st_cb_readpixels.c
|
c94256e83b6d482cb0c92e09b9f3275894fdc1b8 |
23-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use driver hook for creating new renderbuffers
ain/depthstencil.c
|
ed57286b75e337b29204cc998462a50a6fe47bc2 |
23-Aug-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-up pipe_get_transfer() calls
tate_tracker/st_cb_readpixels.c
|
52e9520274c797f55af5f515a3f203515b6cb231 |
22-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix 8-wide FB writes on gen6. My merge of Zhenyu's patch on top of my previous patches broke it by my code expecting simd16 single write and Zhenyu's simd8 path being disabled by mine. Merge the two for success.
rivers/dri/i965/brw_wm_emit.c
|
250fccecc81e2ad8a63efaccae85793fbffd0a37 |
22-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix brw_math1 with scalar argument in gen6 FS. The docs claim two conflicting things: One, that a scalar source is supported. Two, source hstride must be 1 and width must be exec size. So splat a constant argument out into a full reg to operate on, since violating the second set of constraints is clearly failing. The alternative here might be to do a 1-wide exec on a constant argument for math1. It would probably save cycles too. But I'll leave that for the glsl2-965 branch. Fixes glsl-algebraic-div-one-2.shader_test.
rivers/dri/i965/brw_wm_emit.c
|
556f19415a5210aacd52d652b8aae6e58c44e4ed |
22-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up WM push constant setup on gen6. Fixes glsl-algebraic-add-add-1.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_wm_state.c
|
527a9a4de218cae89d7faf92788f88ce1f9387b6 |
22-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use intel->gen >= 6 instead of IS_GEN6.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
|
48c289fb552a3d363b505514b6ea22467f00e318 |
22-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize member variables in ir_to_mesa_src_reg constructor. The default constructor did not initialize some member variables.
rogram/ir_to_mesa.cpp
|
405546882a010885d342b0b40392de0da289374e |
22-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize variables in mesa_src_reg_from_ir_src_reg.
rogram/ir_to_mesa.cpp
|
ce9a6e6a7d855bac9bc088a97a19373bb0484829 |
21-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Removed another unused variable.
tate_tracker/st_cb_drawpixels.c
|
a5888d3113f4d1010c38f5925da912f08cfae519 |
21-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Remove unsused local variable.
tate_tracker/st_cb_drawpixels.c
|
0eac4b8740d4434037677166f2339e894d4ebac4 |
21-Aug-2010 |
richard <richard@richard-desktop3.(none)> |
evergreen : initial support driver code.
rivers/dri/r600/Makefile
rivers/dri/r600/evergreen_chip.c
rivers/dri/r600/evergreen_chip.h
rivers/dri/r600/evergreen_context.c
rivers/dri/r600/evergreen_context.h
rivers/dri/r600/evergreen_diff.h
rivers/dri/r600/evergreen_fragprog.c
rivers/dri/r600/evergreen_fragprog.h
rivers/dri/r600/evergreen_ioctl.c
rivers/dri/r600/evergreen_ioctl.h
rivers/dri/r600/evergreen_off.h
rivers/dri/r600/evergreen_oglprog.c
rivers/dri/r600/evergreen_oglprog.h
rivers/dri/r600/evergreen_render.c
rivers/dri/r600/evergreen_sq.h
rivers/dri/r600/evergreen_state.c
rivers/dri/r600/evergreen_state.h
rivers/dri/r600/evergreen_tex.c
rivers/dri/r600/evergreen_tex.h
rivers/dri/r600/evergreen_vertprog.c
rivers/dri/r600/evergreen_vertprog.h
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.c
|
501c9dc62774a73c080d500a1eab773b0da9577e |
17-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Rename nr_depth_regs to nr_payload_regs. Only 8 out of the up to 13 regs are for source/dest depth, so the name wasn't particularly appropriate. Note that this doesn't count the constant or URB payload regs. Also, don't pre-divide by 2, so it's actually a number of registers.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_iz.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass2.c
|
e6ec500e19f455237828f4f3955f888ad0b56382 |
21-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Also use the SIMD8 FB writes for SIMD8 mode on non-SNB.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
|
5266c0a0c82de625ccac57e7559f57399f761e9e |
21-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add support for FB writes on Sandybridge.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
|
3ce2eccbfb925a3af0b91a89a9f7a3603fa45d2d |
21-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Set the destination horiz stride even for da16, as SNB seems to need it.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
35c127362f7b0c186923934f34148de319093cbf |
20-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Set the maximum number of threads on Sandybridge.
rivers/dri/i965/brw_context.c
|
93ba0055c325007656c14ba38302e21be3dc599f |
20-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add AccWrCtl support on Sandybridge. Whenever the accumulator results are needed, this bit must be set.
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs_emit.c
|
ffb5095d56c0f58a35e12d40bb4ffc869e4071bd |
20-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Mention the mlen and rlen for URB reads.
rivers/dri/i965/brw_disasm.c
|
da1502494b63fcd65bc60f50e59241164481f8b3 |
20-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Sandybridge doesn't have Compr4 mode, since it's not needed any more.
rivers/dri/i965/brw_context.c
|
0e2d0cc577270f86691d6bb84a50d11e3a6d0754 |
20-Aug-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Adjust disasm of subreg numbers to be in units of the register type. This makes reading the code easier when matching up to the specs, which also use this format.
rivers/dri/i965/brw_disasm.c
|
b7004350fac622ce4b45a31773ac7b0c186e66d6 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix DP write channel ordering on Sandybridge. The SIMD16 message no longer has the goofy interleaved format that made Compr4 compression necessary before.
rivers/dri/i965/brw_wm_emit.c
|
7f80041efae5be95ef53b8164e67027d234f9574 |
20-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Delete more vestiges of the old shader compiler.
Conscript
ources.mak
|
d6cc7191daa249463b20e2965dc1006288539b1e |
20-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor.
rogram/ir_to_mesa.cpp
|
c3e3793c325e36366165a5d1403a8c406ff200db |
18-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: add missing ambient field to gl_LightModel Again, this is a one-element struct that was incorrectly missing the field.
rogram/ir_to_mesa.cpp
|
fc76d7276393a4617f9898214bc397bb65634b02 |
18-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: don't crash if a field is specified for a non-struct uniform This was triggered by the previous bug, but is a separate problem in the general sense.
rogram/ir_to_mesa.cpp
|
c108a7927d1dad9e0f641a0ec5a7387fb2626156 |
18-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: add missing sceneColor field to gl_{Front, Back}LightModelProduct According to both GLSL 1.20 and 4.0, these are a struct with one field called "sceneColor". Fixes a crash on loading in FlightGear.
rogram/ir_to_mesa.cpp
|
27e6552a8fb0fd49be84fbaf9504e8371033db23 |
20-Aug-2010 |
Eric Anholt <eric@anholt.net> |
intel: Don't try to do work for BufferSubData with a size of 0. If we hit the linear blit path, we'd come up with a pitch of 0, then divide by zero. Fixes vbo-subdata-zero, made for bug #28931 (warsow).
rivers/dri/intel/intel_buffer_objects.c
|
5482eaba6ecd4a581377336b6409019adf67869e |
19-Aug-2010 |
Nick Bowler <nbowler@draconx.ca> |
mesa: Fix GetUniformLocation while compiling display lists. This function was apparently missing from the display list dispatch table, causing the generic no-op function to be called instead. To make matters worse, the no-op function is indistinguishable from a successful call to GetUniformLocation. GL specifies that GetUniformLocation is executed immediately when compiling display lists. Fixes fdo bug 29622. Signed-off-by: Nick Bowler <nbowler@draconx.ca>
ain/dlist.c
|
284ce20901b0c2cfab1d952cc129b8f3cd068f12 |
20-Aug-2010 |
Eric Anholt <eric@anholt.net> |
Remove remnants of the old glsl compiler.
rivers/glslcompiler/Makefile
rivers/glslcompiler/glslcompiler.c
lang/descrip.mms
lang/library/.gitignore
lang/library/Makefile
lang/library/SConscript
lang/library/slang_120_core.gc
lang/library/slang_builtin_120_common.gc
lang/library/slang_builtin_120_fragment.gc
lang/library/slang_common_builtin.gc
lang/library/slang_core.gc
lang/library/slang_fragment_builtin.gc
lang/library/slang_geometry_builtin.gc
lang/library/slang_vertex_builtin.gc
lang/slang_builtin.c
lang/slang_builtin.h
lang/slang_codegen.c
lang/slang_codegen.h
lang/slang_compile.c
lang/slang_compile.h
lang/slang_compile_function.c
lang/slang_compile_function.h
lang/slang_compile_operation.c
lang/slang_compile_operation.h
lang/slang_compile_struct.c
lang/slang_compile_struct.h
lang/slang_compile_variable.c
lang/slang_compile_variable.h
lang/slang_emit.c
lang/slang_emit.h
lang/slang_ir.c
lang/slang_ir.h
lang/slang_label.c
lang/slang_label.h
lang/slang_link.c
lang/slang_link.h
lang/slang_log.c
lang/slang_log.h
lang/slang_mem.c
lang/slang_mem.h
lang/slang_print.c
lang/slang_print.h
lang/slang_simplify.c
lang/slang_simplify.h
lang/slang_storage.c
lang/slang_storage.h
lang/slang_typeinfo.c
lang/slang_typeinfo.h
lang/slang_utility.c
lang/slang_utility.h
lang/slang_vartable.c
lang/slang_vartable.h
|
cfc00817407932346d1b977d2f3c24394b4a3336 |
19-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add missing ES sources to SConscript. These sources compile to nothing when FEATURE_ES is not defined and thus were overlooked. Note that api_exec_es[12].c are still missing on the list. They should be added when they can be generated on the fly.
Conscript
|
ae2ace64f49a39e72eff393b8569653647b8b94f |
19-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Decorate functions with GL_APIENTRY in es_generator.py. Note that GLES headers use GL_APIENTRY, not GLAPIENTRY.
ain/es_generator.py
|
8043bf555e14cf20826753d59d66d0cef7a5e5a0 |
20-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Include compiler.h for ASSERT. mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h.
ain/accum.h
ain/attrib.h
ain/colortab.h
ain/convolve.h
ain/dlist.h
ain/feedback.h
tate_tracker/st_cb_accum.h
|
4df17f9dfea527b83a896aabd9944e3563cb4a0e |
20-Aug-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: fix code/declaration mixing
tate_tracker/st_cb_bitmap.c
|
7f15dca6d963b0a69131e8761c477064dba49307 |
15-Apr-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: use PIPE_TEXTURE_RECT for GL_TEXTURE_RECTANGLE
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
3070e0ea41ab4aa24804e8fd26895924a8583830 |
06-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: support using PIPE_TEXTURE_RECT internally Currently Gallium internals always use PIPE_TEXTURE_2D and normalized coordinates to access textures. However, PIPE_TEXTURE_2D is not always supported for NPOT textures, and PIPE_TEXTURE_RECT requires unnormalized coordinates. Hence, this change adds support for both kinds of normalization.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
ae0ef6f69f351cacdc7eaa9b21097a7c1b414e44 |
18-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
tate_tracker/st_cb_bitmap.c
|
9b3362932df0ec27efd605dfd0838c76111bb23e |
20-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Fix compile warnings on 64-bit Linux. format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
rivers/dri/i965/brw_wm_debug.c
|
48dca27e33b333ee7ed16287a348db16eef02ac1 |
20-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Silence uninitialized variable warnings in dummy_enum_func.
ain/context.c
|
11726c4e867c78c4b7aca2ea04d1dfa19ae622fb |
19-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Remove unnecessary header from i830_context.c.
rivers/dri/i915/i830_context.c
|
8de8c97275e9555183a7e8f2238143657bbe60b2 |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the if stack pop count when breaking out of a loop inside an if. Otherwise, we might end up with the if stack pointing at the wrong place. Fixes GPU hang with glsl-vs-if-loop.
rivers/dri/i965/brw_vs_emit.c
|
bad29dc6dad7ed1bff46c67e61dab01f8d82b557 |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't set the swizzle on an immediate value in the VS. Fixes glsl-vs-if-nested (70.0 is not <= 70.000648 thanks to the swizzle bits getting set). Some safety checks are added to make sure this doesn't happen again as we increase the usage of immediate values in program generation.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_vs_emit.c
|
af2ef53a2701426d32382e861d8f238a449e9cd9 |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix the whining for link failures to actually be under MESA_GLSL=dump.
rogram/ir_to_mesa.cpp
|
a575067d7029c7af3bb6d650d6bd944ac8bb6bb7 |
19-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary heaaders from shaderapi.c.
ain/shaderapi.c
|
f5703a54e2f765237e01eef6ddbd019ca6a58e81 |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't try to free components of a NULL uniform list. This might happen if we manage to trigger the right linker errors.
rogram/prog_uniform.c
|
49dfa89873403967d9f99d08d2e25042dea544e0 |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix leak by improper freeing of a uniform list.
rogram/ir_to_mesa.cpp
|
b83846475bac76268d75f53632faf8aad8cad02c |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Free the shader compiler at dri screen destruction. Hooray, we can valgrind again without adding suppressions. This also adds an interface for use by an implementation of glReleaseShaderCompiler().
rivers/dri/common/dri_util.c
|
3cd233eb5714137dccb6218ad78005511bcc02bd |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't leak the whole linked assembly program.
rogram/ir_to_mesa.cpp
|
a482e033082bb0794fdf56c47dd76d949afde6fa |
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
dri2: Clean up the common dri2 options at screen destroy.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
e1c7f3af0cb6769ef20a954459cfb87b9f99b4d6 |
18-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: fpclassify is available on OpenSolaris. There is no explicit predefined macro to distinguish between OpenSolaris and Solaris. This patch assumes that the difference is in the compilers. OpenSolaris uses GCC and not the Sun Studio compiler. Assume that the availability of fpclassify is due to GCC. This patch was not tested on Solaris. It would break the build on Solaris with GCC if GCC on Solaris does not have fpclassify.
ain/querymatrix.c
|
3ef83d270b2c24867a0d020b81bdc6c54cb1c9b0 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix leak of set_branchtargets temp data.
rogram/ir_to_mesa.cpp
|
850c659044d081c53713800cacf8d518fae6cd70 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Stop leaking the ir_instruction * annotation of our compile.
rogram/ir_to_mesa.cpp
|
56a0690a81cd6a0e7db4c041430ca38e5063e145 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Free linked shaders when deleting the shader program.
ain/shaderobj.c
|
5d0f430e8ed01db29d11d22e4b6c3760d8c39f8f |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Free old linked shaders when relinking new shaders.
rogram/ir_to_mesa.cpp
|
abc6d7e0b4b04c75129d24c3cb6f021b92cd46f6 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Free the ir_to_mesa temporary storage when we're done.
rogram/ir_to_mesa.cpp
|
4a6a4316846ead3ec12759c96ecc4b61491aad65 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Hang the compiled shader off the shader->ir, not the shader. Otherwise, with repeated program recompile, we never free the results of the previous compile.
rogram/ir_to_mesa.cpp
|
0df61bdb669d03d9c25e49d5698f193deca3cf6d |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Make MESA_GLSL=dump include when compile/link fails, and the info log.
rogram/ir_to_mesa.cpp
|
d442a01ac14382d83cdaac87d2832315ceb3e963 |
18-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: implement SSG instruction
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
c17d5de593fbfee91b799894b1c1a8a37a6a9c95 |
18-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: implement DP2 opcode
rivers/dri/r600/r700_assembler.c
|
35220fc5981045331b4f048f0fc2e1371a0673ed |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Allow ir_return in main(). I didn't expect that this would really work, but it turns out there are shaders in the wild that do it. Fixes: (with swrast) glsl-fs-main-return glsl-vs-main-return
rogram/ir_to_mesa.cpp
|
1cdef8e90a33d982d8ce5ae73eb224e078a2054b |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Throw a link error when we see a "return" in main(). We'll need to use the HALT instruction to do this right, like returns from other functions.
rivers/dri/i965/brw_program.c
|
6992c3c3739dad249e8c396057d5cbeedcdf91de |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix implementation of ir_binop_equal, ir_binop_notequal. These binops are the vector-to-bool comparisons, not vec-to-bvec. We likely want both operations avilable as expression, since 915 and 965 FS naturally does the vector version, while 965 VS can also naturally do the scalar version. However, we can save that until later. Fixes: glsl-fs-vec4-operator-equal.shader_test glsl-fs-vec4-operator-notequal.shader_test glsl-vs-vec4-operator-equal.shader_test glsl-vs-vec4-operator-notequal.shader_test
rogram/ir_to_mesa.cpp
|
02e16398292825924d4c7ffb884961275dbadacd |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i915: Add support for SSG opcode. Fixes glsl-fs-sign and many of the tests of trig builtins.
rivers/dri/i915/i915_fragprog.c
|
e43b250fc076aea9e4b5319fdf409e95b28ac8fc |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i915: Add support for reading output regs in the FS. Fixes glsl-unused-varying and many others, since we produce an output reg read any time gl_FragColor is written inside an if statement.
rivers/dri/i915/i915_fragprog.c
|
66690864efb9ab1077f87744e1afec3231f244f6 |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i915: Add support for OPCODE_DP2. Fixes glsl-fs-dot-vec2.
rivers/dri/i915/i915_fragprog.c
|
a58514cc9c5cc5867f9140700462c5ac5749550d |
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i915: Enable ARB_fragment_shader by default. Now that we have glsl2 with if flattening in place, most shaders will just work. Remaining failing shaders will mostly be due to loop unrolling (in progress), some possible if flattening failures in inlining functions (planning on fixing), and the register/instruction count limits. While the GLSL and GLSL-ES specs say that shaders shouldn't fail to compile/link due to register/instruction limits, in practice we're not the first vendor to expose GLSL on hardware with these limitations. The benefit to application developers of providing a better language for GPU programming is greater than the pain of having to handle instruction limits (which they had to for ARB_fp on this hardware anyway)
rivers/dri/intel/intel_screen.c
|
8f5f44c9c8fa59e36efdf1acf3543ad81cb865d5 |
18-Aug-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600c: Handle reads from PROGRAM_OUTPUT with glsl2, reads from outputs are legal
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
5a38e70d59eb54aa375fb0f19c824bb74b71486d |
17-Aug-2010 |
Benjamin Segovia <benjamin.segovia@intel.com> |
prog_optimize: Only merge writes to temporary registers In one optimization pass, register files may have been messed therefore merging instructions which use the same index in two different register files.
rogram/prog_optimize.c
|
147ca9f3fc107b58bd6e1504c997af82a37de5ec |
17-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for DP2 in the VS. Fixes glsl-vs-dot-vec2.
rivers/dri/i965/brw_vs_emit.c
|
1b708d8f4dd1a853de8537e81e6d5bf8c9f2aed1 |
17-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Dump shader source before validating the shader. This will make extracting source to produce minimal testcases for shader compile issues easier.
rogram/ir_to_mesa.cpp
|
6cee1d6adfba45508e181ad61377dfc95cf82674 |
17-Aug-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: fix dword miscount in blit emit code
rivers/dri/r600/r600_blit.c
|
0aa41e1d9677bde9ed00751730acd23d636993eb |
17-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: fix es1/2 build hopefully needed to add cpp rules and includes properly for es1/es2
akefile
|
00ce188eb8d6f5c3f345ad674f1aa49ee5940db5 |
17-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the implied move available in most brw_wm_emit brw_math() calls. This saves an extra message reg move in the program, though I'm not clear on whether it will have any performance impact other than cache footprint. It will also fix those math calls on Sandybridge, where the brw_eu_emit.c brw_math() support relies on the implied move being used.
rivers/dri/i965/brw_wm_emit.c
|
62383ae6fe5d2ca092e8f9d8dae2ba9562e03d95 |
09-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for Compr4 instruction compression.
rivers/dri/i965/brw_disasm.c
|
6c03c576cc49bbb008de66d374f4302ff0fe0390 |
17-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'glsl2' Conflicts: src/mesa/program/prog_optimize.c
|
fc63e37b971b641dfdff000ba353c4810414c20e |
16-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Silence unused variable warnings
rogram/ir_to_mesa.cpp
|
68772031e6242aa78864dc9c7c1a607aec5ee7b9 |
16-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Clean up assertions in ir_to_mesa_visitor::visit(ir_texture *)
rogram/ir_to_mesa.cpp
|
0bf63733e54b47daf9f50c32a1fca4039c82def2 |
16-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Support texture rectangle targets
rogram/ir_to_mesa.cpp
|
5ff769b21d39c8f78c309351aca5869eda0ccba3 |
16-Aug-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: blit emit updates - set VGT_MAX_VTX_INDX to a larger value - emit PA_SC_AA_CONFIG. The command checker in 2.6.36+ requires this reg.
rivers/dri/r600/r600_blit.c
|
9d4a0d7d4df3934cdefe4fe1118603e618d59831 |
13-Aug-2010 |
nobled <nobled@dreamwidth.org> |
st/mesa: test for FEATURE defines 'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist.
tate_tracker/st_cb_fbo.c
|
70f9f5f7d4f1daadfcddc0fb0fea324c38353004 |
13-Jul-2010 |
nobled <nobled2@nobled2-karmic.(none)> |
dri/nouveau: test for FEATURE defines 'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist.
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fbo.c
|
234a06517185efd972ec162bf9536183c5bc04c3 |
13-Jul-2010 |
nobled <nobled2@nobled2-karmic.(none)> |
dri/radeon: test for FEATURE defines 'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist.
rivers/dri/radeon/radeon_fbo.c
|
3261c6c41edeed31fb6f667a7ba21b225b12323a |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Remove unnecessary header from sse.h.
86/sse.h
|
2144f8e95e67cb4743ce7eaf490c9983c888fea4 |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Include missing headers in mmx.h. Include compiler.h for _ASMAPI symbol. Include mtypes.h for GLcontext symbol.
86/mmx.h
|
51f979c347a86dfe322f276d4931c89f1682a445 |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Remove unnecessary header from 3dnow.h.
86/3dnow.h
|
15c7ce867caffead82b36421fd0c4d579dc0fa68 |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_typeinfo.h. Remove imports.h, mtypes.h, and slang_vartable.h. Include glheader.h for GL symbols.
lang/slang_typeinfo.h
|
9965ee55717770ff8a7e25c43aa0fb8d16c6701a |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_codegen.h. Include slang_vartable.h for slang_var_table symbol.
lang/slang_codegen.h
|
640139f80ccbde71c137c6a1979fdb3e0e70ae0a |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_compile_operation.h. Include compiler.h for INLINE symbol.
lang/slang_compile_operation.h
|
35a27f6fce0d8632c764127bb88f4537ccb9e54f |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_storage.h. Remove slang_compile.h. Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function_scope symbol. Include slang_compile_struct.h for slang_struct_scope symbol. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
lang/slang_storage.h
|
97590ebeb0800bd1cd41e2f8f64a4984208251c9 |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_mem.h. slang_mem.h Remove imports.h. Include glheader.h for GL symbols. slang_label.c Include imports.h now that slang_mem.c does not include it.
lang/slang_label.c
lang/slang_mem.h
|
5d2d5bf0c7efff46050340f65dba30fd63806963 |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_ir.h. Remove imports.h and slang_compile.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol.
lang/slang_ir.h
|
44ad729aa34f0cb343b3ed1d3e932231371d345f |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_link.c. Include slang_compile.h for _slang_compile function.
lang/slang_link.c
|
43ba1f63c796923d2a85fd551b9065ee0c6e0eea |
16-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_builtin.c. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_compiler_struct.h for slang_struct_ symbol.
lang/slang_builtin.c
|
83baa8a6c5541829003bbffe1d2b8cee5a0263fd |
16-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove output register reads inside shaders This is a GLSL2 regression fix.
tate_tracker/st_program.c
|
27eb2e275544d78a229eaded9bafc0db60172675 |
15-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement DP2 opcode
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program_alu.c
|
b217167056970a9b7d09b7ffe863f013c2083395 |
15-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SSG opcode
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program_alu.c
|
b97ab20f29c4afa708e9176331d6a20551a308ac |
15-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix allocation of temporaries in radeonTransformTEX
rivers/dri/r300/compiler/radeon_program_tex.c
|
a0b0afc6944b00df27145a96ad2727a36752e1d6 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Check that _XOPEN_SOURCE is defined before using it.
ain/imports.h
|
d375cb869e1ea3baa191b7a0fbc2d606843bddec |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Fix self inclusion in slang_compile_function.h. Fix self inclusion introduced by commit 4fef77c7c5455b983daa93cacf90d2b3baa3967e.
lang/slang_compile_function.h
|
6f2077e1abe6467275fa030ed0e6f54d7f93e263 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_ir.h. Include prog_instruction.h for gl_inst_opcode symbol.
lang/slang_ir.h
|
babea9f1f600d78363122d19259165ef46932189 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_link.h. Remove slang_compile.h. Include mtypes.h for GLcontext symbol.
lang/slang_link.h
|
c4e99500f4be87997e9348d32a452e2f191b0cbf |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_label.h. Move mtypes.h and prog_instruction.h to slang_label.c. Remove imports.h. Include glheader.h from GL symbols.
lang/slang_label.c
lang/slang_label.h
|
ff27c68ca2fe740e666c3a9a27f656623bdc5769 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_emit.h. Remove imports.h. Remove mtypes.h. Remove slang_compile.h. Include glheader.h for GL symbols. Include slang_vartable.h for slang_var_table symbol.
lang/slang_emit.h
|
0ef5449832c53f79477672a8b8cbfce212a1eea4 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_compile.h. Remove imports.h. Remove slang_typeinfo.h. Remove slang_compile_operation.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom_pool symbol.
lang/slang_compile.h
|
8981fae4c3e4ecfbbc41d2469dc48a360a9fc182 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_compile_struct.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
lang/slang_compile_struct.h
|
f1702b180858856dd4dfb38a3571732ad21de300 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_print.h. Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_typeinfo.h for slang_type_qualifer and slang_fully_specified_type symbols.
lang/slang_print.h
|
4fef77c7c5455b983daa93cacf90d2b3baa3967e |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_compile_function.h Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_log.h for slang_info_log symbols. Include slang_utility.h for slang_atom and slang_atom_pool symbols.
lang/slang_compile_function.h
|
9bfbfd55afb42ea54621c8fae99a71db81a7332c |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_compiler_operation.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_utility.h for slang_atom symbol.
lang/slang_compile_operation.h
|
1918820d2e1cabc61775a75830aa297323f0d7db |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_simplify.h. Include glheader.h for GL symbols. Include slang_compile.h for slang_name_space symbol. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_log.h for slang_info_log symbol. Include slang_utility.h for slang_atom_pool symbol.
lang/slang_simplify.h
|
99003560cab2974335e23d61fb0e720b50ce77cf |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_utility.h. Include glheader.h for GL symbols.
lang/slang_utility.h
|
845554eb3b95d0022d70f086b9888556be275bb3 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_vartable.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
lang/slang_vartable.h
|
84ec422232af870f9b9291d72585af27eaeb29db |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_log.h. Include glheader.h for GLboolean symbol.
lang/slang_log.h
|
fcd2da4e7a05b0e3bdf975a96ab294ad1d9a36e3 |
15-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing headers in slang_compile_variable.h. Include glheader.h for GL symbols. Include slang_typeinfo.h for slang_fully_specified_type symbol. Include slang_utility.h for slang_atom symbol.
lang/slang_compile_variable.h
|
586fbc7286edcddc856cd5a21da14a83a460916d |
14-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_codegen.h. Remove mtypes.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
lang/slang_codegen.h
|
19acfa42ed47edb63f5ec3de8051a3102e62e96b |
14-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Silence gcc warning "control reaches end of non-void function".
rogram/ir_to_mesa.cpp
|
325aa1b3cd3fa2dcfc936d2024a4493c06f3b3f4 |
14-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Silence gcc warning "missing initializer for member".
rogram/ir_to_mesa.cpp
|
8881b0fe43540c44c1b6ba95d51651fc6b612ffb |
14-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Recent versions of MSVC define the single precision functions already.
ain/imports.h
|
68f602afb1423eecf6d56bc91fc8ac7419969990 |
14-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: atan2f and powf need two args.
ain/imports.h
|
3c9b00e6e8131c77fe5a3ccb66132e4927e9b3e7 |
14-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Clean up header file inclusion in slang_builtin.h. Remove prog_parameter.h and slang_utility.h. Include glheader.h for GL symbols. Include mtypes.h for gl_*_result symbols.
lang/slang_builtin.h
|
d75eac5db16d29351501737d91a4d97632a2ad36 |
14-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Include missing header in slang_compile.c. Include sl_pp_purify.h for sl_pp_purify_options symbol.
lang/slang_compile.c
|
443a7e4e9a360acbc3e662c098be436f180bf81d |
14-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into glsl2
|
2f8ee757ab324d599fcb8287789eb5f1a7890d74 |
14-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Work-arounds for platforms that lack C99 math functions
ain/imports.h
|
9c3acce68001fdf7f5c77d1819d576b4cf92410a |
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.
rivers/dri/common/dri_util.h
|
c374487a54aca2dd1053645092367c1cf0414ef7 |
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove include of texmem.h, since we haven't used it in ages.
rivers/dri/i965/brw_wm.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.h
|
d19eecef54384c163af27a470496ed885a5a271b |
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks. This lets drivers override ir_to_mesa with their own codegen, or at least have a native alternative.
ain/dd.h
ain/shaderobj.c
rogram/ir_to_mesa.cpp
rogram/ir_to_mesa.h
|
2f4fe151681a6f6afe1d452eece6cf4144f44e49 |
10-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move the common optimization passes to a helper function. These are passes that we expect all codegen to be happy with. The other lowering passes for Mesa IR are moved to the Mesa IR generator.
rogram/ir_to_mesa.cpp
|
e8000ffeaf3a11a8173d0ffc3f3f6f4e800972d3 |
13-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: assorted clean-ups, var type changes, assertions in prog_optimize.c
rogram/prog_optimize.c
|
9021c56a5738815777f27c39b63637b5975270c6 |
13-Aug-2010 |
Benjamin Segovia <benjamin.segovia@intel.com> |
mesa: more/better program optimizations This is the patch from Benjamin's Aug 11, 2010 email with minor fixes (such as moving declarations before code) Signed-off-by: Brian Paul <brianp@vmware.com>
rogram/prog_optimize.c
|
3a3cdb909da5b02edf921fcb5a009dfc2868d23d |
13-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: Build the new glsl2 code.
Conscript
|
48def868d96bdcef61d31bd4399d5bbb3bb8818d |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in vf.h. Remove mtypes.h. Include glheader.h for GL symbols.
f/vf.h
|
5dbd3fe3d4f3f6eb4f601ae8a3c77720ca83e790 |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in ss_vb.h. Remove unnecessary header swrast_setup.h.
wrast_setup/ss_vb.h
|
c7f24afcaf63d5e58fcc77199702c1cbac625003 |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in ss_triangle.h. Remove ss_context.h. Include mtypes.h for GLcontext symbol.
wrast_setup/ss_triangle.h
|
8829e0c3f3d4a53d702eca91253b5194f1d94503 |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in ss_context.h. Remove mtypes.h and swrast_setup.h. Include glheader.h for GL symbols.
wrast_setup/ss_context.h
|
db0c6810f9cd1705fe27231ca7f8dcf0c4d6874d |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in programopt.h. Include mtypes.h for GLcontext and gl_register_file symbols.
rogram/programopt.h
|
06928ba3c343eee7098442fe387eaacd4933c401 |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: fpclassify is available with MinGW. This patch fixes the MinGW build.
ain/querymatrix.c
|
ca70bf8c9d95de4cade7760eb0cc6e0d82d4f9d7 |
13-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
scons: Add main/querymatrix.c to SCons build. Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to make but not to SCons.
Conscript
|
261bbc011d11ab9e390cd5fe9f5151821eefaffa |
13-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Use Elements from main/compiler.h instead of open-coding
rogram/ir_to_mesa.cpp
|
c59c6c012227e9880586ea533e52dfc068d65810 |
12-Aug-2010 |
Brian Paul <brianp@vmware.com> |
glsl: print to stderr like other program printing code
lang/slang_link.c
|
2d83e3fa0de6e0b39307cdc67725ca88855d68d2 |
12-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: check for null shader->InfoLog before printing
rogram/prog_print.c
|
56450d5f11c2f46cbb9cdba85a3e3d7561be4d51 |
12-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix FreeBSD build with llvm enabled. On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
ain/imports.c
|
e62e5b0922b6554431234a8a71c7aec7cff91864 |
11-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add support for draw_elements_base_vertex use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
17bcfaa475c083460e7a40878f220a6fa357768e |
12-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in prog_uniform.h. Remove mtypes.h. Remove prog_statevars.h. Include glheader.h for GL symbols.
rogram/prog_uniform.h
|
791d7d4bf98ca5e38fea76462ef38cfd782b464b |
12-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing headers in prog_print.h. Include stdio.h for FILE symbol. Include glheader.h for GL symbols. Include mtypes.h for GLcontext symbol. Add forward declarations.
rogram/prog_print.h
|
991a24d03337ca674896527fe5007490e16838c3 |
12-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in prog_optimize.h. Include mtypes.h for GLcontext symbol.
rogram/prog_optimize.h
|
608f1687096126461d844c299a845ec38e18421b |
12-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: remove an unused variable
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
9b2d3c3285596a14a399c8243b1f426d887dc9d7 |
11-Aug-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: link with new libglsl.a lib
rivers/osmesa/Makefile
|
4415a846457622061cd93be2fdce2448b2eeb00b |
11-Aug-2010 |
Brian Paul <brianp@vmware.com> |
glsl2: remove stray semicolon
ain/shaderobj.h
|
30d083903f28965122800cc6ba3dc1ad08aff47f |
11-Aug-2010 |
Brian Paul <brianp@vmware.com> |
glsl2: remove stray semicolon
rogram/hash_table.h
|
f78445de5d2316934ebeaa19a616d2f960c89237 |
11-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement the CONT opcode.
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
|
953e39c61d051feb9f4f25f8390045c18f211d2a |
11-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle loops in the register allocator.
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
0578acbe18cf940850c9a94f2fd96f4602dd03bf |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in prog_noise.h. Include glheader.h for GLfloat symbol.
rogram/prog_noise.h
|
f36a4b3c9eee20dcae40ecc578401eaae1658898 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in prog_instruction.h. Remove mfeatures.h. Include glheader.h for GL symbols.
rogram/prog_instruction.h
|
c20e92c3e0a1e75314882a9f7be1133310929898 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in prog_execute.h. Include mtypes.h for GLcontext symbol.
rogram/prog_execute.h
|
2a5bf7b4d269d4232367747c9484b7c182db3a24 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in prog_cache.h. Include mtypes.h for GLcontext symbol.
rogram/prog_cache.h
|
1c5a077e1b6bbf612500e1745866aa91ea161286 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in nvvertparse.h. Include mtypes.h for GLcontext symbol.
rogram/nvvertparse.h
|
13887f389f488f281f46f8a62d151d0e6066342e |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in nvfragparse.h. Include mtypes.h for GLcontext symbol.
rogram/nvfragparse.h
|
48f849504078b70a069d8cf971c669e2d3816995 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from hash_table.h.
rogram/hash_table.h
|
c8e714df013cdf360602f9cc96d26cb732b19a32 |
11-Aug-2010 |
M.Froehlich@science-computing.de <M.Froehlich@science-computing.de> |
swrast: fix span color array pointer assignment for 32-bit/channel rendering See fd.o bug 29487. NOTE: This is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
wrast/s_span.c
|
683ef52e19576f6e1263bc7d25fc9475c519eade |
10-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: implement gl_FrontFacing
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
cc732bf894f58fd1533709ac60d3af4c80bd01b0 |
11-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header.
wrast/s_depth.c
|
bbfdcc16df62a398f44b1e9fa2a42083bff472bc |
10-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use switch stmt in init_program_limits()
ain/context.c
|
f6ca938bcb7ebf82721590c8e4059ebf4d073a0b |
10-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete comments
ain/mtypes.h
|
8dd4308b5e29fd684d6e516161513d3045e5ff9e |
08-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use predicate bit for IF statements in r500 vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
rivers/dri/r300/compiler/radeon_compiler.h
|
c298bab60ea63882f34825a35cbc60f662783e64 |
05-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement hardware assisted loops for vertex shaders. Single loops work, but nested loops do not.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/r300_reg.h
|
5c7b7da798b47126d9cc887b0df4b2c24ad9176b |
06-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Correctly transform nested loops.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
4567b479531d2791ad2d6a598c9dd9e3730b0504 |
10-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional program limit assertions
rogram/program.c
|
b80a830cd8cbad128aad3edb2eef4cb40e7b145b |
10-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo
ain/config.h
|
5854d4583c6e8885185e12a0636f77489a62e24c |
10-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a pass to transform ir_binop_sub to add(op0, neg(op1)) All the current HW backends transform subtract to adding the negation, so I haven't bothered peepholing it back out in Mesa IR. This allows some subtract of subtract to get removed in ir_algebraic.
rogram/ir_to_mesa.cpp
|
8bebbeb7c5b26ec9166a4644a2c051238d18509b |
10-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add constant propagation. Whereas constant folding evaluates constant expressions at rvalue nodes, constant propagation tracks constant components of vectors across execution to replace (possibly swizzled) variable dereferences with constant values, triggering possible constant folding or reduced variable liveness.
rogram/ir_to_mesa.cpp
|
81996ae8618759cf7fdd033042a96f3014659f6c |
10-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: More s/stderr/stdout/ for program debug.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
e165453f84517b08afc2e2bf684546e9e24f3f30 |
09-Aug-2010 |
Henri Verbeet <hverbeet@gmail.com> |
radeon: Use MESA_FORMAT_SARGB8 for sRGB formats This can be supported on r600 without using the endian swapper, and is a better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV anyway.
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/radeon/radeon_texture.c
|
08933b5a17f137fe93d48f05fcffcc9ac2627630 |
09-Aug-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600c: Disable alpha test during blits
rivers/dri/r600/r600_blit.c
|
67ee40684d253f194dbbd5c81799da61151ee09f |
09-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
radeon: fix npot mipmap alignment on r600 seems it got lost in commit 0d383547 have no earlier radeons to test, but npot mipmaps were not supported there?
rivers/dri/radeon/radeon_mipmap_tree.c
|
8d0985b9b8f20baecbf374f6543db12b1f1d52f9 |
09-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: bump glsl version from the tests i couldn't find any new driver faults
rivers/dri/r600/r600_context.c
|
ef3b17f5f37cc5b1e81ecce4713cb1f9617afc0e |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
i810: Add missing header m_xform.h. This is another follow-up to commit f4511c4835879090ce7e6afe3ac26b98fb91899a.
rivers/dri/i810/i810render.c
|
facf368df29b6889e9566aaa642aa1937e6dfc56 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Add missing header m_xform.h. This is a follow-up patch to commit f4511c4835879090ce7e6afe3ac26b98fb91899a. Files that include tnl_dd/t_dd_dmatmp.h now need to also include m_xform.h as t_context.h no longer includes it.
rivers/dri/i915/intel_render.c
rivers/dri/mga/mgarender.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/savage/savagerender.c
rivers/dri/unichrome/via_render.c
|
f4511c4835879090ce7e6afe3ac26b98fb91899a |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Reduce header file inclusion in t_context.h. t_context.h Remove m_matrix.h and m_xform.h. t_vb_program.c Include m_xform.h. t_vb_render.c Include m_xform.h.
nl/t_context.h
nl/t_vb_program.c
nl/t_vb_render.c
|
2154dfa70106aeec5a68d3c805a69ccb998d430f |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_zoom.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_zoom.h
|
a2a40cefe2335c1edaa20258d74263f0004b2928 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Fix header file inclusion in s_texfilter.h. Include mtypes.h for GLcontext symbol. Include s_context.h for texture_sample_func symbol.
wrast/s_texfilter.h
|
c20e9774679691fef3a2be3d64621a9e1c76fa83 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_texcombine.h. Include mtypes.h for GLcontext sybmol. Include s_span.h for SWspan symbol.
wrast/s_texcombine.h
|
e616d05b221889b62f7136e6e26a646c885f6ff8 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_stencil.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_stencil.h
|
01739cdda2330a98f01ac41cbd5f696aa6901876 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_masking.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_masking.h
|
562c72741401da0dd872a875914b8005b863e986 |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_logic.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_logic.h
|
f009f177fdb891529a4281b2d28f9eb76a365bed |
08-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_fragprog.h. s_fragprog.h Include mtype.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_fragprog.c Include s_context.h now that it is removed from s_fragprog.h.
wrast/s_fragprog.c
wrast/s_fragprog.h
|
7b562854870826c53a895a9a8db38af28bbde673 |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_fog.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_fog.h
|
5db13da86699f3d7abd0f0a18e93dc5d3a0ae8bc |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_depth.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_depth.h
|
690ead0f2248c117f675004a1c1918f425ca326f |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Include missing header in s_context.h. Include compiler.h for _ASMAPIP symbol.
wrast/s_context.h
|
d6273bb39b9909f5fc530362805cf84cbefc9d25 |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_blend.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_blend.h
|
12e8e5ee952f0ffceee28fdeff35f790a37ab896 |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_atifragshader.h. s_atifragshader.h Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_atifragshader.c Include s_context.h for SWcontext symbol.
wrast/s_atifragshader.c
wrast/s_atifragshader.h
|
1bc1c669b291b60da493d72df0914f80a541c376 |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Clean up header file inclusion in s_alpha.h. Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
wrast/s_alpha.h
|
1e46de3a834b361f4227f90dd1fe2e401d0d7723 |
07-Aug-2010 |
Marek Olšák <maraeo@gmail.com> |
r300c: do not advertise half float vertex on RV3xx, RS4xx, RC4xx Fixes a hardlock. NOTE: this is a candidate for the 7.8 branch, provided the half float vertex is really implemented there.
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_chipset.h
|
d64a119c28376d7ce069dcec044ff9af7f93ff9c |
07-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_atom_shader.c
|
6b97fe52c92a3f904cba733acedd13ac42fe5dc6 |
06-Aug-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove stray semicolons
tate_tracker/st_context.c
tate_tracker/st_debug.c
|
925b49ff310bf0b307add7c34627cddf87e6a554 |
06-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move gl_program->InputsRead/OutputsWritten setting to an ir pass. This lets us handle arrays much better than trying to work backwards from assembly. Fixes fbo-drawbuffers-maxtargets on swrast (i965 needs loop unrolling)
rogram/ir_to_mesa.cpp
|
bec87456ed80e7561f7ac73b01e648896971a381 |
06-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_aatriangle.h. Include mtypes.h for GLcontext symbol.
wrast/s_aatriangle.h
|
a3439df79f1083ab7ec6beb5d4c766abe9cec709 |
06-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Reduce header file inclusion in s_aaline.h. Include mtypes.h for GLcontext symbol.
wrast/s_aaline.h
|
c234d0b25f622a7bdd3c40bc72fdbd59d8494c7c |
06-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for sampler arrays. Support for samplers in general is still incomplete -- anything in a uniform struct will still be broken. But that doesn't appear to be any different from master. Fixes: glsl-fs-uniform-sampler-array.shader_test
rogram/ir_to_mesa.cpp
rogram/prog_parameter.c
rogram/prog_parameter.h
|
8d61a23b1a1d0d4b21f0fab64f6d863a8ee3d7f1 |
06-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Don't assert in a couple of places when encountering sampler arrays. Fixes glean shaderAPI.
rogram/ir_to_mesa.cpp
|
658e25987fbec3b826f500baa6d4d936b9552b13 |
06-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Give the expected size for _mesa_add_attribute(). Fixes a failure in glean shaderAPI.
rogram/ir_to_mesa.cpp
|
f717fd25cc44d7dda5a49dc05337c7ee7c8d2d2f |
06-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_program.h. st_program.h Remove p_shader_tokens.h Include st_context.h for st_context symbol. Include p_state.h for PIPE_MAX_SHADER_INPUTS symbol. Remove unnecessary forward declarations. st_cb_bitmap.c st_cb_clear.c Include p_shader_tokens.h now that st_program.h doesn't include it.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_program.h
|
0a86d766ef0d98abd3373609a637bf137203e994 |
06-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
ir_to_mesa: Handle texture-array samplers Fixes piglit test array_texture.
rogram/ir_to_mesa.cpp
|
981c6bc6a5a7dcf941972939c224dfb7f98b904a |
06-Aug-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Only get debug option once
tate_tracker/st_debug.c
|
99611f08497f1567a50ef3e7ea51e63fdf4beb26 |
06-Aug-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Only get mesa mvp dp4 option once The correct for this is of course to do what comment says
tate_tracker/st_context.c
|
1b8aa2176c4fc580cc31c57c7e50e7f39ef2cc04 |
06-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h. st_mesa_to_tgsi.h Replace tgsi_ureg.h with a forward declaration. Include p_compiler.h for ubyte symbol. st_program.c Include tgsi_ureg.h directly.
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
0a7cbe845fe029411ae25c4bfe60763485a760f4 |
06-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_manager.h. Include mtypes.h for GLcontext, gl_buffer_index, and GLframebuffer symbols. Include p_compiler.h for boolean symbol. Include st_context.h in st_cb_eglimage.c as it previously included st_context.h indirectly through st_manager.h.
tate_tracker/st_cb_eglimage.c
tate_tracker/st_manager.h
|
3d038a3ed2d8325c4b826f13b62398b3ed33f3ba |
06-Aug-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix atan(0, -1) Fixes fd.o bug 29388 NOTE: this is a candidate for the 7.8 branch.
lang/library/slang_common_builtin.gc
|
bc4034b243975089c06c4415d4e26edaaaec7a46 |
06-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a pass to convert exp and log to exp2 and log2. Fixes ir_to_mesa handling of unop_log, which used the weird ARB_vp LOG opcode that doesn't do what we want. This also lets the multiplication coefficients in there get constant-folded, possibly. Fixes: glsl-fs-log
rogram/ir_to_mesa.cpp
|
918ef7ff18dc407d8ab1d6dc9cfb1267618c6534 |
05-Aug-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600c: tiling require drm 2.6.0, not 2.5.0
rivers/dri/radeon/radeon_screen.c
|
e93d413a0d81f591318f362f770083e9ecc7e0c0 |
21-Jul-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add support for getting the tiling config via drm ioctl (v2) Needed for the the 2D tiling span functions. v2: rebase on new kernel, mesa changes Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_screen.c
|
3095bc679da7241488219e1778db2083c662bbef |
20-May-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add new relocs for tiling support Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r700_chip.c
|
063c70d7f72a043037fb4c9b534c53208f86611d |
20-May-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add span support for 2D tiling Requires tiling config ioctl support from the drm to use. kms only. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
|
e995f0e10c9ee51f7c8f8fa2193ff99e1b49e40d |
05-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't do function inlining until linking. Optimizations at compile time should generally be done with the goal of reducing instruction count so that other work, particularly linking, is less time-consuming if the shader is used multiple times. However, function inlining increases instruction count for the inlined function bodies without removing the original function body, since we don't know if it will be used at link time or not. Reduces the runtime of linking and executing a Yo Frankie fragment shader from 0.9 seconds to 0.5 seconds (-45.9%, +/- 2.2%, n=5).
rogram/ir_to_mesa.cpp
|
8f6a0c9ed985267c2d202cf85d17ac04bddfb9d2 |
05-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Don't try to dump GLSL IR for a shader that didn't compile.
rogram/ir_to_mesa.cpp
|
9de2c4fc8e620ffe7faecd499c82d9d38ec538a6 |
05-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Remove debug force-enablement of EmitNoIfs.
rogram/ir_to_mesa.cpp
|
5e56c8907b9f31005a0655aac322b761e1b87c53 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_gl_api.h.
tate_tracker/st_gl_api.h
|
ea1744a66438b5863a8576087b07ad6ffdcd04c5 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in st_get_mipmap.h. Include mtypes.h for GLcontext symbol. Add forward declaration for st_context.
tate_tracker/st_gen_mipmap.h
|
ad4d27c6d1a32e3c4c92e0f22c8fbdeade4cc7af |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include missing headers in st_format.h.
tate_tracker/st_format.h
|
2febc491bc7f5539e1e91c5b0f4be4eb4df919f8 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward delcaration in st_extensions.h.
tate_tracker/st_extensions.h
|
4f9ca250d6172176263ef7415fce7140986bc0bc |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing headers to st_draw.h.
tate_tracker/st_draw.h
|
66708fd8a98cc28dab756b9e29d026194ccdfcee |
05-Aug-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Check for a NULL src buffer prior to blt This can only happen along a malloc failure path, but check anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_tex_copy.c
|
85cfe321805264686ef8989e45a911a999ed928a |
05-Aug-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Check for region allocation failure. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_regions.c
|
9c98e9e6b5b5f5508b67b3650dbaf00db407b5eb |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing header in st_context.c.
tate_tracker/st_context.c
|
a0989e94374a678fb6c2d0974255a178361c47a7 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing header in st_atom_pixeltransfer.c.
tate_tracker/st_atom_pixeltransfer.c
|
1525fb4afec0adc164948b4060ec1c0359441cd3 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_context.h.
tate_tracker/st_context.h
|
6f8b6661ce3af17d3cfe4f28ff15f82caf6755b5 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing header in st_cb_xformfb.h.
tate_tracker/st_cb_xformfb.h
|
72fd0568db0ce5f25a1eee0266ec1e7cb3dafab0 |
05-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Settle on printing our program debug to stdout. Mixing stderr (_mesa_print_program, _mesa_print_instruction, _mesa_print_alu) with stdout means that when writing both to a file, there isn't a consistent ordering between the two.
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_fp.c
rogram/prog_print.c
rogram/prog_print.h
|
455290e4281bf53ce2fe248a2adf5163563c44c8 |
05-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Print shader source and compiled IR under MESA_GLSL=dump. While the Mesa IR dumping includes some corresponding GLSL IR for correlating Mesa IR to GLSL IR, it doesn't completely express it. This printing includes things like variable declarations and control flow structure that is hard to read otherwise.
rogram/ir_to_mesa.cpp
|
cb7638579e22a8854d13d58c435c90b2e596e946 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up st_cb_viewport.h. Add inclusion guard. Add forward declaration.
tate_tracker/st_cb_viewport.h
|
e857293299c5bc38de683f199fe1ec7833aff61c |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing headers in st_cb_texture.h.
tate_tracker/st_cb_texture.h
|
bc578caefb29cb9d1720d51698e2cd23ee490c44 |
04-Aug-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Don't try to validate uninitialized teximages.
rivers/dri/nouveau/nouveau_texture.c
|
d03f04bfb57cb7b5537cb31f1dc798a6ba500f36 |
28-Jul-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv20: Fix some PGRAPH_ERRORs seen with DATA_CHECK enabled.
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_tex.c
|
e96a52e9933eea7264a42983db1428368bcb4962 |
28-Jul-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix up software mipmap generation.
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_texture.c
|
5a7758efbe14dee026245a4f4f4fb3ccf7b2c23b |
03-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add ir_assignment::write_mask and associated methods Replace swizzles on the LHS with additional swizzles on the RHS and a write mask in the assignment instruction. As part of this add ir_assignment::set_lhs. Ideally we'd make ir_assignment::lhs private to prevent erroneous writes, but that would require a lot of code butchery at this point. Add ir_assignment constructor that takes an explicit write mask. This is required for ir_assignment::clone, but it can also be used in other places. Without this, ir_assignment clones lose their write masks, and incorrect IR is generated in optimization passes. Add ir_assignment::whole_variable_written method. This method gets the variable on the LHS if the whole variable is written or NULL otherwise. This is different from ir->lhs->whole_variable_referenced() because the latter has no knowledge of the write mask stored in the ir_assignment. Gut all code from ir_to_mesa that handled swizzles on the LHS of assignments. There is probably some other refactoring that could be done here, but that can be left for another day.
rogram/ir_to_mesa.cpp
|
060a95c3a942daca936d421400b7327f038d6f27 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward declaration in st_cb_strings.h.
tate_tracker/st_cb_strings.h
|
e9d6f2fc8a88cd18a9914ee7c8f947c869ed3e50 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing header in st_cb_readpixels.h. Include mtypes.h for GLcontext symbol.
tate_tracker/st_cb_readpixels.h
|
a25ac9b5266c1f6820b073108555140c631454e1 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_rasterpos.h.
tate_tracker/st_cb_rasterpos.h
|
2bb3bfa943d3250d036673dbdea215b19d70c21e |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing header in st_cb_program.h. Include mtypes.h for GLcontext symbol.
tate_tracker/st_cb_program.h
|
7f7bbf0d5b78e0a4ace7ad6eddf5e73a826c75eb |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Remove unnecessary header.
rivers/dri/r300/compiler/r500_fragprog.c
|
81bc4f4cbfdd4d8abaf97cb66baf1c7b0cbe05b3 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
rivers/dri/intel/intel_extensions_es2.c
|
9f7e7ce7572d1ab370def14db8be7059869cda29 |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing headers in st_cb_flush.h. Add forward declarations. Include p_compiler.h for uint symbol.
tate_tracker/st_cb_flush.h
|
85dbb2904bbcab5bad65cc267daafd6ebcf32ded |
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header inclusion in st_cb_feedback.h. Replace mtypes.h with forward declaration. Include compiler.h for INLINE symbol.
tate_tracker/st_cb_feedback.h
|
fe1918c71c3e387939cef9359d4b31ebc5c11a17 |
04-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Clean up the mapping of samplers to Mesa's sampler uniforms. Instead of using a linker-assigned location (since samplers don't actually take up uniform space, being a link-time choice), use the sampler's varaible pointer as a hash key.
rogram/ir_to_mesa.cpp
|
8e181b629f97ada65cc1b8a17ba42edc2ea77254 |
04-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't null deref looking for Mesa IR code at compile time. The new compiler doesn't generate Mesa IR at compile time, and that compile time code previously wouldn't have reflected the link time code that actually got used. But do dump the info log of the compile regardless.
rogram/prog_print.c
|
2e85117b5f8909b8737e0c0e479360640e405192 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add missing headers to st_cb_fbo.h.
tate_tracker/st_cb_fbo.h
|
19bfb55fb54447b322d3aefecf6e0dbb81d8f812 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_eglimage.h. Replace dd.h and mtypes.h with a forward declaration. Include compiler.h for INLINE symbol.
tate_tracker/st_cb_eglimage.h
|
952d0f88e1741d51b641be75f7c5a6565e245a69 |
04-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Skip talloc_parent in constant_expression of non-constant arrays.
rogram/ir_to_mesa.cpp
|
137c510097503e590cf8b30d2b97e617b9a1543b |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_drawtex.h. Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
tate_tracker/st_cb_drawtex.h
|
dce63cf431177594f1267406276f441391701f70 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_drawpixels.h. Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
tate_tracker/st_cb_drawpixels.h
|
7fdf6d5c28293e169b7874d95632ec0bba9da78a |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward declaration in st_cb_condrender.h.
tate_tracker/st_cb_condrender.h
|
ed810ba7243f0b19999c35f21e7be5708446962a |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward declarations in st_cb_clear.h.
tate_tracker/st_cb_clear.h
|
6bc17324da6e9d90ea2586c59c162a72f900a0fc |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include missing headers in st_cb_bufferobjects.h. Include compiler.h for INLINE symbol. Include mtypes.h for gl_buffer_object symbol.
tate_tracker/st_cb_bufferobjects.h
|
eb4f2d4b0264e180f818230fa69a420793423eb7 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_blit.h. Replaced mtypes.h and st_context.h with forward declarations. Added compiler.h for INLINE symbol.
tate_tracker/st_cb_blit.h
|
e6902afeee522494f1787cc7c79415f55dce2eb4 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cb_bitmap.h. Removed mtypes.h. Include compiler.h for INLINE symbol. Added forward declarations.
tate_tracker/st_cb_bitmap.h
|
8ad5b76d52f1c009f48ea90556633e497b40ba87 |
03-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: relax stride/alignment requirements for vertices seems hw can do unaligned accesses and unaligned strides removes extra conversion when using vbo's however I needed to switch 3 component byte format to 4 component formats for tests to pass. Somewhat sililar to GL_SHORT fix done earlier removes assert and gains +2 piglit especially draw-vertices
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
09c8fa570e69272f65cb49840ec7c709820b1b2a |
04-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Always unroll loops when doing loop emulation.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
|
2824d5687a19e42ba0da8fd08e80610c4469a3b3 |
04-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: r500 hw support for break and continue in loops. The BGNLOOP and ENDLOOP instructions are now being used correctly, which makes break and continue possible. The deadcode pass has been modified to handle breaks, and the compiler is more careful about which loops are unrolled.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/compiler/radeon_optimize.c
|
9dcc5006660037665fe98bf2d9fb966e620a038b |
02-Aug-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: KILP may not always be inside an IF statement.
rivers/dri/r300/compiler/radeon_program_alu.c
|
680f486ffd4aab8b9354f1b5a035b3881ac2310c |
12-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't unroll loops with continue or break.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
a3ff6c269729597dd1318df2a10fb2a7dba093d6 |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_cache.h.
tate_tracker/st_cache.h
|
279926859e60d63941d7a437803376c8154e8c8e |
04-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward declarations in st_atom_shader.h.
tate_tracker/st_atom_shader.h
|
0614006d090902324149387ec150231b647928fd |
31-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: increase the relative address offset limit to 4096 in ARB_vp/fp Even though the spec says that the limits should be -64/+63, proprietary drivers support much larger relative offsets and some applications do depend on this non-standard behavior. Also program_parse.tab.c has been regenerated. This fixes the parser error: ARB_vp: error: relative address offset too large See also: https://bugs.freedesktop.org/show_bug.cgi?id=28628 4096 * sizeof(vec4) is the maximum size of the constant buffer on NV50. It is not supposed to be a definite hardware limit, it is for the parser not to get in the way and let the underlying driver decide whether it can run the shader or not.
rogram/program_parse.tab.c
rogram/program_parse.y
|
9c6b5a4407cf794f3e5274cd25cac59e85bcf47d |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Add forward declarations in st_atom_constbuf.h.
tate_tracker/st_atom_constbuf.h
|
df66c641e34b87fdb1fae5cae544203e36ca12d3 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include glheader.h in st_atom.h. Include glheader.h for GLenum symbol.
tate_tracker/st_atom.h
|
816ad9bc23e22950a1740de1d70c2c9ebbdda724 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Clean up header file inclusion in m_xform.h. Include compiler.h for CONST symbol. Remove config.h as m_xform.h uses no additional symbols from config.h.
ath/m_xform.h
|
19f7db9c9cfa75f05bb92114bbca15cb3c668dc8 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce header file inclusion in m_translate.h. m_translate.h does not use any additional symbols added by config.h.
ath/m_translate.h
|
29495bbb84a4f4517b108f2e88e0edc60bb4a341 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in m_matrix.h.
ath/m_matrix.h
|
d356ad349bda2d5bbbdcd1a0325d1b9fae429575 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce header file inclusion in texgen.h. texgen.h doesn't use any symbols additionally added by mtypes.h.
ain/texgen.h
|
b5ce878fa70b4abcc925e95f3b438b55bda85832 |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce header file inclusion in texcompress_fxt1.h. texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
ain/texcompress_fxt1.h
|
f7d29d58815462a209bf5a2bf0734aa4ff72880a |
03-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce header file inclusion in syncobj.h. syncobj.h doesn't use any additional symbols that is added by context.h.
ain/syncobj.h
|
47f305a4fcd23f859d097c6cc25a739547462939 |
03-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for 1.20 uniform initializers. Fixes: glsl-uniform-initializer-1 glsl-uniform-initializer-2 glsl-uniform-initializer-3 glsl-uniform-initializer-4 glsl1-GLSL 1.20 uniform array constructor
rogram/ir_to_mesa.cpp
|
b10bb527eaf39378da25dd4ad21b1c68ceaa1e2d |
03-Aug-2010 |
Eric Anholt <eric@anholt.net> |
Initialize a couple of HasIndex2 fields on Mesa IR src regs.
rivers/dri/i965/brw_wm_fp.c
rogram/ir_to_mesa.cpp
|
26675e37bc5a086c6df77946d2dada34dc9129f0 |
02-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Support for struct uniforms. Fixes glsl-uniform-struct.
rogram/ir_to_mesa.cpp
|
9c02412cdc0270f2b0dc64afe709721e049fd5b0 |
02-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add a constructor for ir_to_mesa_src_reg. This helps makes sure we don't miss any new fields, and makes totally uninitialized src_regs be PROGRAM_UNDEFINED.
rogram/ir_to_mesa.cpp
|
955ceef47f2bb8b5005abf11d4a8580c71f19e1b |
02-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Keep a local copy of the symbol name in the symbol table The symbol_header structure that tracks symbols with a particular name may have a different (longer) life time than the symbols it tracks. Not keeping a local copy of the name can lead to use-after-free errors. For example, the following sequence would trigger such an error: char *copy = strdup(name); _mesa_symbol_table_push_scope(st); _mesa_symbol_table_add_symbol(st, 0, name, NULL); _mesa_symbol_table_pop_scope(st); free(name); _mesa_symbol_table_find_symbol(st, 0, copy); With this change, the symbol table keeps a local copy of the name that has the same life time as the symbol_header for that name. This resolves some use-after-free errors with built-in functions in the GLSL compiler.
rogram/symbol_table.c
|
646d2e9fbc41bf49075013009e9583bec4a51168 |
02-Aug-2010 |
Mario Kleiner <mario.kleiner@tuebingen.mpg.de> |
radeon: Add DRI2 flush extension support, so we synchronize properly. When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_render.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_pixel_read.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex_copy.c
|
3d39f56a8721ec6aa6d00965b7740fc8cb5edaae |
02-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
Revert "radeon: Add DRI2 flush extension to so we synchronize properly." This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_render.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
8446f257b3e3ca4a3eb2c79bc357e46343e04e87 |
25-Jul-2010 |
Mario Kleiner <mario.kleiner@tuebingen.mpg.de> |
radeon: Add DRI2 flush extension to so we synchronize properly. When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_render.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
d6a5f94ea4d03b05c434fcad125d1f9c50c638e8 |
02-Aug-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix sin,cos functions on r600 r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
rivers/dri/r600/r700_assembler.c
|
b42519108dc7ab104cf9ade65a508f54a0294406 |
01-Aug-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for MESA_GLSL=log. This is the option that dumps shader source to files in the current directory.
rogram/ir_to_mesa.cpp
|
9846b0627149e221c9fbd7c3379e33fb68e68511 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove inclusion of compiler.h from mtypes.h. mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
rivers/dri/i965/brw_util.c
rivers/dri/mach64/mach64_ioctl.h
ain/mtypes.h
ain/texstate.h
rogram/prog_parameter_layout.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_stipple.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_texture.c
bo/vbo_exec_draw.c
|
e7242b6e8a6df30f198d112b4da885f9717191a7 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from mm.h.
ain/mm.h
|
ca2ceca5b1939af57e95bebf84be4b70e3e9d4cb |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add headers containing sybmols used by mm.c.
ain/mm.c
|
8b909144a1469360b3a76be4013d5b011f0bfc2b |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce header file inclusion in get.h. get.h only needs the GL headers.
ain/get.h
|
9e75ac7d25c7bf97b894cd70a4d1657587df5c23 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing headers in vtxfmt.h. Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
ain/vtxfmt.h
|
dda9b80d078c3569839e150b6720606c1c5d43c0 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in shared.h. Include mtypes.h for GLcontext symbol.
ain/shared.h
|
da93fba85d4b213cdbce22f1d81a523d402bfec8 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in restart.h.
ain/restart.h
|
784695442c415cf0be882434a25671ecfb635d34 |
31-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add new tree grafting optimization pass.
rogram/ir_to_mesa.cpp
|
e4ad42d421d1b70fcab21dda19d470ae0f0e8b0d |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing headers in renderbuffer.h.
ain/renderbuffer.h
|
6d86b0116e1dc0ac475eadb45cc3dfa83634a0f2 |
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in remap.h. Include compiler.h for INLINE symbol.
ain/remap.h
|
245d5a8913f6f4487e837d112a97093c06b639ea |
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/image.c
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texfetch.c
rogram/prog_execute.c
|
dba7875cdaff66fc5e8ffdd56055b5c0bb92f145 |
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary headers.
wrast/s_atifragshader.c
wrast/s_feedback.c
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_points.c
wrast/s_span.c
|
3cc471e429675e82fcc37c6efa2c5e880d811b84 |
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary headers.
nl/t_rasterpos.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_normals.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
|
2f30a83ea88d8e062be5e9cf3bbdd8ab618130cc |
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing header in pixelstore.h. Include mtypes.h for GLcontext symbol.
ain/pixelstore.h
|
378b8df47acd2c85c6cc0ea6f22d2994e4a2ee77 |
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include missing headers in nvprogram.h.
ain/nvprogram.h
|
40f57c2becbb2cee7cfb6d6ed49dc1db57987e9a |
30-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add the function name as a comment to BGNSUB and ENDSUB.
rogram/ir_to_mesa.cpp
|
b3e3d0da586812c61f7bd3933a9a3c2511b8d55b |
30-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: better handling of indirect addressing of temp/const register files With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305.
tate_tracker/st_mesa_to_tgsi.c
|
56643096f1eb01eefa1a532ac096b32d23b6b8ba |
30-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_program::IndirectRegisterFiles field Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
ain/mtypes.h
rogram/arbprogparse.c
rogram/nvvertparse.c
rogram/prog_print.c
rogram/program.c
rogram/program_parse.tab.c
rogram/program_parse.y
lang/slang_link.c
|
c4c2897367450a30a67235e99bc6019573e9d53b |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to multisample.h. Include mtypes.h for GLcontext symbol.
ain/multisample.h
|
dbfe11c7c3a5c82c4c6182d4fed35aeb19bc4ff3 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from colormac.h.
ain/colormac.h
|
1a537b639ee7f2d35230c68ba89491711919656d |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/texstore.c
ath/m_translate.c
tate_tracker/st_cb_drawtex.c
wrast/s_context.c
wrast/s_readpix.c
bo/vbo_exec_draw.c
|
3fdd9fa556e9ba48244cb2b3966d3bfb0b84731b |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include macros.h in files that use symbols from macros.h. Don't rely on inclusion of other files that already include macros.h.
ain/clear.c
ain/convolve.c
ain/fog.c
ain/histogram.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texfetch.c
ain/texrender.c
ath/m_translate.c
rogram/prog_execute.c
f/vf_generic.c
|
bddbdd624f407604e0c306b05201970688411e89 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include macros.h in attrib.c for COPY_4FV symbol.
ain/attrib.c
|
11fce3a821b64e1d53f893e82e5c92f549f3ab1d |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Add missing header to intel_context.c. Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning.
rivers/dri/intel/intel_context.c
|
5264615b52d0ddf3509078d3518588c70005b00c |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce clip.h header file inclusion.
ain/clip.h
|
95e3832b53e28f2b771194829a9ec696a5801e9e |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to framebuffer.h. Include mtypes.h for GLvisual and GLcontext symbols.
ain/framebuffer.h
|
c6466f599c35c8d61fceda289df1b683dd9a3656 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to fboject.h. Add mtypes.h for GLcontext symbol.
ain/fbobject.h
|
f58ec9dc4d15f068974a010c8418a2e63809e8ec |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to texgetimage.h.
ain/texgetimage.h
|
b5de2be8e067754292aa44bfa0eab7619d604306 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to texrender.h. Add mtypes.h for GLcontext symbol.
ain/texrender.h
|
1978247f85fd9e4c78ce346543c50910be40da0f |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header and forward declarations to uniforms.h.
ain/uniforms.h
|
3ef2a490d27f209bbe52c48af08531eac8022ea5 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing headers to viewport.h.
ain/viewport.h
|
86abec0294db9a4765d35f6d849ebb9e84149a56 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing header to depthstencil.h. Add mtypes.h for GLcontext symbol.
ain/depthstencil.h
|
989c60bc9221e0918153a29206c786514c4a5f3d |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing headers to debug.h.
ain/debug.h
|
dfc7b7212f57080d18c4d1122435c4c4575694c7 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Add missing header. Add context.h for NEED_SECONDARY_COLOR symbol.
rivers/dri/intel/intel_pixel_bitmap.c
|
ebdc537ff7e272da6cb423a7b32a09618c44ba84 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Add missing header to dri_metaops.c. Add context.h for FLUSH_VERTICES symbol.
rivers/dri/common/dri_metaops.c
|
7e54c4a646801cbe8f2310bf516c32faa35eb971 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce clear.h header file inclusion.
ain/clear.h
|
e5c128379a7233200acc156b0a48ac669d419055 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce bufferobj.h header file inclusion. Directly include mtypes.h instead of including context.h to include mtypes.h.
ain/bufferobj.h
|
bbe1385201e993a84b5ddf9aebd85e87417bbef3 |
30-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/formats.c
ain/shared.c
|
806cb9f9528e3c55c157d7e8bbb751b769b6fcb7 |
30-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't emit a duplicate return at the end of a function. It was harmless, but ugly.
rogram/ir_to_mesa.cpp
|
32ea5394173ecbfb766c5c02eccb21642aec0483 |
29-Jul-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Declare the various tracked state variables using "extern"
rivers/dri/i965/brw_state.h
|
be9276d91299e36a8c4371a87d75c9cacaf995f2 |
29-Jul-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Don't depend on context config values when picking texture formats
rivers/dri/intel/intel_tex_format.c
|
b4ad7c28430e4084d843cd99cf68209e95363963 |
29-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement RCC opcode
rogram/prog_execute.c
|
275bae875da228b82a6d61fdab5dbe487f557580 |
29-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: update table of opcodes used by GLSL
rogram/prog_instruction.h
|
9b3bf392e1af72d29afa0804260cac4d8ffe24e1 |
29-Jul-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: since 8744c36e added asserts - use another random register for shader with no output
rivers/dri/r600/r700_assembler.c
|
2bff1a08d911e8a39661bb65a8ffd684b8782f5b |
29-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Reduce arrayobj.h header file inclusion. Directly include mtypes.h instead of including context.h to include mtypes.h.
ain/arrayobj.h
|
97b416eb6742c26771a011fec9ecea7d66a7e839 |
29-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/arbprogram.h
|
cd3ef7592cc9e2c83b175a8652c0153c578fb46b |
15-Jul-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Use unified pipe_context::draw_vbo. Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
tate_tracker/st_draw.c
|
7e4e79be6bba7cf68046bd77aa8d44fb52ca5186 |
29-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/formats.h
|
9456e22c7a8803bed1146a89e7581badf0ae8064 |
04-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement EGL_KHR_surfaceless extension
rivers/dri/intel/intel_context.c
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
|
859fd56245c1d725cacab17a34793d41ea14e867 |
29-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Respect the driver if it rejects a shader.
rivers/dri/i965/brw_program.c
rogram/ir_to_mesa.cpp
|
4a962170d7cf4243d6ae156fca20a6167388925d |
28-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add support for redeclaring layout of gl_FragCoord for ARB_fcc. Fixes: glsl-arb-fragment-coord-conventions
rogram/ir_to_mesa.cpp
|
dc27e7356952984d023e05fef90d0f8c4bb07a09 |
28-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add remaining state variable (builtin uniforms) support. Fixes: glsl1-GL state variable reference (diffuse product) glsl1-GL state variable reference (gl_FrontMaterial.ambient) glsl1-GL state variable reference (gl_LightSource[0].diffuse) glsl1-GL state variable reference (point attenuation) glsl1-GL state variable reference (point size) glsl1-linear fog
rogram/ir_to_mesa.cpp
|
9a670c2e9b7e07ba43d175f3bfb23951296794c4 |
28-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Provide a restricted type size to _mesa_add_uniform. Fixes: glsl-uniform-out-of-bounds.
rogram/ir_to_mesa.cpp
|
7d349f588af88f9c5cfe37a331bcef6292a9111e |
27-Jul-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove unused intel/server files
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/intel/intel_context.c
rivers/dri/intel/server/i830_dri.h
rivers/dri/intel/server/intel.h
|
20c074ae28b310348a6a1920ad0ddf1e5cbb7a46 |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for array constants. Fixes: glsl1-GLSL 1.20 array constructor 1 glsl1-GLSL 1.20 array constructor 2 glsl1-GLSL 1.20 array.length() glsl1-GLSL 1.20 const array constructor 1 glsl1-GLSL 1.20 const array constructor 2
rogram/ir_to_mesa.cpp
|
66d4c65ee2c311ea0c71c39a28456d0c11798d6b |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Make the dead code handler make its own talloc context. This way, we don't need to pass in a parse state, and the context doesn't grow with the number of passes through optimization.
rogram/ir_to_mesa.cpp
|
8bbdf6e7cdfc3265439761a06eea79627f4ee2fa |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Allow large temporary indices coming into the temporary reg allocator. This gets glsl-vs-raytrace, glsl-fs-raytrace running on the new compiler.
rogram/prog_optimize.c
|
9a770ee49f8cb82653bb5c1976f7751d9a6b801e |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Set the swizzle on constant struct src regs. MESA_GLSL=nopt now produces believable output for glsl-fs-raytrace.
rogram/ir_to_mesa.cpp
|
fdbaca931a504a70d6fec54e2f85caac6281377d |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix stray "break" that broke functions of >1 argument.
rogram/ir_to_mesa.cpp
|
832aad989e3d319a8aaac046aa49df25da134d82 |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add optimization pass for algebraic simplifications. This cleans up the assembly output of almost all the non-logic tests glsl-algebraic-*. glsl-algebraic-pow-two needs love (basically, flattening to a temporary and squaring it).
rogram/ir_to_mesa.cpp
|
576d01ad8c8b8aa57b4711c98d8e004d4f20fc0b |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix up handling of void function returns. void functions have a type of glsl_type::void_type, not a null type.
rogram/ir_to_mesa.cpp
|
c91809e1e4a4fa8884e6588159368ea32431ee0e |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Actually allocate the right size for constant matrix temps.
rogram/ir_to_mesa.cpp
|
5b6890a388d554f06880e88d61c73dcd62c5f141 |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for structure constants. Fixes: TPPStreamCompiler::assignOperands
rogram/ir_to_mesa.cpp
|
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/master' into glsl2 This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
|
d64343f1ae84979bd154475badf11af8a9bfc2eb |
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Flag when we use the address reg. Hardware backends will get angry otherwise.
hader/ir_to_mesa.cpp
|
2621100458e337e34166b4b769be0536f6acb32a |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix reversed naming of the operations in compute-to-mrf optimization. Also fix up comments, so that the difference between the two passes is clarified.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_wm_emit.c
|
b3ea15f12b931a38d18b4b250031832916380174 |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up a few magic numbers to use brw_defines.h defs.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_wm_emit.c
|
ca0f4e2c10c6b150c2d554ffa7b8b05278716650 |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use MIN2, MAX2 instead of rolling our own.
rivers/dri/i965/brw_optimize.c
|
9e31adfa461613b43d31e75fc10c2b699ee93e15 |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fold the "is arithmetic" bit of 965 opcodes into the opcode list.
rivers/dri/i965/brw_optimize.c
|
b9c84515a540dfe2591048a7b88255fe55dc3103 |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove some duped register size/count definitions
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_optimize.c
|
22f839292f48a47601e1b97a7f4679018c42d0ed |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move the GRF-to-MRF optimizations to brw_optimize.c.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_wm_emit.c
|
a64def5f2ae1336cafff64a782ec5314d31c310f |
26-Jul-2010 |
Benjamin Segovia <benjamin.segovia@intel.com> |
i965: Improve (i.e. remove) some grf-to-mrf unnecessary moves Several routines directly analyze the grf-to-mrf moves from the Gen binary code. When it is possible, the mov is removed and the message register is directly written in the arithmetic instruction Also redundant mrf-to-grf moves are removed (frequently for example, when sampling many textures with the same uv) Code was tested with piglit, warsow and nexuiz on an Ironlake machine. No regression was found there Note that the optimizations are *deactivated* on Gen4 and Gen6 since I did test them properly yet. No reason there are bugs but who knows The optimizations are currently done in branch free programs *only*. Considering branches is more complicated and there are actually two paths: one for branch free programs and one for programs with branches Also some other optimizations should be done during the emission itself but considering that some code is shader between vertex shaders (AOS) and pixel shaders (SOA) and that we may have branches or not, it is pretty hard to both factorize the code and have one good set of strategies
rivers/dri/i965/brw_wm_emit.c
|
941b893032c9b27ae3b02e1faf9269a464e2b63f |
26-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Allow VS MOVs to use immediate constants. Clarifies program assembly, and with a little tweak to always use constant_map, we could cut down on constant buffer payload.
rivers/dri/i965/brw_vs_emit.c
|
658fc7539d6befaa48e69496097d383048af9173 |
24-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix Cygwin build with llvm enabled. On Cygwin locale_t in not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
ain/imports.c
|
1874cb7e82a566079219a571d6a30a74581c611e |
11-Jun-2010 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
gallium: Fix build with llvm installed in non-standard location The es1, es2 and gl state trackers include draw_pipe.h, which includes the llvm headers if MESA_LLVM is true, so we also need to add the llvm seachpaths. Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled. Also fix xorg drivers, they didn't include LDFLAGS.
akefile
|
a2eb8bdcc7bf64285ff75243b6ea7a06bff97cdd |
23-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: get rid of unneeded ureg_writemask()
tate_tracker/st_mesa_to_tgsi.c
|
e393350904a48d332d832881af9549400194608c |
23-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix bug in emit_adjusted_wpos() If we bias x,y we still need to pass through z,w in case the shader reads gl_FragCoord.z or .w. Fixes fd.o bug 29183 (piglit glsl-bug-22603). NOTE: This is a candidate for the 7.8 branch.
tate_tracker/st_mesa_to_tgsi.c
|
c65f4fd5ae2ba4ac36d9bd86cdc492df0f1da1b3 |
23-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Cleanly fail programs with unsupported array access. This should be more useful for developers and for bug triaging than just generating wrong code.
rivers/dri/i965/brw_program.c
|
35bbbf47425244188334a89163191d9f00bdeced |
23-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for VS relative addressing of temporary arrays. Fixes glsl-vs-arrays. Bug #27388.
rivers/dri/i965/brw_vs_emit.c
|
85e93da18ca2c967ca12870b62ab1aac2f0b880c |
23-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix the swizzles on record and array dereferences. Fixes: glsl1-struct (1) glsl1-struct (2) glsl1-struct (3) glsl1-struct (4)
hader/ir_to_mesa.cpp
|
c20a3628c7c6b7c41efe309b712bf93eb4e92039 |
23-Jul-2010 |
Brian Paul <brianp@vmware.com> |
glsl: remove invalid _mesa_problem() call Fixes fd.o bug 29206.
lang/slang_codegen.c
|
748c343f8bdbbc8c5f00403b790ad7130424c35f |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Pretty up the printing of MESA_GLSL=dump
hader/ir_to_mesa.cpp
|
cc15ef07e03e465d93df7062a516f9b4bfbaeda0 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Only complain about an infinite loop in a swrast program once. Chances are, if one fragment looped badly, others will too, and debugging output gets overwhelmed by the looping complaints.
hader/prog_execute.c
|
c8d0a9f0065c321308be635529c95735f3beb68f |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for MESA_GLSL=dump environment var.
hader/ir_to_mesa.cpp
|
63ba1ec3c1192a1b7299e5768e7721638cd5fa0b |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Respect VS/VP point size result when enabled. Fixes glsl-vs-point-size.
rivers/dri/i965/brw_sf_state.c
|
4ea71cbd0e5f622f760a01120b0ccf4baf4ee7c7 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the disasm output for da16 src widths. This has confused me twice now. It's a fixed width of 4 (usually a region description of <4,4,1>), not 1. If it was 1, we'd have been skipping all over register space.
rivers/dri/i965/brw_disasm.c
|
86fb92f59c98168d41c7d827f60c12b244f26382 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Avoid extra MOV in VS indirect register reads.
rivers/dri/i965/brw_vs_emit.c
|
b69ef5744a5caf5cc169abf47ed2040f7ea8b923 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up VS temporary array access for fixed index offset != 0.
rivers/dri/i965/brw_vs_emit.c
|
2fdff50999825f5698f1f7f88565162f39227b2f |
22-Jul-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Flip point sprite coordinates when rendering to an FBO. This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html.
rivers/dri/r600/r700_fragprog.c
|
7095e2f860b91288c89c57add438e912e10df38e |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Use talloc on InfoLog handling in ValidateProgram Fixes a segfault in Regnum Online.
hader/shader_api.c
|
c686ee0fa7e2298408259f5533b739c7d05c78b8 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: In the VS, multiply the address reg by the appropriate register size. The ARL value is increments of vec4 in the register file. But PROGRAM_TEMPORARY or PROGRAM_INPUT are stored as vec4s interleaved between the two verts being executed (thus a vec8 each), compared to PROGRAM_STATE_VAR being packed vec4s. Fixes: glsl-vs-arrays-2 glsl-vs-mov-after-deref (without regressing glsl-vs-arrays-3)
rivers/dri/i965/brw_vs_emit.c
|
21eaa62ba461854003e5f74e6fc32e559e9c8455 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up brw_dp_READ_4_vs() now that it has fewer options to support.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
96b11f1e3ee12f06be1d33bf085bf1353f23e667 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Support relative addressed VS constant reads using the appropriate msg. The previous support was overly complicated by trying to use the same 1-OWORD message for both offsets.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
9e9e87a9b20c581315ff679dc2541d9e442a6301 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the DP read msg_control definitions other than plain OWORD.
rivers/dri/i965/brw_defines.h
|
d0326e0e4ee245ec471fc976fbe98183fbe6da4e |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up dead code from the VS get_constant/get_reladdr_constant split.
rivers/dri/i965/brw_vs_emit.c
|
04de6861c1a41859dd85ca066b964e5df3ad63b6 |
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i956: Set the execution size correctly for scratch space writes. Otherwise, the second half isn't written, and we end up reading back black. Fixes the remaining junk drawn in glsl-max-varyings, and will likely help with a number of large real-world shaders.
rivers/dri/i965/brw_eu_emit.c
|
ff81a1dd92f1bffcbfbd2c5268ea0d821b8e9dd4 |
21-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the GEM domain flags for the scratch space. They go into the render cache, so while we don't care about their contents after execution, failing to note them could cause the writes to be flushed over important buffer contents later.
rivers/dri/i965/brw_wm_state.c
|
a3bfb2f755cb2255879600d12d8440fad7136a9a |
21-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the pretty define for 4-oword DP reads.
rivers/dri/i965/brw_eu_emit.c
|
d2f3eac8ffba8db8b141f07c22f612362c63ffe9 |
21-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the send commit bit on register spills as required pre-gen6. Otherwise, the subsequent read may not get the written value.
rivers/dri/i965/brw_eu_emit.c
|
0ecf5128a43ed1eff980825e425a030d2b71e50b |
21-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for dataport reads (register unspilling).
rivers/dri/i965/brw_disasm.c
|
d5be2acae379783c4aa31243e0a88a9e67e6ca7e |
20-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Link built-in functions instead of including them in every shader This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader.
ain/mtypes.h
hader/ir_to_mesa.cpp
|
c304869ec02793f2d8bf363d1e3b37c3d121cca7 |
21-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement depth clamp
tate_tracker/st_atom_clip.c
tate_tracker/st_extensions.c
|
56d33f8e2be1695c951a811fac1800117c2ca406 |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
ir_to_mesa: Add missing initializion of lod_info variable. To quiet a compiler warning.
hader/ir_to_mesa.cpp
|
19e3771cff8e68fab88f06681d381ba3dad6c3ae |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
Add missing initialization of inOutFlags pointer. This quiets a compiler warning, (and ensures a segmentation fault rather than memory corruption if this variable is written through before being initialized elsewhere).
lang/slang_link.c
|
171a25eaba5c29a5f14e472ca1860a6de248c6b2 |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
i965: Remove an unused variable. To quiet a compiler warning.
rivers/dri/i965/brw_vs_emit.c
|
349fa9ced7aa9f25a619aad3d90a5b4dcdf71df1 |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
Regenerate program/lex.yy.c Based on the two recent changes to program_lexer.l.
rogram/lex.yy.c
|
b4a08a0d87908b024a3d2595073b1beb6eda161e |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
Avoid more warnings in flex-generated code. This avoids two "function defined but not used" warnings. For the yyinput function we define YY_NO_INPUT which tells flex to simply not generate this function. For unput, we add a call to this function, but inside a while(0) so that it will quiet the warning without actually changing any functionality.
rogram/program_lexer.l
|
3c716a7ec2cabfc18a2506f9db655406f8c64fb0 |
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
Avoid warnings in flex-generated code. Add declarations for two functions generated in the flex ouput. It would be nicer if flex simply declared these generated functions as static, but for now we can at least avoid the warning this way.
rogram/program_lexer.l
|
60e2d06d1ccc66ad00cd7ab81c418853f21be291 |
20-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Implement utility routine to talloc reparent an IR tree
hader/ir_to_mesa.cpp
|
2462a536ea5c98867296905e3da127eba7c7bdff |
19-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add a constructor for _mesa_glsl_parse_state Coming changes to the handling of built-in functions necessitate this.
hader/ir_to_mesa.cpp
|
7e2aa91507a5883e33473e0a94215ee3985baad1 |
20-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add and use new variable mode ir_var_temporary This is quite a large patch because breaking it into smaller pieces would result in the tree being intermitently broken. The big changes are: * Add the ir_var_temporary variable mode * Change the ir_variable constructor to take the mode as a parameter and correctly specify the mode for all ir_varables. * Change the linker to not cross validate ir_var_temporary variables. * Change the linker to pull all ir_var_temporary variables from global scope into 'main'.
hader/ir_to_mesa.cpp
|
1124e5a3cbba839ffd968742bfa3295c8de5498c |
21-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Validate the linked shaders as well. This caught the failure in cloning of ir_dereference_record.
hader/ir_to_mesa.cpp
|
d4f239de6e988a59d4ba3783ea325aa1552c3f5a |
20-Jul-2010 |
Carl Worth <cworth@cworth.org> |
hash_table: Add new hash_table_remove function. To allow for the removal of a single element from a hash table.
hader/hash_table.c
hader/hash_table.h
|
c4889fa5f046f0f6cb04fe6cc20d789bb0551baf |
20-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Remove unnecessary header.
rivers/dri/radeon/radeon_screen.c
|
f8946699ecfa5bc6566821fb855072bbdbd716b2 |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add definitions of the builtin constants present in GLSL 1.10. Fixes: glsl1-built-in constants
hader/ir_to_mesa.cpp
|
18ab797d3aff776833fac1bd0ea01a2750f377b1 |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix swizzled writemasks with swapped component ordering. I hadn't noticed you could do this, but glsl1 tests caught it. Fixes: glsl1-Swizzled writemask glsl1-Swizzled writemask (2) glsl1-Swizzled writemask (rgba) glsl1-Swizzled writemask (stpq)
hader/ir_to_mesa.cpp
|
5ed6627ceb82845a7b578419b3cd4168ad0106d3 |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement and advertise GL_ARB_draw_elements_base_vertex Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
e794fac35a9639d87a4ebd785e1e6b84490090ef |
19-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement depth texture modes
tate_tracker/st_atom_texture.c
|
bab484a59b21fff84579a492d079d46e27d486dd |
20-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: call ctx->Driver.ChooseTextureFormat() only when necessary. When defining mipmap level 'L' and level L-1 exists and the new level's internalFormat matches level L-1's internalFormat, then use the same hw format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call. This avoids a problem where we end up choosing different hw formats for different mipmap levels depending on how the levels are defined (glTexImage vs. glCopyTexImage vs. glGenerateMipmap, etc). The root problem is the ChooseTextureFormat() implementation in some drivers uses the user's glTexImage format/type parameters in the choosing heuristic. Later mipmap levels might be generated with different calls (ex: glCopyTexImage()) so we don't always have format/type info and the driver may choose a different format. For more background info see the July 2010 mesa-dev thread "Bug in _mesa_meta_GenerateMipmap"
rivers/common/meta.c
ain/teximage.c
ain/teximage.h
|
22266c391fbe17603b15a83d4ccf5fa9455ccf8d |
19-Jul-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glx: Remove support for MESA_swap_frame_usage The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/unichrome/via_screen.c
|
cb2a66fd0c095fe03be5aaf88c8d48f5867425d3 |
19-Jul-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glx: Drop support for GLX_MESA_allocate_memory Only r200 implemented it.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/radeon/radeon_screen.c
rivers/x11/glxapi.c
|
f9d11b8cee235dae42f757e21c2536391c07b3e8 |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Mostly fix glsl-max-varyings. There was confusion on both the size of message we can send, and on what the URB destination offset means. The remaining problems appear to be due to spilling of regs in the fragment shader being broken.
rivers/dri/i965/brw_vs_emit.c
|
e179fa9a0a0fb3bfd8f4cec998a886dc06f75d0a |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up message register setup in emit_vertex_write().
rivers/dri/i965/brw_vs_emit.c
|
09788ce10e354b3af6139c04a13b38df18632b13 |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Reduce repeated calculation of the attribute-offset-in-VUE. This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_util.c
|
e29cff62734b6aaf0b05dba0b3ed98fe78842a42 |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clarify the nr_regs calculation in brw_clip.c
rivers/dri/i965/brw_clip.c
|
bdcaaed6ff3238ea4317aff2f7a6947e4a72de9c |
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't set up VUE space for the disabled user clip distances on gen6.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/gen6_sf_state.c
|
25f51d3b9b8c36c41cd23d2797b6a06f6e27ff86 |
17-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Track and validate GLSL versions used in shaders
ain/mtypes.h
hader/ir_to_mesa.cpp
|
374c74f4c49ee78c06f677cfb6587cb353bd669c |
19-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove restart.c from build
Conscript
ources.mak
|
95c08920ea3d040360e5cc51d8a852d21a0329ee |
19-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i915: Ask the compiler to flatten out all the if statements that it can.
rivers/dri/i915/i915_context.c
ain/mtypes.h
hader/ir_to_mesa.cpp
hader/shader_api.c
|
ee7b2b3f44d09c2311887d3524e197b9738580a9 |
19-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Do validation on the IR tree.
hader/ir_to_mesa.cpp
|
4802fd905ae7c1a1122ec71c0556c2b19214a7fd |
19-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't do lowering passes on an errored-out shader.
hader/ir_to_mesa.cpp
|
4fd39a8d69cade6db5c4a0295a5f5f3014110b1c |
17-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 format Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch
tate_tracker/st_cb_fbo.c
|
b29d31cd67a423995b5673fdeedea82dfa12ec3c |
19-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Rename struct temp_entry, which is used for all variables now.
hader/ir_to_mesa.cpp
|
7b130149427019ac9ae6d39b6871c14fb6ba2dad |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for function calls. Unlike the previous compiler, in this case we emit only one copy of the function regardless of how many times it's called.
hader/ir_to_mesa.cpp
|
9be7f638130f46a9df2bfbcd4a03b36de9e4f3aa |
14-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Make cross() be an expression operation. ARB_fp, ARB_vp, Mesa IR, and the 965 vertex shader all have instructions for cross. Shaves 12 Mesa instructions off of a 66-instruction shader I have.
hader/ir_to_mesa.cpp
|
41bcd8cb1ee93209d38af7b47a158d20a6c5ae11 |
16-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: return retval in _mesa_RenderObjectUnpurgeable() Found by Vinson with static analysis. NOTE: This is a candidate for the 7.8 branch.
ain/bufferobj.c
|
5f9d7bb2425aee65e75667953a6cc304072f2b11 |
16-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add error path in compressed_texture_error_check. Add error path for unhandled dimensions in compressed_texture_error_check.
ain/teximage.c
|
2bd69080a229fb81685234a08922dffbcecdfe95 |
15-Jul-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix typo in r700 assembler Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch.
rivers/dri/r600/r700_assembler.c
|
fef9b532cd1631cc53056b9eba4369d1310b88df |
15-Jul-2010 |
Henri Verbeet <hverbeet@gmail.com> |
radeon: Also flush if it's not the current context that's being destroyed. This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch.
rivers/dri/radeon/radeon_common_context.c
|
0a7803cbaca13033d9ed31ef33f59efa913fbfce |
15-Jul-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: allow driconf vblank settings with dri2 fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch.
rivers/dri/radeon/radeon_screen.c
|
3fde89e4395d260821f4e76a0fe36c265c148a73 |
15-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix quad strip trimming bug The translate_prim() function tries to convert quad strips into tri strips. This is normally OK but we have to check for an odd number of vertices so that we don't accidentally draw an extra triangle. The mesa-demos/src/samples/prim.c demo exercises that. With this fix the stray yellow triangle is no longer drawn. Use the u_trim_pipe_prim() function to make sure that prims have the right number of vertices and avoid calling gallium drawing functions when the prim has a degenerate number of vertices. Plus add comments, clean-up formatting, etc. NOTE: This is a candidate for the 7.8 branch.
tate_tracker/st_draw.c
|
cc2f337d06987ea7a8fbf30ce33330b4d993207c |
15-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix potential out-of-bounds access by _vbo_Materialf. _vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array.
bo/vbo_exec_api.c
|
2f4ce2564577755aaf58d05dec3a66d9982e56e1 |
14-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return values Fixes piglit object_purgeable-api-pbo, object_purgeable-api-vbo and object_purgeable-api-texture failures with swrast. NOTE: This is a candidate for the 7.8 branch.
ain/bufferobj.c
|
f2bfc2b7d2c5ef8a54ef9c9d25bc2e4cac2b8616 |
14-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: update assertions and fix refcounting in depth/stencil renderbuffer code
ain/depthstencil.c
|
4beea12f170cdbce75bd07549b475f59fc3cd7f9 |
14-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: silence a printf warning
ain/varray.c
|
582132aaef3fa6fa912f27c75c3b3e5bd89d3714 |
14-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
Merge branch 'mesa-2d-registers'
|
1491c6aa2de17760ab157a3fe71e45006e4eecf6 |
14-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: add comments and change Index2D to just Index2
rogram/prog_instruction.h
rogram/prog_print.c
lang/slang_emit.c
lang/slang_ir.c
lang/slang_ir.h
lang/slang_link.c
tate_tracker/st_mesa_to_tgsi.c
|
9fa64ea67544d252c6713e21d3b9c17a2bbb0603 |
14-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix swizzling in the transformation of Abs modifiers
rivers/dri/r300/compiler/r3xx_vertprog.c
|
021222c6a872ca2eef770ebadb8754f659775204 |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add convenience function for opcodes with no src/dst reg. Most of flow control is like this.
hader/ir_to_mesa.cpp
|
4d5da50b94115d055ba8d0ff8717054582665384 |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for variable array indexing of builtin varyings. That is to say, gl_TexCoord[i] now works, fixing glsl-texcoord-array on swrast.
hader/ir_to_mesa.cpp
|
f8a2b65bc9bf3dfb4a4aa6fe1c0ea65f78a01922 |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for array dereferences on the LHS of assignments. The big change is to delay address reg setup until the instruction that needs the deref. It was hard to use the deref chain support for the LHS because it does the copy of the dereffed value to a temporary (to avoid problems when two src regs are array derefs), so we wouldn't haev a pointer to actual storage in the end. Fixes glsl-vs-arrays on swrast.
hader/ir_to_mesa.cpp
|
56da2403fc1cb7f68a699dc6fd6c53f923dd3267 |
13-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement the Abs source operand modifier for vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
|
b5fc699b1e1b446260ce9ddb5f2d9fa96361b100 |
13-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shaders Despite the docs, the corresponding hardware instructions are r5xx-only.
rivers/dri/r300/compiler/r3xx_vertprog.c
|
c4066b78c0aad41c199eb27157538c2ec9ab5bfd |
13-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: s/snprintf/_mesa_snprintf/
ain/enums.c
|
4ca07882afad656bf0a0f56b68038ce556bceec4 |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Rely on ir_mat_op_to_vec for matrix multiplication support.
hader/ir_to_mesa.cpp
|
3f08989267d9cdd944787fcf7a300c6f1f84462c |
13-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Emit OPCODE_MAD when we find an ADD of a MUL. Bug #27914.
hader/ir_to_mesa.cpp
|
8258a6a2c36c9769428f4525415d6c0d565e588c |
12-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for dereferencing matrices from arrays.
hader/ir_to_mesa.cpp
|
3fb878722ed53d79eedb9fe68972ef32b79575d4 |
09-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Stub-out intrastage linker
hader/ir_to_mesa.cpp
|
ffd7bb031e67f0d4e1eb36aa27261e8744e7b133 |
07-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Make shader_api.h be C++ friendly
hader/shader_api.h
|
7facb8f2c8aa4a59aac20bd571f76097634092e9 |
12-Jul-2010 |
Maciej Cencora <m.cencora@gmail.com> |
Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesa
|
c6b7aa96f9c1f2cf5d23512e808ee4023fc2674d |
12-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Fix include recursion. Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
rivers/dri/r600/r700_oglprog.h
|
7b48843ecd6690902e4f3bd709a041133b7fb540 |
12-Jul-2010 |
Eric Anholt <eric@anholt.net> |
Revert "ir_to_mesa: Add support for adding/subtracting matrices." This reverts commit b4d0c0e0ee983ee614b047799c3e01221a353c98. Now that ir_mat_op_to_vec is landed, this change is no longer needed.
hader/ir_to_mesa.cpp
|
6d8a0a0aadaafbab02dffcf7f89eb0210dd37b2e |
12-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a new pass at the IR level to break down matrix ops to vector ops. This will be used by the Mesa IR and likely most HW backends, as it allows other optimizations to occur that might not otherwise. Fixes glsl-vs-mat-sub-1, glsl-vs-mat-div-1.
hader/ir_to_mesa.cpp
|
ba03a0b5ba73bc8e79d0ffa6d1da623544716f74 |
12-Jul-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix some wine d3d9 tests Need to flush command stream before mapping texture image that is referenced by current cs. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/radeon/radeon_tex_getimage.c
|
72e6a1e72f21653295165320fbca6961eddc9eb3 |
11-Jul-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: lower texture memory consumption is some cases When searching for valid miptree check images in range of [BaseLeve, MaxLevel] not [MinLod, MaxLoad]. Prevents unnecessary miptree allocations in cases when during every rendering operation different texture image level was selected using MIN_LOD = MAX_LOD = level (for every level new miptree for whole texture was allocated). Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/radeon/radeon_mipmap_tree.c
|
ad24ea37bb0cef7b383bb38e31466b6bb1f7fce6 |
11-Jul-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix teximage migration failure in rare case Always store selected miptree in texObj->mt so get_base_teximage_offset returns correct data. Found with piglit/mipmap-setup. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/radeon/radeon_mipmap_tree.c
|
452a7d5a9d339db3326f33d464dce1a879ccc533 |
11-Jul-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300c: Fix vertex data setup for named buffer objects with unaligned offset Candidate for 7.8 branch Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/r300/r300_draw.c
|
932e4e65e3b311d5f05d20e0d40932f9dc6f7e8f |
11-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecessary headers.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_context.c
|
79b643dd02ac4e19f24c9cd88843719746f8ec69 |
11-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: make uniform work with geometry shaders
ain/uniforms.c
rogram/prog_uniform.c
|
748d8d46134a835f61675ae0206d52869eb03240 |
11-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
Revert "mesa: temporarily enable printing of Mesa's GPU instructions" This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
lang/slang_emit.c
|
df0831f3750918ce3cd9cc1f5610bafc8b87c8e4 |
11-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitive
ain/api_validate.c
|
8dc6d7610fa2e639b6cdbc8b4e277563cfd87a5e |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Fix GCC 'implication declaration of function' warnings. Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7.
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
425870c5fdb40f7daf2e25323fa28c90c4367bae |
10-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: get the translation from mesa 2d regs to tgsi working first working version of arb_geometry_shader4
lang/slang_emit.c
lang/slang_link.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
9808308f9ad05c5fd6916cb808c66be23f21db60 |
10-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for emitting 2D registers from slang
lang/slang_builtin.c
lang/slang_builtin.h
lang/slang_codegen.c
lang/slang_emit.c
lang/slang_ir.c
lang/slang_ir.h
|
00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7 |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecessary header. Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion.
rivers/dri/r600/r600_cmdbuf.h
|
7b8726a99da961fe0ace7c7ee567f82217715fe4 |
10-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: temporarily enable printing of Mesa's GPU instructions
lang/slang_emit.c
|
b4855288e4de9001b4107d3d4c2f7aff4a4680f9 |
10-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: add basic support for 2D register arrays to mesa just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions
rogram/prog_instruction.h
rogram/prog_print.c
tate_tracker/st_mesa_to_tgsi.c
|
308f52d57341bc864baf619ac0fbc2b33f5cc5a5 |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Fix include recursion. r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers.
rivers/dri/r600/r700_chip.h
|
0c767b9ae6f56968cd35efcaa79c74375ca692d6 |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Fix GCC warn_unused_result warning.
rivers/glslcompiler/glslcompiler.c
|
16def3087070d55b2f6c823e825463e87a06cd02 |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Fix memory leaks on error paths.
rivers/glslcompiler/glslcompiler.c
|
011e6794e38e0eadc965c1604c00151a88baad42 |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Remove unnecessary headers.
rivers/glslcompiler/glslcompiler.c
|
343b38a692a43f091117e05287748d9b2f093aee |
10-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. The other similar integer/float conversion macros are in macros.h.
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tex.c
rivers/dri/sis/sis_state.c
ain/imports.h
ain/macros.h
|
8a8e311d8c3c60982d101826a4aa013672730e6c |
08-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Add a register rename pass. This pass renames register in order to make it easier for the pair scheduler to group TEX instructions together. This fixes fdo bug #28606
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/SConscript
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_rename_regs.c
rivers/dri/r300/compiler/radeon_rename_regs.h
|
3724a2e65f5b3aa6e123889342a3e9c4d05903f5 |
04-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix scheduling of TEX instructions. The following instruction sequence will no longer be emitted in separate TEX blocks: 0: TEX temp[0].xyz, temp[1].xy__, 2D[0]; 1: TEX temp[1].xyz, temp[2].xy__, 2D[0]; This fixes fdo bug #25109
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
41f66915ab3d052e0e2ef06000d6534eb7776ec6 |
09-Jul-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix indirect addressing of gl_TextureMatrix[] arrays The code to emit an array of OpenGL state vars lacked the code to handle the gl_TextureMatrix[] array. Fixes fd.o bug 28967 NOTE: this is a candidate for the 7.8 branch.
lang/slang_builtin.c
|
7595733677b9f1231c474a248b05d85d82b3c9f6 |
09-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Fix build.
rivers/glslcompiler/glslcompiler.c
|
dfd30ca6a95a7d95835dad78ffe1fba4d1f4ef69 |
08-Jul-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Remove generate_temporary and global temporary counter. Most places in the code simply use a static name, which works because names are never used to look up an ir_variable. generate_temporary is simply unnecessary (and looks like it would leak memory, and isn't thread safe...)
hader/ir_to_mesa.cpp
|
8a3f2eb9e6c830ff953751221961f2a6c8f76661 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for SEND mlen/rlen on Sandybridge.
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_structs.h
|
20be3ff57670529a410b30a1008a71e768d08428 |
25-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add 'wait' instruction support When EU executes 'wait' instruction, it stalls and sets notification register state. Host can issue MMIO write to clear notification register state to allow EU continue on executing again. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
a3cc7585eae1dd7aa1f2257e787c784672f49831 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix disasm of a SEND's mlen and rlen on Ironlake.
rivers/dri/i965/brw_disasm.c
|
3f906621da3647d06b7c9903f4b7367efebd82b7 |
29-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add decode for Sandybridge DP write messages.
rivers/dri/i965/brw_disasm.c
|
04466795511bc93e4301e71b9e0c7a9154ecf042 |
29-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add definitions for Sandybridge DP write/read messages.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_structs.h
|
e72b87736d8453e79bb6da48ba4cfcc2e97c8e14 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
intel: Update intel_decode.c from intel-gpu-tools. This came from commit cf255e382d147fe3ca450f0dcec3525190e7dcbc
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_decode.c
rivers/dri/intel/intel_decode.h
|
3751e6e1fc385739022d0942b46e175632ad0d4b |
08-Jul-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix 'if ((x=foo()) > 1.0)' bug Fixes fd.o bug 27216. May also be the root cause of fd.o bug 28950. We weren't propogating the storage info for the x=foo() expression up through the IR tree to the inequality expression. NOTE: This is a candidate for the Mesa 7.8 branch.
lang/slang_emit.c
|
7c6a89727543e7f0b72b792ec77f02565337e923 |
08-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: additional assertions in st_translate_mesa_program()
tate_tracker/st_mesa_to_tgsi.c
|
25cda5039df0da6c2c65f1cac1bfc750c0c16e82 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Extend register lifetimes to the end of the largest loop required. Previously, a register defined at main scope and used in a loop in a loop could end up getting marked as needed only from the definition outside of the loops to the end of the inner loop, and we would cleverly slot in something else in its register in the end of the outer loop. Fixes glsl-vs-loop-nested and glsl-fs-loop-nested on glsl2. This doesn't happen much on master because the original compiler does its own register allocation, so we find little we can do with linear scan register (re)allocation.
hader/prog_optimize.c
|
396f2cd94ffe4f11af79a1ed58fb6443fd6e124a |
08-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
slang: fix typos
lang/slang_codegen.c
|
f11e25ee957549ab867fac4f17a5c61fd9172794 |
07-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
slang: add some comments related to geometry shaders
lang/slang_codegen.c
lang/slang_link.c
|
7c42390453e611367cf1ba11446692ec04e0abfb |
07-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
gs: inject const int gl_VerticesIn at link time
ain/mtypes.h
lang/library/slang_geometry_builtin.gc
lang/slang_builtin.c
lang/slang_codegen.c
lang/slang_link.c
tate_tracker/st_program.c
|
f632a330eccb26c28a3b94216c55994e94988751 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Fix documentation of BranchTarget for BRK. It was changed in 2009 and the comment wasn't updated.
hader/prog_instruction.h
|
6988f65e43297ae63bbce30bf882f870b370096c |
08-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial support for new GL 3.0 texture formats
ain/extensions.c
ain/mtypes.h
ain/teximage.c
ain/version.c
|
ea2a03f0a5b8b58ea88ecb607664ea50c9d6e96e |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix the assertion on LHS array derefs to DWIM. This allows array derefs of matrices now, which makes idr's GLSL demo happy.
hader/ir_to_mesa.cpp
|
ffd24b0a6844871eed0c78608431e2f82d5615e1 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for constant matrices (untested).
hader/ir_to_mesa.cpp
|
b4d0c0e0ee983ee614b047799c3e01221a353c98 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for adding/subtracting matrices. This isn't really tested, but didn't break normal vector add/sub.
hader/ir_to_mesa.cpp
|
69676fc6a3ffbc2c99af541b954427c2e4966d68 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't assert that we can't assign matrices. It should work now.
hader/ir_to_mesa.cpp
|
9968f1b23c475c99139f0209c7a049ed00df01af |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Only allocate a vector per column of a matrix.
hader/ir_to_mesa.cpp
|
7d8091f7cca0314dd66599bdce5bfcf09fe8b578 |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for assignment of aggregates.
hader/ir_to_mesa.cpp
|
9b68b88e43c424439d425534ef280ee7a9406a1b |
08-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for matrix * matrix.
hader/ir_to_mesa.cpp
|
9755539116fd0b818cc0636a6d6ed10b19b639be |
07-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix sampler max_lod computation This change makes gallium behave like other GL implementations and fixes a conformance failure.
tate_tracker/st_atom_sampler.c
|
76101f7c0468c7f346b1a8d6b824fc8914a17bd1 |
07-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for gl_TextureMatrix access. Fixes glsl-vs-texturematrix-1, and glsl-vs-texturematrix-2 on swrast.
hader/ir_to_mesa.cpp
|
8bb15c1ed55eb71533d2af94a6afbf01e3d23610 |
07-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fill in some uninitialized fields that sometimes contained junk.
hader/ir_to_mesa.cpp
|
51c438feb765cf03d1a6448295e6c62be61a5e56 |
07-Jul-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: workaround 3 comp GL_SHORT vertex attribute format on r700 guess it's a hw errata?
rivers/dri/r600/r700_assembler.c
|
d674ebcee0d2731e50d6530502cefcebc39dcdb6 |
07-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a pass to simplify if statements returning from both sides. This allows function inlining making the following tests work even without function calls implemented: glsl-fs-functions-2 glsl-fs-functions-3 glsl-vs-functions glsl-vs-functions-2 glsl-vs-functions-3 glsl-vs-vec4-indexing-5 (Note that those tests were designed to trigger actual function calls, and this defeats them. However, those testcases ended up catching the bug in the previous commit.)
hader/ir_to_mesa.cpp
|
84a5f27b9b7745f7f0486e067684463dd89f6b4b |
07-Jul-2010 |
Brian Paul <brianp@vmware.com> |
glsl: use Elements() in arrays instead of sentinal values The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere.
lang/slang_builtin.c
|
a36334be02cb0a2b834667116bfeb680bf365857 |
07-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add pass for supporting variable vector indexing in rvalues. The Mesa IR needs this to support vector indexing correctly, and hardware backends such as 915 would want this behavior as well. Fixes glsl-vs-vec4-indexing-2.
hader/ir_to_mesa.cpp
|
2d1789e667c4180777829f96856daf91326721b9 |
07-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for conditional moves. Nothing generates conditional moves yet.
hader/ir_to_mesa.cpp
|
d1a1ee583e7e8338243b3e9768d2fc5312a1145d |
06-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Add hash table helper functions for using pointers as hash keys
hader/hash_table.c
hader/hash_table.h
|
e45a982313e02dbc186b51cf0935e0bec18dc61a |
06-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Make hashtable.h be C++ friendly
hader/hash_table.h
|
a0b3b9302978ab6d4db62f0c9b2b313ebc7ed0b4 |
06-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Use the compiler-assigned locations for builtin attrs/varyings. The previous table didn't distinguish gl_Color for the VS and FS, so we would use the FS's attribute index for the VS and read undefined. This partially fixes glsl-routing to match its behavior on master.
hader/ir_to_mesa.cpp
|
ce929d8210baf0ea66f32565285f0b33cd495e46 |
05-Jul-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement KILP opcode. Signed-off-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
|
32a9b2799e5e1254fdf84af8248ea86e234d6dd4 |
06-Jul-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Always initialize transform feedback state. Assert ctx->Driver.NewTransformFeedback if the feature is enabled; Use the default callbacks otherwise. The rest of core mesa expects the state to be initialized.
ain/transformfeedback.c
ain/transformfeedback.h
|
abd5627a6a034885b0b01b995c73870da1361bb0 |
06-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial support for unnormalized integer texture formats As defined by GL_EXT_texture_integer.
ain/formats.c
ain/formats.h
ain/image.c
ain/image.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/teximage.c
ain/texstore.c
|
40ef298641046d0455df9e177b14d33ba618f466 |
03-Jul-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix OpenGL ES-only builds. Check FEATURE_GL in _mesa_init_shader_dispatch and _mesa_init_shader_uniform_dispatch. OpenGL ES can not and does not use _mesa_init_<...>_dispatch. This is supposed to be temporary. Ideally, a more flexible way for initializing dispatch tables should be developed.
ain/shaderapi.c
ain/uniforms.c
|
7da9e1e61b4dbd627404941f72d2f7a40dc9153b |
25-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix loop unrolling
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
f381c52081b2cbff31c2f38abf16dffcc08f681c |
19-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Use hardware flow control instructions for loops on r500.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
|
0dbdcb43215c13dd7d7f83c1f1cdbfe6706109f0 |
19-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Don't continue copy propagation inside loops.
rivers/dri/r300/compiler/radeon_optimize.c
|
7f575309437100dcd9b1f72320845f56ac581919 |
15-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Print debug info for flow control instructions.
rivers/dri/r300/compiler/r500_fragprog.c
|
82d0602c1f8a1f83fba948c5f04f72e01f517681 |
15-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Enable hardware IF statements for r500 cards.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/r300_reg.h
|
1732751242fe0e05c02dfbc8ef5b386fbedc044e |
15-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: In the peephole optimizer, ELSE should mark the end of a block.
rivers/dri/r300/compiler/radeon_optimize.c
|
29a1d6aee7a07ab9d0d6007226719a2fa8a5ee25 |
13-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Correctly calculate the max number of iterations for loops.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
697d666d7860b3bdced32ca7fde9dea38f67da15 |
12-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle loops in deadcode analysis. This also allows us to split the loop emulation into two phases. A tranformation phase which either unrolls loops or prepares them to be emulated, and the emulation phase which unrolls remaining loops until the instruction limit is reached. The second phase is completed after the deadcode analysis in order to get a more accurate count of the number of instructions in the body of loops.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
|
e2a358348b143a163c065d82c7375e6a94e98f2a |
02-Jul-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
ir_to_mesa: Fix uninitalized value.
hader/ir_to_mesa.cpp
|
91c37599f621a0ec498c0f0add14f16470ca852b |
03-Jul-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: remove old renderbuffer before adding new Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch.
rivers/osmesa/osmesa.c
|
7cc58c1992ca7f8af13801ea430452e590755e32 |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: updated instruction comments
rogram/prog_instruction.h
|
b0ac07e3de8d9609fb0b1b7ec85b4149c4ee2c70 |
03-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix up implementation of ir_unop_exp. OPCODE_EXP is not to ir_unop_exp what OPCODE_EX2 is to ir_unop_exp2. It's the weird VP approximation helper opcode. Just implement it with OPCODE_POW instead. Fixes glsl-fs-exp.
hader/ir_to_mesa.cpp
|
4e7d5d0e74c26cac182cea1be0f6b79bb664ad8c |
03-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for the DP2 opcode, which we use for dot(vec2, vec2). The original glsl compiler would generate a.x * b.x + a.y * b.y, which we would do mul+mul+add for instead of this mul+mac. Fixes glsl-fs-dot-vec2.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass1.c
|
8f25d198e54a117b36e68582977a644d085a4a94 |
03-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for scalar * mat, vec * mat. This is not tested by piglit currently.
hader/ir_to_mesa.cpp
|
b61f4241f314144d3290085cda5db1959d8960a2 |
03-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for shadow comparison to texture instructions. piglit lacks tests for this currently.
hader/ir_to_mesa.cpp
|
d3983ca03248092d92b5240fbc6a30c24f80d313 |
03-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Move projection handling out of ir_tex so txb and txl get it. Fixes: glsl-fs-texture2dproj-bias glsl-fs-texture2dproj-bias-2
hader/ir_to_mesa.cpp
|
de75dfac4ea2cad64dc91f6ac16fe205b5015af6 |
02-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for projected non-shadow/bias/lod texturing. Fixes: glsl-fs-texture2dproj glsl-fs-texture2dproj-2
hader/ir_to_mesa.cpp
|
ae8164a67b05cdc6d9b520b9704330537f3a6024 |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add geometry shader fields to gl_shader_program These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
ain/mtypes.h
ain/shaderapi.c
ain/shaderobj.c
lang/slang_link.c
|
cab95c228b12f0fc568164d57475c561c8d6053e |
02-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix sparse swizzling of src regs when a writemask is present. Fixes glsl-fs-texture2d-masked.
hader/ir_to_mesa.cpp
|
28faa12dc2413d93c7f4778327a5e7c4c8f57c85 |
02-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Don't forget to run the Mesa IR optimization passes. With how we generate assignments, the trivial copy propagation in it is really important, and some drivers will really want the register allocation, too.
hader/ir_to_mesa.cpp
|
9a0e421983edc31371440c08687fa2bb2207924d |
02-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a pass to break ir_binop_div to _mul and _rcp. This results in constant folding of a constant divisor.
hader/ir_to_mesa.cpp
|
6e83420ee0ccb2228fab0f86a6e8bf8a6aefe57a |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix texenv generation when num color bufs == 0 Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE)) when the texenv program was generated, we'd emit writes to OUTPUT[1] but the OutputsWritten mask was 0. This inconsistency caused an assertion to fail later in the Mesa->TGSI translation. Fixes fd.o bug 28169 NOTE: this is a candidate for the 7.8 branch (and depends on commit b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7).
ain/texenvprogram.c
|
291bcfd831895ebdaee098f67007e1db0c8facdc |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add missing error checks in _mesa_program_parameteri()
ain/shaderapi.c
|
e3c961de3696911d8ab1351e64bd6e904de103d0 |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
main: change some GS field types, added comments
ain/mtypes.h
|
b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7 |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make the number of draw buffers part of the texenv program key state All the state that effects the program should be in the key. This didn't help with bug 28169 but is a good fix anyway. NOTE: this is a low-priority candidate for the 7.8 branch. In practice, this issue might never be hit.
ain/state.c
ain/texenvprogram.c
|
53d3f0c78818c93e7121857998ba207bfe9275fe |
02-Jul-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Silence warning.
rogram/prog_print.c
|
667f4e1940c4c4660e35dc9906672a476369660f |
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Conditionally allow optional extensions to be enabled The only optional extension currently supported by the compiler is GL_EXT_texture_array.
hader/ir_to_mesa.cpp
|
06143ea09411aa283ac3633bfbfa4326584cd952 |
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Conditionally define preprocessor tokens for optional extensions The only optional extension currently supported by the compiler is GL_EXT_texture_array.
hader/ir_to_mesa.cpp
|
44732103b2b7a8765299e586fb3b9bf91e32f6d4 |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: extension flags and version testing for GL 3.x features
ain/extensions.c
ain/mtypes.h
ain/version.c
|
120a9f46cd7cbe93f863a2fd6bdfe0cc5229f79f |
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: entrypoints for GL 3.1 primitive restart
Conscript
ain/restart.c
ain/restart.h
ources.mak
|
127308b4be077e5bdf60f76320307550921e86bb |
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add gl_MaxTextureCoords
hader/ir_to_mesa.cpp
|
5b90f83aee89d051983485cdec5b5db2f3659256 |
01-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: free xform feedback hash table
ain/transformfeedback.c
|
30f46e7b4c9d6c6f8c1c01825b344b90adc93982 |
01-Jul-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix comment
tate_tracker/st_cb_texture.c
|
411fb36b7cee223e090b4b9ef9bc14e058201a68 |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fill in remaining ops, remove default case for expression types. We should now have support for all the expression types we need for GLSL 1.20.
hader/ir_to_mesa.cpp
|
8761fcc2bf964d26c70229c712ce446dbe504ab7 |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for ir_unop_rcp. This isn't used at the moment, but will be soon.
hader/ir_to_mesa.cpp
|
8a1f186cc55979bb9df0a88b48da8d81460c3e7c |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add a pass to convert mod(a, b) to b * fract(a/b). This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
hader/ir_to_mesa.cpp
|
d925c9173009e9e5d48df30b30aaef22753183aa |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add ir_unop_fract as an expression type. Most backends will prefer seeing this to seeing (a - floor(a)), so represent it explicitly.
hader/ir_to_mesa.cpp
|
5e4dd061d17563828bcce5525400a0ce363aa15d |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for discard instructions. Fixes glsl-fs-discard-01.
hader/ir_to_mesa.cpp
|
3acd92a91f3e799b9f839a074f4d76a0e88d71fe |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for ir_unop_sign. Fixes glsl-fs-sign, glsl-vs-sign.
hader/ir_to_mesa.cpp
|
e558786a3ed52222c07f916e213b63dcba1890a2 |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for OPCODE_SSG. The old compiler didn't use SSG, and instead emitted SGT/SGT/SUB. We can do a little better for SSG than we do for the SGT series.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass1.c
|
d6ebe9b16b25f25ba763baf3738addc50676d5d0 |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add missing no-op type conversions. Fixes glsl-fs-step.
hader/ir_to_mesa.cpp
|
e64a4aaacbc682f24180dff3627b84861844476d |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Note which of our expr ops are unsupported 1.30 features.
hader/ir_to_mesa.cpp
|
285ff93819724b9a858984dc8c30858784a5ee5b |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Initialize the (we never use it) abs field of Mesa src regs.
hader/ir_to_mesa.cpp
|
ea6b34cce4471d6239201101a3b24db17eaae870 |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Send the negate field on to Mesa IR. Fixes glsl-fs-neg.
hader/ir_to_mesa.cpp
|
698b84444343189357ad252856d3c5493e47e4fa |
01-Jul-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: When generating a swizzle, respect the reg's current swizzle. Fixes depth-tex-modes-glsl.
hader/ir_to_mesa.cpp
|
16efab1c4dee6e6a827ba5f1c482378159545ae5 |
30-Jun-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Define new ir_discard instruction.
hader/ir_to_mesa.cpp
|
88c20c46b8f708e89adef28f341c51ea7883b6a0 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Support gl_FragDepth. Fixes glsl-bug-22603.
hader/ir_to_mesa.cpp
|
3e2127b9dea6fd0628c4d7cb9e338d83583d2729 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't look in unallocatd param slots for parameter values. glsl-derivs would add 40.0, 0.0, and 1.0 in order. When we went looking for 0.0, we'd find it in the second slot of the param, and use it, but param->Size would still be 1. When we went to add 1.0 and didn't find it, we'd put allocate it to that second slot and the 0.0 would actualy end up being 1.0. Fixes glsl-derivs, glsl-deriv-varyings.
hader/prog_parameter.c
|
c64da87611823b4b53e93188f861f748a69936a3 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix the indexing of attributes in the program's Attributes. This fixes GetAttribLocation returning VERT_ATTRIB_GENERIC1 instead of 1, caught by glsl-dlist-getattriblocation.
hader/ir_to_mesa.cpp
|
629198b96a8f471c48932d6af56184b6c33b5fe5 |
29-Jun-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Preprocessed source doesn't need to live past compile time.
hader/ir_to_mesa.cpp
|
116f1d4f95d8eb0a82b272016590549632c865b3 |
25-Jun-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Steal the live IR and free the rest of the junk.
hader/ir_to_mesa.cpp
|
ef5f1948316664055c1444d12076c7d86589a8b9 |
30-Jun-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Don't dynamically allocate slots for linked shaders The can be at most one shader per stage. There are currently only two stages. There is zero reason to dynamically size this array.
ain/mtypes.h
|
edcb9c2b062693a5974aa74725f6259023fff794 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Tell Mesa about our choices for vertex attribute locations.
hader/ir_to_mesa.cpp
|
849e18153cd91d812f694b806a84008498860bc3 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program. This avoids more allocation and shuffling of data around.
ain/mtypes.h
hader/ir_to_mesa.cpp
hader/shader_api.c
|
16b68b1952d0da14b9ce8306efa64988ce46b4b7 |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *. This saves recompiling at link time. gl_shader->ir is made a pointer so that we don't have to bring exec_list into mtypes.h.
ain/mtypes.h
hader/ir_to_mesa.cpp
hader/shader_api.c
|
2f0b01826dbae60fed60c0d744d42a1a4cde4a84 |
29-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD. Patch from Brad Smith <brad@comstyle.com> The attached patch allows the GL_OES_query_matrix function to use the systems fpclassify() for OpenBSD and NetBSD.
ain/querymatrix.c
|
0d68d01347383a8878c9678706cc3bd212b54bbd |
30-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: make the arguments in the asm statemants optional geometry shaders emit/end functions don't take any arguments
tate_tracker/st_program.c
|
524745bc55dd23c612aebdb545125727bfb16e4d |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for ir_unop_abs.
hader/ir_to_mesa.cpp
|
ba9bd708cb3480817e18cc47e57d83a4e4c305bb |
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for dFdx, dFdy.
hader/ir_to_mesa.cpp
|
d4f7e660dd81e05b0829c1b70663b3959fd78f47 |
29-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Start adding support for texture instructions. Fixes: glsl-fs-bug25902 glsl-fs-sampler-numbering glsl-lod-bias
hader/ir_to_mesa.cpp
|
5e18b051c039564d1998818d08caf1bff3983630 |
29-Jun-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Pass MaxDrawBuffers from core Mesa into the GLSL compiler
hader/ir_to_mesa.cpp
|
153eca98064252be4daad9cc27746f37c245b627 |
29-Jun-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Invoke preprocessor before calling the compiler proper
hader/ir_to_mesa.cpp
|
57c654324f5577d30c5239cd0c2c3eb7ad474143 |
23-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Add support for multiple APIs. Add st_gl_api_create_es1 and st_gl_api_create_es2 to create OpeGL ES 1.1 and OpenGL ES 2.0 contexts respectively.
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_gl_api.h
tate_tracker/st_manager.c
tate_tracker/st_manager.h
|
982aba97c581bab0ff55dc9cae4164ab30dfbeae |
23-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
st_api: Remove st_context::is_visual_supported. The callback is used by st/vega to check if a visual specifies the depth/stencil format. It forces st/vega to be loaded by st/egl to perform the check. As noted in EGL spec, the depth/stencil format of a visual should not affect OpenVG. It should be better to ignore the field and always allocate the depth/stencil texture.
tate_tracker/st_manager.c
|
da7bd6a90e1fee5c16327338fd251c0f6be34e36 |
28-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for ARB_geometry_shader4 laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
rivers/glslcompiler/glslcompiler.c
ain/api_exec.c
ain/config.h
ain/context.c
ain/enums.c
ain/extensions.c
ain/fbobject.c
ain/fbobject.h
ain/get.c
ain/mfeatures.h
ain/mtypes.h
ain/remap_helper.h
ain/shaderapi.c
ain/shaderapi.h
ain/shaderobj.c
ain/state.c
ain/uniforms.c
rogram/prog_instruction.c
rogram/prog_instruction.h
rogram/prog_print.c
rogram/prog_uniform.h
rogram/program.c
rogram/program.h
lang/library/Makefile
lang/library/SConscript
lang/library/slang_geometry_builtin.gc
lang/slang_builtin.c
lang/slang_builtin.h
lang/slang_codegen.c
lang/slang_compile.c
lang/slang_compile.h
lang/slang_emit.c
lang/slang_ir.c
lang/slang_ir.h
lang/slang_link.c
lang/slang_typeinfo.h
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
59a23d7fb93603b2449db4c5d786934a07aebfcb |
29-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Actually initialize the undef register for scalar_op1. Fixes glsl-sin, glsl-cos on 965, where we rely on unused src arguments in the VS having a file of PROGRAM_UNDEFINED.
hader/ir_to_mesa.cpp
|
f9ffccb06bcc90c862f20f8849b824022fbeebbf |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Support user-defined varyings using the linker's locations. Fixes glsl-reload-source.
hader/ir_to_mesa.cpp
|
ad8ad338f45c43fe9039d0069d3f3405ede756aa |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Actually add the header file for the interface.
hader/ir_to_mesa.h
|
8f62ad6d0ff3c11808739c74441f82f6f12485d6 |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix binop_sqrt for multi-channel and negative source channels. Fixes glsl-fs-sqrt-branch.
hader/ir_to_mesa.cpp
|
d5a5df45a4af93bb845483bdeeae7c8e042b03d8 |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix indexes of temps used in expressions. It looks like I managed to horribly mangle this in some rebase of the branch. Fixes: glsl-fs-fragcoord glsl-fs-mix
hader/ir_to_mesa.cpp
|
7dc1e0b3267f0bf4dc0ef015b972f7fa6c4c317a |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Notify the driver when we generate new Mesa programs for GLSL. Fixes glsl-fs-if-*.
hader/ir_to_mesa.cpp
|
904b5bfe9986a297dc71fe081ce0f2661d43b00b |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for the pow expression. Fixes glsl-algebraic-pow-two.
hader/ir_to_mesa.cpp
|
cbe52c8012659abe5d81cf1180659820e704d290 |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix EmitCondCodes for boolean vars as condition. Fixes glsl-vs-if-bool.
hader/ir_to_mesa.cpp
|
854fd66cbb569cb3d4768196f4c680eff489733e |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Respect EmitCondCodes for IF statements. Fixes glsl-vs-if-* for the 965 driver.
hader/ir_to_mesa.cpp
|
0a52e8b691cecfeec27717c3289763226d5f1bda |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Traverse the "else" instrs after "else", instead of "then" again.
hader/ir_to_mesa.cpp
|
3f3f41357d33893d01213b37c6d92bcb435b0eeb |
29-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix matrix * scalar multiplication. We're accessing in terms of columns, so we need to do MUL/MAD/MAD/MAD instead of DP4s. Fixes: glsl-fs-exp2 glsl-fs-log2 glsl-fs-mix-constant glsl-fs-sqrt-zero glsl-vs-sqrt-zero
hader/ir_to_mesa.cpp
|
ad2dc740b95f91f66d57dffe2840dffdefce1c1a |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Check the right element for matrix * scalar multiplication.
hader/ir_to_mesa.cpp
|
bd3b835e7c32e093f91f636330fd93b3dedd8362 |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add support for some builtin matrices.
hader/ir_to_mesa.cpp
|
81b7b79c472cbc15cb044656bd37b101a941f358 |
28-Jun-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Fix copy and wasted InputsRead/OutputsWritten setup.
hader/ir_to_mesa.cpp
|
ecd8c66d6a44c4bdcbbd63feae88c3cf1c371a87 |
26-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/shaderobj.c
|
2943f1ed8c5178cd71fe45e0de129e66c372f3e6 |
26-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_cb_program.c
|
0bef5b97a9eccebc4b59dff42b2863770da770fe |
26-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add support for non-float constants in Mesa IR. Fixes glsl-vs-vec4-indexing-4.
hader/ir_to_mesa.cpp
|
6152fa16a16c876497ab1791212dc79b15e91c1a |
26-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Take out the spamming of debug flags I'd added.
hader/ir_to_mesa.cpp
|
b2d7ed2aba916a995af9037c955930524977d310 |
26-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Don't clear swizzles for Mesa IR constants after fetching them. Missed this while hacking in constants support. Fixes: glsl-algebraic-mul-* glsl-algebraic-rcp-* glsl-vs-swizzle-swizzle-lhs glsl-vs-vec4-indexing-6
hader/ir_to_mesa.cpp
|
85c978f38c819003b6447e8e4feb8b90bb352eea |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Start trying to hook up uniforms. This should be resolved with linker.cpp's location assignment, as currently we drop that location assignment on the ground. However, this gets basic programs using uniforms working for now.
hader/ir_to_mesa.cpp
|
bda27424cf04c0d2ec2b49c56f562d5b2d2f0bff |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Use the parser state as the talloc context for dead code elimination. This cuts runtime by around 20% from talloc_parent() lookups.
hader/ir_to_mesa.cpp
|
abc4e52992c53ee6b6895480b47e6a6e27ef9bd0 |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Emit OPCODE_END at the end of the Mesa program. The 965 driver can now run a glsl2-generated shader!
hader/ir_to_mesa.cpp
|
582b73fe691ef7ea12a002cb2ae57505c3b1c21e |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Hook up constant parameters in ir_to_mesa.
hader/ir_to_mesa.cpp
|
ffc845a50a69b48446f5e25e7b4485089231bbe7 |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Set InputsRead and OutputsWritten on the generated programs.
hader/ir_to_mesa.cpp
|
364fcd8ee1af39e215338fba59306a14dd81c2b2 |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Start integrating ir_to_mesa.cpp into shader_api.h The compiler is now called by the driver, and generates program instructions. Parameter lists are still not set up, so the driver chokes on it shortly thereafter.
akefile
hader/ir_to_mesa.cpp
hader/shader_api.h
|
a879d14ecf818d767f5da9dd7fd3b0cd8816cf29 |
24-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initialize extension string when context is first bound ...instead of waiting until glGetString(GL_EXTENSIONS) is called. This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is ignored if the app never calls glGetString(GL_EXTENSIONS). NOTE: this is a candidate patch for the 7.8 branch.
ain/context.c
ain/getstring.c
|
0a1b54df7ac118722bb627c61cb322cb4e248ace |
21-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Replace the GLSL compiler with the glsl2 project.
akefile
rivers/dri/Makefile.template
hader/ir_to_mesa.cpp
hader/shader_api.c
ources.mak
|
9aa0b6d728dafc40a65d1a45aa0830f87d76cb23 |
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move the Mesa IR codegen into mesa/shader/
hader/ir_to_mesa.cpp
|
84341f4b2014810b2964230384fe76338be1d78e |
19-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Make sure that symbols aren't multiply defined in the same scope. The assembly parser is already checking this, but we're relying on the symbol table handling it in glsl2.
hader/symbol_table.c
hader/symbol_table.h
|
ca12aefdacd22fb42e3f1d3852db4c12de886554 |
24-Jun-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'shader-file-reorg' 1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
|
61ec20581696004acad516b14ca4a8a5ae9e6f1d |
22-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv() This is a follow-on to commit 80dfec3e53fd5b5c8c31fb16376c9910258c91b0. The valid attachments for glGetFramebufferAttachmentParameteriv() depends on whether we're querying the default FBO or a user-created FBO.
ain/fbobject.c
|
a20fa674482f95c31c199b94165e532c8cb6624e |
23-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: allow 1024 instructions in r5xx vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/r300_context.c
|
dd90c3040e926da837f2ce4e3e1b13e78719da47 |
23-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: allow 32 temporaries in vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
|
2f6b4187eb6adac6ff7361419269685ed1b2dae2 |
23-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: emulate loops in vertex shaders It is not perfect, but it is the best we got.
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
|
cbd33e7d3a940e4e7a7bc435f2256714115f3040 |
23-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix assertion failure for GL_ALPHA FBOs
ain/framebuffer.c
|
583f241716639ae7fc24eca38418d5860de229cb |
22-Jun-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: remove bogus assertions st_CompressedTexSubImage2D width/height may not be a multiple of blocksize (small mip levels / npot textures). This should be handled just fine. Fixes #28530.
tate_tracker/st_cb_texture.c
|
64e32ffb6e7d324dcb46a18975db0c58719c51e7 |
22-Jun-2010 |
Tim Evans <t.evans@aranz.com> |
swrast: fix incorrect specular highlights on backfaces See bug 28577 for details. NOTE: this is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
wrast_setup/ss_triangle.c
|
c674a7eb7fb2fd170df7ff5e3cefdddabda1a03f |
19-Jun-2010 |
Will Dyson <will.dyson@gmail.com> |
Revert "Fix image_matches_texture_obj() MaxLevel check" This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92. It was based on a failure to understand how ther driver allocates memory, and causes a regression with Celestia. Set MaxLevel to dstLevel before allocating new mipmap level. The radeon driver will fail to allocate space for a new level that is outside of BaseLevel..MaxLevel. Set MaxLevel before allocating. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/common/meta.c
rivers/dri/radeon/radeon_texture.c
|
6dd6830e6f87044b9ede10d324574cfe1f66a751 |
15-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Finalize the miptree before mapping it for fallbacks. Fixes segfault in mipmap_view.c demo. Bug #27212.
rivers/dri/intel/intel_span.c
|
1ea7a6a44db7ef8199b7fe78956e158727092479 |
15-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the name of aa_coverage_slope in the improved AA line params.
rivers/dri/i965/brw_structs.h
|
84178547dfaa27ca298ad1755d1ce686036a8550 |
17-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
|
71646528da5355468be8b52be662d0afd49a38f1 |
16-Jun-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: GL_COORD_REPLACE state is only relevant when point sprites are enabled.
rivers/dri/r600/r700_fragprog.c
|
5552dffa39d1401d20df4696540f5de2e8c852ea |
16-Jun-2010 |
Marc <marvin24@gmx.de> |
r600: fix warnings
rivers/dri/r600/r700_assembler.c
|
cbf30fce322506bd43692617de9d201533f41532 |
16-Jun-2010 |
Dan Nicholson <dbn.lists@gmail.com> |
osmesa: always build standalone for internal symbols When building OSMesa and xlib GL, the resulting OSMesa would be linked against libGL instead of the internal mesa libraries. However, when building with -fvisibility=hidden, some of the internal functions used in OSMesa could not be resolved through libGL. Instead, always build OSMesa standalone without linking against libGL. This has the advantage that OSMesa is always built the same way, but it means that disk space is wasted when libGL is installed since both libraries will contain the internal objects. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Tom Fogal <tfogal@alumni.unh.edu>
rivers/osmesa/Makefile
|
80dfec3e53fd5b5c8c31fb16376c9910258c91b0 |
15-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Allow querying the system FBO in GetFramebufferAttachmentParameteriv If the default framebuffer is bound to <target>, then <attachment> must be one of FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, AUXi, DEPTH_BUFFER, or STENCIL_BUFFER, identifying a color buffer, the depth buffer, or the stencil buffer, and <pname> may be FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE or FRAMEBUFFER_ATTACHMENT_OBJECT_NAME. as well as these <pname> values FRAMEBUFFER_ATTACHMENT_RED_SIZE, FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, or FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING. https://bugs.freedesktop.org/show_bug.cgi?id=28551
ain/fbobject.c
|
5d4d4b2134595c4ed8060d6d002a0cd54690c289 |
15-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary header.
rivers/dri/i965/gen6_viewport_state.c
|
7dcba1af9d0139ead8a0288ad272ea1116aaf3b3 |
13-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix surface state dumping with INTEL_DEBUG=batch. I broke this with the state streaming changes.
rivers/dri/i965/brw_state_dump.c
|
9a1ce46fce4f2a4317fd4e2d0b4309e774b3adca |
13-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: correct the gen6 line stipple enable define.
rivers/dri/i965/brw_defines.h
|
44ad62b86c1bb204562d517d5fa7d7675d0e77e3 |
13-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove long-dead comment about releasing texture heaps. BOs are stored in the bufmgr, which is freed as part of the screen structure.
rivers/dri/intel/intel_context.c
|
1dc573a881f5b1413d156b64f5fdd0a57825c02a |
12-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix gen6 front cull mode.
rivers/dri/i965/gen6_sf_state.c
|
5dbbb48f46f99baeba3a24a8371029e216b931bb |
13-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Use the new message header format for FF_SYNC on gen6.
rivers/dri/i965/brw_eu_emit.c
|
881ec3a81455f8449d06429811107e1f955f2c60 |
13-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Add support for math instructions in the gen6 WM.
rivers/dri/i965/brw_eu_emit.c
|
7ba2ecb32bb80ac67a41c63ddea1846105aaf910 |
13-Jun-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
i965: Set the correct WM GRF start reg on gen6.
rivers/dri/i965/gen6_wm_state.c
|
0f59b9a95d21dc79e98bce4ece3eab19e32ca80a |
12-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update gen6 paths for the streaming rework.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_viewport_state.c
|
7ad26b0030f6b14e6ec069eafdec6faf75e8007c |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Stream out CC unit state. before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 31.791 32.287 1.11% 6/6 after: [ 0] gl firefox-talos-gfx 31.198 31.675 0.96% 6/6
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
|
60cfed6c70dac9e12e763a727986427045395cbc |
12-Jun-2010 |
Joakim Sindholt <opensource@zhasha.com> |
r300/compiler: fix scons build
rivers/dri/r300/compiler/SConscript
|
b6cfca42e39d7413af22c26251cca513a0df2028 |
12-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary header.
rivers/dri/i965/brw_context.c
|
3eca311b725649cf8766253b57939359578cae66 |
11-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle more complex conditionals in loops.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
bde34a76b5b49d624c06c53a28ff8be3812810a7 |
08-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Fix warning.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
f7269cf26a966daf555b12bffc08d862dc34528d |
08-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Handle SGT and SLE at the beginning of loops.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
0125f5270b1603e046630ed769c40438a9a8e4a6 |
08-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Verify assumptions about opcode types.
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
6f1b6814bcaeb375a15277547376b0f909a52123 |
05-Jun-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Unroll loops that decrement the counter. e.g. for(i=10; i>0; i--)
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
0f1109ce3613b61bf3c502beb422af8d43ff7b9b |
31-May-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Unroll loops that have a constant number of iterations. This only works with for loops that increment the counter. e.g. for(i=0; i<10; i++)
rivers/dri/r300/compiler/radeon_emulate_loops.c
|
622fd4d061678027d5de2c84d1c07370830c4264 |
28-May-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Implement simple loop emulation The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_emulate_loops.c
rivers/dri/r300/compiler/radeon_emulate_loops.h
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
|
108264e859b4f435e9608472dc2e388aa200183c |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove the surface key used to generate constant surfaces. We had to fill out all that junk when using the cache, but no more.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
34c82804edb1e9b11cf31be2246a9086694d35d6 |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Warning fixes from the i965-streaming merge.
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_wm_surface_state.c
|
27bc2de5461c1d66c8e005b35de77e7b9e214754 |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the state base address to avoid relocations. This makes the binding table code simpler, and is required for gen6, which requires binding table addresses to be under 64k offset from the surface state base addr. No significant change in performance on firefox-talos-gfx.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
8ad3fdc9678866b40f3d9faaaf7c6333d388907f |
10-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: GC the last two arguments to brw_cache_data. Now that the binding table is streamed indirect state, they were always NULL/0.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_viewport_state.c
|
309c011641c6189dc74bc2f78ba6d6602d8c96b7 |
08-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove brw_state_cache_bo_delete now that it's unused again.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
|
178414eba402f9087ea505e7ef19f1becdd7a36d |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove caching of surface state objects. It turns out that computing a 56 byte key to look up a 20-byte object out of a hash table was some sort of a bad idea. Whoops. before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 37.799 38.203 0.39% 6/6 after: [ 0] gl firefox-talos-gfx 34.761 34.784 0.17% 5/6
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
|
73de09f265cb1c66d70fd9eb92021882bfbbbef6 |
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Convert the binding table to streamed indirect state. This slightly reduces reduces cairo-gl firefox-talos-gfx runtime on my Ironlake: before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 38.236 38.383 0.43% 5/6 after: [ 0] gl firefox-talos-gfx 37.799 38.203 0.39% 6/6 It turns out the cost of caching these objects and looking them up in the cache again is greater than the cost of just computing the object again, particularly when the overhead of having a separate BO to pin is removed. (Those that are paying close attention will note that this is a reversal of the path I was moving the driver in a couple of years ago. The major thing that has changed is that back then all state was recomputed when we wrapped the streaming state buffer, including recompiling our precious programs. Now, we're uncaching just the objects that are cheap to compute, and retaining caching of expensive objects)
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
118a47623a11a374df371d52ed0294224e6a62dc |
11-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Split constant buffer setup from its surface state/binding state. This was bothering me when redoing the binding tables.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
|
321014156b3f7842a84d9b9915389c9f6f6486f5 |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for streaming indirect state rather than caching objects.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
|
f5bb775fd1f333d8e579d07a5cac1ded2bd54a2f |
10-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the CC VP state immediately on state change. The cache lookup of these two little floats was .12% of total CPU time on firefox-talos-gfx because we did it any time commonly-changed state changed. On the other hand, updating the CC VP bo immediately whenver CC VP state changes is a .07% overhead due to putting a driver hoook in glEnable().
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
315ef0312a222b300ea7d619b95cb80596d3bee2 |
10-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Update old comment about state cache sizing.
rivers/dri/i965/brw_state_cache.c
|
3b3278519af67beb3dc9c134a6bd127370cf82f8 |
10-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move no_batch_wrap assertion out across the area we're trying to verify. It's more likely that we wrap badly in state setup than in the little primitive packet.
rivers/dri/i965/brw_draw.c
|
0a48949a11006f9c3b2ee0c93a796a03413345fa |
05-Jun-2010 |
Brian Paul <brianp@vmware.com> |
i965: remove UseProgram driver callback It just duplicated the default/core Mesa behaviour.
rivers/dri/i965/brw_context.c
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
akefile.mgw
Conscript
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/dri/common/dri_metaops.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_mesa_to_rc.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
rivers/glslcompiler/glslcompiler.c
ain/arbprogram.c
ain/context.c
ain/ffvertex_prog.c
ain/get.c
ain/nvprogram.c
ain/shaderapi.c
ain/shaderobj.c
ain/shared.c
ain/state.c
ain/texenvprogram.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
ain/transformfeedback.c
ain/uniforms.c
rogram/.gitignore
rogram/Makefile
rogram/arbprogparse.c
rogram/arbprogparse.h
rogram/descrip.mms
rogram/hash_table.c
rogram/hash_table.h
rogram/lex.yy.c
rogram/nvfragparse.c
rogram/nvfragparse.h
rogram/nvvertparse.c
rogram/nvvertparse.h
rogram/prog_cache.c
rogram/prog_cache.h
rogram/prog_execute.c
rogram/prog_execute.h
rogram/prog_instruction.c
rogram/prog_instruction.h
rogram/prog_noise.c
rogram/prog_noise.h
rogram/prog_optimize.c
rogram/prog_optimize.h
rogram/prog_parameter.c
rogram/prog_parameter.h
rogram/prog_parameter_layout.c
rogram/prog_parameter_layout.h
rogram/prog_print.c
rogram/prog_print.h
rogram/prog_statevars.c
rogram/prog_statevars.h
rogram/prog_uniform.c
rogram/prog_uniform.h
rogram/program.c
rogram/program.h
rogram/program_lexer.l
rogram/program_parse.tab.c
rogram/program_parse.tab.h
rogram/program_parse.y
rogram/program_parse_extra.c
rogram/program_parser.h
rogram/programopt.c
rogram/programopt.h
rogram/symbol_table.c
rogram/symbol_table.h
hader/.gitignore
hader/Makefile
hader/arbprogparse.c
hader/arbprogparse.h
hader/descrip.mms
hader/hash_table.c
hader/hash_table.h
hader/lex.yy.c
hader/nvfragparse.c
hader/nvfragparse.h
hader/nvvertparse.c
hader/nvvertparse.h
hader/prog_cache.c
hader/prog_cache.h
hader/prog_execute.c
hader/prog_execute.h
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_noise.c
hader/prog_noise.h
hader/prog_optimize.c
hader/prog_optimize.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_parameter_layout.c
hader/prog_parameter_layout.h
hader/prog_print.c
hader/prog_print.h
hader/prog_statevars.c
hader/prog_statevars.h
hader/prog_uniform.c
hader/prog_uniform.h
hader/program.c
hader/program.h
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
hader/program_parse_extra.c
hader/program_parser.h
hader/programopt.c
hader/programopt.h
hader/symbol_table.c
hader/symbol_table.h
lang/library/Makefile
lang/library/SConscript
lang/slang_builtin.c
lang/slang_builtin.h
lang/slang_codegen.c
lang/slang_compile.c
lang/slang_emit.c
lang/slang_ir.c
lang/slang_label.h
lang/slang_link.c
lang/slang_typeinfo.c
lang/slang_vartable.c
ources.mak
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
tate_tracker/st_program.h
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_texcombine.c
wrast/s_triangle.c
nl/t_vb_program.c
|
f1c5043f94261fecd8a6e54fe37d786554affcdd |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move shader/slang/* sources to main/slang/* Reduce the source tree depth a bit.
akefile
Conscript
ain/shaderapi.c
hader/slang/descrip.mms
hader/slang/library/.gitignore
hader/slang/library/Makefile
hader/slang/library/SConscript
hader/slang/library/slang_120_core.gc
hader/slang/library/slang_builtin_120_common.gc
hader/slang/library/slang_builtin_120_fragment.gc
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_vertex_builtin.gc
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_struct.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_label.c
hader/slang/slang_label.h
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_log.c
hader/slang/slang_log.h
hader/slang/slang_mem.c
hader/slang/slang_mem.h
hader/slang/slang_print.c
hader/slang/slang_print.h
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
hader/slang/slang_utility.c
hader/slang/slang_utility.h
hader/slang/slang_vartable.c
hader/slang/slang_vartable.h
lang/descrip.mms
lang/library/.gitignore
lang/library/Makefile
lang/library/SConscript
lang/library/slang_120_core.gc
lang/library/slang_builtin_120_common.gc
lang/library/slang_builtin_120_fragment.gc
lang/library/slang_common_builtin.gc
lang/library/slang_core.gc
lang/library/slang_fragment_builtin.gc
lang/library/slang_vertex_builtin.gc
lang/slang_builtin.c
lang/slang_builtin.h
lang/slang_codegen.c
lang/slang_codegen.h
lang/slang_compile.c
lang/slang_compile.h
lang/slang_compile_function.c
lang/slang_compile_function.h
lang/slang_compile_operation.c
lang/slang_compile_operation.h
lang/slang_compile_struct.c
lang/slang_compile_struct.h
lang/slang_compile_variable.c
lang/slang_compile_variable.h
lang/slang_emit.c
lang/slang_emit.h
lang/slang_ir.c
lang/slang_ir.h
lang/slang_label.c
lang/slang_label.h
lang/slang_link.c
lang/slang_link.h
lang/slang_log.c
lang/slang_log.h
lang/slang_mem.c
lang/slang_mem.h
lang/slang_print.c
lang/slang_print.h
lang/slang_simplify.c
lang/slang_simplify.h
lang/slang_storage.c
lang/slang_storage.h
lang/slang_typeinfo.c
lang/slang_typeinfo.h
lang/slang_utility.c
lang/slang_utility.h
lang/slang_vartable.c
lang/slang_vartable.h
ources.mak
|
7936e06657bc43de80ae4f56ee9db956e193d880 |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move nvprogram.[ch] to main/
Conscript
ain/api_exec.c
ain/dlist.c
ain/nvprogram.c
ain/nvprogram.h
hader/nvprogram.c
hader/nvprogram.h
hader/nvvertparse.c
ources.mak
|
412cddf954d35282f913d01d83d3cdb45cf0e2d0 |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move arbprogram.[ch] to main/
Conscript
rivers/common/meta.c
rivers/dri/common/dri_metaops.c
rivers/dri/intel/intel_pixel_bitmap.c
ain/api_exec.c
ain/arbprogram.c
ain/arbprogram.h
ain/dlist.c
hader/arbprogram.c
hader/arbprogram.h
ources.mak
|
70c8d29b6bb3214966892d51e6b2befa7040622d |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move atifragshader.[ch] to main/
Conscript
rivers/dri/r200/r200_fragshader.c
ain/api_exec.c
ain/atifragshader.c
ain/atifragshader.h
ain/dlist.c
ain/shared.c
hader/atifragshader.c
hader/atifragshader.h
ources.mak
wrast/s_atifragshader.c
|
936605fc8a69f67de323e5ede60c2f1373bfcafe |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move uniforms.c to main/
Conscript
ain/api_exec.c
ain/uniforms.c
ain/uniforms.h
hader/slang/slang_link.c
hader/uniforms.c
hader/uniforms.h
ources.mak
|
a37b2219d6e3f299379c6434d65f300660d12c3e |
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: refactor shader api / object code Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
Conscript
rivers/common/driverfuncs.c
rivers/common/meta.c
ain/api_exec.c
ain/context.c
ain/dd.h
ain/shaderapi.c
ain/shaderapi.h
ain/shaderobj.c
ain/shaderobj.h
ain/shaders.c
ain/shaders.h
ain/shared.c
ain/transformfeedback.c
hader/shader_api.c
hader/shader_api.h
hader/slang/slang_link.c
hader/uniforms.c
hader/uniforms.h
ources.mak
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
|
050eed095a3f7eaeada1e292f92f2b549d74963f |
05-Jun-2010 |
Brian Paul <brianp@vmware.com> |
i965: remove UseProgram driver callback It just duplicated the default/core Mesa behaviour.
rivers/dri/i965/brw_context.c
|
77cbf32e61c066c1f47fd248b076b11391e7e923 |
11-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
rivers/dri/intel/intel_tex_subimage.c
|
638342858894293246400d95a90d153c7f66719a |
25-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for GL_ALPHA framebuffer objects.
rivers/dri/common/spantmp2.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_span.c
|
262cdbd957b68878adf1fb3edcf478604ed9f171 |
25-May-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object. Drivers still reject them today, but cairo would like to use these.
ain/fbobject.c
ain/framebuffer.c
|
ceba688cb54016a9f6ff70761b2c459698bfd7f0 |
10-Jun-2010 |
Eric Anholt <eric@anholt.net> |
swrast: When reading from a 0-bits r,g,b channel, return 0 not 1. It looks like we were reading a fractional value, multiplying by an enormous negative value, then stuffing that value into a bitfield assuming it was already clamped. This becomes relevant for GL_ALPHA or R/RG FBOs.
wrast/s_readpix.c
|
94731797c671d6e46e3e0c94c1a0cec5071c0ac3 |
09-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use the blitter to upload TexSubImage data to busy textures. This avoids many pipeline stalls in cairo-gl. [ # ] backend test min(s) median(s) stddev. count Before: [ 0] gl firefox-talos-gfx 36.799 36.851 2.34% 3/3 [ 0] gl firefox-talos-svg 33.429 35.360 3.46% 3/3 After: [ 0] gl firefox-talos-gfx 35.895 36.250 0.48% 3/3 [ 0] gl firefox-talos-svg 26.669 29.888 5.34% 3/3 This doesn't avoid all the pipeline stalls because the kernel reports !busy for buffers on the flushing list. That should be fixed in .36.
rivers/dri/intel/intel_tex_subimage.c
|
503eb57a003f51c25687e9cf0ad6f7939a757f1b |
08-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i965: Avoid calloc/free in the CURBE upload process. In exchange we end up with an extra memcpy, but that seems better than calloc/free. Each buffer is 4k maximum, and on the i965-streaming branch this allocation was showing up as the top entry in brw_validate_state profiling for cairo-gl.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vtbl.c
|
bcf63dbbd8fd31b724294b34a62a0e6c565dce87 |
08-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Flag NEW_BUFFERS when changing draw buffers. There were entries to this function (most imporantly, prepare_render -> update_renderbuffers) that wouldn't have had NEW_BUFFERS set, but brw_wm_surface_state (the i965 state tracking the drawing regions) expected this to change.
rivers/dri/intel/intel_buffers.c
|
df3c1a563f3d76b07ab82c7b230b0030452f36ff |
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Convert remaining dri_bo_emit_reloc to drm_intel_bo_emit_reloc. The new API makes so much more sense, I'd like to forget how the old one worked.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
|
34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e |
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Change dri_bo_* to drm_intel_bo* to consistently use new API. The slightly less mechanical change of converting the emit_reloc calls will follow.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
|
22409756d4ed941f2ec6729ab0c312149749106f |
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Clean up stale comments in intel_batchbuffer.c.
rivers/dri/intel/intel_batchbuffer.c
|
754fcd605b200c1983d2840931b7cf8d638116df |
07-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove the non-gem paths for batchbuffer upload.
rivers/dri/intel/intel_batchbuffer.c
|
4527faa3440ffbd4a4ecc356630071fa1e94e7e8 |
05-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Update comment in intel_tex_copy from before miptree x/y rework.
rivers/dri/intel/intel_tex_copy.c
|
8744c36ea4f32124e91d26cab2bb76529f6eecf1 |
08-Jun-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Make next_inst() static.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
1bf75a921bcd11dfdc389f490081d83ab536fc58 |
08-Jun-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Assert output registers have a valid export index.
rivers/dri/r600/r700_assembler.c
|
1ec492a366e236569dc68f4de32e641c88cbcd63 |
08-Jun-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Process exports for all written fragment outputs.
rivers/dri/r600/r700_assembler.c
|
1f7bc87391bc42eb9003020b7654e985494c6e61 |
08-Jun-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600: Fill uiFP_OutputMap for all written fragment outputs.
rivers/dri/r600/r700_fragprog.c
|
a2817f6ae566b672f195cff22e14e2058d3617ea |
24-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: attempt to fix TFP by using sampler views (v1) Okay I think this is good enough for now, I can't see any other reason for mesa to want to use a sampler view so lets just leave it at all the A->X conversions for now. I've been running gnome-shell under r300g with this for day or so and it seems fine. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_manager.c
|
aeffba454f8f5bc63bf97c1a0925cfef51af13c2 |
06-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: advertise GL_ARB_fragment_program_shadow There is nothing driver-specific about this one. I've also tested it just to be sure.
tate_tracker/st_extensions.c
|
31a74a6df77daea9084c34b86f217f23a55e6b91 |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: trivially enable GL_ATI_texture_env_combine3 This extension is implemented in the texenv program. Gallium drivers pass patched glean/texCombine. (I am going to send the patch soon) Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.
tate_tracker/st_extensions.c
|
a7fa91b658fdaa7c90b9c9a0ab8611d89f2dc78d |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes The specifications are identical.
ain/extensions.c
|
4a329c67bc5e7a0259adc94831ac13c6c8f9f272 |
05-Jun-2010 |
Joakim Sindholt <opensource@zhasha.com> |
r300compiler: fix scons build
rivers/dri/r300/compiler/SConscript
|
c00065e5c2ba8a1bcaa543b079abc883af0844f3 |
05-Jun-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix bug in depthstencil optimizing clear logic
tate_tracker/st_cb_clear.c
|
6d741627b00677d269537ad36e5f2ecd31fd98b5 |
05-Jun-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Only emit a MI_FLUSH when the drawing rectangle offset changes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_vtbl.c
|
add3260157368458501709d08a3f913ed448234f |
05-Jun-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Fix off-by-one for drawing rectangle. The drawing rectangle is given in *inclusive* pixel values, so the range is only [0,2047]. Hence when rendering to a 2048 wide target, such as an extended desktop, we would issue an illegal instruction zeroing the draw area. Fixes: Bug 27408: Primary and Secondary display blanks in extended desktop mode with Compiz enabled https://bugs.freedesktop.org/show_bug.cgi?id=27408 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_vtbl.c
|
ff74c2ced5e7234902d43712a3759f91fd534a91 |
05-Jun-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Inhibit render cache flush when changing drawing rectangle offset. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/i915_vtbl.c
|
42ebe3dfd9b0803913e0d932909ca5872d937c20 |
27-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
mesa/st: add support for EXT_texture_swizzle. This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <airlied@redhat.com>
tate_tracker/st_atom_texture.c
tate_tracker/st_extensions.c
|
f855e16afa086edfc2f03360a27f66c955a6c208 |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SIN+COS+SCS for vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
|
722db9fa77de16b92adf19fda00c9671d896749e |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VS
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program_alu.c
|
df36bc8dad477bcfb8012962907562489697a09c |
05-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VS Fixes piglit/glsl-vs-vec4-indexing-4.
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program_alu.c
|
e629de94b53f49826626447a2e81cd9b01360a75 |
04-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SFL for vertex shaders And sort the "case" statements alphabetically.
rivers/dri/r300/compiler/radeon_program_alu.c
|
8585c01265c5b5cf9c6aa93fbc0cbbb7dc1506ec |
05-Jun-2010 |
Brian Paul <brianp@vmware.com> |
vbo: misc clean-ups
bo/vbo_save_draw.c
|
f0ff214bee64a705d3ef6610e9dc25bc1a46a460 |
04-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i915: Don't use XRGB8888 on 830 and 845. The support for XRGB8888 appeared in the 855 and 865, and this format is reserved on 830/845. This should fix a regression from b4a6169412819cc3a027c6a118f0537911145a30 that caused hangs in etracer on 845s. Bug #26557.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_tex_format.c
|
b80a728f8a86cbd1efce9611d822ab73b5baeab9 |
04-Jun-2010 |
Eric Anholt <eric@anholt.net> |
i915: Clamp minimum lod to maximum texture level too. Otherwise, we'd run into minlod > maxlod, and the sampler would give us the undefined we asked for. Bug #24846. Fixes OGLC texlod.c.
rivers/dri/i915/i915_texstate.c
|
18a6e5ee73c5cef283c6bef906e5f8e4f60d4000 |
04-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix intel_compressed_num_bytes for FXT1 after I broke it. Fixes piglit fxt1-teximage since 7554b83a21bd62b20df5a7327b69f08108ac9ab6, and also OGLC tests that hit FXT1 with a million other things. Bug #28184.
rivers/dri/intel/intel_tex_format.c
|
992382762a74fd834926fd2c3cd9e14a186e2dd5 |
03-Jun-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-newclear' Conflicts: src/gallium/state_trackers/python/p_context.i
|
8413b92a6f761c55f9a9e51f09d57aa7922b15a8 |
01-Jun-2010 |
Joakim Sindholt <opensource@zhasha.com> |
gallium: silence all debug_named_value related warnings
tate_tracker/st_debug.c
|
128190e4a908ab92690cba4e59e3e5fa42e98f6f |
03-Jun-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: print opcode names instead of numbers
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
88008dfaa4838de893af9844863bad8da96ce9c8 |
03-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
dri/swrast: Remove unnecessary header.
rivers/dri/swrast/swrast.c
|
dfe9dec04f707d61633665785600156d282d0d39 |
03-Jun-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix indirect addressing of input/output regs This fixes an issue that was missed with commit 9f544394c1d059ce09c8bb2b5e11f5e871c7915f. Fixes piglit glsl-texcoord-array.shader_test
tate_tracker/st_mesa_to_tgsi.c
|
890b3c61e3b81d4c5623e452317e8faccea91de4 |
02-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove a leftover DRI1/DRI2 conditional
rivers/dri/i965/brw_wm_surface_state.c
|
398e046efde399abef52a01f8ee886b76a8ad32a |
02-Jun-2010 |
Brian Paul <brianp@vmware.com> |
glsl: handle indirectly indexed input registers in linker For example, if the fragment shader reads gl_TexCoord[i] with a dynamic index we need to set all the InputsRead bits for all texcoords. We were already doing this for shader outputs. Refactored the later code so inputs and outputs are handled with similar code. Fixes a swrast failure with piglit's glsl-texcoord-array.shader_test
hader/slang/slang_link.c
|
e57689c6badee8521691966ff6aa56648a474ce9 |
02-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use BITFIELD64_BIT() macro
hader/prog_print.c
|
7a156476e4efee8b507461f0af0d867c56723e6e |
02-Jun-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix bad sanity-check assertion
hader/slang/slang_emit.c
|
23c5b21c1601ba6c62d360d585a4a7fd6b64caa8 |
28-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace and 80 column wrapping
ain/fbobject.c
|
84db95bfcd340a26a448fa89a19215711681cb50 |
02-Jun-2010 |
Eric Anholt <eric@anholt.net> |
shaders: Don't lose the param binding swizzle for single params. Multiple item params are OK because we don't allow swizzles for them (in case you do array access to hit their elements, for example). For singles, though, using the swizzle can cut down on storage, we do want to allow a swizzled use of another param. Fixes OGLC texRect.c.
hader/program_parse.tab.c
hader/program_parse.y
|
c7c64d97836c71eaf2ee3fc6d384877170b8c844 |
01-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Fallback to meta if we're asked to CopyTexImage2D from RGB to RGBA The pixel transfer rules state that we must set alpha to 1.0 in this case which we can't easily do with the blitter. We can do to passes: one that sets the alpha to 0xff and one that copies the RGB bits or we can just use the 3D engine. Neither approach seems worth it for this case.
rivers/dri/intel/intel_tex_copy.c
|
1bbf803e3bc8eeabcc2c24b89bc30a30b2445c59 |
01-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use split_location_offset() in GetUniform() functions Commit 5d0e136eff54a34258b5adaeda4cb267831e8234 exposed a long-standing bug in the glGetUniform*() code paths. We weren't properly decoding the location parameter. Fixes fd.o bug/regression 28344 Note: this patch should go into the 7.8 branch after the above-mentioned commit.
hader/uniforms.c
|
593cf8b54c288e6dda44da597b961bfb98d111ca |
31-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix excess initializers in get.c table.
ain/get.c
|
8d789be03430b80e0ba2fef19d56dd0b8e699ea2 |
23-May-2010 |
Dave Airlie <airlied@redhat.com> |
swrast: add TFP support to swrast. This adds TFP support to the swrast driver, with this I can run gnome-shell inside Xephyr slowly. I've no idea why I did it, and g-s has other rendering issues under swrast, but it might be useful to hook up llvmpipe later. I've no idea if I even want to commit it at this point. An enhanced version might just pass the pointer in the indirect rendering case and avoid the memcpy. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/swrast/swrast.c
|
47de9adece49f78c6e4065bedc69ce13272bc120 |
31-May-2010 |
Dave Airlie <airlied@redhat.com> |
gallium: fix TFP on gallium This fixes an uninitialised value use in the dri2 st when doing TFP. It uses the driContextPriv which isn't initialised at alloc time. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/common/dri_util.c
|
8accf0a891c85c7d747c5f7f4a4d8a99adb91b2a |
31-May-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Initialize batch->reserved_space on allocation Fixes the assert (and buffer overrun): glknots: intel_batchbuffer.c:164: _intel_batchbuffer_flush: Assertion 'used >= batch->buf->size' failed. Reported in bug: Bug 28274 - xscreensaver's glknots hangs GPU (945GME/Pineview) https://bugs.freedesktop.org/show_bug.cgi?id=28274 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_batchbuffer.c
|
d2cb99904578b263396752975d60c8d7e2eac14b |
31-May-2010 |
Chia-I Wu <olv@lunarg.com> |
Always define int32_t in compiler headers. eglplatform.h no longer defines int32_t.
ain/compiler.h
|
59f8dca7cf7ce2b21d3bfe59c55bd3927de7f39c |
31-May-2010 |
Chia-I Wu <olv@lunarg.com> |
Update OpenGL ES headers.
akefile
ain/es_generator.py
|
c08449b78ee95c90f95983fbd6b964ac6d09a748 |
31-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix/add feature test to shader.c. Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
ain/shaders.c
|
33c2dbe5b0dc70349fd7793d11d1d83dd7ba5d77 |
31-May-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary header.
bo/vbo_exec_array.c
|
b202c785862363d0534f04a8f2e8f0b5232d9b13 |
29-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300: fix blits for textures of width/height greater than 2048 on r5xx Yes I am fixing r300c ... who knew?
rivers/dri/r300/r300_blit.c
|
783083c3b81c51bae541e0a86801f0492ca352cd |
29-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: use new ability to clear only depth or stencil
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
828f648ac3b6d32a643cd1188ffbf45a1c7153a3 |
28-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add cache unit -> bo name mapping for more gen6 state objects. This will help in bufmgr debugging and aub dumping.
rivers/dri/i965/brw_state_cache.c
|
9390af0d9636ed8e985ff22cdbbbf9b12c3a7586 |
18-May-2010 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: fix PIPE_CONTROL command for gen6. Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_batchbuffer.c
|
5d0e136eff54a34258b5adaeda4cb267831e8234 |
28-May-2010 |
Brian Paul <brianp@vmware.com> |
glsl: change uniform location/offset encoding This lets Mesa work like other OpenGL implementations with regard to indexing uniform arrays. See comments for details. Note: this is a candidate for the 7.8 branch.
hader/uniforms.c
|
f2e05acac931889e0820e1cc5d7ea810048a6b5f |
26-May-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: advertise ARB_half_float_vertex when available Both softpipe and llvmpipe pass the piglit half float test.
tate_tracker/st_extensions.c
|
a504f2387e2bb47025c7406d9a466a042dc09e61 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check We want to check the incoming renderbuffer format, not the (potentially non-existant) current attachment. Fixes segfault w/ fbotexture -ds2. NOTE: this will be applied to the 7.8 branch too.
ain/fbobject.c
|
df64122c30a0d3dab70ab665af84f83fa496526e |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
fbdev: some hacking to get the driver to compile (untested)
rivers/fbdev/glfbdev.c
|
3644dbbdbd1abe19a1dad37fa9d7f0577e2471b3 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
vbo: comments and whitespace
bo/vbo_exec.c
|
4225c4e1b052a016d579ee2ec9118a2961f455ae |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
vbo: remove unused prototype
bo/vbo_exec.h
|
9aae67ca3a29ee44ea6d1d003502c079b9f0fc60 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
vbo: remove dead code
bo/vbo_exec_array.c
|
b6187057be07a9652e807e2cfab872eb410c1fa7 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
vbo: update/add comments
bo/vbo_exec_array.c
|
f49a65628f2df9a4de052e9d204419aa5e9812c9 |
27-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
hader/uniforms.c
|
7d7bdee50d4e7ab888710eb1da1a181ef366e8ff |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused includes
hader/shader_api.c
|
eb88c02a4bd4bee19a0e92b65653e64a078ea5c5 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rewrite _mesa_get_handle() and add some comments
hader/shader_api.c
|
69861ae49724dd49ae3ba82398239ad892753de7 |
27-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move GLSL uniform functions into new source file
Conscript
hader/shader_api.c
hader/shader_api.h
hader/uniforms.c
hader/uniforms.h
ources.mak
|
655c9a0533fea7a2732fce766b9f4c03d7dc641d |
27-May-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_viewport.c
tate_tracker/st_context.c
|
055750fafba58fd2ee0f5611b566a71ab0f22984 |
25-May-2010 |
Will Dyson <will.dyson@gmail.com> |
Enable hardware mipmap generation for radeon. Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_texture.c
|
a9ee95651131e27d5acf3d10909b5b7e5c8d3e92 |
25-May-2010 |
Will Dyson <will.dyson@gmail.com> |
Fix image_matches_texture_obj() MaxLevel check When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_texture.c
|
f49da110a81cc964100efa6a09e0fcdc7a35a935 |
25-May-2010 |
Will Dyson <will.dyson@gmail.com> |
Fallback to software render if there is no miptree for an image This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_fbo.c
|
3b68b6c83e491d7f85baff6a31dcceee28622ae0 |
26-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for EXT_timer_query on Ironlake. We could potentially do this on G45 as well, though the units are different. On 965, the timestamp is tied to hclk, which would make supporting it harder.
rivers/dri/i965/brw_queryobj.c
rivers/dri/intel/intel_extensions.c
|
fd3425fdff4804f6fe3c3d07466f1b849a05c228 |
25-May-2010 |
Eric Anholt <eric@anholt.net> |
intel: Handle decode of PIPE_CONTROL instructions.
rivers/dri/intel/intel_decode.c
|
ddb10c3e603ee03e1287a992d23a5507779b7ffd |
24-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Move Gen6 debugging emit_mi_flush into the Gen6 block.
rivers/dri/i965/brw_misc_state.c
|
8f61114907669b2134fbdc1a794926035486e8df |
24-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't PIPE_CONTROL instruction cache flush. This is a workaround for Ironlake errata. The emit_mi_flush is used for a few purposes: 1) Flushing write caches for RTT (including blit to texture) 2) Pipe fencing for sync objects 3) Spamming cache flushes to track down cache flush bugs Spamming cache flushes seems less important than following the docs, and we should probably do that with a different mechanism than the one for render cache flushes.
rivers/dri/intel/intel_batchbuffer.c
|
6e2330daa6d7872405485ffabfe613a7c053d890 |
24-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Emit MI_FLUSH before PSP on Ironlake for clip max threads errata.
rivers/dri/i965/brw_misc_state.c
|
cee4220f162f68c4f8474219628ba41403e2ebf0 |
26-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014 The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
ain/shaders.c
ain/shaders.h
|
d3f598a506d911e7cbbe561a798d284a154da3cd |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move all vertex array functions into varray.c
ain/varray.c
ain/varray.h
hader/arbprogram.c
hader/arbprogram.h
|
a830eef8c28370dc28f6df22d831ff2f22055d48 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_GetVertexAttribIiv / AttribIuiv() Refactor the code for all the glGetVertexAttrib() functions.
hader/arbprogram.c
hader/arbprogram.h
|
e00d07cff676422d6c58c93bbbe737d672efa761 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_VertexAttribIPointer()
ain/varray.c
ain/varray.h
|
e793a24d7ca6ca9b50a716563c8c2abe15c9d1b5 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: new GL 3.0 VertexAttrib commands Still need to plug in API dispatch...
ain/api_loopback.c
|
962f92611216e304c95e7c089b38d58066236014 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make a bunch of shader API functions static
ain/api_exec.c
ain/shaders.c
ain/shaders.h
|
a017c7ecb7ae7f2fe655374779531d2576e4707d |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for uint uniforms Still need to plug into dispatcher...
ain/dlist.c
|
09c7d7bf2a5ad4cf222bf78f8d88f9fe6738e0c1 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate some glUniform code
hader/shader_api.c
|
07b0529e55b1883d361f42846fb77e7d8521c746 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: unsigned int uniform functions (GL3)
ain/shaders.c
ain/shaders.h
|
91f841aefc16e9c92afc57f0a64486f26834b972 |
26-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: support for unsigned int uniforms
hader/shader_api.c
|
f0896e7f80c2c00d263b3ecd7bb18dfffa9a01a8 |
26-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: implement SGT+SLE opcodes Reported-by: Gianluca Anzolin <gianluca@sottospazio.it>
rivers/dri/r300/compiler/radeon_program_alu.c
|
49bac3ccd8a6f24a223cf70bf37df9c069a31ca4 |
26-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix dumping r5xx vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
|
5c067a63040cc66f0320f30482529a4ff1bd3811 |
26-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: move hardware caps to the radeon_compiler base struct Needed for vertex shaders too.
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_tex.c
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
|
f2582da3bb72b06d7a751537898f752e110857c7 |
26-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: shorten swizzle expressions
rivers/dri/r300/compiler/radeon_program_alu.c
|
a94955843059af787ca5d289a87e2f35a869437a |
24-May-2010 |
Brian Paul <brianp@vmware.com> |
meta: Convert Z value from normalized to object-space in meta code Convert Z from a normalized value in the range [0, 1] to an object-space Z coordinate in [-1, +1] so that drawing at the new Z position with the default/identity ortho projection results in the original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap functions where the Z value comes from the clear value or raster position. Fixes piglit tests fdo23670-depth_test, quad-invariance and glsl-orangebook-ch06-bump as well as oglc zbfunc.c. https://bugs.freedesktop.org/show_bug.cgi?id=23670
rivers/common/meta.c
|
e88cef3c9d5de2a5dccd9ad770952a9d2347ba0d |
24-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT The check was disabled when FEATURE_OES_framebuffer_object was enabled, since that used to mean we weren't implementing regular OpenGL semantics. Now that we can compile in support for multiple APIs, change the #ifdef to compile the check in when FEATURE_GL is enabled and enable the check for contexts that implement OpenGL at runtime.
ain/fbobject.c
|
c10154a2988c30ce8e20c16e66be434a0e5c37a4 |
24-May-2010 |
Brian Paul <brianp@vmware.com> |
glsl: silence unused var warnings
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
f67b020a942911f80b7b774c6d64701d1981c608 |
24-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Handle FEATURE_es2_glsl differences at runtime too Now that we can support different APIs at runtime, we need to check the context for the API we're currently providing as well. https://bugs.freedesktop.org/show_bug.cgi?id=28194
ain/api_validate.c
hader/program.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
|
9b775c1e589b7ce95a1ec3e85e45bb9288ceb289 |
23-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for all 8 possible ARB_draw_buffers in Mesa. We should be able to do 16, but are limited by Mesa's static buffer allocations.
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_context.c
|
08b42bc97d77ff1ea7eefe4ec57997b80fb9b458 |
23-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix bit allocation for number of color regions for ARB_draw_buffers. If you used all 4 color targets we currently support, we would see 0 and end up just writing the first output. Give enough bits that we can do the maximum of 16. Fixes piglit fbo-drawbuffers-maxtargets.
rivers/dri/i965/brw_wm.h
|
4db0c760195c67f1bc114fdfb8464791030a526c |
22-May-2010 |
Jakob Borncrantz <jakob@vmware.com> |
st_api: Give get_egl_image arguments directly to the function
tate_tracker/st_manager.c
|
ffd2bc3dfbcccd3c38ff93ac107027a5a5764eb5 |
21-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix warnings about missing initializers in get.c table
ain/get.c
|
0a2e963ce386de243279b2ae0fb3545a79414eb1 |
21-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused var
tate_tracker/st_cb_blit.c
|
a93f9f343a64ce91587af66761399f9d4c180015 |
21-May-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
gallium: Fix invalidate framebuffer with old libGL libraries
Conscript
ources.mak
tate_tracker/st_cb_viewport.c
tate_tracker/st_cb_viewport.h
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
|
3293bcdc80cdfa20a2381aae2b94505bdf95d857 |
21-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-msaa' Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
|
d2fa95a4c08ba32237cff1d5b5d28b35f7d3d753 |
21-May-2010 |
David Shao <davshao@gmail.com> |
Add __DragonFly__ in querymatrix for fpclassify() Signed-off-by: Brian Paul <brianp@vmware.com>
ain/querymatrix.c
|
ef9b4d20d78a748e653a61286d83f33dc6c46184 |
21-May-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'gallium-front-ccw'
|
f716063ad133ec142d9846d55e569db1295650a6 |
19-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: remove disabled code for cycling through MRF registers in clipping. The idea would be that you could have multiple send messages going on if nothing depended on the previous message's results and you used a different send message. The problem is that the later send requires the VUE handle returned by the first send's allocate anyway.
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_util.c
|
e67c338b415c983bee570e6644b9684d8d1fc99b |
19-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Throttle after doing copyregion/swapbuffers round trip Before we would throttle in the flush callback prior to round-tripping to the server to do copyregion or swapbuffer. Now, instead just note that we need to throttle and do it in intel_prepare_render(), which will be called after receiving the response from the server but before we start rendering the next frame. Even if the server also throttles us in swapbuffer, this just makes the throttling a no-op when we hit intel_prepare_render(). With that we can drop the using_dri2_swapbuffers hack and just always throttle.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
6f3721a8ecb3695344e9a878bb452342ee502764 |
18-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix wrong argument order
tate_tracker/st_cb_fbo.c
|
127328bfadaa5f080730fd41f404f1bc74f490d3 |
17-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa/st: adapt to interface changes adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
Conscript
ources.mak
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_msaa.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
9c264642c385557d64b9bc6bbe31d2d15e703aff |
14-May-2010 |
Keith Whitwell <keithw@vmware.com> |
gallium: more work on ccw flag removal The linux-debug target builds...
tate_tracker/st_atom_rasterizer.c
|
c67d9d84f501f145f841c0b981caff6f4dfd936f |
13-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN. This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization -- the GS usage to split the quads into tris is a huge bottleneck, so a quick check improves glean blendFunc time massively (width * height of the window of single-pixel GL_QUADS, many many times). This may also end up helping with cairo performance, which sometimes ends up drawing a single quad.
rivers/dri/i965/brw_draw.c
|
61aa9c86c20b1bc9957aa9fe9976703a93cc4d3c |
13-May-2010 |
Eric Anholt <eric@anholt.net> |
intel: Don't update window system renderbuffers on TexImage. While sometimes rendering occurs in the form of blits for TexImage, it doesn't interact with the window system renderbuffers, so skip it.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex_image.c
|
165694ad65374ff4330bd80acb398fe0428ba2e6 |
05-May-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove no-op wrappers around trig functions.
ain/imports.c
ain/imports.h
ain/light.c
ath/m_matrix.c
hader/prog_execute.c
|
fef303bc94f2fb15a068563ac8abfb1765bde035 |
05-May-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _mesa_pow(), which is always just pow().
rivers/x11/xm_api.c
ain/imports.c
ain/imports.h
ain/light.c
ain/light.h
ain/texcompress_s3tc.c
ain/texfetch.c
ain/texgetimage.c
hader/prog_execute.c
|
8b3bf9c299b4e7f68d4207b8d4ebb00d79ebf6d8 |
13-May-2010 |
Alan Hourihane <alanh@vmware.com> |
mesa: silence compiler warning
ain/get.c
|
3f168eef095fcd9033be900aaf16bf78d3a2018a |
13-May-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_cb_drawtex.c
|
6ac93e469a7ffa2ddc23de029221d536f45b7143 |
12-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Expose pipe driver's shader limits.
tate_tracker/st_extensions.c
|
d9f38e1a71f94b112b4ab288a7043dd2fc4a701d |
12-May-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Do not use draw module in OpenGL ES build. This removes references to symbols in draw module for OpenGL ES build. As OpenGL ES does not support feedback/selection mode, draw module is used in pathes that will never be reached. However, if the symbols are referenced, it will bloat the final shared libraries unnecessarily. This is serious when LLVM is enabled.
tate_tracker/st_program.c
|
87cc2da16ef2c32813eee9c9c8af3c919f4739d9 |
12-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Merge back to core mesa. With the omit list gone, there are not too many differences in building core mesa and ES overlay. Remove the mesa/es and build both of them in src/mesa/Makefile.
gitignore
akefile
s/.gitignore
s/Makefile
|
8d5c83c467f83b44f5f2e271c4f9cca2d45af518 |
12-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Remove omit list. vbo/vbo_save* are the last members on the omit list. Test FEATURE_dlist in the sources and remove the omit list.
s/Makefile
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_save.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
|
eb5100accc888b9a9cfc24bc3d3452ea62a84c09 |
12-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Make FEATURE_ATI_fragment_shader more modular. This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay.
s/Makefile
ain/api_exec.c
hader/atifragshader.c
hader/atifragshader.h
|
82c6c31f55cfa8db63361b174137b2a371aa4900 |
11-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Remove sources.mak. All ES overlay sources have been merged into core Mesa. Not much is left in sources.mak so merge it into Makefile.
s/Makefile
s/sources.mak
|
cc289e22213c5f5fe72602ce81db992bc8f7b1ad |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Update sources.mak and fix the build. Remove sources that are feature-aware from the omit list. x86 -O0 build is ~12KiB smaller afther making those sources feature-aware. Also, remove get.c from the omit list as get_es[12].c have been merged to it.
s/sources.mak
ain/api_exec.c
|
1975208919a273018a2cda87e765870c5f86d01f |
11-May-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware. This change allows st_cb_drawtex.h to be used without knowing if FEATURE_OES_draw_texture is enabled.
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_drawtex.h
tate_tracker/st_context.c
|
278bca0db982065aeb61a208295e6994c021c9f0 |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add dummy _mesa_lookup_query_object to queryobj.h. This allows condrender.c to be compiled without FEATURE_queryobj.
ain/queryobj.h
|
e76e17d569af924e187fa22facfb968667854cea |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware. This change allows st_cb_blit.h to be used without knowing if FEATURE_EXT_framebuffer_blit is enabled.
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_blit.h
tate_tracker/st_context.c
|
16775f4951e4a515167a8ec4115b692c256c5f16 |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware. This change allows st_cb_queryobj.h to be used without knowing if FEATURE_queryobj is enabled.
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_queryobj.h
tate_tracker/st_context.c
|
bcce57c2e9a1d9b203dba8fe13480889e6d19c89 |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular. Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h FEATURE_rastpos aware. Move creation of selection/feedback draw context to st_init_draw.
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_feedback.h
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_rasterpos.h
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
14a92b26ff76550c5010ddf8bcbf5226dae5183f |
31-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware. This change allows st_cb_{bitmap,drawpixels}.h to be used without knowing if FEATURE_drawpix is enabled.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_context.c
tate_tracker/st_draw_feedback.c
|
e33ad4999e5f8a690a72ad6ce4e6d36328173430 |
31-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_accum.h FEATURE_accum aware. This change allows st_cb_accum.h to be used without knowing if FEATURE_accum is enabled.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_accum.h
tate_tracker/st_context.c
|
b093016bd0660cc4ac6142aa8d4d6add5b6bfce8 |
11-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Make FEATURE_EXT_transform_feedback more modular. This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay.
ain/api_exec.c
ain/transformfeedback.c
ain/transformfeedback.h
tate_tracker/st_cb_xformfb.c
tate_tracker/st_cb_xformfb.h
tate_tracker/st_context.c
|
2236a301c35d29a8e0775d2b62499d8843607ee1 |
12-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix error message strings
ain/teximage.c
|
42d31bf39095c8377a107510b90b3fea5fb3cc76 |
12-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added glGet code for GL_ARB_transform_feedback2
ain/get.c
|
d6164a2ef3d5254200fab6307c77b8c69ae0a41a |
12-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused header
ain/attrib.c
|
19913a1a7c7e299b1397d780b6f48f8739e9796c |
12-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused header
ain/extensions.c
|
1e0afa695b56665ad89771589d728b2479a7b081 |
12-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: update query code for transform feedback
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_queryobj.h
|
edbc302ad678e1a4a8803ba0e827a13dd27105d2 |
11-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens(). This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
tate_tracker/st_cb_drawpixels.c
|
199b0894b501607bf8d599ef5efc08cd6c08c79d |
11-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Optimize get.c by using a table-driven approach
akefile
ain/APIspec.xml
ain/compiler.h
ain/context.c
ain/context.h
ain/get.c
ain/get.h
ain/get_gen.py
ain/get_gen_es.py
ain/glheader.h
ain/texcompress.c
ources.mak
|
4d374bf7ebcf8dc0fa9c0b3eb86cfb9e1e2f68de |
11-May-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header.
tate_tracker/st_cb_readpixels.c
|
f829e76d8835382b8a52224dfbb2556360e41ffc |
11-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidate
rivers/dri/intel/intel_tex_image.c
|
db2993faa0211b60efd46016de5d07110cb9777a |
11-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop viewport hack when we can
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
b0427bedde80e3189524651a327235bdfddbc613 |
11-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Remove internal flushes from Mesa state tracker. Now that transfers are context operations it is the driver's responsibility to ensure that transfers happen in order with all other context operations, so flushes and finishes inside Mesa should be no longer necessary. The attached patch implements that. This should proportionate significant improvements for hardware drivers which are able to stream transfers in the command buffers. You can use the softpipe/llvmpipe_flush_resource() as reference implementation of the worst case scenario, where the driver is not able to streamline transfers. But the expectation is that driver implementators will want to avoid flushing as much as possible.
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_inlines.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
d74f525060f779cfe449c20853b11ba2bbcdea6d |
11-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype. From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build.
ain/transformfeedback.c
ain/transformfeedback.h
|
fef6e36e0736a68e24d7844bae65a01de8359214 |
11-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more transform feedback infrastructure Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
Conscript
rivers/common/driverfuncs.c
ain/dd.h
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/transformfeedback.c
ain/transformfeedback.h
hader/shader_api.c
ources.mak
tate_tracker/st_cb_xformfb.c
tate_tracker/st_cb_xformfb.h
tate_tracker/st_context.c
|
12bc39f30c2cc27fe9bc4d33c7c79919d895537d |
11-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Also flush front buffer in glFinish()
rivers/dri/intel/intel_context.c
|
4e9c3bbc60c2dd491ca45d3a5e0b9e156b1bc225 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename vars, added comments
tate_tracker/st_mesa_to_tgsi.c
|
0bf1ddd60a3660974ad54e410533eeb481949364 |
11-May-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Drop intelFlush(). This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build.
rivers/dri/i915/intel_tris.c
|
c4775a27e3aaa2006b98f225387499b79bc609ef |
10-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop intelFlush() Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_syncobj.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
a86e4852f463c289eba019a4d231fbd6cae82f27 |
10-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Only flush fake front buffer on API level glFlush() Without this patch, any old intel_flush() call will cause a round trip to the server and do a copy from fake to real front. We only actually guarantee that frontbuffer results show up when glFlush() ia called, so move the flushing to intel_glFlush(). We also need to flush fake to front before getting new buffers, but we just handle that manually.
rivers/dri/intel/intel_context.c
|
d8cfdbe894be8691242df4e812601320fbf6c5e7 |
10-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Don't mark front buffer dirty if we're only reading When we call intel_prepare_render() from intelReadPixels(), we'll mark the front buffer dirty. That's silly, since we're only reading from it and marking it dirty will cause us to copy from fake front to front eventually. Just clear the dirty flag after doing the read.
rivers/dri/intel/intel_pixel_read.c
|
32942d2b1c80d3f16048d6acfedf7dbcf5e2f8cb |
10-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Mark frontbuffer dirty in intel_prepare_render() Now that we have intel_prepare_render() in place, we can use it to mark the front buffer dirty if we're rendering to the front buffer once we get there.
rivers/dri/intel/intel_context.c
|
3b2bdde1b2ee93f77c01f5a94ebb7778192c15f8 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: only set prevInstWrotePsiz if translating a vertex program
tate_tracker/st_mesa_to_tgsi.c
|
adbbaae7b925b212866bcba57e17db5824a16390 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: additional assertions in dst_register()
tate_tracker/st_mesa_to_tgsi.c
|
7c5e2672f050644bcab6902b11d0ff4036603bb3 |
10-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Update comments in get_gen_es.py.
ain/get_gen_es.py
|
e3d8d25ebf4e052432f13513d03a420bc22d399d |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix 16-bit/channel rendering NOTE: This is a candidate for the 7.8 stable branch
wrast_setup/ss_context.c
|
9b990c81c0f3b80988d159dd054ef3c0637d2d9e |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: use unsigned 16-bit/channel format
rivers/osmesa/osmesa.c
|
969103124b95ed44082f2b4dd3c34fd2074e1532 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix typos, comment in signed 16-bit tex fetch code
ain/texfetch_tmp.h
|
17e96718946486ef77927fcf3bb299d8bff32b98 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added unsigned 16-bit/channel tex format
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
7a57af6d11a8fae9838a0d2e42eac6200b8f027e |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added comments for signed 16-bit formats
ain/formats.h
|
8ea614832d62554ada44d0a0ef7dc96ec9a8f154 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use GL_RGBA16_SNORM for accum buffer
ain/fbobject.c
ain/renderbuffer.c
|
279056f8034f67ce7f17ccc1e5d96cd3c53a23f8 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added texstore function for signed 16-bit formats
ain/texstore.c
|
6274bb865fcb00bdb888f4388f7a6de825f14723 |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added UNCLAMPED_FLOAT_TO_SHORT macro
ain/macros.h
|
880e04ba74603eda3480006f21bc8c2b24ac2f8c |
10-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add missing cases for signed 16-bit formats
ain/formats.c
|
913d7c388d1167a6cb3ccb52eb50f4c4f183b033 |
07-May-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Ignore internal_format in st_context_teximage. When internal_format and tex->format differ, st_finailize_texture will surface_copy between surfaces with different formats. This commit works around the issue by ignoring internal_format. A sane fix is needed here.
tate_tracker/st_manager.c
|
78e881368b392d8a6945990c20493560fcd73231 |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300g: respect compare mode regardless of sampler type
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
|
e812c0439cc6a6ee7b0cda33d30dc5cbc9159733 |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fake equal/notequal for shadow samplers This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it).
rivers/dri/r300/compiler/radeon_program_tex.c
|
35a6df573090e31d9eb921d6863b0939458f880c |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: use perspective division only for TXP in shadow samplers
rivers/dri/r300/compiler/radeon_program_tex.c
|
0cbe1e6c14c44da11a41470cd1328cdb67c76732 |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: make shadow sampler codegen more readable, add comments
rivers/dri/r300/compiler/radeon_program_tex.c
|
39d0ece5f51e01b024907847055a2872491800b9 |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: shorten RC_*SWIZZLE* expressions
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/r300_fragprog_common.c
|
eb9dc2595f33f43e99c70dd69588f5573459fbca |
08-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: generalize depth texture mode to support arbitrary swizzles
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
rivers/dri/r300/r300_fragprog_common.c
|
c637f38e70881b2321db12f5f5fea9b46057ff6a |
07-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix LIT instruction case 0^0 = 1
rivers/dri/r300/compiler/radeon_program_alu.c
|
559046e7917e5b9e4226bb02e86da17e62f1385e |
06-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mapi: Add install rules for OpenGL ES. Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
akefile
lesv1_cm.pc.in
lesv2.pc.in
|
874ccd5d83f016e47ef65b7a8c3fff6c8ccd981e |
04-May-2010 |
Chia-I Wu <olv@lunarg.com> |
Define OpenGL ES and OpenVG library names. Define <API>_LIB, <API>_LIB_NAME, <API>_LIB_GLOB, and some other variables in the configs. Fix a typo in glesv1_cm.pc.in where an inexistent variable is used.
lesv1_cm.pc.in
|
3965bc5d22deef6ada838a3ba991d6347201a28a |
08-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove driver hooks for GetFloat/Integer/Doublev, etc Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
rivers/common/driverfuncs.c
ain/dd.h
ain/get.c
ain/get_gen.py
ain/getstring.c
|
f350b106171795fec39ed47ef34a451949c84c33 |
07-May-2010 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
mesa: fpclassify dummy definition is not needed on cygwin fpclassify is provided by math.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/querymatrix.c
|
296adbd545b8efd38c9ed508166b2de2764a444b |
25-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Move to src/mapi/. Move glapi to src/mapi/{glapi,es1api,es2api}.
akefile
Conscript
rivers/dri/Makefile.template
rivers/fbdev/Makefile
rivers/glslcompiler/Makefile
rivers/osmesa/Makefile
rivers/x11/Makefile
s/Makefile
s/glapi/Makefile
s/glapi/base1_API.xml
s/glapi/base2_API.xml
s/glapi/es1_API.xml
s/glapi/es1_COMPAT.xml
s/glapi/es1_EXT.xml
s/glapi/es2_API.xml
s/glapi/es2_COMPAT.xml
s/glapi/es2_EXT.xml
s/glapi/es_COMPAT.xml
s/glapi/es_EXT.xml
s/glapi/gl_compare.py
s/glapi/gl_parse_header.py
s/sources.mak
lapi/.gitignore
lapi/gen/APPLE_object_purgeable.xml
lapi/gen/APPLE_vertex_array_object.xml
lapi/gen/ARB_copy_buffer.xml
lapi/gen/ARB_depth_clamp.xml
lapi/gen/ARB_draw_elements_base_vertex.xml
lapi/gen/ARB_draw_instanced.xml
lapi/gen/ARB_framebuffer_object.xml
lapi/gen/ARB_map_buffer_range.xml
lapi/gen/ARB_seamless_cube_map.xml
lapi/gen/ARB_sync.xml
lapi/gen/ARB_vertex_array_object.xml
lapi/gen/EXT_draw_buffers2.xml
lapi/gen/EXT_framebuffer_object.xml
lapi/gen/EXT_packed_depth_stencil.xml
lapi/gen/EXT_provoking_vertex.xml
lapi/gen/EXT_texture_array.xml
lapi/gen/EXT_transform_feedback.xml
lapi/gen/GL3.xml
lapi/gen/Makefile
lapi/gen/NV_conditional_render.xml
lapi/gen/OES_EGL_image.xml
lapi/gen/extension_helper.py
lapi/gen/glX_API.xml
lapi/gen/glX_XML.py
lapi/gen/glX_doc.py
lapi/gen/glX_proto_common.py
lapi/gen/glX_proto_recv.py
lapi/gen/glX_proto_send.py
lapi/gen/glX_proto_size.py
lapi/gen/glX_server_table.py
lapi/gen/gl_API.dtd
lapi/gen/gl_API.xml
lapi/gen/gl_SPARC_asm.py
lapi/gen/gl_XML.py
lapi/gen/gl_and_glX_API.xml
lapi/gen/gl_apitemp.py
lapi/gen/gl_enums.py
lapi/gen/gl_offsets.py
lapi/gen/gl_procs.py
lapi/gen/gl_table.py
lapi/gen/gl_x86-64_asm.py
lapi/gen/gl_x86_asm.py
lapi/gen/license.py
lapi/gen/mesadef.py
lapi/gen/next_available_offset.sh
lapi/gen/remap_helper.py
lapi/gen/typeexpr.py
lapi/glapi.c
lapi/glapi.h
lapi/glapi_dispatch.c
lapi/glapi_entrypoint.c
lapi/glapi_execmem.c
lapi/glapi_getproc.c
lapi/glapi_nop.c
lapi/glapi_priv.h
lapi/glapi_sparc.S
lapi/glapi_x86-64.S
lapi/glapi_x86.S
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
lapi/glthread.c
lapi/glthread.h
ain/es_generator.py
ources.mak
86-64/Makefile
86/Makefile
|
73ded0624de66bc83ae990530febb129d950d04b |
25-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Move assembly dispatchers back into glapi/.
Conscript
s/glapi/Makefile
lapi/gen/Makefile
lapi/glapi_dispatch.c
lapi/glapi_sparc.S
lapi/glapi_x86-64.S
lapi/glapi_x86.S
ources.mak
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
c37d8259bb26a97689d66b49456a7a13fac26a63 |
06-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix compressed mipmap generation for small image sizes When the mipmap level is smaller than the compression block width, height we need to fill in / replicate pixels so that we don't get garbage values. Fixes piglit gen-compressed-teximage test.
tate_tracker/st_gen_mipmap.c
|
4b59d2ba22fe73a912e4a8764ff6d4d440efc7d3 |
06-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix bug in compute_num_levels() Fix more fall-out from the "ignore BaseLevel" change. This may help with fd.o bug 27991.
tate_tracker/st_gen_mipmap.c
|
9adebe172df9fbf9ba359d949e64ce07bbef77b7 |
06-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: when copying mipmap levels between textures, start at BaseLevel Saves some work and avoids potential issue with inconsistant mipmap level sizes. As long as the mipmap levels from BaseLevel to MaxLevel are consistant, we don't care about the other levels.
tate_tracker/st_cb_texture.c
|
54f95d20e339b8c7af6d06cb92b147f61a240486 |
06-May-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
es: Ignores
ain/.gitignore
|
0ad541a684ca55e883a0bcde9ab8b5d73806269a |
04-May-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: fix per-vertex point size This fixes FDO bug #27343.
tate_tracker/st_mesa_to_tgsi.c
|
e3ce10f7acd30c6765c141860fc0855ce0a4f811 |
05-May-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_cb_drawtex.c
|
8191e5ae65e9dc05727235a5dd5d96f00702b852 |
05-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: fpclassify dummy definition not needed on Mac OS X.
ain/querymatrix.c
|
ce914fff0817cb3c25a2d715f8435c6b6d6fbcdd |
05-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: When an RB gets a new region, clear the old from the state cache. This prevents memory usage explosion in blender due to the state cache hanging on to old fake frontbuffer regions. Sigh at blender still using frontbuffer rendering. Bug #24119.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_pixel_draw.c
|
453f0b1f243b26e02b371293e9c8bbf09362c14a |
05-May-2010 |
Eric Anholt <eric@anholt.net> |
intel: Don't tile textures so small that size is blown up by over 2x. Noted on the mailing list for an app that puts each glyph for its text into a separate texture.
rivers/dri/intel/intel_mipmap_tree.c
|
53a53b25497034bf827bec63c30038f881343ef5 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: remove unused var
rivers/osmesa/osmesa.c
|
d148e25953bc7238d0aa070cc2ad3368ee461b08 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove some color index code
ain/renderbuffer.c
|
00b7dcd27aa6da541e6ba4a431c6d00da7886855 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused renderbuffer adaptor code
Conscript
ain/rbadaptors.c
ain/rbadaptors.h
ources.mak
|
7f07ac80ebaccaca82754ee7f0248e31a2312b44 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove renderbuffer adaptor calls Was only used for OSMesa but no longer needed.
ain/renderbuffer.c
|
36b3a8bd5a317ab297f44b19fd14c7e76ec2fc77 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: fix OSMesa for CHAN_BITS=32 CHAN_BITS=16 still broken. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
rivers/osmesa/osmesa.c
|
719f7049bb2c7f5ca886055c9cd15b2805bd8e97 |
05-May-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Fix texture-from-pixmap. Remember the size of the level=0 mipmap image. Do not call util_format_get_component_bits when st_context_teximage is called to release a texture image.
tate_tracker/st_cb_eglimage.c
tate_tracker/st_manager.c
|
a6ec153830ea25958f8cb5f5b5ae7a3433d61bbc |
05-May-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Fix build of ES overlay. ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built without FEATURE_GL. Fix the build by always building OpenGL ES sources, but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are missing because FEATURE_GL is not defined.
ain/es_generator.py
ain/get_gen_es.py
ources.mak
|
b29b27c118f2f813b07475e0c470b338ed5987aa |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove commented-out struct field
tate_tracker/st_cb_drawtex.c
|
791c3395ab2da8a20306bd1195e17040ea31d95b |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add a dummy definition for fpclassify() if needed
ain/querymatrix.c
|
bef9460dcdbda9e3f4caa55871d21cd42a0984ed |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove trailing comma in enum list Some compilers complain about this.
ain/mtypes.h
|
c6fdb950e9fdf42fb1d6c837019df23386fffee7 |
05-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: need to pass srcLevel to st_texture_image_copy() Fixes a regression in mipmap setup.
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
06c72da97a1bce87bc4b3fb8e7e18bf966926acb |
04-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Update renderbuffers unconditionally in intelSetTexBuffer2()
rivers/dri/intel/intel_tex_image.c
|
2b53f4a9c674e9b02df8a06759e7a2340f257081 |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: return success/fail from guess_and_alloc_texture() Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before.
tate_tracker/st_cb_texture.c
|
c2b47a75577c881ab88b0715791d24d9a9f8ee7e |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: improved st_texture_image_copy() No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function.
tate_tracker/st_texture.c
|
dad962bafe8ffd7fdb35c28cfb8bbd5a297c8083 |
04-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Fill in native program limits. In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)
tate_tracker/st_extensions.c
|
1c920c61764b17fd9fb4a89d2db7355fbe1d7565 |
04-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Enable GL_EXT_framebuffer_object for gles2
rivers/dri/intel/intel_extensions_es2.c
|
2b1f0e17d8c2f9c6191b42770eaab487859a8456 |
04-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Forgot to add .pc.in files for gles Some day I'll grow up and remember to add new files when I commit.
lesv1_cm.pc.in
lesv2.pc.in
|
e83ca4052b3247c35f358cfe67d74a58c9fb37b1 |
04-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Only initialize TNL for OpenGL
ain/context.c
|
208fdac73a9b7f8f511f0ec8eeb5c09d4577b3a4 |
04-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Only initialize save dispatch table for OpenGL
ain/context.c
bo/vbo_context.c
|
e2ea69afef2eeeb31b73772c3bf8ef696dadbc17 |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: increase MAX_DRAW_BUFFERS to 8 Required for GL 3.x
ain/config.h
ain/context.c
|
8b0c217f2bc123bffd25cc4977d6abb1b3fa8186 |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
gallium: move surface utility functions into u_surface.c This is a better place than in u_rect.c
tate_tracker/st_context.c
|
d8306c9caf3190f2bca6b83c653cd4711c25f98a |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove dead code
tate_tracker/st_atom_texture.c
|
295a87f6c211322faefc4ef7f88f02722973f5b6 |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused needFlush parameter to st_finalize_texture()
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_gen_mipmap.c
|
013b332cbcad2b9d113e00c467a65d072eb61cec |
04-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated comments and fix some formatting in texture storage code
tate_tracker/st_cb_texture.c
|
e79086865bd67f860dfd0d5951395495530022bc |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename srcImageStride -> srcRowStride and fix-up formatting
tate_tracker/st_cb_texture.c
|
c7d1d34c580e8c76bf2f3f8687223e648e7ec5f1 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: consolidate and clean-up texture memory allocation code
tate_tracker/st_cb_texture.c
|
fe3332da788fa3b17619b0ca9e368b2d5e77ffae |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated comments for st_texture_image_map()
tate_tracker/st_texture.c
|
41b8a2e9391cd85a65ba30a7e5f5068b5767d58a |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: move some texture size calculation code
tate_tracker/st_cb_texture.c
|
682fec0dca5bfd38ff9943663b7647e600fc4c1d |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove old convolution-related vars and min pitch code
tate_tracker/st_cb_texture.c
|
b02619914eed4bdb5c8bb2239c6e3b9639ed00f6 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unsupported convolution code
tate_tracker/st_cb_texture.c
|
4b7812919a5db2f72bd3b9f6d760ffeb469ee3e4 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated comment
tate_tracker/st_cb_texture.c
|
a12614362a79d676eeb1c3030ed52057bcb8f4f8 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
glsl: change variable declared assertion into conditional The slang_variable::declared field originated as a debug field but can be promoted for use during sematic error checking. Fixes fd.o bug 27921. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
hader/slang/slang_codegen.c
hader/slang/slang_compile_variable.h
|
6405ecb399a52e4d3fe0c002bcd9b3485cbd1360 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
Revert "glapi: s/strcpy/strncpy/" This reverts commit 9446fd8f69564e09ffd0f28735a99c510f84bb62. It doesn't make sense to replace strcpy(a,b) with strncpy(a,b,strlen(b)). The preceeding code effectively does bounds checking, btw.
lapi/glapi_getproc.c
|
cc67bd87999814dbf8ecc3ef99b16dac66b4f320 |
30-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove dead code
tate_tracker/st_texture.c
|
529b7b355d392b1534ccd8ff7b428dc21cbfdc21 |
03-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: restore original last_layer comparison Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933.
tate_tracker/st_cb_texture.c
|
723511bb32900a8e2f463a2622c7e9a908f64583 |
03-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Generate es glapi files when es1 or es2 is enabled
akefile
s/glapi/Makefile
|
9ab3df4ebbcb5fe7a65e6cf05b3a6671392ba929 |
03-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
driswrast: Fix more context creation breakage Pointed out by Colin Harrison.
rivers/dri/swrast/swrast.c
|
738cb502371097fa6fb25f397a3cbcd6a5db020c |
03-May-2010 |
Dave Airlie <airlied@redhat.com> |
nouveau: fix nouveau_create_context decleration
rivers/dri/nouveau/nouveau_context.h
|
83a1a0bc3e5c29810cd8728297b2106a1afb3d52 |
03-May-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
swrast: Correct include for mtypes.h
rivers/dri/common/drisw_util.h
|
b44c52870dc2eec9a41e984d4dceca22ea83d334 |
02-May-2010 |
Xavier Chantry <chantry.xavier@gmail.com> |
Update drisw state tracker to use new API aware context create Even though swrast defines its own __DriverAPIRec it still shares the driCreateNewContext() implementation from dri_util.c. So the CreateContext prototypes have to match in the two __DriverAPIRecs. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
rivers/dri/common/drisw_util.c
rivers/dri/common/drisw_util.h
|
801dcd9e8f6a45d81428bda4740b162a6cd02980 |
02-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Include api_exec.h in dlist.c. Fixes _mesa_alloc_dispatch_table implicit declaration warning.
ain/dlist.c
|
aa8606fb237c1853ea66c40d7bb1e7fd4c381412 |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Include mfeatures.h before testing feature macros
ain/remap.c
|
da76a4d845367242c1ae7726d1dc23900f31e1e4 |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Only compile ES files when ES1 or ES2 are selected This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
ources.mak
|
559d124ed3f2070c73c5cb9c3b506ddd9cfaeb02 |
02-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: #ifdef out more remap_table related code when disabled. Seems to get everything building again here.
ain/api_exec.c
ain/remap.c
|
0870e4a2022cff79805613ae7cd4b9237a2f564c |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Merge branch 'gles2-2' Conflicts: src/mesa/drivers/dri/common/dri_util.h
|
9fd5fa05122aa0cac0051fa92d1634bde43209db |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Hook in install rules for es1 and es2
akefile
|
74399d4af5b5ea793ce8318c10014a026cf81563 |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2
akefile
|
a804af2a1ea184ecc2c6a5e77335fae1e7730242 |
02-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
st/mesa: Create context for API_OPENGL as first priority
tate_tracker/st_context.c
|
fc1be4a99425d09103bba9e06026f31f2b0142d2 |
02-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: s/sprintf/_mesa_snprintf/
ain/debug.c
ain/dlist.c
ain/enums.c
ain/shaders.c
ain/teximage.c
ain/texobj.c
|
f4874705d95adfc85be535b85c9db26f5d3746f7 |
02-May-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: s/sprintf/_mesa_snprintf/
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_label.c
hader/slang/slang_link.c
hader/slang/slang_print.c
hader/slang/slang_utility.c
|
9446fd8f69564e09ffd0f28735a99c510f84bb62 |
02-May-2010 |
Vinson Lee <vlee@vmware.com> |
glapi: s/strcpy/strncpy/
lapi/glapi_getproc.c
|
beb5e1c807bbe90adc7490a043de623d7a3e6e4e |
18-May-2010 |
Alan Coopersmith <alan.coopersmith@oracle.com> |
fpclassify is available on C99-compliant Solaris releases too Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Brian Paul <brianp@vmware.com>
ain/querymatrix.c
|
1712643a297d66b7a45155fc88937109935687fb |
11-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Implement constant folding Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_optimize.c
|
19ea2eae9187526eaad6f19a342a9ad6ba441bad |
18-May-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: Emit 0.5 swizzle when necessary. Signed-off-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
|
81951393e1e675d6ca3ea052875def70d5e7ab93 |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove constant or ignored-by-hw args from FF sync message setup.
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs_emit.c
|
dfb7b86e633ae9b656f5a15932a220b04cc092d5 |
18-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Revert accidental debug change in 562e2d114ec0cba8
rivers/dri/intel/intel_batchbuffer.c
|
0f88ce1b0a98c7cacaa0dc53bbbb1f3c379aaa6a |
18-May-2010 |
Zou Nan hai <nanhai.zou@intel.com> |
gen6 fix: fix a wrong bit in binding_table_pointer
rivers/dri/i965/brw_defines.h
|
64f5e9059b975e34885e63bc404b30b1b2c28de8 |
18-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix point coordinate replacement after airlied's ffvertex changes. This basically restores the previous state, where a vertex result slot is set up for the texcoord to be replaced with point coord. Fixes piglit point-sprite test. Bug #27625
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
|
b8b2670fef4790d650939fece8c7e6c7b76c3171 |
18-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add SF program disasm under INTEL_DEBUG=sf.
rivers/dri/i965/brw_sf.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
2386d41648d78925b139aea9562325c5b22007eb |
17-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call intel_draw_buffer() again after _mesa_make_current() The initial call to intel_draw_buffers() happens when intel->ctx.DrawBuffer is still NULL. Call it again after calling _mesa_make_current(). https://bugs.freedesktop.org/show_bug.cgi?id=28112
rivers/dri/intel/intel_context.c
|
cdbd5f4203391ee7eb12911bc86fea34dc61c957 |
17-May-2010 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
gallium: EXT_timer_query support. Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
tate_tracker/st_cb_queryobj.c
tate_tracker/st_extensions.c
|
ddf09d20df8b9b4706e3abf901cb8879b02951db |
17-May-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: call st_flush_bitmap_cache() from st_readpixels() Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613. Reviewed-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_cb_readpixels.c
|
f0fb3aa5d42f76babbe6571480d4fe1a8e8cb8ae |
17-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Make rasterization of single and multiple quad prims match. This is trying to follow the spirit of the invariance rules, though they're not specific on this point. Fixes quad-invariance piglit test while retaining the 22s -> 18s win on glean blendFunc. This was a regression in c67d9d84f501f145f841c0b981caff6f4dfd936f.
rivers/dri/i965/brw_gs.c
|
df3590f570cb88eb9695b443208d7576b5867fd1 |
17-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove the half-baked code for multiple OQs at the same time. GL doesn't actually let you begin an OQ while one is active, so the extra work was pointless.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_queryobj.c
|
3d8ed332df675fda5b59bc3f0b643de7e5117759 |
17-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove unused occlusion query struct field.
rivers/dri/i965/brw_context.h
|
9d3c57281e4fe3842b41578c65bab5a6e23d76c8 |
14-May-2010 |
Tom Stellard <tstellar@gmail.com> |
r300/compiler: fix peephole optimizer Tested-by: Marek Olšák <maraeo@gmail.com>
rivers/dri/r300/compiler/radeon_optimize.c
|
997f2eac5eeed75af0e6d02466d96e7d531822c6 |
11-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Implement simple peephole optimizer Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_optimize.c
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
1d6a6d96aecbe63ace907dcc9cab49256892134b |
16-May-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/drawtex.c
|
0ab72a5a0a35b84249863fe6616aaa66c0313c1c |
15-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: silence a warning
rivers/dri/r300/compiler/radeon_program_tex.c
|
4e84dc8729cac4c78e521436ae091638a490da76 |
15-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set the correct provoking vertex for clipped first-mode trifans. Bug #24470: glean clipFlat test.
rivers/dri/i965/brw_clip_tri.c
|
16f8df893c3f8cbbe80e2ddb747dd4c457d9e6e5 |
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more info in glUniform error messages
hader/shader_api.c
|
e22e65d2230f8a1ec478147f786899cba14e4d3e |
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: silence void * / func * conversion warnings
ain/dlopen.c
|
48d3988b82506b83b7f716e2806097e4760f5a05 |
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: enum bitfields are a gcc-only feature, use GLubyte
ain/get.c
|
c1423e34f910026d1c37a64e64d15277a4dd1258 |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add program dumping for INTEL_DEBUG=gs.
rivers/dri/i965/brw_gs.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
1c25353bc66902ed684b41bb8198b9787c0ce25b |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Parse the ff_sync URB send opcode on Ironlake disasm.
rivers/dri/i965/brw_disasm.c
|
f5bd48cf673456ffea730f28c9b95c6883399162 |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use R16G16B16A16_FLOAT for 3-component half-float. The RGBX version isn't supported as a vertex input type, but since we force the last channel's value anyway, this should be fine. The only potential risk I see is in the limiter on VBO reads past the end of the buffer forcing the whole vertex to 0 when the A channel lands past the end. Fixes piglit draw-vertices-half-float.
rivers/dri/i965/brw_draw_upload.c
|
36eda76fea02130d30be6a5f0d83f04698da2853 |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Dump out the correct shared function for SEND on Ironlake.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
562e2d114ec0cba879463980522d1d54af9444e6 |
14-May-2010 |
Eric Anholt <eric@anholt.net> |
i965: Support INTEL_DEBUG=clip to dump the clip program.
rivers/dri/i965/brw_clip.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
7554b83a21bd62b20df5a7327b69f08108ac9ab6 |
13-May-2010 |
Eric Anholt <eric@anholt.net> |
intel: Handle arbitrary compressed formats in intel_compressed_num_bytes. Note that we don't support arbitrary block size for compressed quite yet -- block height of 4 is hard-coded all over the place. Bug #27098 (srgb dxt1 producing a bytes per pixel of 0).
rivers/dri/intel/intel_tex_format.c
|
1fbb50b740e9ca97cae13c7cc86505aa21e08e4c |
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: print enum name instead of hexadecimal value in glGet errors
ain/get.c
|
39c13a115eb45fb6c711cd86cda3a0c178975b52 |
14-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: another transform feedback error check, 80-col wrapping
ain/transformfeedback.c
|
34c20fd4f5a542222aef5a008f0fe64d8c447794 |
14-May-2010 |
Alex Kozlov <spam@rm-rf.kiev.ua> |
mesa: fpclassify dummy definition is not needed on FreeBSD.
ain/querymatrix.c
|
9339c1291d73ada1a85b994cb076a9a0bf3c8110 |
06-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files
akefile
|
a5107b0a5cb1ac9f112aa498f57c13580bd56cb3 |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Only register ES2 extensions for ES2 contexts
rivers/dri/i915/Makefile
rivers/dri/i915/intel_extensions_es2.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_extensions_es2.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.h
rivers/dri/intel/intel_extensions_es2.c
|
0f68032a7cebe740421e5de4586d13c99a8728ab |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
configure.ac: Add options to enable GLES1/2 API support
akefile
rivers/dri/Makefile.template
|
5efee4d4e68067a3fd85b9ff6a2636f502538768 |
28-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Advertise GLES1/2 for i915+ when enabled
rivers/dri/intel/intel_screen.c
|
4b69100bdcf26dbb5be4d600b7ca5f5cdf6e8f20 |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Add DRI entrypoints to create a context for a given API
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
a7a9a91d7b28e5b5faed509d00f0f951e3136b1b |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Add DRI entrypoints to create a context for a given API
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810screen.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.h
|
0f5e8f77022f8bb4ac00128af6d217da747e63df |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
st/mesa: Move st_cb_drawtex.c to the mesa state tracker
s/sources.mak
s/state_tracker/st_cb_drawtex.c
s/state_tracker/st_cb_drawtex.h
ources.mak
tate_tracker/st_cb_drawtex.c
tate_tracker/st_cb_drawtex.h
|
3bd6e003462e579c6c1b4a62d8e5f26cb314862d |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
es: Drop es specific enums.c
s/glapi/Makefile
s/sources.mak
|
21ad81727c9dfe83dfe7e06937e9142e8e652fba |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Regenerate enums.c for all APIs
ain/enums.c
|
9664f10023b0d57202134ca53795bf40daf580ef |
27-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Update gl_enum.py to generate enum tables for multiple APIs
lapi/gen/Makefile
lapi/gen/gl_enums.py
|
12c46b15d70ccb6d39d5f5c1a3ddfb0cf929f719 |
26-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Drop unused _mesa_init_drawtex_dispatch()
ain/drawtex.c
ain/drawtex.h
|
1904ba7936eb5a3fa76875a498eb54f3bd5f90a5 |
26-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move drawtex functionality to main/
s/main/drawtex.c
s/main/drawtex.h
s/sources.mak
ain/drawtex.c
ain/drawtex.h
ources.mak
|
87eb66775949af6e9512daf7e4665c1cfa6b8745 |
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move glQueryMatrixxOES() implementation to core mesa
s/main/es_query_matrix.c
s/sources.mak
ain/querymatrix.c
ources.mak
|
a73eff645f5203165bf63996a1d60fcab5a6b85e |
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GLES1 texgen functions to texgen.c
s/main/es_texgen.c
s/sources.mak
ain/texgen.c
ain/texgen.h
|
7179a822628963d8cfa0817cf072c5acb70638a7 |
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move support for paletted textures to main/teximage.c
s/main/es_cpaltex.c
s/sources.mak
ain/APIspec.xml
ain/glheader.h
ain/teximage.c
ain/texpal.c
ain/texpal.h
ources.mak
|
08fae07f5246052dccdd89689e27dc8820a24ff7 |
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()
s/main/es_enable.c
s/sources.mak
ain/APIspec.xml
ain/enable.c
ain/glheader.h
ain/mtypes.h
|
7aae8a592a299abd881372d3a2850375c2bb8884 |
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move get_es*.c to main/
akefile
s/Makefile
s/main/get_gen.py
s/sources.mak
ain/get_gen_es.py
ources.mak
|
003433989597771bbb4f03cf678f5771c09606fd |
24-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
es: Prefix the get* functions with _es1/2 so they don't conflict
s/main/get_gen.py
ain/APIspec.xml
ain/APIspecutil.py
ain/es_generator.py
ain/get.h
|
61d94dd207459e0c42d98c9d6eb7df5eabdfd8a4 |
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GL_RGB565 workaround into fbobject.c
s/main/es_fbo.c
s/sources.mak
ain/fbobject.c
ain/fbobject.h
ain/glheader.h
|
44f9aef9ee9ceda0659e882afbac4d877267c4fd |
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.c This let's us drop stubs.c.
s/main/stubs.c
s/sources.mak
bo/vbo.h
bo/vbo_exec_api.c
|
c90166fd4fad6bbbeda51a4338bf17d976864188 |
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move GLES2 shader stubs to main/shaders.c
s/main/stubs.c
ain/shaders.c
ain/shaders.h
|
ea0c7e71638a4a72a4eae962e6cc471bd33a5605 |
23-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move api_exec_es*.c into mesa/main This requires renaming a few functions to have unique names so that they can all live within the same driver.
akefile
s/Makefile
s/main/APIspec.dtd
s/main/APIspec.py
s/main/APIspec.xml
s/main/APIspecutil.py
s/main/es_generator.py
s/sources.mak
ain/APIspec.dtd
ain/APIspec.py
ain/APIspec.xml
ain/APIspecutil.py
ain/api_exec.h
ain/context.c
ain/es_generator.py
ain/remap.h
ources.mak
|
1741ddb747ca0be284315adb4b6fe67ddf292d03 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move references to main/remap_helper.h to api_exec.c
s/main/es_generator.py
lapi/gen/remap_helper.py
ain/api_exec.c
ain/remap.c
ain/remap.h
ain/remap_helper.h
|
fa416106307dc193e2133aa6a29b9bcfc91f8b39 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move struct _glapi_table allocation out of context.c We now allocate the table from api_exec.c and dlist.c where we fill out the table. This way, context.c doesn't need to know the actual contents of struct _glapi_table.
s/main/es_generator.py
ain/api_exec.c
ain/api_exec.h
ain/context.c
ain/dlist.c
ain/dlist.h
|
ade150d66724259119012420068fa930807311c2 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Compute extension string according to API We can now stop special casing glGetString() and drop specials_es*.c.
s/main/APIspec.xml
s/main/specials_es1.c
s/main/specials_es2.c
s/sources.mak
ain/extensions.c
|
18f7e118a5c6dfc04502e6e91ae492bfa33d3cc9 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
es2: Move over es2 code to compute extensions
ain/extensions.c
|
04bf868ad9f0034ce7b726eadd2ffac346441a68 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
main: Report GL_SHADING_LANGUAGE_VERSION according to API
s/main/specials_es2.c
ain/getstring.c
|
29107d4e07144f41614f053aa1fc49ccf225fedf |
21-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Compute GL version according to API
s/main/specials_es1.c
s/main/specials_es2.c
ain/version.c
|
218ceb3e1874a5a28f36a8df3ca0e881cdf213d5 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Move API specific context intialization into context.c
s/main/specials_es1.c
s/main/specials_es2.c
ain/context.c
ain/context.h
|
38d771c0539a087db42d8d940bb2e920bb64598c |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
st/mesa: Use API-aware context constructor The mesa state tracker is currently the only place where we create a context and expect it to implement GLES1/2. Use the API-aware constructor to communicate this to core mesa.
tate_tracker/st_context.c
|
2ab18d63cb71d988265eeab431e4363081978144 |
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Track the OpenGL API we're implementing in the context This introduces a new way to create or initialize a context: _mesa_create_context_for_api and _mesa_initialize_context_for_api which in addition to the current arguments take an api enum to indicate which OpenGL API the context should implement. At this point the API field in GLcontext isn't used anywhere, but later commits will key certain functionality off of it. The _mesa_create_context and _mesa_initialize_context functions are kept in place as wrappers around the *_for_api versions, passing in API_OPENGL to get the same behavior as before.
ain/context.c
ain/context.h
ain/mtypes.h
|
dab8f6b1d9781e91ce5102f1bb98f0e1b1b9a3cf |
21-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
radeon: fix warning
rivers/dri/radeon/radeon_dma.c
|
86d2383e771a4e53bbee2ce0b6f924f0438249b5 |
21-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Translate a few more mesa/gallium formats. These endup used by Xvnc.
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
|
736a2f2f956c14d52c1ca9291a6dfa5df5e7b062 |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: do version checking for GL 3.x queries
ain/get.c
ain/get_gen.py
|
a40e6f220ac7e41126b9815db27d362bda719bf6 |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: API and state for GL 3.1 primitive restart
ain/enable.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/varray.c
ain/varray.h
|
bd1d35fb5d3c889b11de5a1d493f711fc091fbed |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
ain/context.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
d3e2f4fa18226f540ba83bde099edb67b795655c |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove some comments
ain/dd.h
|
82abbca69220b12453e161076481a46b836ebf18 |
19-Apr-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
intel: Add Sandybridge mobile chipset id Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/intel/intel_chipset.h
|
cdcef6cbf4dd80047819e9098e34a3b98bd502a4 |
19-Apr-2010 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
intel: Clean up chipset name and gen num for Ironlake Rename old IGDNG to Ironlake, and set 'gen' number for Ironlake as 5, so tracking the features with generation num instead of special is_ironlake flag. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
e648d4a1d1c0c5f70916e38366b863f0bec79a62 |
29-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures Previously, when we created a gallium texture for a corresponding Mesa texture we'd only allocate space for mipmap levels >= BaseLevel. This patch undoes that mechanism. This fixes a render-to-texture bug when rendering to level 0 when BaseLevel=1. Also, it makes sense to allocate the whole texture object memory when BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to progressively load/render mipmaps. Eventually, the app almost always fills in the level=0 mipmap image. Finally, the texture image code is bit easier to understand now.
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
124ef032233d7afc2725e8ded0939838e7b2a76b |
30-Apr-2010 |
Adam Jackson <ajax@redhat.com> |
x86-64: Make assembly routines .hidden like on x86
86-64/xform4.S
|
395cec966badced12c71cbf6470586f10474794a |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: better, smaller error handling code for glGet*() get.o is about 17% smaller.
ain/get.c
ain/get_gen.py
|
f4dcb5de4e46d7b511b530375ef77e9946b89ff0 |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: better, smaller error handling code for glEnable/Disable/IsEnabled() Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
ain/enable.c
|
f86d7af4a0003997890edc84158e72c21c11037e |
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX) We no longer support CI-mode color buffers so this is always an error.
ain/readpix.c
|
7c769bef052fc1936d7ab33e291bb4646dc5b0d1 |
29-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused/disabled code
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
421e9aa71c9dc1c1462e55338dc5ceafb773e201 |
29-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_print_framebuffer() for debugging
ain/framebuffer.c
ain/framebuffer.h
|
ee29b861298bd165e6b104b218f31c78aed3682a |
29-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Reject shaders with uninlined function calls instead of hanging. Most of the failure from using uninlined function calls ends up being just bad rendering, but nested function calls in the VS currently hang the GPU, so reject them and explain why.
rivers/dri/i965/brw_program.c
|
07a248a3664e4cd63c98ff3478bdd9b1e45c1398 |
29-Apr-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't overwrite a driver's shader infolog with generic failure message.
hader/slang/slang_link.c
|
7d8f0fc28239c8023d2d44cbd4c979aa86c31873 |
29-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix cube map layouts on Ironlake. We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap.
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
d05c35914df1c382b90def7e7425d7f2fa4737dc |
28-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Implement VS MAX in a more obvious way. This should be functionally equivalent, with the possible exception of NaN handling.
rivers/dri/i965/brw_vs_emit.c
|
084d8fdd36bbf04520f59fecfad54be0695531f2 |
28-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use immediate float operands for some VS instructions. We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
rivers/dri/i965/brw_vs_emit.c
|
1407daf9bc9e0452a171aaca2ab8e389ccca5462 |
20-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i915: Map sampler indices to texture units correctly for fragment shaders. Fixes hang with "gst-launch-0.10 videotestsrc ! video/x-raw-rgb ! glupload ! gleffects effect=heat ! glimagesink" which uses 2 samplers pointing at GL_TEXTURE1 and GL_TEXTURE2, and piglit glsl-fs-sampler-numbering.
rivers/dri/i915/i915_fragprog.c
|
ac3529eec4d08c2d9633d7b1bba8413cc507f3c1 |
12-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i915: Add missing break; after handling the stub NOISE instructions. Bug #27348
rivers/dri/i915/i915_fragprog.c
|
a2a01853f3f40b4ef8b3f01503391877960bdaee |
20-Apr-2010 |
Brian Paul <brianp@vmware.com> |
gallium: replace pipe_resource::_usage with pipe_resource::usage
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
a6171a9dd99713266091982215bf1008c9ac8e64 |
20-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-index-bias'
|
35e60aed0bcc63d906dfdd64fe5014b2ca4394f0 |
20-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: GL 3.x xml file Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
lapi/gen/GL3.xml
|
ce0844b44cb3924323ed1fd2b75cda4dbd0013c7 |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: move/improve Mesa GPU program debugging Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function.
tate_tracker/st_program.c
|
e0383d7bb6d9636d27b04ddd777c659b0f83758b |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add missing debug entry for DEBUG_CONSTANTS
tate_tracker/st_debug.c
|
c7f5c9a3dc6350252e73b541bb85ab3ed9e64a9c |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/mesa/state_tracker/st_gen_mipmap.c
|
7b640f9f708306b3e8c661771f29bf24bf8687fb |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect RowStride computation Fixes incorrect stride when getting a compressed tex image.
tate_tracker/st_cb_texture.c
|
56f99ee640772f71c1eac0388ba2d70935010e3e |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fill in stImage->level in st_generate_mipmap() Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap.
tate_tracker/st_gen_mipmap.c
|
1fa7789e828d1005e2473fc7cd364bd45eb30843 |
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
|
2787a2e731d7628e150d607939509a05500fd29f |
27-Apr-2010 |
Pierre Willenbrock <pierre@pirsoft.de> |
Disable scissor when begining meta operations Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
6ef6cdec2ebc91cfbe2b26ad88d702847c750cd0 |
27-Apr-2010 |
Pierre Willenbrock <pierre@pirsoft.de> |
Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/common/meta.c
|
da498ef41e88e98e3710d7de5e2488f359196621 |
27-Apr-2010 |
Pierre Willenbrock <pierre@pirsoft.de> |
Fill the padding between entrys in the sampler key This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_sampler_state.c
|
edad36cff96f6d68ab8256fbe8106a313583a8c0 |
26-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i915: Add debugging for just prorgam compile under INTEL_DEBUG=wm
rivers/dri/i915/i915_fragprog.c
|
891ad6ec1ad71d26e0d06fa620fe392d29de26c9 |
26-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i915: Provide counts in the error messages for program limits.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
|
7440fd89b43184275c0214bbeeb8acc26b88815b |
28-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
radeon: fix warnings
rivers/dri/radeon/radeon_queryobj.c
|
c0b41116f1e7e8e7ebe5e0bc5b790ae7842f09d4 |
27-Apr-2010 |
Pierre Willenbrock <pierre@pirsoft.de> |
mesa: Disable scissor when begining meta operations Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
aa6489bce978e740bf0a2543d78d7757e0bc748d |
27-Apr-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Add missing _ in extension category name
lapi/gen/ARB_seamless_cube_map.xml
|
717e86738f82d5c7d7de39fbd85734febfd4c66a |
27-Apr-2010 |
Pierre Willenbrock <pierre@pirsoft.de> |
mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
e485af774efba897dcbef4697158428c2298d964 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move/rename is_depth_or_stencil_format() Put it with other, similar functions.
ain/image.c
ain/image.h
tate_tracker/st_format.c
|
f62c738c627e762f178de54ae273d3f5b6064a05 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename var and update st_choose_format() comments
tate_tracker/st_format.c
|
f1381880a8e0e0cdd96c4c725ff35a28b250b09d |
27-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Fix loading of old DRI drivers. The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built before the commit from loading. Add stub versions of the functions to make them load again.
lapi/glapi_nop.c
|
a965ef59b501f0df1417ea0e076a8a0d27dd9d23 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: call is_format_supported() for compressed formats These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases.
tate_tracker/st_format.c
|
85d3687ee78d25c0305caee5e672f9ee799a6ae6 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: 80-column wrapping
tate_tracker/st_format.c
|
29edc2a8b5be7df46f29493bb8ae2fb2c8be8ef3 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formats
tate_tracker/st_format.c
|
db14a8022a2a957c83b1fe33a84af3cdb1952d68 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix strides in (de)compress_image() functions Mipmap generation for compressed textures works now.
tate_tracker/st_gen_mipmap.c
|
64fa717b18272bda2551a6dc2e1a40725b031097 |
26-Apr-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
dri_util: Assume error checking is done properly in glXMakeCurrent In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
rivers/dri/common/dri_util.c
|
84407d7365e101c36a83fd0a58c58b0c0c57db14 |
27-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: start adding GL 3.1 signed normalized texture formats
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat.c
ain/texstore.c
|
3a9717f7c2dd861bbc0d8a3d93273b2d27c56f9a |
26-Apr-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add support for more rendering formats
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r700_chip.c
|
a53e8b7defd9c169a1a98d04d755d3f578292691 |
26-Apr-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: avoid setting invalid bit on r7xx for blits
rivers/dri/r600/r600_blit.c
|
12172071b5f5cb7f475a20ead8a65eb12fa94737 |
26-Apr-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: enable VERT_RESULT_PSIZ - makes point size & attenuation work doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_vertprog.c
|
04a148629f565f556d0b6e7465f8a19921eed7af |
25-Apr-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: adjust point sprites after 911fa4a4a1 there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
rivers/dri/r600/r700_fragprog.c
|
0c572c6828b6a338b07a6860280b3a314a81662e |
24-Apr-2010 |
Jakob Bornecrantz <wallbraker@gmail.com> |
st_api: Remove st_module The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API.
tate_tracker/st_gl_api.h
tate_tracker/st_manager.c
|
d69ed3a96eb4ed2630bee28f1937d376eee435e1 |
25-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Remove NULL check of bo_legacy->tobj. bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
rivers/dri/radeon/radeon_bo_legacy.c
|
9bc54ca991e15d3a8200f4d64e778bba19338ef5 |
25-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Remove unnecessary header.
rivers/dri/common/dri_util.c
|
cca8abe20ec9d1a560cc3fc97545922254d2a574 |
24-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Eliminate multiple va_list usage. va_list is a mutable iterator. When passed to a function it will likely point to somewhere else. This fixes segmentation fault in glean vertProg1 on Ubuntu 9.10.
hader/program_parse.tab.c
hader/program_parse.y
|
4ff354f281cfe663ef66e26af22e47400c15336f |
24-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: checkpoint WIP: mipmap generation for compressed textures Something is wrong with the images strides when compressing/decompressing images...
tate_tracker/st_gen_mipmap.c
|
394ff065f33bdf4f9b5bac11e85d18e3ce4eb42f |
24-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor improvements in fallback_generate_mipmap()
tate_tracker/st_gen_mipmap.c
|
51523f1144ea5475a5cb08ddf95c80e1b737cafb |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unneeded #includes and add/update comments
tate_tracker/st_gen_mipmap.c
|
76c7ad2e7d387feefe58dc2116b613fe11a8b273 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-up: use st_context() everywhere
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_condrender.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_format.c
tate_tracker/st_gen_mipmap.c
|
57fc2e7802d1903848c2d7799f7e36308818b2e2 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify some code in _mesa_generate_mipmap()
ain/mipmap.c
|
4aa4fe8e2103ee43e77f404ef790125dd4d690e5 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: re-do binding flags in st_ChooseTextureFormat(), again Try to specify render target bindings flags first. If that fails, try again with just sampler view binding. Note that we try to create the texture resource with render target binding flags later when we allocate the texture. Then, in FBO validation, we check if we can actually render to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT. Changes suggested by Jose.
tate_tracker/st_format.c
|
8283db88414f600e66510de713382c36899d4b03 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace 'usage' with 'bindings'
tate_tracker/st_cb_texture.c
|
eb2bd2158ed8c1983ef427ea792dc159a2144c08 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace 'usage' with 'bindings' to be consistent Plus, update comments and formatting.
tate_tracker/st_cb_fbo.c
|
70df04404bc4459f3a7f527c8b847ea06a51b599 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures
tate_tracker/st_format.c
|
a8c78f3aa13ee6a370f79c8d5936c75ba29ec193 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: get rid of default_deep_rgba_format() This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago.
tate_tracker/st_format.c
|
c34feadd1c2fa5c62022c1f48ee675b25a985ac6 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make is_compressed_format() non-static
ain/image.c
ain/image.h
ain/teximage.c
|
3643841079a1413695172d0e5dd5e0a5f2e22945 |
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: faster, simpler is_compressed_format()
ain/teximage.c
|
99bee1570bc23d8070c7ac3da67e46bdb2e6ec0d |
23-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Remove dead members.
tate_tracker/st_context.h
|
ccd13da0fc1f1813b55fc0d2181a6cb0d3b42b0d |
23-Apr-2010 |
Jerome Glisse <jglisse@redhat.com> |
Merge remote branch 'origin/7.8'
|
eb4dc547885994cc7961f7996c33ff484f664964 |
23-Apr-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600: don't enable depth test if there is no depth buffer If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
rivers/dri/r600/r700_state.c
|
ff20543c815a14fddad1efaaef1610454a1924d4 |
23-Apr-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch '7.8'
|
b2e52e727849bd78f8600931261ae69c1b29d6a6 |
23-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix assertion for surface tile offset usage on Ironlake. Fixes assertion failure in fbo-generatemipmap-npot.
rivers/dri/i965/brw_wm_surface_state.c
|
64516430be1cbe4904613903887a8178f4b4fc60 |
20-Apr-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix scissoring when width or height is 0. We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
rivers/dri/i965/brw_sf_state.c
|
355370e30b083e6fd130c259f4378530c715142c |
22-Apr-2010 |
Tormod Volden <debian.tormod@gmail.com> |
radeon: 9800 SE has only one quadpipe Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
rivers/dri/radeon/radeon_screen.c
|
17249ae8e0e459dea250733a0b3e45036cdb67bd |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: assert that binding flags are properly set for drawing surfaces
tate_tracker/st_atom_framebuffer.c
|
e9bcad4c33c8c39356ee37445768c0e4a6b3f9a2 |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix binding flags in st_ChooseTextureFormat() See comment for more info.
tate_tracker/st_format.c
|
45e2b51c853471b79004a954ce3092a253b20b77 |
22-Apr-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
DRI2/GLX: check for vblank_mode in DRI2 GLX code Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
rivers/dri/common/dri_util.c
|
234286c0f8b7d30ed49223c648d4c73c1a517ab3 |
22-Apr-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
DRI2: add config query extension Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
1143221cfd4c42e7767f8ccaefb00e145b7d5efe |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: consolidate code for finding supported formats
tate_tracker/st_format.c
|
e65b11525ada0e80943a92fe659cad986ec8c613 |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: refactor depth/stencil format selection code
tate_tracker/st_format.c
|
446062b83453d3b64205d135a8abbc0999927f00 |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: sort texel fetch/store table by format index
ain/texfetch.c
|
b4a191e351ff1ac1cd27cd7e02d169958a78ca86 |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/mesa/state_tracker/st_format.c
|
b1a9c76b574f4da6b87c5a0750bfbe5bc98d1f4e |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24
tate_tracker/st_format.c
|
4d7ef6e06b45c75bc24f8f238bcc3d2328e53c7d |
22-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix conversion errors in signed_rgba8888[rev] texel fetch Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee.
ain/texfetch_tmp.h
|
986eb4b99fd9304abc949407e48dade5e122712e |
22-Apr-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r300: fix vertex unit setup RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
rivers/dri/r300/r300_state.c
|
64644ec3b21884d4a974fa29087fa98c4ed9e112 |
19-Apr-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
Merge branch '7.8'
|
96b0807253a491442e336844f997fdc4e1761303 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: unmap the immediate mode VB before destroying it Fixes failed assertion from fd.o bug 27713. The assertion was added with the new resource/transfer changes. This patch could apply to the 7.8 branch but it's not essential.
bo/vbo_exec_api.c
|
17a43c1718605e4c95bcd7f554b0a5b8293d2578 |
19-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Update for index bias interface change.
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
c060265bdb953f0c9d73e60f08c53a2e3b1a1176 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: invert scissor rect depending on FB orientation Fixes fd.o bug 27715
tate_tracker/st_atom_scissor.c
|
cf7d08b4434325220488d4c9e871e230bafd7b7c |
19-Apr-2010 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
mesa: Fix build with gcc 3.3. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/imports.c
ain/imports.h
|
f4553d99c63e4bcb4d023c9e33b72fedd0dfbdc1 |
19-Apr-2010 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
radeon: Let this build with gcc 3.3 Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_mipmap_tree.c
|
c39ab02ae9be9c6adf8f2d1382fed88f1daf03bf |
19-Apr-2010 |
Owain Ainsworth <zerooa@googlemail.com> |
radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl. This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/radeon/radeon_cs_legacy.c
|
7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2 |
19-Apr-2010 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
mesa: Use __OpenBSD__ to check for OpenBSD. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/xmlconfig.c
|
8f3bdeaad610d7d5a5c6e73e1e9c721219595754 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
|
e3a34cc7f6c9f959cdc2af4486e84587fab4d0d7 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
gallium/draw: use correct rasterization state for wide/AA points/lines When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
tate_tracker/st_context.c
tate_tracker/st_draw_feedback.c
|
f7c2d4fee3104008c21078879cbc5720d7bc1be6 |
19-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
r300c/r300g: add 3155 rv380 pci id
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
1aaf41fd8a531b9a7e98ff59189c5ba291f3906e |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/
tate_tracker/st_texture.h
|
c3016dcee562953dc187b484a27203c735f9662b |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/
tate_tracker/st_cb_fbo.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.h
|
5d3d63d45a037fdf603ddcff88da635c3ce8075e |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_texture_object::pipe field Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view().
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_manager.c
tate_tracker/st_texture.h
|
073048c872ea5893ad0c39b32ca171893c17148b |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_texture.c
|
ef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_texture.h
|
8a7ea577ac924016db5f86cbb408dd8e218c6782 |
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.h
|
394803b2cd7fd9d4c0a394eb6998ccafec19bcd3 |
18-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: lower CEIL
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program_alu.c
|
e53a1576dde7ba9d22b48a8e4b5d41b71411ec1d |
18-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: enable branch emulation for vertex shaders
rivers/dri/r300/compiler/r3xx_vertprog.c
|
ebd05a798e34f99bfa35c18803de47662e9e4840 |
18-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: optimize CMP for vertex shaders a bit
rivers/dri/r300/compiler/radeon_program_alu.c
|
65fd6fb2044521511b867c76e270f285d0b15f06 |
11-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Use memory_pool_array_reserve in deadcode elimination Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
|
0321f9c6f13a7571376e5eb9ce6c110061ed09fd |
11-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emit Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
340e5e65dc1a7b82c8f910971c185bb4627204ea |
11-Oct-2009 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: enable branch emulation for R500 fragment programs
rivers/dri/r300/compiler/r3xx_fragprog.c
|
4d7ed844313a4be64e9162369c935ce750cd9b06 |
11-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Implement branch emulation for R300 fragment programs Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/memory_pool.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_emulate_branches.c
rivers/dri/r300/compiler/radeon_emulate_branches.h
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
6aae062bdf285ce9ce861b4d3b777080664518ba |
17-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Restore comment too.
hader/program_parse.tab.c
hader/program_parse.y
|
4e98116c234c25119c1a3a0c0a138ada2ab69906 |
18-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Fix handling of OPCODE_PRINT for no registers case. A register file value is unsigned so could never be -1. A value of 0 also aliased to PROGRAM_TEMPORARY. If an OPCODE_PRINT has no registers to print, set the register file value to PROGRAM_UNDEFINED and check for that value when executing this instruction.
hader/nvvertparse.c
hader/prog_execute.c
|
4485dd8a3e8aff8d4fb73684d0d7a5a1179f60cc |
18-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.
rivers/dri/i965/brw_vs_emit.c
|
0a2ae64b77d4d0c1571cd457d5e01c599307122e |
17-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Remove unnecessary header.
rivers/dri/r300/compiler/radeon_program_tex.c
|
6be186a6faff1414d8b92d84ff6d275e1bf7ce98 |
17-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Add radeon_program_tex.c to SCons build. This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5.
rivers/dri/r300/compiler/SConscript
|
411d5063323ccdb85ec090f1c852fcc8e9cd0e64 |
17-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_program_tex.c
|
f91a06eed27516b06d51cf437b9b165e8bcef35d |
17-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: replace mirrored-repeat emulation with a faster version Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering.
rivers/dri/r300/compiler/radeon_program_tex.c
|
a94942e3796be135d3a6b6f9bfacb954088228d1 |
17-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add handy definitions for XYZ0 and smeared half swizzling
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_program_constants.h
|
47265e69c84c78a68102fa727aa80d63f25c0d46 |
16-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: make ARB_shadow_ambient optional This saves constant register space for r300g, which doesn't need this feature.
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_tex.c
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_fragprog_common.c
|
b2c1b944c9bf7ea08ef3ff6bb0820091903c895c |
16-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: restore r500-specific bits of TEX transformations
rivers/dri/r300/compiler/radeon_program_tex.c
|
1f67782afab8dcc77e9507a92c8f4a3bf896b9a0 |
16-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add prototype for st_bufferobj_validate_usage()
tate_tracker/st_cb_bufferobjects.h
|
885048232fb715b0646d52ff35305941a25f1382 |
15-Apr-2010 |
Tormod Volden <lists.tormod@gmail.com> |
savage: call _mesa_meta_init/free() Fixes crash when using _mesa_CopyTexImage2D. Bug #27652. Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/savage/savage_xmesa.c
|
6c954dd12871aae2c34854498eaf696b67e3680b |
16-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove NULL check of pointer that could not be NULL. cbuf has been dereferenced twice earlier in the same if-block. It is either not NULL or a crash has already occurred.
tate_tracker/st_atom_constbuf.c
|
b1a89ea1abe1c69e3e0abcdfc2b525fe7f727864 |
16-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Fix texture instruction readmasks. No immediate benefit, it was just bugging me.
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
|
2c5b35807eb506a1f7a4fc675f5644ae2f675d84 |
16-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Fix magic numbers in readmasks.
rivers/dri/r300/compiler/radeon_opcodes.c
|
a089fe281645395d68cfae6d66151a8a88fe5f8e |
16-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Oops, this slipped through.
rivers/dri/r300/compiler/r3xx_fragprog.c
|
2e74bc440eb110f1256af26f777e1b283df08df2 |
16-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Save Q for mirror and repeat.
rivers/dri/r300/compiler/radeon_program_tex.c
|
f8a14186809356871ae74159c774e9e3959a22e5 |
16-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Split off texture fixes to their own file. Yes, I'm fully aware this generates subpar code on r500.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/radeon_program_tex.c
rivers/dri/r300/compiler/radeon_program_tex.h
|
8c456775887e192dd7464b94295f4410045c7c07 |
16-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
drisw: Move pointer dereferences to after NULL checks.
rivers/dri/swrast/swrast.c
|
7b8c4f22d4fd78829dd5843db92321ec0665932e |
16-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Move dereference and assignment to after NULL check.
tate_tracker/st_cb_texture.c
|
8978e45e50118d0e3660fdd9cd58b8790c0a6bb8 |
16-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add missing format specifiers in error strings.
ain/teximage.c
|
80d89aa0d28ca987d958c1033eeb7e4a3c10368b |
16-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix repeat wrap mode for TXP and NPOTs No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g.
rivers/dri/r300/compiler/r500_fragprog.c
|
17b41f80bd1e9306de625e4240e6d83c08eec7fd |
15-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: kill off RC_WRAP_CLAMP A variant thereof might be later reintroduced for the mirrored-clamp modes.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_code.h
|
ebf765a32460e5ec136892c1ea6f5e0166a0bd66 |
15-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_texture.c
|
116c863892bdb55d1f82c4569b27d42bd9826798 |
14-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: put ATI_texture_mirror_once in the right place
tate_tracker/st_extensions.c
|
075d9698eda4e8728872ffa1648f02d8d2748857 |
14-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: trivially enable ATI_texture_mirror_once This is a strict subset of already-advertised EXT_texture_mirror_clamp and shares the same enumerants.
tate_tracker/st_extensions.c
|
2b6488326967c3e58737d90df8883a2c6c76a6c4 |
12-Apr-2010 |
Jakob Bornecrantz <wallbraker@gmail.com> |
i915: Fix comments about cube layouts
rivers/dri/i915/i915_tex_layout.c
|
833e6f052483495a86c4426d2d1151b8b0564bae |
13-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove state_tracker/st_framebuffer.c from SConscript. This was missed in commit da8412ec19ad00627ae9139dc02f46f344bbb6ac. Fixes SCons build.
Conscript
|
da8412ec19ad00627ae9139dc02f46f344bbb6ac |
12-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Drop st_public support. There is no user of st_public now.
ources.mak
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_flush.h
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
tate_tracker/st_inlines.h
tate_tracker/st_manager.c
tate_tracker/st_public.h
tate_tracker/st_texture.c
|
c2e804a7e1de99a60ff293972772835772d49391 |
13-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Hax around instructions limits in mirroring code. Stuff's starting to show up in arbnpot.
rivers/dri/r300/compiler/r3xx_fragprog.c
|
911fa4a4a16e7cb099107ecf79d9ed8f63139236 |
12-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
ffvertex: don't touch tex coords if coord replace is enabled. The fixed function vertex program shouldn't need to deal or touch tex coords if stuffing is enabled. Though I'm not 100% this won't break assumption made elsewhere it seems like the correct thing to do, and makes r300g point sprites a lot easier to implement. draw: fix point-sprite when vertex program is used. This commit regressed draw, so fix it as well to help bisection. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/ffvertex_prog.c
|
d5dcd4ee35308272d6b7b3549f05365aa438d7d2 |
18-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
st/mesa: half float vertex support (unexposed) This was proposed by Marek Olšák and no one objected, so just pushing it. The extension is currently not exposed, because the mechanism to discover if the driver actually supports this is missing. We probably should change is_format_supported to handle this too. This will allow to test Gallium drivers anyway in the meantime. Based on work by Dave Airlie. Changes by me: 1. Fix assertion in st 2. Change to use unpadded Gallium formats
tate_tracker/st_draw.c
|
f0b8677d57f32ea66c997dfc8c3bf06987c6ebcd |
12-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Comment code, add much better mirror maths.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
|
d5af1dce8fc23dc3763773e3c0b7e0be128d2aa0 |
12-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Implement texcoord repeat and mirror for NPOT.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_code.h
|
484079d7245e089a908090c0944e2088a3a074f6 |
11-Apr-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Add NPOT compatibility fields to external state. Completely unused for now.
rivers/dri/r300/compiler/radeon_code.h
|
bddb6c7a383682d0f8f4fadd8cf57472a8c3c8a8 |
09-Apr-2010 |
Török Edwin <edwintorok@gmail.com> |
Fix build with --enable-32-bit. CFLAGS needs to be passed, as you already know. Commit 3e17a5b047124c46ee45dbd1848127c67e0d62f3 broke this by adding a new link command without CFLAGS. Signed-off-by: Török Edwin <edwintorok@gmail.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
rivers/dri/Makefile.template
|
4ebed8638682825100f18682041753ed4233667a |
12-Apr-2010 |
Dan Nicholson <dbn.lists@gmail.com> |
Revert "dri/drivers: fix 32bit builds on 64bit systems" This reverts commit bd09fce27119548cb91cc2aa9ced6a7347aefc3a. Török Edwin sent the correct fix to the list a couple days ago in <1270832747-15611-1-git-send-email-edwintorok@gmail.com>.
rivers/dri/Makefile.template
|
bd09fce27119548cb91cc2aa9ced6a7347aefc3a |
11-Apr-2010 |
Maciej Cencora <m.cencora@gmail.com> |
dri/drivers: fix 32bit builds on 64bit systems
rivers/dri/Makefile.template
|
0203136e69bfa711edd69a4f69c4539cd877b5cb |
11-Apr-2010 |
Maciej Cencora <m.cencora@gmail.com> |
Merge commit 'origin/7.8'
|
2657325c4a73a2bfa94888a936d06466000e7fbf |
11-Apr-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: respect radeon common code fallbacks Fixes progs/demos/shadowtex under KMS
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
|
6a5518861e541db76bae0fa69d1d025805d90f2c |
09-Apr-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: set proper vertex index limits also in non indexed mode Fixes #27521, broken menus in UT2004 and broken water refraction in Sauerbraten.
rivers/dri/r300/r300_render.c
|
9faf9529f38e1b22550f4910ea863391bfa02436 |
10-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: Build glapi regardless of the dri option.
Conscript
|
5c28928c9229f43d69178967327da65e23ed5c26 |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary header.
rivers/dri/i965/brw_optimize.c
|
e13e1c068da1f51707086325ce4ebae5d4ec1676 |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Remove unnecessary header.
rivers/dri/r300/r300_state.c
|
68341dcfc0d3ab54b4b85c310c441723bfca135a |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
mach64: Remove unnecessary header.
rivers/dri/mach64/mach64_context.c
|
6bd99f113089efb9c39082c991ca5962aae29746 |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Remove unnecessary header.
rivers/dri/radeon/radeon_tex_getimage.c
|
93a6db077906d6896101a8151ca3508afba2da55 |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Silence uninitialized variable warning.
tate_tracker/st_draw_feedback.c
|
95d3bdd338a1bc90ec382d5faa82ea3d0a2b3c67 |
11-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Remove unused variable.
rivers/dri/r300/compiler/radeon_pair_translate.c
|
287c94ea4987033f9c99a2f91c5750c9083504ca |
10-Apr-2010 |
Keith Whitwell <keithw@vmware.com> |
Squashed commit of the following: commit 0189cb2fde9f5d7326fd4bfbc2e52db4cce73b3e Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 12:48:43 2010 +0100 gallium: don't use generic get_transfer func for textures It doesn't know and can't fill in the stride value. commit 65bc6f88fd9ce8ff90175b250e580bef2739ea35 Author: Chia-I Wu <olv@lunarg.com> Date: Sat Apr 10 13:49:34 2010 +0800 i915g: Initialize screen surface function. commit eb56e64986790aa2fa35534ce652b78656b0c3c5 Merge: f8b0a7f e7f1e5c Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 00:38:43 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/r300/r300_texture.c commit f8b0a7f6a3a98fd36ce90a81073ec8c8f09b684c Merge: a3c9980 f43c679 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 00:35:09 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/r300/r300_texture.c commit a3c99807de37dc2c072f1d75ed3a11da333bc9a1 Author: unknown <michal@.(none)> Date: Fri Apr 9 18:51:39 2010 +0200 scons: Add missing sources. commit 927cec79cedb457efa9e6f335727cfcb8e4908e2 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 18:07:56 2010 +0200 gallium: fix another compile warning after merge. Hmpf. commit 52953cd7b0e51deafecb812bdc40f9e45f9ac62a Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 18:02:11 2010 +0200 gallium: fix comment commit 7c8763aa6cfc74adf1ea49c2bab25ca17b32575f Author: unknown <michal@.(none)> Date: Fri Apr 9 18:05:20 2010 +0200 util: Fix type cast. commit 9d0086411a104b7cc9297aac0d1f82853118d7bf Author: unknown <michal@.(none)> Date: Fri Apr 9 18:04:33 2010 +0200 libgl-gdi: Use proper unwrap functions for resources. commit 251a5cdd18ba31c690ef61f133dfc65cd4a45cf8 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:51:23 2010 +0200 gallium: more comments fixup commit 8f3f9d5e1e9c0de98a3dfb19e81250d2c32ee4e9 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:48:18 2010 +0200 gallium: another fix after merge commit 41f00a32ee5be91512c048bacb89ede0e04bc08d Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:44:30 2010 +0200 gallium: more pipe_texture/resource fixes after merge commit faf53328d1154c51d8a59513f2bfcae62272b0bf Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:44:24 2010 +0200 gallium: fix comments for changed USAGE flags commit fdcb17bea4b0798d316b56deea69832f41142adf Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 16:40:07 2010 +0200 gallium/pb: pb uses PB_USAGE_ flags, not PIPE_TRANSFER_ (same value anyway) commit c95f7278ecc6db417ec1053279f2a8172c47aee9 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:44:35 2010 +0100 llvmpipe: fix merge glitches commit 28f8b8683175149a381be5eff263d4c20568bce7 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:41:39 2010 +0100 r300g: update after merge for pipe_resources commit 248c93cbc066ba6e3fadd94c5fcf3bdbb373d8fd Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:41:20 2010 +0100 st/mesa: fix old pipe_texture usages commit a563b1c5c2cb57b3ef28a3654d9b477460d13ced Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:40:56 2010 +0100 r300g: remove unused variable commit 734500131d828c9dfd68c5fa26b3e6b07e086d2d Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:40:36 2010 +0100 nv50: fix compiler warning commit efd402e13037e5c3e29759fa5b1c754c6d65d0e2 Merge: fec8a1d 5452615 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:33:57 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_screen.c src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/state_trackers/egl/common/egl_g3d.h src/gallium/state_trackers/egl/kms/native_kms.c src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_ximage.c commit fec8a1db13fac04ef56f6ece799d1f20aa3011db Author: Marek Olšák <maraeo@gmail.com> Date: Sat Apr 3 07:58:34 2010 +0200 util: fix assertion failures in pipe_buffer_flush_mapped_range commit 1ff3984c2edce9927744f3cce3e7b07778990170 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 8 17:44:54 2010 +0200 docs: fix transfer_map description commit 20bf14be8ac6438cb1afa38212e306fc06a5ed40 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Apr 8 14:39:13 2010 +0100 util: fix up several uses of pipe_map_buffer_range This function used to return a pointer to where the start of the actual buffer would have been, even though only the requested range is being mapped. In the resources change, the function was modified to use a transfer internally, and started returning the pointer to the beginning of the transfer, ie the mapped range. Some users of the function were changed to reflect this new behaviour, some were not. Since then the function has reverted to its original behaviour, matching master. This change restores some of the users of the map_buffer_range helper to expect the old/original behaviour. commit 33179a86058b68b518f40971030db337dc26fe6e Author: Keith Whitwell <keithw@vmware.com> Date: Thu Apr 8 14:38:54 2010 +0100 mesa/st: fix up several uses of pipe_map_buffer_range This function used to return a pointer to where the start of the actual buffer would have been, even though only the requested range is being mapped. In the resources change, the function was modified to use a transfer internally, and started returning the pointer to the beginning of the transfer, ie the mapped range. Some users of the function were changed to reflect this new behaviour, some were not. Since then the function has reverted to its original behaviour, matching master. This change restores some of the users of the map_buffer_range helper to expect the old/original behaviour. commit 3f5363d4dc9d7ad48467ae82d58d5f3d9bd10698 Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:26:52 2010 +0100 util: map_range and flush_range have offsets relative to start of buffer commit 7eb1bfb97a790c73188d6b616d54fb3849e69b1e Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:26:08 2010 +0100 nv50: fix compiler warning commit d040daff0642dd791ac38e9b353dc251b03fc873 Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:25:58 2010 +0100 nvfx: fix compiler warning commit 49ec01dffb8e99ab3ff8f856287db7b4df3efed6 Author: Chia-I Wu <olv@lunarg.com> Date: Mon Apr 5 11:58:53 2010 +0800 mesa/es: Fixes for gallium-resources. commit 47c87ada452be45766928a01b6d69da63e3a5f5e Author: Marek Olšák <maraeo@gmail.com> Date: Sat Apr 3 05:19:20 2010 +0200 r300g: fix transfers for textures created from winsys handles commit 5f2701fddaef9c18d85c049311c2819c49cc1ae0 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 03:52:38 2010 +0200 nouveau: don't use the staging usage Maybe it could make sense, but for now dynamic is enough. None of these avoid uncached reads from GART on AGP cards. commit 0db20fa49e008f35911007fa7ed9be1d678a2161 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 03:27:19 2010 +0200 i965: add brw_resource.c to Makefile commit b94f3e7389cbd1b6465de3c04e8059ce73f1ea1f Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 01:48:33 2010 +0200 nouveau: fix for gallium-resources commit a01ff99a19986e6beb7903431e60a074945b09bc Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 19:26:35 2010 +0200 gallium: fix missing includes commit 26aeded562ce947a6deeb867fe22bf8daf7b1a1a Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 19:19:18 2010 +0200 gallium: remove video interface and related stuff These interfaces weren't quite was needed, and building disabled for a while. Some code actually build since some branch merge, and were now not fully converted to gallium-resources. See http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg09619.html for a discussion of this. Video related work is done in origin/pipe-video branch. commit c64285aea45997a276fb141d7badc8a04f617c7c Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 18:45:54 2010 +0200 python: fixes for resource changes doesn't look quite ok yet, but sort of compiles. commit 03d4d5a41f5cf158a358fd705c695e1c987a328f Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 18:34:46 2010 +0200 gallium: s/u_box_orgin_2d/u_box_origin_2d commit 2444f023142bcaf7bd310b44794580f273254408 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Apr 1 03:26:50 2010 +0200 r300g: fix segfault when the transfers functions are used Still broken. commit 6f09bf4066ab651b323c131bb07978e700519805 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 00:05:12 2010 +0200 r300g: compile fixes commit 76711ff40d2092f9ef03d452de7458c4e76d9246 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 00:04:47 2010 +0200 nvfx: more compile fixes commit c5d2e90c9cc119447a447dc04a4bce4ab91fc671 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 23:18:50 2010 +0200 gallium: more mostly merge fallout fixes... commit fbc3722696790857f4adc936190406e74dffd969 Merge: 86d9225 d97f696 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 22:09:35 2010 +0200 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/gallium/drivers/i915/i915_buffer.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i915/i915_resource_texture.c src/gallium/drivers/i915/i915_screen.c src/gallium/drivers/i915/i915_state_emit.c src/gallium/drivers/i965/brw_resource_texture.c src/gallium/drivers/llvmpipe/lp_screen.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/nvfx/nv30_fragtex.c src/gallium/drivers/nvfx/nv40_fragtex.c src/gallium/drivers/nvfx/nvfx_miptree.c src/gallium/drivers/nvfx/nvfx_screen.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/dri/common/dri_drawable.c src/gallium/state_trackers/dri/common/dri_screen.c src/gallium/state_trackers/dri/common/dri_st_api.h src/gallium/state_trackers/dri/drm/dri1.c src/gallium/state_trackers/dri/drm/dri1.h src/gallium/state_trackers/dri/drm/dri2.c src/gallium/state_trackers/python/st_device.c src/gallium/state_trackers/python/st_sample.c src/mesa/state_tracker/st_cb_clear.c src/mesa/state_tracker/st_cb_drawpixels.c src/mesa/state_tracker/st_cb_readpixels.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_extensions.c commit 86d9225d19d194eebbbe95b059695697c3307d15 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 19:06:06 2010 +0200 gallium: more fixes for bind changes commit a215ef0606347e34669a580ec8df93ede7e46399 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 18:48:36 2010 +0200 gallium/docs: some updates for bind changes commit c6c7e6746cbc7af59f7972719ed76f43e8ac16fc Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 20:24:26 2010 +0200 gallium: more bind change compile fixes commit a83fa1504b78180524a5eb454ae186741a27cdf8 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 17:37:13 2010 +0200 compile fixes commit 30dc8afcd243d6a160571bac5f06d773e54a4196 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 16:56:28 2010 +0200 fix some merge issues commit 30aa617fee11fe50c0a9c2f33fcd120a474f5e34 Merge: 1dde609 3a830bc Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 16:09:45 2010 +0200 Merge commit 'origin/gallium-buffer-usage-cleanup' into gallium-resources Conflicts: src/gallium/drivers/nouveau/nouveau_screen.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c commit 1dde609ad6c9d2dfa0a5f7167f3c5bcf023b7c4d Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 24 02:35:00 2010 +0100 docs: some updates for pipe_resource commit f236f9660d31b936f54b64ae07e569f8637067bd Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Mar 24 01:31:28 2010 +0100 nvfx: fix for gallium-resources It seems to work with basic applications but almost surely needs more work. In particular, it probably shouldn't use PIPE_BUFFER_USAGE_* flags and should use PIPE_TRANSFER_* in several places. Also, we probably don't want the vtable indirect calls and that ought to be replaced with something better instead. commit 5a136ad7b63768cb9a753eff8686c44592e62325 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Mar 24 01:31:19 2010 +0100 nv50: fix build in gallium-resources Not actually tested. Also needs next patch tee to actually build, this is just the nv50 part split from the rest. commit 3a830bc4a3f0f60c925b9434845a6bcad9a913c5 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 14:00:52 2010 -0700 st/egl: fix up for binding flags commit c6a80dc32ef17bc972d4137ce7444ebed4d28ebb Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 13:52:15 2010 -0700 r300: restore 4k alignment for oqbo buffers commit e75a8d5ea9e0ffcf67bc858e08937e10b4fc74ba Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 13:00:07 2010 -0700 gallium: bind flags commit 1f5b509543a7f399835fd9edf27c18e1643fab7d Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 19:32:21 2010 +0100 i965g: scons compile fixes commit 2c385f8f905ec794d9119c05c6293e0b1b9b565a Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 19:20:33 2010 +0100 nouveau: drm compile fix commit b285086ebd5132b47c340897c4622cc9fbd286cb Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 18:36:19 2010 +0100 r300g: pipe_resource compile fixes bring back mistakenly deleted radeon_buffer.h plus some more commit 7810606f423ef2f51f0a14b919640c2fd2c931aa Author: Michal Krol <michal@vmware.com> Date: Tue Mar 23 16:21:03 2010 +0100 softpipe: Map GS constants, too. commit 366f1176fb89d2b1978da6cfe60000b76bbc7338 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:51:52 2010 +0100 failover: update for pipe_resources commit 615f44d70d293704ed821bc0b21fcfe6e363895d Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:51:02 2010 +0100 identity: remove double is_resource_reference assignment commit 7008586020395905ddfff333d02b3893de369796 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:50:32 2010 +0100 trace: compile fix commit 058c5697bda4c9cf7b49d26ee27a34586544efaa Merge: dd7ba13 b33fd3c Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 06:40:39 2010 -0700 Merge commit 'origin/gallium-resources' into gallium-buffer-usage-cleanup Conflicts: src/gallium/state_trackers/vega/api_filters.c src/mesa/state_tracker/st_cb_drawpixels.c commit b33fd3ce3daf2921a895367d0ed3fd9c718a8575 Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 21:03:26 2010 +0100 gallium: Usage parameter of get_transfer/transfer_inline_write is a bitfield. commit 9c1162d9d656062a490a529997def3f674cc61fc Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 20:50:49 2010 +0100 scons: Update file lists after gallium-resources changes. commit af9793ab9e5386b150d6b25c0d1978fdc67172e4 Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 20:04:39 2010 +0100 gallium: Do not use `template` for formal parameter names. commit dc2e12d714c444af9ff1acdd5a7e91408b116c99 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:41:34 2010 +0000 ws/nouveau: remove pipe_texture reference commit b94c72329f1be85887d40d49b0586979da469d77 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:40:41 2010 +0000 ws/xlib: remove pipe_buffer reference in comment commit 0a2af3eeae7de1d1cb433f0a2c35136b115f9920 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:39:34 2010 +0000 st/vega: clean up reference to pipe_texture commit 437ce98daae46be5d532fbb04c7cbf4a503c1623 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:39:02 2010 +0000 st/python: begin conversion to pipe_resources, much more to do commit 1b02e1ee3e5e87774f0c9e5f0e1898b7f8de1b16 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:29:34 2010 +0000 st/xorg: update for pipe_resources commit eb39977fe7a1d9f0c3f4f2d4303a93c2c613cc3b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:23:51 2010 +0000 st/dri: update for pipe_resources commit e447aeff597a4d8c0f5de25854c14c99f2cc138c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:23:36 2010 +0000 st/egl: update for pipe_resources commit e4cc48da8fdbd7d521257a6d7cd10e6fc5aa1a65 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:08:44 2010 +0000 r300: drop use of R300 DONT SYNC flag commit 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:08:17 2010 +0000 pipebuffer: use transfer flag commit 575b35ee6b683d77095ef21c573c1de207107e79 Merge: f29ac73 9fc6c8b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:03:25 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_texture.c src/gallium/winsys/drm/radeon/core/radeon_buffer.h commit f29ac73f3f626d5779a627b7fa6fecdb60a35aab Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 18:37:25 2010 +0000 cell: attempt to convert to pipe_resources Can't even compile test this driver. commit 484b1947f4af81bab60b41f21c3c23ea6f67488c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:25:50 2010 +0000 nvfx: restore usage of pipe_winsys The interface that cannot be killed... commit ac76ac6eb30f4f9aa9f5733d60358b357925953a Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:25:10 2010 +0000 nv50: fix warning commit 9683f4423449fa5acf6c019c571223650473bd82 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:14:31 2010 +0000 util: restore u_simple_screen, nouveau still relies on it commit 961cbcb62232689c959965384c6aa9b8eca697c1 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 16:51:54 2010 +0000 nouveau: convert nvfx and nv50 to pipe_resources Compile tested only. This was a deeper change than I was hoping for, due to the layering of the pipe_texture implementation in each driver on top of a shared pipe_buffer implementation in the shared code. Have modified the shared code to act as a set of convenience routines operating on nouveau_bo objects. Each driver now uses the u_resource_vtbl technique to split the implementation of pipe_resources between the existing miptree code for textures and a new, minimal buffer implementation in each driver. Eventually these should be combined, not least because APIs are now allowing things like binding buffer resources as textures and render targets. commit 18ba74016db13b23282f5033ee37b628a12ee566 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 10:02:54 2010 +0000 r300: fix compilation after merge Also build r300 by default. commit eb9c0175c8e4baca3fcb0b8364f83ceba9d74e0d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:59:49 2010 +0000 st/vega: fix up after merge commit ea8dd1d4ae7b58c9315c3491046ef3852ddd3377 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:59:44 2010 +0000 aux: remove unused piperesource helpers commit be7af29d3ad1a10409b0ea689d882cf30a4e1d62 Merge: d22c2c6 12deb9e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:54:53 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/cso_cache/cso_context.h src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/image.h src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/mask.h src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/paint.h src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/renderer.h src/gallium/state_trackers/vega/shader.c src/gallium/state_trackers/vega/vg_context.h src/gallium/state_trackers/vega/vg_tracker.c src/mesa/state_tracker/st_manager.c commit d22c2c6cb23a063e3334a165d0c5c3d73f05d234 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 20 11:48:54 2010 +0000 drm/r300: update for r300g pipe_resources conversion Remove old files that related to pipe_buffers but weren't being built. Hopefully this is correct. commit f07b2c836958bee5796899123eca4ed05ac6242b Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 20 11:47:03 2010 +0000 r300: convert to pipe_resources Do a very shallow conversion - basically keeping the existing buffer and texture code intact and using a vtbl struct inside our resource struct to select between the two implementations. The buffer and texture treatments could be further merged without much effort, but try to keep the existing code working at this point. commit feca9c3ca62daaf0d8745370106d4e3b22340c49 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:34 2010 +0000 gallium: update new merges to pipe_resource commit 1cad983eac77a0c5333e6a3ce92b90ac87407714 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:19 2010 +0000 drm/sw: update new merges to pipe_resource commit 191d39490ed792c569f98d42cf05891b264f71f8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:01 2010 +0000 vg: update new merges to pipe_resource commit b727c59bc44812ad503d9390505c92b738a5b8b0 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:38 2010 +0000 llvmpipe: update new merges to pipe_resource commit 5f4b64b37fdcd70162c382b2ebbd494bef751dbd Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:23 2010 +0000 brw: pipe_resource fixes commit d4aca209f531f1b65bf706ce1e5fc0375b587eb6 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:06 2010 +0000 util: update new merges to pipe_resource commit cf6bef0afee10763c78509a3d17e9a6e49bcd3c8 Merge: 1997231 6de8e56 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:38:50 2010 +0000 Merge commit 'origin/master' into gallium-resources commit 1997231916144485c3c4a36f53eda39fce460272 Merge: ad88ac7 e1ee3ea Author: Keith Whitwell <keithw@vmware.com> Date: Wed Mar 17 08:46:38 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_blit.h src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_gen_mipmap.h src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_gen_mipmap.c commit ad88ac79034a91670940276e722bdd398d5c9023 Merge: 77bc770 8cdfd12 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 16 09:13:07 2010 +0000 Merge branch 'gallium-sampler-view' into gallium-resources Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_texture.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c src/mesa/state_tracker/st_texture.c commit 77bc770c991ea025c82eaa4e0e2390efd825d96d Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 15 22:21:48 2010 +0000 util: missing file commit f83c91db8ae63a3c3a34ff21492427a5663fb760 Merge: c1d4774 42910eb Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 15 09:48:58 2010 +0000 Merge commit 'origin/gallium-sampler-view' into gallium-resources Conflicts: src/gallium/drivers/nv40/nv40_transfer.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/trace/tr_drm.c commit dd7ba1378fc50710667724d30d6d4cf1125ad61e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 23:54:36 2010 +0000 gallium: start a cleanup of buffer_usage Remove fairly meaningless CPU/GPU READ/WRITE flags and replace with proper usages. commit c1d4774187189f4af8ff421b210824f3d53ceefb Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 23:05:45 2010 +0000 llvmpipe: don't FREE userbuffer data commit 9bfa07afe179f8060e7beefb754a29c4d9c6e349 Merge: 65757a1 08cddfe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:54:51 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_scene.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_texture.h src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/svga/svga_screen_texture.c commit 65757a143f8e3fcd7afbc1ff92db44a823edf46c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:41:17 2010 +0000 svga: build fixes commit 2f5435220501d4b3050cab2bb1dce6174cd13ff6 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:39:25 2010 +0000 gallivm: build fix commit 42642ec0984107d82b740711f2debbf38457a06e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:38:33 2010 +0000 llvmpipe: convert to pipe_resources commit 7bbcb21e20cb545ef8dd5fc61d67ed931c69e813 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:19:30 2010 +0000 gallivm: convert to pipe_resources commit 88ae0d04610ca52649b42e32141a52af6d5a739b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:01:22 2010 +0000 configs: build svga commit 0e112bc69828e65085ebfaef895ecd78fe53f1c4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:01:17 2010 +0000 gallium: restore PIPE_BUFFER_USAGE_CUSTOM commit 102aca688b95c976b7178b84092fba7d041ff9d2 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:00:41 2010 +0000 util: more transfer helpers commit a79f6a4a0836fc64c07f9aeec21d914474fe3649 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 20:59:36 2010 +0000 svga: convert to use pipe_resrource As with others so far, a fairly shallow conversion. commit 087fb54492fa5e3baf040c5efbf7dacd98a8849b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:38:08 2010 +0000 brw: fix function name commit cfc9dd707d16e06fd23b6926da3a6e2269f31dc8 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:19:06 2010 +0000 gallium: enable brw compile commit 8a5b86d76bdd3c7de63322423f59940a4dc2ee25 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:18:50 2010 +0000 brw: compiles with pipe_resource commit 563ca458b548c41ca4dca559354c16ca1a80d009 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:18:42 2010 +0000 i915: hook up userbuffer create commit b5095b48247b6020e36cc942ac145c3fccbe9a19 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:20:51 2010 +0000 i915: use helpers for is_resource_referenced commit d5392bdc6d70002acf9c5bac0fde14ba405c4d84 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:20:38 2010 +0000 util: helpers for is_resource_referenced commit 2f3492a5aefbb2e745f6700d8e910ebb5cbb98cf Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:08:50 2010 +0000 i915: remove buffer.c again commit 1373a35b65fcc25ec6cdfea2703bbb3417de2c6d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:08:34 2010 +0000 i915: add new files to scons commit 0251612d70e57fe38e10e75915b394631d224f2c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 16:38:29 2010 +0000 i915: compiling with pipe_resources commit 9a0235864252929a8eedd44dbd2fe30fe54c531d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:51:16 2010 +0000 gallium: remove inline_read transfer commit a6ba315e25793e0c228d3a4ae2f8201634dc9ff0 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:50:32 2010 +0000 trace: get running Some dumping will be incorrect or disabled, but it runs without crashing commit 2133f1d90aa919662a8420a0cf3b4557e6ec1afd Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:49:42 2010 +0000 gallium: remove the inline_read transfer There aren't enough users of this to justify it. commit bccaf1fa30881f6b4fb189a9b74fc7af79c3b481 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:30:37 2010 +0000 identity: hook up inline transfer operations commit e4c152a344f2f53c842b810724a2ae7cb4554f58 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:21:54 2010 +0000 gallium: build trace and identity commit 0b5a311db78852fa9fd021e17b5968a1e0436b49 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:21:36 2010 +0000 gallium: add more of the transfer state to pipe_transfer Not really sure if recording all the arguments to the create_{transfer,texture,surface,etc} functions in the result of those calls is a great idea, but it seems we're fairly dependent on it throughout the code. commit a23985c26eafe76b0a7dacc892e50cb589f211fe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:19:46 2010 +0000 identity: compiles with pipe_resources commit d0d630944304c208f6dade6ef8836763ee2bc7b4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:13:02 2010 +0000 trace: compiles with pipe_resources commit a4451ea459cc8bfc915fe6aed2891b90854b6c9d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:39:50 2010 +0000 softpipe: give userbuffers a format other than NONE Most mesa demos working commit 32bb1bd4ba29884a4ecfa11c8441d33dfceabcef Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:39:21 2010 +0000 util: correct argument order in pipe_buffer_map commit 7e2696c06445282feb781047277b260308760a33 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:32:55 2010 +0000 softpipe: transfer flush commit a0543b13c042e3c1142522d9d136f16fd4cabf78 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:32:13 2010 +0000 util: noop implementation of transfer_flush_region commit ce418533be752dbeb164e7ff82a99483048e482b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:26:07 2010 +0000 gallium: softpipe runs gears with pipe_resources commit bfda4f2eb34498e4b7f3c608d30fccff6bb9651b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:25:48 2010 +0000 util: get clip_tile working again commit f5ef219c3bed62b6a0da842e675fae16268e0fbe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:43:20 2010 +0000 softpipe: use u_transfer helpers commit 072957aab25affecf0702e925310e46c694a5ee4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:42:46 2010 +0000 util: helpers for inline transfers commit 9c45561fb0d7a52400093bcb2ce5f727fafd7777 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:42:25 2010 +0000 util: fix typo calculating transfer box commit f3e98fd47f36804d019a684d49ff230df3ab0cf5 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:25:46 2010 +0000 st/vega: convert to pipe_resource commit d1b7b00afc944f6499c83d676c7642115d62a62c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 08:37:56 2010 +0000 gallium: begin converting drivers to pipe_resource Work in progress... commit 51c25117f5d6da1926a2be5ecc66677952a8abf0 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 20:16:27 2010 +0000 gallium: work in progress on layering resources on top of old textures Helper code in an aux module to avoid rewriting all the drivers. commit fb6764d3ce95c55aa78af2f1c8cbb17b79ce1ba2 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 19:19:09 2010 +0000 heaps of wip commit ee6b3bc730fcdaf8da3646d62f04578ec06d36a1 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 16:38:02 2010 +0000 wip2 commit 1830880212445189fe267d615075239ed17c7cc0 Merge: 90b4045 47bfbd4 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 15:14:03 2010 +0000 Merge branch 'gallium-sampler-view' into gallium-resources Conflicts: src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_atom_texture.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_context.c src/mesa/state_tracker/st_context.h src/mesa/state_tracker/st_texture.h commit 90b4045fbc0a093fcd04efba7e045ec259c490b8 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 14:52:43 2010 +0000 wip
s/state_tracker/st_cb_drawtex.c
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_framebuffer.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_inlines.h
tate_tracker/st_manager.c
tate_tracker/st_public.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
edff2e058571cfd8e1cb94e668c35f3d3cac4d80 |
10-Apr-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add new r7xx pci ids
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
ba81b0743efd978509b1931d7b4b93f37e8aeb5e |
09-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
Fix copyright headers. Update the warranty disclaimer to use the more general "THE AUTHORS OR COPYRIGHT HOLDERS". This is done manually on files created by me. Hope that I do not miss anything.
ain/remap.c
ain/remap.h
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_eglimage.h
tate_tracker/st_manager.c
tate_tracker/st_manager.h
|
75b8c4a8f869f63991c774caa7e1cec7e988c5ec |
09-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
4ae2bdcb150aa87557c8f1648445e84bfb926986 |
09-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: new assertions to check array indexes
tate_tracker/st_mesa_to_tgsi.c
|
b22a00bff4aadd390dd8af6b5b05bd2833ec7f85 |
09-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix instruction indexing bugs We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566.
hader/program.c
|
54526154c5b02be0fbae6b0dad766c6be1bee21c |
09-Apr-2010 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau: Import latest nouveau_class.h from renouveau And fix nv50_screen.c to compile against the updated header.
rivers/dri/nouveau/nouveau_class.h
|
bab6c0a03527f3d3b5124c6540cc167e3989c068 |
08-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regression Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression. When the vertex shader emitted both a texcoord and color we were grabbing the wrong vertex attributes. Fix the draw_quad() code to put texcoords in slot[1] and color in slot[2]. That's a bit cleaner than changing the vertex shader code. Tested with progs/tests/zreaddraw.c
tate_tracker/st_cb_drawpixels.c
|
8ac7d7fa05f34dcded533ba17ed3cec1f69e8906 |
08-Apr-2010 |
Li Peng <peng.li@intel.com> |
intel: Call intel_prepare_render() in intelClear() Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_clear.c
|
9599da33742b727ba714618d2d14c0486e0408f6 |
08-Apr-2010 |
Li Peng <peng.li@intel.com> |
intel: Call intel_prepare_render() in intelClear() Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_clear.c
|
dff50ff592da7cb1d784fae794dd1647a5445bca |
08-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'origin/7.8' Conflicts: Makefile configs/default src/mesa/main/version.h
|
4b39a0da89f5b07d4a24bc9ce52693e6c2acfe99 |
03-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
texenvprogram: fix for ARB_draw_buffers. piglit has a test called fbo-drawbuffers, this fails for me on r300g, and fixing the texenv program to use the DATA outputs fixes it. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/texenvprogram.c
|
765dc9fc32cf9016473726fbf4827c2aa4cec0b1 |
07-Apr-2010 |
Michel Dänzer <daenzer@vmware.com> |
r300: Initialize compiler.max_temp_regs for blits. Blits were broken since commit e41a64591bf1a74465bf0adc7d35c991c4cfb4fe ('r300/compiler: make the max number of fragment shader temporaries adjustable').
rivers/dri/r300/r300_blit.c
|
2002e4d06e2627241cd4af88f65b54d2101ef151 |
06-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add OES_EGL_image to extension list.
rivers/dri/intel/intel_extensions.c
s/main/specials_es1.c
s/main/specials_es2.c
ain/extensions.c
ain/fbobject.c
ain/mtypes.h
ain/teximage.c
tate_tracker/st_extensions.c
|
7d2db19fe581ede34dd1f396f1e0bd46ea5c3776 |
06-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: reformatting
tate_tracker/st_mesa_to_tgsi.c
|
489eced800cb0f20a1e1d66b84a048e4df99503b |
06-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: put fragment wpos code into separate function
tate_tracker/st_mesa_to_tgsi.c
|
50074ecd3a360d3479d789624a268847a644add8 |
04-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: trivially enable GL_EXT_gpu_program_parameters
tate_tracker/st_extensions.c
|
88b7329cdd8f3fc22f18a84175822f81930b4d50 |
05-Apr-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.8.1
ain/version.h
|
f820b263db0d3bc46b4ea7b41bbe026cbf990430 |
04-Apr-2010 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: update_arrays() depends on program state. It uses ctx->VertexProgram._Current. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/state.c
|
df65e64c294e93d83f6400b29a2a2d1c69db2c5d |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused var Fixes a coverity warnings.
ain/dlist.c
|
557c8bb748f0b23dcc7c02ca9c594add4a42638d |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: check for _NEW_BUFFERS for color read format queries
ain/get.c
ain/get_gen.py
|
e41a64591bf1a74465bf0adc7d35c991c4cfb4fe |
14-Feb-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: make the max number of fragment shader temporaries adjustable
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_fragprog_common.c
|
bf4c4479dd3468c029a9688edf677e946c38b9e2 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: don't turn on GL_EXT_transform_feedback yet
ain/extensions.c
|
528d100b80f0aaa5f4480c3e42004158763612e9 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: call pipe_context::draw_arrays/elements_instanced()
tate_tracker/st_draw.c
|
3b7ac45162412a79c3cd4d4dbc16bd54db597608 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: implement core Mesa support for GL_ARB_draw_instanced
ain/dd.h
ain/vtxfmt.c
ain/vtxfmt_tmp.h
bo/vbo.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_save_api.c
|
cf3193ad1cd75b847c5d626def701a4bb012d080 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: new validation functions for GL_ARB_draw_instanced
ain/api_validate.c
ain/api_validate.h
|
3258dfbbbda69b46003362e94e75129c277c7a61 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: new extension flag for GL_EXT/ARB_draw_instanced
ain/extensions.c
ain/mtypes.h
|
61b21f0c834b093e731ac04141eea2e0887941a7 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files for GL_ARB_draw_instanced
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
736846b22fe3e219c88591a2d5c2f03294c8c145 |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: plug in ARB_draw_instanced.xml
lapi/gen/Makefile
lapi/gen/gl_API.xml
|
a4e1abd487b2219dd9781c2fb9462fddc9cc703f |
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: ARB_draw_instanced.xml file
lapi/gen/ARB_draw_instanced.xml
|
a1aa53b2a934ca026bb115aca18a46fd920f9e8d |
25-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Implement GL_OES_EGL_image driver hooks. Use st_manager::get_egl_image to look up GLeglImageOES and implement EGLImageTargetTexture2D and EGLImageTargetRenderbufferStorage.
Conscript
ources.mak
tate_tracker/st_cb_eglimage.c
tate_tracker/st_cb_eglimage.h
tate_tracker/st_context.c
tate_tracker/st_manager.c
tate_tracker/st_manager.h
|
f618867645b3ce2570958bfacc1faf8c88e7a620 |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for GL_EXT_transform_feedback
ain/dlist.c
|
808c424b673de109babc608ec74b34f0738ed906 |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL_EXT_transform_feedback functions into dispatch
ain/api_exec.c
|
d2f5d056d84dec41df2c96734462369e2c4e0137 |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files for EXT_transform_feedback
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
0101507ff0f875c66041c64faa66506da31ac5fe |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: include/build EXT_transform_feedback.xml
lapi/gen/Makefile
lapi/gen/gl_API.xml
|
9bfdd88ac222396fbc72a4a82ff5739422a6300b |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: new EXT_transform_feedback.xml file
lapi/gen/EXT_transform_feedback.xml
|
d661931fbc6fc14cfa11fb72611aefbc5fc86288 |
03-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glapi: fix error message
lapi/gen/Makefile
|
073bae1ce441d175fd1ab60bcdef2cabe3074e00 |
02-Apr-2010 |
Dave Airlie <airlied@redhat.com> |
r300 compiler: add target output debugging. print the output target in the FP debug. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r300/compiler/r500_fragprog.c
|
3e1a3923f44bfa550ea152c57c99f9ec558b7571 |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: fix bad return value in link_transform_feedback()
hader/slang/slang_link.c
|
30b9ead229fabd9a4c68f676ac7a6cba2de74f70 |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: remove obsolete comment
hader/slang/slang_builtin.c
|
107c72f355a3006d716ec5e8d550f0fcd3766bbc |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: do extra link checking for transform feedback
hader/slang/slang_link.c
|
3100f31b747a3294e1e7043ed9a61d8b90bf423a |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor fixes in _mesa_GetTransformFeedbackVarying()
ain/transformfeedback.c
|
3b49437372218e12f4270b750199f8825f9b0f45 |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: append built-in, used varying vars to the varying vars list
hader/slang/slang_link.c
|
1a14866689b1e207b1af4c57f9727e2712e9f49e |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_copy_string() non-static
hader/shader_api.c
hader/shader_api.h
|
038aba1f082d696a49db7c818766c5886f4efa83 |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: pass datatype to _mesa_add_varying() Will be needed later for transform feedback support.
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
ee91c1e367b9e3bcbb156ed80ab94694f0d4b4ca |
02-Apr-2010 |
Brian Paul <brianp@vmware.com> |
glsl: add more vertex/fragment output info helpers
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
|
bef912abd3345268168fdff82b4a36f64f1d78a0 |
01-Apr-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/transformfeedback.c
|
96548d80e541691281a947836b673177542fd400 |
31-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use a consistent name of the external s3tc library for all windows compilers.
ain/texcompress_s3tc.c
|
d97f6963aee71d8fafa2a94a5fe1f3ca4b4ef16d |
31-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-new-formats' Conflicts: src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/util/u_format_access.py src/gallium/auxiliary/util/u_format_pack.py
|
e24f4378a1e29a8f81033c1c4a1c31ec9ca3706a |
31-Mar-2010 |
Ben Skeggs <bskeggs@redhat.com> |
st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_program.c
|
b46750d601655c39ccb967ae525d4edcbb9fb9d2 |
31-Mar-2010 |
Ben Skeggs <bskeggs@redhat.com> |
st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_program.c
|
539d03ff367a7ce05929f5aa24e3448ba8ac01c5 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added glGet queries for transform_feedback
ain/get.c
ain/get_gen.py
|
86a1ea31ed6afdb9789671ca3fdd79709ea9f112 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added glEnable/Disable state for transform feedback
ain/enable.c
|
423860ac7809173dda479991f23751ad169076d1 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add new query/buffer targets for transform feedback
ain/bufferobj.c
ain/queryobj.c
|
a5d7ee929e47e85a97f0dedbe3e30f1c57e7f49b |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: plug in transform feedback functions, set limits
ain/context.c
|
e443d13ab672d2b226324ce5bdf4570912b38785 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add transformfeedback.c to build
Conscript
ources.mak
|
de8530e1546733bf21b2e0518d6c5bda560770b9 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial check-in of transform feedback functions
ain/transformfeedback.c
ain/transformfeedback.h
|
e5c69647b0b1e7a2f1e1af75bf02d1bb0b8aac2b |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add transform feedback queries And make _mesa_copy_string() non-static.
hader/shader_api.c
hader/shader_api.h
|
4e9f07544821fbf7e7b079871c83555042073848 |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add EXT_transform_feedback to extension list
ain/extensions.c
|
066f0097959fe705c57556b658a09af0ba6be8fb |
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial data structures for transform feedback
ain/config.h
ain/mfeatures.h
ain/mtypes.h
|
ed17446d80fb0e98b4df7e76bae46a360a379682 |
30-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: simplify query code with get_query_binding_point()
ain/queryobj.c
|
4afed821baa6993d85a07c67d42ea40d4e9a600a |
31-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Bump intel driver date to later than the date on the 7.8 branch
rivers/dri/intel/intel_context.c
|
94264994b1332109974f7de8179535429f34caf4 |
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop another unused __DRIscreen field
rivers/dri/common/dri_util.h
|
42510765907014aabdee39a38ffe0283f7e32654 |
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop the unused dummyContext
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
221bc02d29b92cf81a2fee62e3685bc4ae20ea14 |
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Drop an unused __DRIcontext field
rivers/dri/common/dri_util.h
|
ff6bce552a1522160c64d10677a36a7ad6cf5f88 |
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove redundant fields from struct intel_context All these pointers are in the __DRIcontext struct, which we point to.
rivers/dri/i915/i915_state.c
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
581c773e81cdc467be2d09a0ccd76c0de3cba529 |
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Use fb->Height when flipping read buffer orientation With DRI2, x and y are always zero and fb->Height is always up to date with the drawable height.
rivers/dri/intel/intel_tex_copy.c
|
3623202834e9ca1073a4aa66f72f584812fb14df |
30-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Unbreak DDX/DDY. Fixes progs/glsl/deriv.
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_pair_translate.c
|
5cc9387d0de966e855794d3108b31737a6dfc13a |
30-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drisw: fix use after free (bug 27370)
rivers/dri/common/drisw_util.c
|
e5c7d1e1c8ccb493c63e33d017c28b5cf4a55829 |
30-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch '7.8' Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver).
|
f6f5cba9a66afea3f500e3be1c15e7b18d88e265 |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Use core mesa's mfeatures.h. Remove mfeatures_es1.h and mfeatures_es2.h. Build the overlay with either FEATURE_ES1 or FEATURE_ES2 defined.
s/Makefile
s/main/mfeatures_es1.h
s/main/mfeatures_es2.h
s/main/stubs.c
|
066477ab226c6bf9598511ebe9134cb360fb54a2 |
30-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add missing features. Add features tested in the code but missing from mfeatures.h. This also fixes some tests of features. They should be tested with "#if", not "#ifdef".
ain/bufferobj.c
ain/context.c
ain/extensions.c
ain/fbobject.c
ain/mfeatures.h
ain/texparam.c
|
9f0e1be2de1d9256f340b541630ad258ca8885f7 |
29-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add umbrella features. Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x respectively. Define individual features through the new umbrella features. There is no real change introduced by this commit.
ain/mfeatures.h
|
733df0059f04e3fd7e3265d3c80dd8029f939c60 |
30-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'master' into gallium-new-formats Conflicts: src/gallium/auxiliary/util/u_format.csv
|
6fb364a1717858d8201b2caf234076ce5d4832ac |
30-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: adapt all code to the renamed depth/stencil formats
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
1cbd51068802a3aa530b9c12d86c40cb3a1bbfa4 |
29-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glsl: avoid using rcp in length() functions See prev commit for related info.
hader/slang/library/slang_common_builtin.gc
|
ab0b9f80f45fcab55155b0a16b91a56ff4b3db1e |
29-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glsl: remove rcp from sqrt() Per a patch from Marek Olšák, we can simply multiply the incoming value by 1/sqrt(x) instead of using rcp. We're keeping the x==0 check to avoid generating NaN for sqrt(0).
hader/slang/library/slang_common_builtin.gc
|
cfbbe244d7438a60d389ae9d996dd430f79f362f |
29-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: util_format_is_compressed() -> util_format_is_s3tc().
tate_tracker/st_cb_texture.c
|
ef6736e6466947afc3ea3c3113359cdadfd8c9cd |
29-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Bump intel driver date to reflect status as 2010Q1 release
rivers/dri/intel/intel_context.c
|
a6a4613135dc0b93012d3a2b1abcf69f772e4214 |
29-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.8 Also set the correct release date.
ain/version.h
|
5f1699e9d5e8e5e67a560482f73e559304a8ae43 |
29-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header.
wrast/s_clear.c
|
3bfa23317c6b1b52ec637a03a0b623228ffc95ef |
27-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drisw: add comment to libGL about stride
rivers/dri/swrast/swrast.c
|
f4e561ce127cf484d7c76c29b8cd026c9ad5cebc |
27-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drisw: make stride issue profound
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
|
9903d09f82c525690cd016e7747ba2fe96c6468f |
27-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move/update hash function comments (cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
ain/hash.c
|
038d2607ab759638217ded3bd1b232d389975af5 |
27-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix deadlock in _mesa_HashFindFreeKeyBlock() Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
ain/hash.c
|
feb619b7705897ca723e8fe728f739932f743327 |
26-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch '7.8' Conflicts: src/mesa/drivers/dri/intel/intel_mipmap_tree.c - left what was in master
|
7996f0fc2c167c84552701be7a48d20a897e7978 |
26-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
dri/swrast: Fix frontbuffer rendering. Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
rivers/dri/swrast/swrast_spantemp.h
|
b005e751778736d0d743f734207582a03ce70e77 |
26-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
dri/swrast: Fix missed conversion of one pixel pointer increment. This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
rivers/dri/swrast/swrast_span.c
|
d9b6552d85cfe54f2e8b9c277e05e23d84058e0b |
26-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/common: add comment about DRISW wrt DRI1 / DRI2
rivers/dri/common/drisw_util.h
|
22cd6f2cb4996de0a30c8f865f7011898ac8b8e2 |
26-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: only call _mesa_update_state() when necessary in glGet functions Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
ain/get.c
ain/get_gen.py
|
b6df7aed60189d5f28a139c6fe351022ca2907a4 |
26-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: Lower CMP for vertex programs. I think my maths is right?
rivers/dri/r300/compiler/radeon_program_alu.c
|
77c30c5915acbb38fbc3e4d23414bcb2037c82a4 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix readpixels from ReadBuffer != DrawBuffer. Fixes piglit fbo-readdrawpix. (cherry picked from commit 5782b2a968bb979b651e49bb5fc4162faa842050)
rivers/dri/intel/intel_span.c
|
63fbae81e00964ccaf4c15d031893f5110b702a6 |
24-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix inversion for glCopyPixels to/from FBOs. fixes piglit fbo-copypix. (cherry picked from commit a589da14dee0c2a32e6e529f1a390b01a3ee4001)
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
fdbe1ca0bd7451c8406795f829d661139d941f27 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Rely on allocated region pitch for the miptree pitch. Bug #26966: 945 miptree pitch disagreement with libdrm. (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
57e793644f8b1c229703ac69ef2ee5d26cb282c9 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove extra tiling setting after allocating a tiled region. (cherry picked from commit 32f143b4327521a058dc05f0ab9087a5696b9618)
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
4980891252f35a2c87ef302b40d7536327a9babd |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Respect src pitch in _mesa_copy_rect(). If a non-zero src_y was used, this would break piglit depth-level-clamp. (cherry picked from commit e1e48ea15c1fe448f0b69e086b66c1123dc98bb7)
rivers/dri/intel/intel_regions.c
|
a6fecdff3e71f080d4caf29d2b0713ab5ce9d5f4 |
25-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
59258498dc6fa51573b176d071644bd3e750b5ac |
25-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glapi: return int = 0 from NoOpGeneric() If a GL function is called w/out a current rendering context, this stub gets called. It should return 0 so that non-void-valued functions return 0/NULL instead of a random number.
lapi/glapi_nop.c
|
80f5f7d17afac7b4cbaaad27a43dbf902ca3826e |
25-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Fix build.
rivers/glslcompiler/Makefile
|
20755c5c4c88f8c442fc5b65f5368a32d0693a07 |
25-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drisw_util: add fields for gallium swrast_dri
rivers/dri/common/drisw_util.c
rivers/dri/common/drisw_util.h
|
d9a19d8649e49acfac98c240bff88931be7743d7 |
12-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200/r300/r600: enable accel for Copy/DrawPixels without kms meta ops should work ok without kms.
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_state.c
|
fabc744999bf282e80baf44c45c58cab8a67d604 |
21-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: report correct state atom size Spotted by Pauli Nieminen
rivers/dri/r300/r300_cmdbuf.c
|
88f785935e43701a1ac56dae3952a915a9dd201b |
21-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix off by one R300_PVS_MAX_CONST_ADDR field holds highest const addr, not const count. Fixes missing models and others rendering errors for vertex program using 256 params.
rivers/dri/r300/r300_vertprog.c
|
7a77effb0b7eeefd5eb350aa9a487e10f62eb7ed |
21-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix vertex programs with big number of params (>255) under KMS UMS will probably require some kernel work
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_vertprog.c
|
bed7d88708eba69118fe3805f95b104194872f3a |
21-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix wpos/fog handling It may happen that the vertex attribute we were going to stuff the wpos/fog attrs in was already written by vertex program. In such cases we need to remove instruction accessing these attributes, so they don't overwrite the wpos/fog related instructions. This fixes non-textured models in many wine games.
rivers/dri/r300/r300_vertprog.c
|
70929f4505d5cb1b9848a02e8359e9f7a8ef598c |
21-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: clean fog_attr/wpos_attr if code accessing these attributes has been removed FP during compilation
rivers/dri/r300/r300_fragprog_common.c
|
3695cdd6061abe5af430bddaac2237bff3d87ad0 |
24-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Handle the negate and abs swizzles on brw_wm_glsl.c immediate args. Fixes piglit glsl-orangebook-ch06-bump, regressed with 4fc57322258a750c0a9cabc77372b5ccde1fa877
rivers/dri/i965/brw_wm_glsl.c
|
e71c1589d8e5ab3c81b0fc04f4720c74849c4f15 |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix typo in prev commit
tate_tracker/st_cb_texture.c
|
2d6befd9d1e8dcf6495fe1b9cef12224046f3095 |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix sampler_view destruction bug when texture is shared Since texture's can be shared by many contexts, the texture's sampler view's context pointer might be invalid by time we delete the texture. Prevent crashes/etc by setting the sampler view's context to be the calling context before deleting it. This should be safe as long as all contexts which share the texture are using the same gallium driver. That's a reasonable assumption since pipe_texture objects aren't compatible between different drivers anyway.
tate_tracker/st_cb_texture.c
|
ab93f8d0679d1f2a116b98831fc4967a2b707b3a |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: code clean-ups, formatting fixes, comments, etc
tate_tracker/st_cb_clear.c
|
3374b26f52313f629b69876bbca30845fb78b371 |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename st_clear() to st_Clear() To be consistent with other Mesa driver functions.
tate_tracker/st_cb_clear.c
|
f66d70b930e2a5026b0d6d7bdb047a2a78a10d7a |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: return GL_TRUE/GL_FALSE if return type is GLboolean Just to be consistent.
tate_tracker/st_cb_clear.c
|
2b5de09b3ea8754fb004d4f216bca29303f99490 |
24-Mar-2010 |
Brian Paul <brianp@vmware.com> |
swrast: improve depth texture mipmap selection We still don't do proper min/mag filtering but this is better than just sampling the base mipmap level all the time. Fixes piglit depth-level-clamp test. Fixes fd.o bug 27256.
wrast/s_texfilter.c
|
2d84d58975187639291d8f02faa02ffc83b5c195 |
23-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glslcompiler: added option to do linking of vert/frag shaders
rivers/glslcompiler/glslcompiler.c
|
3790199e041236ab8db1effaba2922e10b8b81ac |
23-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
dri: fix dri_test.c for non-TLS build _glapi_Context and _glapi_Dispatch have different constness between TLS and non-TLS builds.
rivers/dri/common/dri_test.c
|
5f229547a525554ded621f4f245e22c9090e9205 |
23-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
dri: add _glthread_GetID to dri_test.c dummy glapi
rivers/dri/common/dri_test.c
|
7e246e6aa63979d53731a591f4caee3651c1d96b |
23-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
dri: make unresolved symbol test link work even without a libGL.so Currently the test link uses -lGL to define the glapi symbols. This makes it impossible to build DRI drivers on systems without Mesa installed and without building the libGL from the Mesa tree first. Some automated build systems trigger this problem. This commit removes -lGL and instead adds a dummy implementation of glapi to dri_test.c This, along with Kristian's commit, should fix all known regressions due to the addition of unresolved symbol checking.
rivers/dri/Makefile.template
rivers/dri/common/dri_test.c
|
516334b7fff5e0167d3f3fbcd15de08b5ca89747 |
24-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Stop abusing ctx->NewState flags for storing driver internal changes. We're still abusing the flags by putting them where our driver stores ctx->NewState changes. Making them into more restricted state change flags would be a project for later. Fixes a failure where calling intel_draw_buffer() too often would trip up Mesa assertions about when Mesa state could get changed, when it hadn't. Bug #27034.
rivers/dri/intel/intel_buffers.c
|
ba5a53edd12fac24c176e714560b1f9ec255bbdb |
23-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Add $(DRI_LIB_DEPS) when linking the test binary This will make sure we pick up libdrm_$(chipset).so from the right place.
rivers/dri/Makefile.template
|
3d99e990c078f3e1096e7d09bc686643e71d5681 |
24-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Stop abusing ctx->NewState flags for storing driver internal changes. We're still abusing the flags by putting them where our driver stores ctx->NewState changes. Making them into more restricted state change flags would be a project for later. Fixes a failure where calling intel_draw_buffer() too often would trip up Mesa assertions about when Mesa state could get changed, when it hadn't. Bug #27034.
rivers/dri/intel/intel_buffers.c
|
57edf6b1fc6d126821f9395b35a27462c3d94202 |
23-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Also print _NEW_STENCIL in _mesa_print_state()
ain/debug.c
|
9f0e302cc792f21c6523a85c353e053f942cd035 |
23-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
st/mesa: make st_manager.c set have[Stencil|Depth]Buffer only if bits > 0 Fixes a segfault when clearing a non-existent stencil buffer.
tate_tracker/st_manager.c
|
fff86eb0aab506fdfe3e956587d453c52ab07730 |
23-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
dri: use mv -f instead of mv to ensure no prompting occurs Using just mv may cause prompts on some systems/configurations.
rivers/dri/Makefile.template
|
3e17a5b047124c46ee45dbd1848127c67e0d62f3 |
15-Mar-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
dri: test whether the built drivers have unresolved symbols This is a different approach to solving this problem that the patch I previously posted, and unlike that, should not cause any problems. Right now undefined symbols in DRI drivers will still allow the build to succeed. As a result, people modifying drivers they cannot test risk creating unloadable drivers with no easy way of automatically avoiding it. For instance, the modifications to nv50 for context transfers caused such an issue recently. Unfortunately, just adding -Wl,--no-undefined doesn't work, because the DRI drivers depend on glapi symbols, but do not depend on libGL.so.1 Adding -lGL is not the correct solution since DRI drivers are not loaded just by libGL, but also by X and possibly by other clients. So, this patch simply tries to build an executable linked to the DRI driver and to libGL. If the DRI driver contains any undefined symbols not satisfied by its dependencies or by libGL, this will fail. This solution does not alter the built drivers, and does not significantly slow down the build process. All classic DRI drivers as well as all the Gallium drivers with configure options compiled successfully with this change. Thanks to Xavier Chantry <chantry.xavier@gmail.com> and Michel Daenzer <michel@daenzer.net> for helping with this. Signed-off-by: Luca Barbieri <luca@luca-barbieri.com> Acked-by: Brian Paul <brian.e.paul@gmail.com>
rivers/dri/Makefile.template
rivers/dri/common/dri_test.c
|
4eead425504057e0862bc214bceaa512775973f1 |
23-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.8-rc2
ain/version.h
|
d9ea1af82c233a10adbf9b842546e9322480591b |
22-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add disasm for SNB MATH opcode.
rivers/dri/i965/brw_disasm.c
|
10069916c71d55ddaeca793f5dade203a8b42da5 |
22-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable normal clipping on SNB. Rejecting all doesn't seem to be helping get the pipeline lit up.
rivers/dri/i965/gen6_clip_state.c
|
7319b19fc94c3b49d19b8bf9ce52dc17db3ac6f3 |
20-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Force single program flow in SNB GS, to match gen4 GS.
rivers/dri/i965/gen6_gs_state.c
|
073f8d1c00165acccb60f878a2aa770c2b885aec |
20-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Correct copy and wasted field shifts for SNB GS URB.
rivers/dri/i965/brw_defines.h
|
edc8a99d1dc9963f61c3ecb5fdf481efae359ce4 |
20-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable VS on SNB. It appears that the thing that was killing VS threads was the gratuitous NOP that replaced the gratuitous jump from OPCODE_END to the nearby OPCODE_END implementation. With that gone, we can move on to the rest of the pipeline.
rivers/dri/i965/gen6_vs_state.c
|
d163d5fac0eb5e57a2afb77f557525110753359e |
19-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove gratuitous jump or nop from OPCODE_END to vertex emit. Just emit the URB write at END time. Subroutine code that sits after OPCODE_END won't be executed since we've ended the thread at the point that the URB write is done.
rivers/dri/i965/brw_vs_emit.c
|
a9acde6a723c8f343f65243d1ccac6836215ba0c |
19-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB. Otherwise, we may not get the FFTID set up which would break freeing of resources.
rivers/dri/i965/brw_eu_emit.c
|
4fc57322258a750c0a9cabc77372b5ccde1fa877 |
19-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Allow FS constants to be used as immediates instead of push/pull. The hope is to later take advantage of the reduced constant usage to free up regs. This only covers the GLSL path at the moment, because the brw_wm_emit path doesn't get the information as to whether a float value is a constant or a uniform.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
864f2bd61d2bad31b49a680a168fc6d7c04d1de1 |
19-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add INTEL_DEBUG=glsl_force to force brw_wm_glsl.c. I keep finding the desire to force this path to debug it instead of cooking up goofy-looking testcases to do so.
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
8a998342c6bf591f1969b432bdda1732d480ee56 |
19-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Optimize OPCODE_CMP by using BRW_SEL to choose results. Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp.
rivers/dri/i965/brw_wm_emit.c
|
af0b0e1172a14ca215777f6ef6569d1433f45af2 |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename st_framebuffer() to st_ws_framebuffer() Be clear that this function is not just a cast wrapper.
tate_tracker/st_manager.c
|
62d54f0387610ec4f71cc3d0fb2a5d49e370a0ef |
22-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call intel_prepare_render() before looking up regions. Fixes #27213.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
|
6422cf387baef75df9e5dbbed5cea4c0f495fe41 |
22-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call intel_prepare_render() before looking up regions. Fixes #27213.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
|
262961ef694d90fd008041c8384014fd7ed45594 |
22-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_atom.c
tate_tracker/st_manager.c
|
f42acbeebf8267b61d89c0d1be5cb26009a30496 |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glslcompiler: fix build again Simply use the libglapi.a archive instead of individual .o files. Fixes the non-debug build.
rivers/glslcompiler/Makefile
|
fc14fb9d1a897dbcf750b8158d6cb08388a422c4 |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Rectangle texture fixes.
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_texture.c
|
bfdea90f251c1bc3cf4f8096f8c62a37b9ac78c1 |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Some render to texture fixes.
rivers/dri/nouveau/nouveau_fbo.c
|
199fab25b7cb047c0d7ac26ee12df3b2e1369723 |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix swrast fallbacks when the read and draw buffers aren't the same.
rivers/dri/nouveau/nouveau_span.c
|
fe7d0e6dc81c493b9ff7163c640d75db25386675 |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Expose EXT_framebuffer_blit.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_driver.c
|
fc7890dc6c1f70a4f1c4bffb0fca7ae0cde30a2e |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Plug in some mesa_meta functions instead of the swrast variants.
rivers/dri/nouveau/nouveau_driver.c
|
c695e80017373caf6e8d7139b8d3df2d945ccce5 |
22-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Emit dirty states on nouveau_validate_framebuffer. Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4).
rivers/dri/nouveau/nouveau_context.c
|
98b4e7aee83c7874db0ea23f632851b6fb5ba62a |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glslcompiler: fix build breakage
rivers/glslcompiler/Makefile
|
182c42c8da6edfa66819eef02f4dea310c1f68d7 |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
|
ca97f8b9bab80844be613a9253643b7da8e738c7 |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glslcompiler: fix build breakage
rivers/glslcompiler/Makefile
|
5cb4a3524b54480418b4c4717c4a0f0a8669939c |
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove return, do as the comment says
ain/bufferobj.c
|
361e8e911886784407c7aff91e09b9b2bfd5cde8 |
22-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
mesa: Add end of line to the end of a debug output.
ain/matrix.c
|
4ea694a26b99835d0b5bc814cf024850874a9a83 |
21-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix emit size prediction to account elt splitting. Emit sizes prediction didn't account for render splitting in hwtnl path.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_tcl.c
|
0900544fb54cbc2127b8729393c9c1308cd218f9 |
21-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Don't flush when closing elts in KMS. Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
rivers/dri/r200/r200_cmdbuf.c
|
1968d8f31d0ac83557c9366dea39b15e92bb1516 |
21-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix swtnl fallback to flush pending rendering before transition. Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
rivers/dri/r200/r200_tcl.c
|
44e3ec3c05f0806f0940887ed9e30d94bf0748e0 |
21-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix mixed indetion in r200TclFallback.
rivers/dri/r200/r200_tcl.c
|
a13bcf945fdc455c184284552d8f39c57982d61f |
19-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
rename dri_sw to drisw_util for consistency
rivers/dri/common/dri_sw.c
rivers/dri/common/dri_sw.h
rivers/dri/common/drisw_util.c
rivers/dri/common/drisw_util.h
rivers/dri/swrast/Makefile
rivers/dri/swrast/swrast_priv.h
|
0b932284f2294a1dc02004d3b6ef6dfb633bc4bb |
19-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri_inteface: add define for checking presence of drm.h __NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms and allows to be defined externally as well. __NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
rivers/dri/swrast/Makefile
|
9a7acbccfbc061322be493633d5c5bf4afd302b5 |
20-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
vbo: Fix vbo_split_copy to pass correct max_index to draw. vbo_split_copy was passing one past the max_index to draw function which caused _tnl_draw_prims function to read uninitialized values from copied array. Bug was spoted in valgrind report of progs/tests/cva_huge.
bo/vbo_split_copy.c
|
c48226e81d6a070a4bbaf42e0a310a868bcbe935 |
21-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Reemit the light model state when lighting goes on/off.
rivers/dri/nouveau/nouveau_state.c
|
7f1f4c14eced51bf3f43764e2864693ba1c4a6d5 |
21-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Random cleanups.
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_texture.h
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
|
12deb9e6ca76d222badf71c8643e84640673e86d |
21-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
Merge remote branch 'origin/gallium-st-api-dri'
|
7b38f946a05045323da0d367baff19bb62950af9 |
20-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix assertion failure in the r500-fragprog emission path
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
61753c4bf7f6948aad208eddc7a2bae24763e028 |
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL3 query for GL_TEXTURE_SHARED_SIZE
ain/texparam.c
|
9fca5d2e39a530c633fbd374d3b1f1ec935601d1 |
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
ain/get.c
ain/get_gen.py
|
d6a9f5b3da7ce43a7b4ee068902dfd0d35c7bfa8 |
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new GL3 buffer object queries And clean up the error checking code.
ain/bufferobj.c
|
8829e063aa87ade63c49d3df27a7edd0c63cf160 |
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL3 buffer attachment aliases
ain/fbobject.c
|
00225af999acabcd5eced0b075b0a56018fd5eb8 |
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL3 ContextFlags field and query code
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
3d72c4ae78cfdad7d160b0960adb792cbbbb863b |
20-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: fix assertion failure in the r500-fragprog emission path
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 |
20-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Fix aliases to non-static functions. The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
lapi/gen/gl_x86_asm.py
86/glapi_x86.S
|
41a87a43e11c664935349f938022d58d3e22da4e |
18-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Correctly generate static disatches for X86. The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
lapi/gen/gl_x86_asm.py
86/glapi_x86.S
|
73060ec7ebaa6a304402caa60610f94dac2cf24b |
19-Mar-2010 |
Brian Paul <brianp@vmware.com> |
drivers/x11: add PUBLIC qualifier to more API functions Based on a patch from Tom Fogal.
rivers/x11/glxapi.c
|
062a208814ad65d330f403c46d4bed88648f334f |
19-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Use bit-wise not instead of logical not (i830 path) The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
rivers/dri/i915/intel_tris.c
|
689e4b554123bbf9af727b910dad9d1b32521f95 |
19-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.
rivers/dri/intel/intel_reg.h
|
fda5078324e0a940a2ddfdd1c63ffceb47c5a717 |
18-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Use bit-wise not instead of logical not. The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
rivers/dri/i915/intel_tris.c
|
b7e8039132830a2cd7a75691d11750d2ccc0a4e2 |
18-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/unpack/pack/ to be more consistent
tate_tracker/st_cb_drawpixels.c
|
3c0eab714816618314324ac02712fa59e5ed385a |
18-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Flush after texture validation. Swizzling needs the destination surface in VRAM, but the subsequent rendering operations making use of it are likely to not care. Fire the ring after validation to leave the memory manager more room for maneuvering.
rivers/dri/nouveau/nouveau_texture.c
|
6193c41bcd8c50d3f4fb38690061029866c37667 |
18-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.
rivers/dri/nouveau/nv10_state_fb.c
|
c944fb5ffe7cf16154d6395001f43a6c965cab1f |
18-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Implement texcoord generation.
rivers/dri/nouveau/nouveau_gldefs.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
|
1a812ab57a71d16e45ca44de7ae0570d2bd46674 |
18-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Implement texture matrices.
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_state_tex.c
|
d475eae50b15646efd83fa7f73ad7f2b40dd5206 |
11-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Some minor vertex submission fixes.
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
50be9bc6ce8582b3d3cd4fa47976cbeac28b8c26 |
13-Mar-2010 |
Xavier Chantry <chantry.xavier@gmail.com> |
dri/nouveau: only reallocate texture when needed nouveau reallocated the mipmap tree on every MIN_FILTER call to account for mipmap change. We only need to do this if the texture does not fit in the existing mipmap tree. This gives a big performance boost for a game like bzflag which changes MIN_FILTER all the time for its font rendering. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_texture.c
|
38bd7282f2c2d28681f1c242545727e4c36df113 |
18-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call _mesa_make_current() after getting initial buffers The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
rivers/dri/intel/intel_context.c
|
6de8e563ac4dad818fc2bfea23f557919ed36234 |
18-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call _mesa_make_current() after getting initial buffers The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
rivers/dri/intel/intel_context.c
|
a0d615fd978aaa2e8ca2d31cb574f5de3890e140 |
18-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Set the pipe context of the texture object. The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03. This fixes a NULL dereference in xdemos/texture_from_pixmap.
tate_tracker/st_manager.c
|
362c1bf75eb74de5b4655c481b74f79718ed4a34 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Replace mt->pitch with mt->region->pitch. The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_layout.c
|
30446f8a708a647401e58da11de2dc464e37823c |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Return false like other blit failure paths if out of aperture. The primary consumer of this (miptree relayout) already has this code for handling failure, and the other paths want to know if failure actually occurs and do something appropriate, which may not include memcpy.
rivers/dri/intel/intel_blit.c
|
e1e48ea15c1fe448f0b69e086b66c1123dc98bb7 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Respect src pitch in _mesa_copy_rect(). If a non-zero src_y was used, this would break piglit depth-level-clamp.
rivers/dri/intel/intel_regions.c
|
da011faf48155a5c02ebc1fe1fa20a4f54b8c657 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Rely on allocated region pitch for the miptree pitch. Bug #26966: 945 miptree pitch disagreement with libdrm.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
1a77f8af9bc9982d76a7f602712eb1a5c23ec14e |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Assert that the linear blits succeed. We don't have any fallback code here, and we want to avoid this path if failure would happen, so just assert.
rivers/dri/intel/intel_blit.c
|
0c51390e4b5e04b992e50fcbed751024e6c329de |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove level_offset now that it's unused. This is the last pitch-dependent part of miptree setup.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
32f143b4327521a058dc05f0ab9087a5696b9618 |
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove extra tiling setting after allocating a tiled region.
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
c479a20fced2f4162092e96491da3d310fed8648 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too.
rivers/dri/intel/intel_span.c
|
c11d582411a999ed40db4c02143dd380113e0ffd |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: plug in default for pipe_context::surface_copy() if needed This lets us avoid conditionals and duplicated code in several places.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_texture.c
|
ef92fe85de114cb50ca4b3070d0594aade54526c |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
|
1bfc314596256b039df59f751d59dac82e3ceba1 |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyPixels bugs/crashes when src region need clipping Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases.
tate_tracker/st_cb_drawpixels.c
|
c4922276831528ad2b25acf816ef3f3dfe3211b7 |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename params in prototype to match implementation
ain/image.h
|
59e743b8d393f2bdf023e3a5ad8fe848a7459ec9 |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
glapi: fix assorted warnings And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h
lapi/glapi_entrypoint.c
lapi/glapi_execmem.c
lapi/glapi_priv.h
|
3828910d0e51cd5fb7d4ebcde8bfc98a84b57b06 |
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused compute_coveragei() function
wrast/s_aatriangle.c
|
90fe8c39f18512d22cdf52cbaa3e86a94a831ee2 |
17-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
st/mesa: Fix build breakage. Nearly certain this is what was intended; it compiles, but I'm not sure this path is ever hit in my tests.
tate_tracker/st_cb_texture.c
|
f0f04cd12db156ec53b7ea46fae27199af121f90 |
17-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch '7.8' into master Conflicts: Makefile src/mesa/main/version.h
|
5782b2a968bb979b651e49bb5fc4162faa842050 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix readpixels from ReadBuffer != DrawBuffer. Fixes piglit fbo-readdrawpix.
rivers/dri/intel/intel_span.c
|
a589da14dee0c2a32e6e529f1a390b01a3ee4001 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix inversion for glCopyPixels to/from FBOs. fixes piglit fbo-copypix.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
800a4b202f8b23540dbb128e780ca8b7e90d1f46 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove more code for x8z24 visuals, since we only do s8z24.
rivers/dri/intel/intel_screen.c
|
25becb8a7a40741afd6df445e6f96433fcb91b36 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV." This reverts commit 8ef3b1834a896927bdd4f2aea552cdb732849da9. Fixes piglit glsl-vs-if.
rivers/dri/i965/brw_vs_emit.c
|
ba208604ea8bc069be583732a4c59a47e4a7b280 |
16-Mar-2010 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV." This reverts commit 46450c1f3f93bf4dc96696fc7e0f0eb808d9c08a. I was wrong about null reg behavior -- it reads undefined, not 0. And they're not kidding.
rivers/dri/i965/brw_wm_emit.c
|
7cbb7051f42c0220b35ce1e834853dac8706a69a |
13-Mar-2010 |
Eric Anholt <eric@anholt.net> |
meta: Fix up restoration of state if _mesa_map_pbo_source() fails.
rivers/common/meta.c
|
541c9c08e575ea93768c2e2cb889d9b236caf40f |
13-Mar-2010 |
Eric Anholt <eric@anholt.net> |
meta: Properly refcount our saved programs and texobjs. Found while debugging bug #24119.
rivers/common/meta.c
|
a29c7948d965ad274ae7ac98fe01f2f877b19d94 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT. Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)
rivers/dri/i965/brw_wm_glsl.c
|
42e0e8686688ff91e92fa4ac46c6dacb2d5f2140 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Unalias all GLSL source regs from the destination regs used. We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. (cherry picked from commit 6b194dab6b4d9f12cdd54c699b23c0d3420a49c2)
rivers/dri/i965/brw_wm_glsl.c
|
d24f59d0081074ae9c4532949e75147447c8a82a |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix nested loops in the VS. We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. (cherry picked from commit f6f547d87ea68f44c50a0b0231b7360ca94b2975)
rivers/dri/i965/brw_vs_emit.c
|
009392f50db7ae0f6ef1fcbff268d5b833852074 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up VP constbuf leak on program delete. (cherry picked from commit 7f6d2754d586545ab6c970acffdd897294879039)
rivers/dri/i965/brw_program.c
|
1254d3d315497636a2445533372dd3d1fa6f96dc |
08-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up the handling of point sprite coordinate replacement. The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. (cherry picked from commit bc632d04370566c1156cbd0345fe303834f0b910)
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
837f003eeb1ce56c2d8285e82ee86b5ffbb19442 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for the CMP opcode in the GLSL path. This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!. (cherry picked from commit 48dca99feb394febc3af44e14f23fb12a9cc9204)
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
7ee4db50b10ab2d8fdfc4781f26b84041cf568d7 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the response len of masked sampler messages for 8-wide dispatch. The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902). (cherry picked from commit f6d210c284751ac50a8d6358de7e75a1ff1e4ac7) (cherry picked from commit dc8c0359448cdae7b367552ba58783c04b199778)
rivers/dri/i965/brw_eu_emit.c
|
40c3861e1e98116c573027b054a6a05208c53b6a |
16-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Invalidate sampler view when texture object changes.
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
f0c32629276a0bf33eed5ba519e3536061e239ad |
16-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.8-rc1
ain/version.h
|
d320152b4786e72f0fe76ec5e8cf58b0eea91b13 |
15-Mar-2010 |
Matthew W. S. Bell <matthew@bells23.org.uk> |
Correct GL_EQUIV code in r67/7xx. From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
rivers/dri/r600/r700_state.c
|
e9c2c4a76466fc1ccfbf4d5de048414f7126b940 |
15-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix buffer object unmap to be called only once for dma buffers. If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
rivers/dri/radeon/radeon_dma.c
|
8f55a95178069d5e8b18647e6b675fc403d68073 |
15-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: change remaining util functions to use cso sampler views changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
8cdfd1219a2d13d252a8691ee6dddb0d773bdc77 |
16-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into gallium-sampler-view This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
|
9d3a873f425fde83628b547c4b4638f39d78c1b9 |
16-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
Merge remote branch 'origin/gallium-st-api'
|
346298c7658f2ec8b105e5e53101637af232724f |
13-Mar-2010 |
Marcin Baczyński <marbacz@gmail.com> |
Replace _mesa_strtod with _mesa_strtof. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
ain/imports.c
ain/imports.h
hader/lex.yy.c
hader/nvfragparse.c
hader/program_lexer.l
hader/slang/slang_compile.c
|
3949388ca34c4578455be6db65d140c8e8f2184a |
15-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Fix a call to st_get_stobj_sampler_view().
tate_tracker/st_cb_blit.c
|
6b60820fde8596966b1ffdb5d008e94773b2f321 |
15-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Pass in correct sampler view object to blitter.
tate_tracker/st_cb_texture.c
|
f2bc089d148253d7a411e94257633ce40ec1c6a9 |
15-Mar-2010 |
Michal Krol <michal@vmware.com> |
gallium: util_blit_pixels() takes source sampler view as argument.
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_texture.c
|
dbf20a1f0fa7965254aa8a0e2ea35a6b8576fd7d |
15-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Cache FBO texture's sampler view object.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_framebuffer.c
tate_tracker/st_texture.c
|
a66d0081044bfcbfbe72ecbc27692387e4716e5c |
15-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Update the comments in st_manager.c.
tate_tracker/st_manager.c
|
42910ebe7b9748c0ecb6a597bae3e7d43c7e170f |
15-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into gallium-sampler-view Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
|
631a1a9ac8b97dec172205e13e33ef51f28bb1c0 |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/common: mv __driUtilMessage to utils.c allows to link with xmlconfig without dri_util, and has nothing drm-specific.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/xmlconfig.c
rivers/dri/mach64/mach64_context.c
|
7a62c60ca960b3a5b27b598a0c2036f38933c8fb |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: add comment in case it's not clear
rivers/dri/swrast/swrast_priv.h
|
e557c2e14f1481abff75af912feb5dce79a65ab8 |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: drop mtypes.h from dri_sw
rivers/dri/common/dri_sw.h
|
e60693efda7826bf26ffb9993c6dfba3b8c8a812 |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: update copyright email
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
|
c1bde793598bcb5d5f8744c290a66ea6586eb29f |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: port to dri_sw (drawable)
rivers/dri/common/dri_sw.h
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_spantemp.h
|
cf8a1caa231b748d3ba7c776ab076ad3de99e963 |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: port to dri_sw (context)
rivers/dri/common/dri_sw.c
rivers/dri/common/dri_sw.h
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_spantemp.h
|
6e376485c10896229f7bfaf5b0cce9c8b67f61b1 |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri/swrast: port to dri_sw
rivers/dri/swrast/Makefile
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
|
06ebc46e65d7dea6f146db85150021814d2439bf |
14-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri: add dri_sw.c helper This is dri_util.c stripped from the drm-specific bits and will be used for both classic and gallium swrast_dri.so
rivers/dri/common/dri_sw.c
rivers/dri/common/dri_sw.h
|
41eab95b3bc29a4fe6fd08b7f1f80cef5bdc097f |
11-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: exec_malloc for dispatch stubs
Conscript
lapi/glapi_entrypoint.c
lapi/glapi_execmem.c
lapi/glapi_getproc.c
lapi/glapi_priv.h
ources.mak
|
8fd7ee1815dd5880f94f13d88225d7be6f549ae6 |
11-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: this one should be by THREAD
lapi/glapi_entrypoint.c
|
9a649c8eaa38b5f8f5a89c2571ed66a6f51daeba |
11-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: more organize code by arch It seems that x86-64 with tls will fail to compile or load due to a missining gl_dispatch_functions_start symbol. Not changing though, since this is how it used to be and cannot test.
lapi/glapi_priv.h
|
0ed0114de9f057e928124bada7289a4496a6d35f |
11-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: organize arch-specific code by arch (2)
lapi/glapi_entrypoint.c
|
6c8e5151f14bc642e3995a42ad0f90f407c04d5c |
11-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: organize arch-specific code by arch
lapi/glapi_entrypoint.c
|
4a30330b26b543dfa864a05a1e8072f764369a25 |
13-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Fix handling of FBO. FBOs are created by st_new_framebuffer and cannot be casted to st_framebuffer.
tate_tracker/st_manager.c
|
abc847c20da92e52f29da40c6dd014f5caf46d8b |
13-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add some debuging info for glCopyTex(Sub)Image
rivers/dri/radeon/radeon_tex_copy.c
|
18ecf41835059d4506402641833e7911d7de3ec4 |
13-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: blits for small dst pitch work just fine
rivers/dri/r300/r300_blit.c
|
aba40bd4345e36fb56817673369b275f0e9a9c43 |
13-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix gl format to mesa format mapping and add GL_BGRA formats
rivers/dri/radeon/radeon_pixel_read.c
|
1a8a230a61289392e8300901dfabd7911799cbc3 |
13-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix glCopyTex(Sub)Image Fallback to swrast for software renderbuffers
rivers/dri/radeon/radeon_tex_copy.c
|
47bfbd452c93e6a8db013fb90d9f42210cf24889 |
13-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into gallium-sampler-view Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
|
8c210c1b3b5e63eebae2b73814d2000520576ce7 |
13-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Validate the state in st_readpixels. The front renderbuffer of a framebuffer is usually added as needed when glReadBuffer(GL_FRONT) is called. When the call is followed by glReadPixels, we should validate the state before reading from the renderbuffer.
tate_tracker/st_cb_readpixels.c
|
63af29bfbe265318bcf5be69e420de361b900321 |
12-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
mesa: Fix memory leak in decompress-with-blit. (cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
tate_tracker/st_cb_texture.c
|
f91d8c6885c8944322991115b739cee3e2fdf6bd |
13-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Set revalidate in st_framebuffer_update_attachments. There are two conditions that a validation is required. One is when the the framebuffer becomes invalid. The other is when we request for textures that we did not request before.
tate_tracker/st_manager.c
|
ecfcb1466a36b6f4389a97abcc76908e68feb4fe |
13-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Revert "st/mesa: Always recalculate invalid index bounds." This reverts commit 50876ddaaff72a324ac45e255985e0f84e108594. Per ML discussion.
tate_tracker/st_draw.c
|
f1d6baee0b02aaac34f9476eee92469281336b26 |
13-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clarify the roles of emit_pixel_xy(), emit_delta_xy(), emit_wpos_xy().
rivers/dri/i965/brw_wm_emit.c
|
f4f2737e8767d3808d876c3f7e65ca9f48faf624 |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clarify that DELTAXY always occurs for both X and Y.
rivers/dri/i965/brw_wm_emit.c
|
46450c1f3f93bf4dc96696fc7e0f0eb808d9c08a |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV.
rivers/dri/i965/brw_wm_emit.c
|
8ef3b1834a896927bdd4f2aea552cdb732849da9 |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV.
rivers/dri/i965/brw_vs_emit.c
|
512d8ca2f34bcaa96e18daace4ae9f95e679471e |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up VS DP4 sequences to avoid dependency control. This is recommended by the B-Spec. I wasn't able to measure any difference in ETQW.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_optimize.c
rivers/dri/i965/brw_vs_emit.c
|
52cea5090ceb56105464d60b989c2c36ec9c4b16 |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: When doing a swizzled kill pixel, don't do redundant channel compares. This was obvious when looking at the compiled output of ETQW's shaders.
rivers/dri/i965/brw_wm_emit.c
|
ba541b0769768ffa09562938d3b49690669948b8 |
11-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the SEL instruction to implement MIN and MAX. Saves an instruction over doing conditional moves.
rivers/dri/i965/brw_wm_emit.c
|
b13e305ee1a2454265fd957a99640a2e49507bea |
12-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch '7.8'
|
d1ca1599f0319f5c99852ce24420aa592e806db0 |
12-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200/r300/r300: only enable accelerated pixel ops with kms fixes fdo bug 27043
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/radeon/radeon_state.c
|
4b598ce226fcefbefb0243c418cc759c0fb91d79 |
12-Mar-2010 |
Luc Verhaegen <libv@skynet.be> |
dri/r700: include shader/programopt.h instead of programopt.c. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/r600/r700_vertprog.c
|
fab1f07d6ad01463897ae792f4b33738afb07369 |
13-Jun-2008 |
Jeff Smith <whydoubt@yahoo.com> |
Grammar and spelling fixes Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/dri_util.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_reg.h
rivers/dri/r300/r300_reg.h
rivers/dri/radeon/radeon_state.c
rivers/x11/xmesa.h
rivers/x11/xmesaP.h
ain/dd.h
ain/texcompress_fxt1.c
ath/m_debug_util.h
ath/m_matrix.c
hader/prog_instruction.h
hader/program_parser.h
hader/slang/library/slang_common_builtin.gc
wrast/s_depth.c
bo/vbo_save_loopback.c
|
b8030c6561e019e079b5be2fe64ec804df4bfa03 |
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Associate a sampler view with an st texture object. Lazily create a sampler view when the texture is being bound for the first time.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_texture.h
|
c16d04bd2939154c0360f1ac51fe61a86e5dd9e5 |
09-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
gallium: fix BGRA vertex color swizzles The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com>
tate_tracker/st_draw.c
|
50876ddaaff72a324ac45e255985e0f84e108594 |
12-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
st/mesa: Always recalculate invalid index bounds. These should always be sanitized before heading towards the pipe driver, and if the calling function explicitly marked them as invalid, we need to regenerate them. Allows r300g to properly pass a bit more of Wine's d3d9 testing without dropping stuff on the floor.
tate_tracker/st_draw.c
|
a48e17ccb065194d11fbe87f77af660bb7fadae9 |
12-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
st/mesa: Update debug infos. Still commented out, of course.
tate_tracker/st_draw.c
|
915b3529b9794c0d41f37b33365eeeb9b2152e9d |
12-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/gallium-context-transfers-2'
|
39c2d3ecd9432262bb157da3bb6103f84a4375e5 |
12-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Fix memory leaks from early return.
rivers/dri/radeon/radeon_mipmap_tree.c
|
543a29f1a16cc46c6d019d2cf2bd13a96b5a3f2f |
12-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Check the format before adding depth/stencil buffers. The format might have depth bits, stencil bits, or both. Add the renderbuffers as needed.
tate_tracker/st_manager.c
|
de8a879f5c77dbf5c31251e07b2f1b8d2635716c |
07-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Implement st_api.h. There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
Conscript
ources.mak
tate_tracker/st_atom.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_manager.c
tate_tracker/st_manager.h
|
5d5c524cbe534a868fff8f6d6f64bcb89066e32c |
11-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/
tate_tracker/st_framebuffer.c
|
c472ce5302a590b45d8affe00c1fcce04f8b8585 |
11-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix st_set_framebuffer_surface() state validation Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs.
tate_tracker/st_framebuffer.c
|
644a05c6cb3ebabc600f6d529b54c71fd2c0c84c |
11-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: support additional blit formats swizzle in the pixel shader
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_reg.h
|
ed1c69710c5046a80a86a9e8b51a1cb15b1b92eb |
11-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: don't enable extensions which aren't actually supported don't enable APPLE_client_storage, TDFX_texture_compression_FXT1, EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 - the latter two might work somewhat with some luck. Also don't enable ARB_imaging.
tate_tracker/st_extensions.c
|
d35ecca5ee231c072687578642e0c22c6c0590b1 |
11-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove pipe_context member from pipe_transfer There was very little use for this beyond permitting the pipe_context::tex_transfer_destroy() function to omit the pipe_context argument. This change adds the pipe_context argument into tex_transfer_destroy() so that it looks like other pipe_context functions, and removes the pipe_context pointer from pipe_transfer.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
bff128ff9c6f12bb49228e5f90903e7a18ce5fac |
11-Mar-2010 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: added (float) casts and regenerate files
hader/lex.yy.c
hader/program_lexer.l
|
021cdd698bb57ae9b12b84582302a8d7f656db0c |
11-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Validate the state in st_DrawTex. Without the validation, the function might draw with outdated textures.
s/state_tracker/st_cb_drawtex.c
|
9f5de23d0a73454b00236743d24326ec7b0d96f9 |
11-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Fix GL_OES_draw_texture support. st_DrawTex calls util_draw_vertex_buffer. Since ac4abaecd5f52e416c89bfe19b34ed7f4e014b21, the caller is expected to set vertex elements before calling.
s/state_tracker/st_cb_drawtex.c
|
b43c182f19c6291c88420fa12714f952c2b461fb |
11-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Squashed commit of gallium-context-transfers: commit 7a2ee04629681e59ea147b440856c4f9a33ae9f8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 14:19:17 2010 +0000 nv: convert to context transfers commit 188a3f5331c8e5966729fd59d02975afb7324adc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 14:11:10 2010 +0000 nouveau: remove unused variable commit 5c8e880ab4dc020358c08728b8adb1637d2dc5bc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:31:21 2010 +0000 mesa/st: fix compilation after merge commit c552595333f860c2a4807e195596acdf5d6a5ef8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:31:06 2010 +0000 util: fix compilation after merge commit e80836878a3617b0e350d2a8f92311832a1476cb Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:30:47 2010 +0000 r300g: fix compilation after merge commit 0e4883e9511b9db4e75a4dbc78d7bb970badc15d Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:18:45 2010 +0000 i965g: fix incorrect merge commit 17d74133d8168eebf93bf1390de79930fc8da231 Merge: cb81c79 aa311ae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:08:32 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/gallium/drivers/i965/brw_screen_texture.c src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/egl/x11/native_ximage.c commit cb81c79098bc3a92a4d2a3dcc0edc972dfb407be Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:04:01 2010 +0000 egl/x11: hack for context transfers There is a better approach to this in the winsys-handle branch, but for now avoid using transfers at all by always allocating our own backing store directly. commit f44a24e1d4ad7563f3eedd6b3a5688f53a36265c Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:03:16 2010 +0000 llvmpipe: context transfers commit 4d7475ef8104b3b478c7c6ce77cd3506c57e25d1 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:02:50 2010 +0000 llvmpipe: disable testprogs build Not working. commit a9bf98c4d36bd92a76f81e83747eb9b8f0a0515f Merge: ee0f97e 0c616da Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 15:28:25 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_bitmap.c commit ee0f97e8d9fd5ef57211a8e1268f505c9829e246 Merge: a7f078e 828f545 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 19 13:00:29 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/gallium/auxiliary/util/u_debug.h src/gallium/drivers/i915/i915_context.h src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/nv30/nv30_screen.h src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_screen.h src/gallium/drivers/nv50/nv50_context.h src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/r300/r300_winsys.h src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/trace/tr_context.c src/gallium/state_trackers/dri/dri_context.c src/gallium/state_trackers/egl/common/egl_g3d.c src/gallium/state_trackers/python/st_device.c src/gallium/winsys/drm/radeon/core/radeon_drm.c commit a7f078e16d851b53ef316066dcced46eb39ebe24 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 5 14:16:11 2010 +0000 gallium: move texture transfers to pipe_context commit 7b2ffc2019d72e833afea7eebf3e80121187375d Merge: 51e190e c036d13 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 5 09:55:02 2010 +0000 Merge commit 'origin/master' into gallium-screen-context Conflicts: src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c This branch has got a pretty tortured history now, I expect a squash merge will be appropriate when it is done. commit 51e190e95acf120f72768fafb29e9721e358df1b Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:58:02 2010 +0000 gallium: fix some build issues commit f524bdaa723fb181637ad30c6ad708aeedabe25b Merge: f906212 3aba0a2 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:51:32 2010 +0000 Merge commit 'origin/master' into gallium-screen-context commit f9062126883199eabf045714c717cd35f4b7b313 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:17:12 2010 +0000 gallium/docs: small description of screen::create_context commit efcb37bd3d5ed37f06c6105bd2d750b374ec0927 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:42 2010 +0000 drm/radeon: more dead create_context wrapper removal commit 6badc0dd9e06cf2ec936940bcf12b9ef5324b301 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:30 2010 +0000 drm/i965: more dead create_context wrapper removal commit cf04ebd5a54b18b2d894cfdab2b0f2fd55626ffc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:05 2010 +0000 st/python: more dead create_context wrapper removal commit 444f114c3516abf71c430e6e9d0d2ae3b80679d3 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:37:58 2010 +0000 idenity: wrapped context creation commit 5a6d09cb9e468d1ee6c8d54b887618819d8d94f2 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:28:47 2010 +0000 ws/gdi: remove dead context_create wrapper commit 132b55f4bec39386ac625f09aaa11f609664024c Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:27:52 2010 +0000 ws/gdi: remove dead context_create wrapper commit 56d2d21a0cdcb197a364049d354c2f15a4fc026a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:25:38 2010 +0000 st/xorg: use screen::context_create commit 838c5cfe56b2af6c644909bed3c5e7cdd64c336a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:23:20 2010 +0000 glx/xlib: simplify creation of trace-wrapped contexts Trace screen knows how to properly wrap context creation in the wrapped screen, so nothing special to do here. commit c99404c03ebaec4175f08a2f363e43c9085f2635 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:18:24 2010 +0000 st/python: no need to special case context creation for trace commit 193a527a682b6877bb1faecd8092df4dfd055a18 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:15:30 2010 +0000 drm/radeon: remove dead create_context declaration commit bb984eecc25cf23bc77e1c818b81165ba1a07c9a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:14:58 2010 +0000 nv/drm: remove dead create_context ref commit e809313a44287dc4e16c28e9e74ef3b2b5271aa1 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:12:51 2010 +0000 st/egl: remove a layer of wrappers around screen::create_context commit 39caa6672a04122f185c22e17aab86d1c40938bf Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:05:28 2010 +0000 r300g: fill in screen::context_create commit 407f12556d16ba0656774d8a1d9ebda22f82f473 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:04:04 2010 +0000 cell: adapt for screen::create_context, untested commit d02b0c6ce321a04c76fdabb09e0e4380ce1c1376 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:50:24 2010 +0000 drm/nv: adapt for screen::create_context All contexts now created directly through the screen, so remove equivalent code here. Remove apparently un-needed array of contexts in the winsys. commit 53eec5b1349aa1b6892a75a7bff7e7530957aeae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:50:08 2010 +0000 stw: adapt for screen::create_context, untested commit c6a64de3eb381bc9a88e9fbdecbf87d77925aaf5 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:49:20 2010 +0000 trace: expose the wrapped context's priv data If we are going to keep this priv idea, really want an accessor function for it so that trace and other drivers can wrap that. commit 75d6104e11d86ec2b0749627ed58e35f856ee6eb Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:47:55 2010 +0000 nv30: adapt to screen::context_create commit 12f5deb6ed9723e9b5d34577052b8365813ca14e Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:44:47 2010 +0000 nv40: adapt to screen::context_create commit 14baccaa3b6bbb3b91056126f6521828e786dc62 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:35:27 2010 +0000 nv50: adapt to screen::create_context Not build tested. Need to figure out how to build nouveau. commit a0e94505ccd2d7f3e604465a2ac302f1286b73b6 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:22:27 2010 +0000 llvmpipe: update for screen::create_context, untested commit 0eae17107c950346030e4f7e0ec232f868d3893d Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:16:57 2010 +0000 xlib/llvmpipe: remove dead winsys context creation path commit 2f69f9ffaa7e2a01d2483277246ed13051ae4ca3 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 14:58:27 2010 +0000 gallium: convert most code to use screen::create_context I wish I could build all of gallium at once to find breakages. commit d7b57f4061b82322cbcae176125913d9f0dea6c1 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 12:46:21 2010 +0000 glx: permit building with older protocol headers I'd like to be able to build mesa on current distro releases without having to upgrade from the standard dri2proto and glproto headers. With this change I'm able to build on ancient releases such as Ubuntu 9-10... In general, it would be nice to be able to build-test mesa to check for unintended breakages without having to follow the external dependencies of every group working on the codebase. commit 57adedd6fb06c98572ed8d4aef19203df4c4eea2 Merge: da71847 e1906ae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 11:38:15 2010 +0000 Merge commit 'origin/master' into gallium-screen-context Conflicts: src/gallium/drivers/softpipe/sp_video_context.h src/gallium/drivers/trace/tr_context.c src/gallium/state_trackers/wgl/shared/stw_context.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c commit da71847ea6414d7e352c6094f8963bb4eda344dc Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:57:39 2009 +0100 wgl: Use pipe_screen::context_create. commit 2595a188f93fd903600ef5d8517737ee0592035d Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:56:47 2009 +0100 trace: Implement pipe_screen::context_create. commit f3640e4ae37a5260cbfba999d079f827de0a313a Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:56:17 2009 +0100 softpipe: Implement pipe_screen::context_create. commit 347266bddc8bd39c711bacb2193793759d0f3696 Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:55:31 2009 +0100 gallium: New pipe_screen::context_create callback.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_inlines.h
tate_tracker/st_texture.c
|
a0ae2ca033ec2024da1e01d1c11c0437837c031b |
06-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
st/dri: move extension initilization to st/mesa completely Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri.
tate_tracker/st_extensions.c
|
fc1dd5ce1de8b9c0a02b9fb08aaeac0c38372e65 |
11-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge remote branch 'origin/7.8'
|
40adcd611fe6939895c83e6ae945348437b3e7ad |
06-Mar-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: always advertise texture_rectangle
tate_tracker/st_extensions.c
|
878eef8c40046f77cf1527fef06f1ea95bd1629a |
10-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Just reemit the BO state on pushbuf flush. Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv04_context.c
|
56ff30a9f97a1a7094432333906544d6138d6bf2 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Use the PLN instruction when possible in interpolation. Saves an instruction in PINTERP, LINTERP, and PIXEL_W from brw_wm_glsl.c For non-GLSL it isn't used yet because the deltas have to be laid out differently.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
dc8c0359448cdae7b367552ba58783c04b199778 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the execution size before relying on it. Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7
rivers/dri/i965/brw_eu_emit.c
|
60121c41ce9ee50ff8d8476d4eb04867adf9b8c5 |
10-Mar-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
windows: fix compilation errors and warnings
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
wrast/s_span.c
|
3198cd4a65b135005515c6dd35d006330ce31c94 |
10-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fallback to sw ReadPixels if color logicop is enabled Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
rivers/dri/radeon/radeon_pixel_read.c
|
addedd091e81907837b3aa0680b242b8fdbde7ef |
10-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable depth test only if depth buffer is available Fixes #23532 and piglit/fbo-nodepth-test piglit/fbo-nostencil-test
rivers/dri/r300/r300_state.c
|
a68e8a4eaadfe2a1e4999d5e378c7d9fa99dc656 |
10-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix glCopyTex(Sub)Image if user FBO is bound Fixes piglit/fbo-blit and wine d3d9 unit test.
rivers/dri/radeon/radeon_tex_copy.c
|
48dca99feb394febc3af44e14f23fb12a9cc9204 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for the CMP opcode in the GLSL path. This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
f77c1cd7df805f097958a5b83d235f8a8ad693b1 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Print the opcode name for unrecognized opcodes in the GLSL path.
rivers/dri/i965/brw_wm_glsl.c
|
f6d210c284751ac50a8d6358de7e75a1ff1e4ac7 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the response len of masked sampler messages for 8-wide dispatch. The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902).
rivers/dri/i965/brw_eu_emit.c
|
c8ef7a09664d29dac682b953eb66efaebbdd6fd7 |
10-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Print the offset for IFF in disasm
rivers/dri/i965/brw_disasm.c
|
7a2e32d68494b82813ea6a07bb62d1c21202cad1 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: raise an error when trying to bind non-existant texture to FBO If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian?
ain/fbobject.c
|
b318039e9a790d9d90bd524c79af2d9a444d0093 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new function comments
ain/framebuffer.c
|
06c44e852f4b38db03772adec769854b2f3096f6 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: set strb->format field in st_render_texture() This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now.
tate_tracker/st_cb_fbo.c
|
9543b0a1eaf936dd75f2167c4cfcbdf1a0cda568 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: add some comments in glReadPixels code
tate_tracker/st_cb_readpixels.c
|
a2fe774e0985358a125c5c2e7b89a6b0bc0914d1 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: consolidate duplicated texture allocation code
tate_tracker/st_cb_drawpixels.c
|
f60524938e76befd9b14e9ec6506aefece94f995 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
b60aa251e4fb4dd32db3fe167e078bf0092cb726 |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glCopyPixels between window/FBO There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)
tate_tracker/st_cb_drawpixels.c
|
c78ac7fcfa37a78b835fc596441a9fbe1e679e4a |
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glDrawPixels into FBO We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
tate_tracker/st_cb_drawpixels.c
|
a56da1005d30da60701e33b75d5f4f37096df060 |
10-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch '7.8'
|
a840bf4146b7e06cc94eb59d8265fe6593b232c4 |
10-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: add additional blit formats
rivers/dri/r200/r200_blit.c
|
cc1464cce9613c7f48b630bddf5a6b9fa0d082da |
10-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100: add additional blit formats
rivers/dri/radeon/radeon_blit.c
|
e167403e5809c447870644bd9ea09fad369706cf |
10-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_pixel.h
rivers/dri/r200/r200_state.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_state.c
|
7cd8f0ef9d905080dc857c4739be9780b24a7fd2 |
09-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: fix bug with tls and relocs add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template.
lapi/glapi_getproc.c
|
bae31355150f66f7130d76a2ab4d4b735f239c71 |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: these two should be ok for add_dispatch ... - a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ?
lapi/glapi_getproc.c
|
0d1dde5b010feba1afe5b51cc6fe66c85371f70b |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: comments for _glapi_add_dispatch
lapi/glapi_getproc.c
|
c4b630efdb882f824e9099b9cb2e07d8db2e3549 |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: minor cosmetic for _glapi_add_dispatch
lapi/glapi_getproc.c
|
3833a76eef6b45b82c102a49055602632f960a99 |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: add function set_entry_info
lapi/glapi_getproc.c
|
cae4fdda8d27cac21714571adb0bfada6d96152a |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: parameter checking, failure paths, ... for add_function_name
lapi/glapi_getproc.c
|
ddabf0a151c2ef318e5de45238556c6568540681 |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: cosmetic for _glapi_add_dispatch - static vs. extension - indent - s/new_offset/static_offset/ - ...
lapi/glapi_getproc.c
|
f9cc6b3ee7c95130992d67c080ff9bc8e8a6d789 |
08-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: use get_extension_proc in _glapi_add_dispatch
lapi/glapi_getproc.c
|
f0c18da2cf01bc11dc720caed4590ae7eca128f1 |
06-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: cosmetic for functions for static table make similar to functions for extensions table
lapi/glapi_getproc.c
|
5b2340c493cdf8d776e717b00acf0a8002858976 |
07-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: add function to find extension by name
lapi/glapi_getproc.c
|
58985c36be85c668d059165d8282f8c8e4c7a380 |
06-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: functions for extensions table similar to static table
lapi/glapi_getproc.c
|
3ce4375912c8ea488460e593e07c5bb15b92dca9 |
10-Mar-2010 |
Michal Krol <michal@vmware.com> |
Merge branch 'master' into gallium-sampler-view Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_context.h src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/nv50/nv50_context.h src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nv50/nv50_tex.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/softpipe/sp_context.h src/gallium/drivers/svga/svga_context.h src/gallium/drivers/svga/svga_pipe_sampler.c
|
e4848d21e8f384f4157076d5e7c7c9d38da6598e |
10-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Do not mix winsys-drawable-handle and context-private. update_buffer should be called with context-private, not winsys-drawable-handle.
tate_tracker/st_cb_flush.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
3e38dbe3d3371f0a37dd35582301ae2b1507e5d2 |
10-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
gallium: plumb winsys-drawable-handle through to state tracker The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering.
tate_tracker/st_context.c
tate_tracker/st_public.h
|
a81836ee2fe5092d695b717addf8cec91f569777 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT. Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173.
rivers/dri/i965/brw_wm_glsl.c
|
6b194dab6b4d9f12cdd54c699b23c0d3420a49c2 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Unalias all GLSL source regs from the destination regs used. We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop.
rivers/dri/i965/brw_wm_glsl.c
|
280abdacf900d591ef909cf697f0c5679389c3f6 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Print the offsets for WHILE and BREAK in disasm.
rivers/dri/i965/brw_disasm.c
|
f6f547d87ea68f44c50a0b0231b7360ca94b2975 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix nested loops in the VS. We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested.
rivers/dri/i965/brw_vs_emit.c
|
7f6d2754d586545ab6c970acffdd897294879039 |
09-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up VP constbuf leak on program delete.
rivers/dri/i965/brw_program.c
|
eeaf1e0519912b2ca3a8bce56c35548f9e0b73ca |
09-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't crash if there's no colorbuffer
rivers/dri/r300/r300_state.c
|
b70dcabafce0c1a8a9fbbd84ff196e46b0782ca7 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: mark framebuffer as incomplete if renderbuffer format isn't supported by hw
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
fd05067c9912e7ee83058a48d6e4c2cd7f262665 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add support for more rendering formats
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
a17563c7ddfa58fe7f09d22a62a10f3488ef3147 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r200/r300/r600: add is_format_renderable function
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
67108b5d12e0526ebedcdf2dbeeadfdbd0782161 |
09-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable HW accelerated gl(Read/Copy/Draw)Pixels
rivers/dri/r300/r300_state.c
|
ac2b7835d5e61629f0a1f8b6c35eb1efa2ffbfa2 |
09-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add hw accelerated glReadPixel support (not enabled yet)
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_pixel_read.c
rivers/dri/r600/Makefile
rivers/dri/r600/radeon_pixel_read.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_pixel_read.c
|
3355ae1925dc3c868ec196d09c3a6121ed77849a |
09-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
glapi: Fix scons build -- list new file.
Conscript
|
20ed2445b3b98f2b49a26ad4b45859a908583311 |
09-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: allow for any mangle prefix
lapi/glapi_getproc.c
|
54ba95a4de749de1da73b3917aac99eb1d57d7fa |
09-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: split out arch-specific code for entrypoints
lapi/glapi_entrypoint.c
lapi/glapi_getproc.c
lapi/glapi_priv.h
ources.mak
|
2c8b5ffed9a787e896b540a95be48ef401d5f007 |
09-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: mv table functions to glapi_getproc.c and add local header
lapi/glapi.c
lapi/glapi.h
lapi/glapi_getproc.c
lapi/glapi_priv.h
|
fe14868d96d4820dba73c3a507d191b8a73c6870 |
09-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drop stray XFree86Server, XGLServer
lapi/glapi_getproc.c
|
a673dee4553b6f1649d4cc31f7f7849058411c49 |
09-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa/st: initialize velements state properly one variable is a bitfield where the rest is never written to, which caused valgrind to complain. Might have caused cso to not recognize an already stored state. Reported by Christoph Bumiller.
tate_tracker/st_draw.c
|
685340a53e1dcb2a888e634ee71ba24356befe69 |
09-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-vertexelementcso' Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
|
ae7b7bf1edcf6c492b4dcc162bca28a0090f601e |
09-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interface somehow those got lost...
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
dd8f5c33f3a54212a0d7d072cd75b321f5abcda8 |
10-Feb-2010 |
Corbin Simpson <mostawesomed...@gmail.com> |
mesa/st: Gallium quads, by spec, never change provoking vertex. Fixes glean/clipFlat for r300g.
tate_tracker/st_extensions.c
|
ffd625d4aaf145eb28fc76617e95ffc3fdfd54cc |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: don't attempt to use alternate blit formats for depth buffers noticed by fredrikh on IRC.
rivers/dri/radeon/radeon_tex_copy.c
|
bc632d04370566c1156cbd0345fe303834f0b910 |
08-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up the handling of point sprite coordinate replacement. The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245.
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
e5923a1240d8b32f5af080b0b4191d3b9299a630 |
08-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
80dc54e308dfb1fad344272978ff14646995e00a |
08-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932.
tate_tracker/st_cb_fbo.c
|
df9bf78f888702542a506f551204a2e7dc8b7df1 |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: enable GL_ARB_pixel_buffer_object
rivers/dri/r600/r600_context.c
|
fe25bee14f4df3ef87cc7fee67e610da9afc5eda |
08-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add additional missing z formats for render to texture Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
ain/texrender.c
|
9458c2061ba5d8857217d9a7504b42ea17022897 |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
d7ad1b8b0788536f6fcd261fbe0db7a10b84ac0a |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: reset bos when validating buffers during blit
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
c65235f97efe30eb9444f7c8f20cb8f0cc529d19 |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: recalculate point size, if point min/max size changes
rivers/dri/r600/r700_state.c
|
d18b3023653e709051a56f5806988f24724972e7 |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: no need to flush on context init
rivers/dri/r600/r700_state.c
|
b3b6bd5da1241086bda75431ddde6002e9353268 |
14-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't enable EXT_packed_depth_stencil R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
rivers/dri/r300/r300_context.c
|
29e02c7e720a18b59317c4ad97d8ffc149228c69 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: no need to emit full state twice after flush
rivers/dri/radeon/radeon_common.c
|
4572ae1925e63227b2785fec446862d398ad0005 |
04-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: allow src and dst BOs to be placed in GTT during blit Fixes some relocation failures
rivers/dri/r300/r300_blit.c
|
62b3321d7d9774ed235bc3d328b6a0f5da153dcf |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: reset bos when validating buffers during blit
rivers/dri/r300/r300_blit.c
|
8ccd83ab921380953a0e5cebd941444f85c23ed1 |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fallback to software in glCopyTexImage if blit isn't available
rivers/dri/radeon/radeon_tex_copy.c
|
2872c1cc328008dea166319f3023a3f568247bcf |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: VAP flush is needed only when vertex program or constants are changed
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
77ed4d1f5d2f73ec02478eb931296813c25b520c |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: recalculate point size, if point min/max size changes Fixes two wine d3d9 unit tests
rivers/dri/r300/r300_state.c
|
44d92d4bbe7d4e90f9d7bb97af2fd74cbda3b2ee |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: no need to flush on context init
rivers/dri/r300/r300_state.c
|
b1ab15c633b9307cf6e17b794949f9c7f4dc4226 |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary code _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
rivers/dri/r300/r300_state.c
|
26aa870a0d80f8b93239a98c558402c3c9ce6445 |
08-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add render-to-texture case for MESA_FORMAT_S8_Z24
ain/texrender.c
|
614f490ca918f891cd70674ea7841d5b2a97e9ef |
08-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer MESA_FORMAT_Z16 has no stencil bits.
ain/texrender.c
|
39ab5ae30c303dd561252cb592d4de35814b6a70 |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
7959274858fe66a90e6f97fed81141c39cb6702b |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: reset bos when validating buffers during blit
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
cbe28cb892e3b451d2d2cf6769ef7ef131f1853b |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: recalculate point size, if point min/max size changes
rivers/dri/r600/r700_state.c
|
97d40edb07aa6c67d21eb831898ac5387c18fdbc |
08-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: no need to flush on context init
rivers/dri/r600/r700_state.c
|
ea027bda8e4a7cdd8f131e01ab4ff80d6c6a3ab7 |
07-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Split big client buffers in the indexed case too.
rivers/dri/nouveau/nouveau_vbo_t.c
|
75f52d1e5210944d7e92787c637285fd83533053 |
07-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix nv[12]x color sum.
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_state_tnl.c
|
6a15edfed326a06f08ac63020dc9472e45d8a9e1 |
07-Mar-2010 |
Andrew Randrianasulu <randrik@mail.ru> |
dri/nv04: GL_EXT_secondary_color Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv04_state_raster.c
|
e64680bc1e36699096af5ade876b6cb0f5791ad0 |
02-Mar-2010 |
Andrew Randrianasulu <randrik@mail.ru> |
dri/nouveau: Trivially add GL_NV_blend_square Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_context.c
|
5befb6f810fb88ed1e51ec26b79b647cd15b1433 |
07-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Check _ColorDrawBuffers[0] before emitting fb state.
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv20_state_fb.c
|
ba196a8318af6217fece3777ea038539fea4b415 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: handle compressed sRGB texture formats
rivers/dri/radeon/radeon_texture.c
|
ccbe3f0314c8278c55e1046a619969ae539564de |
17-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: move glGetTexImage handlers to seperate file
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_tex_getimage.c
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_tex_getimage.c
rivers/dri/r600/Makefile
rivers/dri/r600/radeon_tex_getimage.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_tex_getimage.c
rivers/dri/radeon/radeon_texture.c
|
2b801066a1fcd8a83a367f70736d6adf2043f979 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: Some possible improvements that I spoted in radeon_tiled_texture branch.
rivers/dri/radeon/radeon_mipmap_tree.c
|
d0ca5c3100dfe7ee634e3b455002e11e88822ea7 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: properly calculate rowstride for tiled images
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_tile.c
|
0d3835475fcb803a295dc738d90b83788bdc9472 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: minor refactoring of mipmap code
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
|
b078a613bedb76242af177bee12520203bd63d50 |
09-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add texture helper function
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
|
8014b5f06853a5926ee772af232abdc9cd4e90c4 |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add some debugging info to sw tiling/untiling functions
rivers/dri/radeon/radeon_tile.c
|
5fefca5dbae9a5b00a3d624da0b5e582c00ad280 |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add software untiling functions
rivers/dri/radeon/radeon_tile.c
rivers/dri/radeon/radeon_tile.h
|
65faa27aa639e7352708a30105db3318f22f5f93 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add tile size getter
rivers/dri/radeon/radeon_tile.c
rivers/dri/radeon/radeon_tile.h
|
88a99bb305186fd0eaaae9bd0dbfa4c45f14cac7 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: added tiling functions
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_tile.c
rivers/dri/r300/radeon_tile.h
rivers/dri/r600/Makefile
rivers/dri/r600/radeon_tile.c
rivers/dri/r600/radeon_tile.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_tile.c
rivers/dri/radeon/radeon_tile.h
|
9c0c6c26decfa533ad3fe39f83e7530d4cfc8c2f |
14-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't enable EXT_packed_depth_stencil R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
rivers/dri/r300/r300_context.c
|
78eb4a2ea569a7bd624bbf83ece5c9acef82a8de |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: no need to emit full state twice after flush
rivers/dri/radeon/radeon_common.c
|
ea3494b98cc764ead7e96746c0247ebc3a68e629 |
04-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: allow src and dst BOs to be placed in GTT during blit Fixes some relocation failures
rivers/dri/r300/r300_blit.c
|
c0a0a1933d4c2a7d32284b5e7170e79ac6157043 |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: reset bos when validating buffers during blit
rivers/dri/r300/r300_blit.c
|
9543f7f05f416ef6c1ac160e12e2d7ceed3b32ae |
06-Feb-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fallback to software in glCopyTexImage if blit isn't available
rivers/dri/radeon/radeon_tex_copy.c
|
042779dc85191e51db79090613b5cc4498474e23 |
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: VAP flush is needed only when vertex program or constants are changed
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
89ea4022371998467faf26c5e27ab987469b91ef |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: recalculate point size, if point min/max size changes Fixes two wine d3d9 unit tests
rivers/dri/r300/r300_state.c
|
e2d96b2bf805fef0bfb016be1895a49551e2faa7 |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: no need to flush on context init
rivers/dri/r300/r300_state.c
|
bbab68ae2db468cc72bf11b901d8e28ab86bd769 |
06-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary code _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
rivers/dri/r300/r300_state.c
|
419f0f9d0426bc1eb40ceb60e7764af4013947a0 |
06-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri: drop MINIGLX_SOURCES (2)
rivers/dri/i810/server/i810_dri.c
rivers/dri/i915/server/intel_dri.c
rivers/dri/i965/server/intel_dri.c
rivers/dri/intel/server/intel_dri.c
rivers/dri/mga/server/mga_dri.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/server/radeon_dri.c
rivers/dri/r300/server/radeon_dri.c
rivers/dri/r600/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/tdfx/server/tdfx_dri.c
rivers/dri/unichrome/server/via_dri.c
|
8953bfce0eb7e56f13d4527ef86cdf4cf2db037f |
06-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
dri: drop MINIGLX_SOURCES
rivers/dri/i810/Makefile
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/nouveau/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
rivers/dri/radeon/Makefile
rivers/dri/savage/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
|
6ce4a85e0b1d6581d73c1b1cbc37525d7a9ed1ba |
06-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.9 Now that the 7.8 branch has been created Mesa/master will be version 7.9
ain/version.h
|
77fc3ef9116fae6b8b53cda78d97c4ff1ec5c171 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Use the DrawBuffer's stencil size Previously the code was erroneously using the stencil size of the context instead of the stencil size of the DrawBuffer. With FBOs these may be different. As a result, clearing the stencil buffer of an FBO bound to a context that doesn't have stencil would fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/meta.c
|
66c0abba6ba89d326555389d9539894402303286 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove redundant test of the visual's accumulation buffer size If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_accum.c
|
ebbec7e4e44fccf496a9a663bdcc643efead6e95 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Adjust colors based on ReadBuffer visual, not context visual In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_readpix.c
|
c67af0628b1b020b36df7dc81e9ab125da06b3a9 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove stray comment that mentions ctx->Visual Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_linetemp.h
|
8c8e664f1086e702e1102ee7f5043c8c12c037bd |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Only use the effective subset of the WM sampler key. The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%.
rivers/dri/i965/brw_wm_sampler_state.c
|
a232cc59e3f8ac8462c23b1a83e0ba60b451e681 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove support for the DRI1 TFP extension.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_obj.h
|
20952f0378247f69849b6e37a7374bc9c94437a0 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove the paths for making a const surface object for a NULL BO.
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
9a38f76044761f9555bf84ebbc520c015ec88d78 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove the unused SDC BO pointer from the sampler state key. Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup.
rivers/dri/i965/brw_wm_sampler_state.c
|
879ea6f27972766c792fe78971a36c5c7b9f1884 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Rename SNB brw_*_key structs to gen6_*_key structs.
rivers/dri/i965/gen6_cc.c
|
5d18e86971bdcf0a4dff3cb62581d7ae54c5e67a |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Pack gen6 blend_state_key structure.
rivers/dri/i965/gen6_cc.c
|
855515859ec1d94737ea91167220ba7b568c144d |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Only do batchbuffer debug if --enable-debug is used. This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine.
rivers/dri/intel/intel_batchbuffer.h
|
7392002041f6c7ac6eb788d7b154f2b44eb6f403 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Replace batch macro contents with function calls. This manages to cut down another 3800 bytes.
rivers/dri/intel/intel_batchbuffer.h
|
342a7f23bf76e21b049cba9ab97bf4aa640a5bfd |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Move the assertions about reloc delta from the macros to the function. Cuts another 1800 bytes from the driver.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
8a9d8bd52af4414e59320c68238b8929edf3ff80 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Check that the batch is mapped per BEGIN, not each OUT. Shaves 800 bytes off the driver.
rivers/dri/intel/intel_batchbuffer.h
|
f6f5e8767926932dc276015ce84b74a0d01ade65 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Try to assign SNB SF inputs to outputs.
rivers/dri/i965/gen6_sf_state.c
|
3b9612645e537c3d293b09f27ef199a3eb52d840 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the SNB SF input size.
rivers/dri/i965/gen6_sf_state.c
|
24f90112761d108a4a131fad11bd7b426d8edfa0 |
06-Mar-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
Always return VOLATILE for ObjectPurgeable(VOLATILE) Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
ain/bufferobj.c
|
e9968ebfa40b4740601c1596950ebd3f168664b0 |
05-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor reformatting, new comments
ain/api_validate.c
|
e176ae5f2a90632c778c3ae7dcab587f119035b1 |
05-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace fixes, 80-column wrapping, etc.
ain/bufferobj.c
|
6ba31fb2dbe6a90e6d60a49b3e5bd2edce05241d |
05-Mar-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
Merge branch 'object-purgeable' Acked-by: Brian Paul <brianp@vmware.com>
|
755915fa5d9ea782d142b3f8755b62d6de28fe29 |
13-Jan-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
APPLE_object_purgeable: intel Implement support for purgeable objects by using the GEM madvise ioctl. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_extensions.c
|
99864d595f7d4c13e9548f83d5972db9af64e67b |
13-Nov-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
APPLE_object_purgeable: core Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
ain/api_exec.c
ain/bufferobj.c
ain/bufferobj.h
ain/dd.h
ain/dlist.c
ain/extensions.c
ain/mfeatures.h
ain/mtypes.h
|
3490923c817cd81d46a405de117e9ba8a8aeef3c |
25-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa/es: Update GLAPI and APISpec for GL_OES_EGL_image. This generates the entrypoints and dispatches for GL_OES_EGL_image. There is no real support yet.
s/glapi/es_EXT.xml
s/main/APIspec.xml
s/main/mfeatures_es1.h
s/main/mfeatures_es2.h
|
45df4bad9fc0379f05197bee10c03fd351f24094 |
05-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
Revert "mesa: Remove pointless comparison of unsigned integer with a negative constant." This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93. Removing the comparison is wrong. The comparison with -1 should be changed to another value (probably PROGRAM_UNDEFINED) along with another change in the shader assembler. Conflicts: src/mesa/shader/prog_execute.c
hader/prog_execute.c
|
bb35000b4b6dfe60048b2f5d60bc102c4a7fd791 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove non-kernel-exec-fencing support. Shaves 60k off the driver from removing the broken spans code. This means we now require 2.6.29, which seems fair given that it's a year old and we've removed support for non-KMS already in the last release of 2D.
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_depthtmp.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_spantmp.h
|
7cbc4c07ee85782d5da3e2db3c4e072ca498ff07 |
05-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove the unused s8 spans code. Not hit during no_rast piglit. Shaves 5.5k off of the driver.
rivers/dri/intel/intel_span.c
|
391b396f3fb300a912e6d9bfbf26f49cc30e52df |
05-Mar-2010 |
Michel Dänzer <daenzer@vmware.com> |
Fix comparison of unsigned value against < 0.
ain/api_validate.c
|
a42fd95f43929c1e2c7acf2a6e49c473e1a2a178 |
04-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Remove some CI remnants.
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv20_context.c
|
9c4937524e15dc685eb0c83cbdab8b637803fd78 |
04-Mar-2010 |
Andrew Randrianasulu <randrik@mail.ru> |
dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_context.c
|
44df3577a77818d6e87f1b728f0aa19698133981 |
02-Mar-2010 |
Andrew Randrianasulu <randrik@mail.ru> |
dri/nouveau: Enable GL_EXT_stencil_wrap. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_context.c
|
210bcf6d156aba5994f25f1bd9c50586ebc3bada |
02-Mar-2010 |
Andrew Randrianasulu <randrik@mail.ru> |
dri/nouveau: Add GL_EXT_stencil_wrap for nv04. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv04_state_raster.c
|
9c21c1e865ad3008eb6f4d6d4e4a48c2ed94472d |
04-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.
rivers/dri/nouveau/nouveau_fbo.c
|
80316cbefaa28454ab9d6da44ac93805608c3685 |
04-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.
rivers/dri/nouveau/nouveau_vbo_t.c
|
43c347c63ee10db95bd912fc39b1127fa35305a4 |
04-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Pack client arrays as they're copied to the real BO.
rivers/dri/nouveau/nouveau_vbo_t.c
|
894d0ab9388543642b6940f09358844736a8bd3a |
12-Nov-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
APPLE_object_purgeable: autogenerated files
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
e5c49e49cce6c14bc9e973dea4d69e0b7d36086d |
12-Nov-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
APPLE_object_purgeable: xml Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lapi/gen/APPLE_object_purgeable.xml
lapi/gen/Makefile
lapi/gen/gl_API.xml
|
8e7a8d65931a650534e0f5c4e0d8118cd6f7636e |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i915: Enable texture tiling by default. This now passes piglit testcases, and shows performance improvements on openarena. Blit-heavy apps may see degradation, but the expectation is that the common case of 3D rendering will see significant wins. This regresses gen-teximage on my 855, and no piglit tests on my 945.
rivers/dri/intel/intel_screen.c
|
41d3fdc380655b701fab2537bdc7e254b6155286 |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i915: Fix up i830 for tiled drawing offsets. Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_vtbl.c
|
c7f7a309af54c76eccb451aa0c4f007656ebe7e1 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
DRI: Put back missing break-statement The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
|
34b2cec95c9e7781f4d32deed9980f05ee553d1d |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
Revert "mesa: Fix unsigned comparison." This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
ain/api_validate.c
|
ac610ab830287029b2636522625f56ed09c3870b |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unsigned greater than or equal zero comparison.
hader/slang/slang_codegen.c
|
f9504e75f02586a8561733e0e2711c65efa2979d |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix unsigned comparison.
ain/api_validate.c
|
0dd40cc20af78146c1d1d3ad1df0652b7cedc078 |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unsigned greater than or equal zero comparison.
hader/slang/slang_codegen.c
|
3c90777fd7cce57486dc7d98e676ffe9dede55ae |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Return NULL on _slan_gen_asm error path on non-debug builds. Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on.
hader/slang/slang_codegen.c
|
df20c3943ab4e20055f8e731f112aa9fd8d66068 |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Add assert to check input to strcmp.
hader/slang/slang_builtin.c
|
df62b0da92f50b309d79d6552ecdf5a59910c80a |
04-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add asserts to check inputs to memcpy.
ain/mipmap.c
|
25e439e69f3f5e77062321f6e496391c090e889f |
04-Mar-2010 |
Dave Airlie <airlied@redhat.com> |
r300: make blit code work on swtcl machines. Only tested this on my rv530 with R300_NO_TCL=1, but it works there at least. It would be nice to fix the tex_offset by chaning the vertex program on tcl to read from offset 6 but this isn't really necessary. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r300/r300_blit.c
|
c27fed58e4979ec950fa4af56eb8b94b21705ac8 |
04-Mar-2010 |
Dave Airlie <airlied@redhat.com> |
r300_blit: initialise whole fp structure to 0 at least on the r500 we get a lockup unless I do this, the compiler seems to fail to compile and we just get a null fp. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r300/r300_blit.c
|
6d9a9e57dc312a2f9f09a6b826a2de93fab5ae26 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Fix unmatched parenthesis introduce by previous commits I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lapi/gen/gl_XML.py
lapi/glapitemp.h
ain/compiler.h
|
f7dde2c131d8ec04c00f0dd3d7747019ff72a237 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove support for GCC older than 3.3.0 from generated sources Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lapi/glapitemp.h
86-64/glapi_x86-64.S
|
6e8e4b918d1dac8a0c20e7a5d6f4665a1eaf174f |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove support for GCC older than 3.3.0 from generator scripts Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lapi/gen/glX_proto_send.py
lapi/gen/gl_XML.py
lapi/gen/gl_x86-64_asm.py
|
016fc30839f0fb67bb37d4a7353a7e38749deab5 |
04-Mar-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove support for GCC older than 3.3.0 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lapi/glapi.h
ain/compiler.h
ain/imports.h
86/assyntax.h
|
3594bf233d16ceb21e97fcdfb57ea45cb0c5e41b |
03-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r300/r600: add check_blit vtbl function Check if the native blit formats are supported, if not, attempt to use an alternate format. Skip 3, >4 bpp as per comments from mcencora on irc. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_blit.h
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_blit.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_tex_copy.c
|
0384214923216b4bb7340070d08fcda2cbb79a93 |
27-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove stray defines of HAVE_RGBA Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i810/i810tris.c
rivers/dri/i915/intel_tris.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mga/mgatris.c
rivers/dri/r128/r128_tris.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/unichrome/via_tris.c
|
889a0f34717e84778de33ab4e6c43d5627d5b4c9 |
27-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: Remove color-index support from t_dd_unfilled.h The code removal and the re-indent were done together for this one because the cause of the affected code blocks is much, much smaller than in t_dd_tritmp.h. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
nl_dd/t_dd_unfilled.h
|
e00b50c39ad13090c74877a421d10483c3c5bab1 |
27-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: White-space / indentation fixes after previous commit Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
nl_dd/t_dd_tritmp.h
|
78742f8e867d8819fca49cc6559ac5ef44fdd83f |
27-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/tnl_dd: Remove color-index support from t_dd_tritmp.h Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
nl_dd/t_dd_tritmp.h
|
06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused RasterIndex field With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/mtypes.h
ain/rastpos.c
|
5c52b4292ff1aa37f38b20f33ff1642e1c20f894 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Always return default value for CURRENT_RASTER_INDEX Since there is no color-index rendering, it is impossible to update this value. Just return the initial setting and be happy. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/get.c
ain/get_gen.py
|
24d311c13339978a37885e88a49a990903652339 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate index parameter to _mesa_feedback_vertex Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/drawpix.c
ain/feedback.c
ain/feedback.h
tate_tracker/st_cb_feedback.c
wrast/s_feedback.c
|
bb8c3b1bcc81fd5addc5e214f3efcfdca50c6806 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ClearIndex and IndexMask from device-driver interface These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/common/driverfuncs.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgastate.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/x11/xm_dd.c
ain/blend.c
ain/dd.h
|
5034e8ad42df60a7f61319ccd6c1a3dbf28e6699 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_logicop_ci_span After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_logic.c
wrast/s_logic.h
|
3d0f608e139336174121617f760398abca25eb31 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove _mesa_add_color_index_renderbuffers After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/renderbuffer.c
ain/renderbuffer.h
|
b9f63c277ac84f7b6598cb4e908033514d379171 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove checks of Visual.rgbMode in Get paths Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/get.c
ain/get_gen.py
|
22a96f305898b5d1aa26809c7156a01686eb9bf0 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove checks of Visual.rgbMode This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ain/clear.c
ain/context.c
ain/feedback.c
ain/framebuffer.c
ain/light.c
ain/rastpos.c
ain/readpix.c
ain/renderbuffer.c
|
fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for creating color-index visuals Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/beos/GLView.cpp
rivers/fbdev/glfbdev.c
rivers/glslcompiler/glslcompiler.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dglcontext.c
rivers/x11/xm_api.c
ain/context.c
ain/context.h
|
a9c1b3caf67f035df83c6a4e38709cfa395f4cc6 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
tnl: Remove color-index TNL support Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast_setup/ss_context.c
nl/t_context.c
nl/t_rasterpos.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
|
5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
DRI: Remove support for color-index visuals Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
|
e650c07f47ac6f49a4dfcb58290fd049092fb768 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast_setup: Remove more color-index rendering support Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
859c98c392c1fa71911edf983dc94a201f2bf0e6 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove color-index rendering support from s_spantemp.h Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_spantemp.h
|
81fe9949ef0293f7a6e076bd6e56f6a5340a1dc3 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/xlib: Remove support for color-index rendering Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
|
641705f0329c038079650089a664d76abfc5a937 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
osmesa: Remove support for color-index rendering Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/osmesa/osmesa.c
|
6f317253bf987f6e9788eb913a587d1373192f1c |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
fbdev: Remove support for color-index rendering Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/fbdev/glfbdev.c
|
718ff7e87bf9b86517e88270cc984e364ace9506 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
DRI/swrast: Remove color-index support from DRI swrast driver It appears that color-index rendering wasn't actually supported anyway. swrastFillInModes did not previously create an color-index configs, so it doesn't seem like there would be any way to get a color-index visual. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
|
dc14ce9e367984cece79748b177e142ca02fa06d |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove SPAN_INDEX Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_span.h
|
7ce12c9024f74bb26e45496a46b57708d8159d37 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_read_index_span After all the recent color-index rendering removal, _swrast_read_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_span.c
wrast/s_span.h
|
0ca57295785f3ab040890037e6a2645a70d2b2f2 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_mask_ci_span After all the recent color-index rendering removal, _swrast_mask_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_masking.c
wrast/s_masking.h
|
b00362e51b28b4ea43c5f42353182146bd5e802b |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_fog_ci_span and associated code After all the recent color-index rendering removal, _swrast_fog_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_fog.c
wrast/s_fog.h
|
c00282102aea387e8c0fb29811d0ea8f010f145a |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_write_index_span and associated code After all the recent color-index rendering removal, _swrast_write_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_span.c
wrast/s_span.h
|
2b7911d37dc1518b9047b02acdc6f8476abad70f |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove remaining color-index state tracking infrastructure Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_context.c
wrast/s_span.c
|
3fd8487ac65aeee8e3ed4dc6dc6468daf880da1a |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for ReadPixels from a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_readpix.c
|
9e2d30e0b8242d1e4afcf05513bd3d7e0de504a2 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for Clear into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_clear.c
|
e5ed4c45c675ebdd595ad0d31f2835f8b2b8dc57 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering antialiased lines into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_aaline.c
wrast/s_aalinetemp.h
|
87b9f5a7251b96bd315a72ae6fd972aa94e226e0 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering antialiased triangles into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_aatriangle.c
wrast/s_aatritemp.h
|
e6df80184b0c7e83eba382b3161ba11db497c55d |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering lines into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_lines.c
wrast/s_linetemp.h
|
dbe901ceb01e48ba7d79fd9245b9d339ef17c692 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering points into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_points.c
|
0ed9c4bc7affb7a6b9be5ff129815fccf8c3885d |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering triangles into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_triangle.c
wrast/s_tritemp.h
|
d05badba291ce4444b6aaabfd577bdbcf7929193 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for Bitmap into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_bitmap.c
|
ef0e02f93d5969e6659f5e41dd572c2db8e20044 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove _swrast_write_zoomed_index_span and associated code After removing support for CopyPixels and DrawPixels involving color-index buffers, _swrast_write_zoomed_index_span is no longer used. Removed it and all the support for COLOR_INDEX formats in zoom_span. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_zoom.c
wrast/s_zoom.h
|
e7e748cd04f5f014a1e4d8837ee7590d68115768 |
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for CopyPixels to / from a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_copypix.c
|
d82e1d7f95bf1fe2be9bc2ac5a2880401a8dc01c |
24-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for DrawPixels into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
wrast/s_drawpix.c
|
b87406e55f029d29594ae76a4b39a4fe1007fe4f |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i915: Use x,y drawing offsets instead of changing buffer offsets. This should fix rendering into mipmaps of tiled textures.
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
|
06d1472ffa0648efa9374fa227894fbf0b0be054 |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i915: Tell the kernel when we actually need fence registers on our BOs. This improves tiled texture performance of OA on my 945 from 25.3fps to 29.0fps, whereas untiled is 28.2fps, by avoiding stalls for fence register changes.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_screen.c
|
179d2c0e0bcf96fc40107882ccab909af8c89853 |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use drm_intel_bo_alloc_tiled for region allocs. This moves the logic for how to align pitches, heights, and sizes of objects to one central location. Fixes rendering with texture tiling on i915. Note that current libdrm is required for the change for I915_TILING_NONE pitch alignment.
rivers/dri/intel/intel_regions.c
|
07439cf61717a3bde82745aa2acc878d7fd0133f |
03-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i915: Don't do the pitch expansion for tiled buffers. The weirdness that led to the bumping of pitch for those 512/1024 pixels is that in taking a 2x2 subspan or bilinear filtering we'd end up hitting the same channel in 2 different pages, leading to lower performance. With tiling, that doesn't occur, so we don't need to waste the memory.
rivers/dri/intel/intel_mipmap_tree.c
|
55e90e46e0f4f3f8b5da334d84fefb65b9b3d45b |
02-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use GTT mapping in the blit fallback path in case there's tiling.
rivers/dri/intel/intel_blit.c
|
a3593833dc2c14948c41654ed015c91634a78af3 |
02-Mar-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up Sandybridge VS sizing.
rivers/dri/i965/brw_vs_emit.c
|
3b8ff24554253cf60bbbc8564c11008ff3866953 |
03-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: minor cosmetic
lapi/glthread.c
|
8bd8aec81d0310a3b790d425c41968003b454380 |
03-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: drop condvar Seems unused and replaced by functionality in os module.
lapi/glthread.h
|
bdbf199a8c5bef12186e022babbb03f5cd763db6 |
03-Mar-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add new rs880 pci id
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
af3f1bb26980537522a1586fef3fc3c208b44ebc |
02-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Set InternalFormat for renderbuffers created from an EGLImage
rivers/dri/intel/intel_fbo.c
|
daf85c460875c944d6918fdf4041467d97cba41e |
03-Mar-2010 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300/r600: fix blit BO buffer validation there is no need for these to be persistent since we flush the CS at the end of the blit, and we don't reuse these buffers at all. on my r600 the Wine DX9 test suite doesn't crash at least anymore. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_blit.c
rivers/dri/r300/r300_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
2998cad9ce0c2c60078a28e6a0f3f3bbda3a6535 |
02-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-format-cleanup'
|
8417528e3a5b9f2aed783222091ca96b56e8c37a |
02-Mar-2010 |
Brian Paul <brianp@vmware.com> |
intel: passs correct context type to intel_prepare_render() call
rivers/dri/intel/intel_context.c
|
cb099c2ecfe3cf8d8ff21c3031e3c2d43efd0e69 |
02-Mar-2010 |
Brian Paul <brianp@vmware.com> |
i965: include macros.h to get CLAMP macro
rivers/dri/i965/gen6_cc.c
|
4ca70c489baed3e23dbf5e5e5794385113e22252 |
02-Mar-2010 |
Michal Krol <michal@vmware.com> |
Merge branch 'gallium-no-rhw-position' Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
|
8462fe2bbf2aac87e6eabddc805b3d3ec63c6376 |
02-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Add assert to check input to strcmp.
hader/slang/slang_builtin.c
|
247008f6c2014c8f84de3a27ac954afe2c418a93 |
02-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add asserts to check inputs to memcpy.
ain/mipmap.c
|
8bf5c229f3fdf2f3a6ae44afe03d3e1bd7194d6a |
02-Mar-2010 |
Dave Airlie <airlied@redhat.com> |
r600: fix blender picking. This fixes the sw fallback for GL_SELECT picking modes. Fixes object picking blender + depthpick test http://bugs.freedesktop.org/show_bug.cgi?id=26419 Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r600/r700_render.c
|
d3f24ab33c284325abaf4b250f8928d4d53836e1 |
02-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: fix compile with ES
lapi/glapi.c
lapi/glapi_getproc.c
|
6e48f17a1620dda83e0fedd68a8f004ed1fbfea9 |
02-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
glapi: Fix syntax.
lapi/glapi.c
|
9a7776696b786180f1d384eb22b928707e74dfca |
01-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Reduce number of radeon_bo_map calls that require kernel entry. DMA buffers are often remapped many times for singel cs. To reduce number of mapping calls ending to kernel dma buffers are mapped when allocated and unmapped when full or in cs flush. This makes indifual mapping calls in other parts of code simple increment/decrement reference count which is faster than entering kernel. This improves Anholt's openarena benchmark from 36 fps to 44 fps.
rivers/dri/radeon/radeon_dma.c
|
a379fa8b3059d0a083dc2641a4afb3a33380e275 |
01-Mar-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
Remove now obsolete mesa_bzero symbol.
rivers/windows/gdi/mesa.def
|
d7e6e879fdfb1a4e3125237d117f68025dfa0d72 |
01-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: drop SOLARIS_THREADS It seems that SOLARIS_THREADS is not used and does not work.
lapi/gen/gl_x86-64_asm.py
lapi/gen/gl_x86_asm.py
lapi/glthread.c
lapi/glthread.h
86-64/glapi_x86-64.S
86/glapi_x86.S
|
d41ab94d35cb47effbd2582289298be4f13c50e4 |
01-Mar-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.c: misc coscmetic for FreeTSD - move out of of the dispatch/context block to after corresponding init functions - use more consistent naming with corresponding init functions - XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
lapi/glapi.c
lapi/glapi.h
lapi/glthread.c
lapi/glthread.h
|
7b454b00a4423937bd83ecff2d61ff08e6504707 |
27-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.c: misc cosmetic mainly, move the multithread check mutex out of the dispatch/context block, closer to where it is used.
lapi/glapi.c
|
cccdc1783fda33da6fc12befdf288b74866e5dfa |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.c: mv init_glapi_relocs to glapi_getproc.c
lapi/glapi.c
lapi/glapi.h
lapi/glapi_getproc.c
|
fae5758fac963ce014e3d43f1bca7fb489e02bf9 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.c: mv check_table to glapi_getproc.c
lapi/glapi.c
lapi/glapi_getproc.c
|
42f3241e04b6cd74829dfb64b4a154ac8a4e6a48 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.c: split check_table to not_null and get_proc
lapi/glapi.c
lapi/glapi.h
|
750a7f1f1d6438c3fb460883aa2a626970e4c534 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.h: drop dispatch_override prototypes cannot find them in mesa tree
lapi/glapi.h
|
57d31591d10d656dbc8bea1d162dec90518e7b8c |
27-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.h: misc cosmetic - revert context/dispatch order, similar to glapi.c - stray GL_GLEXT_PROTOTYPES
lapi/glapi.h
|
a4ec52f245746b477b673e7cfb9b73d711bfa0d6 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macros Use likely() macro, as this is what most projects use. Drops GL_CALL define, cannot find it in mesa tree. Also, whitespace cleaunps in glthread.h
lapi/glapi.h
lapi/glthread.h
|
7d1a79a04eb1266649956f6924f25071d85e20fe |
01-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Rename pipe formats.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
18603a2f07b99bfdbaab35b38b292233fc3e7689 |
01-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix mesa statetracker adaption to new vertex elements interface
tate_tracker/st_draw.c
|
382d1d370bcf58303ffd9bc0606619e57ea3f302 |
01-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
tate_tracker/st_format.c
|
e7ca0e126e1b838d7650eb480adfd548723bcea9 |
01-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Combine the dummy texture more deterministically on nv0x.
rivers/dri/nouveau/nv04_state_raster.c
|
c7955f1341fd01be68c73b8a79c4b720b0645064 |
01-Mar-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix up the ADD texture environment on nv0x.
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_state_raster.c
|
394672659ddc1175747bae29fbf9957365d61e4c |
01-Mar-2010 |
Andrew Randrianasulu <randrianasulu@gmail.com> |
dri/nouveau: Add two stencil operation cases in nv04_state_raster.c. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nv04_state_raster.c
|
949587d1692f4e528f54b598ffc22a1906e4baf3 |
01-Mar-2010 |
Andrew Randrianasulu <randrianasulu@gmail.com> |
dri/nouveau: Allow to render to XRGB8888 textures. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
rivers/dri/nouveau/nouveau_fbo.c
|
909c08d177638a6318382a70eee6e05ed67efd81 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Remove dead code.
rivers/dri/common/spantmp.h
rivers/dri/common/spantmp2.h
|
75dba756b2e3d6850b56376d7c183dc3277a563b |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add asserts to check inputs to memcpy.
ain/mipmap.c
|
bfdee9cc70f21ef34ca8497d30ab72106ce43bd1 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add assert to check input to memcpy is not null.
ain/mipmap.c
|
65974f67e16187e1827fa4e46bde3b5df7a5bf02 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Move assert from outside to inside of _slang_gen_swizzle function.
hader/slang/slang_codegen.c
|
cab77711b3e8d398393677bcefcd413f50503a64 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Add assert to check for null pointer dereference.
rivers/dri/common/dri_util.c
|
975f105bb88fe6c146c091556f142e733885c91a |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
i810: Add assert to check for null pointer dereference.
rivers/dri/i810/i810texmem.c
|
b45af1ec61473ad3a576fc0cb564a4f71fbab7f5 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mach64: Add asserts to check for null pointer dereferences.
rivers/dri/mach64/mach64_texmem.c
|
689249bcbe96e2655aac29569ba36554bee1c503 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mga: Add assert to check for null pointer dereference.
rivers/dri/mga/mgatexmem.c
|
a5406444aeeef40c899a4159a1fae6d1501bc1cb |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r128: Add assert to check for null pointer dereference.
rivers/dri/r128/r128_texmem.c
|
aa4d47f68f992f8bbe843822c9f75dce9e8706f8 |
27-Feb-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: do not advertise S3TC if the external lib is not available
tate_tracker/st_extensions.c
|
14771ba7e492aef115a2827ac403499d074f9d0d |
27-Feb-2010 |
Marcin Slusarz <marcin.slusarz@gmail.com> |
mesa: remove libmesagallium.a on make clean Signed-off-by: José Fonseca <jfonseca@vmware.com>
akefile
|
3d3e3a56f2ded522267df60fdfc2c5933303d15b |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Add asserts to check for null pointer dereferences.
rivers/dri/r300/r300_vertprog.c
|
5c007f42a128ad11c8e126443e0f040774901430 |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
savage: Add assert to check for null pointer dereference.
rivers/dri/savage/savagetex.c
|
9db6a70af583242ba5012f3451cd30a07d16b95f |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
sis: Add assert to check function pointer is not null.
rivers/dri/sis/sis_tris.c
|
b22437937fece754d9644a9d4ccb8db981d5e16c |
28-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
tdfx: Add asserts to check for null pointer dereferences.
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_texstate.c
|
e31a37966154cc8171a8663cf5aa4ef1dd070f97 |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
unichrome: Assert that pointer is not null before dereferencing.
rivers/dri/unichrome/via_ioctl.c
|
d3004d9156e261d81adcae31d55a4b782433cd6b |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Assert pointer is not null before dereferencing. Add back an assert that was removed in commit cd5f167353f16fb4f5b349002625b704f3e23778.
rivers/dri/radeon/radeon_tex_copy.c
|
e63f532d26d82c06281840a84c73e2e36d7b3e1e |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Assert pointer is not null before dereferencing.
rivers/dri/common/dri_util.c
|
226d98173886e9e26337d6e9593b2b561c8cb758 |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Assert pointer is not null before dereferencing.
rivers/dri/r600/r700_assembler.c
|
24a8b470ba592b4eb3560f7c5762e17ec0977a51 |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Assert input to strcmp is not null.
hader/slang/slang_builtin.c
|
fd29be3831a583a1ad1d7055bd234724ce7ccfae |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Assert pointer is not null before dereferencing.
hader/slang/slang_codegen.c
|
be97d2c0a6269e297f1db0e3639b0b03a45f21d9 |
27-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/texrender.c
|
52eb2ef6bf4e3327ed008c691efb821ecaa422b2 |
26-Feb-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: enable OQ on rv740 on drms with working pipe config
rivers/dri/r600/r600_context.c
|
424a8385e4d07860c6deca12c43d6c31698a29ed |
26-Feb-2010 |
Klaus Schnass <klaus.schnass@student.tuwien.ac.at> |
r600: fail to validate unsupported texture formats
rivers/dri/r600/r600_texstate.c
|
d7322c9d420e484bc3c7cecb873b04cf7da7f33a |
26-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Lookup requested renderbuffer in intel_create_image_from_renderbuffer Previously we'd use the current renderbuffer.
rivers/dri/intel/intel_screen.c
|
ea203de2d005b311d2f7f981523ae84494d6672a |
26-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Set API dispatch pointers for OES_EGL_image functions This chunk fell through the cracks when I rebase the EGLImage patch series.
ain/api_exec.c
|
fe25476c04b341d50777b8edd0533f7c838f6361 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage() The rb->InternalFormat field will be set by the caller if the allocation succeeds. Until then, this field's value can't be used. Fixes a failed assertion with FlightGear.
ain/renderbuffer.c
|
49f35a379dc52e9847fce803b9ef73d622d0e575 |
26-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
Revert "glapi: Remove unnecessary headers." This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows.
lapi/glapi_dispatch.c
|
e5c691f445e1c02e6e2f75b817b13d7024f7a3a6 |
26-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r300/compiler: Assert that array index is not negative.
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
ead22e6a328e7d7b7c0b52af4705634e989e4d69 |
26-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
glapi: Remove unnecessary headers.
lapi/glapi_dispatch.c
|
c76d4db25260dd68684bf784efacd7323c7cab8b |
26-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_depthstencil.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_viewport_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
bdbb5f8170f48713b741ad68c26464231a01ca7a |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
swrast: add 0.5 bias in tex_array_slice() per the spec
wrast/s_texfilter.c
|
4db9f8361207e9377eb772df8d16413d63f55636 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_EXT_texture_array for sw drivers
ain/extensions.c
|
1f2b495b5567897acbd236f302a1e2b9b5faec65 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
glsl: implement support for GL_EXT_texture_array GL_EXT_texture_array is different from the existing GL_MESA_texture_array support in that the former is only supported for GLSL, not fixed-function. The shadow compare versions of the sampler functions haven't been tested yet. The non-shadow versions have been tested with a new piglit test.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_vertex_builtin.gc
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_print.c
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
1edd444c2e9afadb56df55682ae606b5cefd811c |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new extension flag for GL_EXT_texture_array
ain/extensions.c
ain/mtypes.h
|
58ab56d32308e36f331294047e11c3e0b4b73cde |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
swrast: the only wrap mode for selecting texture array slices is clamp
wrast/s_texfilter.c
|
ac498f2dce6a0d4e78ed2a78b567d61fe6569970 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added texture array targets in sizeof_glsl_type()
hader/shader_api.c
|
2c1619869a9af1420e0a23b65e31d40a694b7f46 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added cases for texture array targets
hader/prog_print.c
|
a8dafe713f4b45fd09c678e1ca9fbe4eab16f8be |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant call to _mesa_base_fbo_format()
ain/fbobject.c
|
a858bc393ec431f836bea275edb4437fe41adc75 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added renderbuffer->_BaseFormat assertion
ain/renderbuffer.c
|
839e6bd8b90a124e88020d54ded46460b2a3bc2d |
26-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Try to hook up the Sandybridge URB_WRITE SEND message. My units still hang when doing this if the VS is enabled.
rivers/dri/i965/brw_eu_emit.c
|
c8e5100a3910fd9b36d4424ef94c0581982f0b1a |
26-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix up the VUE handling for SNB, and hopefully clarify comments.
rivers/dri/i965/brw_vs_emit.c
|
54ea39f768871eb10286b195e1cd77f757c99752 |
26-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't set a nonexistent enable bit in several SNB state pointers. The modify bit is now usually in the instruction header. The exception is CC state pointers.
rivers/dri/i965/gen6_sampler_state.c
rivers/dri/i965/gen6_scissor_state.c
rivers/dri/i965/gen6_viewport_state.c
|
1d7aec053b061caef928cfffc786660603d5f14c |
26-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Lump SNB in with Ironlake for bigger VUEs. This gets the VS to the point of accepting vertices. \o/
rivers/dri/i965/brw_vs_emit.c
|
d790564f9452d6fa0378346a85c792aa346c1a57 |
26-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the SNB VE valid bit. So, when the docs say that 0 means enabled now? That's a lie.
rivers/dri/i965/brw_defines.h
|
fc26f894babc47dd3a823bd4d63ee4d8ee0dad04 |
25-Feb-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix up INTEL_NO_HW support. This was accidentally (it seems) deleted in 5203b7227ccb6b618fa42f08434d4a3cf123dca2
rivers/dri/intel/intel_batchbuffer.c
|
89cce536cbc55460bc534acc06ea9f4d9ae71016 |
25-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Don't include SNB in has_negative_rhw_bug.
rivers/dri/i965/brw_context.c
|
dedfc0e6e606594b9b1772c6b0689f7fa547c3aa |
25-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the SNB clip near VP API bit.
rivers/dri/i965/brw_defines.h
|
17ddb7c7e897719fa28fb64ac3ecbc7b7e9f8d24 |
25-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the SNB URB entry count setup.
rivers/dri/i965/gen6_urb.c
|
25da8e66f8f9b5a6a20ba95412e80b1f422f48d0 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
remove hack for miniglx from dri/utils.c
rivers/dri/common/utils.c
|
900b163a86cc97f029c8bf8cf2779fa173f353de |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
minor cleanup of dri/Makefile.template's after miniglx drop also makes the WINDOW_SYSTEM configure var useless ...
rivers/dri/Makefile.template
|
593eb8a642e8853d50da7792d7c111500d5cbe34 |
26-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
drop stray src/mesa/main/sources
ain/sources
|
c9e8ff1976cd14fdc84db440a554185be29a0ca2 |
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use simplified _BaseFormat value in render-to-texture code Fixes fd.o bug 26762.
ain/texrender.c
|
79aeafd3ca3680c28f6d47a21a501334844f4475 |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop fb, ffb and gamma dri drivers
rivers/dri/fb/Doxyfile
rivers/dri/fb/Makefile
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/Makefile
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_bitmap.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_clear.h
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_fifo.h
rivers/dri/ffb/ffb_fog.c
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_lines.h
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_lock.h
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_state.h
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tex.h
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_tritmp.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_vtxfmt.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/ffb/server/ffb_regs.h
rivers/dri/gamma/Makefile
rivers/dri/gamma/gamma_client.h
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_dd.c
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_lock.h
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_regs.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_screen.c
rivers/dri/gamma/gamma_screen.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_tris.h
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_vb.h
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/gamma/server/glint_common.h
rivers/dri/gamma/server/glint_dri.h
|
40c6bb58be4bc2be3c4901fe8b945d2a12983af6 |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop classic mesa svga driver
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/svga/svgapix.h
|
e14a5b14b2db2ef2e744b49024ac341b998d1711 |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop glide driver
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
|
230d263aca86854104645c589d75f2862c50abe6 |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove GGI support
rivers/ggi/default/.gitignore
rivers/ggi/default/genkgi.conf.in
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/default/linear.c
rivers/ggi/default/linear_15.c
rivers/ggi/default/linear_16.c
rivers/ggi/default/linear_24.c
rivers/ggi/default/linear_32.c
rivers/ggi/default/linear_8.c
rivers/ggi/default/stubs.c
rivers/ggi/display/.gitignore
rivers/ggi/display/fbdev.conf.in
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/ggimesa.conf.in
rivers/ggi/include/ggi/mesa/debug.h
rivers/ggi/include/ggi/mesa/display_fbdev.h
rivers/ggi/include/ggi/mesa/ggimesa.h
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
b5c3199afe0d90787223cb57c35ff22e38b3c920 |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove dos driver
rivers/dos/blit.S
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/null.c
rivers/dos/null.h
rivers/dos/vesa.c
rivers/dos/vesa.h
rivers/dos/vga.c
rivers/dos/vga.h
rivers/dos/video.c
rivers/dos/video.h
|
97972244d5254cb2862325f8fe03db0a82a8041a |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove d3d driver
rivers/d3d/D3DCAPS.CPP
rivers/d3d/D3DHAL.H
rivers/d3d/D3DInit.cpp
rivers/d3d/D3DMESA.H
rivers/d3d/D3DRaster.cpp
rivers/d3d/D3DShared.h
rivers/d3d/D3DTEXT.CPP
rivers/d3d/D3DTextureMgr.cpp
rivers/d3d/D3DTextureMgr.h
rivers/d3d/D3DUTILS.CPP
rivers/d3d/D3Dvbrender.c
rivers/d3d/DDrawPROCS.c
rivers/d3d/DEBUG.C
rivers/d3d/DEBUG.H
rivers/d3d/DbgEnv.bat
rivers/d3d/MAKEFILE
rivers/d3d/NULLProcs.h
rivers/d3d/NullProcs.c
rivers/d3d/OPENGL32.DEF
rivers/d3d/WGL.C
rivers/d3d/d3dText.h
|
4387580e50f49d642160982208c807da858cd1ab |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove directfb support
rivers/directfb/Makefile
rivers/directfb/idirectfbgl_mesa.c
|
dadd5094bfe8f8a9d0fc7b48086d3a4bc1c6b15f |
25-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove allegro driver
rivers/allegro/amesa.c
rivers/allegro/amesa.h
rivers/allegro/direct.h
rivers/allegro/generic.h
|
38c449409207c8948c1961a3132475bbd422f8f1 |
24-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add SNB math opcode support. This is untested at this point.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
078e7b62f69658e40aedea59cf6f005162a29f83 |
24-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Emit SNB FF unit state after the unit's push constants. There's a BUN for the WM unit that says WM_STATE must immediately follow PS_CONSTANTS, which this addresses. Presumably other units are roughly the same, too.
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/i965/gen6_wm_state.c
|
c791f8a1e532834ae7a517c042e9efe262b62233 |
01-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set up the SNB sampler state pointers.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_sampler_state.c
|
5878c841e90a8006715877045aa95a752472eaab |
01-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Set GS rendering enabled even when the GS stage is disabled. This is copying the behavior of other drivers.
rivers/dri/i965/gen6_gs_state.c
|
f69d46150c308285a518391db02cc9cba0f2a12d |
01-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add a couple SNB state packets I saw in other batchbuffer dumps.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
|
2ab3bf2fa37042386a2d50f60b1d0e32e26b91c2 |
25-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Re-disable the VS. There's stuff that needs to happen in the ISA before we can play with actually executing anything in the VS.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/gen6_vs_state.c
|
1489f108f4a9b53b42d3d4123da64ccdb7aafdde |
21-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix up some Sandybridge define checks for the structure rebase.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_context.c
|
591a996ab6a8ef96a46e88317071330d94c4138f |
21-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Move PIPELINE_SELECT to the top of gen6 3d pipeline setup.
rivers/dri/i965/brw_state_upload.c
|
ab8c37fe18e0367e8718774198a0d0086fde0cf9 |
21-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Untested Sandybridge WM packets.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_wm_state.c
|
737fac7ba220e4a2d66a8e2100ae0af620c274df |
21-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Hook up remaining Sandybridge state packets besides WM.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
|
70be48dff6bb68c61285641e4d976bfd53e0f00c |
29-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Untested Sandybridge SF setup.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_sf_state.c
rivers/dri/i965/gen6_vs_state.c
rivers/dri/intel/intel_batchbuffer.h
|
dd743fa36fa9303c2a2d0e7d3798fdc00ef43287 |
18-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fixup Sandybridge GS packet from doc updates.
rivers/dri/i965/gen6_gs_state.c
|
da577ee8800b940fcf416716c13133cd43c3d035 |
18-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix up Sandybridge GS reg definitions
rivers/dri/i965/brw_defines.h
|
a935cb2acafab199ac5ed4f2484af77be2af6363 |
18-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: fix typo in SNB VS defines comment
rivers/dri/i965/brw_defines.h
|
305b72154f6b05360d64feca4725a2eaa8c48a6e |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: fix typo in SNB GS register defines
rivers/dri/i965/brw_defines.h
|
0fbc0b0c172060ce5dd946fe33a43d9194ab45d0 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Enable clip stats.
rivers/dri/i965/gen6_clip_state.c
|
1ae0cb5f286bbba10e99c8e3bc1c55d2aeb38b59 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add Sandybridge viewport setup.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen6_viewport_state.c
|
c9065cd61fd43a507ae3100d7c0ab957672cab70 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Enable DRAWING_RECTANGLE emit on Sandybridge.
rivers/dri/i965/brw_state_upload.c
|
64e0c586a74553b2941f18feb199d8cddb192102 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add Sandybridge scissor state.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen6_scissor_state.c
|
93fcfc8369cc3fa42f6ba577c26474464f21e6ad |
14-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix up the VF stats packet header.
rivers/dri/i965/brw_context.c
|
a38096aa94ef62dba73792f1680098059b697662 |
14-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set the state base address on Sandybridge.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
|
2c3d6f8e3e714451c436d5496167747e9311c3df |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Free gen6 state BOs on context destroy.
rivers/dri/i965/brw_vtbl.c
|
d971375bc1872cb2d95a710e3d62f5b037fbe7f7 |
29-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Giant pile of flushing to track down SNB bringup issues. This should go away before we push the code.
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_clip_state.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_urb.c
rivers/dri/i965/gen6_vs_state.c
|
d512aa3d6d9948f5c294110fdae7a24aaf37051f |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix some defines of gen6 regs from docs comparison.
rivers/dri/i965/brw_defines.h
|
040cf3fcdc3ec717f3d98a37e2f0c19481a856bd |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add basic decode of new gen6 packet boundaries.
rivers/dri/intel/intel_decode.c
|
ff3997904ab988824e744fdbecde6eb79d9bf40f |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Reconnect the index/vertex setup.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_vs_state.c
|
c9dc6d425e645f2988118ff51cabe167a0cd3971 |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set up the SNB URB. even with vs disabled, still doesn't work.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_urb.c
|
0da50fa67009535577dc84dde21672db5ec45134 |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Try sending prims down the pipeline. Now things catch on fire.
rivers/dri/i965/brw_draw.c
|
8485e100b81d5cf44cde7af0c7feb79a32bf3dd0 |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Try uploading SNB VS constants.
rivers/dri/i965/gen6_vs_state.c
|
eda1b50aa10031aeb07071f59fed93304b2fe2ca |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Try turning on the VS.
rivers/dri/i965/gen6_vs_state.c
|
98f9666f04eed9ae873fdea20c4c4b9db6cead84 |
04-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Get vp-tri batchbuffers running (no rendering).
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_gs_state.c
rivers/dri/i965/gen6_vs_state.c
|
f58fbcf7618bcc6ef9da8e8939100b14ea4d584b |
29-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add untested REJECT_ALL clip state.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_clip_state.c
|
520b64ddfb4c2efa742bc2217fef96fdec5eea9b |
27-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add untested passthrough GS setup.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_gs_state.c
|
ba882d7827e5526e99c9d5c453d56c5e029c7476 |
16-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add untested Sandybridge passthrough VS setup.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/gen6_vs_state.c
|
7ee590424c974cb10882e9c4664a6024595fc9de |
29-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Start adding support for the Sandybridge CC unit.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/gen6_cc.c
rivers/dri/i965/gen6_depthstencil.c
|
9dce60f35b25f4f5605b22d75447bac5d9f55515 |
03-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set up sandybridge binding table pointers but don't enable it yet. It hangs the GPU at the clipper stage, presumably because we're lacking other setup.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
|
0b9932ffde3f7228288717302b43aa01df0b5fa0 |
03-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Update WM surface state setup for sandybridge's new BLEND_STATE.
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
719f2b1d8570aa58b970bd28941221ee6c34af9b |
03-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set up sandybridge depthbuffer.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/intel/intel_decode.c
|
554a8f4026459406e7d3ed4e7017a88a57492ddf |
03-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Start adding defines and some bits for sandybridge bringup.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
|
51e8a66fa197de7e17fb94d901a4cf26f0812670 |
25-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Use the XRGB8888 hardware texture format.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
59ddf8ca635465dea1d455c384f5905b65dc6979 |
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Use the hardware I8 format for intensity textures.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
4a7e9b5df453055ed6eedce1ea5c1d4a2f810fa7 |
21-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Implement EXT_texture_from_pixmap.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
|
a7b8d105a6efe4056633f7129f80aac1f13cc246 |
25-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Support rectangle textures.
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_state_tex.c
|
7432ffbdfa52b51b720bdde5cd50c497862b8806 |
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Don't try to map a non-existent teximage.
rivers/dri/nouveau/nouveau_texture.c
|
35041ec151fa6af71966d86869c38bc6b2f7606f |
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Add some RGB888 span functions.
rivers/dri/nouveau/nouveau_span.c
|
3ccfce85e243e83afc1bb582d7424d9238a64f42 |
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fake A8 and L8 texture support on nv04.
rivers/dri/nouveau/nv04_state_frag.c
|
7269a30b86745a29bb575ce3545ab82e6514ce2a |
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Restructure the nv[12]0 regcombiner code, and fake A8/L8 support.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_state_frag.c
|
323e6bbb052f37f91c7340e16c2352bb780a43d8 |
22-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Try to validate textures earlier.
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv20_state_tex.c
|
44602bb23ca7b67d4db586d9194c75cfe4a60962 |
22-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM.
rivers/dri/nouveau/nv04_surface.c
|
e59e5e3388c9561d58aa02bab20baca99ba86d15 |
22-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Clean up the nv04 surface code a bit.
rivers/dri/nouveau/nv04_surface.c
|
1e4c0618a8e5f251b68e98af498a2a8ff787cc61 |
21-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Avoid mask overflow on nv04_surface_fill.
rivers/dri/nouveau/nv04_surface.c
|
9a8e374c46079d40ef577842cbf917af1c131dc0 |
21-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers.
rivers/dri/nouveau/nouveau_fbo.c
|
91af398b32f0f63a1560fe023651be0861c08f8a |
21-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Fix stencil mask handling on glClear().
rivers/dri/nouveau/nouveau_driver.c
|
fec2a67e405607b8527261add7e5842e9a75c921 |
25-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi/gen: just copy in glx/glapi
lapi/gen/Makefile
|
f1f33f929366e452046de27429fc730a83d11c4b |
25-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: EXTRA_DEBUG is never defined, make this explicit
lapi/glapi.c
|
ec91810147425f4123ec80117109925e054cc66d |
25-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: minor ugliness to be able to copy to xorg
lapi/glapi.c
lapi/glapi_dispatch.c
lapi/glapi_getproc.c
lapi/glapi_nop.c
lapi/glthread.c
|
2cf44390d1e819f23e1d7ceb3199276c9148c647 |
23-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Move src/mesa/glapi/dispatch.h to mesa. glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
s/main/drawtex.c
s/main/es_generator.py
lapi/dispatch.h
lapi/gen/extension_helper.py
lapi/gen/remap_helper.py
ain/accum.c
ain/api_arrayelt.c
ain/api_exec.c
ain/api_loopback.c
ain/api_noop.c
ain/arrayobj.c
ain/attrib.c
ain/colortab.c
ain/convolve.c
ain/dispatch.h
ain/dlist.c
ain/drawpix.c
ain/eval.c
ain/feedback.c
ain/histogram.c
ain/pixel.c
ain/queryobj.c
ain/rastpos.c
ain/remap.c
ain/remap_helper.h
ain/texgen.c
ain/varray.c
ain/vtxfmt_tmp.h
hader/shader_api.c
bo/vbo_exec_api.c
bo/vbo_exec_eval.c
bo/vbo_save_api.c
bo/vbo_save_loopback.c
|
27d260b41038e0c19c8f24b8bdb2c004c1eb7aa2 |
24-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Move src/mesa/main/dispatch.c to glapi and rename. main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c.
akefile.mgw
Conscript
lapi/glapi_dispatch.c
ain/descrip.mms
ain/dispatch.c
ources.mak
|
4cb13b433cfdaa1295e5df048d7ef614545f6e16 |
23-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
glapi: Generated GLX sources should use glapidispatch.h. Fix glX_proto_recv.py and glX_proto_send.py, and regenerate the sources.
lapi/gen/glX_proto_recv.py
lapi/gen/glX_proto_send.py
|
2be1fcaafef8af672434553c4bdca73a9db6934d |
24-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Remove unused Makefile.{ugl,win}.
ain/Makefile.ugl
ain/Makefile.win
|
d553479cc48d512fc5055c166a699bcfff494a24 |
25-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove dead error condition.
ain/pixel.c
|
072aeb57bd20b5fc39cf9d46a693a1a9aa9de11e |
25-Feb-2010 |
Brian Paul <brianp@vmware.com> |
vbo: remove dead code
bo/vbo_context.c
|
17efc8c05c6931a4638ee9f6138794f2b2b29540 |
24-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix SCons build.
ain/teximage.c
|
f393d95ff2de0a87d188099f97bf6cc781ae9e54 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
dri: remove old assertion (see bug 26734) (cherry picked from commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2)
rivers/dri/common/drirenderbuffer.c
|
10e79627414bc2bbc72d68ed25fb9999948a294f |
12-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement GL_OES_EGL_image entrypoints
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_image.c
|
c26247100bfd453a7ec013f630abe366c12fbd8b |
12-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement DRI image extension
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
51b799288a405be3f4cdbfc7221221399512992a |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: put declaration before code
ain/fbobject.c
|
d1dc5b124e133379be5bb57b68733c09c0e04f71 |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
core: Implement GL_OES_EGL_image entry points
ain/dd.h
ain/fbobject.c
ain/fbobject.h
ain/mfeatures.h
ain/teximage.c
ain/teximage.h
|
07b07b4d723394c82f7ba915c1cba620b307013d |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: GL_OES_EGL_image autogenerated files
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
caa46f753835f8bb87fc16e22734f27a1d52bb27 |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Add GL_OES_EGL_image
lapi/gen/Makefile
lapi/gen/OES_EGL_image.xml
lapi/gen/gl_API.xml
|
517faa4f3720134a19e1834144c75cf58a68c9c8 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated comments
tate_tracker/st_format.c
tate_tracker/st_format.h
|
002f9142113149cd2db8e5a6016fb5f7795ce55e |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: consolidate redundant format conversion code
tate_tracker/st_format.c
|
7802ef6f6978c68e732ed419e88d9af9f131b380 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: more format code clean-up and removal
tate_tracker/st_format.c
tate_tracker/st_format.h
|
d7de632de39888dbc955055ba0eb3623e5335992 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-ups in FBO code
tate_tracker/st_cb_fbo.c
|
87c85347ed8f74a855532fe6862d3ef62937ccbb |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-up of format-related code
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
5d8aae55f29fe35ec3d514b54b05b6c6fc8bebe2 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use util_format_get_blocksize()
tate_tracker/st_cb_drawpixels.c
|
5bc62895e294ea461e8487bac1aa84c6cc4f6809 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: code clean-ups in st_renderbuffer_alloc_storage()
tate_tracker/st_cb_fbo.c
|
5997501ca0d0c905025bc2a840e48e2176d64ea3 |
24-Feb-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: proper fix for 15601835361e2fdd34b38b265cfc3007749ee24d PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush not for state. The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE are part of the render target state.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
85434f9e3cae74c1992bb619641f97c0e4028a63 |
24-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Update for UTIL_FORMAT_LAYOUT_xxx changes.
tate_tracker/st_format.c
|
a9aa811af01273cef8a73118abdc87313f365ad3 |
24-Feb-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Reset clip state when clearing with quads.
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
78f72d73ee37c1a269f010e492631503a7fc35b2 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: disable unreachable meta mipmap gen code More work is needed to support 3D mipmap generation. Disable unreachable code until then. See bug 26722.
rivers/common/meta.c
|
8039ee09b8c78a70c1c50207cce9a7bb4cffc675 |
24-Feb-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Use cso context to manage clip state.
tate_tracker/st_atom_clip.c
|
3f5bac8960a5c6d1f08f0dc849676139b9d6ce5c |
24-Feb-2010 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix the state emission before kernel clear this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
e16f0c14f353cc04ad6cbcf99e3b95ccb1d2c06b |
24-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Assert that array index is not negative.
rivers/dri/r600/r700_assembler.c
|
b75d40736997911e00cab339a7f15ec9bc86e535 |
24-Feb-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bad state emission causes kernel to do bad depth clear The kernel lets you clear depth without getting a depth offset from userspace, mesa used to emit state before clear, but that got lost in the refactoring, which made the kernel bug show up. Fix mesa driver to emit the state properly now. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_ioctl.c
|
db9c151d77d02729d7387213c3f4ee96c65dd0cc |
24-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Call intel_prepare_render() in intelMakeCurrent() This restores old behaviour, where we end up doing a DRI2GetBuffers() call from intelMakeCurrent(). The idea was that we could do this lazily, just before we start rendering. However, if we don't do the DRI2GetBuffers() round-trip we don't get the drawable size and higher level mesa ends up short-cutting a number of GL calls, such as glClear().
rivers/dri/intel/intel_context.c
|
b628950662a97452e539bcc704bd2acee70f8355 |
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: whitespace fixes
tate_tracker/st_cb_texture.c
|
295a02549d74559831023455d1bb0ebf42bc1415 |
22-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: fix es after mv
s/glapi/Makefile
s/glapi/base1_API.xml
s/glapi/base2_API.xml
s/glapi/es1_API.xml
s/glapi/es1_COMPAT.xml
s/glapi/es1_EXT.xml
s/glapi/es2_API.xml
s/glapi/es2_COMPAT.xml
s/glapi/es2_EXT.xml
s/glapi/es_COMPAT.xml
s/glapi/es_EXT.xml
s/glapi/gl_compare.py
s/glapi/gl_parse_header.py
|
ad520aaa87d30957ba5635cede1da828a5894105 |
22-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: fix code generation Makefile after mv
lapi/gen/Makefile
|
f437a673777ca613ef4c1464fb9083e269f3928c |
22-Feb-2010 |
George Sapountzis <gsapountzis@gmail.com> |
glapi: mv code generation to subdir This just moves files, code generation Makefile will be fixed in next commit for easier review.
lapi/APPLE_vertex_array_object.xml
lapi/ARB_copy_buffer.xml
lapi/ARB_depth_clamp.xml
lapi/ARB_draw_elements_base_vertex.xml
lapi/ARB_framebuffer_object.xml
lapi/ARB_map_buffer_range.xml
lapi/ARB_seamless_cube_map.xml
lapi/ARB_sync.xml
lapi/ARB_vertex_array_object.xml
lapi/EXT_draw_buffers2.xml
lapi/EXT_framebuffer_object.xml
lapi/EXT_packed_depth_stencil.xml
lapi/EXT_provoking_vertex.xml
lapi/EXT_texture_array.xml
lapi/Makefile
lapi/NV_conditional_render.xml
lapi/extension_helper.py
lapi/gen/APPLE_vertex_array_object.xml
lapi/gen/ARB_copy_buffer.xml
lapi/gen/ARB_depth_clamp.xml
lapi/gen/ARB_draw_elements_base_vertex.xml
lapi/gen/ARB_framebuffer_object.xml
lapi/gen/ARB_map_buffer_range.xml
lapi/gen/ARB_seamless_cube_map.xml
lapi/gen/ARB_sync.xml
lapi/gen/ARB_vertex_array_object.xml
lapi/gen/EXT_draw_buffers2.xml
lapi/gen/EXT_framebuffer_object.xml
lapi/gen/EXT_packed_depth_stencil.xml
lapi/gen/EXT_provoking_vertex.xml
lapi/gen/EXT_texture_array.xml
lapi/gen/Makefile
lapi/gen/NV_conditional_render.xml
lapi/gen/extension_helper.py
lapi/gen/glX_API.xml
lapi/gen/glX_XML.py
lapi/gen/glX_doc.py
lapi/gen/glX_proto_common.py
lapi/gen/glX_proto_recv.py
lapi/gen/glX_proto_send.py
lapi/gen/glX_proto_size.py
lapi/gen/glX_server_table.py
lapi/gen/gl_API.dtd
lapi/gen/gl_API.xml
lapi/gen/gl_SPARC_asm.py
lapi/gen/gl_XML.py
lapi/gen/gl_and_glX_API.xml
lapi/gen/gl_apitemp.py
lapi/gen/gl_enums.py
lapi/gen/gl_offsets.py
lapi/gen/gl_procs.py
lapi/gen/gl_table.py
lapi/gen/gl_x86-64_asm.py
lapi/gen/gl_x86_asm.py
lapi/gen/license.py
lapi/gen/mesadef.py
lapi/gen/next_available_offset.sh
lapi/gen/remap_helper.py
lapi/gen/typeexpr.py
lapi/glX_API.xml
lapi/glX_XML.py
lapi/glX_doc.py
lapi/glX_proto_common.py
lapi/glX_proto_recv.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/glX_server_table.py
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_and_glX_API.xml
lapi/gl_apitemp.py
lapi/gl_enums.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/license.py
lapi/mesadef.py
lapi/next_available_offset.sh
lapi/remap_helper.py
lapi/typeexpr.py
|
c41cf31da8e2b57ea9911ed1720650cfc2649a84 |
23-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed. Tested with piglit glsl-arb-fragment-coord-conventions.
rivers/dri/intel/intel_extensions.c
|
abcb6b6d01c253627363a05205291630b5247018 |
23-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Assert that array index is not negative.
ain/texcompress_fxt1.c
|
63cb6f59eac91ba34cf80ff3736568e40b094fe1 |
22-Feb-2010 |
Michal Krol <michal@vmware.com> |
gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. Needs testing.
tate_tracker/st_cb_clear.c
|
cfdd1ca69521446b5d937d95e7d8bfb27f6d68eb |
22-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5)
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
504e297a2c395d136ff73279db28cc9de3303c2d |
22-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x The ST_SURFACE_x values should match the Mesa BUFFER_x values. Added some assertions to prevent future mix-ups. (cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d)
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
6ce5b5e115451543a4a059ef6b618c1e53f2bbc5 |
22-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH. Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd)
tate_tracker/st_public.h
|
15904c057beec3029a8ed2035d7ba50f9414943d |
22-Feb-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: assert that we do not overflow the batch buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_batchbuffer.c
|
415b7c7775dd7240abd2c929ea3335304a790d39 |
22-Feb-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Fix logic !gen >= 3 The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/intel_tris.c
|
ac6ce53af7f67d01afd8e33d297f95c21aa3405e |
22-Feb-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Remove superfluous MI_NOOP from vertex emission Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/i915/intel_tris.c
|
5abee283d310a70efa4c713707f06624d5462322 |
21-Jan-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Check that we have a bufmgr or bail out when initializing the context. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_context.c
|
b7eed19efec0cdaca42cabbc6f9fadcb892aee81 |
22-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Fix memory leak on out-of-memory error path.
tate_tracker/st_program.c
|
7da9da190f44f504db13570c0cec05dffa240cae |
21-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Add assert to check for null pointer dereference.
ain/framebuffer.c
|
f96e8a033b212b54a80622839579c99dff2378fc |
21-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Silence compiler format warning.
rivers/dri/radeon/radeon_fbo.c
|
1613735d08eacc4b3d21694e5010587357525ecc |
20-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
gamma: Silence uninitialized variable warnings.
rivers/dri/gamma/gamma_tris.c
|
fdcad8a5831b602bd725989599ed2bab33bf9c50 |
20-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
gamma: Add missing headers.
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_dd.c
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_xmesa.c
|
fbf04cef7184ab4f1939700740e512526446516f |
20-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
gamma: Remove unnecessary header.
rivers/dri/gamma/gamma_context.h
|
b76164dcedad257f37af57358b102e14fdea8381 |
20-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Silence compiler format warnings.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_fbo.c
|
a45f2ec7b7e929d705df23471ee92f05e233338c |
20-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Silence compiler format warning.
hader/prog_print.c
|
150cce6aef85d22b5d32fba5d27605a98be6794a |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix snprintf() typo
hader/program_parse.tab.c
hader/program_parse.y
|
78a0c353d0f87c85feaa6dcb3042fc25d424f21b |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: restore _mesa_snprintf() - it's needed for Windows This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
rivers/common/meta.c
ain/imports.c
ain/imports.h
ain/version.c
hader/prog_instruction.c
hader/prog_print.c
hader/program_parse.tab.c
hader/program_parse.y
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
8de5a292f70dba854a4bf06a2210bc38381e6bcf |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: casts to silence new warnings from printf()
ain/debug.c
hader/prog_print.c
|
984b72ad5f47cda8e141dc38524f6a0598dcc541 |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove abs/negate from fetch_vector1ui() This function is only used for the NV unpack instructions. Negate/abs make no sense and removing the code fixes Windows compiler warnings. Found by Karl Schultz.
hader/prog_execute.c
|
da43aa84c8abc13bb8a2c8d0af57471862881523 |
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Set buffer stamp before getting new buffers This way, if we get an invalidate as we update the buffers, we don't clobber the drawable stamp and ignore the invalidate. Pointed-out-by: Francisco Jerez
rivers/dri/intel/intel_context.c
|
99ae9e8d7d57ae37629754edd5b1e3716611827f |
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop macro wrappers for the aligned memory functions
rivers/dri/ffb/ffb_vb.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810vb.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_vb.c
rivers/dri/mga/mgavb.c
rivers/dri/tdfx/tdfx_vb.c
rivers/glide/fxvb.c
ain/imports.h
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_vector.c
nl/t_vb_program.c
nl/t_vb_vertex.c
nl/t_vertex.c
bo/vbo_exec_api.c
|
298be2b028263b2c343a707662c6fbfa18293cb2 |
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace the _mesa_*printf() wrappers with the plain libc versions
rivers/common/meta.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_debug_fp.c
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu_debug.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_debug.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_tex.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/swrast/swrast_priv.h
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_tri.c
lapi/gl_enums.py
ain/arrayobj.c
ain/bufferobj.c
ain/debug.c
ain/dlist.c
ain/enums.c
ain/execmem.c
ain/fbobject.c
ain/ffvertex_prog.c
ain/imports.c
ain/imports.h
ain/mipmap.c
ain/shaders.c
ain/state.c
ain/texenvprogram.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
ain/varray.c
ain/version.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_vector.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_optimize.c
hader/prog_print.c
hader/prog_statevars.c
hader/program_parse.tab.c
hader/program_parse.y
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_label.c
hader/slang/slang_link.c
hader/slang/slang_log.c
hader/slang/slang_utility.c
tate_tracker/st_atom.c
wrast/s_lines.c
nl/t_draw.c
nl/t_vb_cliptmp.h
nl/t_vertex.c
nl/t_vertex_sse.c
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
bo/vbo_split_copy.c
f/vf.c
f/vf_sse.c
86/rtasm/x86sse.c
|
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 |
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
rivers/common/meta.c
rivers/dri/common/dri_util.c
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/utils.c
rivers/dri/fb/fb_dri.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_syncobj.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetex.c
rivers/dri/swrast/swrast.c
rivers/dri/unichrome/via_fb.c
rivers/fbdev/glfbdev.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/glslcompiler/glslcompiler.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
rivers/windows/icd/mesa.def
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
s/main/specials_es1.c
s/main/specials_es2.c
lapi/mesadef.py
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/colortab.c
ain/context.c
ain/cpuinfo.c
ain/debug.c
ain/depthstencil.c
ain/dlist.c
ain/execmem.c
ain/extensions.c
ain/framebuffer.c
ain/hash.c
ain/image.c
ain/imports.c
ain/imports.h
ain/light.c
ain/mipmap.c
ain/mm.c
ain/queryobj.c
ain/renderbuffer.c
ain/shaders.c
ain/shared.c
ain/syncobj.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/teximage.c
ain/texobj.c
ain/texrender.c
ain/texstore.c
ain/version.c
hader/arbprogparse.c
hader/atifragshader.c
hader/hash_table.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_cache.c
hader/prog_instruction.c
hader/prog_optimize.c
hader/prog_parameter.c
hader/prog_print.c
hader/prog_statevars.c
hader/prog_uniform.c
hader/program.c
hader/program_parse.tab.c
hader/program_parse.y
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_label.c
hader/slang/slang_link.c
hader/slang/slang_log.c
hader/slang/slang_mem.c
hader/slang/slang_utility.c
hader/symbol_table.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_mesa_to_tgsi.c
wrast/s_blit.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
nl/t_draw.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vertex.c
bo/vbo_exec_array.c
bo/vbo_rebase.c
bo/vbo_split_copy.c
f/vf.c
|
6bf1ea897fa470af58fe8916dff45e2da79634a3 |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace _mesa_bzero() with memset()
rivers/common/driverfuncs.c
rivers/dri/r300/r300_fragprog_common.c
ain/bufferobj.c
ain/dlist.c
ain/framebuffer.c
ain/imports.c
ain/imports.h
ain/renderbuffer.c
ain/texobj.c
hader/nvfragparse.c
hader/prog_instruction.c
hader/program.c
hader/slang/slang_emit.c
hader/slang/slang_typeinfo.c
wrast/s_depth.c
wrast/s_fragprog.c
wrast/s_span.c
|
2240ba10f30315410bcff77e372ee71664ac4453 |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace old MEMSET macro with memset
rivers/dri/tdfx/tdfx_span.c
rivers/x11/xfonts.c
rivers/x11/xm_dd.c
ain/eval.c
ain/imports.h
ain/polygon.c
ath/m_translate.c
|
e197de56cdb86835f1437688a9161cd909792d80 |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace old MEMCPY macro with memcpy
rivers/dri/mga/mgapixel.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_tex.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/x11/xm_api.c
ain/attrib.c
ain/context.c
ain/dlist.c
ain/imports.h
ain/mipmap.c
ain/pixel.c
ain/texstore.c
ath/m_matrix.c
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertparse.c
hader/prog_statevars.c
wrast/s_zoom.c
nl/t_pipeline.c
nl/t_vb_program.c
|
2efa86ea3040c37965987160733b22e2a0541a3e |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_memcmp in favor of plain memcmp. This may break the SUNOS4 build, but it's no longer relevant.
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
ain/bitset.h
ain/imports.c
ain/imports.h
ain/texenvprogram.c
|
26f8fad1456fdc2b352cea9d3b4c32cb5f6ae947 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_memset in favor of plain memset. This may break the SUNOS4 build, but it's no longer relevant.
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/windows/gdi/mesa.def
rivers/windows/icd/mesa.def
rivers/x11/xm_dd.c
lapi/mesadef.py
ain/bitset.h
ain/ffvertex_prog.c
ain/imports.c
ain/imports.h
ain/renderbuffer.c
ain/texcompress_fxt1.c
ain/texenvprogram.c
hader/atifragshader.c
hader/prog_cache.c
hader/prog_parameter.c
hader/program.c
wrast/s_depth.c
wrast/s_span.c
wrast/s_stencil.c
nl/t_vertex_sse.c
f/vf_sse.c
|
c7ac486261ad30ef654f6d0b1608da4e8483cd40 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_memcpy in favor of plain memcpy. This may break the SUNOS4 build, but it's no longer relevant.
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/dri/fb/fb_dri.c
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/unichrome/via_tex.c
rivers/fbdev/glfbdev.c
rivers/windows/gdi/mesa.def
rivers/windows/icd/mesa.def
rivers/x11/fakeglx.c
lapi/mesadef.py
ain/attrib.c
ain/bitset.h
ain/bufferobj.c
ain/colortab.c
ain/dlist.c
ain/extensions.c
ain/image.c
ain/imports.c
ain/imports.h
ain/macros.h
ain/renderbuffer.c
ain/shaders.c
ain/syncobj.c
ain/texgetimage.c
ain/texstore.c
hader/arbprogram.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_instruction.c
hader/program.c
hader/program_parse.tab.c
hader/program_parse.y
hader/shader_api.c
hader/slang/slang_compile_operation.c
hader/slang/slang_link.c
hader/slang/slang_mem.c
hader/slang/slang_utility.c
tate_tracker/st_cb_bufferobjects.c
wrast/s_blend.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_stencil.c
nl/t_vertex.c
nl/t_vertex_generic.c
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save_api.c
f/vf.c
|
60b0cae412029e53654f38d0de151908f1feb310 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_atoi in favor of plain atoi.
rivers/x11/fakeglx.c
ain/imports.c
ain/imports.h
hader/nvfragparse.c
hader/nvvertparse.c
hader/shader_api.c
|
9d9afe9393fde99858ddf40e478bc16cf44e60dc |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strncmp in favor of plain strncmp.
ain/imports.c
ain/imports.h
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_parameter.c
hader/slang/slang_compile.c
|
8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strcmp in favor of plain strcmp.
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/windows/gdi/mesa.def
rivers/windows/icd/mesa.def
rivers/x11/fakeglx.c
lapi/gl_enums.py
lapi/mesadef.py
ain/enums.c
ain/extensions.c
ain/imports.c
ain/imports.h
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_parameter.c
hader/prog_uniform.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_print.c
hader/slang/slang_utility.h
|
21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strlen in favor of plain strlen.
ain/cpuinfo.c
ain/extensions.c
ain/imports.c
ain/imports.h
ain/shaders.c
hader/arbprogram.c
hader/atifragshader.c
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertparse.c
hader/prog_parameter.c
hader/prog_uniform.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_label.c
hader/slang/slang_link.c
hader/slang/slang_mem.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
f69d1d1438361f10fd8db78d2d38f26e33db9747 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strncpy in favor of plain strncpy.
rivers/x11/fakeglx.c
ain/dlopen.c
ain/imports.c
ain/imports.h
|
5fcaa78912bc78a5db410200c5987e2c57fad570 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strcpy in favor of plain strcpy.
ain/imports.c
ain/imports.h
hader/slang/slang_mem.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
8ff7624653f0e119865cc6c283775832f1bc2903 |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strncat in favor of plain strncat.
ain/imports.c
ain/imports.h
hader/atifragshader.c
|
0aecdb638322c81ce30f201f12e1f268acd1a64c |
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_strstr in favor of plain strstr.
ain/debug.c
ain/imports.c
ain/imports.h
hader/shader_api.c
hader/slang/slang_link.c
|
e95948ea03bd479f5961452647d3993aa0ab05f6 |
19-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
gamma: s#colormac.h#main/colormac.h#
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
|
24bdace350a65d405214696f77e74f3d0fe5186a |
19-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
gamma: s/gammacontext.h/gamma_context.h/
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_dd.c
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_screen.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_xmesa.c
|
0c728030ed76d8b79876b8606cb0486bff96750c |
19-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: added some bitmap debug code (disabled)
tate_tracker/st_cb_bitmap.c
|
0032525242950bae197b267794193cdcb611c376 |
18-Feb-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
i915: update render buffers at prepare_render time We need to do this before we emit any state dependent on the current render buffers.
rivers/dri/i915/i915_vtbl.c
|
b69dad2921e4477ce721649e4771e73ea453a03b |
18-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: silence mklib output for libglapi.c as for other targets
akefile
|
a61dce363929bbc3520f91cefa3ba15bbe31c5bd |
18-Feb-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix left side clipping Fixes bug 26623. Original patch was submitted by Mathias Frohlich and modified by Brian. (cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534)
wrast/s_span.c
|
196214bf2b677a83653d49f79d03752f29df44ec |
18-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)." We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached.
tate_tracker/st_cb_flush.c
|
0aa610571162eafc8c31c3d26c3676b6aead82df |
18-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Include main/hash.h using "" instead of <>
rivers/dri/intel/intel_regions.c
|
37e955d491664d27b1335c60ee40b730af6a1515 |
18-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: always call FLUSH_CURRENT before st->pipe->flush() Undoes part of commit f455ca6 which would permit pipe->flush() to be called while the VBO module still had its buffers mapped. Some drivers care deeply about this. Sorry for not spotting this earlier.
tate_tracker/st_cb_flush.c
|
d449627829e1a4a3250a1a723af2f4e3cd5fd194 |
18-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement the DRI2 invalidate function properly This uses a stamp mechanisms to mark the DRI drawable as invalid. Instead of immediately updating the buffers we just bump the drawable stamp and call out to DRI2GetBuffers "later". "Later" used to be at LOCK_HARDWARE time, and this patch brings back callouts at the points where we used to call LOCK_HARDWARE. A new function, intel_prepare_render(), is called where we used to call LOCK_HARDWARE, and if the buffers are invalid, we call out to DRI2GetBuffers there. This lets us invalidate buffers only when notified instead of on every glViewport() call. If the loader calls the DRI invalidate entrypoint, we disable viewport triggered buffer invalidation. Additionally, we can clean up the old viewport mechanism a bit, since we can just invalidate the buffers and not worry about reentrancy and whatnot.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
56dcd011b5ec33190f268cf546a4c68f81f5ebd0 |
17-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Some multithreaded rendering fixes.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_driver.h
rivers/dri/nouveau/nv04_screen.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_surface.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_screen.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_screen.c
|
f455ca6490fcb65781b21f81c7117bd923e250d1 |
16-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME). So far the frontbuffer was only being flushed on st_glFlush and st_glFinish, however, a co-state tracker may need to make sure that any frontbuffer changes are already on its way to the actual front. The dri2 state tracker will need this for event-driven GL applications to resize properly (It could also be done calling "dri_flush_frontbuffer", but that way we would flush unnecessarily in the double-buffered case). Additionally this patch avoids flushing the mesa rendering cache if PIPE_FLUSH_RENDER_CACHE wasn't specified.
tate_tracker/st_cb_flush.c
|
464a72dd4154f314e08c9d0c4d07417e2bf255f0 |
17-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: remove redundant nr_components field from pipe_vertex_element This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead.
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
6b4a553dd34764f8c696ae8198d98efbb28bbc93 |
17-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace conditional with assertion Core Mesa will not call ctx->Driver.CheckQuery() if the Ready flag is already set.
tate_tracker/st_cb_queryobj.c
|
ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff |
17-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Silence unused value warning.
hader/slang/slang_emit.c
|
41b19c279a0eae61f0f95c3b66376a25635241fd |
17-Feb-2010 |
Johannes Obermayr <johannesobermayr@gmx.de> |
nouveau: fix legacy dri driver build
rivers/dri/nouveau/nouveau_bo_state.c
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_vbo_t.c
|
f845e4ff1bf4e7e2f804024157494a12eedec174 |
08-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
st/dri2: Use event-driven buffer validation.
Conscript
ources.mak
tate_tracker/st_atom.c
tate_tracker/st_cb_viewport.c
tate_tracker/st_cb_viewport.h
tate_tracker/st_context.c
|
88a560691b904cc8eacda62d9bf80987d3c430c1 |
08-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Use event driven buffer validation.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_screen.c
|
61d26bc82e7c4100acfb551cbb0ba9d84bbc4ba5 |
08-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri2: Event driven buffer validation. When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
925b901ba313a3ddd7567eca088951be39414430 |
15-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri2: Allocate cliprect as part of the __DRIdrawableRec
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
107a2ec9eef53dee038c1bcc0d956c5667e0b68f |
16-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: Lock mutex around _mesa_HashLookup linked list chase. Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a)
ain/hash.c
ain/hash.h
|
693f4af63dd98b963e91259029cc0131b791721c |
16-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: Test for failed malloc in _mesa_HashInsert. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215)
ain/hash.c
|
36a54885a4b2eb2b23361f2add3d66e385a322cf |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
vbo: fix broken glMultiDrawElements() Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633)
bo/vbo_exec_array.c
|
a05fdbcb719ac64e6be842372813f0f4ca2f4f93 |
15-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove pointless comparison of unsigned integer with a negative constant.
hader/prog_execute.c
|
08cfe3ab421491644cf1bebaf47e8bc897e495c5 |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor assorted clean-ups
tate_tracker/st_cb_drawpixels.c
|
f4ded0ea5c156a79a78ea62098fa8f9515adb256 |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: change some function return types
tate_tracker/st_cb_drawpixels.c
|
e90bc2e2ce5b8d835d7dcd069071f71fa032ebe2 |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: move per-fragment shader fields to local vars
tate_tracker/st_program.c
tate_tracker/st_program.h
|
33681bcf5672ed7b8ffff52c5d88ba3d28a8349d |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_clone_fragment_program()
tate_tracker/st_cb_drawpixels.c
|
630b83be84f0bd9ce15cf9f09250a462bac2aa8b |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
r600: use new program cloning functions
rivers/dri/r600/r700_vertprog.c
|
79d4954f4f414d4ad047c17e684d566c0cd7442f |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
r300: use new program cloning functions
rivers/dri/r300/r300_vertprog.c
|
7a38d8d9a52a69884e73bc7dc7a43c58453b2c1a |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
glsl: use new program cloning functions
hader/slang/slang_link.c
|
848835a3d8889d716c05985b42fe740e9de81c15 |
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_clone_vertex/fragment_program() To reduce casting elsewhere...
hader/program.h
|
7851856a604bf379b34f5c1b1886e9dafa634cbd |
15-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Silence uninitialized variable warnings.
rivers/dri/r600/r700_assembler.c
|
6e958832afe9544973528bed78dd3a340b8686f3 |
14-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
mesa: Don't pass paramter to __builtin_clz which would hve undefined result. __builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case.
ain/imports.h
|
db18996d3da4009a7a031e3444b5cd688e12dc22 |
14-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add missing include.
tate_tracker/st_draw.c
|
d468791cc8307f8aaed72ccec78b504d7922de42 |
14-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use util_format_name().
tate_tracker/st_draw.c
tate_tracker/st_format.c
|
3a299071d41d2e45adba4aebab53ab1391176585 |
14-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Silence uninitialized variable warning.
rivers/dri/r300/r300_draw.c
|
4f131356cc5d2df4316c2146d3d9447d1b4dcd48 |
14-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Silence uninitialized variable warning.
rivers/dri/r600/r700_assembler.c
|
b30898f4ab533085d97a33638ad0a1cf9ddb1d67 |
14-Feb-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
mesa: Fix compiler warnings Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
ain/clear.c
ain/image.c
ain/macros.h
ain/texgetimage.c
hader/nvprogram.c
hader/prog_execute.c
hader/prog_parameter.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
wrast/s_aatritemp.h
wrast/s_atifragshader.c
wrast/s_clear.c
wrast/s_texcombine.c
wrast_setup/ss_context.c
wrast_setup/ss_tritmp.h
nl/t_draw.c
|
31ed663a433e405fe02f62c004914d559f4456e0 |
13-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_ARB_fragment_coord_conventions for sw drivers This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable.
ain/extensions.c
|
c2c4935cb8fe8601c72f585f70d776e3a65f15dc |
13-Feb-2010 |
Brian Paul <brianp@vmware.com> |
glsl: implement layout qualifiers For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time.
hader/slang/slang_compile.c
|
26661ac0e10aba63de093e871e40d336696f4827 |
13-Feb-2010 |
Brian Paul <brianp@vmware.com> |
glsl: added type layout field and new type compare func Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling.
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
b947b1d433ec5a847a3071c0daac7918924f3f49 |
13-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: copy frag coord layout fields too
hader/program.c
|
744994a9c6b972a737e432cf1b699f232e2c5bfd |
13-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Export GL_EXT_texture_cube_map. Still used by some applications.
ain/extensions.c
|
bf1096a778e9537d9e0970660effdf307115faf0 |
13-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: s/abort/sys.exit/ Python does not have the function abort.
ain/get_gen.py
|
672f98baf7aa04e90d4bb5fe28f0c1acb6d8aa0b |
13-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
ain/get.c
ain/get_gen.py
|
1213eb6cb4d9e29627b01350fe4e2ef0ad313713 |
13-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/brw_state_cache.c
|
fcd8ffe8e14861c22d1b937f898793dc5f6a1420 |
13-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
dri: Remove unnecessary headers.
rivers/dri/common/dri_metaops.c
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/xmlconfig.c
|
e7a53c78aebdc8ed3032379314dcd507e2db5262 |
13-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
rivers/common/driverfuncs.c
rivers/common/meta.c
|
282dafcdc7a809714f27fd609489b19d45360258 |
13-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: restore draw rasterization stage after rasterpos This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
tate_tracker/st_cb_rasterpos.c
|
ff37205f93eaf888e12c6587b8c7cd17d890c4e0 |
12-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: improved draw_range_elements code Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1.
tate_tracker/st_draw.c
|
b9b4e7724e5ae80121a053ca66cee73942cc16b7 |
12-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename state -> tgsi, updated comments
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_program.c
tate_tracker/st_debug.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
cd0a32924d9795fc693d6145baa546ad03650cc3 |
12-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused var
tate_tracker/st_cb_drawpixels.c
|
4be324386c50ddc67f95bbcd870a0577ceb814ab |
12-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unused variable.
rivers/dri/intel/intel_context.c
|
2f517b8e5ac1943f4ac60a8313ec53064cf6cc6a |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Avoid dri_bo_flink() in intel_update_renderbuffers() Now that we track the global name in struct intel_region, we can just look it up there.
rivers/dri/intel/intel_context.c
|
2d99588b3556928a0879b4160210ac771dbf1f0b |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Track named regions and make sure we only have one region per named bo
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
93931d9e684cd5a5659c3f28f8da7294ac174542 |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Store the loader private passed in at dri context creation We just threw it away before, but we haven't had a use for it yet.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
6602889d82d1402338f5d23e37a9f46db99e86c6 |
12-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-dynamicstencilref'
|
3a916b0e81cdbc695d0af317f7d5d8515af13c02 |
12-Feb-2010 |
Jerome Glisse <jglisse@redhat.com> |
Revert "r600c: substract vbo offset to vbo size" This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
rivers/dri/r600/r700_chip.c
|
325614a882f5371da512536e07c443a172ffb87c |
12-Feb-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600c: substract vbo offset to vbo size To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
rivers/dri/r600/r700_chip.c
|
08545799e37d519d70006a86d52854d294ce5a4d |
12-Feb-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: be more exact in vb size calculation to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
rivers/dri/r600/r700_chip.c
|
eeb49d3ad82861272e8987515df3cc5da4ed2d09 |
12-Feb-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support GL_SHORT attributes normalized seems to work with this setting.
rivers/dri/r600/r700_chip.c
|
92098438784887fd6005918794476cfbbeac5035 |
12-Feb-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
main: Fix compiler warning. No need to convert/store depthScale as GLfloat just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines.
ain/texstore.c
|
ebe12d50064370e4ddec21a1e087b24295940319 |
12-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: make max_anisotropy a unsigned bitfield member saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
tate_tracker/st_atom_sampler.c
|
c7ab5994ee86dc689c79df76051cf82c8b266e4d |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Avoid #including gl.h It's only used for a couple of integer types and and might conflict with other client API header files.
lapi/glapi.h
|
cc57baff5f40ba0ab3d3044c4fcd867e5b0e640e |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i915: Remove always-true irq_active struct intel_screen field
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
c9b0f04b1f3ba4765733fcbb91a7cc314bf83e5c |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i915: Remove a few DRI1 era struct intel_screen fields
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
5777dee02c6497207e6b4b9d68de072e7be7c06e |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i915: Drop intelScreenPrivate typedef and just call it struct intel_screen
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
cbfd4147ca5dea70a225f3b53629c270508ed2f6 |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i915: Remove unused intelRegion struct Phew, sure is nice to only have one struct called intel region.
rivers/dri/intel/intel_screen.h
|
fa43956b5ce6b48d29f973fc54bd77d1a11e32e4 |
11-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
i915: Remove left-over drmUnmap()
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
362fa6763c3a6cd9cef6a1f84c5ac367295a7961 |
11-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: additional constant/limit assertions
ain/context.c
|
263406addb90ca7599ddfb210944ab0dd63b973c |
11-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: give pipe_stencil_ref its own cso_save/restore functions seems cleaner, and other dynamic state like viewport is handled that way too
tate_tracker/st_cb_clear.c
|
6352f4c854e9ec39c440054109ccb92caa5ff0bb |
11-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix gallium texture level selection for RTT Fixes invalid texture level when rendering to a texture where GL_BASE_LEVEL > 0. This will be cherry-picked to the 7.7 branch after additional testing.
tate_tracker/st_cb_fbo.c
|
b75adabc89e34083ac302ac9bafc8d80b62ac14c |
11-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alpha makes life of state trackers easier
tate_tracker/st_cb_clear.c
|
218590f70723ce0683f70a0c7aab229f9bbd89a6 |
11-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c.
tate_tracker/st_cb_bitmap.c
|
19045d3749827caf176ae5cfc00c81e4fd486d74 |
11-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
wrast_setup/ss_tritmp.h
|
57732d83e5ffc23e9097d852615366e4722819ab |
11-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
ffb: Fix build.
rivers/dri/ffb/ffb_xmesa.c
|
5325340fb357de7402680029d25a8f2155083d0f |
11-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Fix one last copy-and-paste brain damage from a previous commit
rivers/dri/mach64/mach64_screen.c
|
2311e2adf0db3c46a1054d94cdfcd2ec0badbfd3 |
10-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: User friendly message for code generated files
hader/slang/library/SConscript
|
92ea8834d826eb6986112b5c2e0b530522d00530 |
10-Feb-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300/compiler: r500-fs: Properly set HW register swizzles. Fixes fallout from 9a1bf52c.
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
|
dfc02e3784e521c07a22ff2ffc4bf02f022e9898 |
10-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: more fixes for stencil ref change. compiles. Might need to do something to make it possible to save/restore stencil ref.
tate_tracker/st_atom_depth.c
tate_tracker/st_cb_clear.c
|
96728bb4f3e078c190da066868dede611685f6aa |
10-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Fix copy-and-paste brain damage in previous commit A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i810/i810screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/unichrome/via_screen.c
|
6bd9da01eacf9d100dfb0a9529700aa894a23d24 |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Don't expose GLX_SWAP_EXCHANGE_OML We can't always guarantee that the swap will happen by exchange, so we can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the case where the swap *might be* by exchange. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_screen.c
|
bb65a1d009e3d8398492aa30d944c17a40535aa1 |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Expose a minimal number of configs with accumulation buffer Expose one config per color depth that includes accumulation buffer. We could probably expose only one config with accumulation buffer, but that would require figuring out the actual color depth. This is easier and only exposes 2 useless configs. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_screen.c
|
3cce4a1e10361458630511543b7a8a6438544775 |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
dri: Allow selective generation of accum. buffer configs Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
73e24cd5a7a0760726a681dda5b88805ddcf1555 |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Stop exposing useless 24 depth/0 stencil configs Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_screen.c
|
6d91f9a024f6e3bc3ae1e71b80e2ec07d60490cf |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_screen.c
|
066f45c7a1888ca8a9de78a81b38af7c74bca9e1 |
08-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_screen.c
|
c3b62372dbf33c4dbf02439f3418194465738317 |
10-Feb-2010 |
unknown <kwschult@.na.qualcomm.com> |
Add new symbol to exports list
rivers/windows/gdi/mesa.def
|
8b1c332a77555b94f5665517e5fdcb416e1a67b7 |
10-Feb-2010 |
Michal Krol <michal@vmware.com> |
Simplify GLSL extension mechanism. Since extension name and extension name string are the same, collapse them into one name.
hader/slang/slang_compile.c
|
eb095b67ad230876bc0ea1266b0a39244b1124b4 |
10-Feb-2010 |
Brian Paul <brianp@vmware.com> |
glsl: GLSL extensions have the GL_ prefix Both the #extension directive name and the preprocessor symbol start with the GL_ prefix. For example: ... New glean/glsl1 tests have been added to test the #extension feature.
hader/slang/slang_compile.c
|
3a0e4eb94cd88b130cdb4383c28be336f8d2379f |
10-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA rename Oops, I n00bed it.
rivers/dri/r600/r600_texstate.c
|
77e6fb17d96ed9d9b3c2f52999e93da12a466405 |
10-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix printf formatings to match te values.
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_texture.c
|
42026a8ccf4f02d4648d65763e18d8bf98eb9bfd |
10-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Define EXT_framebuffer_object constants to match hw. This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
|
4bce2fb30e9cfb58831016e0bdda73abedd0a078 |
10-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move all limit/constant assertions into check_context_limits()
ain/context.c
|
debf00e5fc3828f63e0f99d72c7fa6cd6ce012c5 |
09-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
dri_interface: Introduce DRI tokens for the texBuffer texture formats This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
rivers/dri/intel/intel_tex_image.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
1a859ecf4a4728cb321b1f68d51491cd285a3c03 |
09-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
tate_tracker/st_atom_depth.c
|
4767d27ee32cc30ee00ab5265ecbb8eeefcab8c9 |
09-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add some debug output for fbo support
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_texture.c
|
9e587dbd78bdcf8608bce7cb3dcd05d9527b641e |
08-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix UMS notto emit stp. Polgon stipples are handled by kernel in UMS. Mark the state as never to be emited for UMS.
rivers/dri/r200/r200_state_init.c
|
653a83445f94620673f747a4ace6847a2c7fdb4d |
09-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-nopointsizeminmax' Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
|
dd7be07c9685012b3e9fdfbaa13dc638abf6a9d1 |
08-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix wrong initialization of MaxPointSize
tate_tracker/st_extensions.c
|
6e8897ff9f90601ebf6eed500ad942c11b54d1f7 |
09-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Retire miniglx and move the actual glx code up to src/glx
lapi/Makefile
ain/dispatch.c
|
dd98a979b6f565f0b0060403fbfad36005278802 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove special-case cyl-wrap code Cylinder wrap mode works with perspective interpolation now.
tate_tracker/st_program.c
|
ae4dde6598eacb64bf865037bdaea2041499aa27 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: check for PROG_PARAM_BIT_CYL_WRAP flag
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add back-door support for cylindrical texture wrap mode If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP flag. The gallium state tracker will look for this flag. This feature is only for testing purposes and may be remove at some point. But if it's useful we could write a GL/Mesa extension to expose it properly.
ain/texenvprogram.c
hader/prog_parameter.h
|
01d7e3d5a25a7cc49b38f5561d00c2ff22c43e93 |
09-Feb-2010 |
Michal Krol <michal@vmware.com> |
mesa: Enable true refcounting for NullBufferObj. This object can be shared with another context, so we cannot just delete it when the owning context is being destroyed. Ensuring that buffer objects are properly refcounted guarantees NullBufferObj is destroyed when all references to it are removed.
ain/arrayobj.c
ain/bufferobj.c
ain/bufferobj.h
ain/context.c
ain/pixel.c
ain/shared.c
bo/vbo_context.c
bo/vbo_exec_api.c
|
eeec2c3d951fed0d22e5dbf436d4a2d887e24221 |
08-Feb-2010 |
Michal Krol <michal@vmware.com> |
mesa: Protect buffer objects reference counting with a mutex.
ain/bufferobj.c
ain/mtypes.h
|
829d9bb7334ffea0d5d0c4076dd75c41525fae0c |
01-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Ensure object refcount is null when destroying the buffer. Lets see if this is not too pedantic. Obj pointers are never exposed to GL apps so it should be possible to get this right. Furthermore apps with GL widgets and test suits create and destroy many contexts and objects, so bad reference counting is not really an option.
tate_tracker/st_cb_bufferobjects.c
|
05ac187f305bb653d569b5c07446ec0f4cd7ff08 |
01-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix null buffer object reference counting. Always use _mesa_reference_buffer_object, and never call ctx->Driver.DeleteBuffer() directly to prevent dangling pointers to the null buffer object. This fixes crash/assertions in sharedtex_mt and Autodesk Mudbox.
ain/shared.c
bo/vbo_save.c
|
1c39dbb90cefad8a5a97e75042466d66ea4270bc |
01-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Always do proper ref counting of shared state.
ain/context.c
ain/shared.c
ain/shared.h
|
eaf8fe657f4cd30c0c1da20c4acf43e077783fcd |
08-Feb-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix UMS since stp addition. UMS doesn't need the STP atom. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_ioctl.c
|
1a45c2bce7480ef1d125439aed8413bcff0ab468 |
07-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
mesa: Fix mesa_next_pow_two to return same value if parameter is pow2. Without subtracting one pow2 value would be rounded up to next pow2 which is not correct behaviour for the function.
ain/imports.h
|
ce1f351963ae1de1218c83c9f846a17c2e3db65e |
07-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix LOD min/max emit. Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_texstate.c
|
0943706d35e3955cacbc3b690cfb1e2dfb78d639 |
07-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r100/r200/r300/r600: Set MaxCombinedTextureImageunits. Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
|
76a9831b2b20d59c49b5f25ba5275f17b4e2067b |
07-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix lod bias correction. glean/pointSprite shows that rv280 is trying to read from better quality mipmap level. We have to correct default lod bias to match required texture selection.
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tex.c
|
198e810a200eab06c662888c7ec85ae2459ec85a |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Add some debug output to texture function.
rivers/dri/r200/r200_tex.c
|
db3460e31cd4a2ccc9674715e8074f549f953676 |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Fix emit size prediction to know about primitive splitting. Fixes ut2004 warnings about overflowing command buffer.
rivers/dri/r300/r300_draw.c
|
cdb0a51e8a8de605c4f2155396609fbb98ada65d |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add some debug output to texture function.\n
rivers/dri/radeon/radeon_texture.c
|
e6f2819e7af8222ac443c76e91803f2c282fc1e7 |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Use _mesa_next_pow_two_32 instead of own implementation.
rivers/dri/radeon/radeon_mipmap_tree.c
|
d41740e969ce1ef084fa7a51208d43ac6883adf8 |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
mesa/main: Add function to find next higher power of two. With gcc implementation uses __builtin_clr which counts number of leading zeros. Fallback implementation uses bit manipulation. First it duplicates the highest bit to all lower bits and then adds one to get the power of two number.
ain/imports.h
|
f8969dd24ff4264c0c11ea5266093b6ce2ef221a |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add some debug output to miptree code.
rivers/dri/radeon/radeon_mipmap_tree.c
|
9d5f88250379666961f92a7e20cf0d48907c38e2 |
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Remove the loop from stride size calculation. Changed stride size calculation to do the math by rounding the value instead of loop. r600 minimum stride is 256 which might might cause up to about 60 rounds of the loop.
rivers/dri/radeon/radeon_mipmap_tree.c
|
fd2378e4b0630e26562f3d742b8b2d9a5d5844b0 |
06-Feb-2010 |
Damien Lespiau <damien.lespiau@intel.com> |
intel: Allow L8 PBO blit uploads. Bug #32810
rivers/dri/intel/intel_tex_image.c
|
c8433af711c1ec102bfaded742be964545464a42 |
05-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Keep the CURBE BO mapped and memcpy instead of subdataing. For the tiny bis of data we generally upload through the CURBEs, the overhead of the kernel's pagetable trickery is actually rather high. This improves cairo-gl gnome-terminal-vim performance by 3.8%.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vtbl.c
|
3e498207d1a0e95f143bb04b38ca22faf5f91f5d |
05-Feb-2010 |
Eric Anholt <eric@anholt.net> |
i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo. Improves cairo-gl gnome-terminal-vim times by 11%.
rivers/dri/i965/brw_curbe.c
|
67e5fd73973eaedf5ec6e0b5139b61f6196fb35c |
05-Feb-2010 |
Eric Anholt <eric@anholt.net> |
intel: Check aperture size when doing a blit glClear. Fixes failure in cairo-gl firefox-planet-gnome.
rivers/dri/intel/intel_blit.c
|
12d0721ae156bbb6c1bda1e28cfc71fe081a2a4c |
05-Feb-2010 |
Eric Anholt <eric@anholt.net> |
intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888. This improves firefox-talos-svg runtimes on cairo-gl by 14%.
rivers/dri/intel/intel_tex_image.c
|
337d3b2b391c50130fa825ee853a570e1a84d309 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: allow negative index for PROGRAM_STATE_VAR The piglit vp-address-01 test uses negative address-relative offsets. In this test we're indexing into PROGRAM_STATE_VAR which, in turn, contains references to ENV vars. We previously fixed this issue for PROGRAM_CONSTANT. piglit/vp-address-01 (the version from Feb 5) passes now. (cherry picked from commit 64be837b0b171c44f47a3c0b83f566d292ffff50)
tate_tracker/st_mesa_to_tgsi.c
|
a636f5b4d064dccf658f00d152ae9aeaa3751e64 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: debug output for ARL
hader/prog_execute.c
|
a199ccc272e108aad8cf15bdfa309e563868db24 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
osmesa: Add OSMesaColorClamp and OSMesaGetProcAddress to symbol defs. Without this patch, the two symbols get an underscore prepended and an "@4" appended when compiling with VC8. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit e65029e9b32ddabea0ec583c04484345b40f1557)
rivers/osmesa/osmesa.def
|
da73c4d5fef6ad20d41de9a4e2d1d86b0b83fd8b |
05-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Add back the reduced Noop dispatch This got "simplified" away in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0.
lapi/glapi_nop.c
|
f1d544d6a62fe950ddc113473cba83619caaec6b |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: 'fix' point coord semantic info This fixes the progs/glsl/pointcoord.c demo. But this isn't a proper fix. We really need a TGSI_SEMANTIC_POINT_COORD label so that the draw module can determine which fragment input / vertex output slot needs to be set up with the point coordinate info. We've been using generic slot 0 so far. This would also require telling the draw module about fragment shaders (something it doesn't have at this time).
tate_tracker/st_program.c
|
6785a8aaf4bff5f607731fdc6f19189c1088112f |
05-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Optimize polygon stipple emit. Only emit polygon stipple when the state is enabled.
rivers/dri/r200/r200_state_init.c
|
05b04084892cc54e52010837de8fd85cd64d3b7a |
05-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Add trace logging to r200PointSize.
rivers/dri/r200/r200_state.c
|
c036d13d7d2cc905226fe53ebd86a18da808963f |
05-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'fj/mesa-next'
|
69f20294cd8bed52e4a9b648158423c5f0754941 |
04-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r100: Add the polygon stipple state to the state list. This fixes glean paths test case.
rivers/dri/radeon/radeon_ioctl.c
|
4ac9c80e5beea26e13ccf12ce6bd9ee051c229f5 |
05-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_program.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_shader.c
rivers/dri/r600/r700_oglprog.c
ain/dd.h
ain/texenvprogram.c
hader/arbprogram.c
hader/atifragshader.c
hader/shader_api.c
hader/slang/slang_link.c
tate_tracker/st_cb_program.c
nl/t_vb_program.c
nl/tnl.h
|
0f763c5b000ad87c43da12bec014d5e367ae64fe |
04-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Add the polygon stipple state to the state list. This fixes glean paths test case.
rivers/dri/r200/r200_cmdbuf.c
|
77768cdd73acc512a6d3171731a9c1b20c996f3f |
04-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Add logging for glPolygonStripple.
rivers/dri/r200/r200_state.c
|
66229ea1845a6c19fd292c16e6dafeb9be94173d |
04-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Make debugging automaticaly increase logging verbosity for debug build. DEBUG preprocessor macro is set by configure script when --enable-debug is passed for configure. Radeon then just increase debugging verbosity if DEBUG is set in compile time.
rivers/dri/radeon/radeon_debug.h
|
bfb5dc68fcc9f5dee71f66d9499b8bdcde9627ea |
01-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
Import a classic DRI driver for nv0x-nv2x.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_bo_state.c
rivers/dri/nouveau/nouveau_bo_state.h
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_gldefs.h
rivers/dri/nouveau/nouveau_render.h
rivers/dri/nouveau/nouveau_render_t.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nouveau_surface.c
rivers/dri/nouveau/nouveau_surface.h
rivers/dri/nouveau/nouveau_swtnl_t.c
rivers/dri/nouveau/nouveau_texture.c
rivers/dri/nouveau/nouveau_texture.h
rivers/dri/nouveau/nouveau_util.h
rivers/dri/nouveau/nouveau_vbo_t.c
rivers/dri/nouveau/nv04_context.c
rivers/dri/nouveau/nv04_context.h
rivers/dri/nouveau/nv04_driver.h
rivers/dri/nouveau/nv04_render.c
rivers/dri/nouveau/nv04_screen.c
rivers/dri/nouveau/nv04_state_fb.c
rivers/dri/nouveau/nv04_state_frag.c
rivers/dri/nouveau/nv04_state_raster.c
rivers/dri/nouveau/nv04_state_tex.c
rivers/dri/nouveau/nv04_surface.c
rivers/dri/nouveau/nv10_context.c
rivers/dri/nouveau/nv10_driver.h
rivers/dri/nouveau/nv10_render.c
rivers/dri/nouveau/nv10_screen.c
rivers/dri/nouveau/nv10_state_fb.c
rivers/dri/nouveau/nv10_state_frag.c
rivers/dri/nouveau/nv10_state_polygon.c
rivers/dri/nouveau/nv10_state_raster.c
rivers/dri/nouveau/nv10_state_tex.c
rivers/dri/nouveau/nv10_state_tnl.c
rivers/dri/nouveau/nv20_context.c
rivers/dri/nouveau/nv20_driver.h
rivers/dri/nouveau/nv20_render.c
rivers/dri/nouveau/nv20_screen.c
rivers/dri/nouveau/nv20_state_fb.c
rivers/dri/nouveau/nv20_state_polygon.c
rivers/dri/nouveau/nv20_state_raster.c
rivers/dri/nouveau/nv20_state_tex.c
rivers/dri/nouveau/nv20_state_tnl.c
|
68f93ea3eb83cfad014b8ec93cec3564c1aa9833 |
04-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: add point_quad_rasterization bit to rasterizer state This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
tate_tracker/st_atom_rasterizer.c
|
2c326e72664e65166c68b027b26aaf373f3be36d |
04-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: add point size clamp to implementation limits in vertex shader The point size min/max registers (unused by mesa state tracker) were removed since most hardware couldn't do much with them. However, we don't want to have to rely on hw to do point size clamping correctly to implementation dependent limits, hence have to do that in the vertex shader. This should also solve a potential problem with (non-AA) points smaller than 1.0 which according to OGL still have size 1.0. Note that OGL point rendering is odd, in particular point sprites are rasterized differently to points. Some hardware might support those different modes, but in any case the different clamping values used for smooth/multisampled/sprite enabled points might help a bit for hw which rasterizes points the same as point sprites. Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in case of point attenuation.
ain/ffvertex_prog.c
hader/prog_statevars.c
hader/prog_statevars.h
tate_tracker/st_extensions.c
tate_tracker/st_mesa_to_tgsi.c
|
339d42b4e684343c743ea819337c057c0046323f |
04-Feb-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: reduce number of cache flushes We don't need to flush so often. Next step would be to move the flushing to the drm and only flush after each command buffer rather than each draw.
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r700_render.c
|
f1b07f0220bd71c86c977ba04cf20cf90d5e8958 |
02-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rot PXOR user in code were causing the lowest SP float register to have NaN values which made all math operations in that slot fail. Correct istruction to clear float registers is XORPS which handles single precission floats correctly. Fixes progs/tests/fog in swrast SSE mode. Now the correct commit instead of 66d09e4a2a6b770ddb which is not even close of correct fix for the bug.
86/sse_xform2.S
86/sse_xform3.S
|
7713069ae3ec24404d944d91614e4448b7c1a2c6 |
04-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_feedback.c
|
66d09e4a2a6b770ddb8cbbd89b7e4c53205a95d0 |
02-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
Revert "mesa: fix transform_points_3d_no_rot using undefined values in %xmm0" This reverts commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb.
86/sse_xform2.S
86/sse_xform3.S
|
b2a30497cc8b107ea74c3d8fbb646e59a4d55a05 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: increase number of texture units to MAX_COMBINED_TEXTURE_IMAGE_UNITS We were misinterpretting GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS previously. It's the number of texture units for which we need to keep state; not just the total number of texture units addressable by the vertex shader plus fragment shader. Since sw Mesa independently supports 16 texture units in vertex shaders and 16 texture units in fragment shaders, the max combined units is 32. Note that the docs for glActiveTexture() indicate the max legal unit is MAX(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_COORDS) - 1. A new piglit test (texunits.c) tests the various texture unit limits. I'm pretty sure I've got this all right now, but additional reviews are welcome...
ain/context.c
ain/mtypes.h
ain/texparam.c
ain/texstate.c
|
ea81daf9544205b892926bdbbcdfdfc63fd7d872 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: re-dimension RasterTexCoords and CoordReplace These are limited to the number of texture coordinate units.
ain/mtypes.h
|
89c8ff3382763c654ef680c522c287764d943d6c |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added texcoord unit assertion
ain/varray.c
|
82a2d3564a98ba6dc34d170150edcaa0768f6427 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITS
ain/points.c
|
a32e7c487cbae1a8521fa2d244763e2ec596af91 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added tex unit assert, use Elements() macro
ain/rastpos.c
|
cd130b0319644267e573360f296c6ccd0e2a1436 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: check for invalid texture coord unit in glGet queries
ain/get.c
ain/get_gen.py
|
60527ff32a23c34f23ae0b22df7130bf56b3dfa5 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: check/clamp texture/program matrix accesses Further testing should reveal if any these assertions are hit...
hader/prog_statevars.c
|
d82c37134457263715b8c571827df58ea6789593 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add error check for querying invalid texture matrix
ain/get.c
ain/get_gen.py
|
a06575aed66b818253bc79dcca3d6e19c92e4bba |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() as limit in loops over texture/program matrix stacks
ain/matrix.c
|
376ae23c3a226399f9f33be716f3990ff4442580 |
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add out of bounds assertions for accessing texture matrix stack
ain/texstate.c
|
45dac0d82a5a69166e86dce77c2550f7512c541e |
03-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-embedded'
|
4a4daa75a85db22cd37ebd533ebbccb427e07077 |
03-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: clean up point sprite rasterizer state Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
tate_tracker/st_atom_rasterizer.c
|
2ec50d256d49ff3b987459ed42a5dc66f02a6b9d |
03-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Factor out the fb initialization details from _mesa_new_framebuffer. This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/directfb/idirectfbgl_mesa.c
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/swrast/swrast.c
rivers/fbdev/glfbdev.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_api.c
ain/framebuffer.c
ain/framebuffer.h
tate_tracker/st_framebuffer.c
|
64da2aeebc04a98c999e4dac9290999d03c1e3d5 |
03-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
vbo: fix void * arithmetic warning
bo/vbo_split_inplace.c
|
db0eb3a437fbc88429b2d73444335b61035d824f |
03-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
vbo: Fix up in-place splitting for non-contiguous/indexed primitives. The in-place splitting code wasn't dealing with index buffers at all (and it was being called from vbo_split_prims for too big index buffers, causing some occasional corruption). Additionally, it wasn't taking into account primitives arrays with non-contiguous indices (e.g. given prim[0].start = 0 and prim[1].start = max_verts, it would happily call back the driver with (max_index - min_index) still greater than max_verts, causing infinite recursion). It still doesn't handle too large indexed vertex buffers: use vbo_split_copy for that.
bo/vbo_split_inplace.c
|
9b23e1f9a37a1d98f43673ea9f564b725f1f4283 |
12-Jan-2010 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: bump the gallium version number This is a very informal version number, but there have been enough changes that a bump is appropriate at this time.
tate_tracker/st_cb_strings.c
|
aac76dcea95dc80663c78a5c20ec3723a010fd8b |
11-Jan-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: remove some floating point divides in viewport calculation Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either.
tate_tracker/st_atom_viewport.c
|
f9d734c309ca044fc70dc79eafe32b12460d65c0 |
03-Feb-2010 |
Dave Airlie <airlied@redhat.com> |
r300: fix compiler bugs introduced with MRT changes. the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/r300_fragprog_common.c
|
3fedfc71289875de7e8381fb298aa26cee8d1822 |
02-Feb-2010 |
Scott Moreau <oreaus@gmail.com> |
Track frag shader changes introduced by commit 4769566500be1a53dd9b4cc1a613aef439a0e3d8 Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
rivers/dri/r300/r300_blit.c
|
88593fff492e345b28720067ce0aadb988e86a28 |
02-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Add a BITSET_FFS function. It will be useful for the nouveau DRI driver and IMHO there's no reason to keep it private. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/bitset.h
|
28486880ca3ec39419ccee0cb1a3bedc9ef7117c |
02-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
gallium: pipe/p_inlines.h -> util/u_inlines.h
s/state_tracker/st_cb_drawtex.c
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_framebuffer.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_inlines.h
tate_tracker/st_texture.c
|
4fea39721d04596b601b61429d5ce809309dec55 |
11-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300compiler: Add MRT number to debugging output.
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/radeon_program_print.c
|
4769566500be1a53dd9b4cc1a613aef439a0e3d8 |
11-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader. This maybe breaks the vert compiler. Hopefully not.
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_fragprog_common.c
|
edad20fff16a719a37a80fd9605a6d8a0383de13 |
02-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix EXT_fogcoord rendering. The fogcoord calue was not pushed to GPU because of implicit float to int conversion. Fix is to use float pointer to buffer object so no conversion is done in assigment
rivers/dri/r200/r200_maos_arrays.c
|
bdf975e9ad25ee65d796a3c1ce3f2afbd2889c4e |
02-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix texture deallocation bug This fixes a bug reported by Christoph Bumiller on mesa3d-dev. When a texture is first created as RGBA, then re-defined with glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate the original texture. When this texture was bound as a FBO surface, the depth/Z surface format was RGBA instead of Z. Depending on the driver this led to a failed assertion or FBO validation failure. This patch does three things: 1. Remove ancient code that mysteriously tested if we were replacing the smallest mipmap level and tested if the texture was not a cube map texture. I can't see any reason for those tests. 2. Move the width=height=depth=0 test to after the code which frees texture data. Calling glTexImage with width=height=depth=0 and data=NULL is a way to free a single mipmap level. 3. Update the code comments. There are no apparent conform, glean or piglit regressions from this change. (cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
tate_tracker/st_cb_texture.c
|
a2ddb3d20964e562e3dcb0e973f300362a9d5d69 |
02-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: change _mesa_find_free_register() to find multiple free regs Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e)
hader/program.c
hader/program.h
hader/programopt.c
|
e1906ae98ef4d8f153553056552c06ac4292d1f5 |
01-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: remove duplicate calculation of fp input mapping This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
d51b04320d79234f86fc2b881dab33e646400e76 |
01-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: remove dead stfp input_map array Was being calculated and not used. Also was probably incorrect...
tate_tracker/st_program.c
tate_tracker/st_program.h
|
12ffee5d58de487cd03e274f7d6f7118d9ad8206 |
01-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_print_vp/p_inputs() functions (debug aids)
hader/prog_print.c
hader/prog_print.h
|
04c3888cb6a88199a3a0ec4c227c15e0f0e606df |
30-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glslcompiler: add glapi_nop.o to OBJECTS
rivers/glslcompiler/Makefile
|
b232b68cdc3c522b57a50095e7b7b9d33315989a |
01-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add missing includes.
tate_tracker/st_cb_strings.c
|
5cc20a06b05bd551b663c050fb4802e2658decd5 |
01-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/api_exec.c
ain/context.c
ain/dlist.c
|
0df64f4bac5d2cb3c58adecdd5f447a38682fa4b |
01-Feb-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove duplicate assignment.
rivers/dri/r600/r700_vertprog.c
|
f8f2520e88cecf21aee5023423185deea7e44b23 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_program.c
tate_tracker/st_mesa_to_tgsi.c
|
980fa564e4c01c7b95099a13fb2d8926c510da01 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers.
ain/api_exec.c
ain/api_validate.c
ain/context.c
ain/getstring.c
|
c8f781e0ad6d6516e8763b72d54f21c19f1abc3f |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Silence uninitialized variable warning.
rivers/dri/i965/brw_vs_emit.c
|
8a2cf4549a4e88d8981d75b003ac0a43e71f5e41 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Remove unnecessary headers.
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex_copy.c
|
1a0d1fa36d76cab6dc5a8821f8677638f45b200e |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r600: Remove unnecessary headers.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_state.c
|
b41f963136b42fdb1b349bb2ff4bc1ed991ef937 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Remove unnecessary headers.
rivers/dri/r300/r300_emit.c
|
391892b0d8d46c4f0e43799fac61dd8246e4e023 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r200: Remove unnecessary headers.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
|
12eb32e34244db9923cacaaed9ba951b7ac274a4 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r128: Remove unnecessary headers.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
|
c6e26d76c7f59b51be00c960112c85ad4b3d2334 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_format.c
|
6e0f702b23ebdc9fbf6b20697624bc77be08383e |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_tex_layout.c
|
c641703f21c858464ca34a1f99c79ccfd9a85d70 |
31-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Remove unnecessary headers.
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
|
22bbc979944084ddffbb2c42a8178e172beaece0 |
31-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Respect texture tiling when doing a PBO blit teximage upload. Bug #26008. Fixes piglit pbo-teximage-tiling-2.
rivers/dri/intel/intel_tex_image.c
|
a44219c5543ade267f668312e1faf773c41eedb8 |
30-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix inverting of inversion test for windows in glClear cleanup. Bug #26290.
rivers/dri/intel/intel_blit.c
|
3fc73c389a62228792608b3c7a9cf7ad24f1a8b3 |
29-Jan-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'lb2/arb_fragment_coord_conventions'
|
6fea2be7959620fe0a1b28c275a7d960005c8b09 |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
tnl: check that state is validated before drawing (cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
nl/t_draw.c
|
987dd63b90adc77b2ae580579a9baed4a3d56382 |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: check that state is validated before drawing (cherry picked from commit 4d1234e22242529c8d85f5ef0cf826af41a91570) Conflicts: src/mesa/state_tracker/st_draw.c
tate_tracker/st_draw.c
|
5ce9183c1c535d924a79c2b6b280c6a2648cec19 |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
vbo: fix missing state validation bugs Commit 2708ddfb06a36d8568e2aa130bf1f7d551fcd309 caused a few regressions. We need to check/validate state after calling bind_arrays() because it might set the _NEW_ARRAYS flag if the varying VP inputs change. The symptom of this problem was some attribute arrays being ignored (or interpreted as constant-valued) in glDrawRangeElements or glMultiDrawElements. A follow-on patch will add some additional asserts to try to catch this kind of thing in the future. (cherry picked from commit 3cba779e16935f7c3a0bfd8af48bd5e015068e96)
bo/vbo_exec_array.c
|
a38859569dca1d8b139c4c451499bf6e328379e9 |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: do state validation in _mesa_valid_to_render() ...rather than checking/validating before all the calls to _mesa_valid_to_render() and valid_to_render(). The next patch will actually fix some bugs... (cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
ain/api_validate.c
ain/context.c
|
ee5e84eba6e94ddd504cb9e0aaaae7363160e74b |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
windows: assorted build fixes These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
|
4886f677ecf121c863f8f65a846284ab9d26cbea |
29-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: Warn when indices are out of bounds, but do not skip the draw in debug builds. The driver (or preferably the hardware) should handle out of bounds indices. If there are problems then it's better to detect those in the debug builds. (cherry picked from commit e3257912e006120f6ab611e77005eed1a464030a)
bo/vbo_exec_array.c
|
62c673b6ac65d27ed83acc92434874b45f75db5c |
21-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
st/mesa: Gallium support for ARB_fragment_coord_conventions (v4) Changes in v4; - Implemented Brian Paul's style suggestions Changes in v3: - Use positive caps instead of negative ones Changes in v2: - Updated formatting The state tracker will use the TGSI convention properties if the hardware exposes the appropriate capability, and otherwise adjust WPOS itself. This will also fix some drivers that were previously broken due to their incorrect, inadvertent, use of conventions other than upper_left+half_integer.
tate_tracker/st_extensions.c
tate_tracker/st_mesa_to_tgsi.c
|
3cea5525d0b59c7dadb4be634cc244948cd634e6 |
28-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: don't expose GL_ARB_fragment_coord_conventions until the GLSL part is done Exposing it was incorrect, as the GLSL part of the extension is missing. We still keep the ARB_fragment_coord_conventions field, so that the ARBfp parser can know whether to accept or reject the keywords.
ain/extensions.c
|
f20e83210e81a33712f52eaa8d944d116b56b46c |
28-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Set the region's tiling to none when attaching a PBO to a region. Note that when detaching the PBO from the region and making a new BO for the region, we don't make it tiled even if the region originally was. Fixes piglit pbo-teximage-tiling.
rivers/dri/intel/intel_regions.c
|
c9886d535e4ac5ae108b1015a9682f4ddd297536 |
28-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i915: Remove unused initial and current state, now that there's nothing else.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
f9439e4a4696b8bc5fcdf3ac664f5e8d446f6621 |
28-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove long-disabled meta readpixels, and associated meta support.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_read.c
|
9b346f83a7b672e913a7bb6a089d5dbd7fbdce06 |
28-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge commit 'origin/perrtblend' Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
|
9851644435f991a1a1bbb145333a97601627b37d |
25-Jan-2010 |
Michal Krol <michal@vmware.com> |
gallium: Enable multiple constant buffers for vertex and geometry shaders.
tate_tracker/st_draw_feedback.c
|
1eb1d4e23885b4921cff27473aadb93b942865b1 |
28-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Silence "format" compiler warnings.
rivers/dri/radeon/radeon_queryobj.c
|
714d3ec9bc3e9085fe7caf522dc001198aaf685c |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
wrast/s_alpha.c
|
dd89ac249c56d04bbc23ecd9877426af9f09269c |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix int/uint comparison warnings Reported by Karl Schultz.
bo/vbo_exec_array.c
bo/vbo_split.c
|
20fbb24b67dda0679774756e4b6d98c2c66c2c42 |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix double->float assignment warnings, int/uint comparison warnings Reported by Karl Schultz.
hader/nvprogram.c
hader/prog_execute.c
hader/prog_optimize.c
hader/program.c
hader/shader_api.c
hader/slang/slang_codegen.c
|
6703fb1917a79889df31777682283556c31e30bd |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix double->float assignment warnings Reported by Karl Schultz.
ain/dlist.c
|
ca0d048e4e0cc5885cd309cdf9057cfe6044924e |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix int/uint comparison warnings Reported by Karl Schultz.
ain/fbobject.c
ain/teximage.c
|
28bd4a1d81c200d7eff4545de946dd943d853b08 |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
tnl: fix double->float and int/uint conversion warnings Reported by Karl Schultz.
nl/t_draw.c
nl/t_vb_points.c
nl/t_vertex.c
|
880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: silence double->float assignment warnings Reported by Karl Schultz.
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_alpha.c
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_points.c
wrast/s_span.c
wrast/s_texcombine.c
wrast/s_texfilter.c
|
4e5364d6fcd63b6f927ac4fb76effec0007d6797 |
28-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more info in glActiveTexture error msg
ain/texstate.c
|
ccb4ba3e3b147426a0534763ffe20571336c3cf1 |
27-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix warning
rivers/dri/r600/r600_context.c
|
1fdf04ade3f99f943cb7c6e8784b6a9c9686d452 |
27-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: rv670 support 8 tex instructions just like other r6xx also clarify some other const values.
rivers/dri/r600/r600_context.c
|
07d47cb92d7401b7a5ed21a8f97949f4bd2f66bc |
27-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: increase max texture units to 16
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_tex.h
|
fb24c2678a3f5150a2316a08a37bacdb3b9d2687 |
27-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix XPD with writemask same variable used for 2 different temp registers fixes e.g. glsl/bump
rivers/dri/r600/r700_assembler.c
|
395e08a839bca94b8c0cd7fca4b48bb06bc02952 |
27-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: don't clean non-emitted state. So if we don't actually emit an atom to the hw because we don't need it in the current state (e.g. lighting related atoms when lighting is off) then don't mark it as clean, because when lighting gets switched on we won't emit it at all. This fixes funky gears colors. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_common.c
|
e6df209490a265f35be255468d7b9123404ef14c |
27-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: remove unused file
rivers/dri/radeon/radeon_lighting.c
|
2792baec343e5773ff51e93c1b6df8b63d3af4af |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead code from having to clip copyteximage source rect. mesa core does it now. If only it did so for other entrypoints.
rivers/dri/intel/intel_tex_copy.c
|
c8e6a0f2f8637d803006d207bb2fb8e4292bdb28 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use a handy helper in glReadPixels source clipping.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_pixel_read.c
|
41f4d82ba8e2497d9fe27f55cb1b8707862fed46 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Clean up stale comments about cliprects.
rivers/dri/i965/brw_sf_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_pixel_bitmap.c
|
a389d6bd566ba241a285c3a33039d5e964bc8f30 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove the remaining cliprects code from DRI1.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.h
|
ee454f0ba422e37157c7ac774884474bcc6c9d34 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove DRI1 junk from spans code. This reduces the driver size by over 1%.
rivers/dri/intel/intel_span.c
|
348fadc5df83c22b237c59f1aed26573ab9f7506 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove DRI1 junk from blit glBitmap.
rivers/dri/intel/intel_pixel_bitmap.c
|
3f912e0b3a84ef3703b974a6c29dbe3ec8e817b2 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove DRI1 junk from CopyPixels.
rivers/dri/intel/intel_pixel_copy.c
|
3efd88f183485fc8a4cde3ec306c6a9191477902 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove DRI1 junk from glClear blit implementation.
rivers/dri/intel/intel_blit.c
|
a3d8e7e48152d88217a409bf366e10497ee75763 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove DRI1 leftovers from stipple offset handling.
rivers/dri/i965/brw_misc_state.c
|
1187a3c957578355f0e4475d45a4eab4c13d4cd8 |
27-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Silence uninitialized variable warning.
tate_tracker/st_cb_condrender.c
|
63b10e8fe71c1de5b0ee9aac72fd7303551f59a0 |
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix PBO blit ReadPixels from an FBO. Bug #25921 -- clutter PBO usage gave unreliable results.
rivers/dri/intel/intel_pixel_read.c
|
ab53f710151d920286d0c92f93262fb468008051 |
26-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Add support for EXT_draw_buffers2.
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
|
f62c2a0bb89041567467a6c01cf1eb27cec01e9e |
26-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix fp fragment.position handling and enable HW part of ARB_fcc. As with swrast, this fixes the default pixel center behavior which was broken, and implements the previous behavior for integer. Fixes piglit fp-arb-fragment-coord-conventions-none. The extension won't be exposed until we get the GLSL part implemented. The DRI1 origin_x/y parts are dropped since they're no longer relevant.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
|
11c581c6ce0b09dc4203a7f93ebb8f76357f19be |
26-Jan-2010 |
Eric Anholt <eric@anholt.net> |
swrast: Implement ARB_fragment_coord_conventions but don't enable. This brings swrast's support up to the state of gallium, and fixes the default center behavior of fragment.position.xy in piglit fp-arb-fragment-coord-conventions-none. The extension is not enabled currently because the GLSL part of the extension isn't supported, so piglit glsl-arb-fragment-coord-conventions-define fails as would any serious test of the GLSL part.
wrast/s_fragprog.c
|
43867acb6afc7fad26cdc2f22b2a3bb6eeefb2da |
26-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Merging was easier than cherry picking in this instance.
|
68ca19afd7299fa9c686f95d53b7e14df37aba4c |
26-Jan-2010 |
Erik Wien <wien@start.no> |
mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit support If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
ain/fbobject.c
|
06d228d8b92b7f4031f0596d498c24c4ed952e68 |
26-Jan-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
intel: make sure we update the renderbuffers after a swap Now that LOCK_HARDWARE is gone, we don't have a convenient place to update the renderbuffers everywhere we need them. So grab new buffers when we invalidate the old ones until we optimize things further.
rivers/dri/intel/intel_screen.c
|
cbecb8fc8e85cfafed7fd8fd0e2dd1143efcf62b |
26-Jan-2010 |
Brian Paul <brianp@vmware.com> |
vbo: if 'end' is out of bounds, clamp it If we determine that the 'end' parameter to glDrawElements() is out of bounds, clamp it to the max legal index value.
bo/vbo_exec_array.c
|
645e297a0019eb2f7513bd801ffdaac03187f29f |
26-Jan-2010 |
Brian Paul <brianp@vmware.com> |
vbo: clamp DrawElements start/end to max possible values Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
bo/vbo_exec_array.c
|
af1e9403e732651fe2cedde230ac7010f2f1a649 |
26-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant _MaxElement computation Eric added some new code to check if offset < obj_size before computing _MaxElement but my original code was still present afterward and it clobbered the _MaxElement value. Not sure if this came from a bad merge or what.
ain/state.c
|
9bc80ff17496feda3b47cf40e577976237f87957 |
26-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa/st: code cleanups for new blend functionality minor code changes, style and comment fixes
tate_tracker/st_atom_blend.c
|
7aed23c36288c2b343073d6d06ca0ea167805cd3 |
25-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Don't do client-side frame throttling with DRI2 SwapBuffers. The server side does the throttling on our behalf now by putting the client to sleep, so we don't need our previous hacks for limiting the number of outstanding frames. Same effect as 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
c7fc9bfb2207638a479ddaff3ad108ffd9cd294a |
25-Jan-2010 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Use the new DRI2 flush invalidate entrypoint to signal frame done." This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke throttling in the non-new-DRI2 case.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
5e1851b144a97bd577409dd5c6f3f6f45b4ff56f |
20-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Remove unnecessary malloc/free in VS binding table setup.
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
|
a098fd71d7b7347bb8f1841bad0e7ce24e0e6de9 |
26-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix build after merge of mesa stable branch.
rivers/dri/i965/brw_context.c
|
9b22427911ad27efc1f36faee9462c6082d0417c |
25-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
|
7e7f8815fbfa21ab2397e673fa19c36603bc7a51 |
25-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r300: rv350+ support FLT16_2/4 vertex formats
rivers/dri/r300/r300_context.c
|
5fae36147e1067ac8b1eb5bcade2f9b1dbf29aa4 |
25-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasks uses the new gallium per-rt blend functionality
tate_tracker/st_atom_blend.c
tate_tracker/st_extensions.c
|
9328f3a670993167d7fb9a590f9e712467e77c7c |
20-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
Fix compressed texture loads for non-minimal pitches again My commit eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 does a memcpy of height lines, but that's wrong because the texture has a block layout and we must thus use the number of vertical blocks instead of the height. Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_texture.c
|
47d30b0c2c36f952cc14deefb9f937f1b0a9b531 |
25-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix int->uint conversion for negative scissor bound values Based on a patch by Xavier Chantry <chantry.xavier@gmail.com>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
tate_tracker/st_atom_scissor.c
|
e88d6fe299cb43eedfae7f0fa3bb14c8086a8cd4 |
25-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_debug() call earlier in _mesa_Scissor Part of a patch from Xavier Chantry <chantry.xavier@gmail.com>
ain/scissor.c
|
fdfa4c85297d5d25e7256bf73e35309b358af86c |
23-Jan-2010 |
Xavier Chantry <chantry.xavier@gmail.com> |
st/mesa: fix unsigned/signed breakage in scissor commit 53174afeeb introduced a portability change that converted GLint x,y to GLuint. That breaks when x and y are negative, which seems to be allowed, and which at least one game uses : teeworlds. Rather than simply reverting the change, it seems possible to convert the 16bit unsigned to GLint so that comparisons are made between signed integers instead. This hopefully does not break anything while keeping MSVC happy. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_atom_scissor.c
|
7be4d6b5f7ee8ccf8a5dfc117b348c2a165d4054 |
24-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Improve Makefile rules. Make sure glapi headers are cleaned when "make clean". Make sure all sources depend on subdirs-stamp-tmp so that sources/headers are generated first. subdirs-stamp-tmp will be removed after a successful build. It might be a problem when a build fails. But it is much better than where we currently are: glapi headers are never cleaned or re-generated.
s/Makefile
s/glapi/Makefile
|
e85cb98a169f83e1a1ad7f17cbbedaee0ea47fe1 |
24-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r200: Silence fprintf format warning.
rivers/dri/r200/r200_vertprog.c
|
e02dc139520fab9f7189e0ae390f72ed674bb7d7 |
24-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Do not build read_rgba_span_x86.S on Mac OS X. read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
86/read_rgba_span_x86.S
|
f429b80fffc57a6165b76e9345cf5b9383edd650 |
24-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Do not use .hidden pseudo-op on Mac OS X. The .hidden directive is an unknown pseudo-op on Mac OS X.
86/assyntax.h
|
bc75ec0f3824176f3fd7182846b3ec36051945b3 |
24-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glapi: Do not use .type pseudo-op on Mac OS X. The .type directive is an unknown pseudo-op on Mac OS X.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
b62b524fee5f1b9ec9b53cc8f550a0c9a3d769c2 |
24-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Remove unnecessary headers.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertprog.c
|
fb6bff3712d71cfe131fbf70154d326cdf39e7c8 |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_swapbuffers.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
146a77af3f68d3a935fad5b143123280049e6c60 |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
radeon: Remove unused variable.
rivers/dri/radeon/radeon_cs_legacy.c
|
4bad0aef40b87cf1a2ef8ecb5cd560d8a162d0ec |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tdfx: Remove unnecessary headers.
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_vb.c
|
283d9565bf18b828e1bc6ed8ef2692132b4e359e |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
sis: Remove unnecessary headers.
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
|
09a142e5db8dc72407ffb16a1a4e02d6540f6095 |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
savage: Remove unnecessary headers.
rivers/dri/savage/savagedd.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
ca54a5b92043ba9564aca5af47f8c57a53cc48bc |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mga: Remove unnecessary headers.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgavb.c
|
634ec5c2abf05a9a8c27d9199ded5d1ad91e538a |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i965: Remove unnecessary headers.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
|
329c1b59106cf4ada27eaa4694600dc281d8c0de |
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i915: Remove unnecessary headers.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_debug_fp.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
|
9a62f0ce3bffd37bad101552b57347e0855d1df1 |
22-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
r300: only enable half floats on r500s. Thank to MAD for point it out.
rivers/dri/r300/r300_context.c
|
782b6885c2573e1f004d9572eb386d9e1f392254 |
22-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
Merge branch 'arb_half_float_vertex'
|
d82b8038fda47e825cbd093b3ae198a85a163b25 |
22-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
r300: half float support Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_reg.h
|
96f2f0daeadd5bd2d8433e31a1b122c2bd709390 |
18-Jan-2010 |
Dave Airlie <airlied@linux.ie> |
i965: add support for ARB_half_float_vertex enables the extension on i965 and adds support to the draw upload for the vertex format. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_extensions.c
|
cfe884e2030466df673881da8e830c300dda40db |
18-Jan-2010 |
Dave Airlie <airlied@linux.ie> |
mesa: add core support for ARB_half_float_vertex. Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <airlied@redhat.com>
ain/extensions.c
ain/mtypes.h
ain/varray.c
nl/t_draw.c
|
1ac5fd594a00d83f9b103ac6261bedabdb7e6b32 |
18-Jan-2010 |
Dave Airlie <airlied@linux.ie> |
glapi: add GL_HALF_FLOAT enum support. Regenerate enums files and GLX indirect. Signed-off-by: Dave Airlie <airlied@redhat.com>
lapi/gl_API.xml
ain/enums.c
|
4b770d1a11c289914bf54f4b3365f21615661c29 |
23-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Include glheader.h in glapi_nop.c. In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
lapi/glapi_nop.c
|
2292c93bc0f703d1ebdc2b79b5f525efebe21f1c |
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glapi: define GLfixed, GLclampx types for ES 1 I'm not 100% sure this is the best fix, but it seems OK.
lapi/glapi_nop.c
|
46c7cd665c9bc93e7254771b16b010fb10ce3707 |
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect freeing of drawpixels vertex shaders These shaders are not st_vertex_shaders, but tgsi ureg shaders. Fixes fd.o bug 25959.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
b23b13b69061d419b6f4e006dc5ca836a6b1e2be |
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use memcpy() in _mesa_ProgramEnv/LocalParameters4fvEXT()
hader/arbprogram.c
|
ffe4e2a6677beecf1e724f4a64100b24e0b05970 |
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use switch in _mesa_DeletePrograms()
hader/arbprogram.c
|
7b5ad23c7f7f9016f725cb1caa3cf8971aeedbc8 |
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/shader/prog_execute.c
|
099e8ec54d4f7b9cd9ae3a481d6a6ae60f4590be |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy() This is faster and ensures that NaN floats get stored properly. Before, NaN values (which might be used with UP2H, UP2US, UP4B and UP4UB) weren't getting stored properly with gcc -O3. This is the second part of the fix for the piglit fp-unpack-01 failure (bug 25973).
hader/arbprogram.c
|
8d1a01d37039a76ecbb8fdb4c10ff8d11aa02dfb |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use new fetch_vector1ui() function for 'unpack' GPU instructions The UP2H, UP2US, UP4B and UP4UB instructions interpret the float registers as integers. With gcc -O3 some bits were getting mixed up somewhere. This is part of the fix for the piglit fp-unpack-01 test failure (bug 25973).
hader/prog_execute.c
|
cd8614b0287dc5a69725ec4ee0208fad61f7789e |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
|
2b20b604277e3cdf7afb2431b50dbb05da12ff1c |
22-Jan-2010 |
Alan Coopersmith <alan.coopersmith@sun.com> |
mesa: Add "shader/" path to #include statements in shader parser/lexer sources Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Note sure why the compiler's -I paths aren't doing the job, but this is OK. Signed-off-by: Brian Paul <brianp@vmware.com>
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.y
|
e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glapi: clean-up and simplify glapi_nop.c code Removed _glapi_noop_enable_warnings() and _glapi_set_warning_func(). Just check the DEBUG env vars and call fprintf(stderr) with a warning message instead.
lapi/glapi.h
lapi/glapi_nop.c
ain/context.c
|
126aff18aaf7512dfe07e4fd43e21a2ecd3a96ff |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glapi: split the no-op dispatch code into new glapi_nop.c file This unclutters the glapi.c file a bit.
Conscript
lapi/Makefile
lapi/gl_apitemp.py
lapi/glapi.c
lapi/glapi_nop.c
lapi/glapitemp.h
ources.mak
|
ea5918be0e8bc75086a7e6d4a8c0fa04585028ee |
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glapi: fix int->pointer conversions warnings in no-op functions
lapi/glapi.c
|
96280c2a41e5fda570ba37ff5fca87f2cde59234 |
22-Jan-2010 |
Ruediger Oertel <ro@suse.de> |
Fix PowerPC related typo in spantmp2.h Signed-off-by: Matthias Hopf <mhopf@suse.de> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/common/spantmp2.h
|
69e26a08c6d108366e8507d9d3d55036dc81cce7 |
22-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: enable sampler lod* bits bits, settings derived from testing, might contain some errors...
rivers/dri/r600/r600_texstate.c
|
70ccca42515e01f8e6c01b39128721f31edba041 |
22-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: update vport z & clipping when depth_clamp is changed fixes piglit depth_clamp
rivers/dri/r600/r700_state.c
|
9bf40cea00b2f509074bba3ace39c4ffbabdf047 |
22-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix brownbag, only align if we are dealing with cubemap
rivers/dri/radeon/radeon_mipmap_tree.c
|
714d9c21ecc97134a0f9fd58075152acd55cde32 |
22-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: cubemap levels seem to be aligned to 8 images
rivers/dri/radeon/radeon_mipmap_tree.c
|
278ad74fe060ab8ba21d21b675a40f6758edaeca |
21-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
radeon/fbo: flush rendering before generating mipmaps or maybe should flush(also) in finish_render_texture...
rivers/dri/radeon/radeon_texture.c
|
7c6f51cdccdd0ed6370ce86ba21549991f4f4293 |
04-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
radeon/fbo: use correct depth texture offset for depth textures
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
|
defd45e95e1a9df29d2e72be671cc2e096093e36 |
21-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: enable draw_offset fixes some fbo cases (mipmaps, cube textures ..)
rivers/dri/r600/r700_chip.c
|
3f6d732bfbe36b87f735d4f2287b21ad2ddd7535 |
22-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_viewport.c.
tate_tracker/st_cb_viewport.c
|
2a928899e345e400c4266910b4e33b36a20575e2 |
22-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove USING_EGL and the related drivers. They do not build for a long while and there seems to be no active users. It might be better for them to live in the git histroy.
rivers/dri/fb/Makefile
rivers/dri/fb/fb_egl.c
rivers/dri/r200/Makefile
rivers/dri/r200/server/radeon_egl.c
rivers/dri/r300/Makefile
rivers/dri/r300/server/radeon_egl.c
rivers/dri/r600/Makefile
rivers/dri/r600/server/radeon_egl.c
rivers/dri/radeon/server/radeon_egl.c
|
8410f7cde30cc1170ae266cf3a0eb7e0e37c454a |
21-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use pipe_buffer_write_nooverlap where appropriate.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_inlines.h
|
2cf8164065b8704e2f32d77af14cde9e7979435c |
21-Jan-2010 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r200: fix CS section size mismatch Partial fix for fdo bug 25544 The tex handling will still need CS drm changes, see bug 25544 for more.
rivers/dri/r200/r200_state_init.c
|
dc2914ab2645d2947898f96f9535f557c7c188cf |
21-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: minor whitespace fix
ain/extensions.c
|
e59353f592ef587d34279f0735f06053e289a7b4 |
21-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: support for GL_ARB_fragment_coord_conventions Signed-off-by: Brian Paul <brianp@vmware.com>
ain/extensions.c
ain/mtypes.h
hader/arbprogparse.c
hader/program_parse_extra.c
hader/program_parser.h
|
4736e1cbbd4e2cf7fa4c67a728d520edc67e920f |
21-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
dri: Remove unnecessary glapi headers. They are not used at all.
rivers/dri/common/utils.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_fallback.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/radeon/radeon_ioctl.c
|
bdd250080593c6d0d5addcaff0b2a5c880d7a3b2 |
21-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
Do not include glapi/dispatch.h outside Mesa core. Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
rivers/x11/glxapi.c
lapi/Makefile
|
e19b3c01f4442e2c85c6df19847368ecb7b2451f |
21-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mach64: Remove unnecessary headers.
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_vb.c
|
7c66211b7dcf302685b8cc3f80a4d90b73d7d62d |
21-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i810: Remove unnecessary headers.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810render.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810vb.c
|
0bc2cbf82a20c0fa5b160605eb7e8118791f5fdd |
21-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
ffb: Remove unnecessary headers.
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_xmesa.c
|
bef610f693266c338b99511b4d1eea5d5b97644e |
20-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and write masks per render target, ARB_draw_buffers_blend (and other APIs) also allow independent blend functions. Things like dithering, logic ops however are not extended to be per rendertarget, that might be conceptually possible however it doesn't look like any API wants to expose this.
tate_tracker/st_atom_blend.c
tate_tracker/st_cb_clear.c
|
156c90e5c3289fda8290bdd04c5cb5041a65113d |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: re-adding missing pitch alignment check in blit code lost after switch to common code
rivers/dri/r200/r200_blit.c
|
05208b298d218071bae75a52a16e4483ca64c94d |
20-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace questionable CPU_TO_LE32 macro with function
ain/compiler.h
|
65d2a266375cf32fd90c7fb77fb87993d3a652ea |
20-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix format logic in compatible_src_dst_formats() We need to consider the user-requested formats, not the actual device- chosen formats. See code comments for more details.
tate_tracker/st_cb_texture.c
|
67aa70411249cf0f8c39eedaf8432ad537c166ca |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: fix some breakage after move to common blit code
rivers/dri/r200/r200_context.c
|
5a99ca490fee65d37a4c7469888680b412d27f7f |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c noticed by Maciej on IRC.
rivers/dri/r200/r200_blit.c
|
917b6d2a4b0e330e34e06b3c37ebc906f974b26b |
05-Oct-2009 |
Alan Coopersmith <alan.coopersmith@sun.com> |
Remove hardcoded -Wall from Radeon DRI makefiles Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
rivers/dri/radeon/Makefile
|
5e8240320ac39a3e8984054bc300743725312741 |
20-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
Merge remote branch 'origin/opengl-es-v2'
|
031f23ac3a3a9219f93268fb4517ab0f80d9be42 |
20-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added comment about future FBO formats
ain/fbobject.c
|
cd232ae22f9590976d0fabd1eb0e75c4d58d96bf |
06-Jan-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: enable EXT_framebuffer_multisample Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_extensions.c
|
76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200: fix Y coord flipping in accelerated blits
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
1bb6b1d9dbabafdb864ee112526b1212744ac614 |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200: fix dst pitch in blit code
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
f965345ea54a46cd9fcfd3bf24d078defd128425 |
20-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: add missing symlink to radeon_tex_copy.c
rivers/dri/radeon/radeon_tex_copy.c
|
1f0709fd8f69bf8cc3e9502bad8d3e7296d935fb |
20-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r100/r200: align to pitch updates in blit interface
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
2706bc6a8898c7d7e155440cfa793035e56186b8 |
19-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r200: use common glCopyTex(Sub)Image code
rivers/dri/r200/Makefile
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_blit.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texcopy.c
|
5170d2452beafc4a6f5859792d6c6b267c549e46 |
19-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r100: use common glCopyTex(Sub)Image code
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_blit.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texcopy.c
|
8a4d7393bd8a752eba2ee687c1c3e2df5c82745d |
19-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r300/r600: share common glCopyTex(Sub)Image code
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texcopy.c
rivers/dri/r300/radeon_tex_copy.c
rivers/dri/r600/Makefile
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texcopy.c
rivers/dri/r600/radeon_tex_copy.c
rivers/dri/radeon/radeon_tex_copy.c
rivers/dri/radeon/radeon_texture.h
|
0aed44f8a36d4974d42f643c5065f2a4d96fc619 |
18-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r600: align to r300 changes in the blit code Pitch here means aligned width, not aligned width * bpp.
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_texcopy.c
|
0174dac5f3bd47c0a2dcd40319bff288c83ee96a |
18-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300/r600: move some bo offsets checking to blit code In preperation for texcopy code sharing.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_texcopy.c
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_texcopy.c
|
ac8afd401fa5840cf726184329dac75197a50c2e |
18-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r600: prepare for some code sharing
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_texcopy.c
|
f54e96c5976f0997dd3163ef027a44a3d79c43e2 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: check if blitting for given format is supported earlier Prevents failing assertions at later stage.
rivers/dri/r300/r300_blit.c
|
acac99e35ac28e3d7209b6891dd197bf94055793 |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use nearest texture filtering for accelerated blits
rivers/dri/r300/r300_blit.c
|
f2fea26269ac6b386f78fb68168fade4ae3290df |
16-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix Y coord flipping in accelerated blits
rivers/dri/r300/r300_blit.c
|
11affafc75525c50a2b4ffc9f91c1fe620d328fb |
10-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: use mesa provided _mesa_tex_target_to_face function
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
9363a813f1393f7c41c7af961ffc26947ad92572 |
10-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: prepare for texcopy code sharing
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_texcopy.c
|
f542fde77effbc3c780940e139fc2572e818a179 |
10-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add blit function to vtbl
rivers/dri/radeon/radeon_common_context.h
|
8f7dfe302557eca6a48d03abc38bfc32dbe2ad8f |
20-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead note_fence vtbl hook.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.h
|
a45f24c0a407980b906394d2cfc1e1dc2fdf43cd |
24-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Improve the hashing of brw_state_cache keys to include the cache_id. No measurable difference on cairoperf.
rivers/dri/i965/brw_state_cache.c
|
d1cefabf98ac25832a420b245549492cc3bc6b4d |
22-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove obsolete comment about the state atoms.
rivers/dri/i965/brw_state_upload.c
|
fb4901593c9495714d3f54920a28c271852e2112 |
19-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Upload as many VS constants as possible through the push constants. The pull constants require sending out to an overworked shared unit and waiting for a response, while push constants are nicely loaded in for us at thread dispatch time. By putting things we access in every VS invocation there, ETQW performance improved by 2.5% +/- 1.6% (n=6).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
62a96f74c9a1fd07301d349e4181a7212fc7d45c |
18-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Allow for variable-sized auxdata in the state cache. Everything has been constant-sized until now, but constant buffer handling changes will make us want some additional variable sized array.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
7d4e674b212c9dc6408c13913a399bd4a2b9a1e3 |
19-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use the new DRI2 flush invalidate entrypoint to signal frame done. Previously for frame throttling we would wait on the first batch after a swap before emitting another swap, because we had no hook after a swap was emitted. This meant that if an app managed to squeeze everything it for a frame had into one batch, it would lock-step with the GPU. With the swapbuffers changes, we now have the entrypoint we want. This takes the WoW intro screen from 25% GPU idle and visibly jerky to 4-5% GPU idle and rather smooth. Other apps such as OpenArena have run into this problem as well.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
a7aaf052f935cb51b7b616a7a764c57fc01b2821 |
17-Jan-2010 |
Alan Coopersmith <alan.coopersmith@sun.com> |
Sun compilers now support some gcc __attribute__ values Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
lapi/gl_XML.py
lapi/glapitemp.h
ain/compiler.h
|
116a02be2264807dafb5fdfd4e3c913bb728c11f |
11-Jan-2010 |
Ben Skeggs <bskeggs@redhat.com> |
st/dri: update dri2 drawables when viewport is changed Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
tate_tracker/st_cb_viewport.c
|
faa99dd31de7dad4e9851b12f7f788adb6fce0fc |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
unichrome: Remove unnecessary headers.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_texcombine.c
|
45a27eacd6301078c6f62682193dda3141088fe2 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from attrib.c.
ain/attrib.c
|
ef631104d51d011ef1dbaf7b4aeba274ae103ad7 |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
2613fa815abd7d794ec7144f0ad19ef4f65da991 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from blend.c.
ain/blend.c
|
2b1d5ea4f0250a6a7fa312ced0a7af85e909381b |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200/r600: check if blitting for given format is supported earlier based on Maciej's r300 patch.
rivers/dri/r200/r200_blit.c
rivers/dri/r600/r600_blit.c
rivers/dri/radeon/radeon_blit.c
|
a67cd1994f3474dd638af76b2bf5b19490863cba |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100/r200: add blit support for ARGB4444
rivers/dri/r200/r200_blit.c
rivers/dri/radeon/radeon_blit.c
|
c4ad036ce145ab04677b6e40c18315906b897a31 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from buffers.c.
ain/buffers.c
|
7366d8e7d20efc673702d7c6c9603d507edcf06d |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from convolve.c.
ain/convolve.c
|
08063ba4499c47c9b55c80878a668050c6272c30 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix typo of 'unknown' in debug.c.
ain/debug.c
|
b36b85f9d0c721188582e6daa3328ab9766f85c0 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from debug.c.
ain/debug.c
|
6deb8c9831c60ed5ae93966b5a37d1215b8682a4 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from depthstencil.c.
ain/depthstencil.c
|
2660511ea94c2d3abe8495258f7ea693cae3759e |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from dlist.c.
ain/dlist.c
|
7395ab042aedb3ef29d3c5d974138bc4430cb772 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from drawpix.c.
ain/drawpix.c
|
0b3109aa053539b2e07ec16da980615f16dd8c2b |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from enable.c.
ain/enable.c
|
536e3c9168c315651210ca853eb8cb4423f9f71c |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from fbobject.c.
ain/fbobject.c
|
b6dce54214c804e46aab05acd03a64c35a9baa63 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from formats.c.
ain/formats.c
|
2cbc3e0a206b701780c893cf96507778ab1fb5a1 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from image.c.
ain/image.c
|
8fb92e96e90a8cb57da78444fd3395aba424cb0a |
19-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.
tate_tracker/st_format.c
|
ebd10755984d582fa65c71b58bc20015e2ea9caf |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from lines.c.
ain/lines.c
|
d0125e3c29942ae7a81a66748ea53b402114993d |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from mipmap.c.
ain/mipmap.c
|
ed5a116eb411aed2a2f1986a1effbb8a426b0065 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from pixel.c.
ain/pixel.c
|
2f83948370c686d1f5f0b1e0d23b5286169e850d |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from pixelstore.c.
ain/pixelstore.c
|
419ae5a48339795d369a41d66312246b2e19f201 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from points.c.
ain/points.c
|
80ea879cfa63354ec1312a107f63934c1e6c7824 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from polygon.c.
ain/polygon.c
|
f6d529083fe7d945d522b4ab65314e89540238c4 |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r60: Add relocs for CB_TILE/FRAG as per 46dc6fd3ed5ef96cda53641a97bc68c3bc104a9f
rivers/dri/r600/r600_blit.c
|
66035503532a17110e36d1d1053e98a1595d03d9 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from state.c.
ain/state.c
|
ec29ba12a687c8a08ecba002216bbd9f56facef0 |
19-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texcompress.c.
ain/texcompress.c
|
daccc962a15f333a4759849d7088b0c985189175 |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r100: add blit support Only enabled with KMS.
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_blit.c
rivers/dri/radeon/radeon_blit.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_texcopy.c
rivers/dri/radeon/server/radeon_reg.h
|
1ced546577745d361ad06577914f44f484656d37 |
19-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r200: add blit support Only enabled with KMS.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_blit.c
rivers/dri/r200/r200_blit.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_texcopy.c
|
0714474ae225d12ea00da683785600c0c211f901 |
11-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Clean up constbuf handling by splitting reladdr/non-reladdr loads. The codepaths in the function were almost entirely different.
rivers/dri/i965/brw_vs_emit.c
|
c653f5f3872862da396353df63ef93ed86f608fa |
11-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Only set up the stack register if it's going to get used.
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
d5b964234c37673ec6b444d0a8fa3b823f03fd05 |
09-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix loads of non-relative-addr constants after a reladdr load. Fixes piglit vp-arl-constant-array-huge-overwritten.
rivers/dri/i965/brw_vs_emit.c
|
28576c9ac5a3b6459d94822f333d2e3fbefe5003 |
18-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: change instruction count assertion to > 0 Shaders should at least have an END instruction.
tate_tracker/st_atom_shader.c
|
0766780a98a86c474c70dcd0179d697b906ecfdb |
18-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated comments and whitespace
tate_tracker/st_mesa_to_tgsi.c
|
e5347ca94dd58351aa81ec09addd537f1dbc3e9d |
17-Jan-2010 |
Marcin Slusarz <marcin.slusarz@gmail.com> |
st/mesa: fix memory leak in st_translate_mesa_program Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_mesa_to_tgsi.c
|
3310fe0e91c86df098a499a55f7aed5530f10290 |
18-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix some warnings
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
15601835361e2fdd34b38b265cfc3007749ee24d |
18-Jan-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600: Update default state size to account for the new relocation the new relocation for CB_COLOR0_FRAG & CB_COLOR0_TILE add 4 dwords to the default command stream. Increase the prediction default size to take this into account
rivers/dri/r600/r700_render.c
|
46dc6fd3ed5ef96cda53641a97bc68c3bc104a9f |
18-Jan-2010 |
Jerome Glisse <jglisse@redhat.com> |
r6xx/r7xx: emit relocation for FRAG & TILE buffer FRAG & TILE buffer are unused but still they need to be associated with a valid relocation so that userspace can't try to abuse them to overwritte GART and then try to write anywhere in system memory.
rivers/dri/r600/r700_chip.c
|
7b82f0f67e4614fc12aee492b0a3cdf5db7391df |
17-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix shadow_ambient shader rtype enums are different, DST_REG_OUTPUT got SRC_REG_CONSTANT in some shaders and produced invalid output/hang as TEX output is temp register always set out src to SRC_REG_TEMPORARY
rivers/dri/r600/r700_assembler.c
|
816cb90e7c41ee9cc02a8b12f64b368bd0c2fd03 |
17-Jan-2010 |
Alan Coopersmith <alan.coopersmith@sun.com> |
radeon_compiler: include main/compiler.h for compiler portability macros Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
rivers/dri/r300/compiler/radeon_compiler.h
|
8d2427375049473fe9be49b1058de5a405b2eabf |
16-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove stray END_BATCH in blit code
rivers/dri/r600/r600_blit.c
|
8b704396a32f054e1a896ea2ee17506580793b30 |
16-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
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.
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_context.h
|
7283a246ce659e69ea9931098a8076848be4b9da |
16-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add initial blit support
rivers/dri/r600/Makefile
rivers/dri/r600/r600_blit.c
rivers/dri/r600/r600_blit.h
rivers/dri/r600/r600_blit_shaders.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_texcopy.c
|
ec8ce40083364a97af1dc8ff27868140db83ee48 |
15-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add r600_blit.c Unfinished.
rivers/dri/r600/r600_blit.c
|
5e5d0ad08167c178fcda005862e3dbead3e8c482 |
15-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-noconstbuf' Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
|
6664a6dd7fb701da26e04559bd8110703a61fd8f |
15-Jan-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Initialise vertex element instance divisor to 0.
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
d773f28ff29a0abbb9f856cb4a3c60fcaeea1d3b |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texformat.c.
ain/texformat.c
|
39824945fa738666b4bb804382904b0537322878 |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texgetimage.c.
ain/texgetimage.c
|
6938dccf1ac0955026ac68794a03f49bc370fd44 |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from teximage.c.
ain/teximage.c
|
c847e7d07b3f43d5c05a920cf6326b89b31ed92b |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from texobj.c.
ain/texobj.c
|
59eed7a2015cf301ea20392febc0de6b8d1ee0b1 |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from texparam.c.
ain/texparam.c
|
3e876431d01c50b5672d0ad28f7f8dbd20670616 |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texstate.c.
ain/texstate.c
|
6b6ac9aca08603fb0e3f91bf53fd6d49a1701e2a |
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Use preprocessor to comment out code.
ain/texstore.c
|
ae943f8e202fc3791bd56ac863e5493cd17bb44c |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from vtxfmt.c.
ain/vtxfmt.c
|
97e44cde17ce508fd3708d391f7701e1919352fb |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from arbprogparse.c.
hader/arbprogparse.c
|
97fc7ae69f4e620a5b14a3dbe574c4810741293c |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header from nvvertparse.c.
hader/nvvertparse.c
|
5a4d5b694c0fa92b613bd73138d32f68b966a56c |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from prog_execute.c.
hader/prog_execute.c
|
148498d8cc897d70c54e9ddc09e957a855a597d4 |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from prog_statevars.c.
hader/prog_statevars.c
|
0d622420826ccbf35eed80b663994ffb918dc9a1 |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary headers from shader_api.c.
hader/shader_api.c
|
1f7762f62bb082fceb579434a4ca78f13d78da49 |
17-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from slang_emit.c.
hader/slang/slang_emit.c
|
89950fbe24a351fbb10330b6695d653c9f2d6887 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.
tate_tracker/st_cb_drawpixels.c
|
59db91e2eec1e755de71deba87227a647845b1c9 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from slang_builtin.c.
hader/slang/slang_builtin.c
|
535084996b050a75f230dc10c15bd6239e2aa08a |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary headers from slang_compile.c.
hader/slang/slang_compile.c
|
1d3bdc20908f860316e0bfeaa54dc8fa6d344d0c |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from slang_link.c.
hader/slang/slang_link.c
|
10bd931949d8dd3c63fe8bcc00899875d7dde105 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unnecessary header from slang_log.c.
hader/slang/slang_log.c
|
533b6e8deb3443719bd82c57c79ec106e5473589 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_atom_framebuffer.c.
tate_tracker/st_atom_framebuffer.c
|
3eb85bf7d941aff1c72e0e0e2d8af18b8b7e496a |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.
tate_tracker/st_atom_pixeltransfer.c
|
bc639f291bd6127730845f9e6208e48e51cb83ff |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_atom_sampler.c.
tate_tracker/st_atom_sampler.c
|
227fc5a3083290bf8c494f1f08e911eed6e4cfcc |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_atom_shader.c.
tate_tracker/st_atom_shader.c
|
cc2f2268f5fcfbc7d942fab82a1bb00ac496fc23 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_accum.c.
tate_tracker/st_cb_accum.c
|
e1d4781cd49cd6df2fed171ad6e034f576f219a8 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_bitmap.c.
tate_tracker/st_cb_bitmap.c
|
cc770c8409b31dd2dff7dd80cf441f90f191a048 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_blit.c.
tate_tracker/st_cb_blit.c
|
6906bf08cc0ca43cd4fd1a2c6f841ad87c232ece |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_clear.c.
tate_tracker/st_cb_clear.c
|
668d871d95e74862953c90e04e4f04ed02526421 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.
tate_tracker/st_cb_drawpixels.c
|
adcde22952bb94dd73785bf5971a317e929fbec9 |
16-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fill in some missing XRGB tex formats
rivers/dri/r600/r600_texstate.c
|
81eed59a2c6add1d1514574bf7c3b29b1bf6e8c0 |
16-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: set tiling correctly for texturing from depth buffer
rivers/dri/r600/r600_texstate.c
|
114ab07aee9cc3f007a22ae4642e5c4302900d2f |
16-Jan-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix typo in SQ setup
rivers/dri/r600/r700_state.c
|
56cd5806e89fea9598e296ce656dfe550bf2b96e |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_fbo.c.
tate_tracker/st_cb_fbo.c
|
a9f625543169e0919c507966889d82ecf9db4c5f |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_feedback.c.
tate_tracker/st_cb_feedback.c
|
2d2d8900485ac9f462fccdb0a817f7fc598b95f8 |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_program.c.
tate_tracker/st_cb_program.c
|
fbda223893301cc10182fb12c91493c959e3fe8b |
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_queryobj.c.
tate_tracker/st_cb_queryobj.c
|
2c5aa02e2086f5e79630cdffec804a3e9de0d966 |
15-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: add missing call to _swrast_depth_bounds_test() We were calling this from the CI span function, but not the RGBA span function. I don't know of a test program for the GL_EXT_depth_bounds_test extension...
wrast/s_span.c
|
73856817973caab283427c52152672f524c49a07 |
15-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix broken _swrast_depth_clamp_span() The integer Z clamping range depends on the number of bits in the Z buffer because that's the scale factor used when we transform NDC coords by the viewport/depth range. Fixes fd.o bug #25972 but only for Z buffers up to a depth of 30 bits. Beyond that we get into messy integer overflow issues and things fall apart.
wrast/s_depth.c
|
79a5a2839029eef23f4c238fec6878b5f87ceec3 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_rasterpos.c.
tate_tracker/st_cb_rasterpos.c
|
9c2ef74a76fc3707ca428dca2ca401da790cb915 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_readpixels.c.
tate_tracker/st_cb_readpixels.c
|
cde041cd1320849be70dc8571da1460b8b913f14 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_strings.c.
tate_tracker/st_cb_strings.c
|
644572a3723bc5167fb71f15e0bbfec3f999be9b |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_texture.c.
tate_tracker/st_cb_texture.c
|
4f8baf7dce47b1295292bf3d153d1e93ea83e6a1 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_viewport.c.
tate_tracker/st_cb_viewport.c
|
53c6c384125726ad4e528d57272be95f197fb630 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_context.c.
tate_tracker/st_context.c
|
604e9ec2c436b8bc595faf97db1a4f57fe5368f2 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_draw_feedback.c.
tate_tracker/st_draw_feedback.c
|
9e7778d7aa9bd079a4a5d3d1656d75d6e4978a1d |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_extensions.c.
tate_tracker/st_extensions.c
|
8a8a27b01a60ba80608f736c46da82747c215586 |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_format.c.
tate_tracker/st_format.c
|
eaedc1bb3e651884a184f520bd81aa12c569c29b |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_framebuffer.c.
tate_tracker/st_framebuffer.c
|
6890b0698254051f366e0083eee40ed42613c58c |
15-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_gen_mipmap.c.
tate_tracker/st_gen_mipmap.c
|
b01ffb12ed82dcf435b186e2aff35e344a8a6ebe |
14-Jan-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
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
|
252812bf15c3479d921157b9a432c7e42d3b9446 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_program.c.
tate_tracker/st_program.c
|
c109ca9c492c8956ee32f17c16aa69b0ac0a855d |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_texture.c.
tate_tracker/st_texture.c
|
6b39e8aeb033085c2685f541eca721a6c5639c91 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_accum.c.
wrast/s_accum.c
|
78411881d344b4e2d7243b6f9bebc2d692e3d943 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_atifragshader.c.
wrast/s_atifragshader.c
|
0a708681310d03f3456b6f89bf7915b376f75fd1 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_bitmap.c.
wrast/s_bitmap.c
|
886cffb44e92dcdaeb5396a01745e78598e86a3f |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary headers from s_copypix.c.
wrast/s_copypix.c
|
cf061c24e041878368946fbcffa2906cfffd8b08 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_depth.c.
wrast/s_depth.c
|
d1631f734a6f7d052e347e0f5eb878e156d1afa6 |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_drawpix.c.
wrast/s_drawpix.c
|
f649870c9bc0f7e0660af7131bf418830f6a34ae |
14-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_feedback.c.
wrast/s_feedback.c
|
831764fa75b9a2ea5b42c2df35c6dcfcedcd9611 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_fragprog.c.
wrast/s_fragprog.c
|
d6588a937293c88674e8c83ba5c34114d12180b1 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header in s_lines.c.
wrast/s_lines.c
|
7debc532d50cacc83fb63b7bd36a80bbe432e792 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_points.c.
wrast/s_points.c
|
11034bfa97d5991a2d8cd973ddfbb21935b53924 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_readpix.c.
wrast/s_readpix.c
|
a01b9eac0458eabf07b68bb52afe7026dd8bdfb2 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
swrast: Remove unnecessary header from s_texcombine.c.
wrast/s_texcombine.c
|
c239f387091da9f81bbd315234a19d9b3e3ac694 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary header from t_context.c.
nl/t_context.c
|
2c7cf3f9c95098ef08966d19cd1990d3825fd9eb |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary headers from t_draw.c.
nl/t_draw.c
|
dffcbee8e72398e1492a1c957de788e1e87850ac |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary header from t_pipeline.c.
nl/t_pipeline.c
|
a24d852630a39be1b9a062f17976e8ff8db1df8b |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary header from t_rasterpos.c.
nl/t_rasterpos.c
|
264f4101cd52ad5b22a85f8f4709bd7b38b8d8e2 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
tnl: Remove unnecessary header from t_vb_program.c.
nl/t_vb_program.c
|
c63150100301ef524223df430271760b606784c3 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary headers from vbo_exec.c.
bo/vbo_exec.c
|
94d238e7571413cb0be8a4fe6e231b739644d588 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary header from vbo_exec_array.c.
bo/vbo_exec_array.c
|
37d326503dcd6c779e90c3f8f4626beba28dc449 |
13-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary header from vbo_exec_draw.c.
bo/vbo_exec_draw.c
|
a407636efb6c32cee81b9a1525dbc804aacd957b |
12-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: remove point_size_min and point_size_max from rasterizer state The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
tate_tracker/st_atom_rasterizer.c
|
aee9a6f4e1bc4893f09c1f2b8d723c179c47b34a |
12-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary headers from vbo_save.c.
bo/vbo_save.c
|
d2271d8a3940be30521cdebd6b711c6d9cfcd4e2 |
12-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary header from vbo_save_loopback.c.
bo/vbo_save_loopback.c
|
083dae14bd2d456515374449019afb164ae26655 |
12-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
vbo: Remove unnecessary header from vbo_split_copy.c.
bo/vbo_split_copy.c
|
0d65a68f516ac38f5dad87041423f0891350b83a |
12-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Remove unnecessary header from x86_xform.c.
86/x86_xform.c
|
fe0e627685664087e3cc8244b0212a7142b1b4ca |
12-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: removed unused var
tate_tracker/st_draw.c
|
935fdbe1420277aa0c97b21c7944aa988bfbddde |
12-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: comments, whitespace
tate_tracker/st_atom_shader.c
|
0ce5b128d750e18e1ac2120f7f0435f8f4952dde |
05-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Update sources.mk. Add/remove files that are unused/used to the omit list. Finally, they should all be features that can be omitted. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/sources.mak
|
bffe94d48ac70d1498581d80f2cb3be78ccc24f4 |
05-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Fix build issue after merge. In cd6b8dd9e82fedc55d033131fbc0f8ee950567c8, color read/type fields are moved; Based on 068596c9a7e8d330ffdff8ad8700bd6093b5bdea and cc020425e929110613ddb405d3e82313d27a35ed, GLSL builtin library is autogenerated and GLSL libraries are built and used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/main/get_gen.py
|
562c127693200822f04a145db50add1be2425d7b |
12-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
Merge branch 'master' into opengl-es-v2 Conflicts: src/mesa/main/dd.h
|
2d44b6f8848ee2c43a92c5a00ec9981b82319ed8 |
02-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
st/mesa: Remove st_api.c. st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ources.mak
tate_tracker/st_api.c
|
c6ef705e414c8e93ee471f50d15ada3492a9b067 |
11-Jan-2010 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesa Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
|
b1356df647086c4a3992d6c4d402b472e73d050b |
10-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
st: Mark functions in st_public.h and vg_tracker.h as public. These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
tate_tracker/st_public.h
|
eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 |
10-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
Fix compressed texture loads for non-minimal pitches The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by: Keith Whitwell <keithw@vmware.com> Tweaks for C90 compilation.
tate_tracker/st_cb_texture.c
|
42f2880ffd0b847df7cb56b7f7f0747287e0b08f |
11-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix prediction for r100 inline vert/elt emits. On r100 we emit the indices inline so we need to account for that in the emission size.
rivers/dri/radeon/radeon_tcl.c
|
554043bff72ced41b2a5e03e61cbc087bb41bd3d |
11-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bug in realloc code. This bug was fixed in libdrm ages ago, port to non-kms
rivers/dri/radeon/radeon_cs_legacy.c
|
32da02f7c19f49802fe9589e73c3945502a197c9 |
11-Jan-2010 |
Ben Skeggs <bskeggs@redhat.com> |
st/dri: update dri2 drawables when viewport is changed Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
tate_tracker/st_cb_viewport.c
|
0b7b76fb16adface352e2926c8ed476f4f9a9b82 |
09-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor accelerated blit fixes
rivers/dri/r300/r300_blit.c
|
cf1748053af4a8c2f3fa4e033f8b28c4390ddd3b |
09-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fallback on depth buffer blits Depth buffer accelerated blits aren't implemented yet.
rivers/dri/r300/r300_blit.c
|
7c50d29f7ced3d60e52ee0146d982b49ea421de2 |
08-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel/DRI2: add DRI2flushExtension support with invalidate hook Needed to support the SwapBuffers code properly. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
7f170573ea486f2f2dd474c2590346f1a0110773 |
12-Nov-2009 |
Jesse Barnes <jbarnes@jbarnes-desktop.localdomain> |
DRI2/GLX: add INTEL_swap_event support Add event support for the GLX swap buffers event, along with DRI2 protocol support for generating GLX swap buffers events in the direct rendered case. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
rivers/x11/glxapi.c
|
a35f6bb207efe3c959bbd16a37f2049e5aceeea9 |
17-Jul-2009 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
DRI2: add SwapBuffers support Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct and indirect rendering context. This request allows the display server to optimize back->front swaps (e.g. through page flipping) and allows us to more easily support other GLX features like swap interval and the OML sync extension in DRI2. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
fd70841121475d7aad98812d6bf9c9c67567b89a |
08-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
|
674c76310fe93dd3d7a15af0f72bb9f04351d09f |
08-Jan-2010 |
Dan Nicholson <dbn.lists@gmail.com> |
mesa: Ensure libmesagallium.a is finished building before descending Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
akefile
|
3c42e403de9da2abd46cd0d15de107250866859d |
08-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Move initial declaration outside for loop.
rivers/dri/r300/compiler/radeon_program.c
|
46f55798269013063d57ae83a8444a64aeb64a51 |
05-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove leftover symlinks from DRI1 removal.
rivers/dri/i915/intel_swapbuffers.c
rivers/dri/i965/intel_swapbuffers.c
|
b841c2756e6d697d5b2884317c0daa3f176195a6 |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
swrast: fix color masking for glAccum(GL_RETURN) Should fix fdo bug 25837.
wrast/s_accum.c
|
fa47eff55b4cb1f64afff7570f08a57f330fb05d |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
i810: use ColorMask[0]
rivers/dri/i810/i810ioctl.c
|
efaba97eaaf47ffecf1577777df1e8a700ada8de |
11-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix prediction for r100 inline vert/elt emits. On r100 we emit the indices inline so we need to account for that in the emission size.
rivers/dri/radeon/radeon_tcl.c
|
1294df9ca4ec39f00de3f9d923316f6641c1fb4a |
11-Jan-2010 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bug in realloc code. This bug was fixed in libdrm ages ago, port to non-kms
rivers/dri/radeon/radeon_cs_legacy.c
|
ef7eb62423077becf2f896f771d6d76e9671f114 |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
meta: remove F suffix from _mesa_Ortho() params _mesa_Ortho() takes GLdoubles.
rivers/common/meta.c
|
cb3cb96fbd3279bf3dd50439444c4c064ed6f748 |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmap Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
rivers/common/meta.c
|
06970b2ccb6add0696710f01a07ebf9ec3922c80 |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap This fixes mipmap levels being clipped to the last viewport. Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
rivers/common/meta.c
|
49653c01e8288018d8a1d8e935ef64645f088402 |
22-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: adjust after radeon mipmap changes in 7118db8700 R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
8485811f10142f54756d876ebe91193bfc8f8a0e |
07-Jan-2010 |
Brian Paul <brianp@vmware.com> |
tnl: set FOGC result to (f,0,0,1) Fixed FDO bug 23397.
nl/t_vb_program.c
|
dc7f309f9c4562e367bb18a2eb3d1dcf67003cad |
24-Dec-2009 |
Marek Olšák <maraeo@gmail.com> |
r300/compiler: add full viewport transformation support in WPOS codegen
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_fragprog_common.c
|
c9befda13a000f7ad2221e957615c909bff279f8 |
06-Jan-2010 |
Pierre Ossman <pierre@ossman.eu> |
r600: float texture component ordering The ordering of texture components was backwards for the floating point textures. Signed-off-by: Pierre Ossman <pierre@ossman.eu>
rivers/dri/r600/r600_texstate.c
|
324568f79d6e014900c981bd9a0e1dffedc326c8 |
06-Jan-2010 |
Roel Kluin <roel.kluin@gmail.com> |
mesa: test index bounds before array element Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/tdfx/tdfx_dd.c
hader/nvfragparse.c
hader/prog_optimize.c
|
955f51270bb60ad77dba049799587dc7c0fb4dda |
06-Jan-2010 |
Michal Krol <michal@vmware.com> |
Make sure we use only signed/unsigned ints with bitfields. Seems to be the only way to stay fully portable.
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_pair.h
|
e4b7d9ea35a399c008a879e943374e9654001d01 |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
i965: fix invalid assertion in emit_xpd(), again
rivers/dri/i965/brw_wm_emit.c
|
e32487b8a13a9efabb0359a9dde33e074e905e82 |
06-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge remote branch 'origin/mesa_7_7_branch' Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
|
f02347374819a9b145a3e26c625709aea0c6f61b |
06-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: remove PIPE_TEX_FILTER_ANISO This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
tate_tracker/st_atom_sampler.c
|
d4f2d6556ec0bdaf7ef07fd34fa5d8a355fe2ec0 |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queries New in GL 3.0.
ain/get.c
ain/get_gen.py
|
3510a1b0c5398b4fce4157d5b578344d2a0bd7d3 |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_compute_version() to set context's version info
ain/context.c
ain/getstring.c
|
29f50f61ea8edec3a3bd6bccf7ab9157682ec6de |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added version.c to build
Conscript
ources.mak
|
e0b9e33afbc8b061e3eab1eca7888fe2686a339d |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_compute_version() in new version.c file
ain/version.c
ain/version.h
|
e16fd07225b07e87b79015988b9806aefa032dd3 |
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added version fields to GLcontext
ain/mtypes.h
|
e555146fa35c897554a1af2d010187a6acccdd59 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
i965: fix invalid assertion in emit_xpd() Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
rivers/dri/i965/brw_wm_emit.c
|
766f3ccbda7def1a81a3d07002e500e8bb1a898e |
05-Jan-2010 |
Roel Kluin <roel.kluin@gmail.com> |
tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3() This can never be true. Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
rivers/dri/tdfx/tdfx_texstate.c
|
5a7c2a99a65399a59f54c6a0756c106c1ae048ff |
05-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix build after blind merge of mesa 7.7 by Brian.
rivers/dri/i965/brw_wm_surface_state.c
|
9f544394c1d059ce09c8bb2b5e11f5e871c7915f |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix broken translation of negative register indexes A src register's index can be negative if we're doing indirect addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3] This fixes the piglit vp-arl-neg-array.vpfp test. Before this change we were going out of bounds of the t->constants[] array and getting garbage that later triggered an assertion.
tate_tracker/st_mesa_to_tgsi.c
|
487a14b476d5e01bd03f50bc45fd3dfc59aa609c |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: regenerated parser file
hader/program_parse.tab.c
|
f0f68b1e4c3d3d23fc9a7d624a465537b2e74d6c |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: fix parameter binding type References to program local and enviroment parameters are put into the unified program parameters list as PROGRAM_STATE_VAR entries which point into the local or environment arrays. So the param_binding_type field should be PROGRAM_STATE_VAR. This fixes the piglit vpfp-generic vp-arl-env-array.vpfp and vp-arl-local-array.vpfp test failures.
hader/program_parse.y
|
e3514b73388c9df36941c370837a04d90ca44ddd |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: regenerated parser files
hader/program_parse.tab.c
hader/program_parse.tab.h
|
7c6ae4c6c87edd02671a3857d1f774835b923e59 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: add allowSwizzle param to initialize_symbol_from_const() We need to disable constant consolidation when building an array of constants which might be indexed indirectly. Fixes regression in piglit vpfp-generic vp-arl-constant-array.vpfp test caused by earlier constant consolidation patch.
hader/program_parse.y
|
37f6929d29c9d3fbec873c0576a343d342ffdedf |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace changes and comments
hader/prog_parameter_layout.c
|
f27e39aa4ec267fd2074a73da14bf1b4d2f8fb13 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: change constant search behaviour in _mesa_add_unnamed_constant() Only search for an existing, matching constant if swizzleOut is non-null. We need to be able to disable constant consolidation when building an array of constants which will be indexed indirectly.
hader/prog_parameter.c
|
ef1b9426918a29b7ddd28601b0e53ed683abb89a |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: added PROGRAM_LOCAL_PARAM case in src_register() Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
tate_tracker/st_mesa_to_tgsi.c
|
ae44b92f61b78c9991060a8dd7fa7327d428c138 |
05-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Merge branch 'remove-intel-dri1' * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
|
bd96b51303512bef301c4cee5c7a65ebb3371913 |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.7.1-DEVEL
ain/version.h
|
c91ceeec320daebe7d9d78ed2d80a2265bcfa8c2 |
22-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: adjust after radeon mipmap changes in 7118db8700 R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
750c1e7bb4b5caab699d8bce8906b5ca138eac51 |
05-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support depth compare functions & shadow_ambient
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_fragprog.c
|
7836a96657eeb1b1a924d582bbf9db5b1692fadc |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_[Get]TexParameterI[u]iv() functions New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
ain/texparam.c
ain/texparam.h
|
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make texture BorderColor a union of float/int/uint When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_texstate.c
rivers/dri/unichrome/via_state.c
ain/attrib.c
ain/mtypes.h
ain/texobj.c
ain/texparam.c
tate_tracker/st_atom_sampler.c
wrast/s_texfilter.c
|
32b9983c0a593c0b50a44ddae829dee820cfd448 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: use get_texobj() in _mesa_GetTexParameter() funcs
ain/texparam.c
|
5ac16495a2772886100789f04e1a7d65068e9a40 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
|
6d845808589b9df84f23551b122533a55dce6bd5 |
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add missing _mesa_lock_texture() call
ain/texparam.c
|
b434a816d7a4b298e16a8b51b54e5a2d5ea28da8 |
30-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i915: Use _MaxLevel on principle in texture setup. It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
rivers/dri/i915/i915_texstate.c
|
19a26dfc474618ecfe881846a8c9dac221332d44 |
04-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix CopyTexImage from tiled mipmap levels > 0. Fixes piglit fbo-copyteximage.
rivers/dri/intel/intel_tex_copy.c
|
63610fae4f46361f2500577a83bf5ac6f9e8b0ac |
04-Jan-2010 |
Eric Anholt <eric@anholt.net> |
i965: Fix the surface offset calculation for tiled buffers. If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
rivers/dri/i965/brw_wm_surface_state.c
|
a160d1c27de8afcf072b4fd438d6a37f16742e75 |
29-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support vertex_array_bgra Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
a316b700effd615fcc895d0a2e015356854c6f44 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Improve support for GL_OES_compressed_paletted_texture. Add error checking and fix handling of level (it should be negative). Besides, always use the palette entry format/type when calling _mesa_TexImage2D. It respects the base internal formats of the cpal formats, and is simpler and faster, except for cases where the unpack alignment needs to be changed. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/es_cpaltex.c
|
c4b9e1aa1a2f1fda9e5764e3f7dd1a268216df09 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Fix GL_RGB565 support in FBO. In GL_OES_framebuffer_object and OpenGL ES 2.0, GL_RGB565 is a valid internal format. Since it is not supported by the core, map it to GL_RGB5 as a workaround. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.xml
s/main/es_fbo.c
|
b80ec33f3559e9a14d08f84c8e369a0dc81b46d7 |
24-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Fix GL_OES_texture_cube_map support. Unlike in OpenGL, GL_OES_texture_cube_map says that all coordinates are changed the same time by the token GL_TEXTURE_GEN_STR_OES, and the initial mode is GL_REFLECTION_MAP_OES. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.xml
s/main/es_enable.c
s/main/es_texgen.c
s/main/get_gen.py
s/main/specials_es1.c
s/sources.mak
|
3a4d0811b43295519d771fa192bd3d28bd5312d5 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Clean up extension string. Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/specials_es1.c
s/main/specials_es2.c
|
f88297b369e9c2d4521554d8a6c66e288eb3b178 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add more exnteions to APIspec. This commit adds definitions of GL_EXT_texture_compression_dxt1 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_multi_draw_arrays to APIspec.xml and get_gen.py. Some of the enums are not avaiable in the header files and the defining extensions are disabled. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.xml
s/main/get_gen.py
|
29bd20ad1452bdc43d4cb0e42db65cf1069615cf |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add more extensions to glapi. This commit adds definitions of GL_OES_texture_half_float_linear, GL_OES_texture_float_linear GL_OES_texture_half_float, GL_OES_texture_float GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_get_program_binary GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays to glapi. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/glapi/es1_EXT.xml
s/glapi/es2_EXT.xml
s/glapi/es_EXT.xml
|
a2d21f67f901ec34799819ba47b9579ac78bf112 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Generate code for special functions. es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.py
s/main/APIspec.xml
s/main/APIspecutil.py
s/main/es_cpaltex.c
s/main/es_fbo.c
s/main/es_generator.py
|
f7d23dfef54f837e21ff590ab0929802c3540831 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Remove unused code in es_generator.py. Remove unused GetLoopSizeExpression. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/es_generator.py
|
e0ab739c063885784e858060d749e2937e622da2 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Generate _mesa_GetFixedv. Have get_gen.py generate _mesa_GetFixedv. The generated function does all the checkings and thus simplifies APIspec.xml a bit. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.xml
s/main/es_generator.py
s/main/get_gen.py
|
c3bd85791766e4a6f3896ea724e18640e56c6808 |
23-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add a sanity check to APIspec.py. Some attributes are constant in a switch. Raise an exception if they are not. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.py
|
8264a6a8a6486562a86bb0da3f631c298edbd303 |
20-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Switch to APIspec.xml. Update Makefile and ES generator to use APIspec.xml. Remove APIspec.txt and related files. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/main/APIspec.txt
s/main/apiutil.py
s/main/es1_special
s/main/es2_special
s/main/es_generator.py
|
0c1a7bbe0d0c6727a432890164032188787e7e26 |
22-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add APIspec.xml and its parser. APIspec.xml is based on APIspec.txt. The new format has less code duplications and should be easier to read. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.dtd
s/main/APIspec.py
s/main/APIspec.xml
s/main/APIspecutil.py
|
82421c549f782cee0d377a064852813117ff6850 |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL_DU8DV8_ATI in extract_float_rgba() Fixes warning seen with Shadowgrounds. See bug 24016.
ain/image.c
|
6130bb13913090f7477d3dab5662c7e80c7b9293 |
04-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Prevent possible array out-of-bounds access by _mesa_light.
ain/attrib.c
|
0fb1eaddfbaf487067e0ff4f1d6f82145b6b0acd |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'gallium-conditional-rendering'
|
e661bf50183bf5481ee0d6c8e6be0809da991913 |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated enums.c file
ain/enums.c
|
707faf65c89dbe64e2cb01196b913b354221e26e |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
glapi: comment-out TIMEOUT_IGNORED This is not really a GLenum value.
lapi/ARB_sync.xml
|
f52dd2ab333b0bdfa1df15bffb8156350c93f892 |
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use varName variable in _slang_gen_assignment()
hader/slang/slang_codegen.c
|
195568e4cb0524d71db0ac68cf5a95b33a1af6b4 |
04-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more detailed error message in extract_float_rgba()
ain/image.c
|
1baaf111c8c42ed7f7218c46038f32eb51b9c6eb |
04-Jan-2010 |
Alan Hourihane <alanh@vmware.com> |
fix overflow
ain/enums.c
|
51362a75a70f982dc076064ff266e8eb6a0e3a8b |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: intelScreenContext() is no longer used
rivers/dri/intel/intel_screen.c
|
5a0b60aa1b9c1c4ce15c6b461e24622e9f71286d |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove remaining dri2.enabled tests
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
2861d9200be15cc44e8825387d3bd79086523c67 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop more cliprect bookkeeping
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.h
|
d282128ff68cc58bc3f5b808031c5fe7325bd69b |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove struct intel_framebuffer With the vsync fields no longer relevant and by refactoring the code to no longer use color_rb[0-1] we can just use struct gl_framebuffer directly.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
a6e1d3edac90016ca9662ca0a9707a2d4fba1726 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove client-side vblank code
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_swapbuffers.c
rivers/dri/intel/intel_swapbuffers.h
|
5bc4b886e412e01260af9cf9c8bd7c01f1dece19 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop intelWindowMoved() Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_swapbuffers.c
|
5203b7227ccb6b618fa42f08434d4a3cf123dca2 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop batchbuffer cliprect_mode tracking
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
|
f55d0920cd8e504a09e3741716fc47381c03f6ac |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop DRI1 static regions
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
|
ee49ac8742c52696cba8cc5ca50459f8a13153a1 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
rivers/dri/intel/intel_pixel_copy.c
|
01dc463e5d5513e059eea601710cd4babe02610d |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop LOCK/UNLOCK_HARDWARE()
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
3566bc7584475daa852f4d5735a81a28c032297d |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop DRI1 SwapBuffer implementation
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_swapbuffers.c
|
4611f08c07091f2f516156f4725c2ae5fc3579c4 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop DRI1 CopySubBuffer implementation
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_swapbuffers.c
|
48c0ff14240044935049a1114edfc69bc6682b95 |
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop DRI1 support The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
rivers/dri/intel/intel_screen.c
|
39a0e4e7de379a182c1544fa24d5cb2a7687ec72 |
01-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Push __driDriverExtensions out of dri_util.c and into the drivers This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
d61f07318c8678901b948fdaa8ccdf37aa3203e9 |
01-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove leftover __DRI{screen,drawable,context}Private references As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_screen.c
rivers/dri/gamma/gamma_screen.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810screen.h
rivers/dri/i810/i810span.c
rivers/dri/i810/i810state.c
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_swapbuffers.c
rivers/dri/intel/intel_swapbuffers.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagespan.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
|
8616cec5c9889e6166839b33baa8db52f04d409c |
01-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Check for libdrm_$chipset.pc when needed This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
|
1e414df894fc70b7024eb38c812e582336014974 |
04-Jan-2010 |
Michel Dänzer <daenzer@vmware.com> |
st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL. This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
tate_tracker/st_cb_texture.c
|
e04a818606f5639d9d8df4ebe501abb496bf847f |
29-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support vertex_array_bgra Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
d1e2fc19cc1b8e4c23f5ad82ec68779c41101b41 |
04-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Use C-style comments.
rivers/dri/r300/compiler/radeon_program_alu.c
|
b14cbfaebc135351a72d86128ae987611ef8c31f |
04-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Silence 'mixed declarations and code' warnings.
rivers/dri/r300/compiler/radeon_compiler.c
|
2b218d94b51ce04467795c30d2426204986e3249 |
04-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Only enable verbose NoOp dispatch if DEBUG is defined By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
lapi/glapi.c
|
0214b7b3c1eae5573b03b485b18e4c10729831ee |
04-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Silence 'mixed declarations and code' warning.
rivers/dri/r300/compiler/radeon_code.c
|
c3047e73f78b4f337a2f66acdc95133d61a2b535 |
04-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Noop dispatch: move warning code out of the generated functions This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
lapi/glapi.c
|
58531029e6eba11c374d996ea031f1bbe4386c54 |
04-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
r300: Silence 'mixed declarations and code' warning.
rivers/dri/r300/compiler/memory_pool.c
|
8d62eb45997a199e116661e26217b4d44fb9ba1e |
04-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Export a few glapi functions used by gallium and r300 Fixes breakage from -fvisibility-hidden commit.
lapi/glapi.c
lapi/glapi_getproc.c
lapi/glthread.c
|
eb5d9e6f70037d4dc12430302f82a116cb1e00ca |
03-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Cope with the degenerate case of zero length ranges. Fixes assertion failures on glean's bufferObject test.
tate_tracker/st_cb_bufferobjects.c
|
a60084088baca0981e5b0f1512831683cd4f25bc |
03-Jan-2010 |
Francis Galiegue <fgaliegue@gmail.com> |
mesa: fix blend enable/disable calls in meta.c code Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/common/meta.c
|
287cbba9b7ebf95391f77b58f519dd76c415d355 |
24-Dec-2009 |
Jeremy Huddleston <jeremyhu@freedesktop.org> |
apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSX Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
ain/dispatch.c
|
d27effbfd88463fc395c364c4e6fc59636074bda |
03-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
i810: Fix include recursion.
rivers/dri/i810/i810tex.h
|
94c5faad26eae7bb4b95d6c95548860ff52354ba |
03-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
sis: ifdef out unused variable. Silences GCC warning.
rivers/dri/sis/sis_context.c
|
1fbc71937f7da1339c4a456b0bac48881b7e2b7c |
02-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_GetBufferParameteri64v() This is a new function in GL 3.2. No dispatch for this function yet.
ain/bufferobj.c
ain/bufferobj.h
|
fab161f28739c397200e1ad3b6ad2a26409c95bf |
02-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
x86: Silence printf format warnings.
86/gen_matypes.c
|
88bd32383a06224c742f6af59fcd95cd11284d5b |
02-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
ARB prog parser: Silence unused variable warnings.
hader/program_parse.y
|
04c7f483b438deffe7cfa1883d0c30616257e2d0 |
01-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Make condrender.[ch] prototypes match. GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
ain/condrender.c
|
c9b558351847133dced0c9daaeb84d57d550afc9 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement conditional rendering
Conscript
ources.mak
tate_tracker/st_cb_condrender.c
tate_tracker/st_cb_condrender.h
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
f1b382d2e66855d49354356f2d3209652aaf5987 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: move st_query_object type to header to make it public
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_queryobj.h
|
25024d948298a9f3f3210a0b91486f79a3917b0f |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
|
d14beea534dcb2b3ae2ae1f7ee0ba5dcdef3dba3 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove a line of dead code
ain/dlist.c
|
f10470e3fe0fc70531c91d1c86c99dd1ba826bfb |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable ColorMaskIndexed in display lists
ain/dlist.c
|
fcc2e1a729e93bfe64f82d95d007ceab98f3dbc2 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_EXT_draw_buffers2 for sw drivers
ain/extensions.c
|
aa491c19b9a5de350834b5f416e69e1e0a67a194 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: turn on NV_conditional_render for software drivers
ain/extensions.c
|
ab26682eb4db0dbe160b13f1e320ec9164c3afc5 |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add check for conditional rendering
wrast/s_bitmap.c
wrast/s_blit.c
wrast/s_clear.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
699cfaeb3cde2a329b2d79ae09c7783ed4edacfe |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
tnl: add check for conditional rendering
nl/t_draw.c
|
ff3a52643d323626f32a9f1c14464a9501e6494d |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: plug in API functions for conditional rendering
ain/api_exec.c
|
007b1f42c45e9c063eff5846530baf6ffc8643dd |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added dispatch for GL_NV_conditional_render extension
lapi/Makefile
lapi/NV_conditional_render.xml
lapi/gl_API.xml
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
5a0eb89da56aeaded17fee213bb4f00607b13a5c |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added FLUSH_VERTICES(), more comments
ain/condrender.c
|
2be0d77a97cbe92f09dd97fb85a3d5372e52ad4c |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add flag for GL_NV_conditional_render extension
ain/condrender.c
ain/extensions.c
ain/mtypes.h
|
0fbe828c1d2a7e7d9155a3ef64e91da4ec2b79ee |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_Begin/EndConditionalRender() functions For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
Conscript
ain/condrender.c
ain/condrender.h
ain/dd.h
ain/mtypes.h
ources.mak
|
534e0051854e2e455650435f85e6a73aba8f5d64 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_lookup_query_object() an non-private inline function
ain/queryobj.c
ain/queryobj.h
|
195e7657e2f15f7ad8b22042b86bcf33c5bba76b |
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
swrast: use different temp array in _swrast_get_dest_rgba() When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
wrast/s_span.c
|
6e0584932b3e556a0aecd2ca36f5ae41dc40a919 |
31-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Silence unused variable warning.
ain/formats.c
|
16e91d4c0e1088f5c4098b01b4b7bf670cd66c4a |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement _mesa_GetStringi() for GL3 Note: not plugged into the dispatch table yet.
ain/get.h
ain/getstring.c
|
56bdaca03e2289f56d1c88668d0a0f1dbd5abeca |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_get_enabled_extension() function
ain/extensions.c
ain/extensions.h
|
802b80893943cf129039a37fb2afe26444b09332 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL3 GL_NUM_EXTENSIONS query
ain/extensions.c
ain/extensions.h
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
1ec6de9f948b45e24ecd0e039819e90863ec9646 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify some extension testing code
ain/extensions.c
|
05fb922e61efc2712bf7499f31e4b36b06a54f56 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: display list support for glClearBuffer functions Note: some code disabled until dispatch table supports GL3 entrypoints.
ain/dlist.c
|
2b5ece5746585fd1b6ffd4768763dfc5709699ab |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL3 glClearBuffer() functions These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time.
ain/clear.c
ain/clear.h
|
f00bf0598cfcd9ab9b923d80b7ce2cec14a74da5 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info() Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
tate_tracker/st_format.c
|
1677d5c0aebe8edb54aa3236294acede536013f3 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix-up blend enable/disable code in _mesa_PopAttrib()
ain/attrib.c
|
36092fa2d82b9f31b37260d97a2c671e49c7579a |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: finish-up indexed color mask code in _mesa_PopAttrib()
ain/attrib.c
|
81c72a1dabe72ebe6a875bd048d2d7a676716cbf |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: plug in GL_EXT_draw_buffers2 functions
ain/api_exec.c
ain/dlist.c
|
285d3f9ed84343b91e501d870a9ef6c61d9cc8f4 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerate API files related to GL_EXT_draw_buffers2
lapi/Makefile
lapi/gl_API.xml
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
ca3a8538b6981d7a47193605968f7adc6f3346b8 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
glapi: extension info for GL_EXT_draw_buffers2
lapi/EXT_draw_buffers2.xml
|
ac21edff1c11639dcd02ae6e8ffa50beb3a82ae7 |
30-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
tdfx: Silence uninitialized variable warning.
rivers/dri/tdfx/tdfx_tex.c
|
8f6f1124634cf659dde4c75549b84e35505d892d |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added infrastructure for GL_EXT_draw_buffers2
ain/enable.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
a856d635d300f842e9fa6413b0255bdb64142838 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add dlist support for indexed colormask and indexed enables/disables Not plugged into dispatch table yet...
ain/dlist.c
|
fd5511d27fc44096117c47ab503fb5b47f993061 |
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement per-buffer color masking This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
rivers/common/driverfuncs.c
rivers/common/meta.c
rivers/directfb/idirectfbgl_mesa.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savageioctl.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/unichrome/via_state.c
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/x11/xm_dd.c
ain/attrib.c
ain/blend.c
ain/blend.h
ain/dd.h
ain/get.c
ain/get_gen.py
ain/mtypes.h
tate_tracker/st_atom_blend.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_clear.c
wrast/s_accum.c
wrast/s_clear.c
wrast/s_context.c
wrast/s_masking.c
wrast/s_masking.h
wrast/s_span.c
wrast/s_triangle.c
|
126b35bd3acbf486471879531cd2e6f446b14497 |
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement indexed glGet functions The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time.
ain/get.c
ain/get.h
ain/get_gen.py
|
3728673bd1b974e54858fbab6ff62d3607b0d3f0 |
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: per-buffer blend enabled flags ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
rivers/common/meta.c
ain/attrib.c
ain/blend.c
ain/enable.c
ain/enable.h
ain/get.c
ain/get_gen.py
ain/mtypes.h
wrast/s_span.c
|
62a0d4ef7fdf4788de84e6645f6f329482033c42 |
29-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize variable in get_tex_color_index.
ain/texgetimage.c
|
4f481cb87ae948852effde2fa4d997c007afd99c |
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added uniform initializer check GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader.
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
|
639e7a140e430aa8839c652459eddc9a4b79f9c6 |
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
hader/program_parser.h
|
a0996447559bd251ef7f089165405fcdefe79cc5 |
29-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix false positives in checking for non-packed depth/stencil RB. The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
rivers/dri/intel/intel_fbo.c
|
089144e4e525883995d609af5040b2355043945e |
29-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Allow binding a stencil but not a depth buffer. Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_fbo.c
|
e4df8d32b510a3f00c12477985818c9d42a0b178 |
28-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Improve INTEL_DEBUG=fbo output.
rivers/dri/intel/intel_fbo.c
|
1e4677a61f0576c32e65e9202fa08e81e1162f65 |
27-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead fthrottle_mode option. We only do IRQ waits. Noticed by clang.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
2515ccaf244d3a2c5f16189737a04f44f698fbeb |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: remove gratuitous stores I added in remove_instructions.
hader/prog_optimize.c
|
c67bb15d4e3da430d511444bd7d159ccb0c84b73 |
29-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
intel: Silence compiler warnings.
rivers/dri/i915/intel_render.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_tex_copy.c
|
d0b7ff551ab25153e3023871af3daa65b394a828 |
27-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
|
b46bcd8e7b37aa2e9159e126c1cc88234a3c2790 |
27-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch'
|
7831515e69ac875b1ac0b1b248ab10c6cf37bf52 |
27-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM
tate_tracker/st_format.c
|
fc11424bcded0b1cea0acf45936c4af1f1a4b85b |
27-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove comma at end of enumerator list.
ain/mtypes.h
|
309c156bae59124be17137d0f559d2c054231f7c |
27-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
i915: Fix assert.
rivers/dri/i915/i915_program.c
|
c4ac1f8299ddc3b60f7f32c58c0310deacac22c6 |
23-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Extra asserts on flow control instructions to clarify for clang.
rivers/dri/i965/brw_wm_glsl.c
|
c196a3592a73bfe11db5100a9ba1aff07fb8a60e |
23-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up double initialization of dst_flags from a rebase resolve. Caught by clang.
rivers/dri/i965/brw_wm_glsl.c
|
070bbd4fcd5d2b669b880b91730a7ad9d130e416 |
23-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix setup of immediate types for gen4 disasm. Caught by clang.
rivers/dri/i965/brw_disasm.c
|
cd59e6f553ed0585f9d1a361adab007ede9aa0f6 |
26-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
intel: Silence implicit function declaration warning.
rivers/dri/intel/intel_pixel_bitmap.c
|
89d8577fb3036547ef0b47498cc8dc5c77f886e0 |
14-Dec-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: add geometry shader support to gallium
tate_tracker/st_draw_feedback.c
|
2447786ed00a19466c9cc9b9efbfa084e88114eb |
25-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
i965: Fix assert.
rivers/dri/i965/brw_eu_emit.c
|
f5ad1d0d02cae06bff3ee120c75ad4ab458d2c7d |
25-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
i965: Add missing va_end.
rivers/dri/i965/brw_disasm.c
|
098f10c2709a33bb5f35d52a42818ce7cbcaadb5 |
24-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Initialize member a_obj of struct slang_operation.
hader/slang/slang_compile_operation.c
|
f44b0ff84338c2184ef4f2cbb752bf62f4fff1fc |
23-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: adapt state trackers etc. to pipe_constant_buffer removal
tate_tracker/st_atom_constbuf.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw_feedback.c
|
8e8502bc6352227afda370cfeeb1a49b128df752 |
20-Dec-2009 |
Maarten Maathuis <madman2003@gmail.com> |
gallium: only create pipe buffer when size is nonzero - This fixes a crash upon starting spring (a rts engine/game). Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
tate_tracker/st_cb_bufferobjects.c
|
c1033299e836e6a52bcd7211edb263900576e6af |
22-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
ffb: Silence compiler warnings.
rivers/dri/ffb/ffb_tris.c
|
f67748038935e609aa85450b20d550b4813c9429 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Replace some gen3 IS_* checks with context structure usage. Shaves 400 bytes or so from i915_dri.so.
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_mipmap_tree.c
|
cb3810dd19760797e699c47929f655b829c4d339 |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Replace IS_965 checks with context structure usage. Saves another 600 bytes or so of code.
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/intel/intel_extensions.c
|
0b87f143c466f7e5bd730895ee29f1cd20a68f9b |
17-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Replace IS_G4X() across the driver with context structure usage. Saves ~2KB of code.
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_tex_format.c
|
1c96e85c9d6b8c636b0636f3320d1057ab5357b3 |
16-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync. Saves ~480 bytes of code.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
b08ed4f5955ef72309b6e20d865faf6d925c8c6e |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname); Fixes piglit ati-fs-bad-delete. Caught by clang.
hader/atifragshader.c
|
fbeceec97b50a5e377a730d01d48c08faf8f6596 |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: remove unnecessary store.
ain/texrender.c
|
6260d4a14cb931330945a3d4d832aa83f9f60b7b |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove an unnecessary store reported by clang. This was a workaround for a compiler warning that was showing a real error. The real error was later fixed.
ain/texenvprogram.c
|
d85a6f70eba7d59bdee34d33e8b3caaeac328ecb |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix leakage of active texture state in glBitmap fp metaops. Noticed by clang.
rivers/dri/intel/intel_pixel_bitmap.c
|
e3202a8cc7178373e8e5af60c090550aef29392c |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix use of uninitialized variable in OPCODE_NOISE stub. We don't actually care which register is used since we're just swizzling (0,0,0,0), but it should be a valid variable number. Detected by clang.
rivers/dri/i915/i915_fragprog.c
|
d203dbc73d3b036937e0404b580fb04d23e10652 |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage. The same code is generated, and readers and static analyzers are happier.
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/glide/fxddtex.c
ain/macros.h
|
5727147f894137f194d8efc7adb81b80a9b5acd7 |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove unused stored values reported by clang.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_swapbuffers.c
|
1a80fe461e162d5b6e25bd270a54e6662f72e5b3 |
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _mesa_exit wrapper for exit(). It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/radeon/radeon_common.c
ain/ffvertex_prog.c
ain/imports.c
ain/imports.h
ain/texenvprogram.c
ath/m_debug_norm.c
nl/t_vertex_generic.c
f/vf_generic.c
|
ddd9729bc37f4b1098ef940da6e723743db3ded8 |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr. This is a little more logical. Suggested in bug report 25654.
rivers/dri/r600/r700_assembler.c
hader/prog_execute.c
hader/slang/slang_emit.c
|
db721151b76611b75bcedfc90221ef5f92e8edeb |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction To be more consistant.
hader/prog_execute.c
hader/slang/slang_emit.c
|
e8ea2d26cd9e90d45cdfb94c3a6b06e27d6c0083 |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added some assertions in BNGLOOP/ENDLOOP cases
hader/prog_execute.c
|
b5ddc7821a334177ff3f6c0ea3a5c24245ad194c |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix binary() function, printf format string Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug.
hader/prog_print.c
|
35e8283c69d80debb44b05ea79dc5f67303a7432 |
22-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-edgeflags' Conflicts: src/mesa/state_tracker/st_draw.c
|
aa02683e45f1eaf61bba2ba7eeda7686efeed2ca |
22-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'i965g-restart' Conflicts: configure.ac
|
71678a7ede11062b62e8786daf4ba451f5e4fe87 |
22-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"
rivers/dri/intel/intel_context.c
|
a4b6b428855e73b35f754a9f64647c6edc1a88fa |
22-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/main/version.h
|
7e210b93376ab6fef63995c48d7b1766c4335ad8 |
22-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.7
ain/version.h
|
164b5838521bc7ab4af83bb6de8c8711ff40901c |
22-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Bump driver date to reflect status as final Q4 driver RC
rivers/dri/intel/intel_context.c
|
75ad099d3cecc64fe04477ca84bf58b7720edf28 |
22-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.6.1
ain/version.h
|
ef171051349ac83695a9a8304d486e1adb503291 |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
glsl: assorted clean-ups in slang_compile.c
hader/slang/slang_compile.c
|
09415ca234d18d4daf257afc0ced52687fdf43a8 |
24-Sep-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix missing finite symbol error on Windows. Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order. (cherry picked from commit 622bdecabd73167d2f2f3aff0e223a8c64433f99)
ain/compiler.h
|
de7021b71c1920eeb181d430f2ae2463f964d7cf |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
mesa: Include <unistd.h> only when one is available. (cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f)
hader/lex.yy.c
hader/program_lexer.l
|
5bbdc7f42088ea22c4bf588e1f07da5a68eff96f |
22-Dec-2009 |
Jeremy Huddleston <jeremyhu@freedesktop.org> |
osmesa: Fix a copy/paste error in building libOSMesa Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
rivers/osmesa/Makefile
|
9eb7fc6661a1d46c06cec8584b898e3e690af6fa |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
|
b57abd3bea29e95e5dee2524c3f1be4b26017c0f |
22-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
|
bd9e0ebaffeffac09307d5e807b00fef4f551d79 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r600: use new libdrm_radeon api
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo.c
rivers/dri/r200/radeon_bo_int_drm.h
rivers/dri/r200/radeon_cs.c
rivers/dri/r200/radeon_cs_int_drm.h
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_bo.c
rivers/dri/r300/radeon_bo_int_drm.h
rivers/dri/r300/radeon_cs.c
rivers/dri/r300/radeon_cs_int_drm.h
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/radeon_bo.c
rivers/dri/r600/radeon_bo_int_drm.h
rivers/dri/r600/radeon_cs.c
rivers/dri/r600/radeon_cs_int_drm.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_int_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cs.c
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_int_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_space_drm.c
rivers/dri/radeon/radeon_span.c
|
bce03f71741e1b3694e5525014d847467ae6cde1 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop assert accessing cref which is meant to be hidden
rivers/dri/radeon/radeon_dma.c
|
34671efa29297d769fa73541c7c96f397cc926ed |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop unused members of radeon_state.
rivers/dri/radeon/radeon_common_context.h
|
e77bfc436d896378acc55a0a3a8c3117ddab4efc |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
r600: move structs for legacy cmdbuf into cmdbuf C file. these really shouldn't be exposed here
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
|
9373287a1b6ddb7b96ee10220d282a0f11ae24a2 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r600: use new libdrm_radeon api
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo.c
rivers/dri/r200/radeon_bo_int_drm.h
rivers/dri/r200/radeon_cs.c
rivers/dri/r200/radeon_cs_int_drm.h
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_bo.c
rivers/dri/r300/radeon_bo_int_drm.h
rivers/dri/r300/radeon_cs.c
rivers/dri/r300/radeon_cs_int_drm.h
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/radeon_bo.c
rivers/dri/r600/radeon_bo_int_drm.h
rivers/dri/r600/radeon_cs.c
rivers/dri/r600/radeon_cs_int_drm.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_int_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cs.c
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_int_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_space_drm.c
rivers/dri/radeon/radeon_span.c
|
9d2910ee0fd2d8ef95c6948598f702bf5a9e0d44 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop assert accessing cref which is meant to be hidden
rivers/dri/radeon/radeon_dma.c
|
43d872730172aa44139c031555e792958865b905 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop unused members of radeon_state.
rivers/dri/radeon/radeon_common_context.h
|
1703628011242a9f1c664e67eabe8d4370a39b31 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
r600: move structs for legacy cmdbuf into cmdbuf C file. these really shouldn't be exposed here
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
|
bd5fbcf92bc1673d636f73b1aafae41956657b72 |
21-Dec-2009 |
Brian Paul <brianp@vmware.com> |
osmesa: added new GLSL libs
rivers/osmesa/Makefile
|
a5585cb533af3d4e5d5324d5f526447b98597402 |
21-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into i965g-restart Conflicts: SConstruct configs/default configs/linux-dri
|
753f0a1dea6c304eb3cc5a3db5f24a5801e37a55 |
21-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
r600: fix glFrontFace(GL_CW) fd.o bug #25290 Suggested fix from Rafael Monica
rivers/dri/r600/r700_state.c
|
764899d7ab018132147ef6d71ce18da3210cab4b |
21-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support more of arb_point_sprite and also sprite_coord_origin
rivers/dri/r600/r700_fragprog.c
|
69728a2ae28d11e48b87e51dc3ea2fcc040c40fb |
21-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: disallow negative offsets for relative addressing for now otherwise for example const[ADDR-3] gets us 253 - ALU_SRC_LITERAL which expects immediate floats to follow and hangs
rivers/dri/r600/r700_assembler.c
|
ace937f1651c64d7fb22917489e29761130aaa0d |
21-Dec-2009 |
Younes Manton <younes.m@gmail.com> |
st/mesa: Check for single level mipmap trees. The assert in util_gen_mipmap() caught it, although it does the right thing anyway.
tate_tracker/st_gen_mipmap.c
|
393857a2f59df43d60fd4f1b7974349261bc45da |
21-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
r600: fix glFrontFace(GL_CW) fd.o bug #25290 Suggested fix from Rafael Monica
rivers/dri/r600/r700_state.c
|
b065aec840b4c07eb1db156c1100ef4004634549 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r600: use new libdrm_radeon api
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo.c
rivers/dri/r200/radeon_bo_int_drm.h
rivers/dri/r200/radeon_cs.c
rivers/dri/r200/radeon_cs_int_drm.h
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_bo.c
rivers/dri/r300/radeon_bo_int_drm.h
rivers/dri/r300/radeon_cs.c
rivers/dri/r300/radeon_cs_int_drm.h
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/radeon_bo.c
rivers/dri/r600/radeon_bo_int_drm.h
rivers/dri/r600/radeon_cs.c
rivers/dri/r600/radeon_cs_int_drm.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_int_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cs.c
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_int_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_space_drm.c
rivers/dri/radeon/radeon_span.c
|
1cc9610f88d6b9921447c15928ee5162c3e22132 |
20-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Update after glsl cl interface changes.
hader/slang/slang_compile.c
|
5fb345c4221679b8b2d468eb216f9ab1bd4c8ebf |
20-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Add gitignore for autogenerated files.
hader/slang/library/.gitignore
|
ec73cd011d625dbd528b77a10b2cddebb757325e |
20-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Update after glsl pp changes.
hader/slang/slang_compile.c
|
420ff89067515a74c9625a103cadc267d5f64bd4 |
19-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: don't use edgeflags if the app didn't supply them
tate_tracker/st_atom_shader.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
1aba413a702cad3da04cf6d686ce81dd6330f1a9 |
19-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix not generating new vp varient when polygon mode changes
tate_tracker/st_atom_shader.c
|
4b6dee08652706d02939844fe209cddbae8966e4 |
19-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor blit rework Use vert/tex coords instead of byte offsets for specyfing src/dst image offsets. This will allow for blitting between tiled/untiled buffers.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_texcopy.c
|
a1428868a66ab70a762ad863dafa00c3099f3d8a |
15-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: better fix for glCopyTexSubImage
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_texcopy.c
|
0478b745fe72360ce91988636b54f6e4834c1fae |
18-Dec-2009 |
Brian Paul <brianp@vmware.com> |
glsl: clear out shader code before compiling When we start compiling a shader, first free the existing gl_program. This (mostly) fixes the piglit glsl-reload-source test. Without this change, we were actually appending the new GPU code onto the previous program.
hader/slang/slang_compile.c
|
c8de081dc1f077a026a962244117ec69f0ba7055 |
18-Dec-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: protect fbo allocation message with debug fixes fdo bug 25708 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_fbo.c
|
9d938e29f202552a98605906b71f31485af1ef60 |
18-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
fix debug output mising from edgeflag changes
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
890809d71b6ab40c56d341a5dad9f5e6b06469d0 |
18-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix mesa to tgsi translation for edgeflags test apps (progs/trivial/tri-edgeflags and similar) seem to work now
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
7855fcb63ba0594cdaee15f8579b66af651828e0 |
18-Dec-2009 |
Michal Krol <michal@vmware.com> |
Merge branch 'pipe-format-simplify'
|
465333ab7078daf878ad34ab172ebb15f8a003b3 |
18-Dec-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : enable gl2, set R600_ENABLE_GLSL_TEST by default.
rivers/dri/r600/r600_context.c
|
112908c279b0a768eca95a505856a087e479674b |
18-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix frontbuffer read/drawpixels Bug 25699 The main problem was the optimising flush wasn't doing the front rendering checks properly.
rivers/dri/r600/r700_clear.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_span.c
|
b1ed72ebe2599ec178f51d86fd42f26486b9a19b |
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move the remaining format pf_get_* functions to u_format.h. Previously they depended on format blocks, but after removing those they started depending on format encoding.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
|
16c6dce013f089d072256652f012b3b604781bfd |
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
Merge branch 'master' into pipe-format-simplify Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
|
3af2ddbe943f0fe0d6b0ba9e627cbb82d0cc79f2 |
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
s/desc->type/desc->channel[0].type/
tate_tracker/st_format.c
|
e195eab9093d2a6cf55a42b2e7789c9a381b7782 |
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
Merge branch 'glsl-pp-rework-2'
|
1c28073fdfb56a241424c739b57845f47fa05002 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop assert accessing cref which is meant to be hidden
rivers/dri/radeon/radeon_dma.c
|
5484f9dfc6dbc534a5a2477aa46ebd28da1f72e8 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop unused members of radeon_state.
rivers/dri/radeon/radeon_common_context.h
|
f24c29cc3902c87f7d62052dfa498237162e7157 |
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
r600: move structs for legacy cmdbuf into cmdbuf C file. these really shouldn't be exposed here
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
|
20ee275974a58cd221031d522ad58a9548af2a31 |
16-Dec-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: Invert front face winding when rendering to FBO fixes fdo bug 25679 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r700_state.c
|
50caff5675888c0063c73fa64b88129db7aa11dd |
16-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: edgeflags change fixes use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
aeea8a07b8a3d126f62395c7f7de4fcab741846a |
16-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.6.1-rc4
ain/version.h
|
8a09e6e2ad9676c69cc4bb33459ebd4cbc9c982b |
16-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing semicolon See bug 25663.
ain/dlopen.c
|
09cef45393c14d2b02529cb3cbea194bdfc06bf3 |
16-Dec-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : clean a bit to prepare to enable gl2.
rivers/dri/r600/r600_context.c
|
138d639ec9d4454c646d94701365e25630d9f3da |
16-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: test for __blrts for CPU_TO_LE32() See bug 25663.
ain/compiler.h
|
a43fc39585c0d712244bbac5461e62f3a261d930 |
16-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: no dlopen on BlueGene See bug 25663.
ain/dlopen.c
|
6f202b53b049a3d6478fee6edb0a272cd779987e |
16-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove //-style comments
hader/slang/slang_codegen.c
bo/vbo_exec_array.c
|
ddfc2e74390d0c1df10da39112a6913ea518d349 |
16-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove //-style comments
tate_tracker/st_atom.c
tate_tracker/st_cb_bitmap.c
|
dc0a1ebc7369da62c2dfbd5ea8dec3273e099725 |
16-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
unichrome: Silence compiler warnings.
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_tris.c
nl_dd/t_dd_tritmp.h
|
a60457b03b4549808de63457485fe9eb00b9fee5 |
16-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
sis: Silence compiler warnings.
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_tris.c
|
7e3825abdb53c791633ee85ed544ac1cbe1a65e6 |
16-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
savage: Silence compiler warnings.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagetris.c
|
bc443d841c84977abd88d3be3d78287480fbe72d |
16-Dec-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Fix typo on < R5xx RS setup for blits.
rivers/dri/r300/r300_blit.c
|
ca02109e91ce7aab76eaea93d41ca98dfea22a36 |
15-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
r128: Silence uninitialized variable warnings in r128_tris.c.
rivers/dri/r128/r128_tris.c
|
7430c3ac35ed47227c47f8f5ed184e6e754ea5e7 |
15-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
dri: Initialize variable in driBindContext.
rivers/dri/common/dri_util.c
|
f23d01e726a57cd6b8e31f1049ee5853773df7ea |
15-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Fallback to software if drawable size is > MaxRenderbufferSize This prevents the mystery blank window if, for example, glxgears is resized larger than 2048 wide on 915. Since the Intel drivers in Mesa 7.6 lack GTT mapped fallbacks, the performance is a slideshow at best. On Mesa 7.7 and later the performance is much better.
rivers/dri/intel/intel_buffers.c
|
987e9188d25e7c49eb7e6fe64dbe63dd2cfc25ef |
15-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
x86: ifdef out unused function cptr.
86/rtasm/x86sse.c
|
f8135d545b5542ef33fabc92bcede2848e3e6b29 |
14-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: use _mesa_insert_instructions to fixup wpos instead of manual ins insert this keeps branch targets correct. glsl/trirast works correctly now afaics
rivers/dri/r600/r700_fragprog.c
|
dbc374cd3030d5db2c8f5d9b9405976d7efa458d |
15-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix typos for vert-tex at least i think this is how it was meant to work
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_chip.c
|
bae5e7f213b7df1d7e3381e64b69beffd1243dc4 |
14-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix fragment.position wpos.y seems inferted to what opengl expexts, so calculate correct value from window dimension and replace references in fragmentprog with calculated value
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
|
10f5cff6ac1ce7c7cee1a11cf5d68cae728e8f8b |
14-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add support for FRAG_ATTRIB_PNTC
rivers/dri/r600/r700_fragprog.c
|
0c046bec8f78f33e7530416e0faa4d127d08e641 |
14-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add DDX DDY opcodes
rivers/dri/r600/r700_assembler.c
|
6e5fe39f5051bb758b98ed4b9a2b9d550b588edf |
15-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mga: Silence uninitialized variable warnings.
rivers/dri/mga/mgatris.c
|
b18fa9f44810cde45519368170a505cdd0ebb936 |
15-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mach64: Silence uninitialized variable warnings.
rivers/dri/mach64/mach64_tris.c
|
18ebcfe39360dc0ef1e175fe6c39cbb857432ab4 |
15-Dec-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add texture support for vertex shader.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_shaderinst.h
|
a0127b6ced257919180ba3a1bf534b68d9c750be |
14-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: more work for edgeflags changes fixes, cleanups, etc. not working yet
tate_tracker/st_atom_shader.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
e76bb2f337bc71929578f1a424c74232c48c2d9c |
13-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable accelerated support for glCopyTexImage only under KMS
rivers/dri/r300/r300_context.c
|
8403df33e070cf76af8ae96373d8090e8979c897 |
13-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix regression introduced by da73c1ed The 0 value is correct for I8 format.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
|
9d8501bf2742519cc958c5f32122e196b64f8278 |
13-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix glCopyTexSubImage Need to properly setup colorbuffer when dst pitch != dst width.
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_texcopy.c
|
6c9870b54c1aad42ead5b2655c19c42343b8bf84 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
i810: Silence uninitialized variable warnings in i180tris.c
rivers/dri/i810/i810tris.c
|
555dc25c4c5a0991fb6846ccc263a195717512de |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
swrast: Silence uninitialized variable warnings in s_triangle.c
wrast/s_triangle.c
|
aa44efb04504fb6f8a1a2ff9d99388d173f7181a |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Silence uninitialized variables warnings in st_draw.c.
tate_tracker/st_draw.c
|
0aef54ba627c748a43f601228c725f5ba79be002 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
wrast_setup/ss_tritmp.h
|
20590b97336c4ebe5d2bcee51d66820e1e5d26c8 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.
nl_dd/t_dd_dmatmp.h
|
cd1a09e3bbdb907e3b806e68400804310dc168ce |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Initialize member label of struct slang_operation to NULL.
hader/slang/slang_compile_operation.c
|
7ea452dd35ba8ae063c70cc7fc916975c823ecd6 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp2.h: Silence unused value warnings.
nl_dd/t_dd_dmatmp2.h
|
9dc018618d024cfbf1f342b0141bb6aab21f41b1 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
nl_dd/t_dd_dmatmp.h
|
af4e4a73f78cb5ccb5b0295a4683b2eae5325d8f |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.
nl_dd/t_dd_dmatmp.h
|
de9132f2740d3959af548e36e9b280e9853e59b6 |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_poly_verts.
nl_dd/t_dd_dmatmp.h
|
1e444c9960b18bcee5216a49db997b1c5ec14eca |
13-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
swrast: Initialize tex_coords in handle_sample_op.
wrast/s_atifragshader.c
|
c1d361bd0b3570811ca4e49d09d3282aaa5cbe01 |
12-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_quads_verts.
nl_dd/t_dd_dmatmp.h
|
7d529736b9a07ddd5d8127c56cc25e5f6f5f2c12 |
12-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.
nl_dd/t_dd_dmatmp.h
|
c2cee7741e877bb78480eae8b8b5bfb55b42158c |
12-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
nl_dd/t_dd_dmatmp.h
|
75f371e973d19650a5c157a0844e43ffdea5e43e |
12-Dec-2009 |
Michal Krol <michal@vmware.com> |
Remove grammar module -- no dependencies left.
akefile.mgw
Conscript
hader/arbprogparse.c
hader/descrip.mms
hader/grammar/grammar.c
hader/grammar/grammar.h
hader/grammar/grammar.syn
hader/grammar/grammar_crt.c
hader/grammar/grammar_crt.h
hader/grammar/grammar_mesa.c
hader/grammar/grammar_mesa.h
hader/grammar/grammar_syn.h
hader/slang/descrip.mms
ources.mak
|
a3b32934c83f721102b9dd004227a528a174d7bb |
12-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Delete a file that is now autogenerated. This file has been modified in master and removed in feature branch. This gave a merge conflict I couldn't resolve by removing and git adding it to index.
hader/slang/library/slang_common_builtin_gc.h
|
a3eb0f718e19653a2ad8e49396c904183be456f3 |
12-Dec-2009 |
Michal Krol <michal@vmware.com> |
Merge branch 'master' into glsl-pp-rework-2 Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h
|
81dcf8bdf23250dc04dd60994aaede0eb5c2dda7 |
12-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
nl_dd/t_dd_dmatmp.h
|
784cca9fa527de771754d76545970f78094b9adf |
12-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: disable blit debugging info
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_texcopy.c
|
6b8315494ac84e6b59ae9113653224ed0a546014 |
22-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: emit number of used colorbuffers to pass radeon cs checker
rivers/dri/r300/r300_blit.c
|
dbd53f8f55cd4201ee230fec44f35e7dd2eea17d |
21-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: setup render target format for r300/r400 cards too
rivers/dri/r300/r300_blit.c
|
353966b2da7de6d694285617ee5522ee4f3863ac |
21-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: finish blit support for r300
rivers/dri/r300/r300_blit.c
|
c1a7cc1e44e2c318eaa1de67893d20774f6fec5f |
10-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
more blit fixes
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_texcopy.c
|
cd5f167353f16fb4f5b349002625b704f3e23778 |
09-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
blit WIP
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_texcopy.c
|
7255a5486dcb3acd5d7d267b9f546aff38685555 |
08-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use accelerated emit for CopyTex[Sub]Image functions
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_texcopy.c
|
a4df3f9227f1e068792454920d9ec782326da88f |
08-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: accelerated blit support
rivers/dri/r300/Makefile
rivers/dri/r300/r300_blit.c
rivers/dri/r300/r300_blit.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
|
0a0d410bdbbc9ea9b56fca51e077de32d629d20d |
08-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix wrong assertion
rivers/dri/r300/r300_cmdbuf.c
|
bd58253f675cb37b7521f082f80a3fd9cab6eff1 |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: export translateTexFormat function
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
|
9975c484ad828c80089c718dcdbdb2040f45b67b |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: refactor PVS code and constants emission
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
|
545a2f4f2d94b663e67cf1e682b49d088dd7ee90 |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: refactor R500 fragment program emission
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
|
05fae9fbf6d4409a8718813d9a607afc3c162050 |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: refactor color buffer setup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
|
5ee270820ba8dc7bfc6be5812f02c66f4a76f705 |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use _mesa_meta_Clear for buffer clears
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
da73c1ed41c6d2867cca34ca1d481537ec3cb077 |
12-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor texture code refactoring
rivers/dri/r300/r300_texstate.c
|
9c01cf425fac3853c65bd732270a015106766865 |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor reformatting/rewrapping in dd.h
ain/dd.h
|
56dce15dcc7b0a869813ef97a0e68b166bac244f |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ctx->Driver.ActiveTexture() hook
rivers/common/driverfuncs.c
rivers/dri/mach64/mach64_tex.c
ain/dd.h
|
e24a8de8ba3b0765852dbcc170f770572bd042ac |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comment
ain/dd.h
|
a087eb590d780cb82b49464e05ffc85123adce7e |
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
|
e128cc205e30540597ecd57849060a6bf4714d9f |
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
|
d8f8eca9efaf2f537cf9218e4dd1d742e19ffc76 |
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unnecessary loop in _mesa_remove_output_reads()
hader/programopt.c
|
b605f4ff11c894500f2d0273c5d4653ff413448d |
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
|
5076a4f53a2f34cc9116b45951037f639885c7a1 |
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check dst reg in _mesa_find_free_register() If a register was only being used as a destination (as will happen when generated condition-codes) we missed its use. So we'd errantly return a register index that was really in-use, not free. Fixes bug 25579.
hader/program.c
|
f7f1211b9b0a8fa0e5f5427b74b4eee4dabf65af |
11-Dec-2009 |
Aurelien Jarno <aurel32@debian.org> |
sparc: additional preprocessor test for SPARC 64-bit
parc/xform.S
|
94fba49be97008565c0225bc46894bfd9453bb5e |
11-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize variable in MatchInstruction.
hader/nvfragparse.c
|
e31df54754e2305b7cc7072053bf5a4e0b477fd6 |
11-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Assign _mesa_lookup_parameter_index return value to GLint.
hader/prog_parameter.c
|
cb1dcb55f9884431a5e2b90e9208b42558a95611 |
11-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
i915: Add missing break statement in i915_debug_packet.
rivers/dri/i915/i915_debug.c
|
d38ffed5236adf3ee83c0bc5bdee0233ce566e01 |
11-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Increase size of array in_slang_lookup_constant from 4 to 16. For some cases, _mesa_GetIntegerv reads up to params[15].
hader/slang/slang_simplify.c
|
e624b77eb2d594cde053c73a530836e05227126a |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove ARGB internal_format == GL_RGB hacks Now that XRGB is supported, we don't need to hack around cases of an RGBA format buffer with an internal format of GL_RGB.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_span.c
|
b4a6169412819cc3a027c6a118f0537911145a30 |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Make RGB textures use XRGB8888
rivers/dri/intel/intel_tex_format.c
|
cbdeb33209e782f011984a4b93cc0d36f567462e |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.
rivers/dri/intel/intel_fbo.c
|
eadd9b8e16e3b1ad35fec54f780a0f94ac43988f |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Fix handling of drawing to MESA_FORMAT_XRGB8888 It turns out that 965 and friends cannot actually render to an xRGB surfaces. Instead, the surface has to be RGBA with writes to alpha disabled and the blend function modified to always use 1.0 for destination alpha.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_wm_surface_state.c
|
4f2b2032f46939b6056f837a086e73f0417183fc |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888
rivers/dri/intel/intel_span.c
|
ffc1f299e9eaa6eaa4b5586b9fb13132564bd3ae |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV This is really for MESA_FORMAT_XRGB8888. Clearly spantmp2.h needs some re-work. Any volunteers?
rivers/dri/common/spantmp2.h
|
430876cd3a70d3b701d136b825518140888f96c8 |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: name in intel_create_renderbuffer was always 0, remove
rivers/dri/intel/intel_fbo.c
|
0f01674a584ea6df96acf91d7cd3b8a9b48ee65e |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Use texformat accessor to get bytes-per-pixel
rivers/dri/intel/intel_fbo.c
|
4eee46efcb7e1f737b7115caf48ddb3b77408626 |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove
rivers/dri/intel/intel_fbo.c
|
3078bd136d6ee1d9ad16b4c834cad23b005304a4 |
08-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Axe intel_renderbuffer::texformat Since the texformat branch merge, the value of intel_renderbuffer::texformat is just a copy of gl_renderbuffer::Format.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
539a14a1dd5a0d277b193d9cd2d06423ed98dc8a |
09-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Flush the render/texture cache when finishing render to texture. Back when we were flushing the entire batch at BindFramebuffer, the kernel would notice the domain transition when someone went to texture from it and flush for us. We no longer do the batch flushing every time, so we get to do aggressive flushing until we move batchbuffer handling to libdrm. Fixes piglit fbo-flushing. Bug #25377. No noticeable performance loss on cairo-gl (so this is better than batch flushing).
rivers/dri/intel/intel_fbo.c
|
51f52edaf186a927a2c8c29ba9dba56d18928a7e |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Fix array out-of-bounds access by _slang_lookup_constant.
hader/slang/slang_simplify.c
|
dcb4a37fc89924192d923ed6906d2922371b8cb1 |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
ain/texparam.c
|
cb640c8d40c4ee34160a14d646c244f44a5013f6 |
10-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix default (swrast) GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS. The swrast pipeline shouldn't have any problem with all the frag and vert textures being bound at the same time. Note that this may result in DRI drivers that don't set this limit having an improbable return (fragment + vertex < combined), but it seems like it shouldn't cause problems for apps.
ain/config.h
|
51e945ec9c0b803f5e998f87449fb02a7c39ae65 |
10-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Attempt to fix up after "Update vertex texture code." The MaxCombinedTextureImageUnits is the total number of samplers that can be bound between vertex, geometry, and fragment, not 0. This should report the correct value on 965 now. Other DRI drivers may also need updating if their MaxVertexTextureImageUnits != 0 (for example, if using the sw vertex pipeline). It's not clear to me if there's going to be a valid value for this limit other than MaxTextureImageUnits + MaxVertexTextureImageUnits (+ MaxGeometryTextureImageUnits eventually). If not, then we should probably just move this into the core at Get time. Bug #25518 (wine regression). Fixes piglit vp-combined-image-units.
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
|
491f384c3958067e6c4c994041f5d8d413b806bc |
10-Dec-2009 |
José Fonseca <jfonseca@vmware.com> |
scons: Get GLSL code building correctly when cross compiling. This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
hader/slang/library/SConscript
|
cc020425e929110613ddb405d3e82313d27a35ed |
10-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added new libglslpp.a and libglslcl.a to libGL build
akefile
ources.mak
|
f00805a11756fa9d2bdfce15f51ae4798d72b5fb |
10-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Predefine ES symbols for FEATURE_es2_glsl.
hader/slang/slang_compile.c
|
48c60b0ecbc7d2f2b153d218a46c61928daddb8e |
10-Dec-2009 |
Michal Krol <michal@vmware.com> |
slang: Explicitly enable ARB_draw_buffers and ARB_texture_rectangle. They are no longer built into the glsl preprocessor.
hader/slang/slang_compile.c
|
f6106566081978f663cf08e54bb8908cb58a5316 |
19-Feb-2010 |
Michal Krol <michal@vmware.com> |
gallium: WIP: Introduce sampler views.
tate_tracker/st_cb_drawpixels.c
|
05b62960929b78a53465ffcb0739454519ed157a |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix SCons build. Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted src/mesa/state_tracker/st_cb_get.c.
Conscript
|
b82757880545f8bce471ba8f13c16998888cd4b5 |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexGend. _mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array.
ain/texgen.c
|
444d1f39108ab4419843f19f76c968cef3398bab |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_Lighti. _mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
ain/light.c
|
34528a34c446afea4442f479713e7f926220f128 |
10-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_Lightf.
ain/light.c
|
068596c9a7e8d330ffdff8ad8700bd6093b5bdea |
10-Dec-2009 |
michal <michal@transistor.(none)> |
Build mesa glsl with make. Still don't know how to add glsl to mesa dependencies.
akefile
hader/slang/library/Makefile
|
348883076bd213ec733a1ba2a4768788e4669c97 |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_PointParameteri. _mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array.
ain/points.c
|
6f2d51b81ff907af9727e90153a46e79e246fc66 |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_PointParameterf. _mesa_PointParameterf calls _mesa_PointParameterfv, which uses the params argument as an array.
ain/points.c
|
637970aefdcdd1ee50e3759de384b82e6109a45c |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_LightModelf. _mesa_LightModelf calls _mesa_LightModelfv, which uses the params argument as an array.
ain/light.c
|
8927b72118f9433aafd0e811cfc1981215eb3c5f |
09-Dec-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add pre-compile mesa shader calling interface, in order to handle complex built-in shader instructions.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
a082d965de228d5035e59245df528af62761652a |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Remove unused member x from struct slang_operation.
hader/slang/slang_compile_operation.h
|
a08e348a84f57ed5e8bf5888f1ce13934d2ce8fa |
09-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: first steps to treat edgeflags as regular vertex element The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
tate_tracker/st_atom_shader.c
tate_tracker/st_draw.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
3de8fff45d04fd7e702cd656ba97cafd348c3981 |
09-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS. See bug 25528.
ain/texobj.c
|
dfdf83d714c0d32d9182eb3001cf642aa6cb5c87 |
09-Dec-2009 |
Michal Krol <michal@vmware.com> |
Revert "Simplify the redundant meaning of format layout." This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
tate_tracker/st_format.c
|
33a120e4761a661736ea64a3efc2e3831ac5600a |
09-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix state size prediction after dc0777d3
rivers/dri/r600/r700_chip.c
|
e3fa700c178e11e6735430119232919176ab7b42 |
09-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
meta: Bind texture to unit 0 for mipmap generation If the active texture unit on entry to mipmap generation is not zero, bind the texture to unit zero. Fixes bug #24219.
rivers/common/meta.c
|
cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 |
09-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Move OES_read_format support from drivers into the core. The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths.
ain/context.c
ain/framebuffer.c
ain/framebuffer.h
ain/get.c
ain/get_gen.py
ain/mtypes.h
ources.mak
tate_tracker/st_cb_get.c
tate_tracker/st_cb_get.h
tate_tracker/st_context.c
|
af16c822a5af8ce0aa7582e8ea44315b62b7356b |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_LightModeli. _mesa_LightModeli calls _mesa_LightModeliv, which uses the params argument as an array.
ain/light.c
|
d33bf38d63d233f6a09115acfff230c464d3ee29 |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_Fogf. _mesa_Fogf calls _mesa_Fogfv, which uses the params argument as an array.
ain/fog.c
|
3f7c2ac2798b385bed97b6931a1568a7e0223a0a |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameteri. _mesa_TexParameteri calls set_tex_parameteri, which uses the params argument as an array.
ain/texparam.c
|
dd9eb8774ad7918187afebf8cd3be6f4b80f0f3b |
09-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4. Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
rivers/dri/intel/intel_pixel_read.c
|
7f146b38240e1c4efa6d8d0a4e5a0c8346706de5 |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_Fogi. _mesa_Fogi calls _mesa_Fogfv, which uses the params argument as an array.
ain/fog.c
|
a1d46fbea0b40d7edc668ea5993ea4318f37c9f9 |
09-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameteri. _mesa_TexParameteri calls set_tex_parameterf, which uses the params argument as an array.
ain/texparam.c
|
d88f3b946804f9a3e8cad4f8896e6be488fec2b5 |
08-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameterfv. _mesa_TexParameterfv calls set_tex_parameteri, which uses the params argument as an array.
ain/texparam.c
|
54b0ed8360019fc6e0234c2c3413be40fe4d3b59 |
08-Dec-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix array index out of bounds error, and fix evaluator priorities Fixes bug 25525. Plus, the GL_NV_vertex_program evaluators alias and override the convential evaluator maps, so set their state after the conventional maps.
bo/vbo_exec_eval.c
|
eb926ddf9eee1095c7fc12013f0b8375bbaeca6f |
08-Dec-2009 |
Michal Krol <michal@vmware.com> |
Simplify the redundant meaning of format layout. We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
tate_tracker/st_format.c
|
4ebc54795dc93f7eee200312abfa2da1b49506e3 |
08-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-strict-aliasing'
|
ee1720b99dfb5964962f2346406a4e3e88374a68 |
08-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix more potential strict aliasing issues In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5.
tate_tracker/st_atom_pixeltransfer.c
|
6fd8b9b550713302566bb4c28e49c219870ccfec |
08-Dec-2009 |
Michal Krol <michal@vmware.com> |
Remove remaining pipe format utility functions. Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
tate_tracker/st_format.c
|
629a648b059d8a2653b6a9cdf7f460533de0e1da |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: and finally fix SCS
rivers/dri/r600/r700_assembler.c
|
0f854105f5a430ab36281c9bed530eccb8b8f44c |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: remove (now) dead code
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
fbe06a9c2999a802333f8310156d58045d723799 |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix SIN also
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
2b8b16f6a6ce6091d4939cfb567a65a52757dff0 |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: use the new inline constants feature to fix COS
rivers/dri/r600/r700_assembler.c
|
4e86cedf5b7ab98dbe59115fc325f9b3172d58be |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add assembler support for literal(inline) constants and use it in cubemap instruction sequence for testing
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
602ba357edd640e0db17911b39d3ecfbf5675230 |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: merge alu_instruction/alu_instruction2
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
17e212e2631cd652c28378399806c3b3bd293e9a |
07-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add ABS support for source regs to assembler use it in tex cube instruction sequence
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
50ab51101e4c5e64ab92c260c324fb66a98851a8 |
04-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: glsl - allow specifying texture sampler via uniforms looks kinda hackish, should rethink later
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
94723b60cf3dd838dfaf505450db8ef2e089399c |
04-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: implement FRAG_ATTRIB_FACE, glsl/twoside works
rivers/dri/r600/r700_fragprog.c
|
323d1fb3910d7e53cb5200ee90849b2231fd96fb |
03-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: quick hack to get KIL_NV working - does condition TR only for now
rivers/dri/r600/r700_assembler.c
|
c1d79a4235fa2edb05e92f9b93a105ff356a4a18 |
04-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: wip glsl - refactor conditional instructions a bit remember the dst register which is used for cond updates when it's time to use the cond codes issue a separate PRED instruction
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
94c6ec5809b08676f12628b49dd88ec694d07a48 |
03-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: execute SET funtions on all channels seems assemble_LOGIC was meant for non-condition-code instructions so execute in for all components as previously
rivers/dri/r600/r700_assembler.c
|
6785d6741db987469293d737e9b18f94d189b62e |
19-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).
rivers/dri/i915/i915_texstate.c
|
b51e0fafdf6a39df1b0d1208595c92d5fa9ceba6 |
19-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i915: Clean up some unnecessary x/y miptree code. The base of the texture is always the base of the miptree. If it wasn't, we'd have issues with this code due to miptrees not walking the same direction for all LODs.
rivers/dri/i915/i915_texstate.c
|
f06c8bd8dd961c9b722759b5d1f8fca78023aba8 |
15-Dec-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt() Bug #25628. Fixes piglit case glsl-vs-sqrt-zero.
rivers/dri/i965/brw_vs_emit.c
|
325f045c04121b989bddfca02711e3d03f7f9c3f |
18-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: move assert on nr vs insns until after pos_invarient expansion It is possible to have a 1-instruction vertex shader before expanding pos_invarient. Not sure what this assert achieved, but at least move it where it is correct.
tate_tracker/st_atom_shader.c
tate_tracker/st_program.c
|
b5e256c76dea2182c82af2a4f66224735701d55a |
08-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
|
0d4a05445c6b47b93269a3829afbe509ffec4817 |
08-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
|
369669ff9a7ff7636cadef8e2b13f2f28face98f |
02-Dec-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add support for TXB instruction makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
rivers/dri/r600/r700_assembler.c
|
dc0777d3e3b760d7faa5fb99a189919bde07ca0b |
04-Nov-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: reorder state for render_target and blend First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
rivers/dri/r600/r700_chip.c
|
ba167f812c44c4bb8c8f844c3d5fbff60bfc93eb |
08-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.7-rc1 Also modify the Makefile to use the correct version for the tarballs.
ain/version.h
|
8fc433fa0f8c5364454858f9be919387feda440c |
08-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
|
bb64c9bcdf9962c4f74d71f49307de1da4c3392b |
08-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers." This reverts commit 4598942b1b88a2a7d5af7febae7e79eedf00e385. XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it for 7.8 or something.
rivers/dri/intel/intel_fbo.c
|
9dbd47fc6b1cf9ddfb318f2e05df0886cd5fe0df |
08-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.6.1-rc3
ain/version.h
|
9921b3048e611398460ef774355b7515bc901240 |
07-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix cases when only first image where put directly into miptree. Make sure that minimal width, height and depth of texture image is 1.
rivers/dri/radeon/radeon_texture.c
|
013cf1d63deb9c33089777afbdea85013fd46b49 |
07-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix image migration for small compressed textures memcpy would give incorrect results if src rowstride != dst rowstride
rivers/dri/radeon/radeon_mipmap_tree.c
|
72362a5cd41d97b770980c28fe6719c556f12ab7 |
07-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix shader prog_execute strict aliasing violations use unions instead of pointer casts.
hader/prog_execute.c
|
3456f9149b3009fcfce80054759d05883d3c4ee5 |
07-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
tate_tracker/st_atom_pixeltransfer.c
|
c36d1aacf4c70d76165c91cd7048c0f9f43b8571 |
07-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix strict aliasing issues in half-to-float/float-to-half conversions use union instead of casts
ain/imports.c
|
c90baf444ca91d06ae5be392a04c0c8119cb08dd |
07-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove debug code
tate_tracker/st_mesa_to_tgsi.c
|
8ce17134431ec27666e8fba2fa4bd22ba3f3ed18 |
07-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: negate DDY to match GL semantics This fixes the regression from commit 884007546c98b1779bf266ec5111b1e7e2b68b2e Fixes bug 25456 (piglit derivs regression).
tate_tracker/st_mesa_to_tgsi.c
|
8468234bfa98be77cbceecc8e91325c00e4e424b |
07-Dec-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix up comment
tate_tracker/st_program.c
|
c994f08eb1ec2a4bbaa44fbd6d35e7ff033d5c3c |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
dri: Fix potential null pointer dereference in driBindContext. (cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
rivers/dri/common/dri_util.c
|
f622b649fb0c55b1640997f9d32ea327743519a1 |
24-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
dri: Fix potential null pointer deference in dri_put_drawable. (cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
rivers/dri/common/dri_util.c
|
df02bc42b330fe20679dd3e5e83317df72ddd5ca |
06-Dec-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon/r200/r600: fix drivers for changes in 433f0a82f5a4696e6b0c4061f645485ec8079bb4
rivers/dri/r200/r200_texstate.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
b2953ee1a655a010f36b5fc1b47f8bd8b06ce368 |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexGenf. _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. (cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)
ain/texgen.c
|
d74cd04e6190ebb3a9c53d45cbb2452d92e24ad5 |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexGeni. _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. (cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)
ain/texgen.c
|
ca8a2150c79899bad0f80e132656863822db045e |
30-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameterf. _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. (cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)
ain/texparam.c
|
4071d065c2c32a872bb148d108252a2380c42da4 |
30-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameterf. _mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array. (cherry picked from commit a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d)
ain/texparam.c
|
01537a84dfe65cd1512d6fbf71e975fad5639432 |
05-Dec-2009 |
Michel Dänzer <daenzer@vmware.com> |
st/mesa: Prefer alpha-less formats for RGB textures. This can e.g. increase the chance of being able to accelerate glCopyTex(Sub)Image from an alpha-less renderbuffer.
tate_tracker/st_format.c
|
433f0a82f5a4696e6b0c4061f645485ec8079bb4 |
05-Dec-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
fe8e18bcd41a19282ba92350a04a34866fda1d7b |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access in _mesa_TexEnvf. _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array. (cherry picked from commit a11d60d14caf8efc07f70af63b57b33273f8cf9b)
ain/texenv.c
|
8d8fd9776e23a34e0d22e489ce1f85eb5e383121 |
04-Dec-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix polygon stipple fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_state.c
|
9c6a9363ef96c00dd0ad63e340b32479e43fea45 |
04-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-noblocks' Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
|
86c8f70db10a584aa78e4d5f397ad3543fdb77d2 |
03-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: use _mesa_memcpy for COPY_4FV macro Gets rid of one of the worst strict-aliasing offenders, and actually produces faster code (at least in some cases, when compiler can use for instance 64bit moves for memcpy). (note _mesa_memcpy should get inlined)
ain/macros.h
|
6c41bb25a2e260dbce2c2d72ec64d1beb74527de |
03-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: workaround an FBO issue Fixes #21501
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
8cde43eb19c4dcceb74166e1da123d316a429c21 |
02-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: properly check if image should be placed in the miptree Fixes #25355
rivers/dri/radeon/radeon_texture.c
|
2b5618fc5bdcbee3434f8b5aa3a31eb06fb479c0 |
03-Dec-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r200: fix polygon stipple fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
|
72befaaae5fd9555e1f6ccbd6a74c0d640fc2929 |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Remove pf_swizzle_* internal macros.
tate_tracker/st_format.c
|
f5bd93fae2e4f46665eb1f09ca64cb39ff2b8a79 |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_get_component_bits() to u_format auxiliary module.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
tate_tracker/st_texture.c
|
cceeab39ea541b1be1521114316d660a77769c2a |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_get_bits/size() to u_format auxiliary module.
tate_tracker/st_cb_texture.c
|
6df42d80234d13676fc3207cf44f0e371e3372b5 |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_get_block() to u_format auxiliary module.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
0bed834be4a174d20b31a6cbcf066774bf749929 |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_is_depth_and_stencil() to u_format auxiliary module.
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
d28740c298968303500a8c43047ded2679e727ac |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_is_depth_stencil() to u_format auxiliary module.
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
|
3400b668e35469d5dbba515e3a8b9d775fd2eff5 |
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_is_compressed() to u_format auxiliary module.
tate_tracker/st_cb_texture.c
|
cc8a537c57a62a196106b592e510e4c93bd1826e |
02-Dec-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_7_branch'
|
0c75854cc1650dc870e042aa66a053e70b3d4556 |
02-Dec-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge commit 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: src/mesa/main/version.h
|
4598942b1b88a2a7d5af7febae7e79eedf00e385 |
02-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.
rivers/dri/intel/intel_fbo.c
|
db352f58fab419c475b89418cd27b35f5f5d3822 |
02-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix bad conversion in AL1616_REV texstore.
ain/texstore.c
|
b47f7316dab5eb81bc7e60dc93bb5dbe824c43d4 |
02-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix copy'n'paste problem in al1616 texel fetch.
ain/texfetch_tmp.h
|
09325b9ff456ae475069bac5a04cf10a32235e43 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added comment for target_enum_to_index()
ain/texobj.c
|
d8da270a2be18849eee8a168d1c1528e96677b41 |
24-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove GL_NV_point_sprite from extension list i830 does not (and cannot!) support the any of the non-default GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but currently do not. In both cases it would require mucking about with the fragment shader.
rivers/dri/intel/intel_extensions.c
|
759c094bf8fd0f104b738490d7f0b85f40fc2779 |
01-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: avoid quadstrips if its easy to do so Tristrips are easier for many drivers to handle.
tate_tracker/st_draw.c
|
a7e4a311e971005f7b23572ff3ca93f6d3c17edf |
02-Dec-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix more front-buffer rendering after Brian's less flushing patch. bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 left out many blit paths. This fixes up more of them to get Blender to work again. Bug #25030.
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
e84dddde9b6eb7727760814ae211c95218bb28a3 |
02-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
Revert "radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode" This reverts commit 286bf89e5a1fc931dbf523ded861b809859485e2. This doesn't appear to be correct, regression so revert it. http://bugs.freedesktop.org/show_bug.cgi?id=25193
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_common.c
|
c8cdce665790263bb2142d894a81c87abc4da9fb |
01-Dec-2009 |
Brian Paul <brianp@vmware.com> |
vbo: make flush recursion check code per-context This fixes invalid failed assertions when running multi-threaded apps.
bo/vbo_exec.h
bo/vbo_exec_api.c
|
8c26cefec7ad52c4fa52fd1a89e18f463b85257b |
30-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: updated emit_swz() comment
tate_tracker/st_mesa_to_tgsi.c
|
06d3732a9094030fc33120f16f162e0d405f132c |
01-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/mesa_7_7_branch' Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
|
853d4807fe220b17cf5af5a76b24f2466238013b |
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
mesa: Update vertex texture code after gallium changes.
rivers/dri/i965/brw_context.c
ain/context.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_extensions.c
|
e197652ce08cacf0fdbf0509db5eb26500d556c5 |
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
st: Update for renamed sampler/texture state setters.
tate_tracker/st_cb_drawpixels.c
|
f17dbe256bb38c35d885260be7e5856f1561de97 |
01-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.7-rc1
ain/version.h
|
910aaed4daad319b584b68ae2468432c8f6bac21 |
01-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.6.1-rc2
ain/version.h
|
650e02003fbb5511ec758d993b7ec0a302ee2235 |
01-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
|
587a52e95bbe96788e8b96b63f091bb3022fc048 |
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Actually put i915PointParameterfv in the driver function table. Duh.
rivers/dri/i915/i915_state.c
|
ac400ffce62be47fc77e8d10cabcd39b92b6c627 |
30-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: interface cleanups, remove nblocksx/y from pipe_texture and more This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
7725744433827509d1da1cf1b27cda4bc8012ef3 |
30-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: handle front/back-face +1/-1 vs. 1/0 conversion Fixes progs/glsl/twoside.c demo.
tate_tracker/st_mesa_to_tgsi.c
|
270d36da146b899d39e08f830fe34b63833a3731 |
30-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameterf. _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array.
ain/texparam.c
|
533b7660073f2c1cd1a19105d4989ec11bfdcd87 |
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Fallback bit define missed on previous commit
rivers/dri/i915/i915_context.h
|
718f31b830b2c4edad8b7e04804ff23e1db93e5a |
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Round point sizes instead of truncate.
rivers/dri/i915/i915_state.c
|
d8d49716cf5d5cabebadc32d7717eec787c75ff1 |
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Enable point sprite coordinate generation Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313.
rivers/dri/i915/i915_state.c
|
a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d |
30-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexParameterf. _mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array.
ain/texparam.c
|
a1b9c4e22a83d2125f66c3a3af3143bc0daee9a4 |
29-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : clena up a bit for last commit.
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_vertprog.c
|
2db72f329f35ee6e12df3ed472de2ee72cf23399 |
29-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add read port allocation for uniform; mapping ps input based on vs output; fix bugs including constants updating for vs.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_vertprog.c
|
63c00c53a3019b801c5eee8a12f7862422f79f10 |
29-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: update miptree code a little Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230).
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_texture.c
|
2773556d55fe6043bee3d4c86f7b78906e5d60e0 |
29-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: don't check the same miptree many times when looking for matching miptrees
rivers/dri/radeon/radeon_mipmap_tree.c
|
e8f0c8ab9d3509dc399ea58c320056ed90895792 |
29-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add some debugging info
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
|
ca5a7aadb4361e7d053aea8687372cd44cbd8795 |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexGenf. _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array.
ain/texgen.c
|
d55fb7c835b56951f05a058083e7eda264ba192e |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access by _mesa_TexGeni. _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array.
ain/texgen.c
|
919898e92fa23ff71a59d86a46ff0886a6f34e4d |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
dri: Fix potential null pointer dereference in driBindContext.
rivers/dri/common/dri_util.c
|
a11d60d14caf8efc07f70af63b57b33273f8cf9b |
29-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix array out-of-bounds access in _mesa_TexEnvf. _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
ain/texenv.c
|
e5159996a43d64f71d44dd2bd477d10e37ec9a27 |
28-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: need to flush cs when moving images between mipmap trees
rivers/dri/radeon/radeon_mipmap_tree.c
|
f62f976e3ff9ff83d760e706c615e098d131e103 |
27-Nov-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Avoid void pointer arithmetic.
ain/texgetimage.c
|
c95cbd45c657ac47e908a4d99d118737034bde43 |
27-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'width0' Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
|
d509f84543d0979e9bb53c20c195f378dd61e728 |
26-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
tate_tracker/st_cb_fbo.c
|
0528f40e3b8ca3e59d3a641c4504d34cf9364578 |
26-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errors This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950).
ain/points.c
|
4dcdf3b9c67f1481d46c1decba84c9c55698db4c |
26-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge commit 'origin/st-shader-varients' Conflicts: src/mesa/state_tracker/st_atom_shader.c src/mesa/state_tracker/st_program.c
|
ee27b713dc6a2d32dc287dc9462359804e051a06 |
25-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang/library: Don't need the *_gc.h files, they are autogenerated now.
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin_gc.h
|
3371f7e5025e5288eaba78973a2c81ec5d5b1e4d |
25-Nov-2009 |
Michal Krol <michal@vmware.com> |
scons: Autogenerate GLSL builtin library *_gc.h from *.gc files.
Conscript
hader/slang/library/SConscript
|
e4c5fe52c99bdf651aafa1569d9cf901891004d8 |
25-Nov-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix context destroy needing lock for flushing. Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_lock.c
|
ce56a867f71d0a74172a00869a3c5cb1862f4b04 |
25-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
r600: add ARB_texture_non_power_of_two support. This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
11dce740305ea3f45966a9e9f72ba94b4eae6d40 |
24-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : reset stack flag with one channel only.
rivers/dri/r600/r700_assembler.c
|
d4c2f53ca56beb8fe9289fb17c3f5fcc2cc7dc10 |
24-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : fix stack depth setting bug.
rivers/dri/r600/r700_assembler.c
|
92c6a26a8a0f6ce540fe7c9681fb9a30b0da9e5f |
25-Nov-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix context destroy needing lock for flushing. Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_lock.c
|
bae9ece685e3c10fc0118e99771845d15895a0cc |
24-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Fix allocation size. We don't need 16K+ to store a single pointer.
hader/slang/slang_emit.c
|
53d9b7d361915d6cf33b73017789e746342cc453 |
24-Nov-2009 |
Michal Krol <michal@vmware.com> |
mesa: Fix pointer arithmetic.
ain/texgetimage.c
|
b12ca6b87b55e3359e81d5a3be380c860478e353 |
24-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Initialize Length and Offset fields when mapping a buffer object This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
rivers/dri/intel/intel_buffer_objects.c
|
2176b3ed9ab832122e56aed3242dfda102a5fec6 |
24-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix swtcl bo leak problem. We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_dma.c
|
bd13e6e5e2403ada2098e3a07c0af4b4ba989ab7 |
24-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300/r600: make bo mapping be explicit This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_swtcl.c
|
863ad9a68388979e1d305f8689146e18ef4f098c |
24-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use gcc __builtin_popcount()
ain/imports.c
|
364070b1f2b08d43fb205ec198894a35bec6b2f3 |
24-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
dri: Fix potential null pointer deference in dri_put_drawable.
rivers/dri/common/dri_util.c
|
5173d14cb5821637f22247d16be1b970f3762d6a |
23-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
Merge commit 'origin/mesa_7_7_branch'
|
960464e42dce138fde11c379ce7744bc4be14aa2 |
23-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix errors in miptree related function - typo - memory leak - off by one (spotted by airlied)
rivers/dri/radeon/radeon_mipmap_tree.c
|
03f0ebe3bd202b955a0e68bdad65a9a2d27bee2f |
23-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Fix order of parameters to sl_pp_tokenise().
hader/slang/slang_compile.c
|
601edbef172f3106b9e4c0b96b24d8b5eea8d2a5 |
23-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
Fix the DRI swrast driver for big endian platforms. Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
rivers/dri/swrast/swrast_span.c
|
18384af7491c408c4182b72807b02c11b55509f8 |
23-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Check return value from emit_instruction().
hader/slang/slang_emit.c
|
f61865799defe6636ac893c7ddb510911e5bfa0c |
19-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Be more robust with memory in concat_shaders().
hader/slang/slang_link.c
|
67125c7f9aa141a7948ebb915ece9d991bb6ff19 |
23-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize variable in _mesa_get_texel_fetch_func.
ain/texfetch.c
|
a12b468d002edb6c8a7c95882edd3e5e7f615a4e |
23-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add support for shader instruction trunc and discard.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
c3c8c40cab193e0aa0f1a42bff7b0d726df8cf9f |
22-Nov-2009 |
Dave Airlie <airlied@linux.ie> |
r600: hopefully fix segfault.
rivers/dri/r600/r700_assembler.c
|
f9b0f1dfa1695db79553f67fd0c156d445062ffa |
22-Nov-2009 |
Dave Airlie <airlied@linux.ie> |
r600: fix inline issues
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
1f8c23d9db84178f5b129dcd5f6dbae4a31f796a |
22-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add stack depth calculation, enable CF pop.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_shader.c
|
a02938a8421270389178d4969a5411a1691d929a |
20-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : use cf for all pop now, left optimization for future.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
e0fda040135490fdd54e57000c7995e27dc70657 |
22-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix VP source conflict resolution on 64-bit machines On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
rivers/dri/r300/compiler/radeon_program.h
|
dfe440c856826450195e3fc5100a3b97d7c0b173 |
22-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix SIN/COS/SCS instructions for R300 fp
rivers/dri/r300/compiler/radeon_program_alu.c
|
1cf021475a6628cdf4c26457bc7ca0c603fe2c7c |
21-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: No need to purify source text for tokeniser.
hader/slang/slang_compile.c
|
563fe6e8f6c021ea45120cb1f201a1950b8d6057 |
21-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix compressed mipmapped textures Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
1d1f81af93058541992bd0795b86500509edea56 |
21-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix glCompressedTexSubImage
rivers/dri/radeon/radeon_texture.c
|
465fee75ee8991349da742e5a1a5be3cd179bb62 |
21-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: make CopyTex[Sub]Image fallback debug messages more consistent
rivers/dri/intel/intel_tex_copy.c
|
c367f4d46ee70c1d5879031235824e59e13f6677 |
21-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: handle different RowStride in _mesa_get_compressed_teximage drivers storing compressed textures with non-native stride but relying on _mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't work correctly (for instance i965 compressed mipmaps).
ain/texgetimage.c
|
8451b29d9628f09b65962385bfbd95cd7f26427f |
21-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix several memory leaks on exit. Bug #25194.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
|
08e5d1ecad79d1c08541ba08a436f5145c5c9376 |
20-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : eliminate Wondows line ending for test code.
rivers/dri/r600/r600_context.c
|
3f2c77659ca552c43f544228f3a5a5fe6365513a |
20-Nov-2009 |
Dave Airlie <airlied@itt42.(none)> |
Merge remote branch 'origin/mesa_7_7_branch'
|
f8ea5318200c1ed839fc387b16a57c8d9969974b |
20-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
r100: fix texture_from_pixmap and compiz. r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/radeon/radeon_texstate.c
|
b09e74901a4f92299fe3f52f57d27fd5ca5bdd2d |
19-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : Clean up a bit test code mess.
rivers/dri/r600/r600_context.c
|
683e35f726a182ed9fc6b6d5cb07146eebe14dea |
19-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: don't use arrays for texture width,height,depth
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
4e6c79ac166b71414f09e671aaad0e1d0d406e42 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace st_flush() with pipe->flush() We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
tate_tracker/st_texture.c
|
2198497203ec427f836978098028abf3350e5e57 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
vbo: added recursion check in vbo_exec_FlushVertices()
bo/vbo_exec_api.c
|
48dfd3938e428295c45692cfde0a2afff04a7970 |
19-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : change shader pop method for now.
rivers/dri/r600/r700_assembler.c
|
dc41d62250ce51f28e94f1d365836ac9f2ff8907 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: get rid of compressed_num_bytes() code
tate_tracker/st_cb_texture.c
|
92863109af05acdb4ee5e42141c83ab0f18b7f88 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove is_compressed_mesa_format()
tate_tracker/st_cb_texture.c
|
273f4d6b5fe125bf0cba44c5ee8b25c76d3396c0 |
19-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove pointless assertion
tate_tracker/st_cb_texture.c
|
49b3f4a6bc498d964296f7305b490ec983b9fac4 |
19-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
Merge branch 'master' of ssh://richardradeon@git.freedesktop.org/git/mesa/mesa
|
6345a7ba447d3e04b939ead6fee44fe9201ec2e3 |
19-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : check in shader code test enable flag: if flag R600_ENABLE_GLSL_TEST defined, IL shader code will goto r600 assembler. The test base is /mesa/progs/glsl/brick, and changes shader code in CH06-brick.frag/vert to test different logic op combination. (if,else,while,function,...). The stack depth code is not in yet, so it is hard coded now. So complex code would not run (such as things like 8 loops embeded loop in loop).
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_assembler.c
|
4e6e2462ea1fb5b7fc24bb0e707a9cf6507c47c9 |
19-Nov-2009 |
Tom Fogal <tfogal@alumni.unh.edu> |
mesa: define 32bit byteswap for AIX. Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <brianp@vmware.com>
ain/compiler.h
|
827ba44f6ee83ab21c6a2b09323f6f1df4a7d4c8 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove non-GEM support. This really isn't supported at this point. GEM's been in the kernel for a year, and the fake bufmgr never really worked.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
|
667760f53c16fae45ab29881c5ea12eef5fcda54 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead intel_context members and move some packing around.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
ee64347979b4e22976910cb97869887f7de4241c |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove our special color packing macros and just use colormac.h.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
|
c4b7c47fe3135f852919cf2d4a2f64210e8cf125 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Pack colors for blit at blit time, rather than at ClearColor.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_state.c
|
a376e5c48237be0300bce6702ed947086d3ee23f |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Consistently use no_batch_wrap in intel_context struct.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_batchbuffer.c
|
edd449fb9714ec1aa2d6c0cf95623f460594e685 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Pack brw_wm_fragment_program better.
rivers/dri/i965/brw_context.h
|
15fa484f514726a29bbf24df33c0551844f878d0 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove gratuitous padding in prog_dst_register. The padding was there to indicate the amount of space left from the number of expected bytes in the struct minus allocated bits. But uint bitfields get packed so that they don't cross uint boundaries, and we ended up allocating an extra dword to hold the pad field!
rivers/dri/i965/brw_wm_fp.c
ain/ffvertex_prog.c
hader/prog_instruction.h
|
92d35b91f132deda1fb27d2071a50e8187301fe5 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Pack the brw_wm_prog_key better.
rivers/dri/i965/brw_wm.h
|
cc39fcad89db2a4fc96b64915d42e5b1ac59d345 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i915: Remove dead meta_draw_quad code.
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.h
|
37c79d4d765b10a79e0cf217cc1e70d3fbb7a0c5 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/tdfx/tdfx_vbtmp.h
rivers/glide/fxvbtmp.h
nl/t_context.h
nl/t_draw.c
nl/t_vb_fog.c
nl/t_vb_program.c
nl_dd/t_dd_vbtmp.h
86/gen_matypes.c
|
0a9187801505130738ae947c69cafa8a1dd118d1 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/gamma/gamma_render.c
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vbtmp.h
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
wrast_setup/ss_tritmp.h
nl/t_context.h
nl/t_draw.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_program.c
nl/t_vertex_generic.c
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_tritmp.h
nl_dd/t_dd_vb.c
nl_dd/t_dd_vbtmp.h
86/gen_matypes.c
|
fc9a2970dc539b21b035ea0a770ec69822962145 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
wrast_setup/ss_tritmp.h
nl/t_context.h
nl/t_draw.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vertex_generic.c
nl_dd/t_dd_tritmp.h
86/gen_matypes.c
|
165b860da6f16ef4817a4959774a57f57ba3756d |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
nl/t_context.h
nl/t_draw.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_texgen.c
nl/t_vb_vertex.c
86/gen_matypes.c
|
df582ca767a38f185f9b4c449e7ed4266c414ae2 |
18-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]
rivers/dri/gamma/gamma_render.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/r128/r128_tris.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_vbtmp.h
rivers/dri/unichrome/via_tris.c
rivers/glide/fxvbtmp.h
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
nl/t_context.h
nl/t_draw.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl_dd/t_dd_vbtmp.h
86/gen_matypes.c
|
22bcb59a95ec833cfd73b300376c918eb6a658f2 |
17-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
nl/t_context.h
nl/t_draw.c
nl/t_vb_normals.c
86/gen_matypes.c
|
abed06421b892aed9f38ea75862e4b7e8aca25fa |
17-Nov-2009 |
Eric Anholt <eric@anholt.net> |
tnl: Remove unused NotifyInputChanges() tnl dd hook.
nl/t_context.h
nl/t_pipeline.c
|
eec428280075c12dfef61bf3f18012dece384923 |
18-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : update PS and VS emit count for loop constants.
rivers/dri/r600/r700_chip.c
|
de460871605c5575c5513dd1283cb61710b60cfe |
18-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add some defs
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_shader.c
|
3132853e1242607d5ff62785cd7dad5ef3a783d0 |
17-Nov-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : Initial version of glsl fc.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_vertprog.c
|
fe5c46546e740a16a13fe9e8aaa4b071bc13d70b |
18-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: disable compressed texture support It's not implemented yet. fixes fdo bug 24047
rivers/dri/r600/r600_context.c
|
c4e8918cd248189d43cdc8df9f9f0450040261c5 |
20-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix NULL deref in optimizer when NumInstructions == 0. Bug #24984.
hader/prog_optimize.c
|
13b5a624b1899c457279907d58046dfb3c95addc |
18-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1." This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131
rivers/dri/radeon/radeon_dma.c
|
027abddf4f47163276f55c2fa8f81408b652f072 |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version string to 7.6.1-rc1
ain/version.h
|
61a3716ab5ad72ed2d2e926055716be99a4b2abd |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.8
ain/version.h
|
3bf12c8bea667f5fff0b6f495820a27141f595a2 |
18-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: allow disabling s3tc support if libtxc_dxtn is available
rivers/dri/r300/r300_context.c
|
cefee4e327c92daa2f01b6de650a43eddd348063 |
18-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch
|
7118db870091d4c9c2465e79f361ff0ed36d1f90 |
18-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r600: align for mipmap tree changes
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
70dca0c273d681d004b014dd8d4434be664cb202 |
18-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Fix cut-and-paste bug One of the PACK_COLOR_88 cases was left over from copying _mesa_texstore_al88 to _mesa_texstore_al1616.
ain/texstore.c
|
5606dfb572bf4b89b4882265924705bacc8c182b |
18-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'outputswritten64' Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_util.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/r200/r200_tcl.c
ain/config.h
ain/context.c
ain/ffvertex_prog.c
ain/mtypes.h
ain/texenvprogram.c
hader/prog_print.c
hader/program_parse.tab.c
hader/program_parse.y
hader/programopt.c
hader/slang/slang_link.c
tate_tracker/st_atom_shader.c
tate_tracker/st_program.c
wrast/s_fragprog.c
nl/t_context.c
nl/t_vb_program.c
|
4e7476f601e15cf4c52d7de44f0f775aaaedd094 |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXT Also regenerate the GLX protocol files from this change.
lapi/EXT_texture_array.xml
|
5fbfd883386a8ff78bd6ca10ab761aff1b38e46d |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add missing XML files to API_XML When the files missing from the list were modified, the generated files weren't regenerated.
lapi/Makefile
|
4d6ec214396461c0cf3ad8ede449b299ff06c1aa |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Enable GL_EXT_framebuffer_multisample All of this functionality is already included in ARB_fbo. This just enables the string. I was a bit lazy in using FEATURE_ARB_framebuffer_object for this feature as well. I don't think it makes much difference in the long run.
ain/extensions.c
ain/mtypes.h
|
7fd44005ae67d598c0070bb6ad82a26bc0944284 |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Regenerate files from previous commits.
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/remap_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
50b05e7c1f64437a12afb56e38bb588b8b85bd5e |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xml This extension is layered on GL_EXT_framebuffer_object, so it should live in the same XML file.
lapi/EXT_framebuffer_object.xml
lapi/gl_API.xml
|
afab8d9958a4deedca16fb9856bc7f372c21debd |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Add GL_EXT_framebuffer_multisample Add GL_EXT_framebuffer_multisample. Make glRenderbufferStorageMultisampleEXT in GL_EXT_framebuffer_object alias glRenderbufferStorageMultisample. Also add the missing GLX render opcode to glRenderbufferStorageMultisample. Since this extension is layered on GL_EXT_framebuffer_object, I put it in EXT_framebuffer_object.xml.
lapi/ARB_framebuffer_object.xml
lapi/EXT_framebuffer_object.xml
|
daad31d52732b5a954360a0baacdeff89d3c153a |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
EXT_pds: Alias GL_NV_packed_depth_stencil to GL_EXT_packed_depth_stencil GL_EXT_packed_depth_stencil is a functional superset of GL_NV_packed_depth_stencil. If a driver enables EXT_pds, make NV_pds available as well.
ain/extensions.c
|
b244b702b3a7bed08250e20b54192ea73892b552 |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
EXT_pds: Add GL_EXT_packed_depth_stencil
lapi/EXT_packed_depth_stencil.xml
lapi/gl_API.xml
|
92b38bc3050d8f1ee8c64ff976584ec3c0b77f0c |
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
EXT_fbo_blit: Add missing GLX protocol render opcode
lapi/gl_API.xml
|
30f09573ed4b3b2a5460143b366aa9fb8b91e6a4 |
11-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Add missing protocol "Get" information
lapi/ARB_framebuffer_object.xml
|
c185ff96c98b397d494eec5125c668df4db45cf3 |
11-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Remove _EXT from enum names
lapi/ARB_framebuffer_object.xml
|
a54033bedb1d3ac7f7a0c1365c25c638e58de566 |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove old comment
ain/buffers.c
|
133501bef2933395f14b2ebdfeda84279be93c60 |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix assorted compiler warnings
hader/program_parser.h
hader/slang/slang_codegen.c
tate_tracker/st_atom.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_program.c
bo/vbo_exec_array.c
|
bc8fb028c6c9e7c9bd4f6aaf094a606c447e3711 |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect type in store_texel_al1616()
ain/texfetch_tmp.h
|
0422053eca12b4fb912e0229c96a9d12453e31c4 |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove trailing comment to silence warning
ain/formats.h
|
e36751ec81736a8466b1a6a722c1b2cf578d713b |
18-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove a bit of old code
ain/buffers.c
|
afe84fa698eae3e035e967589f0a8d55f6a83698 |
17-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r200: align for mipmap tree changes
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
|
93eb2ab8c395f81e40fa298d78805bb2c777f891 |
17-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: align for mipmap tree changes
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
aef769207d3e554db8cc452d6ea3f678e5549cfb |
17-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix reads and writes for MESA_FORMAT_S8Z24 buffer Regression was introduced by texformat-rework branch merge.
rivers/dri/radeon/radeon_span.c
|
52be96b7feb23d9d502c74c4de52dadfb546dc82 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
Remove unconditional use of glibc specific bswap_16() macro. Fixes unresolved symbol bswap_16 on non-glibc or little endian glibc platforms.
rivers/dri/common/spantmp2.h
|
cf65d81cf1eb031384f7e8bfe849ce59c458f27e |
09-Nov-2009 |
Dan Nicholson <dbn.lists@gmail.com> |
dri: Ensure subdirs have finished before linking driver Recursive make is hard. If there are subdirectories in the DRI drivers, it's pretty certain we want to finish building in them before linking the driver. Add a new target to serialize the rules. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
rivers/dri/Makefile.template
|
33e93f42770e344edf1cd693a6c8115acd505a08 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
r600: More span breakage fixes. At least now the compiler doesn't complain about implicitly declared functions anymore...
rivers/dri/radeon/radeon_span.c
|
29f3e7e1d1e8cdff3596b88990ed84d7eeff6f80 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
r600: Attempt to fix span breakage introduced by big endian fixes. Only compile tested; I happened to notice people on IRC reporting .../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2
rivers/dri/radeon/radeon_span.c
|
081bf9563fca3f64aed8676f20d17af3eb115016 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Depth/stencil span code fixes for big endian. Fixes e.g. text in progs/demos/arbocclude.
rivers/dri/radeon/radeon_span.c
|
592ce48ce9eecfdd74f59e52c8d51bdb62059e3d |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Fix occlusion queries on big endian.
rivers/dri/radeon/radeon_queryobj.c
|
22627654256ee09bfd659624568865a79eb725b6 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Fix software fallbacks with KMS on big endian.
rivers/dri/common/spantmp2.h
rivers/dri/radeon/radeon_span.c
|
f2651264d385fb31f89859fc1287ca0e41835cf4 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: FBO fixes for big endian.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
|
2d0c2952566810ef1b277b49b064f4874a973112 |
17-Nov-2009 |
Michel Dänzer <daenzer@vmware.com> |
Add MESA_FORMAT_XRGB8888_REV.
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texstore.c
|
e015a4c29bf61077a50780cc99381510671b20ec |
17-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: rn50's have no 3D engine so don't try and init 3D driver.
rivers/dri/radeon/radeon_screen.c
|
fdfbae3381553fc93202560abe3b41b4d543f0bf |
17-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Use MESA_FORMAT_AL1616 when appropriate
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_format.c
|
b1616b2a811b9a161d1ee2a8251e0efe32a8c192 |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Move 'static' to start of declaration to silence compiler warning
ain/texstore.c
|
12982e381d3474c5c00f89cc442d442df097339b |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Enable MESA_FORMAT_AL1616 for software paths
ain/texformat.c
|
3325dc91be2534079ebf7997700b6e5f17a75283 |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Add TexImage storage path
ain/texstore.c
|
975871b4d5e25ddcd350f4e1600c00d37f65fea1 |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Add texel fetch / store routines
ain/texfetch.c
ain/texfetch_tmp.h
|
eb437fabe017611e1f855fffa45f59cd38709be8 |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures
ain/formats.c
ain/formats.h
|
5fb07a4046a7f00f060bbc6dae92213e635d55f5 |
16-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
AL1616: Add macros to pack two GLushorts into a texel
ain/colormac.h
|
d683acb101a65d0688bfd0818a0ddb4be16e376d |
16-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: don't force Z order Let the hw decide (early vs late Z) fixes fdo bug 25092 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r700_state.c
|
f549f4c4b6012178df3706b26539ca672399260f |
13-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused vertex array driver hooks
rivers/common/driverfuncs.c
ain/dd.h
ain/varray.c
|
652828ec0efd1a7d7a8b497e0324a7bd9f66fd17 |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT()
ain/fbobject.c
|
a719395b458ef59efe4e8746e390b006a0b8792b |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_object()
ain/fbobject.c
|
ecb03d75a2961b28ab3d90fdd5df768608fc9447 |
16-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added another check in check_gen_mipmap() We don't need to call ctx->Driver.GenerateMipmap() if we're updating a texture level >= MAX_LEVEL.
ain/teximage.c
|
afae49cc152d05e6795ccaba4d818df946248584 |
13-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: comments for st_draw.c
tate_tracker/st_draw.c
|
07fafc7c9346aa260829603bf3188596481e9e62 |
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: refactor vertex and fragment shader translation Translate vertex shaders independently of fragment shaders. Previously tried to make fragment shader semantic indexes always start at zero and exclude holes. This was unnecessary but meant that vertex shader translation had to be adjusted to take this into account. Now use a fixed scheme for labelling special FS input semantics (color, etc), and another fixed scheme for the generics. With this, vertex shaders can be translated independently of the bound fragment shader, assuming mesa has done its own job and ensured that the vertex shader provides at least the inputs the fragment shader is looking for. The state-tracker didn't attempt to do anything about this previously, so it shouldn't be needed now.
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
1454f20a991ddda35f1a2ffda953012078b407ba |
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: emit tgsi vertex shader directly for drawpixels One of several cases where we build mesa shaders and then translate them to tgsi. Many of those cases it's because we're combining two mesa programs and there are helpers for that, but in this case at least can go straight to tgsi.
tate_tracker/st_cb_drawpixels.c
|
9953fe4cb48b02a0d75735b88173f0ed170a77f2 |
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: don't calculate unused output_flags data either
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
0ffdd1c1e897c448cbc359aea3e3a3ba098bbfe5 |
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: don't calculate unused input_flags data
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
b44b70dc114ddcfb4d359759928df4d7b9efaafb |
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: don't calculate unused vs input semantic tags
tate_tracker/st_program.c
|
ad83aeccdc54beecf25f217e2dd24c8edf6d6767 |
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: return false on texture validation if texture isn't complete
rivers/dri/radeon/radeon_mipmap_tree.c
|
23ec7c457483aae1e0d399e9b570f1860c27c780 |
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: rework mipmap tree
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
8f88cf3938f0156d4df6fcc5fde2711d40b85d03 |
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: more texture code refactoring
rivers/dri/radeon/radeon_texture.c
|
9d0af686b27b82dce8ad1ee4c951098660807be6 |
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: minor refactoring of texture code Also properly set dstImageOffsets for TexSubImage case.
rivers/dri/radeon/radeon_texture.c
|
7628b06ba32e42f57a4fdb322bc32e3b411c1f18 |
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: rework mipmap tree reference counting
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_texture.c
|
6e5d473cc16ca2d001df213fc1d907f2943a95bb |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix regression introduced in 1d5a06a1f7812c055db1d724e40d21a0e3686dd1 Spotted by Dave Airlie
rivers/dri/r300/r300_context.c
|
aa195611586cdfb21bb1707b12b16e461a92d42e |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: use radeon_bo_is_referenced_by_cs for query objects
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_queryobj.c
|
d3fa67c9b83b5736724ca57a0487857631e6c415 |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r300: don't flush cmdbuf if not necessary
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/radeon_texture.c
|
286bf89e5a1fc931dbf523ded861b809859485e2 |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_common.c
|
f6d0993212fac0eb67827716be1ab4a292c8b4e5 |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix glBufferSubData
rivers/dri/radeon/radeon_buffer_objects.c
|
084f43c1502db1988ca53494ea590cf1351180ec |
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add radeon_bo_is_referenced_by_cs function
rivers/dri/radeon/radeon_bo_drm.h
|
49876ab6a7f2b06177d7ac9651bd7a07956cbb25 |
09-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: remove unnecessary call to radeonEmitState fixes bo space accounting errors
rivers/dri/radeon/radeon_common.c
|
0aad2aee66392989777ee74078efda197f292ee7 |
08-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add missing texformat
rivers/dri/r300/r300_texstate.c
|
e92492295ba6a716b69adcd14e80adf6b5900132 |
07-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unneeded includes
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
57f40b18377f87c434f17d5670a13838d58065c9 |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share OPCODE_TXB between brw_wm_emit.c and brw_wm_glsl.c This should fix TXB on G45 and older in the GLSL case.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
1be0efcbdc74f9a84136c9d1f953755c1560e52e |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share OPCODE_TEX between brw_wm_emit.c and brw_wm_glsl.c. New comments should explain some of the confusion about how this message works.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
a0fd49b33455317466a75ec77eb292f41d6021d7 |
14-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up emit_tex a bit.
rivers/dri/i965/brw_wm_emit.c
|
3d36d6b4cf735e93a6ae5eadf28e671252fb5303 |
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/mesa_7_6_branch'
|
99077e77927ec26edf85bfef81a6d433171c3a1e |
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Flag BRW_NEW_CONTEXT on some context state. Fixing this is a prereq for avoiding flagging all state at new batch time. Eliminating that still causes problems, though (notably glean logicOp fails on my GM965).
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
|
1ffd0a77896d4921677f0717e6fa8708f6586eea |
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove some dead context structure fields.
rivers/dri/intel/intel_context.h
|
3727858ceb324c955b00ae29b8c1e12f47060fce |
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove an unused cache_item field.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/intel/intel_tex_copy.c
|
b54f8eeae8e7f5c5b43cb17255fee70227713c9c |
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove long dead structures for ffvertex_prog.c.
rivers/dri/i965/brw_context.h
|
ded0ec1ea5db8e08b0bec8ac0d9d30f98e360003 |
12-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use bo_map instead of subdata to upload the bits of constant buffer. Saves CPU time, resulting in a 2.5% FPS win on ETQW.
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/intel/intel_context.h
|
8e8586e62671e8337c08b086bf7f3c54cc46191d |
12-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Validate the number of URB entries selected for the VS.
rivers/dri/i965/brw_vs_state.c
|
3c05c1eb6326dc28e8ab073d179eb669e5699f4b |
12-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: When subdataing a busy buffer, use a temporary and blit in. This cuts a massive number of waits in ET:QW, which uses a VBO ringbuffer. Unfortunately it doesn't BufferData when wrapping back to 0, so we can't be clever with tracking what's been initialized.
rivers/dri/intel/intel_buffer_objects.c
|
4e50ce35ee1376062de2c6fa69da144be30a61e2 |
12-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up Ironlake sampler type definitions. They're the same regardless of execution width for 8, 4x2, and 16.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
91bd593109c71310fb7e101c5f73a14f1bbd5f93 |
11-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Avoid moving the current value back into the accumulator for MAD. This is a 2.9% (+/-.3%) performance win for my GL demo, which hits MAD sequences for matrix transforms.
rivers/dri/i965/brw_vs_emit.c
|
d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904 |
11-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Improve the eliminate-move-use to work across multiple instructions. This shaves more instructions off of the VS of my GL demo, but no performance difference this time at n=6. This also fixes a regression that was in this path, which is now piglit's glsl-vs-mov-after-deref.
hader/prog_optimize.c
|
3f147c71eda9e8b8f55562f30193584b6fb74704 |
13-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Report syntax parser errors.
hader/slang/slang_compile.c
|
b385312bc7f0b0b0d7410ef88eaa712831929abc |
13-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Regenerate .gc files.
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_vertex_builtin_gc.h
|
7593562a61ed59e5b645d9285a957a57704bfd6d |
13-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Get rid of the old syntax file and utilities.
hader/slang/library/gc_to_bin.c
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/syn_to_c.c
hader/slang/slang_compile.c
|
cd5553b457e2111f7057201aed4ad537e2f31ff9 |
13-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Plug in the new syntax parser.
hader/slang/slang_compile.c
|
b6b753f72728b734fc9886f4ec513ae09e6b269d |
13-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Don't check for context pointer to be NULL during extension init Thanks to Chia-I Wu's changes to the extension function infrastructure, we no longer have to tell the loader which extensions the driver might enable. This means that intelInitExtensions will never be called with a NULL context pointer. Remove all the NULL checks. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_extensions.c
|
a736d3f4399a99b54d6af140f2227253f2ee262b |
13-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Remove unused enable_imaging parameter to intelInitExtensions
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions.h
|
514544f373b6e6fae11b7b4426949b8ad64c441b |
12-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix Ironlake shadow comparisons. The cube map array index arg is always present.
rivers/dri/i965/brw_wm_emit.c
|
5f305b1db925c819ddeb29a75f6fbad6500a2d11 |
11-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix VBO last-valid-offset setup on Ironlake. Instead of doing math based on the (broken for VBO && offset != 0) input->count number, just use the BO size. Fixes assertion failure in ETQW.
rivers/dri/i965/brw_draw_upload.c
|
0a39620d6de27ae471c181046480d274a2327476 |
12-Nov-2009 |
Brian Paul <brianp@vmware.com> |
swrast: handle additional Z24 formats in read_depth_pixels()
wrast/s_readpix.c
|
ab12e764ba3f57ad9f0d7252262cfc6e07839928 |
12-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: fix EXT_provoking_vertex support This didn't work for quad/quadstrips at all, and for all other primitive types it only worked when they were unclipped. Fix up the former in gs stage (could probably do without these changes and instead set QuadsFollowProvokingVertexConvention to false), and the rest in clip stage.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_sf_state.c
|
cbee31a1f84a4d28d126356aaca317e2cdd003dc |
11-Nov-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300, r300g: Add missing registers.
rivers/dri/r300/r300_reg.h
|
1220aba99bc78290bb89ade649719508e3031e4b |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix VS constant buffer value loading. Previously, we'd load linearly from ParameterValues[0] for the constants, though ParameterValues[1] may not equal ParameterValues[0] + 4. Additionally, the STATE_VAL type paramters didn't get updated. Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations. Bug #23226.
rivers/dri/i965/brw_vs_surface_state.c
|
e5ffb9f5ea03c2acd148222259a334cde0f3afc9 |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Unalias src/dst registers for SGE and friends. Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228 (cherry picked from commit 56ab92bad8f1d05bc22b8a8471d5aeb663f220de)
rivers/dri/i965/brw_vs_emit.c
|
23a4a6727efb5c8b2bf84f88f638c15e7255b363 |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp. Fixes piglit arl.vp. (cherry picked from commit d52d78b4bcd6d4c0578f972c0b8ebac09e632196)
rivers/dri/i965/brw_vs_emit.c
|
9de051e85e8d118414b113ce6524b03456bcd6d9 |
09-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add .gitignore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/.gitignore
|
b81f213157538ab050dbdfc22d6be0d2418c634b |
11-Nov-2009 |
brian <brian@cvp965.(none)> |
swrast: update renderbuffer format assertions
wrast/s_readpix.c
|
a65b84d9554815af891d793012eba17de80cbfa3 |
11-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: fix some begin/end render-to-texture logic Before, we weren't aggressive enough in checking for the start or end of render-to-texture. In particular, if only the ctx->ReadBuffer had texture attachments, we were treating that as a render-to-texture case. This fixes a regression from commit 75bdbdd90b15c8704d87ca195a364ff6a42edbb1 "intel: Don't validate in a texture image used as a render target."
ain/fbobject.c
|
bc569cd6bee0550c7f83412476b6b39e89c51ac3 |
11-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: move check_begin/end_texture_render() calls
ain/fbobject.c
|
d96e55fa7bbbc033f47dbeb942b872c6d21eb42d |
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()
ain/fbobject.c
|
e6f60d30375c637c0823a9aade8098a45f70d6a7 |
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: rename vars in _mesa_BindFramebufferEXT()
ain/fbobject.c
|
a492ab765a9e36c5f224f0d58e172ca6ecf25a1c |
10-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: added comment for check_begin_texture_render()
ain/fbobject.c
|
e42b156fac6deed21328b89192faca6f4fe904f1 |
11-Nov-2009 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/mesa_7_6_branch'
|
c5413839b3e99c7b162f1260142f3c175502b0ce |
11-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: avoid memsetting all the BRW_WM_MAX_INSN arrays for every compile. For an app that's blowing out the state cache, like sauerbraten, the memset of the giant arrays ended up taking 11% of the CPU even when only a "few" of the entries got used. With this, the WM program compile drops back down to 1% of CPU time. Bug #24981 (bisected to BRW_WM_MAX_INSN increase).
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_pass0.c
|
eb6a1f8a00596156cd7164838ef9e9a5b39e7254 |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add a note explaining the data cache domain.
rivers/dri/i965/brw_wm_surface_state.c
|
56ab92bad8f1d05bc22b8a8471d5aeb663f220de |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Unalias src/dst registers for SGE and friends. Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228
rivers/dri/i965/brw_vs_emit.c
|
d52d78b4bcd6d4c0578f972c0b8ebac09e632196 |
10-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp. Fixes piglit arl.vp.
rivers/dri/i965/brw_vs_emit.c
|
28039ffdc8a7eb7d8578534a46b78ae43d16112c |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Fix return value check.
hader/slang/slang_emit.c
|
413e933fd57c53e6d6659cfcf21aba42249f43ca |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Check OOM conditions for alloc_node_storage().
hader/slang/slang_emit.c
|
cc470bf0ca65592b834c31c662fc795fb7acc58c |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Check return value from new_instruction().
hader/slang/slang_emit.c
|
b2a29ad3092c17f9a7d75ab123ec5c4619c87ec3 |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Fix signed/unsigned int handling in _slang_free_temp().
hader/slang/slang_vartable.c
|
83760d961fbaeaca8ab82ae497b26e90691f7654 |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Handle OOM condition in new_instruction().
hader/slang/slang_emit.c
|
4703d7d3f8d50a0ff00dd043e999b0b8b11d45e6 |
10-Nov-2009 |
Michal Krol <michal@vmware.com> |
slang: Update for glsl/pp interface changes.
hader/slang/slang_compile.c
|
216319fc0fe5dc3f298dd602812afa0f28a4ee60 |
09-Nov-2009 |
Jerome Glisse <jglisse@redhat.com> |
r600/r700: typo, fix mask of DB_ALPHA_TO_MASK
rivers/dri/r600/r600_reg_r6xx.h
|
74ef3207d8bd97a529e7b0ab8d99e44c805f3af0 |
09-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: don't emit htile regs These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
rivers/dri/r600/r700_chip.c
|
66d6f9e860143c3d705f1d78c324159cadd258cc |
09-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: rework DB render setup - consolidate DB render setup - only enable perfect ZPASS counts and cull disable when OQ is active - enable early Z
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
|
37676b396a8416ad35253412d3a2e06482859a4d |
09-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: don't emit htile regs These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
rivers/dri/r600/r700_chip.c
|
a9035f3dc313d047ce3af191d6d7ac8ada8167df |
09-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add missing ZPASS setup bits for r7xx+
rivers/dri/r600/r600_reg_r7xx.h
rivers/dri/r600/r700_state.c
|
2cda507fa170c040e207190dee44d1be5e8572f7 |
02-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
prog parse: Handle GL_VERTEX_PROGRAM_ARB in glLoadProgramNV
hader/nvprogram.c
|
6d2ceda780967848b6147061287095c35bc9d92f |
02-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
prog parse: Handle GL_VERTEX_PROGRAM_NV in glProgramStringARB Handle both NV vertex programs and NV vertex state programs passed to glProgramStringARB.
hader/arbprogram.c
|
289db82b2d42b0d79fd0c01781612bd4e69a9474 |
02-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
prog parse: Handle GL_FRAGMENT_PROGRAM_ARB in glLoadProgramNV
hader/nvprogram.c
|
7452877cf64b48c58f70f73f3eda9bf2692bb9a6 |
02-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
prog parse: Handle GL_FRAGMENT_PROGRAM_NV in glProgramStringARB
hader/arbprogram.c
|
18768393d19dedee7d4282e84905bb396dd30960 |
07-Nov-2009 |
brian <brian@cvp965.(none)> |
mesa: move code after decl Fixes bug 24967.
hader/prog_optimize.c
|
8baee3d25beb616f6d5ba575684e889d60e38740 |
07-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use Compr4 instruction compression mode on G4X and newer. No statistically significant performance difference at n=3 with either openarena or my GL demo, but cutting program size seems like a good thing to be doing for the hypothetical app that has a working set near icache size.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
|
ec66644ed0af976cacb069ca7c7f0d6731666359 |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share min/max between brw_wm_emit.c and brw_wm_glsl.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
cfa927766ab610a9a76730d337d77008d876ebbd |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share emit_fb_write() between brw_wm_emit.c and brw_wm_glsl.c This should fix issues with antialiased lines in GLSL.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
|
2b58c31257f8900067276b6d6537bb2ce54b1b10 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share most of the WM functions between brw_wm_glsl.c and brw_wm_emit.c The PINTERP code should be faster for brw_wm_glsl.c now since brw_wm_emit.c's had been improved, and pixel_w should no longer stomp on a neighbor to dst.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
1e5400c575b72fbde16ef0d55fd3ba577fc1b6a5 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share math functions between brw_wm_glsl.c and brw_wm_emit.c.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
7059aa0eff9ff6ec361e584b413f63b25762a89c |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share the sop opcodes between brw_wm_glsl.c and brw_wm_emit.c.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
726ad1560660a1fc769c87e0ea16f8b3334df0d2 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share OPCODE_MAD between brw_wm_glsl.c and brw_wm_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
bad5b120be8de37cf8481d865790298fd9651381 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share the DP3, DP4, and DPH between brw_wm_glsl.c and brw_wm_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
06c1bc8a2222f00e5a51fa977130a719bdcd8f0b |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add generic GLSL code for unaliasing a 3-arg opcode, and share LRP code.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
90629704ef51de4018055ee4b8ff68531f6712ae |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use a normal alu1 emit for OPCODE_TRUNC.
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
71af5080722afcbbb8a935138d95214ef7afe219 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Share basic ALU ops between brw_wm_glsl and brw_wm_emit.c This drops support for get_src_reg_imm in these, but the prospect of getting brw_wm_pass*.c onto our GLSL path is well worth some temporary pain.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
0f34cdf6210b748db77c5eba2993637f4af6faeb |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Collect GLSL src/dst regs up in generic code. This matches brw_wm_emit.c, which we'll be using shortly. There's a possible penalty here in that we'll allocate registers for unused channels, since we aren't doing ref tracking like brw_wm_pass*.c does. However, my measurements on GM965 don't show any for either OA or UT2004 with the GLSL path forced.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
6b0bcfafab7b380ee71da1a7754f4c09614811d6 |
06-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Reduce the source channels considered in optimization passes. Depending on the writemask or the opcode, we can often trim the source channels considered used for dead code elimination. This saves actual instructions on 965 in the non-GLSL path for glean glsl1, and cleans up the writemasks of programs even further.
hader/prog_optimize.c
|
7fb41df2cbae4cf35d0f73c2261a9409a1367903 |
30-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: linear_to_nonlinear is not always available. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/texgetimage.c
|
37dca7955a55c0d1422dffa8a65d5b4ebe143d47 |
06-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Improve support for parallel execution of make. Running make with -j for the first time might fail because glapi headers haven't been generated. This commit should make it more reliable. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/glapi/Makefile
|
f1c7874cd95e19929030038a78d889ac095a122a |
06-Nov-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Fix symbol conflicts and warnings. drawtex.c was listed in LOCAL_ES1_SOURCES twice. My mistake when merging the patches. Also, run gl_apitemp.py with -c to silence warnings and add target "install". Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/glapi/Makefile
s/sources.mak
|
1af44e9e5a3b522dd083f7e1486146376b01fdff |
03-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Add OpenGL ES compatibility mode to scripts. When the mode is on, the scripts would generate headers that are suitable for OpenGL ES. There are two differences. One is that they will generate function prototypes for OpenGL ES specific functions. The other is that, when a function has multiple names, SET/GET/CALL macros would be generated for each of names. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/gl_apitemp.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
|
f3cacfe216fb58b913bbc23de49d696a33da69e1 |
06-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix remove_instructions to successfully remove when removeFlags[0]. This fixes the dead code elimination to work on the particular code mentioned in the previous commit.
hader/prog_optimize.c
|
e4e312d493847e07ced026b93d2b588b8036ae02 |
16-May-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add an optimization path to remove use of pointless MOVs. GLSL code such as: vec4 result = {0, 1, 0, 0}; gl_FragColor = result; emits code like: 0: MOV TEMP[0], CONST[0]; 1: MOV OUTPUT[1], TEMP[0]; and this replaces it with: 0: MOV TEMP[0], CONST[0]; 1: MOV OUTPUT[1], CONST[0]; Even when the dead code eliminator fails to clean up a now-useless MOV instruction (since it doesn't do live/dead ranges), this should at reduce dependencies.
hader/prog_optimize.c
|
ee0a9e6e10060287747d9dd4afead3cbbb168e09 |
12-Jun-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Fix up the remove_dead_code pass to operate on a channel basis. This cleans up a bunch of instructions in GLSL programs to have limited writemasks, which would translate to wins in shaders that hit the i965 brw_wm_glsl.c path by depending less on in-driver optimizations. It will also help hit other optimization passes I'm looking at.
hader/prog_optimize.c
|
3105f3aa88e4b59eed3c7f175af77fbdb4af5924 |
06-Nov-2009 |
Brian Paul <brianp@vmware.com> |
intel: better front color buffer test in intelClear()
rivers/dri/intel/intel_clear.c
|
8395da2e8af40367714c70afe299568272f36cc8 |
05-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Always pass the size argument to brw_cache_data. This keeps the individual state files from having to export their structures for brw_state_cache initialization.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_wm_sampler_state.c
|
1166294d1dd253da63620235100a11f1981aa86d |
05-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Finish removing the fallback code for bug #16697. I fixed it properly as of 7216679c1998b49ff5b08e6b43f8d5779415bf54.
rivers/dri/intel/intel_mipmap_tree.c
|
75bdbdd90b15c8704d87ca195a364ff6a42edbb1 |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't validate in a texture image used as a render target. Otherwise, we could lose track of rendering to that image, which could easily happen during mipmap generation.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_obj.h
rivers/dri/intel/intel_tex_validate.c
|
6b68482e6869bdc03339ef5380d7273e14a61a56 |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Attempt to pair up Driver.RenderTexture and FinishRenderTexture() This is probably not 100% complete (bind vs unbind may still not pair up exactly), but it should help out drivers which are relying on FinishRenderTexture to be called when we're done rendering to a particular texture level, not just when we're done rendering to the object at all. This is the case for the one consumer of FinishRenderTexture() so far: the gallium state tracker. Noticed when trying to make use of FRT() in the intel driver.
ain/fbobject.c
|
8df81bca1704aef2f5cdc4052ef313d8f84f5d06 |
05-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Clean up some extra struct indirection in finalize.
rivers/dri/intel/intel_tex_validate.c
|
ee7dfbbd6cc85f221b371bf512bd1571744158e8 |
05-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use _mesa_get_current_tex_object() to clean up TFP path.
rivers/dri/intel/intel_tex_image.c
|
8f30ceaaefc33401b08739a16ce1c5638d6432fa |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove duplicated arguments from intel_miptree_match_image().
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
|
2bc8bcdcd334db715f8916f80ef4f4bc5f9a170d |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove an XXX comment for testing some code that seems to work.
rivers/dri/i965/brw_wm_fp.c
|
bb2dd50be00000b66218bc6a9e6be8de70b31493 |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove obsolete comment about GEM in the spans code.
rivers/dri/intel/intel_span.c
|
8e0f40d28777f1ae599a95312788fe29a0515a0d |
04-Nov-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use PIPE_CONTROL on gen4 hardware for doing pipeline flushing. This should do all the things that MI_FLUSH did, but it can be pipelined so that further rendering isn't blocked on the flush completion unless necessary.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_context.h
|
caf3038123d6d29afd7d1f0cd6db98a2282c3ca1 |
26-Oct-2009 |
Eric Anholt <eric@anholt.net> |
Make a convenient int for what chipset generation we're on. gen2/3/4 are easier to say than "8xx, 915-945/g33/pineview, 965/g45/misc", and compares on generation are often easier than stringing together a bunch of chipset checks.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_tex_validate.c
|
4e4c2ee1fd574d1d651c559f46afb6ca5487156d |
06-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch' This should fix the memory leaks in the assembly parser without the regressions. The conflicts in program_lexer.l were related to changes in returning strings between the branches (always return IDENTIFIER vs. returing either IDENTIFIER or USED_IDENTIFIER). The conflicts in program_parse.y were related to two changes in master One change prints a variable name in an error message. The other change adds outputVarSize to the OUTPUT_statement rule. The cause the position of the IDENTIFIER to change from $2 to $3. Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.y
|
9348ac03ce23392013ba22c22a182eea4453027a |
05-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Regenerate parser from previous commits.
hader/program_parse.tab.c
|
d8e256f9236d3e9dfd433c3a59718f0fdf1ca79a |
05-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Release old program string in _mesa_parse_arb_{fragment,vertex}_program The program structure passed to _mesa_parse_arb_program is just a place holder. The stings that actually need to be released are only known to the functions calling _mesa_parse_arb_program, so they should be freed there.
hader/arbprogparse.c
hader/program_parse.y
|
301a9b7e28f7404b8f6d8c34649f0035b49a8249 |
05-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Release strings returned from the lexer that don't need to be kept
hader/program_parse.y
|
1c7337d46eab0cfd36ebc0ad22c5a66ec9b91d39 |
04-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface" This reverts commit 93dae6761bc90bbd43b450d2673620ec189b2c7a. This change was completely broken when the parser uses multiple strings in a single production. It would be nice if bug fixes could initially land somewhere other than the stable branch.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parser.h
|
38d3c156dc64679e5602816070a0bac4f1f39302 |
06-Nov-2009 |
Brian Paul <brianp@vmware.com> |
intel: call intel_check_front_buffer_rendering() in intelClear() fixes bug 24953.
rivers/dri/intel/intel_clear.c
|
577a598dc905d435a31422bb6135ee9d4352f6b6 |
06-Nov-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Export S3_s3tc as well. Used in Quake3.
tate_tracker/st_extensions.c
|
f611425101eab5c4b41407c38966f4deca542f56 |
06-Nov-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Translate MAP_UNSYNCHRONIZED_BIT.
tate_tracker/st_cb_bufferobjects.c
|
34064756a5e2c8952c9de26eaebafddabd562540 |
22-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add support for GL_OES_draw_texture. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/main/APIspec.txt
s/main/drawtex.c
s/main/drawtex.h
s/main/mfeatures_es1.h
s/main/mfeatures_es2.h
s/main/specials_es1.c
s/sources.mak
s/state_tracker/st_cb_drawtex.c
s/state_tracker/st_cb_drawtex.h
ain/dd.h
ain/extensions.c
ain/mtypes.h
tate_tracker/st_context.c
tate_tracker/st_extensions.c
|
bfa66bd6f941920cf32ce79fb103c3755b4dd8fb |
21-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add OpenGL ES overlay. This is primitive support for OpenGL ES. It uses a subset of mesa sources to build libesXgallium.a and libesXapi.a, where X is 1 for OpenGL ES 1.x, 2 for OpenGL ES 2.x. The static libraries serve the same purpose as libmesagallium.a and libglapi.a do for OpenGL. This is based on the work of opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/main/APIspec.txt
s/main/apiutil.py
s/main/es1_special
s/main/es2_special
s/main/es_cpaltex.c
s/main/es_fbo.c
s/main/es_generator.py
s/main/es_query_matrix.c
s/main/get_gen.py
s/main/mfeatures_es1.h
s/main/mfeatures_es2.h
s/main/specials_es1.c
s/main/specials_es2.c
s/main/stubs.c
s/sources.mak
|
f68bf0621d1f865033b078191c1f4ec1fa0bbc5c |
01-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add OpenGL ES XMLs. These XMLs define OpenGL ES 1.x and 2.x APIs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/glapi/Makefile
s/glapi/base1_API.xml
s/glapi/base2_API.xml
s/glapi/es1_API.xml
s/glapi/es1_COMPAT.xml
s/glapi/es1_EXT.xml
s/glapi/es2_API.xml
s/glapi/es2_COMPAT.xml
s/glapi/es2_EXT.xml
s/glapi/es_COMPAT.xml
s/glapi/es_EXT.xml
s/glapi/gl_compare.py
s/glapi/gl_parse_header.py
|
7cdf8ab0967b1a80c16d317ed5b0e3b810312ad1 |
19-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again. They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/texgen.c
ain/texgen.h
|
5b426288c2dbc42ef44ea13fe37afa77223107bb |
03-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Include headers with directory prefixes. This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/dispatch.h
lapi/gl_enums.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapi_getproc.c
lapi/glthread.c
ain/enums.c
ain/remap.c
86-64/glapi_x86-64.S
86/glapi_x86.S
|
7df4c7e1b8faf0c0339ca7287e3560fafab02b6a |
20-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Avoid hardcoded category names in remap helper script. The output of the script is unchanged. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/remap_helper.py
|
6418f836d470b41c2a5dbfad52b797db1ec3871b |
20-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Add is_abi() to test if a function is in the ABI. The test is done by checking if the offset is manually assigned. The generated headers are unchanged. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/gl_XML.py
lapi/gl_offsets.py
lapi/gl_table.py
lapi/remap_helper.py
|
8d2edbf1395ca1e2d23b3bd2ba2c5d54f21d377b |
21-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Add more OpenGL ES types to glheader.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/glheader.h
wrast/swrast.h
|
c3d61d378574878deedb44d84f506ca23e66c6ca |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Add support for point size array in _mesa_GetPointerv. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/getstring.c
|
888429360a30090b9ecd17bfd160a88141195235 |
15-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined. When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/x11/glxapi.c
|
7870298086cfdde020437e23ba86abb61741129e |
25-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Allow normal entry points to be skipped. Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/gl_apitemp.py
lapi/glapitemp.h
ain/dispatch.c
|
63191bd244f18fd78bebb9586d2b85ab9d5b38e2 |
06-Nov-2009 |
Brian Paul <brianp@vmware.com> |
xmesa: pass pixmap to clip_for_xgetimage() The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault.
rivers/x11/xm_span.c
|
d971069fc6f5dcec64b1f1a60a8a2e7063aaf018 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix infinite loop bug in _mesa_drawbuffers() Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
ain/buffers.c
|
7c623905bc032480a0765093825f3bd105345121 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added cast to silence warning
ain/histogram.c
|
898de4a9d5e47ed32c600e5907476fd9338aa7e9 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/windows/gdi/mesa.def
|
1c3f7ab74ce492d6c92f2e3a0f29957fa9a71d96 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix out-of-bounds array access The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
bc4ad7c2ae069a7d361f2210d39dbb91777cce76 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix broken pack_histogram() case for GLhalf
ain/histogram.c
|
76aa0c0fd3d972000cb6707a3834128cea2f9738 |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence warning from gcc 4.4.1
ain/imports.c
|
fe86f8d73268785b31bc8d5a278a233bff42034d |
05-Nov-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: include variable name in error text
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
9fce12b894c3af33d7a0732332446893682a48d5 |
04-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: rework draw functions Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r700_render.c
|
70dade8afeadf83c6c993b39d3322e7c9353eea7 |
04-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix count prediction for IB case Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r700_render.c
|
f1b91ccc0839f5088b86c3fe81eed957c1f91293 |
04-Nov-2009 |
Alan Hourihane <alanh@vmware.com> |
Fix YTILE spantmp functions
rivers/dri/intel/intel_spantmp.h
|
3040b2ee9dcb5fcf7660ae8ee2cd3f7d86e7da47 |
04-Nov-2009 |
Alan Hourihane <alanh@vmware.com> |
Fix YTILE spantmp functions
rivers/dri/intel/intel_spantmp.h
|
51f7763c00ca47d522ea62457fdce5df5c89d5b2 |
04-Nov-2009 |
Vinson Lee <vlee@vmware.com> |
glslcompiler: Fix Mac OS build. Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/glslcompiler/Makefile
|
6eb71519f7d08344b7f9819db22980f9c6fade3c |
04-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: (GLint64) casts in get.c to silence Visual Studio warnings Revised version of a patch from Karl Schultz.
ain/get.c
ain/get_gen.py
|
077eb0d81ca88a8f2b9182b3a274b11a81bab974 |
04-Nov-2009 |
Karl Schultz <karl.w.schultz@gmail.com> |
windows: remove old entrypoints from mesa.def file Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/windows/gdi/mesa.def
|
e713a95c96e4af9d3b97ab8383fff3ccf98b012d |
04-Nov-2009 |
Karl Schultz <karl.w.schultz@gmail.com> |
mesa: added GLAPIENTRY keywords for sync object functions Signed-off-by: Brian Paul <brianp@vmware.com>
ain/syncobj.c
ain/syncobj.h
|
4bced42341d13303ae023957d3001a640cf7ea2d |
03-Nov-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
800e553e7a1703e33e54f45d0638b67001665fc5 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up, remove some flushing in FBO functions Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
ain/fbobject.c
|
4de18fb093e700ee33ed49035ab77f4a9453329a |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix indentation
ain/fbobject.c
|
5698d7cd7557659440f8417716839ba07cffc5a5 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up formatting
ain/buffers.c
|
18af75e5011cc31b52d62befba2cacfd353ce638 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()
ain/fbobject.c
|
c7048f9d9f91ef8c3ef35e31976adbf686349c41 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()
ain/buffers.c
|
8df699b3bb1aa05b633f05b121d09d812c86a22d |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()
ain/buffers.c
|
b28c637382cd3c3fcd54cd77062dab3df78230a9 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use ffs() to shorten loop in _mesa_drawbuffers()
ain/buffers.c
|
2d11c48223adb78353ca32f0cc07941957310389 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added assertion, another comment
ain/buffers.c
|
bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
intel: avoid unnecessary front buffer flushing/updating Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths.
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_span.c
|
a0cd2b7029e1ac6699b807baa255e7fd2abe7f54 |
03-Nov-2009 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: clip pixels in draw_stencil_pixels to avoid crash Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_cb_drawpixels.c
|
e60ebebb392d1d4c47541766737b5a79685a24d5 |
03-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT).
tate_tracker/st_cb_texture.c
|
0197348641614188c400d7c616573bb7f1eea781 |
03-Nov-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix tests for depth and depth/stencil texture formats
tate_tracker/st_cb_texture.c
|
644d8fd363ca7d8f40f4fa319919985cc002df9e |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added comment
ain/texparam.c
|
7157479b253b3051f1ec454a39b2aff825bab047 |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_object()
rivers/common/meta.c
|
1afe60e802e22318a7a10a8ab2fa4f8222f98e31 |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_object()
ain/texgetimage.c
|
b8fdb900fb9b1c8b1e9ec88509624237307a869a |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_get_current_tex_objec() public
ain/teximage.c
ain/teximage.h
|
731810f8546174e45c717b0a9aa289a26593dfa0 |
02-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809.
hader/lex.yy.c
hader/program_lexer.l
|
213ec8251cb3e859b41306eae4092d89592c33db |
01-Nov-2009 |
Pierre Ossman <pierre@ossman.eu> |
r600: implement LOG op in compiler
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
d00cbba403640c82683a876fa795cd638f1bbc24 |
01-Nov-2009 |
Pierre Ossman <pierre@ossman.eu> |
r600: implement EXP op in compiler
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
c02cd82b463661def7842f910dc561313559df80 |
02-Nov-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect approx bits/channel for fxt1 formats See bug 24806.
ain/formats.c
|
73b45b06690c95cf24cb6f9a81d61269ad51f9dd |
31-Oct-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: add missing include
rivers/dri/radeon/radeon_texstate.c
|
5cf7c8e2d58a877bfc786f866d4e0d363ddd22aa |
31-Oct-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: use _mesa_get_current_tex_unit
rivers/dri/radeon/radeon_texstate.c
|
5e9f97f0eae5519b7273f0e17000b9d5152f3274 |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: regenerated files
hader/program_parse.tab.c
hader/program_parse.tab.h
|
df5615de1f1bfc68417eb2a6381fe3d8ab9ac035 |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: new set_src_reg(), set_dst_reg() helpers These functions do sanity checks on the register file and index.
hader/program_parse.y
|
a71edc9455ef81a8dd5ec284e88061a585e63580 |
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: better error message
ain/teximage.c
|
7c8bed62e0165a0be3363f7abf81bf9e30341e00 |
30-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use GTT mapping when available for swrast. This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on my GM45. It should also hide most of the A17 swizzling issues, though they'll still exist when swapping occurs (which is the kernel's problem either way).
rivers/dri/intel/intel_depthtmp.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_spantmp.h
|
d63c29ef20b26aa90fb310216011d03253e4f09b |
31-Oct-2009 |
Eric Anholt <eric@anholt.net> |
x86: Fix the test for negative pixel count in optimized rgb565 spans. There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have.
86/read_rgba_span_x86.S
|
21a3a79371c34b20fb3de2af0f031856468bdfed |
30-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix up z24_x8 depth spans since the texformat merge.
rivers/dri/intel/intel_span.c
|
cb132406ded760a622513cd1ab86bf83bb945671 |
30-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add an index assert on get_fp_inst array like other compiler arrays.
rivers/dri/i965/brw_wm_fp.c
|
2c30ee9bd69ed606b984c051748a7cdb34905eeb |
30-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix BRW_WM_MAX_INSN to reflect current limits. Part of fixing bug #24355.
rivers/dri/i965/brw_wm.h
|
2073006c9566b08888b4338748a843c645bd0db1 |
30-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Set the texture format in the TFP path. This fixes a regression in piglit's tfp test as of 11caea687e3f10ae12d33e44edf84635f73047dd. Additionally, set the texture format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the hw paths so that hopefully sw fallbacks involving TFP get better alpha behavior. The radeon drivers appear to need the same fix. Bug #24803
rivers/dri/intel/intel_tex_image.c
|
b568a2c808cc2258c354bf14f640bb1f6eaba4ba |
30-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove duplicate line
rivers/dri/r600/r600_texstate.c
|
703a836d4075b0e95633020765000430192986bb |
30-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fill in some missing tex formats This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r600_texstate.c
|
57864f6e0450c589059e07534e2af152bbefa75f |
30-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix a warning, update comments
rivers/dri/r600/r700_render.c
|
5f7d5d3ea3932ef6028b21bb22d8d28dbdd9fa9f |
28-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: use AUTO_INDEX for draw - saves cmd buffer space also seems we can use INDX_OFFSET if start != 0
rivers/dri/r600/r700_render.c
|
409469fb70682cd819ab405e0f92a4659381cfbe |
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix up some XRGB breakage We weren't choosing the right XRGB span functions for reading the framebuffer. XRGB formats still aren't turned on yet though.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
|
730a3de9f9774710ad5bbea2f32dc3af3c764732 |
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix inverted buffer object test Fixes bug 24799.
ain/texgetimage.c
|
71cd40bccf8dcbf628a7d7d3f7c877d547338c5a |
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect format info for MESA_FORMAT_SL8 Fixes bugs 24798 and 24801.
ain/formats.c
|
35506dec6734a1ae777dc16981cb19e514f41897 |
28-Oct-2009 |
Chow Loong Jin <hyperair@gmail.com> |
Add --with-dri-searchpath argument * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
rivers/dri/Makefile
|
4a253431abf43a0638afb43605b44a8742b72a60 |
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: update intel_create_renderbuffer(format), add XRGB support Pass a gl_format to intel_create_renderbuffer() instead of GLenum. Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers. However, we don't yet create any renderbuffers or textures with that format. It seems the default alpha value is zero instead of one. Need to investigate that first.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
|
f920d496e1b5b01a3ba9bcd7dcff5c19bc109da2 |
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888 If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout.
ain/texstore.c
|
c243e8dd23e8827afe926ec6314ffdfa15b3f7ab |
30-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove the no rrb messages
rivers/dri/r600/r700_chip.c
|
b924579bd4afaf5daa9df8d4f120f42fa20cafc6 |
30-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: Add support for ARB_depth_clamp
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_state.c
|
d0b6147291fe42d7d733b3d0e5b10c4f4f08030f |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove memcpy_get_tex_image() code This has been lifted into core Mesa where it can be used for all drivers that use the _mesa_get_teximage() fallback for ctx->Driver.GetTexImage().
rivers/dri/intel/intel_tex_image.c
|
fcbf66364032743abeb41a82a5ceaf68a15d900f |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lift memcpy_get_tex_image() code from intel driver into core Mesa The code should work for any driver.
ain/texgetimage.c
|
bde7874317bfbab284397bc611fc71263cbc0975 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor _mesa_get_teximage() code Break different formats into different functions to make it easier to read.
ain/texgetimage.c
|
217a40d8d92d377e73ed1ab5a326703fab779dd1 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: indentation fix
rivers/dri/i965/brw_sf.h
|
26d22b094bb7b2f37d4bc8edfeb1b2a9a1c96d88 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: make brw_sf_prog_key::sprite_origin_lower_left one bit Shrinks size of key to 8 bytes from 12. Note that progs/demos/spriteblast.c is still broken.
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
035b21f365f563cba9bf9b8cb4fef613ceb9d3ac |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: make brw_wm_prog_key a little smaller GLushort is big enough for the swizzle and origin fields. The key could probably be made smaller still by re-ordering things. I'll hold off on that until after the outputswritten64 branch is merged. The key will get a little larger again with the GLbitfield64 fields.
rivers/dri/i965/brw_wm.h
|
8a9afe71b8d89a2a967cb37f5b5b00d86de387bc |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix 1D texture mapping in the t coordinate. Fixes piglit tex1d-2dborder test.
rivers/dri/i915/i915_texstate.c
|
4b377ae292f75645ef356bd3bfac407230faf73a |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Correct and make use of the defines for 32-bit depth texture modes. Previously, S8_Z24 depth textures would always be treated as intensity. Fixes piglit depth-tex-modes.
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_texstate.c
|
861fec163c1ae7e431956db0a08989d841e2b74e |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: avoid shader translation on window resize If the fragment shader doesn't use FRAG_ATTRIB_WPOS (gl_FragCoord) we don't need to worry about the window size and origin in brw_wm_populate_key(). This avoids re-generating the i965 shader code when a window is resized. Issue spotted by Keith Whitwell.
rivers/dri/i965/brw_wm.c
|
198ec96d364dabd82952a451eeda7937db383f0d |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: define, use BRW_MAX_DRAW_BUFFERS i965 might support more than 4 color draw buffers. But if not, this protects from breakage if the Mesa limit is raised.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_surface_state.c
|
7648c80ac8dd0631c5a0f86ad03347675a48eee6 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused var
rivers/dri/i965/brw_wm_fp.c
|
9ef33b86855c4d000271774030bd1b19b6d79687 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: don't use context state in emit_fb_write() Put the state that we care about in the hash key. Issue spotted by Keith Whitwell.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
a8d233e509a2c1aada7cd4e83b126ba06cb90565 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: use macros to get/set prog_instruction::Aux field This makes things a bit easier to remember/understand.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
|
a0959bcee5df4272db40a56c468f8c7cc299d5ef |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor code reformatting
rivers/dri/i965/brw_wm_fp.c
|
c6164ff155189007c02aabb31549f5f4dc767d1b |
29-Oct-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add MESA_FORMAT_Z24_X8.
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texstore.c
tate_tracker/st_format.c
|
f8f40b53a6a4551630e25bfd7f6e12334bb0f3f8 |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Implement min/max LOD clamping with the hardware. This gets us expected behavior for clamping between mipmap levels, and avoids relayout of textures for doing clamping. Fixes piglit lodclamp-between.
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_tex_validate.c
|
374447244165b3b79892cb6840a76ea4c2f21f1e |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Replace a MIN(MAX()) with CLAMP().
rivers/dri/i965/brw_wm_sampler_state.c
|
ea414e331802e49d59eb2ddd2466d58a383bc931 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: check for single memcpy() in memcpy_get_tex_image()
rivers/dri/intel/intel_tex_image.c
|
92e7c6a2581b5f612a84587500399bb00318c6f0 |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix fallout from ARB_depth_clamp enablement that broke glDepthRange. If a backwards glDepthRange was supplied (as with the old Quake no-z-clearing hack), the hardware would have always clamped because we weren't clamping to the min of near/far and the max of near/far. Also, we shouldn't be clamping to near/far at all when not in depth clamp mode (this usually didn't matter since near/far are usually the same as the 0.0, 1.0 clamping you do for fixed-point depth). This should fix funny depth issues in PlaneShift, and fixes piglit depth-clamp-range
rivers/dri/i965/brw_cc.c
|
32ec3f26731ac998b6fda7ce596ec568d6f76eeb |
29-Oct-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Mostly fix swrast's ARB_depth_clamp support. I'd written a testcase for the hard part of the extension enablement, so naturally the easy stuff was completely broken. There are still issues, as I'm seeing FLOAT_TO_UINT(max_f) == 0x0 when max_f == 1.0, but it gets piglit depth-clamp-range closer to success.
wrast/s_depth.c
wrast/s_span.c
|
6eb6a0e9cbed6ba5543d54e277f7ac11a0612070 |
26-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't bother MI_FLUSHing on glFlush in the DRI2 case. We only need it when drawing to the front buffer, which we never do for DRI2. No significant performance difference, but the flush is definitely gone from the end of every batchbuffer.
rivers/dri/intel/intel_context.c
|
fb0084e69e3326b49aca8ca004e19acb7f8c8555 |
26-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Clean up merge leftover from the DRI2 swap throttling.
rivers/dri/intel/intel_batchbuffer.c
|
1596f714d2377036152bd126949c6526fdb06fbf |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove debug code
rivers/dri/intel/intel_tex_image.c
|
2b628d43c0a2f9a14ea1e87dbdcac512fca7198a |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate some code in _mesa_GetCompressedTexImageARB()
ain/texgetimage.c
|
dcb4716802878690908a101b1c196737851d4151 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: added fast memcpy path for glGetTexImage()
rivers/dri/intel/intel_tex_image.c
|
01ee5c63d3a8334f20e3fcaf6d19ba00bddf8268 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move pixels==NULL check in glGetTexImage()
ain/texgetimage.c
|
99bbf4b4f55b3b0038cbaadefb92ea4a73af6e0a |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate some code in _mesa_GetTexImage()
ain/texgetimage.c
|
67df4fb56bcb72eddcfc187454d95b663cc43578 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move, clean-up _mesa_print_texture()
ain/debug.c
ain/debug.h
ain/teximage.c
|
d580c0c8f7cad69b808118ef2aa6161f62f160d8 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some tests in subtexture_error_check2() Don't use hard-coded compressed block sizes. Update comments and error strings.
ain/teximage.c
|
cf7040594e7987c021903f022784e2c6dae2db36 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneedded is_srgb_teximage() function Use _mesa_get_format_color_encoding() function instead.
ain/texgetimage.c
|
c89f5b6ac86d46af4f0311fa76db6186825fbf1e |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glsl: make shader substitution a little better
ain/shaders.c
|
41892e9b17e4e252ce1e73bc2dbc9d24eb13001b |
29-Oct-2009 |
David Heidelberger <d.okias@gmail.com> |
st/mesa: fix PIPE_FORMAT_X8Z24 <> MESA_FORMAT_X8_Z24 conversion Signed-off-by: David Heidelberger <d.okias@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
10a509564fa13f036b1b177fafae4337928a39a9 |
29-Oct-2009 |
David Heidelberger <d.okias@gmail.com> |
st/mesa: Add conversion from PIPE_FORMAT_X8Z24_UNORM to MESA_FORMAT_S8_Z24. Fix glxgears and openarena for Nouveau (no more asserts and crash). Signed-off-by: David Heidelberger <d.okias@gmail.com Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
c2f5eb71485e0d4d717bad7ab94fdb4a75f7e38f |
29-Oct-2009 |
David Heidelberger <d.okias@gmail.com> |
st/mesa: Fix nouveau glxinfo after merging texformat-rework. Signed-off-by: David Heidelberger <d.okias@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
tate_tracker/st_format.c
|
1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move declaration to prevent unused var warning
ain/texstore.c
|
9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 |
02-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: Fix compilation errors and warnings when features are disabled. Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/fbobject.c
ain/texparam.c
ain/texstore.c
tate_tracker/st_cb_blit.c
|
59798cd8864b601e035cf2414517cd90d24ed786 |
29-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_texture_s3tc follow feature conventions. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/context.c
ain/texcompress.h
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
|
20e20fc5afa7525e247fd607e04d9adfffe730b4 |
29-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_texture_fxt1 follow feature conventions. Also remove the unused initialization and GLchan fetch functions. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/context.c
ain/texcompress.h
ain/texcompress_fxt1.c
ain/texcompress_fxt1.h
|
920f023e8b3a5c2af0877530dc1707d2e50c5d4b |
29-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Never return NULL in _mesa_get_texstore_func. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/texstore.c
|
e2131e017184a595a735e7ea1eced1552b8a7d22 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage() And update error message.
rivers/dri/radeon/radeon_fbo.c
|
59b29516af2d4d8f83723559921a3709eb77a7d2 |
29-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
swrast: added braces
wrast/s_triangle.c
|
c6bd5fae0c2af1256ad552d583d9659712807214 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove old, unused #define
ain/texstore.c
|
bd36ca9b76bf7cba96fdef71b2ea73d3fa8dfd26 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: re-remove s3v and trident driver files These were removed from master but a few files came back from the texformat-rework branch.
rivers/dri/s3v/s3v_tex.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/trident/trident_context.c
|
960d49b387ff4b64f802097c5013beee4de3649d |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move some gl_texture_image and gl_renderbuffer fields around
ain/mtypes.h
|
bc143b1a9ffc16af27b2e7183ca3ec59ad5a7c89 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code movement
ain/texcompress.c
ain/texcompress.h
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
086f9fc0e2aef27f54eda87c733685500555bf20 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix RGB, RGBA texturing code Fix backward component ordering for RGB textures. Only optimize RGBA texture case if running little endian. This restriction could be lifted with a little work.
wrast/s_triangle.c
|
88bb4b593576a2977b2fe36794bd4d3dbc72063e |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: check for single texture unit in _swrast_choose_triangle()
wrast/s_triangle.c
|
0103d7a47a6f42d8bb7199b5bd55097e3b0b92a4 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: clean up and remove dead code in triangle functions
wrast/s_triangle.c
|
1e7517f059b1f3601502a199b05453eabfe56cdb |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix texel decoding in opt_sample_rgba_2d()
wrast/s_texfilter.c
|
7ac233ec15743763996e59c8b283f7c2e78a7210 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: choose texture format in _mesa_get_fallback_texture()
ain/texobj.c
|
0ea575d721821262a862ceef010db9b1a8b4a6d9 |
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
96128fdf2f959e2b59eca8f234dc6f3adf7a553f |
29-Oct-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix memory leak if we run out of memory Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texstore.c
|
660acd60d00366c97fbe7caf3995a75ce935a19b |
28-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add occlusion query support Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_queryobj.c
|
c451011d99a33350d70766f902ad09a0b606f7c2 |
28-Oct-2009 |
Marek Olšák <maraeo@gmail.com> |
mesa/st: fix crash in st_texture_image_copy Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
tate_tracker/st_texture.c
|
c0a61c8442af3cfa810098d34bf6a21d11a5d720 |
28-Oct-2009 |
Vinson Lee <vlee@vmware.com> |
intel: Fix memory leak in case of renderbuffer bad format Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_fbo.c
|
7d56caabe45e91a67096804c7e341d04d01db7aa |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l
|
0219cd0961e6b47761fe6984dc6c0a8bfa6057d8 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded #includes
hader/hash_table.c
hader/symbol_table.c
|
5e3b2baae74e6cde494b2fe5c6b32e3e8ef0ce87 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include imports.h to silence warning
hader/symbol_table.c
|
a7d0665c00053839065592c339bfb298187a82be |
28-Oct-2009 |
Vinson Lee <vlee@vmware.com> |
intel: Fix memory leak in event of mip tree allocation failure Signed-off-by: Brian Paul <brianp@vmware.com>
rivers/dri/intel/intel_mipmap_tree.c
|
6bc1e9fd6989483fbc1c94730a8014b4c62b242c |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functions
ain/teximage.c
|
f3c29bd74f01370a6bbff1329966ca9d1864315f |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate CompressedTexSubImage1/2/3DARB() error checking
ain/teximage.c
|
9519603f7405a1043ea39bf1dfaf4c88529ce2d1 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify teximage code with get_current_tex_object()
ain/teximage.c
|
dd5691e8020df30c47e6d0e43a68b4f301ea4ea9 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: code refactoring to eliminate a switch stmt in bind_buffer_object()
ain/bufferobj.c
|
b44304efdee562b294e542ea0e47d6c758816ee8 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glsl: avoid redundant state changes in _mesa_use_program()
hader/shader_api.c
|
93dae6761bc90bbd43b450d2673620ec189b2c7a |
27-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Fix epic memory leak in lexer / parser interface Anything that matched IDENTIFIER was strdup'ed and returned to the parser. However, almost every case of IDENTIFIER in the parser just dropped the returned string on the floor. Every swizzle string, every option string, every use of a variable, etc. leaked memory. Create a temporary buffer in the parser state (string_dumpster and dumpster_size). Return strings from the lexer to the parser in the buffer. Grow the buffer as needed. When the parser needs to keep a string (i.e., delcaring a new variable), let it make a copy then. The only leak that valgrind now detects is /occasionally/ the copy of the program string in gl_program::String is leaked. I'm not seeing how. :(
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parser.h
|
8df9587d68752f3369cc1eda1606d3b7c1041ec6 |
27-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Don't leak program string The program string is kept in the program object. On the second call into glProgramStringARB the previous kept string would be leaked.
hader/program_parse.y
|
0f255d195651f104a0c0bed84039b656d94ac4cc |
27-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Don't leak symbol table header structures
hader/symbol_table.c
|
2643a7ba2972ab8284aa911cc92ab0be163cb92f |
20-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS). Bug #24435 (cherry picked from commit d56125a298106d81e10674f1c4b3b43b51a5139d)
rivers/dri/intel/intel_syncobj.c
|
b7eea8c616092f5473a323fba585b04c47ae2010 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: added region draw_x/y offsets in x/y_tile_swizzle() funcs This fixes the second part of bug 23552.
rivers/dri/intel/intel_span.c
|
52374d7e4cc183fb783a7012b026d4254ca43b14 |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()
rivers/dri/radeon/radeon_fbo.c
|
f8155ef51f10bd7f084ea676f7b70af8ef429caa |
28-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: silence warning
rivers/dri/intel/intel_pixel_bitmap.c
|
21f8d31cfd9612fdf2bd39901472a6f3f11ddfda |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: debug code for glBlitFramebuffer()
ain/fbobject.c
|
507cf530b951b5a65999dd4ed7529824bd035087 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
via: silence unused var warnings
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
|
3c716669211c00d106ded2df342b4a2525f4795b |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: minor clean-up, comments
rivers/dri/intel/intel_tex_copy.c
|
7fd8c6ca2a6e94d60c02e9c271b00c565c2464cb |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_get_current_tex_unit() helper
rivers/dri/intel/intel_tex_copy.c
|
05ec586851290698730990cd810e1fe4d74d2749 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/Bilt/Blit
rivers/common/meta.c
|
403181b91355c733883d0a6d7f48440212226d45 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more texture debug code changes, improvements
ain/debug.c
ain/debug.h
|
58a4328e96160ad6c529edb321cdc5ea929a3f02 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code clean-up in client_state()
ain/enable.c
|
72cb441c2feb7e5f11fc84a2d9f551da94ce2f16 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid redundant state setting in glClientActiveTexture Plus add code for verbose/debugging.
ain/texstate.c
|
33531614de94d396d10a3bed4a020abe2e2a40b5 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix comment, formatting
rivers/dri/intel/intel_buffers.c
|
3e45788d5dd7af4635988d8fd9f1bfaa77d1dd9c |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix src offset bug in do_copy_texsubimage() Use src->draw_offset intead of zero. Zero usually worked, except when the src renderbuffer is actually a texture mipmap level higher than zero. Fixes progs/test/blitfb.c test.
rivers/dri/intel/intel_tex_copy.c
|
4c2a7bc4380017bec53a88cd9a8385cad73a9f0d |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix memory leak A slightly modified version of a patch from Vinson Lee.
hader/slang/slang_link.c
|
4f9f5a78408dbd86b2f9c25ee8a15581b9122fcc |
27-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix driver for the miptree x/y offset changes. Bug #24734.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
|
e9b17d6477f99838fc7f261ea1b8d47eea12f42f |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: be clear that the Fallback field is a boolean, not a bitfield
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_state_upload.c
|
755161b88843f3cfead9a02e076d1a04687d9082 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()" This reverts commit 8810b8f67135185d1044746bb861fe2ff997626c. It turns out the i965 driver uses the intel->Fallback field as a boolean, not as a bitmask. The intelFallback() function is a no-op in the i965 driver. It would have been nice if there were some comments about this. I'll fix that next...
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
fe818ea797033d77b814ee88c5b4e220226556ab |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix GL state bugs in intel_texture_bitmap() Need to push texture state and polygon state too. Fixes rendering glitches seen in progs/demos/engine when changing the rendering mode (wireframe, texture modes). This makes bitmap rendering a little slower, unfortunately.
rivers/dri/intel/intel_pixel_bitmap.c
|
22575abdec73312e010e016e381f7cf8761ad652 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix src offset bug in do_copy_texsubimage() Use src->draw_offset intead of zero. Zero usually worked, except when the src renderbuffer is actually a texture mipmap level higher than zero. Fixes progs/test/blitfb.c test.
rivers/dri/intel/intel_tex_copy.c
|
517ae7a3b65bca6770e8738464aa0ef526cc88b4 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix memory leak A slightly modified version of a patch from Vinson Lee.
hader/slang/slang_link.c
|
70b17db918a2784296434877a43b4c4036be792a |
27-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix driver for the miptree x/y offset changes. Bug #24734.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
|
43dc91f8bbb69499a6a0326a78e434b313f73c2c |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: be clear that the Fallback field is a boolean, not a bitfield
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_state_upload.c
|
f9e334cb32152fd342ac6b1dd4776215af6e1d49 |
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()" This reverts commit 8810b8f67135185d1044746bb861fe2ff997626c. It turns out the i965 driver uses the intel->Fallback field as a boolean, not as a bitmask. The intelFallback() function is a no-op in the i965 driver. It would have been nice if there were some comments about this. I'll fix that next...
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
48dad9c93fd6fb46bf33a58a87de79eb5ffd6e67 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix GL state bugs in intel_texture_bitmap() Need to push texture state and polygon state too. Fixes rendering glitches seen in progs/demos/engine when changing the rendering mode (wireframe, texture modes). This makes bitmap rendering a little slower, unfortunately.
rivers/dri/intel/intel_pixel_bitmap.c
|
c9d715da3936149b0d4ca9fef2f8b235bf9389b7 |
26-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: Add remap.c to SConscript. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Conscript
|
11caea687e3f10ae12d33e44edf84635f73047dd |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: choose texture format in core mesa, not drivers Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
rivers/dri/intel/intel_tex_image.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/glide/fxddtex.c
ain/teximage.c
ain/texstore.c
tate_tracker/st_cb_texture.c
|
355b5bde5056297f4f1636850449b91626958408 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_compressed_texture_size_glenum() stub
ain/texcompress.h
|
20c6c5853261b31ecd50d58e0aae9b92f25e41db |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_compressed_row_stride()
ain/texcompress.c
ain/texcompress.h
|
e3f2efc4f14d6f0d06560d2acfac73628f5a74a6 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove calls to _mesa_compressed_row_stride()
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
|
c83b7587608e1791e092739cc9753ad0e895f25d |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glide: remove _mesa_compressed_row_stride() calls And fix incorrect first parameter.
rivers/glide/fxddtex.c
|
253e7fee5dc7f0872987b214a6fa162db5e2aa19 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_compressed_row_stride() calls
tate_tracker/st_cb_texture.c
|
2594168e9f3cdc4ac53c925486491167837cda30 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: begin removing _mesa_compressed_row_stride() calls Use equivalent _mesa_format_row_stride() function instead.
ain/mipmap.c
ain/texstore.c
|
82bcc1c5d27b825db7f002c3c183bd1dc7833438 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify texture_row_stride() helper
ain/texstore.c
|
07ad6393cb31d8f1f086f9c46705334ef9cf25f6 |
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix-up error checking related to compressed texture block size
ain/teximage.c
|
54bb414e00a4daedbe530b9933bc11bac4ae7149 |
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up, simplify compressed texture size checking
ain/texcompress.c
ain/texcompress.h
ain/teximage.c
|
4dd2f6640b70e2313f8771f7588aa49a861153aa |
25-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
i965g: more work on compiling, particularly the brw_draw files
tate_tracker/st_draw.c
|
d6ee86c77a8e1543557fd64c1f1c354baa0a8ad8 |
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_compressed_texture_size() Use _mesa_format_image_size() instead.
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/glide/fxddtex.c
ain/texcompress.c
ain/texcompress.h
ain/texgetimage.c
ain/texparam.c
|
4c00981b22b28141af1442e5a679d0923b4358ae |
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove ctx->Driver.CompressedTextureSize() hook It always just called _mesa_compressed_texture_size() anyway.
rivers/common/driverfuncs.c
ain/dd.h
tate_tracker/st_cb_texture.c
|
35efc6a1b3e3dada2cf9bd3a503c1b84f4bcb7f5 |
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change compressed texture size calls Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/mipmap.c
tate_tracker/st_cb_texture.c
|
bea245ac2fecc312caec8f4af53174e4fb180103 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()
ain/texstore.c
|
5c8282769601ba30c00f04dac15d1dad6d67db6e |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address() _mesa_compressed_row_stride() can go away soon. _mesa_compressed_image_address() can be generalized and moved to formats.c
ain/texcompress.c
|
1ad9671db7bd60fa84266f30f46555b4e45bcb08 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/GLuint/gl_format/
ain/texcompress.c
ain/texcompress.h
|
2c3787f5130f79c3adbb9e8e1ace8935c919876f |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move assertion after declaration
ain/depthstencil.c
|
d255aaf54f9a4398247698408bd45698b1cefe58 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove hard-coded block sizes
ain/texstore.c
|
7b16c43e436715bef9118fdb28ca8a9ad91b1e66 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_format_block_size()
ain/formats.c
ain/formats.h
|
bee6794eb126bc8af87726a2456d0ebc36eb721d |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_format_name()
ain/formats.c
ain/formats.h
|
eb732b1bbb4e4bdd018ee9a1653a62fd8dce2d55 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional comments in format code
ain/formats.c
|
46a784b7fd2dcab97c26d5ca02fb8f74945ba157 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
26f1ad65b988fe55ae12a99994e4c63aaab899a0 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify att->CubeMapFace assignment
ain/fbobject.c
|
346250b190b023b6fbd2bde5ce3ad94a8d544e20 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor, new print_shader_info()
hader/shader_api.c
|
81a4d34f07d95e6a4bf6ab105efbee4fed116e55 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework error checking code for glGetCompressedTexImage() Do all error checking in new getcompressedteximage_error_check() func. Move some additional PBO checks out of the driver fallbacks into the error checking functions.
ain/texgetimage.c
|
d66965c9a1e932444c2538b4221df07fea4c557f |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove misplaced VERBOSE_TEXTURE tests
ain/blend.c
ain/depth.c
|
9b50ceac03975e75940713313363df1bdd5c19dc |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more detailed error messages in fbo code
ain/fbobject.c
|
dc8b139aa23899b00baa919fd7f46c74bf4ef205 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove FBO texture depth/stencil test The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
ain/fbobject.c
|
0acb057ad16264b976b00aa7c6ecf285ca8c19e7 |
24-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix broken _mesa_str_checksum()
ain/imports.c
|
49d402e275cdaf46de8db5a475dfe00509141195 |
23-Oct-2009 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/mesa_7_6_branch' Conflicts: src/mesa/drivers/dri/intel/intel_fbo.c src/mesa/drivers/dri/intel/intel_mipmap_tree.c src/mesa/drivers/dri/intel/intel_mipmap_tree.h src/mesa/drivers/dri/intel/intel_tex_copy.c src/mesa/drivers/dri/intel/intel_tex_image.c
|
bfd51dc34d45ba584683c70b1f854a513d9104d3 |
08-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface().
rivers/dri/i965/brw_wm_surface_state.c
|
2d17dbfb5346b6d75e87c839148cbe125bf5cd6d |
09-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Keep track of x,y offsets in miptrees and use them for blitting. By just using offsets, we confused the hardware's tiling calculations, resulting in failures in miptree validation and blit clears. Fixes piglit fbo-clearmipmap. Bug #23552. (automatic mipmap generation)
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
cd62b4f00a11e9c548bd61652f88ab772d8421b8 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formats Need to return the actual compressed format when the user originally requested a generic compressed format.
ain/texparam.c
|
9528dc6ed8d09eba0dc3be17dc5e9ef4add8083c |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_compressed_format_to_glenum() Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
ain/texcompress.c
ain/texcompress.h
|
5e4f5e41a487e9baa8a63842327d83cee659622e |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change s3tc vs. fxt1 priority when choosing compressed formats
ain/texformat.c
|
6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74 |
16-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Always build libglapi.a. This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
akefile
lapi/dispatch.h
lapi/gl_offsets.py
lapi/gl_table.py
lapi/glapidispatch.h
lapi/glapioffsets.h
lapi/remap_helper.py
ain/api_arrayelt.c
ain/context.c
ain/dispatch.c
ain/remap_helper.h
ain/vtxfmt_tmp.h
|
22884db174b9fb0736cec1c6a192f8b9a97500c1 |
16-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Move dispatch marcos to glapidispatch.h. dispatch.h is kept as a wrapper to glapidispatch.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/Makefile
lapi/dispatch.h
lapi/gl_table.py
lapi/glapidispatch.h
|
3d16088ff0b369c877e2aae87ddc7322d70ecc7d |
08-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/dri: Remove extension_helper.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/common/extension_helper.h
lapi/Makefile
|
17ef1f6074d6107c167f1956a5c60993904c0b72 |
08-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: Enable remap table in core. This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
rivers/x11/xm_api.c
ain/context.c
ources.mak
|
d7d3fb925b6993740d0126d0d7e678c27f5f1850 |
08-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Add support for remap table. This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/Makefile
lapi/remap_helper.py
ain/mfeatures.h
ain/remap.c
ain/remap.h
ain/remap_helper.h
|
d4d4733e6c312f2a8e9977b06fc554904407c456 |
23-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: remove duplicate stride setting Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
rivers/dri/r600/r700_render.c
|
738b394769bb95036635f7a00a1ef08890c5be63 |
23-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: for position invariant programs reading vert_pos is not always known at this point
rivers/dri/r600/r700_vertprog.c
|
b9cb74c7f826dfd320f5e5b54aa933898f7ddd3d |
23-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove the swizzling parts of ExtSwizzle These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
tate_tracker/st_mesa_to_tgsi.c
|
4e1d51786e0657c7430d731ac464f2a73e32eddf |
23-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove noise opcodes Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
tate_tracker/st_mesa_to_tgsi.c
|
45eb9d2f6dced7654291cabb4b8dd02a695db694 |
23-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove remains of old tnl pipeline
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
fc38a3cfe84e4e79af43f29d236748120789a286 |
23-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix render size prediction
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
614e8f220332d5876c787ea07300c6c8508219d5 |
22-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove old tnl pipeline
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_render.c
|
95328c7cf91322813de846a72f157aefff9417a6 |
22-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: clean up context creation Make it more consistent with other radeon drivers.
rivers/dri/r600/r600_context.c
|
286611d99060c38c4cc12f18fde5448213e2a44b |
23-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "Store clipping distance for user clip planes as part of vertex processing" This reverts commit f058b25881e08c9d89a33345e5c84e1357396932. This change is completely wrong in so many ways. When clip distances are generated as part of vertex processing, they must be interpolated to perform clipping. Geometric clipping goes right out the window.
nl/t_context.h
nl/t_vb_cliptmp.h
nl/t_vb_program.c
nl/t_vb_vertex.c
|
dd245016657c599ecf24c4abe999319f9c870c47 |
20-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Fix parameter array size comparison Array indexes are invalid when >= the maximum, but array sizes are only in valid when > the maximum. This prevented programs from declaring a single maximum size array. See the piglit vp-max-array test.
hader/program_parse.tab.c
hader/program_parse.y
|
1160acbfea986a821761d18f5f14d5d2cb0dea8c |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
dri/drivers: update driNewRenderbuffer() to take a gl_format Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix.
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgaspan.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagespan.c
rivers/dri/sis/sis_span.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
|
cf0e25d4c89b62f37ff8d1f11c50efcab6557c7f |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: simplify radeon_create_renderbuffer()
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
|
ab9d1011f5549502a4b960c2067cde69856a2719 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
fdce832437537f8e89f7ea57d15e73a481bd240e |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix up vbo comments
bo/vbo_exec_api.c
|
488e67bab267dd687dbe83e52974ad4519906fcc |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_dump_texture()
ain/debug.c
ain/debug.h
|
55058652b886b95bfc24109a9edb04d274c01c1a |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: flush old context before binding new context Per the GLX spec, when changing rendering contexts, the old context should first be flushed.
rivers/dri/intel/intel_context.c
|
4837e01bcd3d011a38d75cc9f1eff629c3de6fd6 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: code refactoring- new _mesa_finish(), _mesa_flush()
ain/context.c
ain/context.h
|
8810b8f67135185d1044746bb861fe2ff997626c |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix hacked Fallback usage in brw_prepare_vertices() Setting intel->Fallback = 1 clobbered any fallback state that was already set. Not sure where this hack originated (the git history is a little convoluted). Define and use a new BRW_FALLBACK_DRAW bit instead. This shouldn't break anything and could potentially fix some bugs (but no specific ones are known).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
c24466c34e7aeb8aeda2455f6a688b99c44b10e2 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: define INTEL_FALLBACK_DRIVER for drivers
rivers/dri/intel/intel_context.h
|
ea659f891740fab1943eca219ffbdd5ed3d1906c |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: Fallback field is a bitmask, use GLbitfield
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
f9bbbe5803a72eceb8ed6ddc73bb48c8bcdc0179 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused brw_context::tmp_fallback field
rivers/dri/i965/brw_context.h
|
2f7abf5c042a1bcf97d77d6dad4a17bda37e0567 |
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused BRW_FALLBACK_TEXTURE bit The value was probably wrong too. It was the same as INTEL_FALLBACK_DRAW_BUFFER.
rivers/dri/i965/brw_context.h
|
fd7ee2bcb74edf8c4412a244c33fd4749509b912 |
22-Oct-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Kill off trident. Hm. I could have said "chew trident and spit it out," or perhaps "spear trident," instead. Dohoho.
rivers/dri/trident/Makefile
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_context.h
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_dri.h
rivers/dri/trident/trident_lock.h
rivers/dri/trident/trident_state.c
rivers/dri/trident/trident_tris.c
rivers/dri/trident/trident_vb.c
|
8e4657a9d4cbb899d388068cff0f8c267071fa50 |
22-Oct-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Nuke s3v. As per FDO #17889.
rivers/dri/common/drirenderbuffer.h
rivers/dri/s3v/Makefile
rivers/dri/s3v/s3v_common.h
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_dd.c
rivers/dri/s3v/s3v_dri.h
rivers/dri/s3v/s3v_inithw.c
rivers/dri/s3v/s3v_lock.c
rivers/dri/s3v/s3v_lock.h
rivers/dri/s3v/s3v_macros.h
rivers/dri/s3v/s3v_regs.h
rivers/dri/s3v/s3v_render.c
rivers/dri/s3v/s3v_screen.c
rivers/dri/s3v/s3v_screen.h
rivers/dri/s3v/s3v_span.c
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/s3v/s3v_tex.h
rivers/dri/s3v/s3v_texmem.c
rivers/dri/s3v/s3v_texstate.c
rivers/dri/s3v/s3v_tris.c
rivers/dri/s3v/s3v_tris.h
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/s3v/s3v_vb.c
rivers/dri/s3v/s3v_vb.h
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/s3v/s3virgetri.h
|
dd36006a4eb1cb08dc49af3075c215e6eea46e75 |
22-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix depth span macros for format changes
rivers/dri/radeon/radeon_span.c
|
eb1b8ed1484f0cc792c5237114b54d5fa53164cc |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: fix some renderbuffer format bugs
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_span.c
|
5e77b61e393144e76fe0a280c3c5da2d36703bbb |
22-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
|
869e20bcb7db9c6540eb6b538104303df738d302 |
21-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: set barrier for tex inst if dst is used earlier, might overwrite it otherwise
rivers/dri/r600/r700_fragprog.c
|
a88c9296cb079ff42ef901113d0fe772228e6feb |
20-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: need to export something from PS Also avoids empty shader for "END" - seems to be somewhat valid fp Maybe this can be done differently in the future (fake FRAG_RESULT_COLOR already in Map_Fragment_Program() or is there a way to program the chip to not hang in case of no exports.
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_fragprog.c
|
b86302283b48654682e0580c53ece01bf095fa95 |
20-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add beginnings of ARL instruction
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
3c685608664900562919136fbc33ac16060a27c3 |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 And change parameter type.
rivers/dri/i915/i915_texstate.c
|
6e1ddd34c6b6f9773ef87198503f5f61f9a6c23a |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: get rid of z24s8 <-> s8z24 conversions in span code Can just use s8z24 everywhere. Note: the WRITE_DEPTH macro for R600 may need to be fixed.
rivers/dri/radeon/radeon_span.c
|
c18b022d0d1dc07c37c0bd981d4fc6fac27e5a45 |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_span.c
|
68d94a608a6d46156a567b8f0e011ac58054975e |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
|
4bd70b5cff13039a4b0e0c554156fec06e3c3906 |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: change parameter type to gl_format
rivers/dri/i965/brw_wm_surface_state.c
|
c55b355fd460453a459e073ac4119c69e06e7531 |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use MESA_FORMAT_X8_Z24
ain/renderbuffer.c
|
832f29770d91c7d98c9b8438922247fff8f0f8bd |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use MESA_FORMAT_X8_Z24 format
ain/depthstencil.c
|
e4c700dbbf2a802f32bf62256c801105998c3729 |
22-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_FORMAT_X8_Z24 format 24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24 format but this there's a few places where we explicitly don't want stencil. This format may go away at some point in the future.
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texstore.c
|
2cc5a0e6bb8fe2aa0733d70fec65df934b1093f6 |
21-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_dump_renderbuffers() debug code
ain/debug.c
ain/debug.h
|
d56125a298106d81e10674f1c4b3b43b51a5139d |
20-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS). Bug #24435
rivers/dri/intel/intel_syncobj.c
|
cbd20e18a0f82a653513d165694ed7bbb336e765 |
20-Oct-2009 |
Eric Anholt <eric@anholt.net> |
meta: Fix the BufferSubData in meta clear to be BufferData. Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The other meta code could probably also use the same treatment.
rivers/common/meta.c
|
ca940a73a72c68c461344d27f9d1fac31cd73819 |
20-Oct-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix Mac OS build. strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.
ain/imports.c
|
16e21191e26084848c7e6e3ffd9e15ef670855c5 |
19-Oct-2009 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
r300: fix texture size handling with size > 2048 The in kernel texture check fails because of both bit11 flags being set on 16x16 textures. It tuns out that these bits are still set and not cleared in the pp_txpitch field of the texture. The attached patch at least helps for this case on my machine. It clears the bit 11 from the pitch field if the texture is smaller and masks out that hight bits on the conventional width and height field. Fixes bug 24584
rivers/dri/r300/r300_texstate.c
|
8123180ea649540fb7319bc79ad77dca0d5d68cd |
19-Oct-2009 |
Robert Noland <rnoland@2hip.net> |
r600: Fix size calculation for 24 bit depth size was being calculated based on 3 bytes per pixel with 24 bit depth instead of 4 bytes. This caused corruption in the bottom 25% of objects. This finishes fixing the menu/text corruption in compiz/kde4. Signed-off-by: Robert Noland <rnoland@2hip.net>
rivers/dri/r600/r600_texstate.c
|
620270c76e7241fe4c391e31e3706468d708fe69 |
19-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'mesa_7_6_branch' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
|
bb567357bc1366df7115e0daa68c2470e3bf6ba6 |
18-Oct-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
gallium: Permit surface_copy and surface_fill to be NULL. Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc. please make sure you are not broken, and fix yourself up if you are. There were only two or three places where the code did not have painful fallbacks, so I would advise st maintainers to find less painful workarounds, or consider overhauling util_surface_copy and util_surface_fill. Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is. I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
|
60a39b6799c72430851d92f93758e2f25487a0f4 |
17-Oct-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Disallow relocations to the byte beyond the end of the buffer
rivers/dri/intel/intel_batchbuffer.h
|
a335d334d45701a42c283257fa44f2f7148e186d |
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/update some comments
ain/mtypes.h
|
f094b86bb5ab93aedc03df5cf5bdf51ab9d37045 |
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lift default symlinks target into Makefile.template Driver Makefiles can still add symlink dependencies/rules if needed.
rivers/dri/Makefile.template
rivers/dri/fb/Makefile
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r600/Makefile
rivers/dri/radeon/Makefile
rivers/dri/s3v/Makefile
rivers/dri/savage/Makefile
rivers/dri/sis/Makefile
rivers/dri/swrast/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/trident/Makefile
rivers/dri/unichrome/Makefile
|
db2046580f3b5be0e9fe30337f3bf412c4556ed9 |
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler This is a bit cleaner and avoids rebuilding the r300_dri.so library all the time.
rivers/dri/Makefile.template
rivers/dri/r300/Makefile
|
d9fd207133ba2ff8cd0bbcab6963c70d71628b1b |
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added SUBDIRS support in dri/Makefile.template
rivers/dri/Makefile.template
|
f0503726bf8113919e4b00fbca504d7cbdcd0151 |
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move a comma
ain/mtypes.h
|
2ee7fd8d584abf051c552f455aeb588e2936b0ea |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_GLSL=useprog debug flag This logs glUseProgram() calls to stderr.
ain/mtypes.h
hader/shader_api.c
|
3594b53c0173ac810106f667604bf94b5cfc4a1e |
16-Oct-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix vertex program parameters limits
rivers/dri/r300/r300_vertprog.c
|
89b31c9619449d5c9b8ebe4e245c2a926e3583e6 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use C locale for _mesa_strtod() _mesa_strtod() is used for shader/program parsing where the decimal point character is always '.' Use strtod_l() with a "C" locale to ensure correct string->double conversion when the actual locale uses another character such as ',' for the decimal point. Fixes bug 24531.
ain/imports.c
|
fa3046431a0da5990043fd4856602b0ba57ff9af |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
dri/common: updated #includes
rivers/dri/common/texmem.c
|
a37c9ac8eee8c0d5b49f198f490828a794dc93c4 |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
dri/common: use _mesa_little_endian() and update comments
rivers/dri/common/texmem.c
|
9bf2aa33298db5af9128ad8f625321be47ab65c3 |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
dri/common: fix broken _dri_texformat_* initializations
rivers/dri/common/texmem.c
|
3f30b0709b5a71915df336194f9f805e4c306cef |
14-Oct-2009 |
Owen Taylor <otaylor@snell.localdomain> |
Use the right pitch when rendering to a texture We need to get the pitch from the texture level we are rendering to, rather than just using the base texel width.
rivers/dri/radeon/radeon_fbo.c
|
16c6a3b71e6be04b6bb3d08fcb658194c5251fc7 |
14-Oct-2009 |
Robert Noland <rnoland@2hip.net> |
r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported. Report unsupported attributes while I'm here. Signed-off-by: Robert Noland <rnoland@2hip.net>
rivers/dri/r600/r700_assembler.c
|
a176b1c5d8b14601ec7e6ca9599c55fcc4797a7d |
14-Oct-2009 |
Robert Noland <rnoland@2hip.net> |
r600: cleanup in r600_cs_process_relocs(). Signed-off-by: Robert Noland <rnoland@2hip.net>
rivers/dri/r600/r600_cmdbuf.c
|
e5d6450c2c85cc7d645cb0736194f41e5393802d |
14-Oct-2009 |
Robert Noland <rnoland@2hip.net> |
radeon: return EINVAL for 0 length buffers. Signed-off-by: Robert Noland <rnoland@2hip.net>
rivers/dri/radeon/radeon_bo_legacy.c
|
22a0029a68cf6a17e5d799c7d8eb8a699ccdeabb |
15-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix tfp1 bo size Setting the wrong bo size resulting in an incomplete read cache flush when reading the texture. This fixes the compiz text corruption. [agd5f: take hw pitch alignment into account]
rivers/dri/r600/r600_texstate.c
|
a3fec141017a39916d07000a3aa00eef3c9ac8a7 |
12-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: implement ProgramStringNotify need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
rivers/dri/r600/r700_oglprog.c
|
606becc7f3513354548f587d84db731046616401 |
11-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: LIT dst.y gets value from src.x seems I overlooked this when removing hardcoded swizzles for this one previously
rivers/dri/r600/r700_assembler.c
|
74c31e5d05f7ed342fb143cb6f637b54e8961973 |
11-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: DPH adds w comp of second operand, so set first one to 1 instead
rivers/dri/r600/r700_assembler.c
|
95851d8cb232cbd1312d2b8de471ba2aeb276911 |
09-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fixup KIL instruction a bit - KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
rivers/dri/r600/r700_assembler.c
|
bf68e54a4d69bdd9a01656919d3cd752c96157b3 |
28-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color mask makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
rivers/dri/r600/r700_state.c
|
5101215a64a69a212241eadba7f097cef33a0b5c |
28-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: user correct alpha blend factor Signed-off-by: Dave Airlie <airlied@linux.ie>
rivers/dri/r600/r700_state.c
|
f7285bdffcd8cca1c7d3066d38907a5987e844ea |
29-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: clear position enable bit when when wpos is not used by FP Makes doom3 alot nicer..
rivers/dri/r600/r700_fragprog.c
|
6f8b4d9e3625c7de83247596fd6822227da04336 |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated lex.yy.c w/ _mesa_strtod()
hader/lex.yy.c
|
269f16cd96fdbee5d178130171b4ef40258f61cf |
15-Oct-2009 |
Neil Roberts <neil@linux.intel.com> |
mesa: Use _mesa_strtod in the lexer for assembly shaders See bug 24531.
hader/program_lexer.l
|
c47b03ebebd4db30bf5ed17b44c0f8757306b197 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: initialize renderbuffer Format field in radeon_create_renderbuffer() Plus, use MESA_FORMAT_S8_Z24 everywhere.
rivers/dri/radeon/radeon_fbo.c
|
2fd5cb713338e91999a036399a4bea4406687ca0 |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added VERBOSE_SWAPBUFFERS
ain/context.c
ain/debug.c
ain/mtypes.h
|
f9784072fee016e14e0319c705420becb2490bf9 |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
vbo: clean-ups, reformatting
bo/vbo_exec_array.c
|
ade1cc992410c8696fdfe0f84fb613fd0dc8099f |
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
ain/debug.c
ain/mtypes.h
bo/vbo_exec_array.c
|
d9099f8602eb6d15e9fc2e0b0987e7a58fb98b68 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
ain/debug.c
ain/light.c
ain/mtypes.h
|
73fc0ca4c36f258c4d0d7707dd3313a685c211bf |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
rivers/common/driverfuncs.c
rivers/dri/mach64/mach64_tex.c
ain/dd.h
ain/texobj.c
|
0187e042b681663938a1a12e9ae03c6f0ab48af5 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ctx->Driver.TextureMatrix() hook
rivers/common/driverfuncs.c
ain/dd.h
ain/texstate.c
|
f22c427bd685f55e6f7e29dcd72cdb1aa42f04d9 |
14-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: enable EXT_vertex_array_bgra extensions
rivers/dri/r600/r600_context.c
|
ce3801ab87ef6eb29e5b81c2acfdd102f7b9c0ae |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
98eb7a14a44f8e5c3c2d2f1418d7d4e4ed0fe5e8 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove left-over debug printf
rivers/common/meta.c
|
220f72a8d04728efbbc097d27be43590b0fe1ceb |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor tweak to printf string
hader/shader_api.c
|
435623b3f0b2d2db5b107ef177693ccafc591a29 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework _mesa_read_shader() debug hook Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
ain/shaders.c
|
dfefde38c7dfe70a3531cb85215e55eeb6407180 |
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't print pointer in _mesa_fprint_parameter_list()
hader/prog_print.c
|
f058b25881e08c9d89a33345e5c84e1357396932 |
09-Oct-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Store clipping distance for user clip planes as part of vertex processing Once the clipping distance is calculated and stored per vertex, the distances can be re-used when clipping is actually performed. This doesn't have any immediate benefit, but it paves the way for implementing gl_ClipDistance in vertex shaders and result.clip[] in vertex programs. This has not produces any oglconform regressions on my G31 system which uses software TNL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
nl/t_context.h
nl/t_vb_cliptmp.h
nl/t_vb_program.c
nl/t_vb_vertex.c
|
83f4e72009e2ee03ec1175bd3e6e309e605c2bd1 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix broken sw generate mipmap path Need to restore code that fixed up the intel_texture_image state.
rivers/dri/intel/intel_tex.c
|
eefecf5d2a5bf9fc0f0f7919faf1747b0add8d6f |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace fixes
rivers/common/meta.c
|
c8413351c33d5758da057b56a140c9ee622a5e4a |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback() We need to check that we can actually render to the texture's format before doing mipmap generation. This may fix bug 24219.
rivers/common/meta.c
|
3f928b355275c0e76ead6febe471a552ece8b0a8 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()
rivers/common/meta.c
|
b5d6a8e88fb970bce596adc10a8b22f6758591f0 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean up in check_begin_texture_render()
ain/fbobject.c
|
47a7535f413d6467082de224f64eecc046227406 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: whitespace/formatting clean-up
rivers/dri/intel/intel_mipmap_tree.c
|
3732d0a77d2cbae50874f5a4ebdb3d8f06021a57 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: replace extern decl with #include
rivers/dri/intel/intel_mipmap_tree.c
|
b9c28979576a566055e44cb31f3e5c0cd82754e0 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: added INLINE keyword to minify() This is mainly just to silence some warnings.
rivers/dri/intel/intel_tex_layout.h
|
c932e21fa848562325f666dce5db3b09bc61bffa |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: code clean-ups
rivers/dri/intel/intel_mipmap_tree.c
|
e6594a22f298833eeb6881795b24d03d2fd8e898 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: pass zslice to intel_miptree_image_offset() This lets us get rid of intel_miptree_depth_offsets() and simplify all of the calling code.
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
15d2ef602461ca75e7160af46a2b5040742a91c9 |
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused var
rivers/dri/i965/brw_wm_surface_state.c
|
6c1cd4c55856dc7d36406de21a0fb5f567fcd36f |
09-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: print program Id when printing
hader/prog_print.c
|
7a32c0a19e77e2e735f8d5cbc5b3bb9fda9606e5 |
12-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: implement ProgramStringNotify need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
rivers/dri/r600/r700_oglprog.c
|
da66d9e12d339c5c6df08ea0bd11a550c9c57b36 |
11-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: LIT dst.y gets value from src.x seems I overlooked this when removing hardcoded swizzles for this one previously
rivers/dri/r600/r700_assembler.c
|
97dd35bd6f2e2654b96923fd06bf9761e7b2269d |
11-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: DPH adds w comp of second operand, so set first one to 1 instead
rivers/dri/r600/r700_assembler.c
|
f3be27c0cf8a4c47230f31d9d66bde7340ffb204 |
11-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix the last valid address setting for the index buffer. Again, last valid address, not first invalid address. Fixes regression in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches and caused piglit draw_elements_base_vertex to fail.
rivers/dri/i965/brw_draw_upload.c
|
a82da7fa263c7fb6b902285994136890e6dc3278 |
11-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix the bounds emitted in the vertex buffer packets. It's the address of the last valid byte, not the address of the first invalid byte. This should also fix problems with rendering with the new sanity checks in the kernel.
rivers/dri/i965/brw_draw_upload.c
|
57e3eb1b178e861dee7695c9a5e1c71a4333192d |
10-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
194ede4bf97547ce8a61587ede0b0a5054955783 |
09-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix scissor regression fixes fdo bug 24248
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_common.c
|
6164f1fe790def9f3ca4f1f555ef59bbaa82db90 |
09-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: create aux buffers according to visual Fixes bug 24426 for gallium.
tate_tracker/st_framebuffer.c
|
ce64e063a8b32d842a3b5dfe62178e9e4cd89f9c |
09-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers() Fixes bug 24426.
ain/renderbuffer.c
|
45e76d2665b38ba3787548310efc59e969124c01 |
09-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove a bunch of gl_renderbuffer fields _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
rivers/dri/common/drirenderbuffer.c
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/sis/sis_dd.c
rivers/dri/swrast/swrast.c
rivers/dri/unichrome/via_context.c
rivers/osmesa/osmesa.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
ain/depthstencil.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
ain/rbadaptors.c
ain/renderbuffer.c
ain/texrender.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
tate_tracker/st_format.h
wrast/s_clear.c
wrast/s_depth.c
wrast/s_triangle.c
|
44c6c20b69839ea130a255496f5f692186b68793 |
09-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fixup KIL instruction a bit - KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
rivers/dri/r600/r700_assembler.c
|
9b8d2e76c395d6e1fcd09a61cd319cdc2d70c466 |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use bo_references for the state cache delete function. This appears to shave about 3% off the CPU usage in cairo-gl for firefox.
rivers/dri/i965/brw_state_cache.c
|
193dddb04e26d4e6ccefef03ce7a620606d6de5f |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use new drm_intel_bo_references() to avoid flushing.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_tex_image.c
|
f49d53594c8ba501c39f9a43148ce02a0ec8bfc2 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: free display list state after freeing shared state Fixes bug 24402.
ain/context.c
|
f67bc2e87255298ac22e8ccd98f482cc62d0ec26 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/common/meta.c
|
f001cc09811214f0fa9083b799ad4232f8aee836 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean up extended opcode code
ain/dlist.c
|
33e9ac20e3b399c6ec6ec2f586a9402b68590992 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_list_instruction and gl_list_extensions to dlist.c
ain/dlist.c
ain/mtypes.h
|
15f05e97aac46ffcf8a7765b0072535718833622 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_free_display_list_data()
ain/context.c
ain/dlist.c
ain/dlist.h
|
fc995c72982b5f971741986fea7aa63bb5fcbd81 |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up display list mem allocation, fix NULL handling The -1 term in alloc_instruction() foiled later NULL pointer checks.
ain/dlist.c
|
77be195cf691bc7ba249f350e13c7ac06a78e9de |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
main: replace ALLOC_INSTRUCTION macro with regular function
ain/dlist.c
|
6e1697bee72a95f7d605e42ce60e2cb4a545106f |
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename display list functions _mesa_alloc_instruction() sounded like it was related to vertex/fragment program instructions, but it wasn't.
ain/dlist.c
ain/dlist.h
bo/vbo_save_api.c
|
9f002e4aaa2d7ea085cd0a3c66ff0fa533905382 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa/xlib: call XQueryExtension() in glXQueryExtension() See bug 24321.
rivers/x11/fakeglx.c
|
7dd2c0afd68a90bb6b1f5f030c8d60bf6a562071 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free() They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
rivers/common/meta.c
|
cf6209b274c83f3018c9f0855de769285325b98f |
07-Oct-2009 |
Joakim Sindholt <opensource@zhasha.com> |
r300compiler: fix scons build again
rivers/dri/r300/compiler/SConscript
|
7ca7220ea1d31dbdbf1fe7e6f3e6cc4ff8b0abde |
07-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300g-glsl Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
5b4c0b864a25fa193e7ba828cf5ce483ca05bd4e |
07-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'mesa_7_6_branch'
|
9fde81bb20bbfd2f8da80749cb84d890843a7bc2 |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
shader_api: Fix bounds checking of glUniform and glUniformMatrix Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
hader/shader_api.c
|
ae351599f144b9e0cb1691870dd4c305fbaab97c |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
prog_parameter: Document the fact that Size may be > 4 Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
hader/prog_parameter.h
|
c0de2ed5055b951ff523c3b25eecfc82d1f307ef |
07-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: add missing mesa constant file name There are many different names for constants in mesa, we were missing one since the ureg rewrite.
tate_tracker/st_mesa_to_tgsi.c
|
2ef1aae1633db98fc52f440ca33b8f2a6f153d45 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions These don't depend on context state, but use a screen pointer.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
c3eef6021a06d728aa4c8b882264f554f2d4b801 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320
rivers/x11/fakeglx.c
rivers/x11/xmesaP.h
|
edbaa717b49f679572805d535ed7c77518257781 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: s/GLfloat/GLuint/ in bzero()
wrast/s_depth.c
|
14f21c785087f86d291243400e59ebfc8721c4f6 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add missing returns
wrast/s_depth.c
|
e3fff3daf031a997a1d4316e1a0e5c831573221d |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension() A little better than leaving the values undefined, I think. See bug 24321.
rivers/x11/fakeglx.c
|
74d61d03b54d72217d463c248468cdcd09320efc |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_FORMAT_XRGB8888
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texstore.c
|
c5b725489243e6a94ca5e31306cdfa93619bd200 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
ain/formats.c
|
c13b9a141d77845517bf7cab20cff6115c31e67d |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texstore.c
|
f7b5e616e07b5caa27e91bb5733a8a849d5963f6 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_format_color_encoding()
ain/formats.c
ain/formats.h
|
edfd2f7c4f942ed0c1aa1238ab0684ee7dd889a2 |
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: accept more pnames in _mesa_get_format_bits()
ain/formats.c
|
57abb76e1095d14f54ea8b8d0d2220e209b8656f |
06-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix R300 vertex program dumps The source register field has 8 bits. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
|
bcfba138cc7ffbf8163b29dc4a89520369a00f96 |
06-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix yet another regression in register allocation Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_pair_regalloc.c
|
a09bd685daa9f2eebf7c7b428dc0da4595dd6459 |
06-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix a really stupid logic inversion in the generic dataflow code Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_dataflow.c
|
9e42f0ebc7e538e0bff7c8c8539532ff2fc3c475 |
06-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix regression in pair scheduling Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_pair_schedule.c
|
ec58dac86d3068b47c5a4e0187ef56985dcbf75c |
05-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: r700PredictRenderSize can flush, so move index buffer setup after it
rivers/dri/r600/r700_render.c
|
3e34a2a2b97e7c93955deedb7c12b73bccd6662d |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
drivers: don't include texformat.h And remove other unneeded #includes while we're at it.
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810texstate.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_texstate.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
|
90cd968300b8490f6efd75ef751fd3b6554f16d3 |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't include texformat.h
ain/debug.c
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texgetimage.c
ain/teximage.c
ain/texstore.c
|
019bc97bd900a84f5f999afdb42928e92d33814b |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_format_to_type_and_comps() to formats.c
ain/formats.c
ain/formats.h
ain/mipmap.c
ain/texformat.c
ain/texformat.h
|
be0765cd6ec47cf068775197f312a1123e044566 |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_format_info struct to formats.c This is a private datatype.
ain/formats.c
ain/formats.h
|
7e7f38a67d82191076b95f6faa0d419df68610da |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove feature tests
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texfetch_tmp.h
|
6ec3db6cab95c1025d4afa0e7951246b5aa51b48 |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use FetchTexelf() instead of FetchTexelc()
ain/texrender.c
|
41bee4cff54c6a4c3ee193c80164a4b81863774b |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add parenthesis
ain/colormac.h
|
1a2bb37264b4448d33f2948fe1702c9dc936395d |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lift _mesa_set_fetch_functions() calls out of drivers Call it from in the main Mesa glTexImage functions.
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/unichrome/via_tex.c
ain/texfetch.c
ain/teximage.c
ain/texstore.c
|
bbbf55fa8419549debbba9ac6dc011b2c18ef24c |
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_get_texel_fetch_func() static
ain/texfetch.c
ain/texfetch.h
|
55770d09c18c4d33403abb97dfef4f897efbbe2a |
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
|
79892e7976fbb91ae426f5868d5f453e977c1f17 |
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use driReadDrawable in do_copy_texsubimage()
rivers/dri/intel/intel_tex_copy.c
|
3b7ec94c0db4140f72682f70262baf77be683816 |
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use driReadDrawable, not driDrawable in do_blit_readpixels()
rivers/dri/intel/intel_pixel_read.c
|
3b29dcbb5e1f0641cdfab22b5e578d933e9dbf35 |
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove a buffer equality test in _mesa_make_current() Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
rivers/dri/intel/intel_context.c
|
1f39d59a2996e2acf6893a8dd1a0293bd8790cc2 |
05-Oct-2009 |
Joakim Sindholt <opensource@zhasha.com> |
r300g: fix scons build So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
rivers/dri/r300/compiler/SConscript
|
a8768bbc9de1441384cecc147d51c9ee6431b924 |
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix return value when clipping {Read,Draw}Pixels height <= 0 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
ain/image.c
|
75e0a376cd32b127f3168c0af12992b5c8576e92 |
05-Oct-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Copy textures' base format into wrapper renderbuffer. Otherwise st_copy_texsubimage will fallback to software blit due to inconsistent base formats.
tate_tracker/st_cb_fbo.c
|
b02ef740b90029bc40629e5b81270a8cf77101d3 |
05-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: add ST_DEBUG environment variable At last it's possible to turn on tgsi dumps and other debugging in the state tracker without modifying sources...
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_debug.c
tate_tracker/st_debug.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_program.c
|
0b032eabc77d0e28fc0746cbd8ffb94859fd130d |
04-Oct-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: update vertex program selection for draw path
rivers/dri/r600/r700_vertprog.c
|
43750f1575e366e2a92b71bffceee90d7f1a2b3e |
05-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
Use _mesa_select_tex_image() rather than hardcoding face 0. Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
ain/mipmap.c
|
7aeaca33c331f70d507fc83583b13b8d9fc3e847 |
05-Oct-2009 |
Ben Skeggs <bskeggs@redhat.com> |
mesa: fix return value when clipping {Read,Draw}Pixels height <= 0 Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ain/image.c
|
3856c3cc46813ad96ae6f02dec19460193d986ac |
04-Oct-2009 |
Frederic Crozat <fcrozat@mandriva.com> |
r200: remove subpixel offset from viewport Fixes bug fdo 20340 for r200.
rivers/dri/r200/r200_state.c
|
a6b300ac98427eece73c312e6fc73f4127c6ab65 |
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler Add support for more of the Sxx set instructions Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program_alu.c
|
12e89e0e511d996db8e6eb11253dad4cdfab2083 |
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Emit flow control instructions and ALU result writes on R500 Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/r300_reg.h
|
a30560e6f0fc8e3056f48a140c9c6b582f5e2e77 |
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor the radeon_pair code to support control flow instructions Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_pair_regalloc.c
rivers/dri/r300/compiler/radeon_pair_schedule.c
rivers/dri/r300/compiler/radeon_pair_translate.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_program_print.c
|
995135479d5662d1b1970c0f233c3c3d944d8b4d |
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor to allow different instruction types Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/compiler/radeon_program_print.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_mesa_to_rc.c
|
e6b137dcce58ca074458b184304573613917553f |
04-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Introduce aluresult register for branch operation support Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_print.c
|
f194d2737b059cf6b99caa18f8ec2d46a55ada88 |
04-Oct-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Suppress a compiler warning for an pointer->int cast intel_pixel_read.c: In function ‘do_blit_readpixels’: intel_pixel_read.c:221: warning: cast from pointer to integer of different size Cast via an intermediate (GLintptr) instead and hope the result fits within GLuint... [It should as we simply do not support textures *that* large!] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_pixel_read.c
|
470ec8d42e1941c0ad773084693323f96a83e64d |
02-Oct-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Assert that relocation offsets are within the target This should catch the common programming error where we attempt to emit a relocation to beyond the end of the target buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
rivers/dri/intel/intel_batchbuffer.h
|
b7cf887ca74561469c144f1d12227e1bcf277e7e |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Introduce control flow instructions and refactor dataflow Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_dataflow_annotate.c
rivers/dri/r300/compiler/radeon_dataflow_deadcode.c
rivers/dri/r300/compiler/radeon_dataflow_dealias.c
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_print.c
|
6d25b9125ec1e66e0e255b0ee20fe18dfe1076fa |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300-compiler
|
7d2699aedc084d9cb9c2bd2f8bdb5f038271ac1e |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
prog_parameter: Document the fact that Size may be > 4 Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
hader/prog_parameter.h
|
b330cebe01c5574e203fa6b9d49fee4c01e1adb6 |
03-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Cope better with texture images with no miptrees. Fixes crash with compiz magnifier plugin.
rivers/dri/radeon/radeon_texture.c
|
f741c1eed4559329a89fbf8da569889bbcdace26 |
03-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
swrast: Move up state validation in _swrast_ReadPixels. This ensures the driver won't map the wrong set of textures.
wrast/s_readpix.c
|
4a6759b7789dc703a8ee9f1cf08af22c6e8101fb |
03-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.
rivers/common/meta.c
|
bbe384c86afeaf5995cddd286a76e1fd789e18f1 |
03-Oct-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Workaround problem on R500 with very large fragment programs The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_fragprog_common.c
|
be16acaafa2f28bb7d4551ed93d2e290c928006c |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture case If the src renderbuffer is actually a texture, we can directly use that texture as the src and avoid a copy.
rivers/common/meta.c
|
4182b58169c1c37833c590d00d0a6a52b2b55326 |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use a little stack space to avoid a malloc in wm_get_binding_table.
rivers/dri/i965/brw_wm_surface_state.c
|
6d0fc3cfde3dd730de17e925c5594a8b317ba200 |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove another unexplained Flush call, this time from BindFramebuffer. Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time from 120 seconds to 90 seconds on my GM45.
ain/fbobject.c
|
f019577f0c2ff83e20bd198a467ddb03579ddae3 |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
Revert "Flush driver, not just tnl module." This reverts commit df058298e1570eea8712f9bb051f674fab2eaf24. It didn't explain why it was required, doesnt appear to be required, and is a significant performance penalty for cairo-gl firefox. Conflicts: src/mesa/main/fbobject.c
ain/fbobject.c
|
3d78a86cd777aecce544d14b85177a71e9c142ce |
02-Oct-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove an unexplained flush from intelClearWithBlit.
rivers/dri/intel/intel_blit.c
|
3f623cfffee8db83ba8e0302fc5e3d1f40d1b0b5 |
02-Oct-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove support for host-based ibs no longer used now that the hw supports this natively. Also, clean up some formatting.
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_render.c
|
918199fb0f5d84121e0ac5821168cd0e886b22e9 |
02-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: don't reuse vertex buffers for bitmap, clear quads Currently using max_slots > 1 will cause synchronous rendering if the driver flushes its command buffers between one bitmap and the next. Need to improve buffer_write to allow NO_WAIT (as well as no_flush) updates to buffers where we know there is no conflict with previous data.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
|
47e41b024e325f69ed514e551a6824afa58f1db6 |
02-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Preparations for adding more PIPE_TRANSFER_* usage flags. Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
tate_tracker/st_cb_accum.c
tate_tracker/st_texture.c
|
e1bddd159f364fa04ddec22f568fbfeb775d3b47 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect default texture binding in unbind_texobj_from_texunits() If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
ain/texobj.c
|
7d4b348c67dbc2eff1d7dd0c043a76bc0eae57ab |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: wrap _mesa_meta_GenerateMipmap() Need to check if we'll take the software path so which requires mapping the src texture image. Fixes crash in piglit gen-compressed-teximage, bug 24219. However, the test still does not pass (it may never have).
rivers/dri/intel/intel_tex.c
|
f1cab802b8e78906413f219ad354f5d5500b4d3f |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_meta_check_generate_mipmap_fallback()
rivers/common/meta.c
rivers/common/meta.h
|
584b0879ac2ec2420ea6866e47eb90e1a980e758 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual() The parameter is a bitmask.
rivers/x11/fakeglx.c
|
32aa40eee46fd0b15f3873069f2440ea2dd75408 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: removed gl_texture_image::CompressedSize field Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/dd.h
ain/mipmap.c
ain/mtypes.h
ain/teximage.c
ain/texstore.c
tate_tracker/st_cb_texture.c
|
8c92a531fb7e0d2de2a06610b2dff98eeb19c985 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reformatting
ain/texgetimage.c
ain/texstore.c
|
4ca9ba254462b9be55b78df1d50519e10b2f4d73 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move mesa_set_fetch_functions()
rivers/dri/intel/intel_tex_image.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/unichrome/via_tex.c
ain/texfetch.c
ain/texfetch.h
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
073d55f5849c6338a6381e8bc51c074524b5687b |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
radeon: fix tx_table[] entry XXX need to still verify that the table entries are in correct order.
rivers/dri/radeon/radeon_texstate.c
|
4208a8c02615841702619eb5891c0a61f96a5a00 |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
savage: s/Xfree/_mesa_free/
rivers/dri/savage/savage_xmesa.c
|
354d66e2f58bb19efcd9a0f8b2398d3f1dc4248d |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify _mesa_compressed_texture_size()
ain/texcompress.c
|
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_image::IsCompressed field Use _mesa_is_format_compressed() instead.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
rivers/glide/fxddtex.c
ain/mipmap.c
ain/mtypes.h
ain/texgetimage.c
ain/teximage.c
ain/texparam.c
ain/texstore.c
tate_tracker/st_cb_texture.c
|
040fd7ed44c21a1faaa6475888e9365e8f0de42b |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_format_row_stride()
ain/formats.c
ain/formats.h
|
1c7ec97ec47f294dcfc0c6a87ee26bb3565f95d4 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_format_image_size()
ain/formats.c
ain/formats.h
|
81aa5d717bd0098608e9cc292b316293800c7e11 |
29-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add stub ARB_occlusion_query support under a driconf debug option. This is useful for enabling our GLSL testcases using the 2.0 entrypoints even though we don't have full GL 2.0.
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_screen.c
|
862a2a55b35d1dec9224b025a6e7a0cf8593a6a7 |
29-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add optional support for ARB_fragment_shader under a driconf option. Other vendors have enabled ARB_fragment_shader as part of OpenGL 2.0 enablement even on hardware like the 915 with no dynamic branching or dFdx/dFdy support. But for now we'll leave it disabled because we don't do any flattening of ifs or loops, which is rather restrictive. This support is not complete, and may be unstable depending on your shaders. It passes 10/15 of the piglit glsl tests, but hangs on glean glsl1.
rivers/dri/i915/i915_fragprog.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_screen.c
|
67f4d626d39f2c340fa1632d3e4344c547301508 |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add support or fallbacks for GLSL fragment shader opcodes.
rivers/dri/i915/i915_fragprog.c
|
f9f31b25740887373806cb489e5480dc9b261805 |
01-Oct-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add support for varying inputs.
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_fragprog.c
|
7d4b7460b0e565d0574c00d1d40c426cfebc290d |
29-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Enable ARB_vertex_shader for both i915 and i830. Since the TNL is all done in software anyway, it should be the same to the user who's probably using ARB_vertex_program otherwise, but gives them a nicer programming environment.
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
96a3c69d48bb7c021181e061d010cca08198ae4c |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Increase maximum program size to the hardware limits. This fixes potential heap trashing if the program of choice exceeds limits, and fixes the native instructions limit being lower than what can be used by valid programs.
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_program.c
|
61b512c47c9888f3ff117faf3aceccfb52d59c3a |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Update and translate the fragment program along with state updates. Previously, we were doing it in the midst of the pipeline run, which gave an opportunity to enable/disable fallbacks, which is certainly the wrong time to be doing so. This manifested itself in a NULL dereference for PutRow after transitioning out of a fallback during a run_pipeline in glean glsl1.
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
|
d6fbf87575a59e24c5d47b8b6b8700ee4583709b |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
Revert "i915: don't validate PS program when falling back to software" This reverts commit e7044d552c6d16389447880b8744a51de1cf0199. It prevented the driver from ever recovering from a software fallback due to a program error. The original bug it claimed to fix doesn't appear to exist post-revert.
rivers/dri/i915/i915_vtbl.c
|
4ff816751f74b0645c198372937eec589c458a60 |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Bail when the fragment program has too many total instructions. Previously, we'd go trashing the heap.
rivers/dri/i915/i915_program.c
|
994d1db079b4947e6f10ab22a4b366a676382345 |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Let i915_program_error take a format string, and don't use _mesa_problem. It's misleading to report things like the program having too many native instructions as a Mesa implementation error, when the program may just be too big for the hardware.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
|
167ffa9e035befd12143db909af424e5de8f64e4 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix memory leak when generating mipmaps for compressed textures
ain/mipmap.c
|
05749542384abc4d4776bfe2a386b6396002e0df |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix mem leaks
hader/prog_optimize.c
|
63064cf7c3437e3ebb7ab36524f21472af7e47e9 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing return when out of memory
ain/context.c
|
7b568614a28cb0b0fec375e79aebf51a6f210b44 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix potential uninitialized memory reads
ain/dlist.c
|
9b27a0d063402e709ebc588aa3d927d461b96755 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix mem leak
hader/slang/slang_link.c
|
b3e41e0d5e03b040768547293e05e6540d3c8e4d |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: check for null before asserts, fix possible mem leak
tate_tracker/st_cb_fbo.c
|
b154497bef386e5ed0d9a2f6e25a4141759c6846 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence hidden parameter warning
tate_tracker/st_cb_drawpixels.c
|
5d2413fca4c252ec5c7880fa7f983b5df3d762ba |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
495628bc5c3879ee759f9a1bc7e2abc720df75a9 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix non-mipmap lastLevel calculation. reviewed by Brian Paul. (cherry picked from master, commit ae2daacbac7242938cffe0e2409071e030e00863)
tate_tracker/st_cb_texture.c
|
18883cdf2334511005973155fc517eb678dc0043 |
01-Oct-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Return -FLT_MAX instead of 0 for LG2(0). lim x->0 log(x) = -inf so -FLT_MAX is a better approximation than 0 for LG2(0).
hader/prog_execute.c
|
f8d8f4527884d018a51daf8cc6281b52ce083b9e |
30-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: better debug message
ain/texobj.c
|
4456006ba626890172289111403e469f49106e18 |
01-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove depth.occlusion_count flag This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
tate_tracker/st_atom_depth.c
|
ae2daacbac7242938cffe0e2409071e030e00863 |
01-Oct-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
st/mesa: fix non-mipmap lastLevel calculation. reviewed by Brian Paul.
tate_tracker/st_cb_texture.c
|
8c36ca707ca8879d6f888de7733ffb6b04ddc48a |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix some texformat regressions Need to be careful with component ordering for MESA_FORMAT_RGB888 and MESA_FORMAT_RGBA8888.
wrast/s_texfilter.c
wrast/s_triangle.c
|
3d6a20e5b6c7567ed64fceed7744cf39eea34400 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename texformat_tmp.h to texfetch_tmp.h
ain/texfetch.c
ain/texfetch_tmp.h
ain/texformat_tmp.h
|
60843e3ee59b00cee4ec1048823d1dd24756d849 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove MESA_FORMAT_RGBA4444 Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
ain/formats.c
ain/formats.h
ain/texfetch.c
ain/texformat_tmp.h
ain/texstore.c
|
3fa7dbf368bb060220e9f78e666b00d6827166a6 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
rivers/x11/xm_dd.c
ain/formats.c
ain/formats.h
ain/mipmap.c
ain/texfetch.c
ain/texformat.c
ain/texformat_tmp.h
ain/texstore.c
wrast/s_texfilter.c
wrast/s_triangle.c
|
74ae14a2bde4f87a554c3d96e6f4a9a02591308d |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move texel fetch/store into new texfetch.[ch] files
Conscript
ain/texfetch.c
ain/texfetch.h
ain/texformat.c
ain/texformat.h
ain/texrender.c
ain/texstore.c
ources.mak
|
884d1abb2ac1a2ce872a5b09fd4228159defcf26 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: update comment
tate_tracker/st_cb_drawpixels.c
|
bdc761b0f9c8856193de6e8617c566851d010783 |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_format
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
rivers/common/meta.c
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810texstate.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatexmem.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
rivers/glide/fxddtex.c
rivers/x11/xm_dd.c
ain/dd.h
ain/debug.c
ain/fbobject.c
ain/mipmap.c
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texgetimage.c
ain/teximage.c
ain/texparam.c
ain/texrender.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
wrast/s_texfilter.c
wrast/s_triangle.c
|
49fbdd18ed738feaf73b7faba4d3577cd9cc3e59 |
12-Feb-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix massive memory allocation for streaming texture usage. Once we've freed a miptree, we won't see any more state cache requests that would hit the things that pointed at it until we've let the miptree get released back into the BO cache to be reused. By leaving those surface state and binding table pointers that pointed at it around, we would end up with up to (500 * texture size) in memory uselessly consumed by the state cache. Bug #20057 Bug #23530
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/intel/intel_mipmap_tree.c
|
cef97267d696d37f4dccb22951499ca25d5d87ad |
12-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_beginend. This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
ain/api_loopback.c
ain/api_loopback.h
ain/api_noop.c
ain/api_noop.h
ain/mfeatures.h
ain/vtxfmt.c
ain/vtxfmt.h
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
a73ba2d31b87e974f6846a8aaced704634f6f657 |
09-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_dlist follow feature conventions. As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
ain/api_exec.c
ain/api_noop.c
ain/context.c
ain/dlist.c
ain/dlist.h
ain/shared.c
ain/vtxfmt.c
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
aefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_evaluators follow feature conventions. As shown in mfeatures.h, this allows users of eval.h to work without knowing if the feature is available.
ain/api_exec.c
ain/api_noop.c
ain/context.c
ain/dlist.c
ain/eval.c
ain/eval.h
ain/vtxfmt.c
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
42fac11d437d6bf2cb27f9487dedf7fb396616d4 |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_queryobj. It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
ain/api_exec.c
ain/context.c
ain/dlist.c
ain/extensions.c
ain/mfeatures.h
ain/queryobj.c
ain/queryobj.h
tate_tracker/st_context.c
wrast/s_span.c
|
80630d1fed6cd32e75f5e97e2cd27509be21d093 |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_arrayelt. This allows the removal of AEcontext.
ain/api_arrayelt.c
ain/api_arrayelt.h
ain/api_noop.c
ain/dlist.c
ain/mfeatures.h
ain/vtxfmt.c
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
cc95de82e5939586771d478e662cb458bbc42c20 |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_texgen follow feature conventions. As shown in mfeatures.h, this allows users of texgen.h to work without knowing if the feature is available.
ain/api_exec.c
ain/texgen.c
ain/texgen.h
|
301a510092859d2e214d64f4ac2ebe03d591c64b |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_feedback follow feature conventions. As shown in mfeatures.h, this allows users of feedback.h to work without knowing if the feature is available.
ain/api_exec.c
ain/context.c
ain/feedback.c
ain/feedback.h
|
67a2a4e901367418a5c28e7b0963bf9c0c4762ba |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_drawpix follow feature conventions. As shown in mfeatures.h, this allows users of drawpix.h to work without knowing if the feature is available.
ain/api_exec.c
ain/drawpix.c
ain/drawpix.h
|
d25080074f2da1ebc47cdfb5c3491740a57ec03f |
08-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: New feature FEATURE_rastpos. It is separated from FEATURE_drawpix and made to follow the feature conventions.
ain/api_exec.c
ain/context.c
ain/mfeatures.h
ain/rastpos.c
ain/rastpos.h
|
cab7ea03688ec73dd71c0b969f2db30cabeb713c |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_histogram follow feature conventions. As shown in mfeatures.h, this allows users of histogram.h to work without knowing if the feature is available.
ain/api_exec.c
ain/context.c
ain/histogram.c
ain/histogram.h
|
2b36db496d34c60a3f987fa88d52bf5684713240 |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_attrib_stack follow feature conventions. As shown in mfeatures.h, this allows users of attrib.h to work without knowing if the feature is available.
ain/api_exec.c
ain/attrib.c
ain/attrib.h
ain/context.c
|
a833ff0f53da6e365d917bb0081d909a809b6ec1 |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_accum follow feature conventions. As shown in mfeatures.h, this allows users of accum.h to work without knowing if the feature is available.
ain/accum.c
ain/accum.h
ain/api_exec.c
ain/context.c
|
322bc403bc7aacb58c39527f5f7a324e0c63c73d |
30-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
65765c9f2c5d3568608bde57db0bf44d6b724755 |
30-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: rewrite sqrt(x) intrinsic to handle x=0 Since sqrt() is basically implemented in terms of RSQ/RCP we'll do a divide by zero if x=0 and wind up with unpredictable results. Now use CMP instruction to test for x<=0 and return zero in that case.
hader/slang/library/slang_common_builtin.gc
|
3c794e45b02c66ce3f52fe359f733e4d7d2ce315 |
30-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: add support for CMP instruction
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
86ee448047e4f7be722b69da5296ccafc2307145 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/xlib: fix GLX_RENDER_TYPE query Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
rivers/x11/fakeglx.c
|
cb0de06301cd086a02ca709917819119dc1a8fd9 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added nopfrag/nopvert options for MESA_GLSL These options can be used to force vertex/fragment shaders to be no-op shaders (actually, simple pass-through shaders). For debug/test purposes.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
|
c7aee65bb96df3f8e8421b5125dca84c028e9073 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_nop_vertex/fragment_program() For debug/test purposes.
hader/programopt.c
hader/programopt.h
|
124f5875eae0b914d5c679fec6b25633907ad843 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
|
69a3043f4109463f35e87102e509e0a4599cd09a |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.6.1
ain/version.h
|
9b5541617fd16d4b1de474a766717edf72112d21 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state() See bug 24217.
ain/texstate.c
|
ac9c8b6359be770f1ed3e97100c497bd91338874 |
28-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color mask makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
rivers/dri/r600/r700_state.c
|
7c5f3c3d8a63b0feee154092153e958fa4f24abd |
28-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: user correct alpha blend factor Signed-off-by: Dave Airlie <airlied@linux.ie>
rivers/dri/r600/r700_state.c
|
a230ad2bc440e9d332482ea453e7ab7f4a5b8bd2 |
29-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: clear position enable bit when when wpos is not used by FP Makes doom3 alot nicer..
rivers/dri/r600/r700_fragprog.c
|
e2e7bd6c1f979179e6840cf0e8db72fc72751650 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move StoreTexImageFunc typedef to .c file
ain/texstore.c
ain/texstore.h
|
0a306daf71588fc4ccfdc14450f8cd4ce00f9833 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_texstore()
ain/mipmap.c
|
6480210b89dc8ae0990c450d27870c7b7930f251 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_texstore()
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
49263e08561e3380115f9e09056190f67fcb1890 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make individual texstore functions static
ain/texstore.c
ain/texstore.h
|
cb0ef0cbf8116ebb8317b5711e1f119369bdf8f7 |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glide: use _mesa_texstore()
rivers/glide/fxddtex.c
|
b436d729d1a2aacc13e274883b4dbdd104bdd1ad |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
drivers: use _mesa_texstore
rivers/dri/tdfx/tdfx_tex.c
rivers/glide/fxddtex.c
|
0b1f4dc0fa62c46030b39a0f7027dd1b0ef966fd |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
drivers: use new _mesa_texstore() function
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
|
660ca9c5a23240abca084089a626d4a94ef0799f |
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_texstore() function
ain/texstore.c
ain/texstore.h
|
d492e7b017178c03b4979cf4ff266162d83c4f37 |
28-Sep-2009 |
Eric Anholt <eric@anholt.net> |
meta: Fix invalid PBO access from DrawPixels when trying to just alloc. This whole reuse of buffers (TexSubImage instead of TexImage, SubData instead of Data) is bad for hardware drivers, but it's even worse when we accidentally try to access the 2x2 PBO to fill the new 16x16 texture we're creating, producing GL errors. Fixes piglit pbo-drawpixels. Bug #14163.
rivers/common/meta.c
|
e885cb48a0b9292b3df9204f1c2783bf1fe29a28 |
28-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Drop my generatemipmap code in favor of the new shared code.
rivers/common/driverfuncs.c
rivers/dri/i915/Makefile
rivers/dri/i915/intel_generatemipmap.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_generatemipmap.c
rivers/dri/intel/intel_generatemipmap.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
|
8b23755ce978247a92c00e390de2e459c0a9d5ad |
22-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove some dead metaops code.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
|
f0dc37870577378b51c1f8f223932a24909c5db1 |
28-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Prep for 7.6 release
ain/version.h
|
05bad193f56d48384097e37e47fae3fdda85f144 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmem In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap field as another hint as to whether to allocate space for a whole mipmap.
tate_tracker/st_cb_texture.c
|
8fda97afb8b7a03415dbca6d83691d2d6461126c |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
eeb7e04da64fdae3a40b1afdcde71dcded2481f3 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
c7fddaf6122da489f4430f6bc2211bcb4740f416 |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix st_generate_mipmap() issues The main issue is we didn't always have a gallium texture object with enough space to store the to-be-generated mipmap levels. When that's the case, allocate a new gallium texture and use st_texure_finalize() to copy images from the old texture to the new one. We also had the baseLevel parameter to st_render_mipmap() wrong.
tate_tracker/st_gen_mipmap.c
|
e3a6f57ad6c0e7bda5d45eb146194ed39f45abdd |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix/simplify st_texture_object::lastLevel calculation Don't compute the st_texture_object::lastLevel field based on the texture filters. Use the _MaxLevel value that core Mesa computes for us. When called from the GenerateMipmap path, we'll use the lastLevel field as-is.
tate_tracker/st_cb_texture.c
|
eb82373abb08171d7fcb15b5f4f229fc9ca9aa91 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() helper
ain/enable.c
ain/fbobject.c
|
729ff875f4c951798d2372940608201a6b195ca6 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change _mesa_format_to_type_and_comps() format parameter type
ain/mipmap.c
ain/texformat.c
ain/texformat.h
tate_tracker/st_gen_mipmap.c
|
bd00a7fa4bb4bb71cd2eaf7ebb6749a709b5fdb9 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: sort texstore_funcs[] array, remove search loop
ain/texstore.c
|
749e50442a2a4e6a15434dfed47a9b87df353fa6 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix render buffer _BaseFormat assignment
ain/texrender.c
|
ef089604a9cdcb4efa0850de393e04aa8d002fae |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use texture format functions
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_texture.c
|
4fc344790d0fefa3c38c63cadc4ee6a52633b006 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update comments
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
|
e987ea9d2181acec2fc70538ffbb92d7ab15d918 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more mesa format functions
ain/texstore.c
|
5767a677a0129015dcc568b6f5d2d323fae8a63f |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_TEXTURE_LUMINANCE_SIZE query
ain/texparam.c
|
a2b663fe38a6e42786092412402aacf8f6d071f8 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more mesa format functions
ain/texrender.c
|
af0adb585223f6227f4c5c8564df8d7f6622d30f |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more mesa format functions
ain/texparam.c
|
5cf5d4be21bdac203dc244e9b773a852ddb1baf1 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more format helper functions
ain/fbobject.c
ain/texgetimage.c
|
5978cbdf7728df7952c9c04165ece23394a5fb95 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: code movement
ain/formats.c
ain/formats.h
|
ddffe4546a81216cde4376ee49cbaa021f4d04bb |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
drivers: use more mesa format functions
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_tex.c
rivers/dri/radeon/radeon_fbo.c
|
9fbb8884f034e0d691fed0e099d4d796f3b42848 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use _mesa_get_format_bytes()
rivers/dri/i810/i810texmem.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mga/mga_texstate.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/sis/sis_tex.c
|
e0bc4533ebccbfb844522e2b6ddd171b97d693e8 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use _mesa_get_format_bytes()
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/mga/mgatexmem.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
|
b58bc12ed4a3de6c828bd26c4820d7ddbb1eabd6 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
via: use mesa texture format helper functions
rivers/dri/unichrome/via_tex.c
|
21db8959c1134b43c9fe6d6179ee8fd9cde0b911 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glide: use _mesa_get_format_bytes()
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
|
2de768328067fa42501bdd4b753490e7a00167a4 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_format_base_format()
rivers/common/meta.c
|
db8aca3a398e16f7dc23d3321787274d07d13138 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_format_bytes()
ain/mipmap.c
|
5ab5f16919f6aaa19f5c92fd562e43dee18e30bc |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_format_datatype()
ain/formats.c
ain/formats.h
|
b64d478a5bd4af4128938782d787abe02a0896ee |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_format_bits()
ain/texparam.c
|
c28d78f8324cfc17936af63c258a1cc55d590d60 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_get_format_bits()
ain/formats.c
ain/formats.h
|
a608257a02d2ba4e8119be462bbd40ed238b184a |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_format fields
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
|
e8eed5003b01fe8a4349711382411ac80b1c0aa3 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_FORMAT_NONE
ain/formats.c
ain/formats.h
|
cccdc43fa9a8c49cdbdb545de8ff91c528b1ed47 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move StoreTexImageFunc to texstore.h
ain/mtypes.h
ain/texcompress_fxt1.h
ain/texcompress_s3tc.h
ain/texstore.h
|
27e201e9c4dd66bbf8fd2bc3ac3292550b94a14a |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework null texel fetch/store funcs
ain/texformat.c
|
05e73cc8e23e348ea8243dd2584a44ee5d3a4dd2 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace function pointer types with void * These fields are no longer used and will be removed soon.
ain/mtypes.h
|
adce34e23b431e184c4a511464f5cb0281c74db5 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_get_texstore_func()
tate_tracker/st_cb_texture.c
|
f782f90c45fc9a483483ebd36c1971ecd0c7988d |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texstore_func()
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
|
d73cd703161dab3f2a6890bbe62d92fd548c1ed6 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glide: use _mesa_get_texstore_func()
rivers/glide/fxddtex.c
|
9525b92efbe0d2b44b3b5518464ca28575188bf7 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: NULL-out unused texformat field initializers
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
|
f76cbac04abf26617bd65b50e923db8728a4f33f |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texstore_func()
ain/mipmap.c
|
e07862d2c949bcae7c71e9fc8e90e4694ed25bb3 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_get_texstore_func()
tate_tracker/st_cb_drawpixels.c
|
8abb984dc93235e00b5006187bf177da5db257e1 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: null-out StoreTexImageFunc fields
ain/texformat.c
|
431ba64222ad5365dfcdac1f06d80f0e7a26dbfd |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texel_store_func()
ain/texformat.c
ain/texrender.c
|
da5722bea6e2f613933d3e3da214da8cd0047d2e |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new look-up table to get texel fetch/store funcs
ain/texformat.c
ain/texformat.h
ain/texstore.c
|
7116ae857c6ef3809c712e96b28bd69d92b3cd33 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make some s3tc/fxt1 functions public
ain/texcompress_fxt1.c
ain/texcompress_fxt1.h
ain/texcompress_s3tc.c
ain/texcompress_s3tc.h
|
0f91e4461fb3a7410c948acde270d97caa851ed6 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-up in _mesa_texstore_srgb8()
ain/texstore.c
|
722b76156486bbb03f8504e8f7a5db05b9257da5 |
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texstore_func() to get texture image store func
ain/texstore.c
|
eea30906de37ea3b2f8a594c2b33b643d3dde987 |
27-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : Enable draw_prim.
rivers/dri/r600/r700_render.c
|
485105ed182e2e997b084f047e72d5a2c3460057 |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_get_texstore_func() to texstore.c
ain/formats.c
ain/texstore.c
ain/texstore.h
|
22108bb571808542b89677752d62d3901698265f |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: begin removing dependencies on gl_texture_format in texstore code
ain/texstore.c
|
a7455f9fc64f0e2e09e65c0b7d76b539bce8a79b |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added formats.c to build
Conscript
ources.mak
|
9e7b56c98006033daa206c51b320b1b6cbc2f281 |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include formats.h
ain/texformat.h
|
813870fd9588de101f68728507cff726d7513695 |
26-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial check-in of new formats.[ch] files
ain/formats.c
ain/formats.h
|
8130375e775bd5ba6a47412b0ea8ec9f23dc5972 |
26-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'asm-shader-rework-2' Conflicts: src/mesa/shader/program_parse.tab.c
|
151e0c0aeaa78f4eb6a87d2b3dd86b4807db1523 |
25-Sep-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Handle GL_RGB8 for glCopyTex(Sub)Image. Avoids an unnecessary fallback.
rivers/dri/intel/intel_tex_copy.c
|
02b81187dcf606ebf064ac23888e5c57d0528edf |
25-Sep-2009 |
Michal Krol <michal@vmware.com> |
radeon: Fix newlines.
rivers/dri/r600/r700_chip.c
|
ecf3091cc78638919f1977ccc0307c51b6731385 |
25-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
|
46da1f2c9b67e3b4c3659f2d029140b639571407 |
25-Sep-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: move declaration before code
hader/nvvertparse.c
|
5a1e25afac8eac5df1c0c9d3165b9812f54909a6 |
23-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_convolve follow feature conventions. As shown in mfeatures.h, this allows users of convolve.h to work without knowing if the feature is available.
ain/api_exec.c
ain/convolve.c
ain/convolve.h
ain/teximage.c
ain/texstore.c
|
cb4f24e51d0f4f4b867b2c01ed26d2a5ce73aeab |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_colortable follow feature conventions. As shown in mfeatures.h, this allows users of colortab.h to work without knowing if the feature is available.
ain/api_exec.c
ain/colortab.c
ain/colortab.h
ain/context.c
ain/texobj.c
ain/texstate.c
|
dbb8fb8de9a9deca0ae22015e4680f4e631d6d32 |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Make FEATURE_pixel_transfer follow feature conventions. As shown in mfeatures.h, this allows users of pixel.h to work without knowing if the feature is available.
ain/api_exec.c
ain/pixel.c
ain/pixel.h
ain/state.c
|
17099f5e19dc0ce65cb4e4110d9d22de803c4e52 |
07-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Add comments to mfeatures.h. The comments document the conventions that a feature may follow.
ain/mfeatures.h
|
126d62edd18f22ff9e744efea81e0383cd0a19c5 |
25-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix GetBufferSubData in the case of a system-memory BO. Bug #23760 (crashes in wine)
rivers/dri/intel/intel_buffer_objects.c
|
0876618a8d118b39b80963cc0d5e7a118961aa83 |
25-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_meta_GenerateMipmap() now working Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP. But GL_TEXTURE_3D and texture borders not supported yet.
rivers/common/meta.c
|
e33ea11c143596d511331aceabbf60016869c304 |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove: unused gl_vertex_program::TnlData field
ain/mtypes.h
hader/program.c
|
09af58d7ed7dfa8f2ce2b881bb849064e136c830 |
25-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp lexer: Add UP4B and UP4UB instructions that were previously missing
hader/lex.yy.c
hader/program_lexer.l
|
cc8084932cc552587e3036dbbf62c77db3b4a08e |
25-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Flush the batch when we're about to subdata into a VBO. This fixes the clears in openarena with the new metaops clear code, and the new piglit vbo-subdata-sync test. Bug #23857.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_clear.c
|
54107a097904129ff794534542acd09ed152ea2e |
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up some mess with the batch cache. Its flagging of extra state that's already flagged by the vtbl new_batch when appropriate was confusing my tracking down of the OA clear bug.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_upload.c
|
29d27229a95837d085db785a2b4abb654457dafa |
25-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/vbo/vbo_exec_array.c
|
940ca2e837efe45caae1cf1d9665f6736347705d |
25-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
726a04a2cd1bf159a6c40584b4b2b9bc5948a82e |
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Emit zero initialization for NV VP temporaries as required. This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
rivers/dri/i965/brw_context.c
ain/mtypes.h
hader/nvprogram.c
hader/nvprogram.h
hader/nvvertparse.c
|
a9a47afe7e87075432ce2d393b55409fcb7149ac |
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove assert about NV_vp now that it somewhat works.
rivers/dri/i965/brw_vs.c
|
9018a7dd175caa9a0fbf940b7e66aa9411d2d965 |
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Load NV program matrices when required.
rivers/dri/i965/brw_curbe.c
|
601769a2c0071e23ade32de4e8911d75d7f324d2 |
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Initialize NV_vertex_program fields for the parameter lists and such. This helps let drivers treat NV_vp like ARB_vp.
hader/nvprogram.c
hader/nvprogram.h
hader/nvvertparse.c
|
60b152a1b366b1c9b9326dda1d91ab600fbb0d86 |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove glEnable(GL_DEPTH_BOUNDS_TEST_EXT) check/warning At the time of the enable there may not be a Z buffer, but one may be attached to the FBO later.
ain/enable.c
|
adfa778c8ea436d6e62c37327b44f6ff359ed63f |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove rgbMode check in enable_texture() If the currently bound FBO isn't yet validated it's possible for rgbMode to be zero so we'll lose the texture enable. This could fix some FBO rendering glitches, but I don't know of any specific instances.
ain/enable.c
|
b849c6f1b3b38a68fae32d4dea16dd7431e41b6e |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use default array/element buffers in intel_generate_mipmap() If there happened to be a bound VBO when intel_generate_mipmap() was called we blew up because of a bad vertex array pointer. Fixes regnumonline, bug 23859.
rivers/dri/intel/intel_generatemipmap.c
|
f0339f502cf96499bc5cac8c0611f76f3fd39461 |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace assertion with no-op function assignment
ain/texrender.c
|
964792b0250ece9fe585a4a02544f0e9c4d453a0 |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added comment
hader/prog_parameter.c
|
1a816117258e594a073f6925edfcd2387071904d |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
vbo: limit number of warnings to 10 Otherwise some apps will emit tons of warnings.
bo/vbo_exec_array.c
|
fd56bee6c4de28da194333f93b52c40f1deb6163 |
24-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'mesa_7_6_branch'
|
1d2dca194cebe6e25735b6820f85b8d1231aae63 |
24-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix scissors for r600 KMS. Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive.
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_common.c
|
c9f7a23ef05adfd2ebae56ee9f1b19897a589831 |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c
|
7549a8397b310acf672f97a08c8e7d866cdf492c |
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
a491e25b1fa8683f538ed0d67a6389f2cdf7e4bc |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added default case return to silence warning
ain/texenvprogram.c
|
00ddd4f9e9680132872f98f2d18b52dfc30c6f2f |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: init var to silence warning
hader/slang/slang_codegen.c
|
e44c084be536c021985a8908db4300c764c63bbc |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix missing initializers warning
hader/slang/slang_builtin.c
|
5f06064b616099712dbb2854351d0740c1dbfc60 |
24-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : fix draw_prim bug: vertex fetcher setting.
rivers/dri/r600/r700_chip.c
|
41c5f113b5d41649db2027c3f32deaf4d38035ce |
24-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : disable draw_prim for now.
rivers/dri/r600/r700_render.c
|
2058dfaa47704abc62aa5aa9719013624f26764d |
23-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add support for CUBE textures, also TXP seems to work here ...
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
639fb1472d09281a8df3792c9bcbc59cd4424688 |
21-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix typo in the last commit 128 gprs, 256 reg-based consts
rivers/dri/r600/r600_context.c
|
28308c92605229129a12a2273dda47c6a2ca4790 |
21-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: various cleanups - max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/radeon/radeon_common_context.c
|
ed91d103477d563f73be3555d1022ec9af073467 |
21-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix some issues with LIT instruction - MUL_LIT is ALU.Trans instruction - some Trans instructions can take 3 arguments - don't clobber dst.x, use dst.z as temp, it'll get written correct value in last insn - respect source swizzles
rivers/dri/r600/r700_assembler.c
|
48559c76056e09ca4f9e4f39e9008f6d32ecd5b0 |
19-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix point sizes registers takes radius
rivers/dri/r600/r700_state.c
|
095db818c6c7ed5706b5f31d17d0cb19c03cb67a |
19-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix polygon offset
rivers/dri/r600/r700_state.c
|
ec14d59afa952b4e53ad268971098584686a6fca |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: don't build non-r600 span code on r600
rivers/dri/radeon/radeon_span.c
|
dbec27be856584bc5205c7eeeca2b7e98299d4cb |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: minor span cleanups
rivers/dri/radeon/radeon_span.c
|
2cd2dc34ac93dd929ec8f01cf1f7f8dfa6b34d0d |
15-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support position_invariant programs
rivers/dri/r600/r700_vertprog.c
|
9437ac9bccd294bd5a8b838e7ca7597e5dc6d5b0 |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add span support for 1D tiles 1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
rivers/dri/r600/r600_reg_auto_r6xx.h
rivers/dri/r600/r700_chip.c
rivers/dri/radeon/radeon_span.c
|
93a7ea6ba0d5700e18b28c23da226e055f7c2fa1 |
14-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix warning Noticed by rnoland on IRC.
rivers/dri/r600/r700_assembler.c
|
7f5a958c80f0fcd7681d515fd1c1b8bc00524a7a |
11-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix texcoords from constants with some minor updates from Richard.
rivers/dri/r600/r700_assembler.c
|
9edd1a441c3c0c3f018ae561cd5711398ca56f95 |
11-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: enable caching of vertex programs
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
6552a103f903a2b767464cd2d267f706a6baf7d5 |
09-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: check if textures are actually enabled before submission noticed by taiu on IRC.
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
65b01d449cc594e1c7e1a44c5d87fdc698300e9a |
09-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix ftp for dri1 We use t->bo for dri1 since r600 uses CS for dri1.
rivers/dri/r600/r600_texstate.c
|
b1e417413f2da8aad1872fa009949da101156431 |
09-Sep-2009 |
Dave Airlie <airlied@linux.ie> |
r600: don't setup hardware state if TFP if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
rivers/dri/r600/r600_texstate.c
|
cbab3d7f2a77f187fb688593c17396d4967c75b5 |
08-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix dri2 clipping
rivers/dri/r600/r700_state.c
|
622bdecabd73167d2f2f3aff0e223a8c64433f99 |
24-Sep-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix missing finite symbol error on Windows. Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order.
ain/compiler.h
|
1bf0651d9b58a5c150fcf37016ae1bda425bb05a |
24-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix up ordering of functions in draw prims path Shaders and IB need to be updated and allocated before calling validatebuffers.
rivers/dri/r600/r700_render.c
|
84c7afd9e0f2df72d90dd82d38384c4f2f45173e |
19-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fallback to software rendering if we are out of free texcoords Fixes #22741
rivers/dri/r300/r300_fragprog_common.c
|
20e77382935b24e9e2be89cd2b686fa2f1f67635 |
23-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix r700PredictRenderSize for draw prims path
rivers/dri/r600/r700_render.c
|
8a2b0f6415654c03cd399e59b0946ab90dc44331 |
23-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add hw index buffer draw support.
rivers/dri/r600/r700_render.c
|
2acd5de22651a3461c0576107c8e8fab1f01469a |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add lod bias when texture sampling Mostly fixes progs/demos/lodbias when MESA_TEX_PROG=1. But the LOD still seems off by -1 or so. May be an issue with the params passed to _swrast_compute_lambda()
wrast/s_fragprog.c
|
890f37d4d96471a5c3d8ae286dfc13ad18ff78e5 |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't bias LOD in shader interpreter; do it in swrast
hader/prog_execute.c
|
ad935c3f4708417641dd3c257912ccce11485acc |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix typo in partial derivatives parameter passing
wrast/s_fragprog.c
|
8abe77a75a681637cb00017711f5009601bcd348 |
23-Sep-2009 |
Adam Jackson <ajax@redhat.com> |
Finish removing glcore
rivers/dri/glcore/Makefile
|
53051b8cb5b4804e3eab21262c91ea59f1ea24b8 |
23-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix copy/paste typo
rivers/dri/r600/r700_render.c
|
ec205bbd577a2619e4b1910527e5e5d1d7426ddb |
23-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix some warnings
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
2d2f49c91952e18f3362346e19b45c72b1f6db32 |
23-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: add support for CUBE textures, also TXP seems to work here ...
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
be66ff51ec98cf583044b3e53a49c41edd803134 |
23-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: trim calculated userbuffer size In get_array_bounds we were previously defining a user buffer sized as (nr_vertices * stride). The trouble is that if the vertex data occupies less than stride bytes, the extra tailing (stride - size) bytes may extend outside the memory actually allocated by the app and caused a segfault. To fix this, define a the buffer bounds to be: ptr .. ptr + (nr-1)*stride + element_size
tate_tracker/st_draw.c
|
890679d4322e7ba4f12f32532a3fdd277edff886 |
23-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'softpipe-opt' Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
|
8212e4d9fabb0c441575975c12d656364baba6fe |
23-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Include the correct glsl pp header.
hader/grammar/grammar_mesa.h
|
02f2bcdf1d28f2bd6382fb6048c497ef76ba86b2 |
23-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
926b965ed53efc06a9d7cc6e07eff853b263960a |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't re-use the meta glDrawPixels VBO; create a new one each time This should help to work around bugs 24083 and 23670.
rivers/common/meta.c
|
98d5ec10d0918f6619e7b2285278b83e9de6d86f |
22-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add draw_prim support, make up one lost change.
rivers/dri/r600/r600_context.c
|
81283b0bf0a8f7b31517adc224c20531e27fab42 |
22-Sep-2009 |
Richard Li <richardradeon@gmail.com> |
r600 : add draw_prim support.
rivers/dri/r600/Makefile
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/r600/radeon_buffer_objects.c
rivers/dri/r600/radeon_buffer_objects.h
|
f338de4018f2cfcb462f98c7d76bf6cc36ab6f47 |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix more buffer object error messages
ain/bufferobj.c
|
52cadf7592c980eb9cebb1e2b50b552bb61d9f21 |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix error message text
ain/bufferobj.c
|
8cc12ffb34769a84050be034d19921af811a3406 |
22-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix crash reported in bug #24066 Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_vertprog.c
|
b1e6514a94effb1a5ea03c31f5a50e9e60638e51 |
22-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Differentiate between uints and floats.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
|
cd41395073839365b79e6b1cca2e35e08a57bf7b |
22-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Differentiate between uints and floats.
hader/grammar/grammar.c
|
94a020cfe6cb1da04695897eed38b530af31f524 |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
vbo: added comment about max array index
bo/vbo_exec_array.c
|
9a3333f43600ed4b9a17e49f79004f0c8d289378 |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
vbo: restore some lost warning output
bo/vbo_exec_array.c
|
972e995b148c220d32f2bf8c0a17c138deec6506 |
22-Sep-2009 |
Brian Paul <brianp@vmware.com> |
vbo: disable the GL_ARB_draw_elements_base_vertex rebase path This was introduced with commit 92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf. It causes rendering of stray polygons (with sw rendering at least) when running the OGL Distilled / Picking demo (click on an object). This needs additional debugging to fix/restore. Found one suspect thing: in _tnl_draw_prims() there's some mixed signed/ unsigned arithmetic/comparing at line 422 that may be incorrect.
bo/vbo_rebase.c
|
83019ffc0708708af7ee1ddbf3cbf949bcf076bd |
21-Sep-2009 |
Adam Jackson <ajax@redhat.com> |
selinux: Fix mmap() return value check
ain/execmem.c
|
40603526f478a59b89a4c0a07c75a97dfe56b8c3 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refine the error checking vbo_exec_DrawRangeElements() If the 'end' index is out of bounds issue a warning as before. But instead of just no-op'ing the draw call, examine the actual array indices to see if they're OK. If the max array index is out of bounds, issue another warning and no-op the draw call. Otherwise, draw normally. This is a debug build-only feature since it could impact performance. This "fixes" the missing torus in the OGL Distilled / Picking demo.
bo/vbo_exec_array.c
|
e5d29ebb5e5dd923c9c60972170d072120007aab |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make max_buffer_index() a non-static function
ain/api_validate.c
ain/api_validate.h
|
4916a5a2e72b05c176809dd0db5066a966a45b80 |
20-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0
rivers/dri/radeon/radeon_buffer_objects.c
|
d100cbf721010f4eacc87507cc87c5314150d493 |
19-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
mesa: add some debug info to teximage.c
ain/teximage.c
|
b1c9c5a800a485e3e066312f5736c93ef2774c9b |
19-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix a typo
rivers/dri/r300/r300_render.c
|
d504a7669d7b71229c2d15503a095d71ee1584e6 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix cube face selection If arx and ary are equal, we still want to choose from one of them, and not arz. This is the same as Michal's softpipe fix.
wrast/s_texfilter.c
|
6559eaef59526a7f4b2c22927637091018535c0c |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
c63e78b3e583e39ef296f1c2c9a34c90eb221503 |
21-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix typo in the last commit 128 gprs, 256 reg-based consts
rivers/dri/r600/r600_context.c
|
1869bdabbac0926c7da8bfd9e22616cab9457126 |
21-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: various cleanups - max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/radeon/radeon_common_context.c
|
2655d437569c5bce7c56782792cbd4460b9f758b |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refine the error checking vbo_exec_DrawRangeElements() If the 'end' index is out of bounds issue a warning as before. But instead of just no-op'ing the draw call, examine the actual array indices to see if they're OK. If the max array index is out of bounds, issue another warning and no-op the draw call. Otherwise, draw normally. This is a debug build-only feature since it could impact performance. This "fixes" the missing torus in the OGL Distilled / Picking demo.
bo/vbo_exec_array.c
|
44d260329efaea2bc844afa42fb1b4f882ab74fd |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make max_buffer_index() a non-static function
ain/api_validate.c
ain/api_validate.h
|
ff5535c5219047fc56f89c55ee44899d218dc234 |
20-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: update buffer map/unmap code for changes introduced in 92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0
rivers/dri/radeon/radeon_buffer_objects.c
|
db928a5e9155001fd441a32aa5af7d59af02ca5d |
19-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
mesa: add some debug info to teximage.c
ain/teximage.c
|
ab4ec85f6c04fdb5fabb0c74593643c31f630ac3 |
19-Sep-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix a typo
rivers/dri/r300/r300_render.c
|
734a498ed47b35c9e8e7172d19465aca640fa323 |
21-Sep-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Ensure TGSI tokens are freed with gallium's free. To avoid breaking the gallium's builtin malloc debugging.
tate_tracker/st_cb_program.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
2b83483fb43386bd4b8d199d371a3e513828695f |
20-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Mark the FBO as incomplete if there's no intel_renderbuffer for it. This happens to rendering with textures with a border, which had resulted in a segfault on dereferencing the irb. (cherry-picked from commit 8bba183b9eeb162661a287bf2e118c6dd419dd24)
rivers/dri/intel/intel_fbo.c
|
077e3de98977ca0046d4f09eb7936f6006719739 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix cube face selection If arx and ary are equal, we still want to choose from one of them, and not arz. This is the same as Michal's softpipe fix.
wrast/s_texfilter.c
|
2d729e6e3bcb0af84790cafb9824a3937954e078 |
21-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix some issues with LIT instruction - MUL_LIT is ALU.Trans instruction - some Trans instructions can take 3 arguments - don't clobber dst.x, use dst.z as temp, it'll get written correct value in last insn - respect source swizzles
rivers/dri/r600/r700_assembler.c
|
81c7561d9d3faf70ac22c6a5f3fbea18f53eed92 |
21-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300-compiler There were additional non-textual conflicts. Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c src/mesa/drivers/dri/r300/compiler/radeon_program.c src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c
|
3083ba38f4c884b32cd0460607b5064b6b7008d2 |
21-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'mesa_7_6_branch'
|
526430ade1d7ec0e1b3743d69e1ee9fb89cbaa2a |
21-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Zero-initialize register for NV_vertex_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/r300_vertprog.c
|
736e1ae42fd61f2b9f982b0491ca7daea7e615ed |
09-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix handling of NV_vertex_program parameters The handling is a bit inefficient, unfortunately, but I don't want to make any intrusive changes for Mesa 7.6. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program.c
hader/program.c
|
c67bb22fe7b4a7176efd9177d8de413d7c1a9192 |
21-Sep-2009 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
1d4dbd8d9b00cdba8c4aef4a3994d8763fea0dff |
21-Sep-2009 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
999592745f40a96a7307da374cab4d68254acf75 |
21-Sep-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Fix crash in intel_flush(). Since commit 2921a2555d0a76fa649b23c31e3264bbc78b2ff5 ('intel: Deassociated drawables from private context struct in intelUnbindContext'), intel->driDrawable may be NULL in intel_flush().
rivers/dri/intel/intel_context.c
|
e3384a0d533fe69c1b26f1b03e98beac0b42ccfb |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
windows: call _mesa_meta_init/free()
rivers/windows/gdi/wmesa.c
|
2c1937480a68b066a1a0b8ee3770e675bfad859b |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
xlib: always call _mesa_meta_init/free()
rivers/x11/xm_api.c
|
4a4914e4146b78e99277ab494226136a4e68cdb4 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
dri/swrast: call _mesa_meta_init/free()
rivers/dri/swrast/swrast.c
|
1741bc1a79b6a243e841bca704f1a720b028124a |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
osmesa: call _mesa_meta_init/free()
rivers/osmesa/osmesa.c
|
a1cf9b6abe0250f1496cea2cf49e29430ceab028 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Revert "st/mesa: Compile in meta.c." This reverts commit 6c5726cd39ab12b86fae391d075fa74bc24b615c.
ources.mak
|
1eda10d073b17e1d2ba1089eae378b6e257614be |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Revert "scons: add meta.c to sources" This reverts commit 41fefe88c50376a57876b498c8619c8c9f535de6.
Conscript
|
da9d8f192431b0142e65bceb5ca8a2e52e21ac90 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: move _mesa_meta_init/free() calls to core Mesa" This reverts commit 651cffd626a82d9bf539437ca4bdf8ea4b396fab. The commit inadvertantly introduced a new gallium dependency on the meta code.
rivers/dri/intel/intel_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/x11/xm_api.c
ain/context.c
|
41fefe88c50376a57876b498c8619c8c9f535de6 |
21-Sep-2009 |
Brian Paul <brianp@vmware.com> |
scons: add meta.c to sources
Conscript
|
6c5726cd39ab12b86fae391d075fa74bc24b615c |
21-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
st/mesa: Compile in meta.c. meta was moved to core Mesa since 651cffd626a82d9bf539437ca4bdf8ea4b396fab. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ources.mak
|
81bac6e2a811ee537c38070f19e70e730ea1169f |
21-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
intel: meta clear has a new name. It was renamed to _mesa_meta_Clear. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/intel/intel_clear.c
|
284a7af274bc148f112bd0ebb40583923ee26b49 |
20-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix legacy bo not to reuse dma buffers before refcount is 1. This should help detecting possible memory leaks with dma buffers and prevent possible visual corruption if data would be overwriten too early.
rivers/dri/radeon/radeon_dma.c
|
7e3b8b0d8fdfd7cffbb57afce67a3fe54827d90a |
20-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix trig instructions in R300 fp Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program_alu.c
|
3640e4acde2fb050b1659271d1687a8a5f90365d |
20-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix typo in variable name.
rivers/dri/radeon/radeon_debug.h
|
5fa9a7a9a9cb87c8a86402981cc1b4affde95777 |
20-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Improve WARN_ONCE macro to appear as single statement. Do-while makes macro safe to be used with if and for constructions. Also remove __LINE__ macro from variable name because scope is local to macro anyway.
rivers/dri/radeon/radeon_debug.h
|
94a3c5979fdfa7e5da97523456ee89848528aab0 |
20-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Fix "verts" debugging enable Copy'n'paste apparently prevented the RADEON_VERTS flag from being enabled. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_debug.c
|
ebf2710b2fd21ae9a6604c015ca7a948589f5a8c |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
|
82c2f7756af19f0a19aeda7ea1f627262e4561c0 |
20-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
e617dd14ab4863921c02612ab76faa94b02a155c |
12-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
mesa/st: Create front renderbuffer on the fly when supplied with a surface Normally, the mesa/st would create a fake front buffer out of a client-allocated surface. In the DRI setting, however, st/dri provides a front buffer surface which is created and maintained by the X server. Prefer to use this surface instead, so that front buffer rendering and reading works correctly. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
tate_tracker/st_framebuffer.c
|
c4ce6f6a7c124c62a8ee9bd9fba28fc69a38e18c |
12-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
mesa/st: Initialize format bits of framebuffer renderbuffers Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
tate_tracker/st_cb_fbo.c
|
6c323a2473cbfcdf41a8b3c395fcd277e16b963c |
20-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix R300 fragment program regression introduced by 0723cd1... We obviously need to move the code addr register backwards because their may be overlap. This bug affected in particular the Compiz water plugin. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
|
ed4076b5b8c5d3c024e291f42a8730b4f71226c9 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant readbuffer check
rivers/common/meta.c
|
4de8e2123ebeb50db252b2bb57fb167058fa4683 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename functions to be more consistant with rest of mesa
rivers/common/meta.c
rivers/common/meta.h
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_fbo.c
rivers/x11/xm_dd.c
|
232fc7d333fff6895d892929e438b7a808f774b0 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove obsolete s_imaging.c file
wrast/s_imaging.c
|
7e0f2ce9410506277a9f17e2713006a2b510c319 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove prototypes for obsolete functions
wrast/swrast.h
|
58e843dda05e2addfe6584c5480fb2181b0aff53 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove s_imaging.c from build
ources.mak
|
32e4b6c6073b71cac195ca011c4a0eaad8b0851c |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
windows: replace old ColorTable, Convolution functions with new
rivers/windows/gdi/mesa.def
rivers/windows/icd/mesa.def
lapi/mesadef.py
|
bc1c8d4af768be12ae96bc080e7e52b0c4cbfbdb |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new meta functions
rivers/common/driverfuncs.c
|
3e5a35269b201d25e2a63743d8d4b1b4311b6fb0 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etc
rivers/common/meta.c
rivers/common/meta.h
|
dc3839ef3dc032627b7bb10b2c24786efc3ef5ec |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move readbuffer tests
ain/colortab.c
ain/convolve.c
wrast/s_imaging.c
|
883dd9d770f0d25fb8474dc381faa99ee38de0e6 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() helper
ain/texgen.c
|
3ed9dab19cfb2576f2a0fef92107f9246db7bdc1 |
20-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() helper
ain/colortab.c
|
b0e9ea60840b5161634767e391c601ad0cc935b2 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some glCopyTex[Sub]Image regressions related to convolution
rivers/common/meta.c
|
651cffd626a82d9bf539437ca4bdf8ea4b396fab |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_meta_init/free() calls to core Mesa
rivers/dri/intel/intel_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/x11/xm_api.c
ain/context.c
|
b8477f079bd72d15b2d4e9c1453374d744da5ce7 |
19-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix point sizes registers takes radius
rivers/dri/r600/r700_state.c
|
368fb578f86c53d888324f9bb25369216b3187b1 |
19-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix polygon offset
rivers/dri/r600/r700_state.c
|
67cad78e08f1a0770c5a7f67ecaf8145b2fdbdc4 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove obsolete s_texstore.c Replaced by new, simpler meta functions.
wrast/s_texstore.c
|
2f89044e6f2ed92ec4ea7a4f98efcac8c1ce3aab |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove prototypes for obsolete functions
wrast/swrast.h
|
14869c09847f7d2f638acb13064fb1bb8bce620c |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove s_texstore.c from makefile/project files
ources.mak
|
a9c64daf02b7a7715abc3912e2f7db4ab481ce79 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glapi: replace old TexCopy functions w/ new
lapi/mesadef.py
|
41a171b7148abbc5b3aeec61b8d6e5f38a146541 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
windows: replace old TexCopy functions w/ new
rivers/windows/gdi/mesa.def
rivers/windows/icd/mesa.def
|
e2e0735e0e3d8ffe560ae9a9176c9aaf0a7e27a5 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
gldirect: remove refs to soon-to-be-obsolete functions I don't know if this driver is anywhere near build-able, but anyway.
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
|
6f9dbe773953b024075910b3bec11ebc96c2e8e0 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new _mesa_meta_CopyTex[Sub]Image() functions
rivers/common/driverfuncs.c
|
af693464466aab161fe24700a0c2865c774ccf80 |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use new _mesa_meta_CopyTex[Sub]Image() functions
rivers/dri/intel/intel_tex_copy.c
|
22f02509f27a5cab967d42a317e58a73c7d26e0b |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files
rivers/dri/common/extension_helper.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
c9a87ff441857a8af405f3df16d8c2f590e5b10e |
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glapi: added tokens, function for GL_ARB_provoking_vertex
lapi/EXT_provoking_vertex.xml
|
fdd605e446ed174bae13171d116f498704259057 |
19-Sep-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Allow BlitFramebuffer from a texture. Although GL_EXT_framebuffer_blit does not mention textures, it doesn't forbid them either, and some thirdparty driver appear to support this.
tate_tracker/st_cb_blit.c
|
8302208b02739904cfeb5bcc22e63b15c8ec26e9 |
18-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Use glsl pp public interface.
hader/slang/slang_compile.c
|
1e4c3535111dc431e4fe51da6892259a5ebe2ae6 |
18-Sep-2009 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] add a missing header file
rivers/dri/intel/intel_clear.c
|
a66bab0e379c3add034667ed394bcead386d8c10 |
18-Sep-2009 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] use intel_batchbuffer_flush to flush the clear
rivers/dri/intel/intel_clear.c
|
2a661c383fee65bc4413541e706925fa3e9b9cf5 |
17-Sep-2009 |
Michal Krol <michal@vmware.com> |
Merge commit 'origin/master' into glsl-pp-rework-2 Conflicts: src/gallium/winsys/gdi/SConscript
|
21caa29fbd332a2ee05a58df91e1664fbbc4e61f |
17-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: begin some texstore code refactoring Next step will be to move the calls to ctx->Driver.ChooseTextureFormat() into the teximage.c functions so drivers don't have to do it.
ain/texstore.c
|
fac38e8c8f1814ae54703b872db8c6dd21c34a3b |
17-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix clip plane, fog issues
rivers/common/meta.c
|
1d8fbef4f2b1bccb49b40375891b66caf5395b15 |
17-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: meta driver functions for glCopyTex[Sub]Image() Implement in terms of glReadPixels + glTex[Sub]Image(). This will allow us to get rid of some swrast texture code.
rivers/common/meta.c
rivers/common/meta.h
|
8d47b4906bcfb9c73816df5892673c4694410d2f |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove mipmap generation checks (done in core Mesa now)
wrast/s_texstore.c
|
4e84b96d9237f83aa1eb5613afeba4f687504174 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
s3v: remove unneeded initializations
rivers/dri/s3v/s3v_tex.c
|
1b1125c23951b23e253537b58210c76955784380 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
ffb: remove disabled code
rivers/dri/ffb/ffb_tex.c
|
08d39251a79a964e4a3ac0d7d8a397c2b66a0808 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix some incorrect branching/clean-up code in TexImage functions We need to be sure to call the _mesa_unmap_teximage_pbo() function if we called _mesa_validate_pbo_teximage().
tate_tracker/st_cb_texture.c
|
cfa1a0a609daefffc6f8c4087ed0bc34c2665ef4 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix texture memory allocation bug The following example caused an incorrect GL_OUT_OF_MEMORY error to be raised in glTexSubImage2D: glTexImage2D(level=0, width=32, height=32, pixels=NULL); glTexImage2D(level=0, width=64, height=64, pixels=NULL); glTexSubImage2D(level=0, pixels!=NULL); The second glTexImage2D() call needs to cause the first image to be deallocated then reallocated at the new size. This was not happening because we were testing for pixels==NULL too early.
tate_tracker/st_cb_texture.c
|
c9de313f1b6d0ee8d9304fc3fe11fb84ff494f12 |
16-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Propagate error messages from preprocessor.
hader/slang/slang_compile.c
|
eeb5202e5ddf1cc95c35d46fd425afd0695b85bb |
16-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Invoke the preprocessor from withing the slang compiler. This allows us to validate the shader version number.
hader/grammar/grammar.c
hader/grammar/grammar.h
hader/grammar/grammar_mesa.h
hader/slang/slang_compile.c
|
5ce72c559c027ea03513ed9c0038706733b0586e |
16-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch'
|
88e3a5760559e6ced00a57b7157abe156c22be2e |
16-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch Conflicts: src/mesa/main/dlist.c
|
2921a2555d0a76fa649b23c31e3264bbc78b2ff5 |
16-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Deassociated drawables from private context struct in intelUnbindContext The generic DRI infrastructure makes sure that __DRIcontextRec::driDrawablePriv and __DRIcontextRec::driReadablePriv are set to NULL after unbinding a context. However, the intel_context structure keeps cached copies of these pointers. If these cached pointers are not NULLed and the drawable is actually destroyed after unbinding the context (typically by way of glXDestroyWindow), freed memory will be dereferenced in intelDestroyContext. This should fix bug #23418.
rivers/dri/intel/intel_context.c
|
76e836a41ad47237f80195c5dacb8bc57a7f2b69 |
16-Sep-2009 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: do a flush in clear, fix openarena render issue, fd.o bug# 23857
rivers/dri/intel/intel_clear.c
|
858a2a2ac7b1c8f1a7f7c4b3c66b3919989798d4 |
16-Sep-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: cleanup compile defines mess. I inherited this and really it stayed around far too long, make it nice and simple.
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_context.h
rivers/dri/r600/Makefile
rivers/dri/r600/r600_context.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
|
a6a21eb00dbd262b2835456bef8172b36df5c1ea |
16-Sep-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: oops remove debugging left on in previous patch
rivers/dri/radeon/radeon_texstate.c
|
2fdb0e5d3b6633e0dcf3fc648736e05ca0b66cdc |
16-Sep-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: use txformat to decide to emit rect tex state. This is more logical, and fixes a TFP issue.
rivers/dri/radeon/radeon_texstate.c
|
2914f2b7fd9bd1082f8cce724d234208b900c3d4 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move generate mipmap calls Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
rivers/dri/intel/intel_generatemipmap.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/teximage.c
ain/texstore.c
tate_tracker/st_cb_texture.c
|
ef6ee07fc7b356109897fdc311be74d5c6640bf9 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-up
ain/fbobject.c
|
a31ac84d743e33dabdcbbb4998fb6b7ceccf27d4 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove last of gotos
ain/teximage.c
|
c352566933b932ef09cea3f144df21147a7f6bc1 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more goto removal
ain/teximage.c
|
ecf6f37fc201d7c88f8214b04ca1f61071c460a1 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove some gotos This will make some subsequent changes easier...
ain/teximage.c
|
c26c2006df6035fccd6103961524fd15bf000840 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up fbo debug code
ain/fbobject.c
|
2e7a1dd8caa8b5fa83a306f6bb506a48b23616a2 |
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added GL_ARB_provoking_vertex (same as EXT version)
ain/extensions.c
|
87d40a95bfd99141215b6d952080135f7605d7d0 |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: don't build non-r600 span code on r600
rivers/dri/radeon/radeon_span.c
|
49fc41eeede4adb9867ab10718d121b017ede496 |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: minor span cleanups
rivers/dri/radeon/radeon_span.c
|
41fff1b9a1b43f25739f41ffc7697405ccb9cccc |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: compile glUniformMatrix() functions into display lists I believe this is the last of the shader-related functions that needed display list treatment.
ain/dlist.c
|
6681981fe1c135a7d239a382091d77e952f8d523 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement more glUniform display list functions
ain/dlist.c
|
f42c66c138c4bf96fe9d9d007797c63d9f326e22 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: compile glUniform4f() into display lists Note: there are more glUniform functions to compile...
ain/dlist.c
|
81de9d68f7299d7b053914b6c886cd2ea4958a85 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: compile glUseProgram/glUseProgramObjectARB into display lists Fixes bug 23746
ain/dlist.c
|
b0c52e491d4f1ad4d16352d1aae77bc879b8da0a |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove incorrect texture state check Fixes incorrectly textured bitmap text in engine demo. It's incorrect to test the texture enable bits here since they may have been changed by disabling the shader above. Optimization is still possible but will have to be reexamined.
rivers/common/meta.c
|
be0cdd77eaee3de4d3fcd6f5832f4796990247f3 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: disable accidentally committed _mesa_print_program() call
tate_tracker/st_mesa_to_tgsi.c
|
41bbc8395111c6ef37e08a63ee58876d10a09e77 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
5d526ed21ac9f1ec9220c2adb4c905893eb9d990 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
|
c0cf9dc05e2d887ce6419e6cae1b3606a1779b3f |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: regenerated file
hader/program_parse.tab.c
|
2aad3a855b8422124f9c903fa2096ea1fe0a607f |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: more detailed error message for out of bounds ADDR offsets
hader/program_parse.y
|
5ef40337ab9f0cf5d9184ac541157e5ef4209897 |
15-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: support position_invariant programs
rivers/dri/r600/r700_vertprog.c
|
ac3c8e3b53564b659e2ccaf8274b888f1e254511 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added some link debug code (disabled)
hader/shader_api.c
|
b8b774c775b672c89f1f4007c7b9575052d85739 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove extra #version directives from concatenated shader sources When we concatenate shaders to do our form of poor-man linking, if there's multiple #version directives, preprocessing fails. This change disables the extra #version directives by changing the first two chars to //. This should help with some Wine issues such as bug 23946.
hader/slang/slang_link.c
|
364ca57aff733e8ee5f417b3f8719514f443315f |
15-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add span support for 1D tiles 1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
rivers/dri/r600/r600_reg_auto_r6xx.h
rivers/dri/r600/r700_chip.c
rivers/dri/radeon/radeon_span.c
|
f662cedae446b124ff3f370c21cc7bb2e08244a0 |
14-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix warning Noticed by rnoland on IRC.
rivers/dri/r600/r700_assembler.c
|
909ab3377f7c61049c1fb29b8898e7d84489ce21 |
15-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor whitespace, comment clean-ups
tate_tracker/st_mesa_to_tgsi.c
|
aa522e6cc434fbe37203152de2d5d513ab640c67 |
14-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: minor code clean-ups
rivers/dri/intel/intel_span.c
|
8ec456c68cc69349c2506ce64047d06c7113780c |
14-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix renderbuffer map/unmap regression Commit 36dd53a3cded9d003ec418732b7fc93c1476aa9b caused a few regressions because the glReadBuffer() buffer wasn't getting mapped when GL_READ_BUFFER != GL_DRAW_BUFFER.
rivers/dri/intel/intel_span.c
|
3c3104943946904d0e205166bc4baf28ff2bf81b |
11-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unneeded driver function assignments These default swrast functions are already installed by _mesa_init_driver_functions().
rivers/dri/intel/intel_context.c
|
d7512521fd73aea3c6f19c427a877fc74e3fa557 |
14-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: remove dead comment
tate_tracker/st_mesa_to_tgsi.c
|
4295b34d25f40f38b8cfd3ebdc64aef29d0666db |
12-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: convert to new tgsi_ureg mechanism for shader emit Should be easier to read and work with than the older ways of emitting TGSI tokens. Also, emit simpler TGSI than previously: - translate away source and dest extended modifiers - translate away the SWZ opcode
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
cd26ccf6fecd03ca66731340c7bb7341eaa093a1 |
14-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Adapt to pp interface change.
hader/grammar/grammar.c
|
9f273f109875cd9208d4c1c8f5939fb5e507c230 |
14-Sep-2009 |
Michal Krol <michal@vmware.com> |
Merge commit 'origin/master' into glsl-pp-rework-2
|
09b566e1610ec699490dc01bcea0b8c5cc44a78d |
12-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: remove unused SATURATE_PLUS_MINUS_ONE flag Never set in mesa. Remove from tgsi translation as well.
hader/prog_instruction.h
tate_tracker/st_mesa_to_tgsi.c
|
57d16c4cc37689710f951cb13981e2efc160cd23 |
11-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work. Previously, it was trying to mess around with the varying's WM setup data to produce a result. Along with not actually working when passed a varying, this wouldn't work if you did dFd[xy]() on a temporary. Instead, just calculate the derivative using the neighbors in the subspan.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass1.c
|
a79eecb9139169fa8c99c0f9cf26db95f3983a36 |
11-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: fix texcoords from constants with some minor updates from Richard.
rivers/dri/r600/r700_assembler.c
|
08b7d32140a09a35bdfe93327dd7ee2333315bc1 |
11-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Revert "r600: support tex coords from constants" This reverts commit 4099bb76148007f9ccb6c86838b2bf37ea42de56. Tex coord src has to be a GPR.
rivers/dri/r600/r700_assembler.c
|
4099bb76148007f9ccb6c86838b2bf37ea42de56 |
11-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: support tex coords from constants Fixes neverball among other things.
rivers/dri/r600/r700_assembler.c
|
4108ed7e806e4ad1b2706a107a10f4eebd255ddc |
11-Sep-2009 |
Andre Maasikas <amaasikas@gmail.com> |
r600: enable caching of vertex programs
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
0fa1692f14f4a64b045bc3f26a5ab401d682b118 |
11-Sep-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errors Signed-off-by: Brian Paul <brianp@vmware.com>
ain/texparam.c
|
7c0152fbaeb21ab423a9de339b85c54d1713432b |
10-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Enable loops in the VS. Passes piglit glsl-vs-loop testcase. Bug #20171
rivers/dri/i965/brw_vs_emit.c
|
0ef5b627871eb893309fe784bc47d0d8d69f4c57 |
11-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: nicer vertex setup
rivers/common/meta.c
|
4781c1f45925031a9e4a5f8ebf80cfd821312e3c |
11-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use st_context() helper
tate_tracker/st_cb_drawpixels.c
|
b8e1e8d2d8ae6ffbf8f271b46ee89788a926b3b0 |
11-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into asm-shader-rework-2 Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.tab.h
|
796c96de808790826d9c9077d159390ebee62888 |
11-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Remove structure allocation from iterator variable. dma_bo varaible is only used for iterating so allocating memory for it only causes memory leaks.
rivers/dri/radeon/radeon_dma.c
|
81722c5d7e8e93d837510b9e6e5d014ec64cf4b3 |
11-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp parser: Add support for condition codes Conditional write masks and the condition-code based KIL instruction are all supported. The specific behavior of KIL in the following shader may or may not match the behavior of other implementations: !!ARBfp1.0 TEMP GT; MOVC GT, fragment.texcoord[0]; KIL GT.x; END Should be it interpreted as 'KIL srcReg' or as 'KIL ccTest'? The current parser will interpret it as 'KIL srcReg'.
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parse_extra.c
hader/program_parser.h
|
cdb719399438194c5e9d5bc1bae3458398fe4e54 |
10-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog lexer: Add missing #include to silence compile warning
hader/lex.yy.c
hader/program_lexer.l
|
d9dc4cb0e4f578da9e50c9d1ba6fd9c22ea2fca6 |
10-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
0e7953366f2a8ab1b0e885d94f6635c7640b3cc7 |
10-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Differentiate between used and unused names in the lexer The lexer will return IDENTIFIER only when the name does not have an associated symbol. Otherwise USED_IDENTIFIER is returned.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
9e6ae75cc8d6bff139aa21bda0aa682755ab7a7c |
10-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: disable intel_stencil_drawpixels() for now It doesn't work reliably even when all the prerequisite checks are made.
rivers/dri/intel/intel_pixel_draw.c
|
8fd4e4dfc32e4fd44dc41948d0c35ece078d44b3 |
10-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Fix merge fail One of the conflicst from this merge was missed: commit 0c309bb494b6ee1c403442d1207743f749f95b6e Merge: c6c44bf d27d659 Author: Brian Paul <brianp@vmware.com> Date: Wed Sep 9 08:33:39 2009 -0600
rivers/dri/intel/intel_pixel_read.c
|
c5f8594aebac4b8ba972d09ab18dabd9cc47c8e9 |
10-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: need to set all stencil bits to 0 before setting the 1 bits Plus, check for pixel transfer stencil index/offset.
rivers/common/meta.c
|
8398535331dae39ff5f52e94a69abdbf7507a343 |
10-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch Conflicts: src/mesa/drivers/dri/intel/intel_context.c
|
acfea5c705f383692e661d37c5cd7da2f3db559b |
09-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix relocation delta for WM surfaces. This was a regression in 0f328c90dbc893e15005f2ab441d309c1c176245. Bug #23688 Bug #23254 (cherry picked from commit 5604b27b9326ac542069a49ed9650c4b0d3e939a)
rivers/dri/i965/brw_wm_surface_state.c
|
2dd3da3a4a2233332219f9da60d18fec79b4b6c7 |
07-Sep-2009 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
intel: add B43 chipset support Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Hopefully this will be one of the last cherry-picks. (cherry picked from commit ca246dd186f9590f6d67038832faceb522138c20)
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
36dd53a3cded9d003ec418732b7fc93c1476aa9b |
10-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't forget to map the depth read buffer in spans. This broke BlitFramebufferEXT(GL_DEPTH_BUFFER_BIT).
rivers/dri/intel/intel_span.c
|
e669dc2b0dcebb49cfef3ccd54c95ad33b63e02d |
10-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2
rivers/dri/r300/r300_cmdbuf.c
|
7dfe54a60e63fa6ac1846ca8ac125d19e2734cd1 |
10-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: add full support for two sided stencil on r5xx for dri2
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
f89751e71928770472d61e3b7069a5d0e2125f0e |
10-Sep-2009 |
Mathias Frohlich <M.Froehlich@science-computing.de> |
mesa: fix cut&paste typos
rivers/common/meta.c
|
e9ba9ffc9aa5dcc2de02dc3e58279ffda2318c79 |
10-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: in texenvprogram code, only do saturation when really needed. For some env modes (like modulate or replace) we don't have to clamp because we know the results will be in [0,1].
ain/texenvprogram.c
|
3d1324a66a3b8927a400d167ba92f851b464c57a |
10-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Change debugging code to use macros instead of inline functions. Variadic functions can't be inlined which makes debugging to have quite large function overead. Only aleternative method is to use variadic macros which are inlined so compiler can optimize debugging to minimize overhead.
rivers/dri/radeon/radeon_debug.c
rivers/dri/radeon/radeon_debug.h
|
5604b27b9326ac542069a49ed9650c4b0d3e939a |
09-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix relocation delta for WM surfaces. This was a regression in 0f328c90dbc893e15005f2ab441d309c1c176245. Bug #23688 Bug #23254
rivers/dri/i965/brw_wm_surface_state.c
|
e0f99b8268496576b017f4d0eb0ed09507c2f30d |
09-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add more verbose error message for failed command buffer.
rivers/dri/radeon/radeon_common.c
|
4d85a6b393503c8e859ff9bcd5011ec5e65ba2b9 |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix an overlooked merge conflict
rivers/dri/intel/intel_pixel_read.c
|
49c230709cfc588deea19f9ec21763ee00b81e6a |
09-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: check if textures are actually enabled before submission noticed by taiu on IRC.
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
|
7bf63473623e01933adc0e8f4464eda8f2860564 |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
94a8157ef6bf6695cdc66325c9a7698e64f3e37e |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerate get.c form get_gen.py
ain/get.c
|
3fed69eb168774d2303e4efb9149f34e55d91b58 |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move call to init_c_cliptest() from enable.c to tnl module. Fixed gallium build breakage.
ain/enable.c
nl/t_context.h
nl/t_vb_program.c
nl/t_vb_vertex.c
|
0c309bb494b6ee1c403442d1207743f749f95b6e |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
|
89a765e92b4847f80848c8be89efbce2d021434b |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels() Works around a bug found on i965. See bug 23670.
rivers/common/meta.c
|
da9ed257a3b47c97ac557da17c32cf271190a407 |
09-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix ftp for dri1 We use t->bo for dri1 since r600 uses CS for dri1.
rivers/dri/r600/r600_texstate.c
|
ca246dd186f9590f6d67038832faceb522138c20 |
07-Sep-2009 |
Zhenyu Wang <zhenyuw@linux.intel.com> |
intel: add B43 chipset support Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
5aaa45de4c367dd6ec5daa6f4a54504b0aff1aca |
09-Sep-2009 |
Dave Airlie <airlied@linux.ie> |
r600: don't setup hardware state if TFP if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
rivers/dri/r600/r600_texstate.c
|
f78eafcacb67de3f2cd035335c4ecd98e21a8209 |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.7
ain/version.h
|
126696caf7c2ab66420ab60a2c363613b88bacb4 |
09-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix viewport_z_clip breakage
ath/m_debug_clip.c
|
f959ccdfa6c8accd74b6e33040b716645f0a7057 |
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_draw_elements_base_vertex. On the 965, we just drop the value into the primitive packet. On non-945, we rely on the sw tnl code handling it.
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_extensions.c
|
92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf |
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for ARB_draw_elements_base_vertex.
rivers/dri/swrast/swrast.c
rivers/x11/xm_api.c
ain/api_noop.c
ain/api_noop.h
ain/api_validate.c
ain/api_validate.h
ain/dd.h
ain/dlist.c
ain/extensions.c
ain/mtypes.h
ain/varray.h
ain/vtxfmt.c
ain/vtxfmt_tmp.h
nl/t_draw.c
bo/vbo.h
bo/vbo_exec_array.c
bo/vbo_rebase.c
bo/vbo_save_api.c
bo/vbo_split.c
bo/vbo_split_copy.c
|
ec9e7295800aff0f04815de736127101f770033f |
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
glapi: Add ARB_draw_elements_base_vertex
rivers/dri/common/extension_helper.h
lapi/ARB_draw_elements_base_vertex.xml
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
b11a8ea863612827fe04b636f1c2eae9e1536fbd |
08-Sep-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Expose NV_depth_clamp if ARB_depth_clamp is supported. The wording of these two is exactly the same, except for the issue "Can fragments with wc<=0 be generated when this extension is supported?", which idr thinks is a non-issue for us.
rivers/dri/swrast/swrast.c
rivers/x11/xm_api.c
ain/extensions.c
|
0310aafd9ea502e07a86b355cfca902102b9117c |
26-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for ARB_depth_clamp.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/intel/intel_extensions.c
|
0e5c2598ec8cd9e20cb02e2b120d5b43103b7b05 |
26-Aug-2009 |
Eric Anholt <eric@anholt.net> |
Regenerate files for GL_ARB_depth_clamp.
ain/enums.c
|
b4922b533155cc139ebafb111502bb55d2ad2ccf |
26-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for ARB_depth_clamp. This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
rivers/dri/swrast/swrast.c
rivers/x11/xm_api.c
lapi/ARB_depth_clamp.xml
lapi/Makefile
lapi/gl_API.xml
ain/attrib.c
ain/enable.c
ain/extensions.c
ain/get_gen.py
ain/mtypes.h
ath/m_clip_tmp.h
ath/m_debug_clip.c
ath/m_xform.h
parc/clip.S
parc/sparc.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_span.c
nl/t_rasterpos.c
nl/t_vb_program.c
nl/t_vb_vertex.c
86/x86_xform.c
|
3e4539a471da48066a83eda8e14301dbc4dbf6db |
07-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Respect spec requirement for pixel shader computed depth with no zbuffer.
rivers/dri/i965/brw_wm_state.c
|
15c0cc5cf4b75d60fa9a8469df34b487a8c0e376 |
07-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set NULL WM surfaces as tiled according to requirement by specs.
rivers/dri/i965/brw_wm_surface_state.c
|
ea6dab2537998d6910c04cd7bb68a79bee8fda68 |
05-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use the renderbuffer surface size instead of region size for WM surfaces. For drawing to lower mipmap levels, the region size makes the renderbuffer be the size of the lowest level, instead of the current level. On DRI1, Brian previously found that the RB size was incorrect, so leave this broken there.
rivers/dri/i965/brw_wm_surface_state.c
|
58a57e3fc48b4ba081caa6ffaec24dfad9ed002a |
04-Sep-2009 |
Eric Anholt <eric@anholt.net> |
Revert "intel: helper to debug bufmgr (disabled)" This reverts commit e0ec405a9fa6fbc1cf2ac531ed5efd1a64e01f18. This is already available in INTEL_DEBUG=bufmgr in the environment.
rivers/dri/intel/intel_context.c
|
42943a4cf90d66ade212feea29a29a3702eec6c1 |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.5.2 I'm not 100% sure there'll be a 7.5.2 release, but just in case.
ain/version.h
|
b2de02852381dccea6cb9bdca049d5629cca80ef |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: #include clean-ups
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
|
e61215242b977f8422b3284b4b2b0c853daf50ca |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: #include clean-ups
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_tex_image.c
|
8e8d3470be3b1aae4ede7ccca097a28b0978dd1b |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: use _mesa_is_bufferobj() Also, remove unneeded call to _mesa_validate_pbo_access(). It's done by core Mesa as the comment suggested.
rivers/dri/intel/intel_pixel_read.c
|
ced699b37a048ea32434c222fcf83235048918bc |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: use _mesa_is_bufferobj()
rivers/dri/intel/intel_tex_image.c
|
abdf2e14bc174ecd510b580756efa42f43ca4419 |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: use _mesa_is_bufferobj()
rivers/dri/intel/intel_pixel_bitmap.c
|
00aac1d29a7ca06d1f1ac429371d9a6774873389 |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: use _mesa_is_bufferobj()
rivers/dri/i965/brw_draw_upload.c
|
e6ad286a80eadd3f38105bf3643e13db83c5b40e |
08-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix dri2 clipping
rivers/dri/r600/r700_state.c
|
8de625c7cf639c583e8bf43acb1214010989bb64 |
08-Sep-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix incorrect test for vertex position attribute
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
|
fab99092a0879531442d1dd20f971ae7eda824eb |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Correctly handle end of tokens marker.
hader/grammar/grammar.c
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
2ec2936454a4a69b5b3b438ab66f00a5b7d2a5e5 |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Do not parse whitespace. The preprocessor tokeniser deals with those.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
58fa89c90279e2bdfc7331d7b632a748e2126ca1 |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Correctly parse numbers from the new preprocessor.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
|
b837f6c372f0059170d93ac564f58aeebca3c70a |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Fix token stripping.
hader/grammar/grammar.c
|
d06069f30513163108489dd189dc8027cb4ad643 |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Remove the old preprocessor.
Conscript
hader/slang/descrip.mms
hader/slang/library/Makefile
hader/slang/library/slang_pp_directives.syn
hader/slang/library/slang_pp_directives_syn.h
hader/slang/library/slang_pp_expression.syn
hader/slang/library/slang_pp_expression_syn.h
hader/slang/library/slang_pp_version.syn
hader/slang/library/slang_pp_version_syn.h
hader/slang/library/slang_version.syn
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
ources.mak
|
7e6e5cd60a4ce2f63cd2563307d79fc0ed7218cd |
08-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Remove dependencies on error tokens.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
5ddcdc42277ee2ba011980aebac7f3a12bd80c9d |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
slang: Adapt shader syntax description to grammar parser changes.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
ce9309d24595af324a2c7222a96100cddf5f2c9b |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Adapt grammar to the glsl preprocessor.
hader/grammar/grammar.c
hader/grammar/grammar_mesa.h
|
b97a73465816652dda36b08c19038f06964ff130 |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Remove dead code.
hader/grammar/grammar.c
|
8bed21ecf9ff3f0244de2011f5177f16136e255f |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
grammar: Remove grammar_check().
hader/grammar/grammar.c
hader/grammar/grammar.h
|
970823978c2f7d2cf0757aa6ddbd6289b34c476f |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
mesa: Include <unistd.h> only when one is available.
hader/lex.yy.c
hader/program_lexer.l
|
826d441cdfa16a16d165297beb3013f4ff8b4816 |
07-Sep-2009 |
Michal Krol <michal@vmware.com> |
mesa: Fix calling conventions of sync object api callbacks.
ain/syncobj.c
ain/syncobj.h
|
23663ae9148b9a976b8a95e48af8404cbda046fe |
06-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial version of _mesa_meta_generate_mipmap() Incomplete and totally untested. Based on intel_generate_mipmap().
rivers/common/meta.c
rivers/common/meta.h
|
4d63c626d0f436f0def817333230415794b73f3c |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
xlib: test _mesa_meta_bitmap()
rivers/x11/xm_dd.c
|
886e7b318dc2add8cd51abb7ba4fdc33af741586 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use separate temp texture for bitmaps
rivers/common/meta.c
|
b2951ffe962f56cb88cc2e4eabe4aa4eb7232170 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: temp_texture changes
rivers/common/meta.c
|
f477fa7a85b76256aea910bd03ee83a26fedae4f |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: free meta bitmap buffers
rivers/common/meta.c
|
0e5293a24019a777c46734f9b5f6e8d764c11672 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_set_enable()
rivers/common/meta.c
|
bcb62ae78a9d2f4d08001e9f207b6f1291443968 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_meta_bitmap() function
rivers/common/meta.c
rivers/common/meta.h
|
4fdc96db1d7c897863be0d55455a09e896206260 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
xlib: move misplaced brace
rivers/x11/xm_dd.c
|
f02f63997ce65530788a6dfcb28f11790a14d938 |
06-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
Merge branch 'master' into r300-compiler Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c
|
e95e76e1255a3ad0ce604271301d090337b2e82b |
06-Sep-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: New dataflow structures and passes This replaces the old NQSSADCE code with the same functionality, but quite different design. Instead of doing a single integerated pass, we now build explicit data structures representing the dataflow. This will enable analysis of flow control instruction, and could potentially open an avenue for several dataflow based optimizations, such as peephole optimization, fusing MUL+ADD to MAD, and so on.
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_dataflow.c
rivers/dri/r300/compiler/radeon_dataflow.h
rivers/dri/r300/compiler/radeon_dataflow_annotate.c
rivers/dri/r300/compiler/radeon_dataflow_dealias.c
rivers/dri/r300/compiler/radeon_dataflow_swizzles.c
rivers/dri/r300/compiler/radeon_nqssadce.c
rivers/dri/r300/compiler/radeon_nqssadce.h
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_constants.h
rivers/dri/r300/compiler/radeon_program_print.c
rivers/dri/r300/compiler/radeon_swizzle.h
rivers/dri/r300/r300_vertprog.c
|
d0adebb8d5ef680590b0f281a20516318c0b8b62 |
05-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp parser: Support instruction and TEMP / OUTPUT sizes Adds support for declaring TEMP and OUTPUT variables as 'LONG' or 'SHORT' precision. The precision specifiers are parsed, but they are currently ignored. Some support for this may be added in the future, but neither Intel hardware nor, as far as I'm aware, Radeon hardware support multiple precisions. Also adds support for instruction precision ('X', 'H', and 'R') suffixes and instruction condition code output ('C') suffix. This results in a fairly major change to the lexer. Instructions are matched with all the possible suffix strings. The suffix string are then carved off by a context (i.e., which program mode and options are set) aware parser that converts the suffixes to bits in prog_instruction. This could have been handled in the same way _SAT was originally handled in the lexer, but it would have resulted in a very large lexer with lots of opportunity for cut-and-paste errors.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parse_extra.c
hader/program_parser.h
|
9ea4319744fb7474635cb1994e1babe1552d4d4f |
05-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Add new constructor for asm_instruction The new constructor copies fields from the prog_instruction that the parser expects the lexer to set.
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
9ab19a39001ab5b6afa71a4d1f16714e6907b67c |
05-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add support for EXT_texture_sRGB
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_texstate.c
|
60ca65c0165874bb18f1f89951da0281ee235cb3 |
05-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: Add support for GL_EXT_provoking_vertex
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
8fd7586bcccc49a627c9dfe23653be6620b95320 |
05-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: Add support for GL_EXT_provoking_vertex
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_state.c
|
b2cba25f9eecf2063c3b98d66ade59cd9e50990e |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix warnings in intel_pixel_read.c. (cherry picked from commit c80ce5ac90b1e0ac7a72cd41c314aa2000bfecf5)
rivers/dri/intel/intel_pixel_read.c
|
cf820a045f0626718ec147ebb26e31f82ec0b4fb |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Also get the DRI2 front buffer when doing front buffer reading. (cherry picked from commit df70d3049a396af3601d2a1747770635a74120bb)
rivers/dri/i965/Makefile
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
2855ee82c6d74066e8d9e44b17b2ce3b5782110e |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Update Mesa state before span setup in glReadPixels. We could have mapped the wrong set of draw buffers. Noticed while looking into a DRI2 glean ReadPixels issue. (cherry picked from commit afc981ee46791838f3cb83e11eb33938aa3efc83)
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_read.c
|
04081a164ca6160404d87dccbfc641bfd46428e0 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Move intel_pixel_read.c to shared for use with i965. (cherry picked from commit dcfe0d66bfff9a55741aee298b7ffb051a48f0d3)
rivers/dri/intel/intel_pixel_read.c
|
0612ad4f19ecde4963e55551bc316610f97282ae |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't set the complete field when there is more VUE yet to come. This should help with things like lightsmark, but I don't have a testcase for this commit.
rivers/dri/i965/brw_vs_emit.c
|
a47858e45efd95d798468cfff34616c0de200032 |
03-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for 2 threads in the GS. This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M verts/sec using GL_QUADs on my GM45.
rivers/dri/i965/brw_gs_state.c
|
8f7f22ca1d1594f9a4c6bdef181e24cbdd2c921c |
03-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for KIL_NV in brw_wm_emit.c I ran into this lack of support when writing a shader that always discarded the fragments.
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_pass1.c
|
1d1dfc96c48681c455e1174a60bd325b33a2784f |
17-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add missing state dependency of sf_unit on _NEW_BUFFERS. (cherry picked from commit 99174e7630676307f618c252755a20ba61ad9158)
rivers/dri/i965/brw_sf_state.c
|
a9504edee344936ef496341174d4c2d76ee0c44d |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Align cubemap texture height to its padding requirements. (cherry picked from commit a70e1315846cd5e8d6f2b622821ff8262fe7179d) (cherry picked from commit 29e51c3872531366570d032147abad50f8a3c1af)
rivers/dri/i965/brw_tex_layout.c
|
945d34e88ab7413299227fea56acc746010bb2e9 |
08-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Align untiled region height to 2 according to 965 docs. This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe. (cherry picked from commit b053474378633249be0e9f24010650ffb816229a)
rivers/dri/intel/intel_regions.c
|
94d3b832cc5c73544c478804531e16644483d8be |
06-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix source depth reg setting for FSes reading and writing to depth. For some IZ setups, we'd forget to account for the source depth register being present, so we'd both read the wrong reg, and write output depth to the wrong reg. Bug #22603. (cherry picked from commit f44916414ecd2b888c8a680d56b7467ccdff6886)
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_iz.c
|
8c764d5c34548d56e912cdc5990adffb0e8fd9f7 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Respect CondSwizzle in OPCODE_IF. Fixes piglit glsl-vs-if-bool and progs/glsl/twoside, and will likely be useful for the looping code. Bug #18992 (cherry picked from commit 78c022acd0b37bf8b32f04313d76255255e769c1) (cherry picked from commit 63d7a2f53fb38e170f4e55f2b599e918edf2c512)
rivers/dri/i965/brw_vs_emit.c
|
a0b7850f1da6e367ed3380fbf0a59fa5af992546 |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: asst clean-ups, etc in brw_vs_emit() (cherry picked from commit fd7d764514c540987549c3ea88a2d669b0f0ea58)
rivers/dri/i965/brw_vs_emit.c
|
3d6c73513c5918a3f833ebf402803946b78828b8 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Emit conditional code updates as required for GLSL VS if statements. Previously, we'd be branching based on whatever condition code happened to be laying around. (cherry picked from commit 7007f8b352763af89805f287153cb7972bff0523)
rivers/dri/i965/brw_vs_emit.c
|
83e6c67363d77d89ab4b6e2e202c8634d582c907 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Spell "conditional" correctly.
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
f396263651b867be39800bfd274b1be3d78ef60f |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix RECT shadow sampling by not losing the other texcoords. Bug #20821 (cherry picked from commit 191e028de20b2f954621b652aa77b06d0e93652a)
rivers/dri/i965/brw_wm_fp.c
|
63b3fa2bcecc75a116ce651da435d205ccd43584 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Assert that the offset in the VBO is below the VBO size. This avoids sending a bad buffer address to the GPU due to programmer error, and is permitted by the ARB_vbo spec. Note that we still have the opportunity to dereference past the end of the GPU, because we aren't clipping to a correct _MaxElement, but that appears to be harder than it should be. This gets us the 90% solution. Bug #19911. (cherry picked from commit d7430d942f6c7950a92367aeb13b80cf76ccad78)
rivers/dri/i965/brw_draw_upload.c
|
217af32c2d6afab5e1907cc16fb4b6feb982abe7 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Even if no VS inputs are set, still load some amount of URB as required. See comment on Vertex URB Entry Read Length for VS_STATE. This, combined with the previous three commits, fixes #22945. (cherry picked from commit e340d4f9866db4bae391288e83a630a310b0dd2b)
rivers/dri/i965/brw_vs_emit.c
|
456a16491bc757af6ba9a98e5706a78f748e9a79 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Make sure the VS URB size is big enough to fit a VF VUE. This fix is just from code and docs inspection, but it may fix hangs on some applications. (cherry picked from commit e93848e595176ae0bad3bfe64e0ca63fd089bb72)
rivers/dri/i965/brw_vs_emit.c
|
9eca0e5350377148976e0d1200f98bd20ac28197 |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't emit bad packets when no VBs are referenced. It appears that sometimes Mesa (and I suppose a VS could as well) emits a program which references no vertex data, and thus we end up with nr_enabled == 0 even though some VBs are enabled. We'd end up emitting VB/VE packet headers of 0xffffffff in that case, leading to GPU hangs. Bug #22945 (wine with an uncompiled VS) (cherry picked from commit d1fbfd0f962347e4153db3852292d44de5aea863)
rivers/dri/i965/brw_draw_upload.c
|
7e26bdb849b75f4aeb69cf8b1fdffbc461265490 |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Calculate enabled[] and nr_enabled once and re-use the values. The code duplication bothered me. (cherry picked from commit 9b9cb30d128fc5f1ba77287696ecd508e640efde)
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
213ac4bb5de1cef601e0677ef2e5ca1779851e28 |
24-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set the max index buffer address correctly according to the docs. It's the last addressable byte, not the byte after the end of the buffer. (cherry picked from commit b72dea5441e8e9226dabf1826fa3bc129c7bc281)
rivers/dri/i965/brw_draw_upload.c
|
cab307ce6b32d2ffdb0eb3bb5bae93c6fb9305fb |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: rename var: s/tmp/vs_inputs/ (cherry picked from commit 840c09fc71542fdfc71edd2a2802925d467567bb)
rivers/dri/i965/brw_draw_upload.c
|
b13a553dd419cc6997725d4bce956daa7eb64806 |
04-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix Elts handling Patch from taiu on IRC. fixes bug 23585
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_render.c
|
592a6642fc5c9f697bcc6521c99fe00b2de827c8 |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog: replace 'unsigned' with 'gl_state_index' Fixes compilation warnings with MSVC.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
3fedd08779c2bc4a5f02c035e7ca4cab5da649dd |
04-Sep-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog: rename POINT, SIZE to POINT_TOK, SIZE_TOK Fixes symbol collisions with typedefs in Microsoft headers. Perhaps we should prefix/suffix all the lexer tokens to avoid this.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
5a8e1ddf193bb25c5cf05b70088c64ede772d7e9 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence uninitialized var warnings
tate_tracker/st_cb_texture.c
|
beb05393c8d92d71ccb0f4af0bcdbe58ae8a9cdd |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position.
tate_tracker/st_cb_drawpixels.c
|
8fc945cd847aa5d343a5f76eb2f9f2c9075cccdd |
02-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
tate_tracker/st_cb_texture.c
|
6a97cca0817b743e0633ff76630a5bef24469d1b |
04-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: rework cb/db setup Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
|
eeb1402c0514248773e66f2077b0fb52f7245d56 |
03-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp parser: Add support for absolute value operator on instruction operands
hader/program_parse.tab.c
hader/program_parse.y
|
5db8ebb8f534907614247afaf1dd8621b2d0462e |
03-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Enable GL_NV_fragment_program_option for software rendering At this point the extension is not fully implemented.
rivers/dri/swrast/swrast.c
ain/extensions.c
|
b8e389bb0315287b72087b93a089ab944d77ab80 |
03-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp parser: Support new scalar constant behavior ARBfp requires scalar constants have a '.x' suffix, but NVfp_option does not. This shows up with instructions that require a scalar parameter (e.g., COS).
hader/program_parse.tab.c
hader/program_parse.y
|
67c286d20e6f1256950d81aab3f6b54cd4926602 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence uninitialized var warnings
tate_tracker/st_cb_texture.c
|
c3a0624ef01c3b347ed8a9fd3bab578b52bd9130 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position.
tate_tracker/st_cb_drawpixels.c
|
8c1d85cebe2a7f9aa9adf46deb698ee062cc33b7 |
03-Sep-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: make sure the active vertex shader bo is re-added to persistent list.
rivers/dri/r600/r600_texstate.c
|
dc60d0db5253e3b3f0813394f666d32378723353 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()
lapi/ARB_sync.xml
lapi/dispatch.h
lapi/glapitable.h
lapi/glapitemp.h
|
e059885ce357dee8b847f10e8e8c515a4a20042e |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_sync_object::Status to StatusFlag There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this.
rivers/dri/intel/intel_syncobj.c
ain/mtypes.h
ain/syncobj.c
|
5e448a8d4d1d6e8ad6430378c21c1332bc9b7588 |
01-Sep-2009 |
Eric Anholt <eric@anholt.net> |
Add ARB_sync to the xorg sw dri driver.
rivers/x11/xm_api.c
|
d5ea2dce93e6fa2782889d088b91c9c1f1d3be14 |
01-Sep-2009 |
Eric Anholt <eric@anholt.net> |
savage: Fix driver build post-ARB_sync. Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace pollution.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
|
19420f02d4540654731840e345bdcd367389ed40 |
01-Sep-2009 |
Eric Anholt <eric@anholt.net> |
s3v: Fix driver build for ARB_sync. This driver was including Xlibint.h to get the CARD32 typedef to use for 32-bit unsigned integers, which #defined Status to something. CARD32 isn't actually a 32-bit unsigned integer, so replacing with uint32_t usage should fix bugs on 64-bit along with the build.
rivers/dri/s3v/s3v_state.c
|
afd6141934a0fb52fc1739a2a9992db3ac34682b |
01-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_sync. We currently weasel out of supporting the timeout parameter, but otherwise this extension looks ready, and should make the common case happy.
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_syncobj.c
|
aee282faa74ea862064b91d847ddc279d2191b01 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.
rivers/dri/swrast/swrast.c
|
0342dce226fe79d7a6c0e7cd735c596fad3e8aac |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Don't dereference function pointers in calls. I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt.
ain/syncobj.c
|
18d3409571eaf78a93430d6d107c54cf79807213 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add syncobj.c to SConscript
Conscript
|
6af24b6b03a2ce8300c7ae78fd06c6b1edd02017 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Whitespace and include file clean-up. Based on review comments by Brian Paul.
ain/syncobj.c
|
0f8fdd81989de5026c8e415f1525931b74dd8647 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Use MIN2 instead of open-coded version Based on review comments by Brian Paul.
ain/syncobj.c
|
16b393d05990b6e917e144f9de87d0103b4c3e6d |
31-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Fix delete behavior and context destruction behavior I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared.
ain/mtypes.h
ain/shared.c
ain/syncobj.c
ain/syncobj.h
|
f5a22721c5731c7a4c20f86d9925d9e58324c7a5 |
31-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add dummy list node type 'struct simple_node'
ain/simple_list.h
|
f37070bab6af350caec905ea7658e9241042b6cc |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Add support for GL_ARB_sync to swrast This isn't quite right yet. The delete behavior and the context clean-up needs some work.
rivers/common/driverfuncs.c
rivers/dri/swrast/swrast.c
ain/api_exec.c
ain/context.c
ain/dd.h
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mfeatures.h
ain/mtypes.h
ain/syncobj.c
ain/syncobj.h
ources.mak
|
96bdd993ec2e02da676b2f7c6a15017e022e7185 |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Eliminate trailing whitespace in extension_helper.c
rivers/dri/common/extension_helper.h
lapi/extension_helper.py
|
064913430dd288c40351b41ab9e4040d3e92f0df |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Regenerate files from previous commit
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
10a09e49fc57fb4fee432a9f41ee4cf07e55fa74 |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Add base infrastructure for GL_ARB_sync
lapi/ARB_sync.xml
lapi/Makefile
lapi/gl_API.xml
|
10067e464132e6d484c34dd277da5eb5e21cf491 |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Add infrastructure for glGetInteger64v
ain/dd.h
ain/get.c
ain/get.h
ain/get_gen.py
ain/imports.h
ain/macros.h
|
d75a99edd6386ab26d69a3f0cbbed4c79fe5fad4 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix typos in separable filter functions
ain/convolve.c
|
7a7d5879e28607c151132a8b6a07cf4be36b5b3e |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: compute tex env program key size based on nr_enabled_units When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson.
ain/texenvprogram.c
|
5cd7042088bdd0b5d9a92f4fc927029a46a23734 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: wrap comment to 80 columns, remove dead code
wrast/s_drawpix.c
|
2db37ef659a43267dcb4c7a3c69b410a60a2a5d6 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new combined PBO validate/map helpers in convolution/filter funcs
ain/convolve.c
|
95027a00870bc1d12ea24dfb092a0cad6cbd5035 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new combined PBO validate/map helpers
ain/colortab.c
ain/convolve.c
ain/histogram.c
ain/polygon.c
|
dc947c8f92732fab75f89015e2d506e964a41ace |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: combined PBO validate/map helpers
ain/bufferobj.c
ain/bufferobj.h
|
203f395aaf717a6faf21a76979cc24d544ae148b |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new _mesa_map_pbo_source/dest() functions in more places This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
ain/colortab.c
ain/convolve.c
ain/histogram.c
ain/pixel.c
ain/polygon.c
|
1b448c7a5cafa68eeead2a4c45f4362a9883383b |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate PBO map/unmap helpers Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest().
ain/bufferobj.c
ain/bufferobj.h
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
e0ec405a9fa6fbc1cf2ac531ed5efd1a64e01f18 |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: helper to debug bufmgr (disabled)
rivers/dri/intel/intel_context.c
|
2f6d2a9e27f8582591dc60655f7d7b14d7552bbc |
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/radeon/radeon_buffer_objects.c
ain/bufferobj.c
ain/dd.h
tate_tracker/st_cb_bufferobjects.c
|
c19b52f10fe11282f0a3466eda2eeb1d422b7aa3 |
03-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
r600: visual depth has no meaning here. fbos get angry when this happens.
rivers/dri/r600/r700_state.c
|
a25d0dc9ec66e5de932e6e154f6bef9ffa6ab653 |
03-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
r600: make sure the active shader bo is re-added to persistent list.
rivers/dri/r600/r600_texstate.c
|
5f7c532b1e5414f65e126948b35cf9e1ef10c3a1 |
02-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: pass internal format into the miptree. We need to figure out if the compression format changes. without this texcmp segfaults if you change format enough times.
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_texture.c
|
e5b93e116180d7ae360af1fd3e7b05f14ebce656 |
02-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/dri2: add gl20 bits for r300/r600 just like dri1 does
rivers/dri/radeon/radeon_screen.c
|
cbde2765804a4fc62bcf092230a01376aedbf2cd |
02-Sep-2009 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range." This reverts commit 00413d87426f14df47d90ba3c995e1889e9f88ca. Even with fixes, using ARB_map_buffer_range in the VBO module isn't showing up as a significant win, and some cases apparently regressed. Bug #23624.
rivers/dri/i965/brw_context.c
|
ec32ef12b3a496008cc982acfefca570a88e92eb |
02-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for FlushMappedBufferRange for ARB_map_buffer_range. This should help for the usage by the VBO module, where we would upload the whole remaining chunk of the buffer for a series of range maps that should cover just a segment of it.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
82313eed01b191320721dab63d353a1634f89231 |
02-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Sync a synchronized READ_BIT map buffer range with GL drawing to it. It's probably uncommon, but would obviously have gone wrong.
rivers/dri/intel/intel_buffer_objects.c
|
aecba6b1c8c6a82018183460450f5a4bf53d02ce |
02-Sep-2009 |
Eric Anholt <eric@anholt.net> |
intel: Move MapBufferRange mesa state setting up to cover the 915 case.
rivers/dri/intel/intel_buffer_objects.c
|
e79054cc4090a2be346236236c9e18ae85cad43d |
02-Sep-2009 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
tate_tracker/st_cb_texture.c
|
5e809216a8d2e7ad093a1d25f3f6495f29e57572 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: fix the non-GNU C bit-field case" This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there.
ain/texenvprogram.c
|
4b08e7498230eac30eea1721f33994b30999acd4 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix the non-GNU C bit-field case
ain/texenvprogram.c
|
d98b9f4edbbee1654b66c8df7b1deeb401b3dc5f |
02-Sep-2009 |
Gary Wong <gtw@gnu.org> |
mesa: silence gcc bit-field warning
ain/texenvprogram.c
|
a7a3d3c27144595b2134f4271996cba901938d12 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace 8 with NUM_UNITS
ain/ffvertex_prog.c
|
8cb651578de8dc4c956eaa8c0e5f1d442a3d4a92 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove accidentally committed printf
ain/texenvprogram.c
|
83e4470d9a3367883b3fe699629f1d8648459a89 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added #ifdef __GNUC__ around GLubyte bitfield usage It would be nice if there were a #pragma or something to disable the warnings: main/texenvprogram.c:87: warning: type of bit-field ‘Source’ is a GCC extension main/texenvprogram.c:88: warning: type of bit-field ‘Operand’ is a GCC extension but there doesn't appear to be a way to do that.
ain/texenvprogram.c
|
a46e32787d98192d35bf2834011cfa5537e0e703 |
02-Sep-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
mesa: Compact state key for TexEnv program cache By rearranging the bitfields within the key we can reduce the size of the key from 644 to 196 bytes, reducing the cost of both the hashing and equality tests.
ain/texenvprogram.c
|
98a8744e02c5c1aa0c97c0265680f09f92a68818 |
02-Sep-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: CS FENCE in URB_FENCE is 11-bits wide
rivers/dri/i965/brw_structs.h
|
f5539b6991e336aa1cf302dbdb1a29b3e85cff36 |
20-Aug-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: validate sf state
rivers/dri/i965/brw_misc_state.c
|
60b08eb1fdf287d28ec66b9282513ab35a61aee0 |
31-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Make MultiDrawElements submit multiple primitives at once. Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <ian.d.romanick@intel.com>
ain/api_exec.c
ain/api_noop.c
ain/api_noop.h
ain/dd.h
ain/dlist.c
ain/varray.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
bo/vbo_exec_array.c
bo/vbo_save_api.c
|
282f578dbd790d7e5d7f371c51b72f116cda3934 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: skip bitmap drawing code if width==0 or height==0
ain/drawpix.c
|
29e22059a927a6279d035cdb149b053f8a3e0bf4 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_expand_bitmap() to skip an intermediate buffer
rivers/dri/intel/intel_pixel_bitmap.c
|
d5b6dd0001c90b896400e69067d21297d7601f32 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use new _mesa_expand_bitmap() function
tate_tracker/st_cb_bitmap.c
|
278e76832fc26678592368b7b89bfddc137e0e93 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_expand_bitmap() function
ain/image.c
ain/image.h
|
921bbfc94278d6897d44d1b6ae230315e2ab6e8c |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant assignments
ain/texstate.c
|
457e427e32324884acb064b756e327dc131ff135 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more clean-ups
ain/texenvprogram.c
|
84d6bed4d6844110af23a995e2fad0280a92d46c |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change conditional to match the previous one
ain/texenvprogram.c
|
25e5a6f279cec0863dcc341805aa7ca71189b626 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated #includes
ain/texenvprogram.c
|
95136694ab28829f75c0a9f955a79836a0c433c7 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused texenv_fragment_program::ctx field
ain/texenvprogram.c
|
1480bcacfec8f215c5827278a5f984c6bf68ba69 |
02-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ureg::abs field
ain/texenvprogram.c
|
c7ba2b8622d8a924b3ac4c7d94a3c19d12e88e03 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ureg:negateabs field
ain/texenvprogram.c
|
9ed0315271c38f5fe9cdd65020a54cbb7f61ed2b |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more comments, clean-ups
ain/texenvprogram.c
|
b5ec0a68589c5d8f0d4be2556ea6d6b01fd4e37d |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify translate_tex_src_bit()
ain/texenvprogram.c
|
f337e2c4954b4779dcf2c2b4e0e068cb3ed7b841 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code clean-ups, comments
ain/texenvprogram.c
|
d55a28e3dc712342e4a2f25aa9b661add7461e82 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace 8 with MAX_TEXTURE_UNITS
ain/texenvprogram.c
|
51334d840112557d7351b53be1208cb228add2cf |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
dri: remove unused meta_clear_tris()
rivers/dri/common/dri_metaops.c
rivers/dri/common/dri_metaops.h
|
c2542cdaffbd9b77ce0a710553d78834c04c4820 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use BUFFER_BITS_COLOR
rivers/dri/intel/intel_clear.c
|
5353961344dd75f839cfee50f226497171725cce |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix incorrect parameter type for intel_bufferobj_map_range()
rivers/dri/intel/intel_buffer_objects.c
|
85d35623859135fa6c6875be52b5c13a8d3263ba |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
radeon: trim down #includes
rivers/dri/radeon/radeon_common.c
|
18916986b4a7155e3cba2efb5dfd79dc561cfa41 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
radeon: use _mesa_meta_clear()
rivers/dri/radeon/radeon_common.c
|
92d63931e2c42ececaec33f68e1bc388764dd62e |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: obey stencil write mask in _mesa_meta_draw_pixels()
rivers/common/meta.c
|
a1e869b417745175e82377934619231363b1caba |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: set Length/Offset fields in intel_bufferobj_map()
rivers/dri/intel/intel_buffer_objects.c
|
15e6d08670eeaf843ae3d6e557d595da750a5e99 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_meta_copy_pixels() when do_blit_copypixels() fails Also, trim down #includes.
rivers/dri/intel/intel_pixel_copy.c
|
be229d24c4902b42b22e4533ad58c92a4fb11b05 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: trim down #includes
rivers/dri/intel/intel_pixel_draw.c
|
886a0a715076213266b4f96118d15de5be2bff27 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_meta_draw_pixels() The textured quad path is slightly faster and will work with POT textures on i945.
rivers/dri/intel/intel_pixel_draw.c
|
90cba4a8398bd0eacf4d17573732bec760cbd7c3 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: trim down #includes
rivers/dri/intel/intel_clear.c
|
50d8b295f6c950da3b8783ff6e1803bdfbb5c7cc |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_meta_clear(), it's a bit faster
rivers/dri/intel/intel_clear.c
|
06bf6628aabd6744ebf4268319eba4a1d377ffe2 |
02-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix OQ to set ful lstate as dirty too.
rivers/dri/radeon/radeon_queryobj.c
|
9f650e19dda3809e87c838b50b39669ea844a3b1 |
02-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix debug output to filter out less critical messages instead of more critical.
rivers/dri/radeon/radeon_debug.h
|
8ca6fd8a83412e3a76746f0ee61027b796516f95 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp parser: Parse TXD instruction
hader/program_parse.tab.c
hader/program_parse.y
|
847bc5c852214a344b6b39c619d182cb1058ecbc |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Fix handling of stateOptModMatNum The optional array index should clearly be enclosed in square brackets. This helps the oglconform test vp_binding.c get a bit farther, but it still fails.
hader/program_parse.tab.c
hader/program_parse.y
|
7d361537661b93a501c9533271458a41b965ea79 |
01-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix r100/r200 polygon stipple under kms There really need to use state emits under kms, otherwise we end up with some dwords in the command buffer before we've ever emitted any useful state. Signed-off-by: Dave Airlie <airlied@redhat.com>
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
a2bd13fec9ac2bd77ee21cb85a636fde80ce0368 |
01-Sep-2009 |
Dave Airlie <airlied@itt42.(none)> |
r100: fixup cubemap domains
rivers/dri/radeon/radeon_state_init.c
|
ae5d78198f35941046b238712d70091cb94be44e |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
xlib: plug in more meta functions, if TEST_META_FUNCS is set
rivers/x11/xm_dd.c
|
056612241ae8f8bc836ab78705a154a6d6477e0f |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer()
rivers/common/meta.c
rivers/common/meta.h
|
7a78e6e8af50f1254a6d9d1d8746a7b10add9668 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: disable another debug test
rivers/common/meta.c
|
5b0f7c6c3bbef1354725b0231c80509d880a40fe |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make verts[] arrays local vars
rivers/common/meta.c
|
97aa3d553f73d955a5c3eced33384348158307a7 |
31-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r200: emit cube for kms correctly + fix tex emit reset CS checker found some issues.
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
|
8126dfa9c24c972794193bf652d6d09a1d01b376 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
xlib: option to enable/test meta functions (disabled)
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
1fc713a1e78278e7b62bd5d8e11ac5c0093677bf |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement depth/stencil formats for meta glDrawPixels
rivers/common/meta.c
|
9c41931c0fbfc108eeba0af18db29a24b394d091 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove accidentally commited debug/disabled code
rivers/common/meta.c
|
10d81f466794c61c11225c94b2125bf2dd23748e |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_is_stencil_format()
ain/image.c
ain/image.h
|
a1d3855fb0c3969a32825d0b899076917d5ccce6 |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix selection/feedback regression This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7
wrast/s_triangle.c
|
c0633ddabbcc91dcf06fd4452eb7516c624752c0 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: debug printf for KIL
hader/prog_execute.c
|
18656201ef62da1892d66e0899001ae82e2555c2 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
swrast: can't use deferred texture/shading if using KIL instruction If the fragment program uses KIL, we have to execute it before z/stencil testing. Otherwise, deferred texture/shading lets us skip shading for pixels that fail z/stencil testing.
wrast/s_context.c
|
31a5a9e9cc943ae38077658302e43c05b80983d7 |
01-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
r300/compiler: fix warning due to no newline
rivers/dri/r300/compiler/radeon_code.h
|
e3a17904ddf5af6425efaa926a17813e59e7ce83 |
01-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
r200: emit max vtx info for index buffer. We need this for the CS bounds checking.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_tcl.c
|
ede0cd4d8c8eb8c6c443c84905138091944d69af |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp lexer: Add new opcodes
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
dc8ec05ace3d2a0284dbe47ec2d88168b1efb517 |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp: Parse 'OPTION NV_fragment_program' in ARB assembly shaders
hader/program_parse_extra.c
hader/program_parser.h
|
3f785080db33d437893564dded325452770699be |
01-Sep-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix selection/feedback regression This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7
wrast/s_triangle.c
|
efff7aa980e78dc3ee1782308f0c9f3861c9992a |
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp: Add tracking for NV_fragment_program_option
ain/extensions.c
ain/mtypes.h
|
c4a3e036ed1c755a291018251c4f55c45ac17079 |
31-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix null pointer reference in debug system if no context is bind.
rivers/dri/radeon/radeon_debug.c
|
fcf0804c05faefd196ed5525c068ee4cd30c5312 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
swrast: can't use deferred texture/shading if using KIL instruction If the fragment program uses KIL, we have to execute it before z/stencil testing. Otherwise, deferred texture/shading lets us skip shading for pixels that fail z/stencil testing.
wrast/s_context.c
|
d028cf9313aa0d2c43566acec4bbf4f6167f060e |
31-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r600: Add more trace debug output to rendering pipeline.
rivers/dri/r600/r700_render.c
|
fde929c4fdee2e998542f071ff7165d87f572593 |
31-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add support for indenting debug output. Indetion can be used to make it easier to read debug code when sections of debug output are indented.
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_debug.c
rivers/dri/radeon/radeon_debug.h
|
7870edc778338556a65a4d4167d20ad01d6a1995 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add comment warning about not choosing critical debug level.
rivers/dri/radeon/radeon_debug.h
|
6c963fbdd1c9a8a2c2efe87598bfbf0485c036fb |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Change default debug level to verbose. Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
rivers/dri/radeon/radeon_debug.h
|
012e990160edcd0f233b43a39f6efdd34a6ca194 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Convert to shared debug code.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_vertprog.c
|
239105c6c87da0b0c5c15ae54b19fe39492b0f29 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Convert r200 to use new style debug code. Only very few places where realy converted so there isa lot of to do.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vertprog.c
|
aabb36fdd58ff891e3a0946e2326d458f5a4d832 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r600: Convert to shared debug code and add a few new debug messages. There is only a few functions that have debugging enabled now.
rivers/dri/r600/Makefile
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_debug.c
rivers/dri/r600/r700_debug.h
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shaderinst.c
rivers/dri/r600/r700_vertprog.c
|
fe62e4c3ff13888a85274c23b88354777760401e |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Make OQ to use new style debugging.
rivers/dri/radeon/radeon_queryobj.c
|
b6ebcf8156c4735c2e96e5aad26c3a8dc29f50a6 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add gcc attribute to enable pritnf format warnings.
rivers/dri/radeon/radeon_debug.h
|
4e0d99a63588c67a955f797733da32d04e6f4ee6 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r100: Use shared debug code. Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_debug.c
rivers/dri/radeon/radeon_debug.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
|
f9a4a0a9710c23a2041673eec290ff2f9260cbd0 |
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add common debugging functions. These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight.
rivers/dri/r300/radeon_debug.c
rivers/dri/r300/radeon_debug.h
rivers/dri/r600/radeon_debug.c
rivers/dri/r600/radeon_debug.h
rivers/dri/radeon/radeon_debug.c
rivers/dri/radeon/radeon_debug.h
|
a5e7003565a021ceb82a8b16f4a0ecc7cc6c02e0 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added const qualifiers, move local var
ain/texenvprogram.c
|
956e6c3978abe918348377cf05e5c92971e50d3f |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix saturation logic in emit_texenv() We need to clamp/saturate after each texenv stage, not just the last one. Fixes glean texEnv failure for softpipe (and probably other fragment program- based drivers).
ain/texenvprogram.c
|
c705e7238292d6c534d18dddcc03ecc6a24a5d66 |
31-Aug-2009 |
Marc Dietrich <marvin24@gmx.de> |
mesa: fix 32bit cross compilation on a 64bit machine When cross compiling on a 64bit machine, gen_matypes.c is build for the host machine (64bit) but must generates code for the target machine (32bit). This causes wrong offsets all over the place and crashes googleearth on my machine. Solution is to add -m32 when cross compiling. Attached patch is compatible with linux-x86-32 and autoconf based builds.
86/Makefile
|
9f36473a8ecc9c3358ae99651f511725344f22cc |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added const qualifiers, move local var
ain/texenvprogram.c
|
2241665dc6d77a992edfc49a9d9d9ed8d1b52e60 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix saturation logic in emit_texenv() We need to clamp/saturate after each texenv stage, not just the last one. Fixes glean texEnv failure for softpipe (and probably other fragment program- based drivers).
ain/texenvprogram.c
|
a48ee529a256611676884262ced218ad6c05f961 |
31-Aug-2009 |
Marc Dietrich <marvin24@gmx.de> |
mesa: fix 32bit cross compilation on a 64bit machine When cross compiling on a 64bit machine, gen_matypes.c is build for the host machine (64bit) but must generates code for the target machine (32bit). This causes wrong offsets all over the place and crashes googleearth on my machine. Solution is to add -m32 when cross compiling. Attached patch is compatible with linux-x86-32 and autoconf based builds.
86/Makefile
|
1b1673fa63b1ac66cf188711ab8421a73dde1724 |
31-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add missing r7xx pci id
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
2b6ab615a42bd162b4a870218a5951ca32416c20 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set additional fields in _mesa_buffer_map_range()
ain/bufferobj.c
|
d1da8acd82190542cef7ffea41517974c0c9cc25 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set Length/Offset fields in _mesa_buffer_map()
ain/bufferobj.c
|
822c7964819ca1fcc270880d4ca8b3de8a4276d0 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional assertions for ctx->Driver.UnmapBuffer() The Pointer, Offset and Lenght fields should be cleared by the driver function since ctx->Driver.Unmap() may be called from VBO code, etc.
ain/bufferobj.c
|
28c159d61461dab0963860725b77fc56566838fa |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: clear buffer fields in intel_bufferobj_unmap()
rivers/dri/intel/intel_buffer_objects.c
|
92033a9516942d7272ce4bf36ecd422009bbaf60 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new assertions, comments about buffer mapping Since ctx->Driver.MapBuffer() and ctx->Driver.MapBufferRange() may be called from other places in Mesa (such as VBO) it's important that the driver callbacks set all the buffer object fields properly (Pointer, Offset, Length, etc). Add assertions to make sure that the driver does that.
ain/bufferobj.c
|
c69a4dce75d5282fc88f76da5ac0d27e65012727 |
31-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix obj->Pointer offset in st_bufferobj_map_range() This fixes a bunch of gallium regressions since commit 8096aa521369c3bcf5226c060efa6dd06e48ddc8
tate_tracker/st_cb_bufferobjects.c
|
d1b4351e603522be11061522cb6b685da9ef1fee |
30-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove all Mesa dependencies from the shader compiler In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_nqssadce.c
rivers/dri/r300/compiler/radeon_nqssadce.h
rivers/dri/r300/compiler/radeon_opcodes.c
rivers/dri/r300/compiler/radeon_opcodes.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/radeon_mesa_to_rc.c
|
d6d71e5bf4a720a1ee84c96231aec539ec17a7c6 |
30-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Move Mesa -> RC program conversion to classic Mesa driver This really doesn't belong into the compiler itself, since the compiler should eventually be independent of Mesa's program representation. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/Makefile
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_mesa_to_rc.c
rivers/dri/r300/radeon_mesa_to_rc.h
|
d6b8664e3cd37c081cb1dd3d6cd5ffdac1813dac |
30-Aug-2009 |
Brian Paul <brianp@vmware.com> |
swrast: minor code consolidation
wrast/s_stencil.c
|
04f8193aadaf3f70b2ab37a26546b9cef1047887 |
30-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate texture-related code in meta.c Also, allow using texture rectangles, NPOT textures or regular POT textures (preferred in that order).
rivers/common/meta.c
|
a068e098e275fc5d2aba309165263834f429143e |
27-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: use more efficient loop over buffers
rivers/dri/intel/intel_clear.c
|
0243f79eac707cb2209346b0be2f7b67ce6efdf8 |
27-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid redundant viewport changes in meta code
rivers/common/meta.c
|
3c1172f06636ff4aec24a6c68df937844da73a53 |
29-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix segfault with ARB_oq CheckQuery when results are already fetched.
rivers/dri/i965/brw_queryobj.c
|
09549704c6579aae2506891d4e9d1c258eab95db |
29-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Support PROGRAM_ENV_PARAMs in brw_vs_emit.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs_emit.c
|
e48dc9c5edb0f001bf7252ee2294d36707aa066c |
29-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Disable threshold register for KMS. Kernel side doesn't have required register in safe list so can't send it kernel.
rivers/dri/r300/r300_cmdbuf.c
|
9c0ab1fa850fdbc8a64a29c1e996579dabc84bdc |
29-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Swtcl prediction was still missing scissors. All that state stuff should really be in state atoms :/
rivers/dri/r300/r300_swtcl.c
|
32df8922a9eebf64f6bace532a21b305eacc4938 |
29-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Add missing pre_emit_count to swtcl state size prediction.
rivers/dri/r300/r300_swtcl.c
|
6818eb9b90a07a357c0399b646bf641404969e2c |
29-Aug-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Update sconscript for new ARB/FP assembler.
Conscript
|
1814d6b49c8144180231c3e43ff6b5dc9c32e12b |
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Put 'extern' first on the line to silence GCC warnings.
lapi/glapi.h
|
00413d87426f14df47d90ba3c995e1889e9f88ca |
29-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range. This looks like it's a small win on blender.
rivers/dri/i965/brw_context.c
|
8096aa521369c3bcf5226c060efa6dd06e48ddc8 |
28-Aug-2009 |
Eric Anholt <eric@anholt.net> |
vbo: Fix array pointer calculation for MapBufferRange-mapped vertex data. We would end up with the offset from the start of the mapping rather than the offset from the start of the buffer.
bo/vbo_exec_draw.c
|
2d5c74fac3cc0f9d45a9e11b2fcdea1bc67928c4 |
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for GL_ARB_map_buffer_range. Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_extensions.c
|
446a226f9fb958678dcee892847f1e6ad35151e9 |
28-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Implement ARB_oq CheckQuery in the intended way. Previously we blocked because I hadn't added the libdrm function. Now it's there, so update your libdrm.
rivers/dri/i965/brw_queryobj.c
|
0926a5f4a110926711d0f8a4eb297dc772b09aa2 |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix swtcl emit pediction. Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_swtcl.c
|
4f644e58d455cbc70fe856576321f868e36b6346 |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix scissors for dri1. DRI1 has to set scissors in framebuffer coordinates.
rivers/dri/radeon/radeon_common.c
|
4322181e6a07ecb8891c2d1ada74fd48c996a8fc |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r100/r200: Bring back old PolygonStripple for DRI1. DRI1 didn't have support for command buffer emit for stripple.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
|
bfbad4fbb7420d3b5e8761c08d197574bfcd44b2 |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r100/r200: Share PolygonStripple code.
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/server/radeon_reg.h
|
e541845959761e9f47d14ade6b58a32db04ef7e4 |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix piglit paths test. Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.c
|
a7f8b329aa75f9a34d31d01b5bf6094b764bd8a9 |
28-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r600: fix scissor also. I forgot about r600 being here.
rivers/dri/r600/r700_state.c
|
d0cb1036aa98d35ae5233d326fbb0ba592a26e26 |
28-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix scissors harder. this makes gnome-shell work on r300 for me
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_ioctl.c
|
60b072d49fd2a1b2bf59442ae7209379152b1500 |
28-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for ARB_copy_buffer. Passes glean's bufferObject test for this extension.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_extensions.c
|
812ccacabcc6af300cf476d7f82ecb75d4982cd6 |
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Fix emit prediction to account scissor emitting correctly.
rivers/dri/r300/r300_draw.c
|
e363ec1d08858735c6f2b1454c43f39c96d5bab6 |
28-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
8f4d66c5f893b49eb3973aa3b31a856314c045c7 |
28-Aug-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix incorrect tri culling in selection/feedback mode. See bug 16866.
wrast/s_feedback.c
wrast/s_triangle.c
|
c2ef10803d6c30e13f8f762cc874e3bccc8a2881 |
28-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix undefined symbol as of eabe12df44a41e97fb5736959e8864ddbd01be14
rivers/dri/i915/i915_context.c
|
1160bf7c65313f66dac0ba4011c8bfe31fee01e5 |
27-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Cleanup reported native program limits The fragment program native limits are actually higher on R4xx as reported by Alex Deucher, but using those requires some bit-twiddling changes to program handling. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.c
|
eb6e281966f603fff4ec525250b4b22c9f90f98b |
27-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Debug messages are written to stderr, so fflush that Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
570d4e375a327787441c2c7c4ae698e8993a5d6b |
27-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r200/r300: Fix swtcl prediction to work after primitie change. Swtcl calls flush everytime primitive changes so prediction has to made again after flushing.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_swtcl.c
|
43a064e06dd0d3f7ff7ae23f19248e312c0b03b1 |
27-Aug-2009 |
marvin24 <marvin24@gmx.de> |
mesa: direct program debug output to stderr instead of stdout
hader/prog_print.c
|
0dd08a9e15192dec7fd97febdbb39ce25a08a525 |
27-Aug-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: move decls before code
hader/symbol_table.c
|
82ff3190de3cd6cf4a514bac00ae02597abfb963 |
27-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix scissor calcs. For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes.
rivers/dri/radeon/radeon_common.c
|
09c73c74376ed6b12e343c89b4eac94285439860 |
27-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Increase assmebly shader program parameter limits Increase the number of native program parameters to the same values exposed by GLSL.
rivers/dri/i965/brw_context.c
|
eabe12df44a41e97fb5736959e8864ddbd01be14 |
24-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Change handling of program parameter limits Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490.
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
ain/config.h
ain/context.c
|
20d9204fbd71aebf870834b612579419d2c278b5 |
24-Jul-2009 |
Dave Airlie <airlied@itt42.(none)> |
radeon: fix max indx/vertex emission due to state checker
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_ioctl.c
|
c024f1047ff8f14fd6deaaffbb1a9aa567988549 |
26-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix vertex program MAD emit Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
|
2114acb044b1d8860350a9f14890fce1e2f315f0 |
26-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Fix bug in rc_find_free_temporary Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program.c
|
74b55970dc25d6b2a65f385fd298f141176cd4d3 |
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'fix_r300_swtcl' into push_master
|
47d4b9ff70c82956a77e8ea7a6abccaa0a9f9083 |
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix loop en condition so debug output doesn't flood meaningless values.
rivers/dri/radeon/radeon_common.c
|
e0e76edf97d391f0c4be58b9d8b91bed0be56734 |
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Make RADEON_CMDBUF more fine grained.
rivers/dri/radeon/radeon_common.c
|
97029c1860e8a99448ac157408e71bea3aa2559f |
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_swtcl.c
|
38f56411067d51ad0de0ea73498964baaacea90b |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
b2b220e6225fdd673ea7b9fdda00e98423263fc3 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: init the tex_units_used field
rivers/dri/i965/brw_wm_fp.c
|
a9a6399cd32ffe47b98d5171225fe7143552ca27 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix incorrect tex unit in emit_tex() and emit_txb() The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup.
rivers/dri/i965/brw_wm_glsl.c
|
81a101b5be0b3b98b745af33b2b0a72125e3137c |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: clean-up tex target switches
rivers/dri/i965/brw_wm_glsl.c
|
6df38e6f5a6d8f0b86928cb2b52c09d1fbe6bbff |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: asst. clean-ups in set_program_uniform() Remove redunant type check for samplers (assert instead). Move some local vars. Update comments.
hader/shader_api.c
|
babb5ba9a977d23ddae828521401eae312bdb619 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: signal that the program needs to be re-translated when samplers change
hader/shader_api.c
|
af7315e58b8bfe230f7b4c5a8d5b669d67aab9f0 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: added texture unit sanity check Check that all the textures needed by the current fragment program actually exist and are valid.
rivers/dri/i965/brw_state_upload.c
|
34da6024e3097684110cd1fd4da0f25adc415cd6 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: keep track of which texture units the fragment shader accesses We'll use this for debug/sanity checking.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_fp.c
|
f8b344114f4475ba267cbba320ab1c1d755d30a6 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: clean up texture target switches
rivers/dri/i965/brw_wm_emit.c
|
f05344fcea329c6dee04356a71323f0b7ac71566 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: var renaming, new assertion
hader/shader_api.c
|
dd528f0ec18cfbd6f0a5b23b8cb46a97b96ab965 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional instruction field size assertions
hader/program.c
|
476290946e7bd3b7fe5688622127d8c6a9c7f367 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
04d170794a22d93d58afeb5d0930e06f85964f9a |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix bug in sampler array indexing Need to add the 'offset' parameter when indexing the parameter array. Before, if we were setting arrays of samplers, we were actually only setting the 0th sampler's value. Because of how progs/glsl/samplers.c is constructed, this wasn't showing up as a failure in the samplers_array output.
hader/shader_api.c
|
7ffbe487069575d5b5077cb631a1fc9494920fbd |
26-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix two sided stencil
rivers/dri/r600/r700_state.c
|
f988c750a9d3baa2c71f9fd1c0493daef93afc86 |
26-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add missing radeon_cs_space_set_flush call fixes crash in etracer reported by kdekorte on IRC
rivers/dri/r600/r600_cmdbuf.c
|
490f640cd58d215281076ae6e0e70649db6b0ed5 |
26-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: make reloc_chunk size dynamic
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_render.c
|
f33853e56d841472f41db9c3c83276c3028a7375 |
26-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix memory leak
rivers/dri/r600/r700_fragprog.c
|
18e0fea55bbc41ce81397f22aa2c91e4feefee55 |
26-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: r4xx and rs4xx also have lte discard regs
rivers/dri/r300/r300_cmdbuf.c
|
dadf138ddbaecd7fff239df7961aac25e74f14f6 |
26-Aug-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r600: Update vertex fetch shader if necessary
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
674835f184b37ad378ce2e35f1a8326af0facc77 |
26-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r100/r200: actually init the OQ support properly
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_state_init.c
|
b6df23d8b3e70d86433ba9fc4d87338e1063fe39 |
26-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200: OQ support for r200 in theory. this is an untested port of the r100 OQ code
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state_init.c
|
5484428d7267388fde868e64531dcdf98b55fafc |
26-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: add r100 OQ support with kms. This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/server/radeon_reg.h
|
a088e5631d21fa41e8218feead2933ab3d2ddba0 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: validate shader before drawing (for debugging, disabled)
ain/context.c
|
d8b4f8c84884acdda40e01cfd9fd3c10aaab836e |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: update a texture/sampler comment
hader/slang/slang_link.c
|
c90fca3da41785dc19948637aeaec8b61e535b1a |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement shader sampler validation Shader validation should fail if there are two samplers of different types which reference the same texture unit. For example, if a cubemap sampler and a 2D sampler both reference texture unit 0, that's invalid.
hader/shader_api.c
hader/shader_api.h
|
2050baba9692600da7038dd18cbfee794caf4bf4 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_texture_index type for gl_program::SamplerTargets
ain/mtypes.h
|
b7d2023cf99319c71a929c35478dff07d35df392 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: add some texture unit/target assertions
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
|
f9ce0a91dccdfc8b4fcb3020965cb6b2d0d2f6d0 |
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: print some program fields in binary too
hader/prog_print.c
|
dbf59de6d2f8be526e97af6c768622e6ca3cf6b1 |
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Add scissor to state atom list. Scissors are jsut one of states that we have to emit so it should be in state list
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.h
|
5d10890795d9bddc8cafc4afb19cacf164d6e667 |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r600: Fix remaining warnings when building 64 bit binary.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_assembler.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_dma.c
|
87f83e193a21d7e4703664504734edd1e71920a4 |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Addd missing parameter to debug output.
rivers/dri/r200/r200_tcl.c
|
75df73838a0b75d7ee9a67369dabc08d92a59d57 |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix commit size prediction. Scissor are emited for every primitive so fix that in prediction.
rivers/dri/r200/r200_tcl.c
|
c3374bf97ecd82b915fb29c7c04951e2b75d4dbc |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix all compiler warnings.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r700_debug.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_swtcl.c
|
42ecb1287ebb8b6f29d300e8dcb0e9487504dabc |
25-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove -I$(TOP)/src/gallium/drivers from sources.mak Core Mesa and the state tracker do not depend on any gallium drivers.
ources.mak
|
a94d66e85748a6ac2b2d4700b6504cc89d1e1945 |
25-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Revert "glapi: Fix a possible race in getting current context/dispatch." This reverts commit 17090cf3efb0db8fa01b502a9c0df27cbd1a67da. We're reverting this because it causes ABI breakage with the X server. Maybe re-attempt with another patch.
lapi/glapi.c
lapi/glapi.h
lapi/glthread.h
|
418cdc66ec10c1f3005320ab46404b907c30e37d |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Revert "glx: Make drawables persistent untill they are changed by glXMakeCurrent" This commit was not mean to end in to master yet. It is still queston if this right design to fix the problem. This reverts commit 45e3be3c07f543f3f2869ba7750ba4695cd25122.
rivers/dri/common/dri_util.c
|
ce7ed63f0c2f5cb1c030f73a5d8f6544eaac0f81 |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict
|
1d5a06a1f7812c055db1d724e40d21a0e3686dd1 |
25-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix condition logic The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
rivers/dri/r300/r300_context.c
|
ff235c8ccbca77c6591aa327f1e0530584a1629e |
25-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: set proper CS section size
rivers/dri/r300/r300_context.c
|
4297f32c246cc5b726d02745456c06952322958d |
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r200/r300/r600: Warn if we emit more than prediction was. Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed.
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_draw.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_tcl.c
|
3023328ea721d2b87112e37e119345a9662d7e5e |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: add support for getting Z pipe info from drm Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
8dd151b947c36100f38cf83eca674bd427b23e47 |
24-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: code cleanup
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
|
dea10381864269bd6251a8b0af7a88de88296b32 |
24-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix fbo size calculation to after pitch
rivers/dri/radeon/radeon_fbo.c
|
bf7e4b10cbed496a12c8be17531c9cb7da1be177 |
24-Aug-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog: Set error instead of falling through with incorrect value If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect. (cherry picked from master, commit 4bccd693a72a0b42dffc849034263a68e779ca91)
hader/arbprogram.c
|
4bccd693a72a0b42dffc849034263a68e779ca91 |
24-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Set error instead of falling through with incorrect value If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect.
hader/arbprogram.c
|
93aa0fd81c44c7a5f29f30e8f730e060597b06ad |
24-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix divide by zero exception Fixes bug 23489.
bo/vbo_exec_draw.c
|
0a24e5011171d71ae88ef0a43b4625ea8d37a917 |
24-Aug-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Silence gcc uninitialized variable warning.
hader/slang/slang_builtin.c
|
4eb72568541803fe45d04d9e230212f4f0928ec9 |
21-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: flush bitmap cache if Z value changes When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <justin.dou@intel.com>
tate_tracker/st_cb_bitmap.c
|
d8a3ada7fb0f50ce9241c452364d9dcc94eef5de |
24-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Regenerate parser from previous commit
hader/program_parse.tab.c
|
4cf27608bc069225bf91d47585e344a2c122e940 |
24-Aug-2009 |
Brian Paul <brianp@vmware.com> |
ARB prog parser: use correct context limits
hader/program_parse.y
|
b9b04872d526ed7955f647542399e110ace0325c |
24-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix divide by zero exception Fixes bug 23489.
bo/vbo_exec_draw.c
|
29473d25a34d24ce20564af93514a8d3b096966c |
24-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix state emit sizes
rivers/dri/r600/r600_context.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
17090cf3efb0db8fa01b502a9c0df27cbd1a67da |
10-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Fix a possible race in getting current context/dispatch. There is a possbile race that _glapi_Context is reset by another thread after it is tested in GET_CURRENT_CONTEXT but before it is returned. We definitely do not want a lock here to solve the race. To have correct results even under a race, no other threads should reset _glapi_Context (or _glapi_Dispatch). This patch adds a new global variable _glapi_SingleThreaded. Since _glapi_Context or _glapi_Dispatch are no longer reset, _glapi_SingleThreaded is tested instead, before accessing them. DRI drivers compiled with this patch applied will not work with existing libGL.so because of the missing new symbol. If this turns out to be a real problem, this patch should be reverted. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/glapi.c
lapi/glapi.h
lapi/glthread.h
|
3076d1617db67d49ff773096123c1fa47af58272 |
14-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Static mutex does not work on WIN32_THREADS. This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/glapi.c
|
fc2feea685d86c520fb01199caa5a46eae20c7aa |
10-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Fix a race in accessing context/dispatch TSD. If multiple threads set/get a TSD at roughly same time for the first time, glthread might (wrongly) initialize it more than once. This patch solves the race by initializing context/dispatch TSDs early. Acked-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/glapi.c
|
99939982ec76cb1fee84da9027375c55888dca20 |
10-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
glapi: Protect _glapi_check_multithread by a mutex. Multiple threads might call _glapi_check_multithread at roughly the same time. It is possbile that all of them are wrongly regarded as firstCall if there is no mutex. This bug causes xeglthreads to crash sometimes. Acked-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lapi/glapi.c
|
f785b35b47926e052571386227eff58db7c084e2 |
24-Aug-2009 |
Vinson Lee <vlee@vmware.com> |
glsl: Silence gcc uninitialized variable warning.
hader/slang/slang_builtin.c
|
53db19b57d41a5e6beea5cb5dff4f7f638ca7b50 |
24-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_layout_parameters() returns a boolean value
hader/prog_parameter_layout.c
hader/prog_parameter_layout.h
|
55c0457fe9574452b3c2558ada160c42a3e1fbdc |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add debug output to radeonCountStateEmitSize.
rivers/dri/radeon/radeon_common.c
|
ec61f677c322c30771c351c5f0b79c917caf2a49 |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r600: Fix indetion and add useful debug output.
rivers/dri/r600/r700_render.c
|
75da0a6a561e9cd0ab64494d10e6645c35d31e82 |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict
|
ed14a4cb7bbcef45668a3ab6fe8efb267b7c4efd |
24-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add support for EXT_framebuffer_blit
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_fbo.c
|
67d4a5b15cfd8583c19a5776b0ec1564b60239eb |
24-Aug-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/swrast: use one fewer divide in swrast's choose_cube_face also Same change as for softpipe
wrast/s_texfilter.c
|
2b29d210188f760a6a90d3a3a35dd185e4b28d8b |
24-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r600: scissor updates for dri2 Pulled from Dave's WIP patch.
rivers/dri/r600/r700_state.c
|
f758a8bf2e155725507bfe75add1fa81ccb569ae |
24-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r600: switch to common cs functions needed for dri2. Pulled from Dave's WIP patch.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
|
436fb34369f29f4036c5403dcef68353c5ca10e1 |
24-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: map 16 VS outputs Should cover everything exported from the VS
rivers/dri/r600/r700_state.c
|
d6f7ebd60352c9bb44549329e9ab61b727c7179e |
24-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix logic copy paste error Spotted by airlied.
rivers/dri/r600/r700_render.c
|
fe42b4b7577feb5a0f10be2faf34da191e34c135 |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r600: Improve emit prediction.
rivers/dri/r600/r700_render.c
|
885906840d1b60650fe49d282046fc775bbcdcf1 |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r600: Predict emit size for next rendering.
rivers/dri/r600/r700_render.c
|
ccde2768380efbdde467cc37e1a248c447f46d20 |
24-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix dri1 ctx emit size.
rivers/dri/radeon/radeon_state_init.c
|
7bb0f880dbdee0c57693c3a1f331d7c0894e71e1 |
23-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
|
4484ce9c7b196a686a3928f7e29dc8d9b6f3cae3 |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: add radeon_cs_write_table to the legacy path
rivers/dri/radeon/radeon_cs_drm.h
|
becb50f84dc94f643dc480d6a2256518f1a5a854 |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: bump reloc_chunk size This fixes openarena reloc errors. This needs to be made more dynamic.
rivers/dri/r600/r600_cmdbuf.c
|
670bd47df9f76b8e78c266b71d26a2a3968080ec |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix count for CB/DB target state
rivers/dri/r600/r700_chip.c
|
e1801d861a4654b98fe67b5ee69d6732d80b06e2 |
23-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix a typo
rivers/dri/r300/r300_render.c
|
bcbe27d0ca304bb40c150a4fe5b846e8a987980e |
23-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: use proper macro
rivers/dri/radeon/radeon_queryobj.c
|
7e7f0f61bf41bccfdd0f68afc03ccc6b1d3c0c91 |
23-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: use bo_is_idle interface for checking if OQ result is available
rivers/dri/radeon/radeon_queryobj.c
|
4aadda5f66adda1b7814ec1dec39b5e8f4f71cc5 |
19-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor optimization use properly implemented OUT_BATCH_TABLE where possible
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_cmdbuf.h
|
9b70c33e735ff060ddad7d0b501d19c670f41618 |
23-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog lexer: Fix lexer to eat both DOS and Unix line endings
hader/lex.yy.c
hader/program_lexer.l
|
7a05a4c65cdb109ed43ee4587492f4637d3707b3 |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: use persistent bos for shaders
rivers/dri/r600/r600_emit.c
|
41934be2544ac47a308719c08ee1bba344fed78d |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: always emit CB base Not doing so seems to cause lock-ups or rendering problems on some chips. I think there is an logic issue related to CB and VGT on some chips. We ran into similar issues in r600_demo IIRC.
rivers/dri/r600/r600_context.c
|
b34695375ea6dcf78a113041ed8beb20cea15c71 |
23-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix compilation with legacy memory manager.
rivers/dri/radeon/radeon_bo_drm.h
|
66bbafb6f9d44da3baddac6d948ba361182dde2a |
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Check from kernel if dma buffer is idle. This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_dma.c
|
bf6d0ae5980a48b24ace49030eca221dcbec163f |
23-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: make state emit more fine grained Gives a nice speed boost in most apps since we only emit what state we need.
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_state.c
|
523cb80d0f28d8dbb7b53b4d798e63baacc0ca35 |
22-Aug-2009 |
Luo Jinghua <sunmoon1997@gmail.com> |
ARB prog parser: include imports.h to kill some compiler warnings
hader/hash_table.c
|
180c304943537210b2f6459ea21e9bff85f9827e |
22-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: move full state to radeon state atoms
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
|
17813931db4cc114262d306f4c1484cd353a13f9 |
22-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add support for RS880
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
c87ef0870a84af44dac6cf9bd49679822a1c4c24 |
22-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Implement frag prog DPH like DP4 DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph.
rivers/dri/i965/brw_wm_emit.c
|
effda2e2a7f8ef7406d698c6b31dbbff408ed112 |
22-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Fix debug output.
rivers/dri/r300/r300_draw.c
|
6c5c46f842c80d4397d7971bea1a439fcd5e57d1 |
22-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Fix dri1 not to emit state that is not supported in old drm.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
|
c0f4063703265fc4009e6cadc2de79f553f99b1c |
22-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r300: Code clean up and logic fix.
rivers/dri/r300/r300_draw.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
|
6b1f144d9b75ffed88e7d1ae3e05943c34db7905 |
22-Aug-2009 |
Michel Dänzer <daenzer@vmware.com> |
Fix r300 VBO support build on big endian.
rivers/dri/r300/r300_draw.c
|
bf5d6cf455c02d752cfea320f14765b997dc7266 |
21-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: better default state size. Hopefully suokko's emit size impovements will land soon.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_vertprog.c
|
bb43c5d1cb0d3030f6bd7d72be000f980ced5bbb |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Remove calls to rcommonEnsureCmdBufSpace. All rendering is checked in r300PredictTryDrawPrimsSize which mamde these calls useless.
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
90647ff5585ffb1417190e28f88bf1aeed681793 |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: protect against buffer overflow in state atom debug code.
rivers/dri/radeon/radeon_common.c
|
4cfb1b880b52d6bba32f4ebec78040ff6bf6737f |
21-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'asm-shader-rework-1'
|
b7ec2ebe33608f9107ff7cae6b974edc8097cecd |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Improve state emit code. Trying to make understanding code easier with small refactoring and renaming.
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_draw.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
0bf4308580a88ac672f84472cb76e0236d7f8902 |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Add debug output to show how much was emited in TryDrawPrims.
rivers/dri/r300/r300_draw.c
|
ef98eed0a94f3b76399b19f9f65ca6977cd11b5d |
21-Aug-2009 |
Brian Paul <brianp@vmware.com> |
radeon: fix incorrect loop limit (warned by -O3)
rivers/dri/radeon/radeon_state_init.c
|
1aba1baa622116759bfedca87f37e527c0111d16 |
21-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: flush bitmap cache if Z value changes When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <justin.dou@intel.com>
tate_tracker/st_cb_bitmap.c
|
d6b5464aaa93585376610ce8cace66ea3798723d |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Predict emit size for next rendering operation. We do flush for cmd buffer in case there isn't enough space left for whole rendering operation. This protects dma regions from getting released in middle of state emit. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_draw.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
|
12fe319c53187e9a316f8c26441040a84ae4efca |
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Handle possible fall back if space check fails.
rivers/dri/r300/r300_draw.c
|
11d3ec1f93fe49e6299c2ccae4d3bf0f5f39372e |
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Delay allocation of dma regions in TryDrawprims. This makes it easier to predict size of next rendering operation so we can do early flush.
rivers/dri/r300/r300_draw.c
|
66513ba884350c45226c3820d43bfa0b834b93c1 |
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Clean emit code. This fixes some state atom check functions from returing wrong emit size. There is emit code cleanup so that emit function selection is done in init time instead of runtime. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/radeon/radeon_cmdbuf.h
|
d1a0ece9077b3de49c293a04c220b995424cef28 |
12-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Port flush preventation code from r200 to r100. - emit prediction - fixes to emit_sizes for data - clean up of excesive use of radeonEnsureCmdBufferSpace Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
60d156f68864c48e18dfc2691eca5e11c4000fa8 |
12-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Make swtcl use state size prediction for flush. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_swtcl.c
|
e083f53ce4a8115df9d56b99d5dcfc249c7f90e7 |
12-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Remove unnecessery Elts from r200 context. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_tcl.c
|
9f7676c7182c0ae3d191b2e6e923b3196fc9e376 |
11-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Remove unnecessary calls to rcommonEnsureCmdBufSpace. Calling EnsureCmdBufSpace is not required because rendering pipeline has to quarentee free space. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_common.c
|
0f41259eff62e341e9bfe6ec39f2a7fb8f1c7656 |
11-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix atom->check call to return emit size for atom. This patch makes render emit size prediction count the corect maximum emit size for state. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_common.c
|
fb1d0bfd47fb8790e0b350a0fad7bc0af39e70f4 |
11-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Prevent flush in middle of rendering. Patch adds prediction functionthat tries to predict emit size to the smallest possible values that is quarenteed to be higher than worst case scenario in rendering pipeline. State emit size prediction code is in place but fix for emit sizes is included in next patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
|
7f8f486b36dc42a3818546c704321320fcdbc94b |
07-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r200: Add -Wall to default build flags like it is in r300/r600 Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
|
45e3be3c07f543f3f2869ba7750ba4695cd25122 |
04-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
glx: Make drawables persistent untill they are changed by glXMakeCurrent This fixes bug that xdemos/manywin would segfault if it was run with command ./manywin 2. Demo is tring to call glXSwapBuffers while another context was bind using glXMakeCurrent. Fix is simple makes drawable and readable persistent untill they change or context is destroyed. I found a logic error when same dri context is used for multiple drawables which caused readable and drawable to fall out of sync in special case. Fix is simple just updating drawables more often than in original patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/common/dri_util.c
|
0c0cea250d6615bbd500ac0b61b5d34bc61711cf |
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add comment to explain logic for freeing dma buffers.
rivers/dri/radeon/radeon_dma.c
|
ac5551fbb97dd668f0c96c334d23b1fc48d16e18 |
21-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Revert part of previous change to constant parsing The commit "ARP prog parser: Implement the spec, not what makes sense" broke the parsing of scalar constants. This commit reverts that part of that commit. Now vp_swizzle.c passes.
hader/program_parse.tab.c
hader/program_parse.y
|
ba48e78b1f7cf307d505583f758c65b158f5aae0 |
21-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: convert to using common radeon state atoms switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_common_context.c
|
a47bb56d45af07b8cf1461c4c00620ec0b6aca41 |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: improve state emission Slowing migrating to atom based system like the other radeon drivers.
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
ad36058e21630bcb13244ff5939cb7ced44eb715 |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: split state emit into block specific functions We probably want to go finer grained eventually, but this is a good start.
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_screen.c
|
0f0a9e3ee752f1746d6dba748522fb3e15e4af1a |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: try and get everything in the draw in one IB fixes corruption issues with apps like teapot and geartrain.
rivers/dri/r600/r700_render.c
|
1b1d59137301b9f8bccba8e61fb2d93f824616bd |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: move misc regs from general state These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly.
rivers/dri/r600/r700_chip.c
|
39ec4a9253197c4507d53ce9a3c1d8963d8f5cea |
20-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add GL_DEPTH_STENCIL to glCopyPixels error check Plus, add a comment about 'type' error checking. See bug 19087.
ain/drawpix.c
|
525ddb1f56aceee74a08764315dc6420f198ccc2 |
20-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: rework emit code make sure we allocate enough space for relocs
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
ec1540052b8f2f4340bb2c8624e667df7a9a23db |
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Update regulary cs processing info from kernel. This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_dma.c
|
8604a896a60a5f3f81d6ebecf827aeaddf8c640c |
19-Aug-2009 |
Brian Paul <brianp@vmware.com> |
gallium: rename copy/fill_rect utility functions
tate_tracker/st_texture.c
|
174aeabc0f00440e3d18813f0b461470448929fc |
19-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix typo in last dma patch
rivers/dri/radeon/radeon_dma.c
|
29e51c3872531366570d032147abad50f8a3c1af |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix failure to commit -a --amend before last push.
rivers/dri/i965/brw_tex_layout.c
|
a70e1315846cd5e8d6f2b622821ff8262fe7179d |
19-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Align cubemap texture height to its padding requirements.
rivers/dri/i965/brw_tex_layout.c
|
b053474378633249be0e9f24010650ffb816229a |
13-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Align untiled region height to 2 according to 965 docs. This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe.
rivers/dri/intel/intel_regions.c
|
947df2e5a8e4e701db67219179fb9953df8ff6e6 |
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add debug output for dma buffer object numbers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_dma.c
|
66e019c6c91e6ae3fb9e26a12d7b7782a0095a8d |
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix dma buffer object pool to scale object sizes. This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
|
d551b3ac88bffae7e0170ca3f0993c8dcd491c32 |
19-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: minor cleanup
rivers/dri/r600/r700_chip.c
|
73fc09a7bf5c63b595251dc10997891c72ecb119 |
19-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
ee0984e299f7a48fbd3a0172ec9c471e0e8cbb92 |
19-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: when emitting vertex program fog, set yzw=0,0,1 Fixes piglit fp-fog failure with gallium.
ain/ffvertex_prog.c
|
b062a119ff5fa06fe7b2e40262829f93cde63a96 |
18-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS query
ain/get.c
ain/get_gen.py
|
a512985fd81c1ed4ccc5e69aaa05015cf7ff844d |
18-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into asm-shader-rework-1 Conflicts: src/mesa/shader/arbprogparse.c
|
0b5af41c6fae2809f4567a7cecbd207e5e4f3ab5 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Delete the old parser
hader/arbprogparse.c
hader/arbprogram.syn
hader/arbprogram_syn.h
|
ea8db5c3329bdee6ea0ca9b347730ec348d7c0af |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Revert some changes to debug output
hader/arbprogparse.c
|
f9b8562f32b77a27c872d4c70a86995032541107 |
18-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: balance dma buffer mapping In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer.
rivers/dri/radeon/radeon_dma.c
|
caae3f1e8d6e49567c2e26ac2eef1bdd535f4e19 |
14-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r300: Movde debug output from stdout to stderr in copiler. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
|
1279cdcb1f3e37a91bb5252826386205dc3e579d |
26-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r200: make use of DMA buffers for Elts a lot better. This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
|
ae290fd93e41d3f33546d0376ea7ff93bb8fcf31 |
15-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Fix missing offset from elt buffer pointer. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_tcl.c
|
bbf2b5c4ffcb6755d34a5b698445aecf604e45fb |
14-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Optimize memory handling for dma operations. We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
|
c745c87b3ecd6d9b734c48b0afa3d60e1a44d638 |
18-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r300: fix the build on big endian
rivers/dri/r300/r300_draw.c
|
521dea21d46b4012653a4998d92ac0f6c0d1a8d4 |
18-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r600: fix build
rivers/dri/r600/Makefile
rivers/dri/r600/radeon_queryobj.c
rivers/dri/r600/radeon_queryobj.h
|
771e19a8619fa6cd27eec3beb747f53cf786a024 |
18-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: remove warning introduced with OQ
rivers/dri/r300/r300_context.c
|
f74e00f4d1cafb5555aefec124edb47cc2891f92 |
18-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix build after OQ commits
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_queryobj.h
|
9ad76e9479c9c3cb8b2947d5144de33bb31197b8 |
16-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: OQ rework Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_queryobj.c
rivers/dri/r300/r300_queryobj.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_queryobj.c
rivers/dri/r300/radeon_queryobj.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_queryobj.c
rivers/dri/radeon/radeon_queryobj.h
|
0e705c0dd397fe3c607551f988614178dacb9fa4 |
16-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix missing BEGIN/END batches
rivers/dri/r300/r300_cmdbuf.c
|
c80bc3abcd3939e5e2d45aea4b01ff22bfec244b |
18-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix big endian build
rivers/dri/r300/r300_draw.c
|
af1dc225c2af6fd188cee8b0e2447d6b769518b3 |
18-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix counting error after the last commit
rivers/dri/r600/r700_render.c
|
66c632b5a1fe165718cc1fe3f2f9030ed05e4d01 |
17-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: make sure the number of indices is valid make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example.
rivers/dri/r600/r700_render.c
|
c3380ded10200f2df0cfba4abbe9a9eb892f7cbb |
17-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: remove RADEON_DEBUG_BO stuff This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r600/r600_emit.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
c952c1f109960a50aebf5a6d6bf3cf1e005e0729 |
17-Aug-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: split vbo rendering with big drawarray case Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536.
rivers/dri/r300/r300_render.c
|
743c4af5cdc4c8634d1a26055a8d70f933c88024 |
17-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: turn off bo debugging
rivers/dri/radeon/radeon_common_context.h
|
fd97f2f8b836bf4370d2a57988de3fe88bd50489 |
16-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: disable ZTOP only when occlusion queries are used
rivers/dri/r300/r300_state.c
|
60587182d4ade36df75ee13edf8df6b529fbb0f1 |
11-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable ARB_occlusion_query Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS.
rivers/dri/r300/r300_context.c
|
d2b1b9e8d5407e87fc2a6276568088115c28029f |
15-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add flag for drm OQ support
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
f3e1d7d6f81f1b84e5cf83a1c7118067ba670f79 |
11-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: temporary occlusion query hack
rivers/dri/r300/r300_state.c
|
8d60c0b7514dad075e5d46448614e8e8c5c230a7 |
11-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: clear not_flushed OQ list after flush
rivers/dri/r300/r300_ioctl.c
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_common.c
|
c903834d4d533e3095fa520afef65d185362cf5d |
15-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300/oq: add some debugging info
rivers/dri/r300/r300_queryobj.c
|
0d0f01e2e0b37ed5152614ceeff34da8e46b5e37 |
11-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add occlusion queries support TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_queryobj.c
rivers/dri/r300/r300_queryobj.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
f2daded8123c0d82e4cd29710a5b2dfcc99068a1 |
15-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon space: realign with drm space check code
rivers/dri/radeon/radeon_cs_space_drm.c
|
a6cc45e135fbcf2360950c59ddef94e1f5574f2a |
15-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fixup space checks since VBO code Hopefully this gets the ordering correct so the space checks don't fail.
rivers/dri/r300/r300_draw.c
|
3cc9a28b9b493d2426e2f182fc26b9da847e0c7f |
15-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r300: add just in case warn I don't think this can actually happen
rivers/dri/r300/r300_render.c
|
5e4e8effecb1914b31b869e2aa91f2299e57229d |
15-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: enable vertex splitting for IBs Based on Maciej's code, just fixed up the alignments for INDX_BUFFER ut2004 runs AS-Convoy
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
b9789948e0b5c5fad7952ea5b731c675d50a4f58 |
15-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: disable bounds checking on arrays with stride 0 if stride is 0 we cannot use count as max index for bounds checking, since the hardware will simply return 0 as data for indices failing bounds check. If stride is 0 any index should be valid hence simply disable bounds checking in this case. This fixes bugs introduced with e643bc5fc7afb563028f5a089ca5e38172af41a8.
rivers/dri/i965/brw_draw_upload.c
|
e304c65a2b9c1005d6216e91d90a99001549a63d |
15-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Add support for GL_ARB_seamless_cube_map
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/intel/intel_extensions.c
|
06ae1db4a987fd22a56b6d8a640baffe73599a36 |
14-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Regenerate files for GL_ARB_seamless_cube_map
ain/enums.c
ain/get.c
|
9d5bb3c6f820a5a99e1f55b2fd14d250761fcddc |
14-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Infrastructure for GL_ARB_seamless_cube_map
lapi/ARB_seamless_cube_map.xml
lapi/Makefile
lapi/gl_API.xml
ain/enable.c
ain/extensions.c
ain/get_gen.py
ain/mtypes.h
|
970f76866617bc084847ce112c925b456d3deacc |
14-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Regenerate files for GL_APPLE_flush_buffer_range
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
a89963cec1b5872d620c73ed8a5e54b10e3bf28b |
15-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
Merge branch 'vbo_clean' Conflicts: src/mesa/drivers/dri/r300/r300_draw.c
|
7fe0dd2e6e927e4ec3e532e08aa0551ebaec4cc1 |
14-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: mark VBO buffer objects as persistent
rivers/dri/r300/r300_draw.c
|
cd703049db2adaeecc6149dfa224cc17d4613142 |
14-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: unmap buffer objects after usage
rivers/dri/r300/r300_draw.c
|
71b1610941f9bfefa01d827fd19cc2368e6cdae3 |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: append uniform values to the log file the first time we use a shader This info is essential to using/debugging a shader outside of its normal application.
ain/context.c
ain/mtypes.h
|
12199ed96ca0dd2307e9893c58300623cfa6c0ee |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: also pass the GPU program to _mesa_append_uniforms_to_file() We want the post-link program at this points.
hader/prog_print.c
hader/prog_print.h
|
e3d47515f9b376b00743137529b4ca35a8436c92 |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: call _mesa_valid_to_render()
bo/vbo_exec_array.c
|
d09a19bf6e09eb0c8908e9b5378962ac17bcbc4c |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
db598b899868ba6db8f3f525a22a45331589592e |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_append_uniforms_to_file() debug/logging function
hader/prog_print.c
hader/prog_print.h
|
b6e5600bd460245afef605dbfbcf6650ff677dcb |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_valid_to_render()
ain/api_validate.c
|
d03dde16ebb5ab7f109c8ff6d710d54d50d4fa8f |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: call _mesa_valid_to_render()
bo/vbo_exec_api.c
|
56c4226fcc54158eb7fe54eeb13539a979ec155c |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_valid_to_render() function Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc.
ain/context.c
ain/context.h
|
a48b0a5ce7fc17eab4daa375fb95768fa2f50825 |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor error string changes
ain/api_validate.c
|
e691b0e533c552dc5884192a9a2b9347f704479d |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Allow external settings of MAX_WIDTH/HEIGHT. Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f)
ain/config.h
|
3ffaa11f888ced2ae5da7e794a57f20dcc7a3dfc |
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move assertions in test_attachment_completeness() Put the assertions after the error checks.
ain/fbobject.c
|
cdaf63d0eac3787c2e153c91925ced5237ed7941 |
14-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove broken vertex splitting Revert to previous behaviour of dropping to big render operations.
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
9e018d822523e559fa8d92c3b5a83dd5554a0676 |
14-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rework index buffer setup Copy elements directly to DMA bo to get rid of one memcpy, and prepare for using VBOs for index buffer.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
7c060bff13c4e0ac9ea0644a0fe0fc98f46f9b5d |
14-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unused software TNL path This doesn't remove software TCL path - so RS480 and RS690 work as before.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
5fb5ea97f4439184f03075f57fa1fda56caf51b4 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use VBOs for vertex attributes
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
|
66bc17e80e22d8f205cc02171b1c266feab6631f |
14-Aug-2009 |
Tom Fogal <tfogal@alumni.unh.edu> |
Allow external settings of MAX_WIDTH/HEIGHT. Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS.
ain/config.h
|
87946d206f64946af564f2086299e190883ef6ad |
14-Aug-2009 |
Tobias Doerffel <tobias.doerffel@gmail.com> |
intel: in intel_context struct use typedef for sarea struct Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be a common standard now, therefore fix it also in intel_context structure. Additionally this silences a compiler warning: intel_swapbuffers.c: In function `intelFixupVblank': intel_swapbuffers.c:48: warning: initialization from incompatible pointer type Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
rivers/dri/intel/intel_context.h
|
895f7c33d4459da80cb41f566b2036d86e1898f5 |
29-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add required symlinks Reported by adamk on #radeon
rivers/dri/r300/radeon_buffer_objects.c
rivers/dri/r300/radeon_buffer_objects.h
|
e029c91fd32f934161dad05ffc46a949c70c79db |
01-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: handle debug versions of radeon_bo_open
rivers/dri/radeon/radeon_buffer_objects.c
|
6bcbeb02d61442919a2ae4dfd642547e5f7b1439 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add VBO support (not enabled yet)
rivers/dri/r300/Makefile
rivers/dri/radeon/radeon_buffer_objects.c
rivers/dri/radeon/radeon_buffer_objects.h
|
2233ac61e1a690f47a7d4a9d0894c1c20c9c330f |
01-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: export emitvec* functions
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
|
d534648d904da71e604babcf408c00eae7922d16 |
26-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: constify some parameters
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
|
7069a7548f17bec2b6525775a496f1afb6364c38 |
14-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx
rivers/dri/r600/r700_chip.c
|
9d96095c1e40a2ffe988443eb2cb36b4b0a7ca1f |
13-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: move non-surface related cb state to general state
rivers/dri/r600/r700_chip.c
|
083b04e809c8d4db9033d18416f2cf761d1207bb |
13-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: move non-surface related depth state to general state
rivers/dri/r600/r700_chip.c
|
1e0f621b500db9b3ad3135426e621ffa10727d3b |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some invalid memory reads We were passing the address of a float to functions that would deref the pointer as an array.
ain/dlist.c
|
ecb177eaea20f3464b08dfc4d94a3194482cf73d |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix warnings about locals hiding function params
ain/dlist.c
ain/light.c
|
36df6a6e91988590900a879b88eac7c7acc0a86d |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing PBO mapping code in unpack_image()
ain/dlist.c
|
ad8a6937ae9933ab92f2b775410c27ec7a9afe42 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
main: fix some potential memory leaks Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
ain/dlist.c
|
f418d18ea6059c761f45f055c05fbd0bb50f7a80 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some potential uninitialized memory references
ain/fog.c
ain/light.c
|
a531a5cf940a55d4438521fe394ae5395977bf3f |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix some uninitialized pointers
hader/shader_api.c
|
03ba461c1956a466f1c6cb885d208b7a7ac4b4fe |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix incorrect attribute size
hader/slang/slang_link.c
|
53dfd5d87074cefb9258fbe4dbc916fd18597116 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
tnl: if NAN_CHECK is enabled, also assert that pos.x != 0
nl/t_vb_program.c
|
c10002361c3bc175ec12d667e762e51a2cc79b47 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/assert/ASSERT/ in _mesa_reference_texobj() We want the no-op ASSERT for non-debug builds.
ain/texobj.c
|
8a9795e5c6ca353aa831148cd1c262fe1013af48 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework error check in glGetTexLevelParameter(), remove tex_image_dimensions()
ain/texparam.c
|
423a53f635f82233e9a570bfc132edc51f7548bb |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: if maxLevels==0, target is invalid
ain/texgetimage.c
|
fe988d786c4076bfbf410b84085d8c1115baa489 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add extension checks in _mesa_max_texture_levels()
ain/teximage.c
|
47a385b43be9cf2ef0d0b24b1d588dc26940dfe6 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-ups in bumpmap functions
ain/texenv.c
|
6aa7a03d856f4cfdbed493c976387b2164a0c922 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() in more places
ain/texenv.c
ain/texgetimage.c
ain/teximage.c
ain/texparam.c
ain/texstate.h
|
73b150c816c46a88e3e5d97f9b73ab0095f2bc60 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c
rivers/common/meta.c
ain/image.c
ain/image.h
ain/teximage.c
ain/teximage.h
|
ba2a55ccd61d9fa5565640faefb64fd6fb0e70ab |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c All the glGetTexImage code is in one file now.
ain/api_exec.c
ain/texgetimage.c
ain/texgetimage.h
ain/teximage.c
ain/teximage.h
|
b9f67df6e72e3a33b91c7d942aaa99622efd688c |
11-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: short-circuit no-change in _mesa_DepthRange()
ain/viewport.c
|
1f40ffca634b8d6699c9b5d153c231e79527317a |
13-Aug-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix cube map on IGDNG
rivers/dri/i965/brw_tex_layout.c
|
4ce73ad92c723b4e65fbdc1d144b2017f9bcd438 |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove duplicate frag input entry
hader/slang/slang_builtin.c
|
f3b215cba2bca92d6582cc0c34702b73289f909c |
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'new-frag-attribs' This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere.
|
f95b82b4861c14e01ec6af81a8de65c2143952b2 |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: const qualifiers
ain/bufferobj.h
|
bd4c6a2e503db43e81ef41f77d876308badd93eb |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: use _mesa_is_bufferobj()
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_api.c
bo/vbo_split_copy.c
|
434ec3ada841915a00ffc23f699401eb3e7b37ee |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_is_bufferobj()
ain/api_arrayelt.c
ain/api_validate.c
ain/colortab.c
ain/convolve.c
ain/dlist.c
ain/histogram.c
ain/pixel.c
ain/polygon.c
ain/readpix.c
ain/texgetimage.c
ain/teximage.c
ain/texstore.c
|
604031563c92cf632f99cb4f42983faae9b509ef |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_is_bufferobj()
ain/bufferobj.c
|
abbf83551f2ec1d168c3f8449eeed8dad7b394b8 |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_is_bufferobj() function Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0.
ain/bufferobj.h
|
d64649a316858a390bafe2aa619be3cf2c98ffde |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Make the cube mapping RCP use a writemask. Fixes cube mapping since the scalar changes.
rivers/dri/i965/brw_wm_fp.c
|
5faa0dc591527683e32306456cbfe6d93afa04da |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Allocate destination registers for GLSL TEX instructions contiguously. This matches brw_wm_pass*.c behavior, and fixes the norsetto shadow demo. Bug #19489
rivers/dri/i965/brw_wm_glsl.c
|
63fa5fd319c0d0114085f47f028a36f63c1f7295 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: drop dead scalar handling in GLSL.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
08687c8b402f42eda5e0061112382528836b0fe9 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY.
rivers/dri/i965/brw_wm.c
|
863ae3a527947e43136e20a784455738d3221bf3 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Drop GLSL ABS code, which is translated away in brw_wm_fp.
rivers/dri/i965/brw_wm_glsl.c
|
4de8b8902f66843a99f5fb703658fecd5a117133 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Drop code for emitting OPCODE_SUB, since brw_wm_fp.c makes it an ADD.
rivers/dri/i965/brw_wm_glsl.c
|
0eb819a2d175cab139f8c672b6d44148b2c99a4e |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Store the dispatch width in the WM compile struct. I'll be using this in merging brw_wm_emit.c and brw_wm_glsl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
|
536476f2432168fb15ac06b52c953a594ad851ad |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Handle scalar result swizzling in shared GLSL/non-GLSL code. This is preparation for merging of brw_wm_glsl.c and brw_wm_emit.c, and glsl.c doesn't swizzle channel results around.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
|
792c49968efa20437edb8ca79d75b09e18e57af4 |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Flag ARL-using programs as requiring brw_wm_glsl.c This doesn't fix the glean testcase, but I guess it provides hope.
rivers/dri/i965/brw_wm_glsl.c
|
4e477aa1ba3bff89c9602c70536401567a538d7a |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove some unused WM opcode args.
rivers/dri/i965/brw_wm_emit.c
|
255e5be265133280293bbfd8b2f9b74b2dec50bb |
11-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Avoid re-uploading the index buffer when we don't need to. No performance difference proven at 95% confidence with my GLSL demo (n=10).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
a245c05dd3a1ca48204dd84252e6964aba91d4df |
12-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix warning
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
|
b0c191acaf0fbbfa743781908187344f5081a083 |
12-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: state cleanups
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
|
2f6675b8160c5fa2e6e9b5642c133fd2843a7508 |
12-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: clean up Create/DestroyContext
rivers/dri/r600/r600_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
b6a4f5f1d3f0a79b4502d0b30d8b259e8189b70f |
04-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r200: Prevent TexGenMatrix from leaking when destroying r200 context. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_screen.c
|
855374a76a6e83cc0ad4af143b74e655e7b77d5e |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix incorrect pointer
bo/vbo_exec_array.c
|
8f9ee069250fe65bc19c5859963ee85db96e24e1 |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: add gl_Vertex, gl_Normal, etc to list of active attributes If a vertex shader uses gl_Vertex, gl_Normal, etc, we need to include them when the user queries the list of active attributes. Before this we were just including the user-defined attributes.
hader/slang/slang_link.c
|
fd5eda1423dff38ea1af589f7abd47b002a4f5ed |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
glsl: move predefined shader input/output info/code to slang_builtin.c This is a more logical place for this code. Also add some functions for querying vertex shader input names, types, etc.
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
2708ddfb06a36d8568e2aa130bf1f7d551fcd309 |
11-Aug-2009 |
Eric Anholt <eric@anholt.net> |
vbo: Avoid extra validation of DrawElements. This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/r300/r300_draw.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
nl/t_context.c
nl/t_draw.c
nl/tnl.h
bo/vbo.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_rebase.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
ef3ad412c746203727324edbd4cbe04079332d7c |
12-Aug-2009 |
Eric Anholt <eric@anholt.net> |
radeon: Minor warnings cleanup.
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_common_context.c
|
e643bc5fc7afb563028f5a089ca5e38172af41a8 |
11-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use _MaxElement instead of index-calculated min/max for VBO bounds.
rivers/dri/i965/brw_draw_upload.c
|
29173d3d5cf02d58e720b5c7fe48a0630c7d5d5f |
30-Jul-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add protection against recursive DRM locking. Reference counting protects DRM lock call from recursive locking that would cause hang. Code also adds optional debugging output for recursive call that is compiled only if NDEBUG is not defined. This code is not 100% thread safe because mesa doesn't include increment and test atomic operation. There is built-in gcc functions but they are only available from gcc 4.2.
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
|
1e52b8b4e02c887cb493e5e2bde902b54e9c72fd |
12-Aug-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r600: A shader is bound that exports Z as a float into Red channel
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_fragprog.c
|
fd90d8000c163498646857b19ef715de3a585f9c |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: handle glDrawPixels images which are larger than max rect texture size
rivers/common/meta.c
|
dba6d52ba060246fbe04e4aa0875eb1efc53b1ab |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_meta_draw_pixels()
rivers/common/meta.c
rivers/common/meta.h
|
f8218663609f857f7ec5d43285dc918622e16392 |
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added META_FOG and optimize some meta_begin/end() code
rivers/common/meta.c
rivers/common/meta.h
|
c2b29b5df506d747e9a53bbcf5a45dc7cfe65643 |
12-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: use the drm ioctls for swap and texture upload NOTE: THIS REQUIRES AN UPDATED DRM!
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common.c
|
7013a4dfb84ce730f093600326fa158cdb1563ff |
11-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa/glapi: regenerated files from gl_API.xml
rivers/dri/common/extension_helper.h
|
20e4421fe3e938f5904d53661ce8d47163db491b |
11-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_set_vp_override() from _mesa_Bitmap() This reverts part of commit 2c9812e3d346eb07180da520909b142e8afc1c59. The calls to _mesa_set_vp_override() were causing extra state validation and caused the gallium state tracker's bitmap cache to get flushed on every call.
ain/drawpix.c
|
2ccd66d8a049fc183a3598adf01ac5cc7fa5a92e |
11-Aug-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r600: update num of interp if posizition is used
rivers/dri/r600/r700_fragprog.c
|
16a1f68c391688a631d1d8d47cd1ac78800bcffc |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: use new _mesa_meta_copy_pixels() function glCopyPixels() no longer hits a software fallback when zooming, blending, etc.
rivers/dri/intel/intel_pixel_copy.c
|
edb991b7bcb1ed6c3ad352750c6613672039a901 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: save/restore texture matrix in meta code Also, save/restore viewport and texture state in _mesa_meta_copy_pixels()
rivers/common/meta.c
|
2ad10c966c87b2efc956bcc58aaedc60f0a5c6a4 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: for meta blit, check max texture size, use glCopyTexSubImage2D() when possible
rivers/common/meta.c
|
c16fa388d3f1b941fbee2909a92b6fea10ef4bfe |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial meta implementation of glCopyPixels()
rivers/common/meta.c
rivers/common/meta.h
|
36a222cf04da18c96d2335fcae2f22f14ab013f4 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove debug flush call
rivers/common/meta.c
|
0109e1b9f37fa33c9a24ae42799e51e28a60e4b9 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: add missing \n to fprintf()
rivers/dri/intel/intel_context.c
|
8cb389ce354944a69418ca1d402791eef8fbf239 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: use new _mesa_meta_blit_framebuffer() function The previous version of framebuffer blit was a quick hack. The new meta version works pretty well.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
|
33a838beb913c011b5ee8158c2717b7c8c351b17 |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new driver meta-ops module Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates.
rivers/common/meta.c
rivers/common/meta.h
ources.mak
|
e9d9dab0cd8614898ecc2aceb49d8faf354cdbdf |
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added GLcontext::Meta field for meta rendering state
ain/mtypes.h
|
b4c95697150b8eb0bb60bb996f04be323bb56332 |
08-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon_fbo: switch short to byte for 565
rivers/dri/radeon/radeon_fbo.c
|
e0c9157671e0f3868c2c53125f885fb9be1e3a62 |
10-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix cut-n-paste in alphabits in fbo code
rivers/dri/radeon/radeon_fbo.c
|
728da99737d6618388ea724d211819227654608a |
09-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
r600: looks like a typo
rivers/dri/r600/r700_fragprog.c
|
b2927a620409e49f26592e8f4bde6911e29de3f3 |
08-Aug-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r600: load per-pixel position into PS in order to use fragment.position. This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite, tri-depthwrite2 and point-position.
rivers/dri/r600/r700_fragprog.c
|
483a7916d1c93d1edf125dc671dcfbff42a9fc5e |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()
ain/framebuffer.c
|
101c2f907e71b7c5e14dcd899389155ea802b2af |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify glPushAttrib() list building code
ain/attrib.c
|
924ba484990a57266b433b59b554124df4924fb4 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove old, prototype code
ain/drawpix.c
|
b15334035177fbb031f000583ef7cb31f68b248c |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
swrast: replace GLenum, GLint with GLbitfield for buffer vars
wrast/s_blit.c
|
4482f96c59d7d0f0b19329e997fb59dba3e84119 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_bufferobj_mapped()
ain/shared.c
|
a962c07cc3e5fba3be5c08071bc7abc5d840f138 |
08-Aug-2009 |
Eric Anholt <eric@anholt.net> |
Revert "i965: Disable texture tiling by default." This reverts commit b8e638d4895d2d342306bb6443a455f73903ce20. Now that the known hangs and misrendering issues are fixed, I'm ready to start encouraging it by default again.
rivers/dri/intel/intel_screen.c
|
ceb8afcca5b0a52b005a782ea54b301beaee1a15 |
08-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Align region height as required for tiled regions. Otherwise, we would address beyond the end of our buffers. Fixes reliable GPU segfault with texture_tiling=true and oglconform shadow.c. Bug #22406.
rivers/dri/intel/intel_regions.c
|
12c6973c6e32e5ee29242cb037830c1ca081f479 |
08-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add a note justifying domain choice for the SF VP.
rivers/dri/i965/brw_sf_state.c
|
b82abaabee3a0d0d8ec3418e8299cad1985a2776 |
08-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add some more safety asserts in the blit code.
rivers/dri/intel/intel_blit.c
|
9f981ec27dffa562cf743b4690293569477b4553 |
07-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Replace the subroutine-skipping jump in VS with a NOP if it's a NOP. This showed a 1.9% (+/-.3%, n=3) improvement in OA performance with high geometry settings.
rivers/dri/i965/brw_vs_emit.c
|
f7474a577d54765d893b78fbf0d6a969c2dc60cd |
07-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: correct fix for tiling with the legacy build
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bocs_wrapper.h
|
a2a3d8d7f056a9c3c613da62ddc2618bf5227ce6 |
06-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix googleearth by avoiding GL_VIEWPORT_BIT in meta clear push/pop I have no idea why this fixes things, but being more efficient sounds good anyway. Fixes regression in 99d07d0f91ddd37926d08f4e7f10d55cac28d9a7 where most of the lit half of the world was not drawn.
rivers/dri/common/dri_metaops.c
|
caf4f0ede78b4f6b1e340e33b96f21ce8a6ac344 |
07-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix the build with older drm headers
rivers/dri/radeon/radeon_bo_drm.h
|
0d7fafa0ed706a2053944e9b25068dfed6339a0c |
07-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
dri: Fix problems with unitialized values in dri screen object. This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/common/dri_util.c
|
d80b36f64f0a8224f2c73f3bab9b33d95c392158 |
07-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
dri: Fix problems with unitialized values in dri screen object. This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/common/dri_util.c
|
1359d69f11f2d81ad3a1d44b7f729ee243d7f53d |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove redundant calls to _mesa_set_vp_override() Called from core Mesa now.
tate_tracker/st_cb_drawpixels.c
|
2c9812e3d346eb07180da520909b142e8afc1c59 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmap We don't use the vertex program in these functions and the driver may install its own. This fixes the broken glCopyPixels swrast fallback in i965 and possibly other drivers. In particular, glCopyPixels sometimes didn't work because the fixed-function fragment program was replacing all fragment colors with the current raster color.
ain/drawpix.c
|
6807d96f8efeecd9d71e1e1bff856e7e04f5f364 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reformat code to allow setting breakpoints on the true-statement
ain/texenvprogram.c
|
7bf6efe78066b33c4ddd278d78ea44cfd12154cc |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_bufferobj_mapped()
ain/bufferobj.c
ain/drawpix.c
ain/readpix.c
|
67153a4518ad23e31205a44119b1d63951ff1fb9 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_bufferobj_mapped() helper function
ain/bufferobj.h
|
f738b913e6b3aa4e3e9bea41d37e634c6952536f |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use valid_fragment_program() helper
ain/drawpix.c
|
94504be63a9a70263a0eb2872295867c989be2b1 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists() Also, update comments.
ain/framebuffer.c
|
2dec62405f9e2e46997046a32211f25ba83d2600 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some incorrect error checks in _mesa_error_check_format_type() Plus, simplify the code a bit.
ain/readpix.c
|
3335b847bf1e1ee9e77600bd7122eb56ffbc8c07 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: do error checking on glCopyPixels() type parameter Plus, move some other error checks before state validation and update some comments.
ain/drawpix.c
|
28cfd37bb3c5dfa70715d91bd523e93dfedd3981 |
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use a more logical flag in _mesa_set_vp_override()
ain/state.c
|
b28854088bb6a6fa1a12f47056d9aee2fbdefc70 |
06-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_copy_client_array() function
ain/varray.c
ain/varray.h
|
692c50b38806b81cb576d11b6d79dd0a917e58f9 |
06-Aug-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor context comments
rivers/dri/i965/brw_context.h
|
922ef4a119ca9c7a8220843b47b890c277c29fc8 |
06-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: minor context comments
rivers/dri/intel/intel_context.h
|
6e0be1cc343bc8eee5069d7f2f53b12b1a29c216 |
06-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: move blit call out of assert()
rivers/dri/intel/intel_regions.c
|
4d24feddfff7787dd9271839951326a3710b268f |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix typo: s/softare/software/
rivers/dri/intel/intel_span.c
|
3105fd760b8a6fc34438d51d36b65670810626a2 |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment
ain/texobj.c
|
239c8bfb10d3cd61547ccc460f0b89062f3520bc |
07-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: enable tiling fallbacks in 3D driver. Only really got good testing on r500 so far, need to enable in DDX and play some more.
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common_context.c
|
2dc3fb7803cd31b20a06bcad23949be5b3a1dbb2 |
07-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
radeon span: add r200 depth/stencil span read/writing this should only really affect DRI2 since we mostly have a surface in DRI1. I don't think this is perfect yet, but it is a better start than nothing.
rivers/dri/radeon/radeon_span.c
|
eaf87e84c3e29f8473cc04f681e965fbef38916b |
07-Aug-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix scissor emission for r200 under kms
rivers/dri/r200/r200_cmdbuf.c
|
3cb6f3bf21adc5ced428521746746fb85c6ae47c |
06-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT version
ain/extensions.c
|
8c223e8eb6359d5df918e23ae5c036fa134cc40d |
06-Aug-2009 |
Alan Hourihane <alanh@jetpack.(none)> |
Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.
ain/extensions.c
|
45b12edcbe2c112a87993f810f832a9141085b17 |
06-Aug-2009 |
Alan Hourihane <alanh@jetpack.(none)> |
Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.
ain/extensions.c
|
8fdda95162fede0970989119cc77bbdc787a661a |
06-Aug-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Ignores Got tired of seeing these files in git status all the time
rivers/dri/common/.gitignore
|
f44916414ecd2b888c8a680d56b7467ccdff6886 |
06-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix source depth reg setting for FSes reading and writing to depth. For some IZ setups, we'd forget to account for the source depth register being present, so we'd both read the wrong reg, and write output depth to the wrong reg. Bug #22603.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_iz.c
|
54a7115fc27c640e2b3f1a362e8e07aac220556d |
06-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/st: Add support for binding pipe surface to texture. This commit adds functions to bind a pipe surface to a texture. This allows texturing directly from the surface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
tate_tracker/st_cb_texture.c
tate_tracker/st_public.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
42b6b067ac68ac1309d0570613bea4a88f745559 |
06-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: Add functions to clear and dirty texture objects. This commit adds a function to clear a texture object such that there is no image data associated with it, and a function to dirty it so that it will be re-tested for completeness. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
|
1f713059934c2365a42aadfdca49213b36a7de90 |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/state.c
|
a59579c983df651373435791f8f4fd249293b344 |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement BlitFramebuffer() for depth/stencil (incomplete) We now handle the case of blitting Z+stencil to/from combined Z/stencil surfaces. But Z-only or stencil-only and separate depth/stencil surfaces are not yet implemented.
tate_tracker/st_cb_blit.c
|
dcebe220f430221821a10944fbdb639a9252bfef |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent, report an error.
ain/fbobject.c
|
f792137593b16b850a8a95dbb4859d49effb9f7c |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix Y inversion and optimize st_BlitFramebuffer() Need to check for Y inversion separately for src/dest buffers. If both the src and dest regions are upside down, make them right-side up for a better chance at a fast path. progs/tests/copypixrate -blit is much faster now.
tate_tracker/st_cb_blit.c
|
727b2d747e13fed78bf62cfbf4a31427eed0ef29 |
05-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_clip_blit() a shared function
ain/image.c
ain/image.h
wrast/s_blit.c
|
ac3de85eb6af680f2884194b40ada7b3e1edda8a |
05-Aug-2009 |
Dave Airlie <airlied@linux.ie> |
r200: emit colorpitch
rivers/dri/r200/r200_state_init.c
|
63d7a2f53fb38e170f4e55f2b599e918edf2c512 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix dangerous warning I let slip in.
rivers/dri/i965/brw_vs_emit.c
|
78c022acd0b37bf8b32f04313d76255255e769c1 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Respect CondSwizzle in OPCODE_IF. Fixes piglit glsl-vs-if-bool and progs/glsl/twoside, and will likely be useful for the looping code. Bug #18992
rivers/dri/i965/brw_vs_emit.c
|
7007f8b352763af89805f287153cb7972bff0523 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Emit conditional code updates as required for GLSL VS if statements. Previously, we'd be branching based on whatever condition code happened to be laying around.
rivers/dri/i965/brw_vs_emit.c
|
011244853b538a1a5adf602c8ed2de5c0f047548 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't set pop_count in the reserved MBZ area of IF statements.
rivers/dri/i965/brw_eu_emit.c
|
8288ab4518241746be9989e008b48345c7394d10 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Print out ELSE and ENDIF src1 arguments like IF does.
rivers/dri/i965/brw_disasm.c
|
8b9a5cfce0065d6e32d3a882b6ee9f94bf2634ff |
05-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix off-by-one errors causing 6th texture unit to not work both for normal and cube textures, this fixes demos/multiarb (with 6 enabled texture units) and fixes #23142.
rivers/dri/r200/r200_state_init.c
|
7c0fb3a1bea99ff3da6c2679b109f17b26823926 |
05-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix compiler warning (unused var)
rivers/dri/r200/r200_state_init.c
|
15f5f839b1a52a49bb60e73625b8c6b2f73a75e8 |
05-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: fix miptree comparison breakage another case of image never matching miptree in case of compressed textures
rivers/dri/radeon/radeon_mipmap_tree.c
|
80cab49481b0c832f161bd61e9889d7bcd9f542a |
05-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: implement intelCompressedTexSubImage2D similar to the radeon code. passes tests/texcompsub
rivers/dri/intel/intel_tex_subimage.c
|
de80eeea0eebf00ee678b1a0fbd5fe67b00a8636 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for EXT_provoking_vertex.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/intel/intel_extensions.c
|
b010814e9c7ed30cbdd60a49d81a6ea774c8c3a3 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Spell "conditional" correctly.
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_structs.h
|
1d4bace9fca64c61ccd9f4205262417fa0ae3883 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Hook up the disassembler for INTEL_DEBUG={wm,vs}. I was getting tired of doing the dance of INTEL_DEBUG=batch, copying it out, and running intel-gen4disasm on it.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_disasm.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
ce63e9929cf3515e4ad4ea54fa5227d71ae48b93 |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Initial import of disasm code from intel-gen4asm. There's a bunch of stuff from gen4asm and gpu-tools that we probably want to make into a library instead of cargo-culting it around.
rivers/dri/i965/brw_disasm.c
|
def85826a013ac61e3125db2c33d0ddf0ca5b45c |
05-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: warning fix
rivers/dri/i965/brw_gs_emit.c
|
a746ef28df9e6e594be7eb292d2dcad3546f739a |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: log the shader checksum
hader/prog_print.c
|
f7783badb55bd2ff9bc544b2f8cc0c4ad7b86ea7 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: compute, print shader checksum
hader/shader_api.c
|
b501263bf5965aa89c408cb8f0db3688847a8384 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_shader::SourceChecksum field (for debug purposes)
ain/mtypes.h
|
9f8110adcc5a6f47b5db0915bb9265925d520856 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_str_checksum()
ain/imports.c
ain/imports.h
|
84c8315ae66f34466d0f7b9db8a825c15e0594a8 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up error debug/count code
ain/imports.c
|
def77160d69dbb0a333ea3f9263e661f8557a7ec |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reset ErrorDebugCount to zero in glGetString()
ain/getstring.c
|
b98f0f2d51494d3f766bc53941fff754fce8bd0f |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: better texture dump/debug code
ain/debug.c
|
2b82bc93e2a0bfdd48147dfa5525dee732a50ea4 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more error message info for vertex pointer functions
ain/varray.c
|
2465c4fa9cabe8c40e526b9e081de3b70c851455 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more glGetTexImage() error checking consolidation, new assertion
ain/teximage.c
|
191e028de20b2f954621b652aa77b06d0e93652a |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix RECT shadow sampling by not losing the other texcoords. Bug #20821
rivers/dri/i965/brw_wm_fp.c
|
61673aebb0c92bf187189c496e6c3a856825eceb |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: Fix inverted test for disabling flushing of front buffer output. The comment disagreed with the code, and nicely drew my eyes to what was going wrong. Bug #21774 (blender) Bug #21788 (readpix) (cherry picked from master, commit fd65418f600874b05f902b622078b40bc1abb24a)
rivers/dri/intel/intel_context.c
|
f5f8be8bb2dae91e0eb748b6f062eeb345605063 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
intel: Wait on the last swapbuffers to complete before queuing a new one. This fixes jerkiness in doom3 and other apps since the kernel change to throttle less absurdly, which led to a thundering herd of frames. Because this is a rather minimal fix, there is at least one downside: If the whole scene completes in one batchbuffer, we'll end up stalling the GPU. Thanks to Michel Dänzer for suggesting using glFlush to signal frame end instead of going to all the effort of adding a new DRI2 extension. (cherry picked from master, commit 0828579a658af01a64b5e699175dc9bbbedcd685)
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
2bec909c69c127b4a29eedfcafed9f5f2e23c51e |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
texenv: Use VP->Current, since _Current isn't updated at this point. (cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
ain/texenvprogram.c
|
f0df08abbec173be183d3d6ecf3d4ba5206df179 |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
texenv: Match state.c in deciding whether we'll be using a vertex shader. (cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a)
ain/texenvprogram.c
|
9d3929b60c9d4dd4403bcc63cb65d2673cf98b0e |
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
texenv: Add missing dependency on VP changes. Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it. (cherry picked from master, commit 03187571b63d97e3d1406d329c5e760e16ef3181) Conflicts: src/mesa/main/state.c
ain/state.c
|
d7430d942f6c7950a92367aeb13b80cf76ccad78 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Assert that the offset in the VBO is below the VBO size. This avoids sending a bad buffer address to the GPU due to programmer error, and is permitted by the ARB_vbo spec. Note that we still have the opportunity to dereference past the end of the GPU, because we aren't clipping to a correct _MaxElement, but that appears to be harder than it should be. This gets us the 90% solution. Bug #19911.
rivers/dri/i965/brw_draw_upload.c
|
e340d4f9866db4bae391288e83a630a310b0dd2b |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Even if no VS inputs are set, still load some amount of URB as required. See comment on Vertex URB Entry Read Length for VS_STATE. This, combined with the previous three commits, fixes #22945.
rivers/dri/i965/brw_vs_emit.c
|
e93848e595176ae0bad3bfe64e0ca63fd089bb72 |
04-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Make sure the VS URB size is big enough to fit a VF VUE. This fix is just from code and docs inspection, but it may fix hangs on some applications.
rivers/dri/i965/brw_vs_emit.c
|
d1fbfd0f962347e4153db3852292d44de5aea863 |
30-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't emit bad packets when no VBs are referenced. It appears that sometimes Mesa (and I suppose a VS could as well) emits a program which references no vertex data, and thus we end up with nr_enabled == 0 even though some VBs are enabled. We'd end up emitting VB/VE packet headers of 0xffffffff in that case, leading to GPU hangs. Bug #22945 (wine with an uncompiled VS)
rivers/dri/i965/brw_draw_upload.c
|
9b9cb30d128fc5f1ba77287696ecd508e640efde |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
i965: Calculate enabled[] and nr_enabled once and re-use the values. The code duplication bothered me.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
1f1ead9947aaa66346d3f33f024700d2fce90b53 |
04-Aug-2009 |
Robert Ellison <papillo@tungstengraphics.com> |
typo fix somehow, this change was missed on the last checkin
lapi/gl_API.xml
|
0d18e9259ed2d2e706c6f248a0a35d372d789544 |
04-Aug-2009 |
Robert Ellison <papillo@tungstengraphics.com> |
mesa: fix up some GLAPI XML - Added specifications for the extensions GL_APPLE_flush_buffer_range and GL_APPLE_texture_range - EXT_framebuffer_object.xml strangely held specifications for both the GL_EXT_framebuffer_object extension and the GL_EXT_texture_array extension. Split out the GL_EXT_texture_array data into its own file.
lapi/EXT_framebuffer_object.xml
lapi/EXT_texture_array.xml
lapi/gl_API.xml
|
50c736589ee0edbedf9ac434e883483b82b3030a |
04-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: more fixes for compressed textures - fix not respecting required hardware stride with compressedTexImage - this fixes #22615. - make sure correct stride is used in various places - fix stored miptree never matching with a TexImage call with compressed texture - don't always store data with compressedtexsubimage at offset 0, and actually use the supplied pixel data... (untested) - make sure rows for compressed texture handling are rounded up not down Note that trying to access stored compressed textures in hardware miptrees from core mesa (get_compressed_teximage, swrast fallbacks) can't work correctly, since RowStride isn't really set to anything useful, plus some places (at least get_compressed_teximage) assume this data has native stride and no padding.
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
|
4221e81b2489c4c91092ef49bba181a1bed216c8 |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
radeon: Fix inverted test for disabling flushing of front buffer output. (corresponding fix to the intel driver one)
rivers/dri/radeon/radeon_common.c
|
fd65418f600874b05f902b622078b40bc1abb24a |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix inverted test for disabling flushing of front buffer output. The comment disagreed with the code, and nicely drew my eyes to what was going wrong. Bug #21774 (blender) Bug #21788 (readpix)
rivers/dri/intel/intel_context.c
|
0828579a658af01a64b5e699175dc9bbbedcd685 |
21-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Wait on the last swapbuffers to complete before queuing a new one. This fixes jerkiness in doom3 and other apps since the kernel change to throttle less absurdly, which led to a thundering herd of frames. Because this is a rather minimal fix, there is at least one downside: If the whole scene completes in one batchbuffer, we'll end up stalling the GPU. Thanks to Michel Dänzer for suggesting using glFlush to signal frame end instead of going to all the effort of adding a new DRI2 extension.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
e0d61fd696b3561d575a9ee5055a1484a5ac6926 |
03-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add some new r7xx pci ids
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
a9ba1bfeb3a2852c6eda718e73c46c972a286648 |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
texenv: Use VP->Current, since _Current isn't updated at this point.
ain/texenvprogram.c
|
40990d9dfb20b69585859b2a45596aa46c20140a |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
texenv: Match state.c in deciding whether we'll be using a vertex shader.
ain/texenvprogram.c
|
03187571b63d97e3d1406d329c5e760e16ef3181 |
03-Aug-2009 |
Eric Anholt <eric@anholt.net> |
texenv: Add missing dependency on VP changes. Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
ain/state.c
|
07ee01365a8bddf6f50821ecd585784498a25ff0 |
03-Aug-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Replace IsBound by a pointer to the binding. IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/fb/fb_egl.c
|
ed6125fe9b2a806103cc58a60027aa2aba64dd2f |
03-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: we don't support GL_NV_point_sprite (see comment)
tate_tracker/st_extensions.c
|
f538d0275398276b8f9634a0b1857a01641ae927 |
03-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add some missing pci ids
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
583ed4aae54c308009346c083a1a0d49d4361631 |
03-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix the build when RADEON_DEBUG_BO is set
rivers/dri/radeon/radeon_bo_legacy.c
|
282c0c411cc1d9c10adc75cb066e8af819073975 |
03-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix r600SetTexOffset We need to properly set up a fake bo for the texture override, so add a new function to radeon_bo_legacy.c. This could probably be used on radeon/r200/r300 to unify the bo handling for texture override. compiz now works :)
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
|
d07bf2b35c1419bdef824092e509c70ffb11fd67 |
03-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: handle state emit better - move shader-related state with the rest of the shader setup/emit - start to track dirty state better
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
562ca4961186954d3abf216bcfb1e835b562b234 |
03-Aug-2009 |
vehemens <vehemens@verizon.net> |
r600: Logic Operations Fix fixes bug 23087
rivers/dri/r600/r700_state.c
|
5e5190360641ad9b328b14097d912aff3496f618 |
02-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix regression in texenv Emit shader consts with the shader program itself
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
b1700b03af44bc1e069fa7078b47c13ab19702b3 |
02-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix a regression on non-KMS The regression was introduced by 9a1c336253579d8b58b31910325227b22b4af395 Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_cmdbuf.c
|
86ac0ae0b09566d0cd66dcfc17192780f7e2df03 |
02-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix rectangle textures It might be better to add an instruction to normalize the coordinates for rectanglular textures as there are some limitations to wrap modes on unnormalized tex coords. fixes texrect
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
|
9a1c336253579d8b58b31910325227b22b4af395 |
01-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix corner-case of KIL on R300 R300 hardware (but _not_ R500) hardware requires an enabled texture unit if KIL is used in fragment programs. We now work around the CS checker correctly when enabling such a fake texture unit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
3d21e3d3a2785022c9a7af5b6a9db33cf6a3164e |
01-Aug-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix Z buffer re-emit after window resize We used to not always correctly re-emit the Z buffer size in all cases, in particular the clear path, and invalidated state was not always picked up correctly. This fixes a bug where the kernel CS checker correctly complains about a Z buffer that is too small. Note that this bug was probably only visible with ridiculously high framerates, i.e. glxgears. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
fc3d564daeacdbd76b97de2ffc10e15931a18c7a |
01-Aug-2009 |
Patrice Mandin <patmandin@gmail.com> |
mesa st: Use POT texture for draw pixels operations if NPOT texture is not supported
tate_tracker/st_cb_drawpixels.c
|
c1785c19ca0716a7e85777242949a0c33e28988f |
01-Aug-2009 |
Patrice Mandin <patmandin@gmail.com> |
mesa st: Move logbase2 function to util/u_math.h
tate_tracker/st_cb_texture.c
|
801c3fcbca69a17f0696522b91cbfc378094974b |
31-Jul-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: fix r100/r200 compressed texture stride This almost fixes compressed mipmapped textures on r200, though some small mip levels are still broken. Leave r300 compressed texture stride as is though afaik it's different to pre-radeon-rewrite too. Also do the fixup for rs600 uncompressed row stride at same place.
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_common_context.c
|
2730ee75c73e79f4196d6df5540da7063a96c25e |
31-Jul-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: s/r300/radeon in shared code error message
rivers/dri/radeon/radeon_texture.c
|
f7618f4f37d42461b1a6feaa392935d1ae703873 |
31-Jul-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix incorrect texcoord attribute test
wrast/s_points.c
|
55bc8b139067f2596da654075a4fc6e5940e22dd |
29-Jul-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Cliprects has to be updated before doing anything with clip rectangles Reported to fix corruption while dragging an active window by John Bridgman. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_common.c
|
1fcb321e2fa1903b815b099e59bd85aac823850a |
31-Jul-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Remove unused variable from context. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_lock.c
|
95b64c0ed20725db2722314d527d63aace6b7f7a |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: make sure bos are valid before usign that
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
80d80d23b6078b8a5c79675ebbdeda665251f13b |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix reloc setup re-use the same reloc index for bos that are referenced multiple times. Fixes rain demo.
rivers/dri/r600/r600_cmdbuf.c
|
177c33c481d84058f57e761b25cba735b9c7e6ea |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove unused offset_mod stuff this is a step in migrating to the common cs code
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
19ce428c8a08565b06795f4b8020dc6399694789 |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: ensure we have enough room for full state emit full state is roughly 4000 dwords, but will vary depending on the rendering. Also fix some warnings.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
54a16419235d298e4b7c1761d6abe8066e6cf393 |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: unify state emit into one function
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
|
be1687a89271a58d7e4e6f613affa609589f5048 |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: re-arrange state setup and emit so they are not mixed
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
cb90c43676c258419e4b617c908570891d3674cb |
31-Jul-2009 |
Michal Krol <michal@vmware.com> |
Rename TGSI LOOP instruction to better match theri usage. The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
rivers/dri/i965/brw_wm_glsl.c
tate_tracker/st_mesa_to_tgsi.c
|
826f1f9c6fd976ff36594e272c0a391187ca0bd8 |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: get updated pending age from cs ioctl REQUIRES AN UPDATED DRM
rivers/dri/r600/r600_cmdbuf.c
|
643d52a39443a81bbc7e9b234450754375052b20 |
31-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: warning fixes
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
e0e51ab1eab52735f23d12c3f1a2217abc51a04e |
30-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: split primitive draw into a separate function
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
|
cab62aa28f5ccdf7ca185ac965b852e2318816f3 |
30-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Remove inst_offset from r500_fragment_program_code The field is not used, and in any case it would be more interesting to manipulate from *outside* the compiler if we ever wanted to load several fragment programs at the same time or something. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/r300_state.c
|
565a2a8f38f1407e2122b2dbfa4a0bc5bb881dd3 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Add support for RGBA components to SWZ instruction in fp
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
17534ab88ce29119f79de8abfcc4170471e8f5a4 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Prevent NULL ptr deref for KIL instruction The KIL instruction doesn't have a destination register, so dereferencing dst in asm_instruction_ctor would cause a segfault.
hader/program_parse.tab.c
hader/program_parse.y
|
9c936403de1aa868de1218deb2b93344b0d8d95d |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: re-enable _mesa_source_buffer_exists() call Somehow this code wound up inside a comment a while back.
ain/teximage.c
|
4406f79402e8f986913c20c3138d12d0af670bd4 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: get_current_tex_unit() helper function
ain/teximage.c
|
25be043940b25a5fe6eb8058070b3e8f12e92039 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor glGetTexImage error checking code
ain/teximage.c
|
c156eeb682d673e571c1798ff21e183ad4114fea |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify _mesa_select_tex_image()
ain/teximage.c
|
9c9a9abd7b953ec9b6cfc52c2f6981c5d38b1691 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify _mesa_set_tex_image()
ain/teximage.c
|
1e355a0cb36f206e681d1098b425ac541bc80840 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
35e3449ad7a01c63219249b37886d59e93cbf7ac |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move misplaced return statement Fixes regression from commit 7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878
hader/arbprogparse.c
|
288299ae12603cf7ab0388db426d764c3f31304e |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing return after catching program error
hader/arbprogparse.c
|
e87320b5e033a911d4ced2d516e479cdf1bc9228 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
98ba6cfb4cc7440f0fb4f101ff714143720e175e |
30-Jul-2009 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa st: Change the preferred internal format for some RGB formats. For GL_RGB5, GL_RGB4 and GL_R3_G3_B2, prefer PIPE_FORMAT_R5G6B5_UNORM over PIPE_FORMAT_A1R5G5B5_UNORM, since hardware is more likely to support the previous format for rendering. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_format.c
|
f583745519b2b99ca637cdfa6201fd653c848fd6 |
30-Jul-2009 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa st: Report unsupported render-to-texture formats. If a texture image is bound to a framebuffer for render-to-texture, but the hardware doesn't support rendering to its internal format, report the framebuffer as incomplete with FRAMEBUFFER_UNSUPPORTED. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tate_tracker/st_cb_fbo.c
|
1e9d3ad4e1d987e1130e4bcd2ffc35f0e18064c3 |
30-Jul-2009 |
Michal Krol <michal@vmware.com> |
vbo: Fix build on windows.
bo/vbo_split_inplace.c
|
3e2b6a204966b962c9881e90fe3f0b74cf84d8c4 |
30-Jul-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Postpone ff_sync message in CLIP kernel on IGDNG In addition, it guarantees ff_sync message is issued
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
0fdac3529c8a7f7ce41420b79e817407d19a12a2 |
30-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix mipmaps redbook mipmap works
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_render.c
|
246729162ccc7e2672aa6cc957053ce3a8975a2c |
29-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add support for EXT_stencil_two_side and ATI_separate_stencil. Passes tests/stencil_twoside and glean/stencil2.
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_extensions.c
|
600710907c5b72cf33e0b3ca6dc7e0d2a1a8ab25 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARP prog parser: Implement the spec, not what makes sense
hader/program_parse.tab.c
hader/program_parse.y
|
92b9aa1646daa7d9e6470e9d1dbb3460eeae8941 |
29-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add ARB_point_sprite since we already expose NV_point_sprite. It's all fallbacks anyway due to the DD_POINT_ATTEN fallback.
rivers/dri/intel/intel_extensions.c
|
48183ca8b6adfbb9555428cb8414b821fdd15717 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Get program limits from the context Some debug code from the older stand-alone version of the assembler was hanging around and needed to go.
hader/program_parse.tab.c
hader/program_parse.y
|
cbe4133109c95fa6b90d8a601c78f043db456809 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog lexer: attenuation is not just for vp
hader/lex.yy.c
hader/program_lexer.l
|
333bb4f291b224ed82d87ade7ac157fb93fc5d12 |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Finish implementing fp state.depth.range
hader/program_parse.tab.c
hader/program_parse.y
|
e511633985ebdb423d1addefa1267a03a76da33b |
30-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Fix the order of swizzle application The swizzle used to generate the "original" value from the value stored in the parameter array happens before the swizzle specified in the instruction. This fixes problems seen in progs/vp/vp-tris with arl-*.txt.
hader/prog_parameter_layout.c
|
9d0b8d72d8d704ff4d8e10448b60cbb42f07eecb |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module...
rivers/dri/i965/brw_wm_fp.c
ain/mtypes.h
hader/arbprogparse.c
hader/programopt.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
tate_tracker/st_atom_shader.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
wrast/s_fragprog.c
wrast/s_points.c
|
b9889517f5e7eceb14bd103bbdff9ff47ce6ed25 |
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
gallium: fix SSE shadow texture instructions When sampling a 2D shadow map we need 3 texcoord components, not 2. The third component (distance from light source) is compared against the texture sample to return the result (visible vs. occluded). Also, enable proper handling of TGSI_TEXTURE_SHADOW targets in Mesa->TGSI translation. There's a possibility for breakage in gallium drivers if they fail to handle the TGSI_TEXTURE_SHADOW1D / TGSI_TEXTURE_SHADOW2D / TGSI_TEXTURE_SHADOWRECT texture targets for TGSI_OPCODE_TEX/TXP instructions, but that should be easy to fix. With these changes, progs/demos/shadowtex.c renders properly again with softpipe.
tate_tracker/st_mesa_to_tgsi.c
|
9c4c9f2837e08c5f69bc0d12bce7a656b2291837 |
30-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: remove extraneous semicolon
rivers/dri/r600/r600_texstate.c
|
b116f57bacb79205a1f80c7055964c60b402a19d |
30-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix texture pitch alignment fixes texwrap
rivers/dri/r600/r600_texstate.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
|
1e207ba9c127d12feff3e1c2e8e29da26182e0bb |
29-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: minor fixes - set MAX_LOD properly - min texel pitch is 8 texels - emit old command buffer when re-initing base state
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_state.c
|
0723cd1b0a8a76808844a2216d709f56fbad88e2 |
29-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Cleanup r300_fragment_program_code Configuration register values are now stored directly in that structure. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/r300_state.c
|
d3a1fc62f47f1a7f4422585c8c60bf8dcb0dfe4b |
29-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Adapt AllocateHwInputs interface to common usage pattern Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/r300_fragprog_common.c
|
88ebf514a41ae460dad08a4585a61541864a4432 |
28-Jul-2009 |
Eric Anholt <eric@anholt.net> |
swrast: enable ARB_vertex_array_object. It was getting enabled anyway but without the entrypoints installed. Whoops.
rivers/dri/swrast/swrast.c
|
8a430dd4dad8520a7a37573e03d85cfb6316cb56 |
29-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Indentation fixes.
hader/program_parse.tab.c
hader/program_parse.y
|
4c5879ff3185e03b3baf0ed2765e06a951b35e9e |
29-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Set NumAttributes based on the number of attribs read
hader/program_parse.tab.c
hader/program_parse.y
|
684282953937a37541f26c6e51ceec4134c62dfb |
29-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: short-circuit glFinish calls on WIN32 only Windows opengl32.dll calls glFinish prior to every swapbuffers, which makes it pretty hard to get decent performance... Work around by mapping finish to flush on PIPE_OS_WINDOWS. This is conformant, though it might confuse poorly-written benchmarks which attempt to measure a single event rather than figuring out the rate of continuous processing.
tate_tracker/st_cb_flush.c
|
2420b283b783751d4def3a3a2a0ed8bf7bb7b6a8 |
28-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: recognize no-op scissor state when checking clear_with_quads Some apps enable scissor but set the rectangle to the dimensions of the window. Don't let this force us onto a slower clear path.
tate_tracker/st_cb_clear.c
|
03607708b0499816291f0fb0d1c331fbf034f0ba |
29-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
r600: emit fog color in PS input map, fix fog related applications
rivers/dri/r600/r700_fragprog.c
|
0f6d3aece7b193dcacbd94f87ac734ee3a44b366 |
29-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: VS export fog color as parameter
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_fragprog.c
|
648dac4251de69d2949026af3dec0b0befee734b |
29-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Set component negation mask for SWZ instruction
hader/program_parse.tab.c
hader/program_parse.y
|
86b33b5649710f351d241ce6890200ac1f38f724 |
29-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Set correct register file for OUTPUT variables
hader/program_parse.tab.c
hader/program_parse.y
|
8c56029b1eb71de56b676b91ddfce06c8d3881f0 |
29-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix tex clamp modes This makes texwrap look better.
rivers/dri/r600/r600_tex.c
|
e629c50e2be03144e8aeef3c51624ae8db9957b8 |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: implement texture border color
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r700_render.c
rivers/dri/radeon/radeon_common_context.h
|
719abd7fc088c5ebc567e9ea20bdd6fc9fe1af3b |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix flat shading Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_state.c
|
dbdb3952c16e13117891a3c52db4e05c472e96b8 |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: don't call r700UpdateShaders twice for each render
rivers/dri/r600/r700_render.c
|
b1f7c844a38418cbf3fbcef6c2fb0606a1dd6b7e |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: move r700TranslateFragmentShader into r700UpdateShaders
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
4d648523aa01af3c9111f5d6394866396ebfb7a2 |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735 This breaks textures. We need to only set this bit for attributes that that need flat shading.
rivers/dri/r600/r700_state.c
|
d2f6d6ce49699d35d6b6a234fe17a27d99f4b267 |
28-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
|
506bacb8e40b0a170a4b620113506925d2333735 |
28-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp
rivers/dri/r600/r700_state.c
|
aafd5762593aa01f2d612f4d769d1af383422c1c |
28-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Add support for GL_MESA_texture_array This isn't really tested yet as no drivers actually support this extension.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
hader/program_parse_extra.c
hader/program_parser.h
|
41d5696628a5eef62cd671711b33edea9344977d |
28-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: More robust error message for bad OPTION string
hader/program_parse.tab.c
hader/program_parse.y
|
1edd13bf23c7a9dad00420f519a35f75b27e853b |
28-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Add support for GL_ARB_fragment_program_shadow Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
88018e2e073909ae807f16707f2701e068900926 |
28-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Fix handling of RECT Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before allowing use of RECT texture target.
hader/lex.yy.c
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parser.h
|
4821099429ec059dc00a28f448bc3c537296ab55 |
28-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Fix parameters to _mesa_calloc So totally awesome that _mesa_calloc has a different parameter signature than calloc. Why do these libc wrappers still exist?!?
hader/hash_table.c
|
fcf317ac16e72cff754640cb6c7490531d5de667 |
28-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix _REV texture format component swizzles
rivers/dri/r600/r600_texstate.c
|
6c03563af70e924854da2c0a06099616de08a610 |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated file
rivers/dri/common/extension_helper.h
|
bdb8ee51867b88806ec0e17a637b3ef99258e8c6 |
23-Jul-2009 |
RALOVICH, Kristóf <tade60@freemail.hu> |
glapi: regenerated GL API assembly files
86-64/glapi_x86-64.S
86/glapi_x86.S
|
8f397bffa840d9a14ee2e089728119b65d88bb38 |
23-Jul-2009 |
RALOVICH, Kristóf <tade60@freemail.hu> |
glapi: remove XTHREADS support
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glthread.c
lapi/glthread.h
|
3dbaf68bdc1f7427a60bdcc8da635ae7a27aa3cd |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
intel: Fix leak of DRI option info due to using the wrong free routine. (cherry picked from commit 6d66f23c50ebe8f973757b6fd1b81c9b7920c447)
rivers/dri/intel/intel_screen.c
|
722d136f7bd3390c72bca175831647d93393e92d |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
intel: Clean up leak of driver context structure on context destroy. (cherry picked from commit ddef7dc87b2001fbe117ee5f24a0c645ee95a03c)
rivers/dri/intel/intel_context.c
|
054ab5a50a324b1d64fe403a65a2a392ba0c09fd |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parser: Correct handling of some extensions that interact w/ARB_vp
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parse_extra.c
|
a7427b0f7b2325b8dcc560d57cb894df25ebef93 |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence warning
tate_tracker/st_cb_texture.c
|
0ad9eba333bd80cf83f728390c8cd6c573ed446d |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: separate some finite/pragma Watcom stuff
ain/compiler.h
|
3ccf89d58479d48b8643b1c67c4b9c34b6b97e4a |
27-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Make calculate_inputs_outputs available to external users In the long run, it's probably better to just get rid of InputsRead and OutputsWritten. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_nqssadce.c
|
59fff53492fb385f8567c163aed014fdd9c0f8fa |
27-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Add vertex program code dumper from Gallium driver
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r3xx_vertprog_dump.c
rivers/dri/r300/compiler/radeon_code.h
|
6bc0e1054a212ec80408f685237b0e0c1e4929f0 |
27-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Prepare for hookup to Gallium
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
|
e82a50a6a1abd39aa7153846be07b7c5e9172485 |
26-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: Move wpos_attr and fog_attr where they belong Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_vertprog.c
|
790334883a80ee1d19cb1bba018ed7dc32299dac |
26-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/r300_fragprog_common.c
|
e034683eda7ab694de400f9803f765b22393cb7d |
26-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants Also, this makes radeon_program_pair depend on the r300 fragment program compiler. Since we now know that r600+ no longer use the same pairing style in their ALU, we can stop pretending that program_pair is useful for anything but r300-r500 fragment programs. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
836050ba5eb9690e4a64499249eb71af14961deb |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: Move some of the attribute handling out of the compiler Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_fragprog_common.c
|
1348a7ebc0524276f2bd53086f13d2c263134db7 |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: Finally get rid of the duplicate program copy Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
|
3f7838168781b69aea04514a57058d0aa0cc2cbb |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Move Mesa-dependent input/output handling out of compiler Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/r300_vertprog.c
|
d6a304800b2385740f3b90efab45564e1e6203b2 |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove ugly PSIZ hack Instead of setting Sourced, we simply force writemasks to begin with. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
|
05a51f4b3dfa32c73b85b26254bf9ee270eb6be2 |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Refactor wpos rewrite using rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
ce0c32e3d23641214dae9b3fed863dc163b26ea4 |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Refactor fog_as_texcoord to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_vertprog.c
|
a1e8992ffa4e7bddb4aaeb567f9e2023ae08540e |
25-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Refactor addArtificialOutputs to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertprog.c
|
273af6857084f3a047a781a6c1a163464bdb3da0 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/fragprog: Refactor wpos rewrite to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
9dc1be415828962f62d942bf9c362410347d1e75 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor fragment program fog rewrite to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
|
aab949cb9d62343303ab0836a84fe034244d1584 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor rewrite_depth_out to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
|
6f4608f53c7ba28b5640974fc1daf6ad860df2f6 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor local transforms to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/r300_state.c
|
d2f56fe687afb2c259338542971e432dd448671b |
27-Jul-2009 |
Brian Paul <brianp@vmware.com> |
intel: Use _mesa_warning() to report GEM warnings
rivers/dri/intel/intel_screen.c
|
be32fb779beecf4bbd61c42c7eb0f8ca988a9831 |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Update generated files missed on previous two commits The changes are, as it turns out, purely cosmetic.
hader/lex.yy.c
hader/program_parse.tab.c
|
6d3ccaf3665ce4c137cdeb614a518e58d4cd8aef |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Delete comment about possibly needing to free a buffer Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes.
hader/program_lexer.l
|
09ef339b691036a5db6258aed0d9b91ee9c5b1b0 |
27-Jul-2009 |
Karl Schultz <Karl.W.Schultz@gmail.com> |
windows: updated VC8 project files See bug 22882.
rivers/windows/gdi/mesa.def
|
94b45567047fd681666f261f1ad0164049f0491a |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Clean up several memory leaks As far as I am able to determine via code inspection and using Valgrind, that should be all of the leaks in the parser.
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parser.h
|
946ea82bff530ac7aa8f5ebe56704fde62e14e86 |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add destructor for symbol_table
hader/symbol_table.c
hader/symbol_table.h
|
0044d3ba94f9041492ea90cf8961fd8b55daefda |
27-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add destructor for hash_table
hader/hash_table.c
hader/hash_table.h
|
800f48258623f8caf25d013f44784edb7caa3f93 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Allow compiler to add constants in a cleaner way Adding constants is used in a number of non-native instruction rewrites, and it required us to keep copies of modified gl_programs around. This is a first step towards ending this. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_code.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
92f7a599c7e94b0687d02efef1890e1a8ed2f9f3 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor nqssadce to use rc_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_nqssadce.c
rivers/dri/r300/compiler/radeon_nqssadce.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
|
a898e7d66c834be6b6e964e85cbbdf73e93300e0 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Refactor for rc_program usage Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
|
2237d136cd8f964048a4ccdc87e0ffb48af0f73d |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Add rc_print_program Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
hader/prog_print.c
hader/prog_print.h
|
8bcb6ef786dc41049b56e6efeca0f5788cfefe5a |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Lay groundwork for better error handling Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
|
c5cb9a337881229f1db462632fa1d64e2677f316 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove dependency on GLcontext from compiler Unfortunately, this does cause some code duplication (which we can hopefully eliminate eventually). Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_vertprog.c
|
d65404225d8ba2c16eaffac833cb7dcfd2722a38 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Cleanup source conflict handling Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/radeon_program.h
|
86e3334333d1de7fd723221155de9c8c1d0ce1c6 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Massively reduce code duplication Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
|
127ca61fa34497e69149360201ae97f87cb9f38e |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/vertprog: Use generic transforms and throw away unneeded code Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
|
84445273ed554ea6fa65c894bbe098eb3f3d1230 |
23-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Move vertex program compilation to compiler This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r3xx_vertprog.c
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
hader/prog_instruction.h
|
11cd795940723e79f99e7887a2e2dd8410352572 |
24-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Cleanup vertex_program structure Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
927f5f16826a95cf665219c4b0039eeafb936057 |
22-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove faux lazy translation of vertex programs De facto, vertex programs were translated immediately in all situations, so let's just stop pretending that we do lazy translation. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
a808b10ce82692ff91ab69a1afda24dda56cba6b |
22-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Reduce include dependencies Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_code.h
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
|
9198ab8bfca465a327ea1f2429b6ddfeb0a2b258 |
22-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Introduce rc_program and use it in radeon_pair The goal is to convert both Mesa and TGSI programs into an intermediate format that happens to be convenient for us. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_fragprog_common.c
|
9cd5e3e13a1ed2415aa116e35bc9f550b07281c9 |
22-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Add radeon_compiler as a base for compilation-related tasks Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/Makefile
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_fragprog_common.c
|
647766494f657965c4ac7129d498918e89c9e912 |
21-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove some unnecessary includes Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_fragprog_common.c
|
77a6ae64b6287c0f6ed3b03e908ab3ce397ff02f |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/compiler: Compile the compiler seperately into an archive This is all part of untangling the compiler from the classic driver, so that it may be used in Gallium without depending on Mesa stuff if possible Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/Makefile
rivers/dri/r300/compiler/Makefile
|
d6275ccf79667094de496d06aba35222be9935fc |
21-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Further reduce dependency between compiler and classic driver Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
f70d3ee3710a3453289aabf637f6818e198c67a5 |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove some dependencies on additional fragment program copies The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_common.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_vertprog.c
|
b54e0832012e6793b9c381d64aafbb8185b7144d |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove GLcontext from r300_fragment_program_compiler Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/r300_fragprog_common.c
|
e93d70e3e93df956e89c46678020de1a352f9ecf |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove GLcontext requirement from radeonLocalTransform Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
|
9ceee4d3e45ab65d9d0b9d0eb1d062883f241669 |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove unused enums Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/radeon_program.h
|
b4b286b9804203568f71a010ce1c1f163f0f8d6f |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove GLcontext requirement from radeon_nqssadce Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/radeon_nqssadce.c
rivers/dri/r300/compiler/radeon_nqssadce.h
rivers/dri/r300/r300_vertprog.c
|
d29cdde569cc685beb791a6693f8ae28e2ef5115 |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Remove GLcontext requirement from radeon_program_pair Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
cb8c694adb8e0a9e1d357cac9cf7a7ce263df3ae |
16-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/program_pair: Introduce driver-specific texture instruction structure This is to prepare more experimentation and possible internal changes in the compiler. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
|
78f88d8b8799f013e4ab3abc87666b25071ed917 |
15-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300/program_pair: Dynamically allocate instructions temporarily In preparation of using TGSI, where we cannot easily predict the number of instructions. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/Makefile
rivers/dri/r300/compiler/memory_pool.c
rivers/dri/r300/compiler/memory_pool.h
rivers/dri/r300/compiler/radeon_program_pair.c
|
e5bed439be4fd7c3a349aedc4bff7eec4e4d363e |
15-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Detangle fragment program compiler from driver-specific structure This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/Makefile
rivers/dri/r300/compiler/r300_fragprog.c
rivers/dri/r300/compiler/r300_fragprog.h
rivers/dri/r300/compiler/r300_fragprog_emit.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.c
rivers/dri/r300/compiler/r300_fragprog_swizzle.h
rivers/dri/r300/compiler/r3xx_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.c
rivers/dri/r300/compiler/r500_fragprog.h
rivers/dri/r300/compiler/r500_fragprog_emit.c
rivers/dri/r300/compiler/radeon_compiler.h
rivers/dri/r300/compiler/radeon_nqssadce.c
rivers/dri/r300/compiler/radeon_nqssadce.h
rivers/dri/r300/compiler/radeon_program.c
rivers/dri/r300/compiler/radeon_program.h
rivers/dri/r300/compiler/radeon_program_alu.c
rivers/dri/r300/compiler/radeon_program_alu.h
rivers/dri/r300/compiler/radeon_program_pair.c
rivers/dri/r300/compiler/radeon_program_pair.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_fragprog_swizzle.c
rivers/dri/r300/r300_fragprog_swizzle.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_nqssadce.h
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
rivers/dri/r300/radeon_program_pair.c
rivers/dri/r300/radeon_program_pair.h
rivers/dri/radeon/radeon_screen.c
|
6b142866abb3097a84cf4b6dae69423154ab40a6 |
27-Jul-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add r6xx/r7xx chip family to get_chip_family_name This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
rivers/dri/radeon/radeon_common_context.c
|
7d3190a85b17e747981d0aafe13d1ab1946f1649 |
27-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix textures We weren't allocating enough gprs for the fragment shader in some cases. There are likely other issues that still need to be sorted out for textures, but at least they now work.
rivers/dri/r600/r700_fragprog.c
|
7e6819f8430e77012d6cd9278cabaf1d4238117a |
27-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: don't draw when num indices is 0 fixes engine demo
rivers/dri/r600/r700_render.c
|
48b2fea142af93317e095461fc1f7ef6531268c2 |
27-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: set VGT NUM_INSTANCES as part of the draw command set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
600a53a32edea7d03efa21103ad7122670c4ed4a |
27-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET noticed by vehemens on IRC.
rivers/dri/radeon/radeon_screen.c
|
0b3d51ee3118a7f12a44650d1c14e1bfcf50ed58 |
24-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: switch vtx resource setup to use SETfield macros For consistency
rivers/dri/r600/r700_chip.c
|
2c5e55d91992c5954e1d220a7ae497c7138595f5 |
24-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: switch tex code to use SETfield macros for consistency with the rest of the code.
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_texstate.c
|
258f640edab9ca9e71ee255ebe5ddae4b9d0d871 |
25-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: Layout parameters from parameter type, not src type Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master.
hader/prog_parameter_layout.c
|
a7400e736467b7b032ee0d8a8bad25a0a65e782b |
25-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: _mesa_print_program output should go to same place as _mesa_printf
hader/prog_print.c
|
f3cba9d66a5b45f4afeda3763f9ec1fb53e2ec89 |
25-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog parse: Fix cut-and-paste error for constant vectors
hader/program_parse.tab.c
hader/program_parse.y
|
6f8214cae613bc3bead215214e092c07793975e7 |
25-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB prog: get frag prog texture info from the right place This gets basic texturing working. w00t!
hader/arbprogparse.c
hader/program_parser.h
|
3b4235d4eb5818d0e57b768c66a28249ac5d853c |
24-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix segfault in morph3d These attributes still need work, but it shouldn't hurt to enable them.
rivers/dri/r600/r700_vertprog.c
|
8b78294d21ffb2cba41328341457bf193087d969 |
23-Jul-2009 |
José Fonseca <jfonseca@vmware.com> |
r600: Remove CRLF line endings.
rivers/dri/r600/r700_vertprog.c
|
ef80c2012dff343eb5ff571cea8377ff6a87c0c5 |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Clean up a bunch of silly compiler warnings
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
|
0db5ef074169589bc4d665094147aa284a5496d7 |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Track a few more frag prog related values
hader/program_parse.tab.c
hader/program_parse.y
|
28b13038d84db1c4e1e56e15d310b30ddffcb7bd |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Ensure that param_binding_type is set correctly
hader/program_parse.tab.c
hader/program_parse.y
|
5f090bb0740c424f74f21abf4b657b9b292418c5 |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
GIT ignore program_parse.output
hader/.gitignore
|
c2ee82d6931ad180334b2fcb0028050d65cdd40d |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Set NumParameters
hader/program_parse.tab.c
hader/program_parse.y
|
44843c753301db0e8f8343745777479465f34ccc |
23-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Clean up generation of error strings during assembly
hader/program_parse.tab.c
hader/program_parse.y
hader/program_parser.h
|
b129c55f428b37325094a3f0da55c337ee94e515 |
22-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix address register handling in NQSSADCE For address register we always use X component
rivers/dri/r300/radeon_nqssadce.c
|
aec429170681567414de70814f69244758323e75 |
22-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Initialize unused instruction source registers The 965 driver expects unused source registers (e.g., SrcReg[2] of a DP3 instruction) to have a register file of PROGRAM_UNDEFINED. Initializing these source registers ensures that this happens.
hader/program_parse.tab.c
hader/program_parse.y
|
9c4b877519f73f46eac35885d3b8801753168e14 |
22-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.5.1
ain/version.h
|
69d3d19b54c46cb7b0e05c04a5304830a1ee2691 |
22-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
parser: Anonymous constants come from the PROGRAM_CONSTANT file
hader/program_parse.tab.c
hader/program_parse.y
|
fd31f92cea0ce8613a22d8f4b3c75b340bcc5689 |
22-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: simplify tgsi_full_immediate struct Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
tate_tracker/st_mesa_to_tgsi.c
|
5e3c62b550407111cf5f7a700abb18f947bd6903 |
21-Jul-2009 |
Richard Li <richardradeon@gmail.com> |
r600: fix dst reg indexing for real This fixes segfaults in apps like teapot and tunnel
rivers/dri/r600/r700_vertprog.c
|
7edb2a9eef698c386042e6cead68ac516ec15616 |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Revert "r600: fix dst reg indexing" This reverts commit cc893d9a98255d3c26df7123ba5cc02e478c9328. Richard has the proper fix.
rivers/dri/r600/r700_assembler.c
|
72a3d8845f55b4a82f7e3734c8b3aa51b65e220d |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add stencil support
rivers/dri/r600/r700_state.c
|
db0160bb9d80843c28965890814f0e957e8bf975 |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: use state functions to set default state
rivers/dri/r600/r700_state.c
|
bd62cd735f8ccf1c983d57440e41a6959260cf9f |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fill in point functions
rivers/dri/r600/r700_state.c
|
5a615e7e653c1aeab280c6ddfdba3ecb763302ec |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: set provoking vertex to last vertex for OGL
rivers/dri/r600/r700_state.c
|
60787df1e549436557393bbeae5951d8f27c1976 |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fill in r700UpdateViewportOffset
rivers/dri/r600/r700_state.c
|
549b8e6f1a372b6cce4a9013854b3c97ba95af2b |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: first pass at polyoffset support not working yet
rivers/dri/r600/r700_state.c
|
7247446ba81b6bafede9ead750e5b5e81f3f1a10 |
21-Jul-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS case We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer.
rivers/dri/radeon/radeon_state_init.c
|
ecead301112ad24f5ddb1616c99cde67930751a3 |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R600: fix up some build problems
rivers/dri/r600/r600_context.c
rivers/dri/r600/radeon_context.h
|
9e6d38f8a2cc89e3d45ef2bb169b72c3c41fc27b |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add alpha test support
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_state.c
|
cf24119d38360bfb25fa2683fe86a139826084f0 |
21-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
Track Radeon driver symlinks in Git.
rivers/dri/r200/.gitignore
rivers/dri/r200/Makefile
rivers/dri/r200/radeon_bo_legacy.c
rivers/dri/r200/radeon_bo_legacy.h
rivers/dri/r200/radeon_bocs_wrapper.h
rivers/dri/r200/radeon_cs_legacy.c
rivers/dri/r200/radeon_cs_legacy.h
rivers/dri/r200/radeon_cs_space_drm.c
rivers/dri/r200/radeon_lock.c
rivers/dri/r200/radeon_lock.h
rivers/dri/r200/server/radeon.h
rivers/dri/r200/server/radeon_dri.c
rivers/dri/r200/server/radeon_egl.c
rivers/dri/r300/.gitignore
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_bo_legacy.c
rivers/dri/r300/radeon_bo_legacy.h
rivers/dri/r300/radeon_bocs_wrapper.h
rivers/dri/r300/radeon_chipset.h
rivers/dri/r300/radeon_cmdbuf.h
rivers/dri/r300/radeon_common.c
rivers/dri/r300/radeon_common.h
rivers/dri/r300/radeon_common_context.c
rivers/dri/r300/radeon_common_context.h
rivers/dri/r300/radeon_cs_legacy.c
rivers/dri/r300/radeon_cs_legacy.h
rivers/dri/r300/radeon_cs_space_drm.c
rivers/dri/r300/radeon_dma.c
rivers/dri/r300/radeon_dma.h
rivers/dri/r300/radeon_fbo.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_mipmap_tree.c
rivers/dri/r300/radeon_mipmap_tree.h
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_span.h
rivers/dri/r300/radeon_texture.c
rivers/dri/r300/radeon_texture.h
rivers/dri/r300/server/radeon.h
rivers/dri/r300/server/radeon_dri.c
rivers/dri/r300/server/radeon_dri.h
rivers/dri/r300/server/radeon_egl.c
rivers/dri/r300/server/radeon_macros.h
rivers/dri/r300/server/radeon_reg.h
rivers/dri/r600/Makefile
rivers/dri/r600/radeon_bo_legacy.c
rivers/dri/r600/radeon_bo_legacy.h
rivers/dri/r600/radeon_bocs_wrapper.h
rivers/dri/r600/radeon_chipset.h
rivers/dri/r600/radeon_cmdbuf.h
rivers/dri/r600/radeon_common.c
rivers/dri/r600/radeon_common.h
rivers/dri/r600/radeon_common_context.c
rivers/dri/r600/radeon_common_context.h
rivers/dri/r600/radeon_cs_legacy.c
rivers/dri/r600/radeon_cs_legacy.h
rivers/dri/r600/radeon_cs_space_drm.c
rivers/dri/r600/radeon_dma.c
rivers/dri/r600/radeon_dma.h
rivers/dri/r600/radeon_fbo.c
rivers/dri/r600/radeon_lock.c
rivers/dri/r600/radeon_lock.h
rivers/dri/r600/radeon_mipmap_tree.c
rivers/dri/r600/radeon_mipmap_tree.h
rivers/dri/r600/radeon_screen.c
rivers/dri/r600/radeon_screen.h
rivers/dri/r600/radeon_span.c
rivers/dri/r600/radeon_span.h
rivers/dri/r600/radeon_texture.c
rivers/dri/r600/radeon_texture.h
rivers/dri/r600/server/radeon.h
rivers/dri/r600/server/radeon_dri.c
rivers/dri/r600/server/radeon_dri.h
rivers/dri/r600/server/radeon_egl.c
rivers/dri/r600/server/radeon_macros.h
rivers/dri/r600/server/radeon_reg.h
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_macros.h
rivers/dri/radeon/server/radeon_reg.h
|
a6b314150c141f4c73e408b114181e57237540d9 |
03-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fall back on glBitmap with fog enabled. We would have to build the program with the appropriate fog mode, and also supply the fog coordinate if appropriate. Bug #19413. (cherry picked from commit 8ae02a3919bf31bd33f86208472e100eedb58497)
rivers/dri/intel/intel_pixel_bitmap.c
|
1b445f96737cf5a1a28e81ff94a2e07b2cac3a96 |
21-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled. Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077. (cherry picked from commit 81d555068408d4343d7627c8bedda5675f09bd21)
rivers/dri/i965/brw_clip.c
|
81d555068408d4343d7627c8bedda5675f09bd21 |
21-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled. Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077.
rivers/dri/i965/brw_clip.c
|
770cebbc29863ae944a31463ee4bdeb789105aba |
21-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fp/vp: Initial import of new ARB vp/fp assembler This still needs quite a bit of work, but a bunch of the programs in progs/vp produce correct results.
hader/Makefile
hader/arbprogparse.c
hader/hash_table.c
hader/hash_table.h
hader/lex.yy.c
hader/prog_parameter_layout.c
hader/prog_parameter_layout.h
hader/program_lexer.l
hader/program_parse.tab.c
hader/program_parse.tab.h
hader/program_parse.y
hader/program_parse_extra.c
hader/program_parser.h
hader/symbol_table.c
hader/symbol_table.h
ources.mak
|
6617fa6fab2df5d3d8085affac019f90101bb7a8 |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: fix typo in blend code
rivers/dri/r600/r700_state.c
|
cc893d9a98255d3c26df7123ba5cc02e478c9328 |
21-Jul-2009 |
Kevin DeKorte <kdekorte@gmail.com> |
r600: fix dst reg indexing This fixes segfaults in apps like teapot and tunnel
rivers/dri/r600/r700_assembler.c
|
265d5eba658f38f5a9d12d57b701e4ffe49100eb |
21-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add blending support
rivers/dri/r600/r700_state.c
|
a369963b18fc7ef75f6f5354e0d685cef9ecb70d |
20-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add user clip plane support
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
ce9c5a1a27b4e59dbf49b066baaae6ef371b04bc |
20-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r600: add logicop support
rivers/dri/r600/r700_state.c
|
480567d5c451511a72744b0c849960c2b712e093 |
08-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Add new _mesa_new_parameter_list_sized to pre-allocate a parameter list
hader/prog_parameter.c
hader/prog_parameter.h
|
cd63e35603568c168e8aebbc47ca6ea308f2ccfa |
20-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
5ed440400573631f540701f3efd479d8c1592007 |
20-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil. Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
rivers/dri/radeon/radeon_screen.c
|
91512fa019f920f08bd428c00aba24681f9d65ab |
20-Jul-2009 |
Kevin DeKorte <kdekorte@gmail.com> |
r600: Fix compilation
rivers/dri/r600/r700_state.c
|
19249a1ae762c90ab9141fe81da465f13d3376ef |
20-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Fix line stipple and width issue
rivers/dri/r600/r700_state.c
|
cf721c8137a0335016d0ec36449819ba80578b7d |
20-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
Add common_ppc.c to MESA_GALLIUM_SOURCES.
ources.mak
|
bf75ee9ccc6bb00ee0251997afcb522ead68f170 |
16-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.7-rc3
ain/version.h
|
006a526edb0f5a67679309a867a1af22d94e1687 |
16-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: src/mesa/drivers/dri/unichrome/via_ioctl.c src/mesa/drivers/dri/unichrome/via_screen.c src/mesa/main/version.h src/mesa/state_tracker/st_atom.c
|
42d94098737bbd52ce9bdcdec36dad32e6b7a0ed |
16-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: set version string to 7.6.1-rc4
ain/version.h
|
11522b74b318db9d099466ff226124c23595e8e2 |
15-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch Conflicts: src/gallium/drivers/softpipe/sp_quad_blend.c
|
b90f7f3ad324b1e4c39e334cdeb9556c3eb808ab |
15-Dec-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Use current draw buffer instead of drawable visual to get alpha bits Use the currently bound draw buffer instead of the visual from the drawable used to create the context. This cause problems generating mipmaps for an RGBA texture in an RGB context. This fixes the failure in piglit's glsl-lod-bias test reported in bug #25614.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_wm_surface_state.c
|
69346c56a17ba9a74b7f2226c0b4d5ce0bbb1f15 |
14-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa/meta: move BindTexture() call in _mesa_meta_GenerateMipmap() This is a follow-up to commit e3fa700c178e11e6735430119232919176ab7b42. The call to _mesa_BindTexture() must be before we set any other texture object state, namely the _mesa_TexParameteri() calls. This fixes bug 25601 (piglit gen-nonzero-unit failure).
rivers/common/meta.c
|
8413a3aefaf4968f8b17263826b34baa99c2a907 |
12-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix #25463 This is just a workaroung until we properly fix texture mapping in radeonSpanRenderStart
rivers/dri/radeon/radeon_mipmap_tree.c
|
f1900323ea1e387afc487737f9930ba0d014fd0d |
11-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix depth textures
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_texture.c
|
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 |
18-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
|
f81f57e25db18b1c69f2f8076380603340fa2cda |
18-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: add fine grained syncing support
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
b192b9dac628665d6dc37fc98b5f635fc7a45159 |
17-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: send depth state in it's own function
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
5008269cfeb91bd5e763e48c26f02b78568c4cff |
18-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R200: fix build when RADEON_DEBUG_BO is set
rivers/dri/r200/r200_cmdbuf.c
|
a046beaffee6233e178ba7184df10f3eacd0bce4 |
18-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: disable BO debug
rivers/dri/radeon/radeon_bo_drm.h
|
e910f6831b4e7033a0d5cbd83bdab191d622bad0 |
17-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite
|
79a170108f1d9cad949cd2a34e4de597beae72db |
17-Jul-2009 |
Kevin DeKorte <kdekorte@gmail.com> |
R6xx/r7xx: warning fixes patch from Kevin DeKorte with some minor fixes from me.
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_clear.c
rivers/dri/radeon/radeon_common_context.c
|
71b9e102913753bc5af23c774641d6a6dda184d9 |
17-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version to 7.5
ain/version.h
|
15fdbc8361d0b865aea5e2f374b471081ed4214a |
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Remove redundant DeletePending flag. A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/fb/fb_egl.c
|
cca31340b5a9c0b941946753a31236c7201ca87c |
17-Jul-2009 |
Chia-I Wu <olvaffe@gmail.com> |
egl: Use the link functions to manage resources. This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
rivers/dri/fb/fb_egl.c
|
c4ab08a0cdddd05f53810490f4ded5838acd1217 |
17-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: disable depth/stencil compression for now
rivers/dri/r600/r700_state.c
|
60d681f3675de37673e05ae7fd5780860dda0920 |
17-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: add some missing state regs
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
|
9cea84b6b5f96bf3bb42546e49b76024d7126e30 |
17-Jul-2009 |
Eric Anholt <eric@anholt.net> |
texenv: Calculate whether we need to do secondary color on our own. The _TriangleCaps bit is deprecated, not updated when we require, and is set based on state that hasn't been updated at that point in _mesa_update_state_locked(). Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
ain/state.c
ain/texenvprogram.c
|
99174e7630676307f618c252755a20ba61ad9158 |
17-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add missing state dependency of sf_unit on _NEW_BUFFERS.
rivers/dri/i965/brw_sf_state.c
|
6f63698d2678790bef4d4b84d52c9a15cdb2de1c |
16-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx: fix rendering on r6xx/rs780 chips You always need to emit a fetch shader (fs) even if you aren't using it. For now, just emit the fs with the vs address to make the kernel happy.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_render.c
|
d4e6df9ab6e7b707278e3739abee776418c6f527 |
16-Jul-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix logbase2. It was providing 1 too many for non power two values.
tate_tracker/st_cb_texture.c
|
c42a6163144aa5441262235818b59b3108833a61 |
16-Jul-2009 |
Kevin DeKorte <kdekorte@gmail.com> |
Warning fixes
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r700_clear.c
|
0850776f1afa69d9db62c3991a36fbc343f75d66 |
16-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: remove unused function Spotted by kdekorte on IRC
rivers/dri/r600/r600_cmdbuf.c
|
3e8832d24b116b14cf24b81c16e27162a38ffa9e |
16-Jul-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: add some array index bounds assertions
tate_tracker/st_program.c
|
00a216fd1e4ea284df9df71128b0e496816cab4d |
16-Jul-2009 |
Richard Li <richardradeon@gmail.com> |
Restore vp input mapping, fix vtx stream missing problem.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_vertprog.c
|
11606e873d38a320195ab4e23181579f766ae45c |
16-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Fix more merge fallout
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/radeon/radeon_bo_legacy.h
|
92a2f0164aece1584e7c4ea8c5c44af43a1de8c3 |
15-Jul-2009 |
Kevin DeKorte <kdekorte@gmail.com> |
R6xx/r7xx: warning fixes
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.h
|
01b793ec7d1ecba53fb0620f07a928872b0ce033 |
15-Jul-2009 |
Richard Li <richardradeon@gmail.com> |
R6xx/r7xx: fix missing vertex stream Somehow context->radeon.tcl.aos[j].bo is not null sometimes, but it is safe for now because it is only a pointer to dma.current so overwriting it would not hurt anything.
rivers/dri/r600/r700_chip.c
|
1e8a6068ee8b914bc601613c5e1655184c1cc05b |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon bo: Fix merge fall out
rivers/dri/radeon/radeon_bo_drm.h
|
582838a6669c54712ee837b53a99882d86164d75 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: more Makefile fixes
rivers/dri/r600/Makefile
|
2ab328e5e44aae75365613a95208798f15fbb16e |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Fix r600 makefile for lastest CS changes
rivers/dri/r600/Makefile
|
c5c19919ce627b98d8aab4284da1694573bcccd4 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
|
d970313b66b3aab3e3d12c65882febcc7c9091a8 |
15-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Fix state flag dependencies for fixed function fragment program updates. I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing. (cherry picked from master, commit e5f63c403b767f9974e8eb5d412c012b8a69287f)
ain/state.c
ain/texenvprogram.c
|
a0d4a12614fce072fa1eb5516e626909171c95e1 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
make sure ctx->Driver.Flush is valid before calling it
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_fbo.c
|
efe7ad233ca8fa1b7e1aabf706c433955c5c51e8 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Use memcpy directly in the common code This alleviates the need for an additional symbol.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common.c
|
fdeb77899052302053459b8a840a747346e30468 |
15-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: recognize and eliminate repeated error messages
ain/imports.c
ain/mtypes.h
|
59de430de70c38a2fbe30208190f725a2901613c |
14-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: split out errorstring switch from _mesa_error Move a chunk of code out of _mesa_error()
ain/imports.c
|
df5f7a676182dc9d1d8c9c995a009b49bac971e8 |
14-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: remove dead code in _mesa_error Remove early and unused snprintf and where[] string.
ain/imports.c
|
6c9d8a6f24db3c947928d72521d5fd544841366e |
14-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: don't call getenv every time _mesa_error is called Buggy apps can generate thousands of mesa_error calls. Don't need to keep calling getenv to retreive the same MESA_DEBUG string each time.
ain/imports.c
|
3a3b83e5112b725e22f05b32a273a2351b820944 |
15-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: update span reading micro tile code tested on r500 with zreaddraw with Z buffer in all 3 modes
rivers/dri/radeon/radeon_span.c
|
bd4ed25222987f80b720325204e300fd79f573cf |
15-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
r300: emit z depth pitch reloc in preparation for tiling
rivers/dri/r300/r300_cmdbuf.c
|
94d2a809f9cabf3821be9b0d2b11b26151ed3084 |
14-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: r300 fix span reading for macro tiled buffers. this uses the correct formula for macro tiled buffers for readback
rivers/dri/radeon/radeon_span.c
|
9b17f041d12cfe9a34df43da93fc16e275a5c751 |
08-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: for tiling you really need to use GET/PUT VALUE not PTR. since the surfaces aren't linear you can't just use GET_PTR
rivers/dri/radeon/radeon_span.c
|
868aa160745ed0b3f1a83353ef2f3a8fcb5d235e |
15-Jul-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: the offset of any branch/jump instruction is in unit of 64bits on IGDNG
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
10b3e64bcada2e68144cc6ed40f7d760aff873e2 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: implement memcpy buffer swaps This allows double buffered apps to run, but perfomance will be awful until we implement something faster. You must update to the latest kernel modules.
rivers/dri/radeon/radeon_common.c
|
f6f0e117a45a64464e49290ebc9f75b9a976070a |
15-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
intel/radeon: add common metaops code. Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
rivers/dri/Makefile.template
rivers/dri/common/dri_metaops.c
rivers/dri/common/dri_metaops.h
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_generatemipmap.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_ioctl.c
|
9385e4e1ff343c135532ddde04c0febf297003d7 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx/r7xx: fix buffer aging bug We were using sparse indexing for aos, while the common code expected packed indexing.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_vertprog.c
|
9ae78dc0bc948d56198c344d077a1513e531c4d4 |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: no irqs yet.
rivers/dri/radeon/radeon_common_context.c
|
681ede8836746735fbb904edf89b076343507a8b |
14-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix unsigned vs signed comparison in stencil code. This function takes a GLint not a GLuint, passing in -1 breaks internally.
rivers/dri/radeon/radeon_common.c
|
99d07d0f91ddd37926d08f4e7f10d55cac28d9a7 |
14-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix ClearDepth to not be affected by DepthRange. Fixes new piglit depthrange-clear.c test.
rivers/dri/intel/intel_clear.c
|
b677c40abbed358984491b8ad3fcecf4742b2823 |
14-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Set DepthRange in the metaops using RasterPos[2]. RasterPos[2] is already sent through the window transform, which includes DepthRange handling. So make DepthRange for the metaops a noop. Fixes a failure in oglconform depthrange.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
e5f63c403b767f9974e8eb5d412c012b8a69287f |
02-Jun-2009 |
Eric Anholt <eric@anholt.net> |
Fix state flag dependencies for fixed function fragment program updates. I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing.
ain/state.c
ain/texenvprogram.c
|
374110bc9876365e8517175ecdb319be35e23016 |
14-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Flag _NEW_ARRAY state when doing array object binding in clears. This is just following bind_vertex_array()'s behavior.
rivers/dri/intel/intel_clear.c
|
a1ecbb235687589bafaeb84312c312228d9f447d |
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Disable shader dumps
rivers/dri/r600/r700_debug.c
|
9aca6769dfb934e15e848f938b7fb31345a8b3b2 |
14-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix texture border color code for glPopAttrib() The texture object's border color used to be stored as GLchan but it's been GLfloat for a while now.
ain/attrib.c
|
6ec955efafda961bc7789c22dbde9d3430fc270f |
14-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated enums.c file
ain/enums.c
|
e786ecbfb5ff6953d61d62099c8af445a6d99fb9 |
14-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated enums.c file
ain/enums.c
|
4ed1de8b84b587d2be0c0e4ecb6b5f421195f562 |
07-Jul-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Report the true face number when flushing.
tate_tracker/st_cb_texture.c
|
54cf63278ff28eb03503f649c46bf24437a1cbf8 |
14-Jul-2009 |
Patrice Mandin <patmandin@gmail.com> |
gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from default extension list
tate_tracker/st_extensions.c
|
33f56b4612e506999a2be8391ba82c0174afa1b3 |
14-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Differentiate 16 bpp destination formats. Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
rivers/dri/r200/r200_state_init.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_state_init.c
|
60e60bb3026a269fefe1cfd3312fdf3a7e4c595f |
14-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Invert front face winding when rendering to FBO. Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_state.c
|
f4646f3247b721d08a2e01da4b2c8a808663d765 |
14-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Fix specular lighting issue
rivers/dri/r600/r700_assembler.c
|
9226e3d6a68e5e079456c5e7ba2a79e00a33bb89 |
13-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
Merge branch 'shaders_cleanup'
|
0dc700850acb81c7088ab740959441521f8d38d9 |
10-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Partially fix fallback detection for glCopyTexSubImage. Really, we should be checking that the MesaTexFormat for the read buffer and the texture match, but the previous code wasn't even doing that, so matching the cpp should be an improvement (and potentially fix some hangs!). The previous code also rejected GL_RGB even though blitting the alpha channel to the ignored channel of an x8r8g8b8 texture should be fine, which tripped up compiz's blur plugin.
rivers/dri/intel/intel_tex_copy.c
|
582bd3466514b9fe24f18d99af2945f02709aacd |
12-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: always assume all components are read by fragment program Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_vertprog.c
|
f06910f6c34f199dc187bd69ff1f6889ba498217 |
12-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
r300: Fix fogcoord rewriting We only care about the actual fogcoord itself now, reducing the rewriting done for the vertex program. The rewriting of source operand swizzles in the fragment program takes care that fogcoord.yzw = 001. This should fix fogcoord rewriting entirely, which had been horribly broken in the face of dot-product instructions, and just broken (though not horribly so) in the face of almost every other instruction (the W component would be incorrect for most arithmetic instructions). Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_program.h
|
3f5382819e31071c2af6cb39c1ca09bf3243f83f |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix swizzle masking in getUsedComponents
rivers/dri/r300/r300_vertprog.c
|
acd33600411102872af579edc4206b61eb51bb65 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor fix Split initializations becase the vars are of different type. Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_vertprog.c
|
1a5520fcd3842cc3198bff143d2af5c169eebc26 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move variables declarations
rivers/dri/r300/radeon_nqssadce.c
|
b3716eeb61b75dc661a1485f9bea9275a88a1d81 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: document r300_vertex_program_cont structure Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.h
|
a0204ce456435f6ee38d8c14d25ae251940bf55f |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: document r300_fragment_program_cont struct
rivers/dri/r300/r300_context.h
|
ec854729d12a533ed00b9a9e6a5942aede2f5d1e |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix indentation Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_fragprog_common.c
|
48cc352a71c728e0ce092dd7d7ec0945db304907 |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix StrideB == 0 case when converting data format Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_draw.c
|
4eff323731b0d65e1f2817e96435807418d833cc |
11-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: hw can handle per component negations in vertex shaders Reported-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_vertprog.c
|
4efb9f053c84fbdced373cc62fe06b3158b59015 |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix WPOS for SWTCL
rivers/dri/r300/r300_swtcl.c
|
bdc8a95fc906dcc617995479fbffbf8fdd1f4e34 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: removed unnecessary params We don't have check which attributes are used by fragment program - it's already done by NQSSADCE.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_state.c
|
65d9f23c7c3e99dfe038b1306f96930e1228de11 |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use NQSSADCE for vertex programs
rivers/dri/r300/r300_vertprog.c
|
70448b9f95b4ca56526458d207a28727f71e8d3c |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: operate on copy of a program when pairing instructions We need to keep unpaired program for vertex program NQSSADCE.
rivers/dri/r300/radeon_program_pair.c
|
12a6d73c7590c37ec8ae3f2c8c737791e4461d77 |
13-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: handle relative addressing in NQSSADCE
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_nqssadce.h
|
96b2eb18c5059d441873bfa562bd2ff9dec46a51 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: handle ARB_vertex_program specific instructions in NQSSADCE
rivers/dri/r300/radeon_nqssadce.c
|
e43cc28c1b6face903f3c977d6eb887335bec886 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move depth output rewrite out of NQSSADCE
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_nqssadce.h
|
f79ef95df4f19124c24e59583bf9fb1e347d8f2b |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rewrite FOGC and HPOS attribs handling Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_vertprog.c
|
df5fe747fa08f63b949ba0fd6628060831b562ec |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: bind vertex program to fragment program
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
d1e4caa6e2b6a1e20feb97ae51703d5b4b18f70b |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: recalculate used inputs and outputs after dead code removal
rivers/dri/r300/radeon_nqssadce.c
|
7360f83364b407e949529eeca9f8c421d2da3ded |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move fragment program selection before vertex program selection Prepare for wpos and fogc handling rewrite.
rivers/dri/r300/r300_state.c
|
37c319f62f59d7750dd172034e43dfd489f572cc |
03-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: implement proper IsProgramNative check for vertex programs
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
bce224c1f108e6c8131dfc953ef607689b83ae7e |
03-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't modify original vertex program Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertprog.c
|
7829b7a1b85dd8e6c31189e7f3dec91d71d134c3 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: cache translated fragment programs
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_common.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
|
28066ed012b51f2171866669a2972bc7ee293565 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: update state parameters only once per rendering operation
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
21db37d43245f97032fa21030279c3b47c901639 |
01-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: translate non native insts earlier for easier debugging
rivers/dri/r300/r300_vertprog.c
|
0b411a72f3cc3be7ecf9f4676d9860b2b56f084e |
29-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: print vertex program after adding artificial output insts
rivers/dri/r300/r300_vertprog.c
|
4a6899e080bbdb556926031345ef6a9fbe6d9ff2 |
29-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: use mesa provided function for adding MVP code
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_vertprog.c
|
9b781ca2ce9cdf6c21eb5dda4709366b2581d17a |
29-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: simplify insert_wpos a little
rivers/dri/r300/r300_vertprog.c
|
9615daa9324341f6a56932dc46b807f402d18283 |
13-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
bb4c70358778f28f644ae493b5d8163e76e9fddb |
13-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: port more front fixes from intel. Port fixes to read buffer from front.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
504d01b275169f019d375b4a8b5e935b9fd108d3 |
13-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200: fix color masking under dri2 Need to retrieve the bits from the rrb not from screen struct
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
a79aefb1775ce6eaf0fd0cf9a1f72150f631c90f |
13-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers. The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway.
rivers/dri/radeon/radeon_common.c
|
d9913d7c095487ebec6ce074d1ac4edbd96d260d |
13-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/fbo: stencil bits fix from Michel in intel fbo code
rivers/dri/radeon/radeon_fbo.c
|
680f7d09b00fdec0dbe5e357639d6b445bb9266e |
13-Jul-2009 |
Peteri Andras <whysogreen@gmail.com> |
r128: fix two-sided lighting segfault seen in GLUT's olight demo
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
|
022e8e582ee408845bc622d56487b220b27df9a6 |
13-Jul-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Bump driver data, add RC3 tag
rivers/dri/intel/intel_context.c
|
2995bf0d68f1b28ba68b81e9dc79e3ab52bc2795 |
13-Jul-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: add support for new chipsets 1. new PCI ids 2. fix some 3D commands on new chipset 3. fix send instruction on new chipset 4. new VUE vertex header 5. ff_sync message (added by Zou Nan Hai <nanhai.zou@intel.com>) 6. the offset in JMPI is in unit of 64bits on new chipset 7. new cube map layout
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
f030e2ba17a3b859d30017cfd990552d3af4bad3 |
12-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
r300: move fallback warnings inside fallback debugging random output is bad
rivers/dri/r300/r300_render.c
|
dfecf217fa0d7677bdd3445e32a7bb0d022a599b |
12-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix clear mask to not use sw if not necessary
rivers/dri/r300/r300_ioctl.c
|
b484c71036e0d0b30ac7685ba50a9008d09f5047 |
12-Jul-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Fix crash when rendering to incomplete texture and other formats It is possible to bind texture images of an incomplete mipmapped texture. Software fallbacks in this case incorrectly tried to mmap the entire texture. Additionally, add span functions for 1555 and 4444 formats. This fixes crashes in piglit's fbo-readpixels test; unfortunately, the test itself still fails - this needs to be investigated. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_span.c
|
a10244453c24d62cd87f8c4d85cbe103b62db311 |
12-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: update clear code from Intel codebase. This updates some of the clear code from Intel gives a 5x clearspd perf for me here. played openarena also, not sure if the viewport changes broke anything,
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.h
|
b06cb372bf59f06f51af40572917d4cd94346f90 |
11-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fbo fix firecube crashes it might still be misrendering not sure
rivers/dri/radeon/radeon_fbo.c
|
65059606e9a0039fc962869857c5f00a11d6b7cc |
11-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Fix scissor rectangle calculation when rendering to FBO. fgl_glxgears -fbo runs, though the gears don't look right yet.
rivers/dri/radeon/radeon_common.c
|
1c1307e7c55844f63f7bd7ac02c64f4b936f3c66 |
11-Jul-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: compare the actual register, not all the inputs otherwise we decrement indexes for all registers
tate_tracker/st_atom_shader.c
|
762c1d11ffbb5179e44117397559e7cc2dfe9cef |
10-Jul-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement indirect addressing for destination registers
tate_tracker/st_mesa_to_tgsi.c
|
ca1b71b78d9c31e9ea7ceed2542ec67f32e6e5c5 |
10-Jul-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix vbo/dlist memory leak Based on a patch by kristof.ralovich@gmail.com
bo/vbo_save_api.c
|
db618427abab44939189c688e58ea7eca52f1795 |
10-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: enable GL_NV_texture_rectangle under dri2.
rivers/dri/radeon/radeon_context.c
|
85957cb512e74c8ddeb5ba2e06df091943ab8400 |
10-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: set texture in state properly. make sure to turn off when no texture is used in hw
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_texstate.c
|
a6a11e1dc019ad54e0c4c9d1de46ca6ca48528c3 |
10-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: make swtcl emit size bigger
rivers/dri/radeon/radeon_dma.c
|
37c0cde80aa99435c7b58b36e5e186782cff4e77 |
10-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: use packet 3 for scratch emit no need to allow packet 0 scratch regs in the drm
rivers/dri/r600/r600_cmdbuf.c
|
fcd3572edf5eed47d87774150c2097e0d6245bd2 |
23-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: From float type modifier from values to large for singles The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344. (cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7)
ain/macros.h
|
0de26dba2edf1c9d9b77b42ea1ad35604c009e32 |
09-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: disable CS dump Don't fprintf to a xterm with the lock held.
rivers/dri/r600/r600_cmdbuf.c
|
8987410ab6575048a7f7cbf27bb047d76ae46514 |
09-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
c86b0766681f986951e53ea852858eb8d6ce9e32 |
09-Jul-2009 |
Brian Paul <brianp@vmware.com> |
glsl: do const parameter optimization for array element actual parameters When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment.
hader/slang/slang_codegen.c
|
abdb0fdcc05eb9ec87b3d5a3226c3c190e1fbbcd |
09-Jul-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix incorrect indexing for gl_TextureMatrix[i][j] The two indexes were mixed up when accessing a row of a matrix in an array of matrices.
hader/slang/slang_builtin.c
|
93ab69a0eff8e0b264ec8888cfd0ac11ea0e274f |
08-Jul-2009 |
Richard Li <richardradeon@gmail.com> |
Fix buffer age implementaion bug.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/radeon/radeon_bo_legacy.c
|
4adc9b4a5be72e34d464ce341b011c42517d969a |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: only use fallback texture when using shaders, not fixed-function (take two) The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. For fixed function, the texture unit is truly disabled/ignored. Fixes glean fbo test regression. (cherry picked from commit 01e16befd4809e3e93ee7855a4a5d7df9fe010d9) (cherry picked from commit 51325f44d1e7e62b47795a79f8038d10dc5bc30b) [anholt: squashed these two together from master, skipping the mess in between]
ain/texstate.c
|
7b861b9b9efdb3ac0dfc3806afcd494cd0ea006c |
07-Jul-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: fixup register indexes for fog/frontface/point coord
tate_tracker/st_atom_shader.c
|
f9db04878bc08931766bd827417012c30887bb7c |
07-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: remove some left over debugging
rivers/dri/r600/r700_render.c
|
0396795689dd82be31d22be83307511d223ebcf2 |
07-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: fix texture reloc emit Textures don't look right yet, but tex demos run.
rivers/dri/r600/r700_render.c
|
71633abafc935c25da9731bab48c228ceb9b4097 |
07-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fixes for clobbering stencil values in combined depth/stencil textures. Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
96601ec8e0e35d540c1819a48df7f08ec5874ab7 |
07-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer. Fixes potential crash when SwapBuffers is called but there's no back buffer.
tate_tracker/st_framebuffer.c
|
f74d1c26acaacf688545ecc1ddb996a02e991ccb |
07-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx/r7xx: add sw blit for tex upload Can be used for buffer swap as well.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/radeon/radeon_bo_legacy.c
|
6799bc0b6ba1c1052a247cbae0ef660ad5aba84c |
07-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
tex wip
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r700_render.c
|
a4d952358d8fd0f9d135c91c37969acdcf394f0a |
07-Jul-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: more fog extraction fixes fix the cases when fog coord/front face/point coord are used in the same shader.
tate_tracker/st_atom_shader.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
1bad691a177240e8281592fa66c9e6ab0869f618 |
06-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: first pass at texture support texture bo setup isn't quite working yet
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_tex.c
rivers/dri/r600/r700_tex.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_screen.c
|
c6b0b46d6d087de59a36f1340cea54a11df78e37 |
06-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: DEPTH_CONTROL will be reset by this function
rivers/dri/r600/r700_state.c
|
7ccb00b1acacb57cefca1ae789246983ef4831d9 |
05-Jul-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
bf71ece171305f80972f6e401442372618265fcb |
05-Jul-2009 |
RALOVICH, Kristóf <tade60@freemail.hu> |
glx: death to RCS tag
rivers/dri/common/dri_util.c
|
186d187ff7eebad58a18721878c5b23799e3f3d6 |
04-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix regression introduced by ca13937ef97c7779f639dcfc95b3798a11de01bd Stride == 0 means that we value for first vertex should be copied to every other vertices (e.g. constant color). This fixes glean/vertProg1 and sauerbraten with enabled shaders.
rivers/dri/r300/r300_draw.c
|
95df7bfc03fc63152b241e65bce1f7c73bbf007b |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix copy and paste typo
rivers/dri/radeon/radeon_common.c
|
afd687b0dcf9ac842b4c4832247c6ffe5cc844b1 |
05-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
mesa/vbo: always recalculate min_index and max_index when splitting vertices
bo/vbo_split_inplace.c
|
be64e66e5aeed83ebcd11ccfd5ff461e8145a850 |
08-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix flipped Y for glDrawPixels(GL_STENCIL_INDEX) to window system. Even after fixing bugs in this code, it doesn't make me feel any cleaner. Fixes piglit stencil-drawpixels.
rivers/dri/intel/intel_pixel_draw.c
|
bdd7506f10d13018a9c71270eed5d3d295978081 |
07-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.
rivers/dri/intel/intel_pixel_copy.c
|
510c3bd7a1a8f6e350ca7b05ced1f0323098b2eb |
07-Jul-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove BRW_NEW_INPUT_VARYING This state flag has been unused since the ffvertex_prog move to core.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_upload.c
|
058e96916b1ee661dfc16052b79b3aa9fcb47690 |
25-Feb-2009 |
Eric Anholt <eric@anholt.net> |
Cap array elements at 0 when passed an invalid pointer for an array object. Otherwise, a pointer greater than the size would underflow and give a large maximum element. Reviewed-by: Brian Paul <brianp@vmware.com> (previous version)
ain/state.c
|
fc6e02ce6210d6615af0058f1b57e7ee37a6527f |
26-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: fix fetching constants from constant buffer in glsl path the driver used to overwrite grf0 then use implicit move by send instruction to move contents of grf0 to mrf1. However, we must not overwrite grf0 since it's still used later for fb write. Instead, do the move directly do mrf1 (we could use implicit move from another grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't seem to make sense). I think the dp_READ/WRITE_16 functions may suffer from the same issue. While here also remove unnecessary msg_reg_nr parameter from the dataport functions since always message register 1 is used.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
c30f23c1231e8443e0880efa5326ccecf6eec034 |
07-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove bad constant buffer constant-reg-already-loaded optimization. Thanks to branching, the state of c->current_const[i].index at the point of emitting constant loads for this instruction may not match the actual constant currently loaded in the reg at runtime. Fixes a regression in my GLSL program for idr's class since b58b3a786aa38dcc9d72144c2cc691151e46e3d5.
rivers/dri/i965/brw_wm_glsl.c
|
28471cfa970702128d822c2ecbb1703eedbca245 |
04-Jul-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
d66de6c341a859a30ef010c527f9a0c5865b5d65 |
06-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: ensure cmdbuf space for state + AOS is available The problem is if we find out later we don't have any cmdbuf space but we've already written the arrays to the DMA buffer object, we end up emitting the current cmdbuf which has references to the current DMA object we then send that to the hw and we can't reference the arrays we just emitted to the old DMA buffer. things go bad, crash boom. This can probably be tuned further + swtcl probably needs some fixes
rivers/dri/r300/r300_draw.c
|
7266e33abd9723fcec47933ed9ff4132abbd6eba |
06-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
r200: fix makefile
rivers/dri/r200/Makefile
|
f110c5fd6e762a0166c44d7446c4c3fdc434f42a |
06-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup FBO depth 24 allocations to avoid assert
rivers/dri/radeon/radeon_fbo.c
|
c27f21f92d2cf9d23a9edb15d144eceb9ff383bc |
06-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: port to new space checking code in libdrm This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_space_drm.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_state.c
|
6fff62ee3fdbfe7d8ba15d3ad001f9afd120c307 |
29-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix vertex limits - don't limit vertex count if we are using indices - max indices count is 65535 not 65536 - remove some comments that don't apply anymore - remove unreachable code
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
862488075c5537b0613753b0d14c267527fc6199 |
03-Jul-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
|
94e1117c9ba259665cd8e790369dcd4c789a2f93 |
03-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Also update stencil bits in intel_update_wrapper(). Fixes assertion failure when binding depth/stencil texture to FBO stencil attachment.
rivers/dri/intel/intel_fbo.c
|
b928d18398330d862ab162f687e224b93932824c |
03-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/shaders: fix gl_NormalMatrix state parameters gl_NormalMatrix is the inverse transpose of the modelview matrix, but as every matrix here needs to be transposed, we end up with {MODELVIEW_MATRIX, INVERSE}.
hader/slang/slang_builtin.c
|
060c7f2321f72503c14f9f3f7bb27d59d8a90224 |
03-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Wait for BO idle if necessary before mapping it. Fixes fighting between GPU and software rendering with TTM.
rivers/dri/radeon/radeon_span.c
|
6b2461fec905b7dc25ad051d602b440503f544ea |
03-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Guard debugging output.
rivers/dri/r300/r300_cmdbuf.c
|
8ae02a3919bf31bd33f86208472e100eedb58497 |
03-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fall back on glBitmap with fog enabled. We would have to build the program with the appropriate fog mode, and also supply the fog coordinate if appropriate. Bug #19413.
rivers/dri/intel/intel_pixel_bitmap.c
|
ae1bfb6427cc10a851c80e020cbdc210fe238d85 |
03-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Flush when mapping buffer objects so writes don't get reordered. While GEM covers this for execution it knows about, it doesn't know about the batchbuffer we're preparing. Fixes piglit vbo-map-remap.c testcase.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_regions.c
|
9a0b570ab64169cee66f848d97d65f22c43d13ec |
03-Jul-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
vbo: If MapBufferRange fails, try MapBuffer instead. Fixes segfaults with radeon winsys. (Probably libdrm_radeon doing something that it shouldn't.)
bo/vbo_exec_draw.c
|
6d66f23c50ebe8f973757b6fd1b81c9b7920c447 |
02-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix leak of DRI option info due to using the wrong free routine.
rivers/dri/intel/intel_screen.c
|
ddef7dc87b2001fbe117ee5f24a0c645ee95a03c |
02-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Clean up leak of driver context structure on context destroy.
rivers/dri/intel/intel_context.c
|
cb4ef34214d61fb48bdff689a85ea107060e061b |
02-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Init num_fences to clean up valgrind warning. Valgrind doesn't know that a successful getparam sets the target of the pointer, so just set the value beforehand.
rivers/dri/intel/intel_screen.c
|
2a2236606fd6ae473a2f4db6ef6d3d5030261316 |
02-Jul-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Assume depth textures have a single level unless told otherwise.
tate_tracker/st_cb_texture.c
|
bb429803e08231f5ee5fab25383be62b1952bd45 |
02-Jul-2009 |
Richard Li <RichardZ.Li@amd.com> |
r6xx/r7xx: Better fix for fragment temps This doesn't waste as many in generic cases.
rivers/dri/r600/r700_fragprog.c
|
588c8625714c744047dd1d710d87b1dfcec48db7 |
02-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: s/TRUE/GL_TRUE Fix compile breakage on Linux.
hader/arbprogparse.c
|
798cd2a98d66a1b841930e121676ae1a8f9fb244 |
02-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
glapi: ensure _mesa_lookup_prim_by_nr() is not clobbered on regeneration Propogate changes to enums.c back up to the python source.
lapi/gl_enums.py
|
1668a679c4aadb37f5af0d6126c414fb9fbbf748 |
02-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/dlist-statechange-shortcircuit' into mesa_7_5_branch Conflicts: progs/trivial/Makefile Pull in a minimal version of statechange shortcircuiting in display list compilation. This affects only glMaterial and glShadeModel state, and includes quite a few tests to exercise various tricky cases. If this goes well, will consider extending to all state in the future.
|
54ee188a00e31d239cbd256e7ba5ffd2c1259650 |
02-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: drop radeon renderbuffer private width/height half stealing the code without taking the intel regions
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_texstate.c
|
2ed3eddf9a828f2ff6c74b0913ca37fb60672950 |
02-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r300: use base width/height. I suspect this might break TFP in some way but it makes firecube run here
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_state_init.c
|
b3e8e1cd4c1584f735e35914861ae2e8ae5b6b2b |
02-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: ensure UsesFogFragCoord value is set for non-glsl shaders With recent changes to support frontfacing in glsl, it is necessary to ensure that the UsesFogFragCoord value is accurate in all shaders. We were previously not setting it for fixed-function and ARB_fs shaders.
hader/arbprogparse.c
hader/programopt.c
|
c571395e5d768b46bef511d89af641d55cd2ad98 |
02-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Fix line width issue, ROUND_MODE and QUANT_MODE aren't bits of LINE_CNTL
rivers/dri/r600/r700_state.c
|
da88333671b35851bd713d0de464887e00d70593 |
02-Jul-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Correct the indeices of DRAW_INDEX_IMMD
rivers/dri/r600/r700_render.c
|
73137997e23ff6c1145d036315d1a9ad96651281 |
02-Jul-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fixes for JMPI 1. the data type of <src1> (JMPI offset) must be D 2. execution size must be 1 3. NoMask 4. instruction compression isn't allowed.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_wm_emit.c
|
8bda0f1f4feec3bc4625c505feed48c49afaf0b6 |
01-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx/r7xx: rework aos setup In theory this should fix the stride = 0 case, but I can't seem to reproduce that anymore with mesa master.
rivers/dri/r600/r700_chip.c
|
65cdf9c561c518a7e2c6b6584382fb2fb902ea40 |
01-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: Fix number of temps used in fragment program Spotted by Cooper. This gets hello, aargb, smooth, etc. working.
rivers/dri/r600/r700_fragprog.c
|
5e6b593d35156a0068dc0eb3e55dec086f1cadd3 |
01-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Avoid pointer arithmetic on void *. Bug #22000.
rivers/dri/intel/intel_mipmap_tree.c
|
c3499f6c66bf93d7752ea70a13bbbab3d2b2c288 |
30-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Increase G4X default VS URB allocation to actually allow 32 threads. This improves the performance of my GLSL demo by 30%. It also fixes the VS deadlock that ut2004 had, for reasons I can't explain. Bug #21330.
rivers/dri/i965/brw_urb.c
|
119eb4094256742013224afb7c5704b6254b6296 |
01-Jul-2009 |
Brian Paul <brianp@vmware.com> |
i965: first attempt at handling URB overflow when there's too many vs outputs If we can't fit all the VS outputs into the MRF, we need to overflow into temporary GRF registers, then use some MOVs and a second brw_urb_WRITE() instruction to place the overflow vertex results into the URB. This is hit when a vertex/fragment shader pair has a large number of varying variables (12 or more). There's still something broken here, but it seems close...
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
1b6ae2e004b7a7a76508e0da3c45eb0d851ed10c |
01-Jul-2009 |
Brian Paul <brianp@vmware.com> |
i965: use BRW_MAX_MRF
rivers/dri/i965/brw_eu_emit.c
|
76a5a5dace715aa629ee98a37acb3075a7de153c |
01-Jul-2009 |
Brian Paul <brianp@vmware.com> |
i965: use BRW_MAX_GRF, BRW_MAX_MRF
rivers/dri/i965/brw_eu.h
|
0fe19bc91d89dd83b9a7bab28a6009a30e1bc856 |
01-Jul-2009 |
Brian Paul <brianp@vmware.com> |
i965: move BRW_MAX_GRF, define BRW_MAX_MRF
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_structs.h
|
0b7b8c8ddfb17f40a69ca716d05ff90f9178f10a |
01-Jul-2009 |
Brian Paul <brianp@vmware.com> |
i965: defined BRW_MAX_MRF
rivers/dri/i965/brw_context.h
|
6eb2ca500db940263bfcb9b3ca83f2b5c5431513 |
30-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments and a new assertion
rivers/dri/i965/brw_vs_emit.c
|
d10006e67fb070f846213ef38e07df21699df5a1 |
01-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: fix locking for clear this allows redbook hello to render correctly mostly.
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
|
1fa4cde757cc94c0afa40d855309911247974e98 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/vbo: fix compile and replay of nodes ending in a FALLBACK Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in the case of a recursive CallList which is itself within a Begin/End pair, there two problems: 1) The display list node's primitive information was incorrect, stating the cut-off prim had zero vertices 2) On replay, we would get confused by a primitive that started in a node, but was terminated by individual opcodes. This change fixes the first problem by correctly terminating the last primitive on fallback, and the second by forcing the display list to use the Loopback path, converting all nodes into immediate-mode rendering. The loopback fix is a performance hit, but avoiding this would require a fairly large rework of this code.
bo/vbo_save_api.c
|
57a06d3a48c9af1067ec05e3ad96c58f4b9b99be |
30-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix assertion failure on remapping a non-BO-backed VBO. Failure to set the obj->Pointer back to null tripped up the assertion. Bug #22428.
rivers/dri/intel/intel_buffer_objects.c
|
70ae7ba818e9d8a5485653b258e76f06c988654c |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: fixes and improvements for material caching Only short-circuit material call if *all* statechanges from this call are cached. Some material calls (eg with FRONT_AND_BACK) change more than one piece of state -- need to check all of them before returning. Also, Material calls are legal inside begin/end pairs, so don't need to be as careful about begin/end state as with regular statechanges (like ShadeModel) when caching. Take advantage of this and do better caching.
ain/dlist.c
|
d6c2347d79c50ac18eab96378d79d989f3ffd0b7 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: don't cache state which may not be replayed on CallList Statechanges which occur before the first End in a display list may not be replayed when the list is called, in particular if it is called from within a begin/end pair. Recognize vulnerable statechanges and do not use them to fill in the state cache.
ain/dlist.c
|
7e91d035b9ef65adda39c8b164afa363477d7893 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: invalidate cached dlist compile state after CallList When compiling a display list containing a CallList, it is necessary to invalidate any assumption about the GL state after the recursive call completes.
ain/dlist.c
|
4147bb24d49a10498e00039fc1dc9aa5f1316777 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuit Need this to pick up fixes for per-vertex materials.
|
6dfb89e4a09a269cbd5c4dc725881fbd42eaa18a |
01-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: remove whitespace
ain/ffvertex_prog.c
|
cea259f0392766e8a2e4749c6d5277d866abbc3b |
01-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: remove dead constant pointsize code from ffvertex_prog.c
ain/ffvertex_prog.c
|
79047cc1ddf0332e5b64c9f05a19885cc36c76ae |
01-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: remove dead vertex fog code from ffvertex_prog.c
ain/ffvertex_prog.c
|
f6c8ca06f649ae1367f61eca6fb7635862bd5584 |
01-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: fix material inputs in ffvertex_prog.c Varying material inputs were not being picked up from the same slots where the VBO code is currently placing them (GENERIC0 and above). Most often they were just being ignored.
ain/ffvertex_prog.c
|
b40dc7e7fcafc30ebaa3778ee847c8983987de83 |
30-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/vbo/vbo_exec_draw.c
|
4c31632817a0bde28ad6c9ee8032d838ce4b7bfb |
30-Jun-2009 |
Arthur HUILLET <arthur.huillet@free.fr> |
mesa: fix transform_points_3d_no_rot using undefined values in %xmm0 Signed-off-by: Arthur HUILLET <arthur.huillet@free.fr>
86/sse_xform2.S
86/sse_xform3.S
|
6e09c1fd085361212c5bfccf6b2810f3f8052231 |
30-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Set FLUSH_EXPLICIT_BIT flags when calling FlushMappedBufferRange. As prescribed by ARB_map_buffer_range.
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
578230dbbffbf5317d6002d1023dcd62b57186f5 |
30-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st/gl: Add stubs for CompressedTexSubImage[1D|3D]
tate_tracker/st_cb_texture.c
|
a4fd94a54a75a3418462c30f1240ab50b5f24090 |
30-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st/gl: Add support for glCompressedTexSubImage
tate_tracker/st_cb_texture.c
|
e2a8ef4430e153589a9d1a284c8f2005a4a98410 |
01-Jul-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Unbind depth/stencil surface from pipe_framebuffer when none is attached.
tate_tracker/st_atom_framebuffer.c
|
1c04731b8721850b6abb12a43a3eec616b850e86 |
01-Jul-2009 |
Zack Rusin <zack@kde.org> |
gallium: fix the front face semantics mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
tate_tracker/st_atom_shader.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
c72261f2a886e1f53025c2cf4b38b33ccfd62857 |
30-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix assertion failure on remapping a non-BO-backed VBO. Failure to set the obj->Pointer back to null tripped up the assertion. Bug #22428. (cherry picked from commit 57a06d3a48c9af1067ec05e3ad96c58f4b9b99be)
rivers/dri/intel/intel_buffer_objects.c
|
e5cb11addad31f698dc8261e7f96d5e3af4a85d6 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/vbo: fix compile and replay of nodes ending in a FALLBACK Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in the case of a recursive CallList which is itself within a Begin/End pair, there two problems: 1) The display list node's primitive information was incorrect, stating the cut-off prim had zero vertices 2) On replay, we would get confused by a primitive that started in a node, but was terminated by individual opcodes. This change fixes the first problem by correctly terminating the last primitive on fallback, and the second by forcing the display list to use the Loopback path, converting all nodes into immediate-mode rendering. The loopback fix is a performance hit, but avoiding this would require a fairly large rework of this code.
bo/vbo_save_api.c
|
00438bb94a9ee03f8a4d5472d7ae598fcbdb1572 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: restore missing SAVE_FLUSH_VERTICES in save_ShadeModel Reorganization of ShadeModel to avoid flushing vertices too often ended up never flushing vertices due to omitted line of code.
ain/dlist.c
|
0846c88ec3a63ac5e4096aedcdc107cbe71f306b |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/vbo: use _lookup_prim_by_nr for debugging Switch over to specialized enum lookup for primitives
bo/vbo_exec_draw.c
bo/vbo_save_api.c
bo/vbo_save_loopback.c
bo/vbo_split_copy.c
|
aa688d1579776494640475f4a5b93f3d7fae4fcd |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: add debug printer for primitive name Add a simple version of _mesa_lookup_enum_by_nr() which expects a primitive enum (GL_POINTS..GL_POLYGON). This avoids some annoying duplicates when looking up primitives, such as the GL_FALSE/GL_POINTS clash.
ain/enums.c
ain/enums.h
|
47173cf67f0ed55012b0820397f6d620d8ad4473 |
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: shortcircuit some redundant statechanges at compile time Currently, state-changes in mesa display lists are more or less a verbatim recording of the GL calls made during compilation. This change introduces a minor optimization to recognize and eliminate cases where the application emits redundant state changes, eg: glShadeModel( GL_FLAT ); glBegin( prim ) ... glEnd() glShadeModel( GL_FLAT ); glBegin( prim ) ... glEnd() The big win is when we can eliminate all the statechanges between two primitive blocks and combine them into a single VBO node. This commit implements state-change elimination for Material and ShadeModel only. This is enough to make a start on debugging, etc.
ain/dlist.c
ain/mtypes.h
|
1f070125e365dadf97797785fdeef1ccb1431f21 |
30-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Enable EXT_gpu_program_parameters. There doesn't appear to be any driver impact for enabling this, and tests/prog_parameter passes.
rivers/dri/intel/intel_extensions.c
|
b8c479d4b0519bde0e395ea669b017b6a6188146 |
29-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
5c06c52116890342c3988325760a73fd84e2be30 |
29-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: enable GL_ARB_framebuffer_object All gallium drivers should be able to support mixed-size color/depth/stencil buffers. If not, we'll need a new PIPE_CAP_ query.
tate_tracker/st_extensions.c
|
f44638fa613b48e8d6551ebcb127336b932ba6c8 |
29-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check for ARB_framebuffer_object for GL_TEXTURE_STENCIL_SIZE_EXT query
ain/texparam.c
|
cb0ea416bda30a7f7bced78e1edde806fbcb7577 |
29-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: alphabetize lines
tate_tracker/st_extensions.c
|
4e43126a5915b1233c89c61400c8270d23d48ea3 |
29-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: added null ptr check This fixes a segfault seen with piglit's fdo20701 test.
rivers/dri/intel/intel_context.c
|
a96f86831e666dd3942828abd156805c242e44f6 |
29-Jun-2009 |
Eric Anholt <eric@anholt.net> |
Revert "intel: Remove unneded pthread mutex in LOCK_HARDWARE." This reverts commit de447afff26706e3bf8bdcd5cfb8b1daf49b4b21 but puts the lock under DRI1-only. From keithw: > It's there because the DRI1 code doesn't actually achieve the mutexing > which it looks as if it should. For multi-threaded applications it was > always possible to get two threads inside locked regions -- I have no > idea how, but it certainly was and presumably still is possible.
rivers/dri/intel/intel_context.c
|
94008088c1e6758a44a2f48c5a94db1f072d255a |
29-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Move note_unlock() implementation to the one place it's needed.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
de447afff26706e3bf8bdcd5cfb8b1daf49b4b21 |
29-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove unneded pthread mutex in LOCK_HARDWARE. This would cause LOCK_HARDWARE to mutex all contexts in this process on both DRI1 and DRI2. On DRI1, LOCK_HARDWARE already does it for all processes on the system. On DRI2, LOCK_HARDWARE doesn't, but there shouldn't be any state outside the context that needs any additional protection. Notably, the bufmgr is protected by its own mutex and not LOCK_HARDWARE. This code was originally introduced with the i915tex code dump, so it's not clear what it was there for.
rivers/dri/intel/intel_context.c
|
3927874d9c7fafb61651d0fc69547c8e010181f5 |
29-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Make LOCK_HARDWARE recursive to avoid hand-rolling recursiveness.
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_regions.c
|
21320b24c5350943da9ed4cb0f1e8b05a09d4ef2 |
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: check number of varying variables against the limit Link fails if too many varying vars. (cherry picked from master, commit cc58fbcf2c5c88f406818db60910f537e03610d6)
hader/slang/slang_link.c
|
f08bebfe246d786c39731871d8c4aa00a10b29ab |
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: raise MAX_VARYING (number of shader varying vars) to 16 16 is the limit for now because of various 32-bit bitfields. (cherry picked from master, commit 4e762395ef7e8c332c16fd0c11025cfa52763a45)
ain/config.h
|
2d86503471cb8691ce266342810237fc1b15a7b2 |
26-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel / DRI2: Additional flush of fake front-buffer to real front-buffer To maintain correctness, the server will copy the real front-buffer to a newly allocated fake front-buffer in DRI2GetBuffersWithFormat. However, if the DRI2GetBuffersWithFormat is triggered by glViewport, this will copy stale data into the new buffer. Fix this by flushing the current fake front-buffer to the real front-buffer in intel_viewport. Fixes bug #22288.
rivers/dri/intel/intel_context.c
|
077a06c140001849dafbedc4175f9aa703bbba69 |
26-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.5-rc4
ain/version.h
|
e80ecdf6596eb1f570ab6ae3dbcbd30660cd5b3a |
26-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: move/simplify error checking for 'return' statements
hader/slang/slang_codegen.c
|
8e6dd8bf7991d8fc4938af692e5ce880ef139b4d |
26-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: overhaul 'return' statement handling A new node type (SLANG_OPER_RETURN_INLINED) is used to denote 'return' statements inside inlined functions which need special handling. All glean glsl1 tests pass for EmitContReturn=FALSE and TRUE.
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
hader/slang/slang_print.c
|
aa48becb829932f410ef93cf1bbf02e0386ea646 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: predicate assignments according to __returnFlag Fixes glean "function with early return (3)" case (when EmitContReturn=FALSE).
hader/slang/slang_codegen.c
|
16787c513b677d850ecce9697d81814a2a48fc7f |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_variable::is_global field
hader/slang/slang_compile_variable.h
|
ac05996b812657bdc04e0ec0d09bd638826f52d6 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: silence a problem warning
hader/slang/slang_codegen.c
|
0efd25b502cfd84e401bd29c58baf00ea2f41e96 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: code refactoring for return statements
hader/slang/slang_codegen.c
|
2ae297c318faf29219ae00778d6bd115735a2f27 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix assorted regressions related to early-return-removal
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
ddf64be2587024e5cc36cf623c544f7ef926755a |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: comments, field reordering
hader/slang/slang_codegen.h
|
f652f15e6dad86bfc7a027978a9b67d00202259c |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: rework loop nesting code
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
dd453fa37c243a98ca2e2c76d3b396e2d294350e |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove test for loop unrolling when we hit conditional cont/break This is no longer needed since we added the new _slang_loop_contains_continue_or_break() function/test.
hader/slang/slang_codegen.c
|
2f1c5c58b33dc616a3744cd40fcae20971309b3c |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: checkpoint: predicate __retVal = expr with __returnFlag The glean "function with early return (1)" test passes now.
hader/slang/slang_codegen.c
|
65eaafee250bdcc8e82104e45dcc152735cf8b85 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use new helper functions in _slang_gen_logical_and/or()
hader/slang/slang_codegen.c
|
e139434d4477c2c8fb5f59ebf3b3b9a97238684c |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: add comments
hader/slang/slang_compile_operation.h
|
b04605d544c0d423aa8482e3c29c9daded60b266 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: checkpoint: replace 'return' with __returnFlag=true; Needed for "remove early returns" transformation.
hader/slang/slang_codegen.c
|
515513b40925ebd94502cf0511a414d8d4f52078 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix up scoping for parent/children in slang_operation_copy() This will need more testing, but no regressions seen so far.
hader/slang/slang_compile_operation.c
|
09313043e7d5b91465846c9064b95871f9f03cc3 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix uninitialized var in _slang_gen_for_without_continue()
hader/slang/slang_codegen.c
|
5951ab311db1e716cada3ada87187e50d4434ee4 |
25-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_operation_free_children()
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
e5b53c071bf664931f7553e2a9f5ccd96b2c09cb |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_oper_num_children() helper
hader/slang/slang_compile_operation.h
|
3c6480ea42298ae46413ebfacca13100cfefaed2 |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: check-point: declare _returnFlag
hader/slang/slang_codegen.c
|
fc0896b50b8458a503eac8945dbb1f3e29b08990 |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_operation_insert_child()
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
f4b1a69b7d53d88e12d9baac419b48bbf8e32989 |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use slang_generate_declaration() to consolidate some code
hader/slang/slang_codegen.c
|
454a717d94f51504664b6b2e6463dd14ef2c4f7c |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove obsolete comment
hader/slang/slang_codegen.c
|
02edc8da36d6e01635bcfbb5073f0f718de96c37 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTED
tate_tracker/st_extensions.c
|
08025cd4a551569c821ccb94904b9ccbbd94b632 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement _slang_gen_while_without_continue()
hader/slang/slang_codegen.c
|
2102e301a7f218c26878deaed2d94c15cd53f292 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix a bug involving 'continue' in 'for' loops Need to execute the for loop's increment code before we continue. Add a slang_assemble_ctx::CurLoopOper field to keep track of the containing loop and avoid the "cont if true" path in this situation. Plus, assorted clean-ups.
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
541594b04432710b5dba74277443420c9aa97e04 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_oper_child_const()
hader/slang/slang_compile_operation.h
|
38ddbc5588a9922854e9191cda42d37cb01e70aa |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use _slang_loop_contains_continue_or_break() to check for unrolling The previous test failed for nested loops.
hader/slang/slang_codegen.c
|
4dafac2b2f850caba8e1a5982aca60a7d509fde6 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use new _slang_loop_contains_continue() helper function
hader/slang/slang_codegen.c
|
aba93643be09589318cfde33556d872b1cd9ea75 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement continue->break translation for do-while loops
hader/slang/slang_codegen.c
|
7e0eaca201c0a5678752e9d3de6f699ff8281f75 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_operation_literal_int/bool() helper functions
hader/slang/slang_compile_operation.h
|
c1f74a6734494d0531eb7dc844bb83e7d9c9f1fa |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: don't allocate 0-length children array in slang_operation_copy()
hader/slang/slang_compile_operation.c
|
f38872473cc035487dbe265a520cb4c6eb3cc81c |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove debug code, misc clean-up
hader/slang/slang_codegen.c
|
f66733bbeeeed767b86a14caec61a87f14d8135a |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement continue->break transformation for for-loops
hader/slang/slang_codegen.c
|
c4fd947beedbd1e2f8fdaf4ead3b2a8249bd239e |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_operation_add_children() and slang_oper_child() helpers
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
c20bb48d3a897fd616bf4c7d4eb67ea34475985d |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added slang_assemble_ctx::EmitContReturn field, init
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
|
4bc74a07561eeaa97dbde55c384998ea6aa5968c |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: don't unroll loops containing continue/break Just search the AST in _slang_can_unroll_for_loop().
hader/slang/slang_codegen.c
|
625b0fe2684de462d1e7ea7fc8fcdfc8e3283949 |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Revert "slang: if/else/break & if/else/continue work for unrolled loops" We should just check if the loop contains a continue/break in the _slang_can_unroll_for_loop() test function... This reverts commit 989856bde47d699d7e18798df4013fbf962e1d4b. Conflicts: src/mesa/shader/slang/slang_codegen.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
4031ea1520f582fa36a6b964de7d565fe33a538d |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Added gl_shader_state::EmitContReturn field This is the start of a glsl-continue-return feature branch to support a GLSL code generator option for 'continue' and 'return' statements. Some targets don't support CONT or RET statements so we'll need to try to generate code that does not use them...
ain/mtypes.h
hader/shader_api.c
|
d1bc9a29b9fe9400681221b38639e12536dd6dbf |
26-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
Fix viewport issue
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
eaadba6eee05cd725295821e0c1f5e1a01e99e89 |
25-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
Fix color data can't be fetched issue
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r700_clear.c
|
5e1534f532330a19fd61cb3d28d48f51a7eafc4e |
23-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
correct scissor and cliprect setting
rivers/dri/r600/r700_state.c
|
2f184d0d9f4600a20022887674b77f45ee6b728e |
16-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: handle OPCODE_SWZ in the glsl path glsl compiler will not generate OPCODE_SWZ, and as a first step it would be translated away to a MOV anyway (why?), but later internally this opcode is generated (for EXT_texture_swizzling). (cherry picked from commit 4ef1f8e3b52a06fcf58f78c9c36738531b91dbac)
rivers/dri/i965/brw_wm_glsl.c
|
0584b6e433753dd01101c6824f6f6336c40d0f1f |
11-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL. Fixes glean depthStencil test. (cherry picked from commit 3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057)
rivers/dri/intel/intel_pixel_draw.c
|
19218fe71269d03e1a2e9fcfd0c06a9adb5cb21d |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: added intelFlush() call in intel_get_tex_image() Fixes the render-to-texture test in progs/tests/getteximage.c (cherry picked from commit a03b349153660e449daf4f56d750f1caef23b1a5)
rivers/dri/intel/intel_tex_image.c
|
a5b7e0c7d73949e24d4edb1ab09b0aff367132a5 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs (cherry picked from commit 4dc426c01627a240bd5b148c1804c45b0d5ecd6c)
ain/dlist.c
|
54f425b5cefd1e40f315a4f8747b9a3db29ab9d4 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). (cherry picked from commit 4a95185c9f30c2de7a03bb1a0653f51b53b1111d)
ain/api_noop.c
ain/config.h
ain/dlist.c
ain/enums.c
hader/slang/slang_link.c
bo/vbo_attrib_tmp.h
bo/vbo_exec_array.c
|
810df8317dfe30c573cfb8296e569f73d23b74a7 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS (cherry picked from commit d2a74d76c96957cf0294dcf40d29526621ada95e)
ain/varray.c
|
19ca5ee1db002db48fd3d2ff665670a9bc8d699b |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some potential state-restore issues in pop_texture_group() Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays. (cherry picked from commit aac19609bfd7c950b2577489b06886c8a8097bb2)
ain/attrib.c
|
ad0514b24df196e40d5ba7bb41f3bacce0b86a31 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program If we're running a vertex program to emulated fixed-function, we still need to treat vertex arrays/attributes as if we're in fixed-function mode. This should probably be back-ported to Mesa 7.5 after a bit more testing. (cherry picked from commit dda82137d28aba846dda73da230871c115e30aaf)
bo/vbo_context.h
|
00e203fe17cbf2127abc422c785cf9fad3232adb |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: create/use a fallback texture when bound texture is incomplete When a GLSL sampler reads from an incomplete texture it should return (0,0,0,1). Instead of jumping through hoops in all the drivers to make this happen, just create/install a fallback texture with those texel values. Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some GPU lockups when trying to sample from missing surfaces. If a binding table entry is NULL, it seems that sampling sometimes works, but not always (lockup). Todo: create a fallback texture for each type of texture target? (cherry picked from commit 3f25219c7bf0f090502489928f0f018e62c4f6cf)
ain/mtypes.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
3a3c7fd52e7ab846686fbbb2b572894134b2f9b6 |
22-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
functions declaration with 'extern'
rivers/dri/r600/r600_context.h
|
2f6451042d6c6e69fe1ea4f87814ebf2f982b034 |
22-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
Pass viewport id to r700SendViewportState function, otherwise the radom value may beyond R700_MAX_VIEWPORTS
rivers/dri/r600/r700_render.c
|
46ca8e5782ebb71d6e5f8a29c1c66b4891bf4916 |
22-Jun-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
add LINK_STATES for SPI_PS and SEMANTIC
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_state.c
|
abfd56c24c821e0dec233348ef01aef5b57f2763 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists. Fixes oglconform zbfunc.c and pxtrans-cidraw.c, at least. (cherry picked from commit 405300bb190f516e16b704050abe3389b366ed27)
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
daacac1c24ce5551e074c07f64e14f5c5057d188 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix glClear behavior versus display lists. The CALL_DrawArrays was leaking the clear's primitives into the display list with GL_COMPILE_AND_EXECUTE. Use _mesa_DrawArrays instead, which doesn't appear to leak. Fixes piglit dlist-clear test. (cherry picked from commit 64edde1004f7a69e77877bba24d315a92bcd47c8)
rivers/dri/intel/intel_clear.c
|
43bb78f2bb6c851d989903e7eb996e87113d878c |
19-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeons: use dp4 for position invariant vertex programs Fixes #22181. R200 requires this since DP4 is used in hw tnl mode. R300 prefers it (should be faster due to no instruction dependencies), but both methods should be correct (when sw tcl is used though, MUL/MAD might be faster). Probably doesn't make much difference for R100 since vertex progs are executed in software anyway, but let's just keep it the same there too.
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
|
a120778c72324bc56c63cd0f1873c6f2772228ea |
19-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
Always free image offsets memory when re-initializing texture image fields. Fixes leak running compiz with direct rendering.
ain/mipmap.c
ain/teximage.c
tate_tracker/st_gen_mipmap.c
|
0491142152dcc61ebe0b46b05c94957e54c44bd9 |
11-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: protect Elements against multiple definitions Mesa and gallium both have a definition of this macro
ain/compiler.h
|
39366ed995310c95d95e0c7a33fb0bec637a00b6 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove extra \n from warning string (cherry picked from commit 42e9bde0fa2276b8f5bb434328eea7665794b127)
rivers/dri/intel/intel_screen.c
|
d446d3acacdffa7c0f744764214b2bea5e191678 |
14-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix 1D texture borders with GL_CLAMP_TO_BORDER With 1D textures, GL_TEXTURE_WRAP_T should be ignored (only GL_TEXTURE_WRAP_S should be respected). But the i965 hardware seems to follow the value of GL_TEXTURE_WRAP_T even when sampling 1D textures. This fix forces GL_TEXTURE_WRAP_T to be GL_REPEAT whenever 1D textures are used; this allows the texture to be sampled correctly, avoiding "imaginary" border elements in the T direction. This bug was demonstrated in the Piglit tex1d-2dborder test. With this fix, that test passes. (cherry picked from commit ab6c4fa582972e25f8800c77b5dd5b3a83afc996)
rivers/dri/i965/brw_wm_sampler_state.c
|
56235ae5049bee929c83f6932db077afaa5930f8 |
14-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: send all warnings through _mesa_warning() One warning message: drm_i915_getparam: -22 was still being sent to fprintf(). This causes all Piglit tests to fail, even with MESA_DEBUG=0. Using _mesa_warning() to emit the message allows the general Mesa controls for messages like this to be applied. (cherry picked from commit bc3270e99f5c39544aaf831742db14796ab83a6a)
rivers/dri/intel/intel_screen.c
|
e15aebe10e20aacce63175b68ec8daa5c1dc4e0c |
08-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix segfault on low memory conditions When out of memory (in at least one case, triggered by a longrunning memory leak), this code will segfault and crash. By checking for the out-of-memory condition, the system can continue, and will report the out-of-memory error later, a much preferable outcome. (cherry picked from commit 44a4abfd4f8695809eaec07df8eeb191d6e017d7)
rivers/dri/i965/brw_wm.c
|
a70c45bdabd8a172de6c50167b3e9d99649db1fa |
03-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Fast path when rebinding the same texture in single context environment If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%. (cherry picked from commit 7f8000db8bd45bb95bda4a4f8535c49b8ef74254)
ain/texobj.c
|
ff3da0966fc91cd5bcfed994e5edadbf25903c47 |
02-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Don't put VBOs in graphics memory unless required for an operation. This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs. (cherry picked from commit a945e203d4fe254593bc0c5c5d6caca45e65f9f7)
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
1b8e4dd2c8343af391a33be2aff7978366c450df |
27-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fall back on NPOT textured metaops on 830-class. (cherry picked from commit 8ec6e036792decf5149a209e51cb5e93ccc5c754)
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
cee73ffdaf3a73f54593010dc1cbc77610ba3224 |
27-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Restore the Viewport and DepthRange functions on 8xx. Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473. (cherry picked from commit 0e83e8f51af07a3066519f169f07d9afbf23252e)
rivers/dri/i915/i830_state.c
|
7805c3b57b558dac7a92d97b6a2210e037aea792 |
21-May-2009 |
Eric Anholt <eric@anholt.net> |
i956: Make state dependency of SF on drawbuffer bounds match Mesa's. Noticed while debugging a weird 1D FBO testcase that left its existing viewport and projection matrix in place when switching drawbuffers. Didn't fix the testcase, though. (cherry picked from commit 3a521d84ecc646fcc65fa3fe7c5f1fdbdebe8bc2)
rivers/dri/i965/brw_sf_state.c
|
97974b7e5198eb480c0e86474ee177821c462d45 |
16-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't complain on falling back from PBO fastpaths. Instead, stash the debug info under the handy debug flag. Bug #20053 (cherry picked from commit 22690482e692cb5ed2f84d3e69545c09292e3484)
rivers/dri/intel/intel_tex_image.c
|
957f3c8c3d3b6a48bbcc24e9db2c110a7fde177b |
16-May-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Mark FBOs with compressed color attachments as FBO-incomplete. Both EXT_fbo and ARB_fbo agree on this. Fixes a segfault in the metaops mipmap generation in Intel for SGIS_generate_mipmap of S3TC textures in Regnum Online. Bug #21654. (cherry picked from commit 0307e609aa3e707eeb40051bd664d36f2340ba9b)
ain/fbobject.c
|
66bfd025c84ca6d4fb73f394adcdd41418ab6b25 |
15-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers. The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway. bug #21608 for Radeon (cherry picked from commit 4c6f82989983eecc0b3b724716cb3bcb675664c5)
rivers/dri/intel/intel_buffers.c
|
fbd554d07456cf393a20cb86d1c0e81c416843aa |
15-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Only use the new 945 cube layout for compressed textures. The docs actually explain this, but not in a terribly clear manner. This nearly fixes the piglit cubemap testcase, except that something's going wrong with the nearest filtering at 2x2 sizes in the testcase. Looks good by visual inspection, though. Bug #21692 (cherry picked from commit 5c5a46884899ea25cdf25545d6ab3d9a74eafa3a)
rivers/dri/i915/i915_tex_layout.c
|
6e0df938d4504acc97012dc51002459d1d9f309a |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix varying payload reg assignment for the non-GLSL-instructions path. I don't have a testcase for this, but it seems clearly wrong. (cherry picked from commit dc657f3929fbe03275b3fae4ef84f02e74b51114)
rivers/dri/i965/brw_wm_pass2.c
|
988b61be2743de6850c8042516db28d14ee3002f |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix register allocation of GLSL fp inputs. Before, if the VP output something that is in the attributes coming into the WM but which isn't used by the WM, then WM would end up reading subsequent varyings from the wrong places. This was visible with a GLSL demo using gl_PointSize in the VS and a varying in the WM, as point size is in the VUE but not used by the WM. There is now a regression test in piglit, glsl-unused-varying. (cherry picked from commit 0f5113deed91611ecdda6596542530b1849bb161)
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass2.c
|
320a303be0805b5746f357653cf09ad9d7f0e8bc |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use FRONT_AND_BACK for StencilOp as well. (cherry picked from commit 64980125c76b05501a6fe7fe20fe52438f459129)
rivers/dri/intel/intel_clear.c
|
d9e35d51fd9bb5d67865a451d16cf61c66f16a11 |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use GL_FRONT_AND_BACK for stencil clearing. This comes from a radeon-rewrite fallback fix, but may also fix stencil clear failure when the polygon winding mode is flipped. (cherry picked from commit d866abeffc7e4a29736fa35fb8ac09c3a28a44d6)
rivers/dri/intel/intel_clear.c
|
61a2c9668fd59dc301c2b61d46b48c974d0f0109 |
10-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Skip the DRI2 renderbuffer update when doing Viewport on an FBO. (cherry picked from commit d4a42b0ce6455d03be70aa56aacd779be193aca4)
rivers/dri/intel/intel_context.c
|
2770107d87ccfd558480c44cd90a75524bdea738 |
10-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Map write-only buffer objects through the GTT when possible. This looks to be a win of a few percent in cairogears with new vbo code, thanks to not polluting caches. (cherry picked from commit aa422b262509bc0763a50f63a51a1730139ea52f)
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
3f856c6b6b7fa95ef97a8712876de88d7d57932e |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework viewport/scissor initialization code The first time a context is bound to a drawable, the viewport and scissor bounds are initialized to the buffer's size. This is actually a bit tricky. A new _mesa_check_init_viewport() function is called in several places to check if the viewport has been initialized. We also use a new ctx->ViewportInitialized flag instead of the overloaded ctx->FirstTimeCurrent flag.
ain/context.c
ain/context.h
ain/mtypes.h
tate_tracker/st_context.c
tate_tracker/st_framebuffer.c
|
d18c57aaeac37cde0cb551191ecd3c3a56a0ffba |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added null ptr check in Fake_glXCreatePixmap() Fixes segfault in progs/xdemos/glxgears_pixmap.c
rivers/x11/fakeglx.c
|
c53705ed7b89e5a2586b534508182de9c72452ea |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
GLX: attempt to fix glean makeCurrent test cases. Two parts to this: One we don't keep pointers to possibly freed memory anymore once we unbind the drawables from the context. Brian I need to figure out what the comment you made there, can we get a glean/piglit test so we can fix it properly? If the new gc is the same as the oldGC, we call the unbind even though we just bound it in that function. doh. (cherry picked from master, commit 77506dac8e81e9548a7e9680ce367175fe5747af)
rivers/dri/common/dri_util.c
|
6b917d0b1787280f976c2f0d1ead0e5d7587a3e9 |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix bugs in projective texture coordinates For the TXP instruction we check if the texcoord is really a 4-component atttibute which requires the divide by W step. This check involved the projtex_mask field. However, the projtex_mask field was being miscalculated because of some confusion between vertex program outputs and fragment program inputs. 1. Rework the size_masks calculation so we correctly set bits corresponding to fragment program input attributes. 2. Rename projtex_mask to proj_attrib_mask since we're interested in more than just texcoords (generic varying vars too). 3. Simply the indexing of the size_masks and proj_attrib_mask fields. 4. The tracker::active[] array was mis-dimensioned. Use MAX_PROGRAM_TEMPS instead of a magic number. 5. Update comments, add new assertions. With these changes the Lightsmark demo/benchmark renders correctly, until we eventually hit a GPU lockup...
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
3e48dd04456aaf2d42dfa7f3a3c99a95a5986eb6 |
16-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect viewport clamping in _mesa_set_viewport() A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
ain/viewport.c
|
ed7f4b42307bff4633689d6781cd3643f10041e5 |
16-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix REMAINDER() macro The results were incorrect for some negative values of A. See bug 21872.
wrast/s_texfilter.c
|
d027e8feff7d38cccadc6aaccc0454b21ce4dca0 |
16-Jun-2009 |
Shuang He <shuang.he@intel.com> |
intel: Release fb backing regions in intelDestroyBuffer() Fixes memory leak when destroying framebuffers.
rivers/dri/intel/intel_screen.c
|
c6af9b29476e4e445623e7a2f737ba95003bbe13 |
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Always return a value.
ain/texenvprogram.c
|
053d8eb8914cae274ccd19abb0a492e7ca220660 |
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use appropriate float/integer types.
ain/texformat_tmp.h
ain/texgetimage.c
|
6214c7262fe2d31553a4974022e08a7715693014 |
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use type modifier for float constants.
ain/macros.h
ain/texformat_tmp.h
ain/texgetimage.c
|
37f2117cd132527ebf89f9294b2f35db87326460 |
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use integer type with appropriate sign.
ain/api_validate.c
ain/texenv.c
|
6791576f6cc90018bd65c263fa6c16ad2b19cdae |
29-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
Revert "r200: make use of DMA buffers for Elts a lot better." This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
|
dbb56687c83845cc20aee7243e437a32e5c79a70 |
01-Jun-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Always initialize front and back renderbuffers if present This fixes an assertion in glReadPixels from the front buffer. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_common_context.c
|
9fa0d25c547a940fa275f786a63de85f6bc39870 |
27-Jun-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Update .gitignore Add all source files that are symlink'ed from common radeon code to the ignore list. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r200/.gitignore
rivers/dri/r300/.gitignore
|
f57280cc7360d0eee40df6d34befbfad2288d297 |
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'arb_vertex_array_object'
|
a18e209edb5348eb167e9d7184597031bbbbe622 |
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
|
4fdc6ad41b843109febbe9596dde87f676a8b0e9 |
26-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: fix fetching constants from constant buffer in glsl path the driver used to overwrite grf0 then use implicit move by send instruction to move contents of grf0 to mrf1. However, we must not overwrite grf0 since it's still used later for fb write. Instead, do the move directly do mrf1 (we could use implicit move from another grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't seem to make sense). I think the dp_READ/WRITE_16 functions may suffer from the same issue. While here also remove unnecessary msg_reg_nr parameter from the dataport functions since always message register 1 is used.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
8affcd364bd99b7da44e565db91c6c0afbf9ce77 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: enable GL_ARB_vertex_array_object extension
rivers/dri/intel/intel_extensions.c
|
cfb815805839ecb5eb8636b1a7f643de44e04ca9 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: plug in glBindVertexArray, glGenVertexArrays functions
ain/api_exec.c
|
2a795ad5227f7b311c2b32afb77ba11068733283 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: alphabetize lines
tate_tracker/st_extensions.c
|
32220c48ad8da199ed6a3d419183fd12bb4fc83e |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: enable GL_ARB_vertex_array_object
tate_tracker/st_extensions.c
|
e2b72495550980198dcc0580af8de1fe9dfd8c67 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_object
ain/varray.c
|
7ebadecd8758f2a4d965bc57068eccd05f9b1470 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added extension flag for ARB_vertex_array_object
ain/extensions.c
ain/mtypes.h
|
9342e6f5a94d3b884dcb98b4741295f1aa23e282 |
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object This also involves adding a gl_array_object::VBOonly field. For the ARB extension, all arrays in the object must reside in a VBO. This flag keeps track of that requirement.
ain/arrayobj.c
ain/arrayobj.h
ain/mtypes.h
|
b8000c874ecb33b1554407c5e568afbb471dda3a |
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement _mesa_BindVertexArray()
ain/arrayobj.c
ain/arrayobj.h
|
12cf98f5fc5eaa4743134387ce3f8e584aa20bc4 |
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move vertex array objects from shared state to per-context The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
ain/arrayobj.c
ain/context.c
ain/mtypes.h
ain/shared.c
ain/varray.c
ain/varray.h
|
bda551898a09e4a07491dcf394bb2981dced0012 |
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated files related to GL_ARB_vertex_array_object
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
54b03948e0a4b84405227fe61a3114b0155caaa1 |
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: add new information for GL_ARB_vertex_array_object
lapi/ARB_vertex_array_object.xml
lapi/Makefile
lapi/gl_API.xml
|
dd26899ca39111e0866afed9df94bfb1618dd363 |
19-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Fixups for 'mesa: create/destroy buffer objects via driver functions'. Initialize all driver function hooks before calling _mesa_initialize_context(), and handle all buffer objects in intel_buffer_object(). Fixes assertion failure when running glxinfo.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_context.c
|
4d2b392a0ac597f8b7f88006746660e8f0fe09ea |
19-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: fix cube maps for non-mm path drm cmd checker would refuse cube emits also fix an issue in the cs path which would calculate the register offset off by one dword. Only same testing done as original code (none except compile tested).
rivers/dri/radeon/radeon_state_init.c
|
fa5b81ea8bb3ff163543fe3a8907e7be69e99419 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: restore some parameter checking buffer object functions These functions may be called from the VBO code (not just user GL calls) so do some parameter sanity checking.
tate_tracker/st_cb_bufferobjects.c
|
ffae82da4cf5a969d699c7f5bdcd4dae6c27a1ca |
19-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix cube maps for non-mm path drm cmd checker rightfully fell over any cube emit
rivers/dri/r200/r200_state_init.c
|
e90d6a3cbfdf26b67ccb000265eb529b82c03eb4 |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: initial code for loops in vertex programs
rivers/dri/i965/brw_vs_emit.c
|
fd7d764514c540987549c3ea88a2d669b0f0ea58 |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: asst clean-ups, etc in brw_vs_emit()
rivers/dri/i965/brw_vs_emit.c
|
752204d3624cdaa7be9dea058676190d3893a55e |
18-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: asst clean-ups, var renaming in brw_wm_emit_glsl()
rivers/dri/i965/brw_wm_glsl.c
|
9d029e0e200eb97993c1b9fb8ab9046172e703e8 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove redundant st_buffer_object::size field and error checks Just use the gl_buffer_object::Size field. Remove unnecessary size/offset error checks. Core Mesa will have already done these checks before these functions are called.
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
|
1ffd074436949f3958127cc5ae7c7c9e9e9e0bf8 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: no longer special-case buffer object 0 in st_buffer_object() cast wrapper Since commit 6629a35559ff7e3b993966f697f7c7f68e5a38d9 "mesa: create/destroy buffer objects via driver functions" this is no longer needed, and actually was causing a crash during context tear-down.
tate_tracker/st_cb_bufferobjects.h
|
7ce814b25f8c216c7897904cbce7f570112e60ef |
19-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeons: use dp4 for position invariant vertex programs Fixes #22181. R200 requires this since DP4 is used in hw tnl mode. R300 prefers it (should be faster due to no instruction dependencies), but both methods should be correct (when sw tcl is used though, MUL/MAD might be faster). Probably doesn't make much difference for R100 since vertex progs are executed in software anyway, but let's just keep it the same there too.
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
|
a8da1feb231115205f3a19b0bb0a9317157ba167 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make query-related driver fallback functions static Plug them in via _mesa_init_query_object_functions().
rivers/common/driverfuncs.c
ain/queryobj.c
ain/queryobj.h
|
331eb58f68db26b54f706a908a3e1424a461b709 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make buffer object-related driver fallback functions static Plug them in via _mesa_init_buffer_object_functions().
rivers/common/driverfuncs.c
ain/bufferobj.c
ain/bufferobj.h
|
6629a35559ff7e3b993966f697f7c7f68e5a38d9 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: create/destroy buffer objects via driver functions
ain/shared.c
|
9038b6c8bbda49c544d777c7cf7b107887421c77 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'ext-provoking-vertex' Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
|
601065f15389b52c084cdc46c339e15fd3b5eb25 |
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix first provoking vertex mode for unfilled tri strips
nl/t_vb_rendertmp.h
|
c9f19571da2673a934f6f97aeea92c5414c28925 |
16-Jun-2009 |
Thomas Hellstrom <thellstrom@vmware.com> |
mesa driconf: Add macro to specify an option with a quoted default value. The default values true and false will expand to "1" and "0" when gcc -std=c99, causing bool option defaults to generate runtime failures. One solution is to specify bool option defaults quoted as "true" and "false". Add a macro to assist this. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
rivers/dri/common/xmlpool.h
|
3addc4e3078b99db07598ac0b2473f7612b83a09 |
18-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add decode for the G4X x,y offset in surface state.
rivers/dri/i965/brw_state_dump.c
|
6c3f6968911e0bb3256e91b070166d3da78a4775 |
18-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix up texture layout for small things with wide pitches (tiled) We were packing according to the pitch, while the hardware appears to base it on the base level width. With this and the previous commit, fbo-cubemap now matches untiled behavior.
rivers/dri/i965/brw_tex_layout.c
|
0f328c90dbc893e15005f2ab441d309c1c176245 |
06-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fall back or appropriately adjust offsets of drawing to tiled regions. 3D rendering to tiled textures was being done with non-tile-aligned offsets. The G4X hardware has fields to let us support it easily and correctly, while the pre-G4X hardware requires a path full of suffering, so we just fall back.
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_wm_surface_state.c
|
46000cecc32104702fcb0de5a842d11b18c41c6b |
18-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r300: use vbo_split_prims to split up large vertex buffers. This lets ut2004 avoid hitting the elt warning.
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
bd10f0e84f1491363d76d92dcbd410ab5cc43dbe |
12-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix tiling for FBO depth attachments by making DEPTH_COMPONENT Y tiled. This may hurt if miptree relayout occurs, since we can't blit Y tiled objects. But it corrects depth tests on FBOs using textures.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
|
b165fa7d45e230f9e61fcf3a09babf0c61c67319 |
18-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: don't re-add BOs to validate list if its on the list its on the list don't go readding it. multitexturing from the same texture could cause this.
rivers/dri/radeon/radeon_common.c
|
3817a54912a6c51fa0a7ec64787a69007bda44fa |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: call _mesa_postprocess_program(), disabled
hader/slang/slang_link.c
|
516d20fd2688fce833b764ca21f1f1772bed0a03 |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence warning
hader/program.c
|
ec6ad7ba3ce4fa71620642ddde06cf843d1c8d54 |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_postprocess_program() to aid shader debugging
hader/program.c
hader/program.h
|
f806a0336153ec211441a23da0eb8e763e001b02 |
17-Jun-2009 |
Jerome Glisse <jglisse@redhat.com> |
radeon: Flush command buffer on viewport change We flush the command buffer so we don't emit mixed state (with new and previous buffer size) command buffer, this is especialy affecting zbuffer states.
rivers/dri/radeon/radeon_common.c
|
2506c4e8b142b933668db2b478333ebdfcfd0d96 |
17-Jun-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: don't emit vap index offset on r5xx hw when using cs vap index offset is programmed to 0 by the kernel, it would add work to kernel checker to allow userspace programming of this so it's now disallowed with CS on KMS.
rivers/dri/r300/r300_cmdbuf.c
|
77506dac8e81e9548a7e9680ce367175fe5747af |
11-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
GLX: attempt to fix glean makeCurrent test cases. Two parts to this: One we don't keep pointers to possibly freed memory anymore once we unbind the drawables from the context. Brian I need to figure out what the comment you made there, can we get a glean/piglit test so we can fix it properly? If the new gc is the same as the oldGC, we call the unbind even though we just bound it in that function. doh.
rivers/dri/common/dri_util.c
|
856221d6995a7754cde60748d7c229b5278f043e |
17-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix warnings in wrapper with libdrm
rivers/dri/radeon/radeon_bocs_wrapper.h
|
8d482227915552c414e13743652e6794c4313ae2 |
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/api_validate.c
|
4ef1f8e3b52a06fcf58f78c9c36738531b91dbac |
16-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: handle OPCODE_SWZ in the glsl path glsl compiler will not generate OPCODE_SWZ, and as a first step it would be translated away to a MOV anyway (why?), but later internally this opcode is generated (for EXT_texture_swizzling).
rivers/dri/i965/brw_wm_glsl.c
|
70d247c69bcef4f40b640ae61e9fb9ebc5887bb6 |
16-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'arb_map_buffer_range' Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h
|
01f7bda44c92268fa288bbd8f53af3a3620bd315 |
15-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: revert some recent VBO buffer object refcounting changes Reverts part of commit d7ea9ddf5824556e47decac7ba200f37cf1e552f. We were calling _mesa_reference_buffer_object() on some heap-allocated memory that was uninitialized and could trigger an assertion. We can actually go back to "looser" ref counting of the Null/default buffer object in these cases.
bo/vbo_rebase.c
bo/vbo_split_copy.c
|
63c407db3ef28862588660478a94102860480731 |
12-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
enable ARB_half_float_pixel for intel drivers
rivers/dri/intel/intel_extensions.c
|
4ed2c0dddc5813cbbe08b73f96043b1c4b07d0bf |
24-May-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: fix (cosmetic) typo flag used twice
rivers/dri/intel/intel_clear.c
|
e0eafde746fee546b16205e4a605e28f78e120f9 |
15-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix 3D textures
rivers/dri/radeon/radeon_texture.c
|
0952645fe04a27968565ea4d913500c23b1b11e3 |
26-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r200: make use of DMA buffers for Elts a lot better. This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
|
db545796289abe4b771b3ee23a4559674bebe37a |
26-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r200: only emit unitneeded textures
rivers/dri/r200/r200_state_init.c
|
43b3b745e4d893b64d6331cb6183f8615e613f66 |
25-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: fix hw texture limits still always enable max, but the right values this time. More work should probably be done for saner limits without mm, and/or dri conf option allow_large_textures (which is ignored) removed. 3D limit on r100 is pretty arbitrary as still handled by swrast anyway. Also fix r300 limits (except 3d I've no idea what the max is anyway so keep using mesa default).
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
|
cdbcb051d93836861bc4d4e1027156111ac249d2 |
25-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: add some hw texture limits
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
69fd0cbaa2ac259101f647ad0934b626f382674f |
24-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix stupidity in cs space check code. This was already correct in the GEM code
rivers/dri/radeon/radeon_cs_legacy.c
|
bc5c40d7d99a51f5b6080bf85080e4984e528dfd |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix additional merge conflicts missed in previous commit
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_pixel_draw.c
|
a04af335a42ce3b28e59ff9b85b2bd433a9d7b12 |
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
|
b8e638d4895d2d342306bb6443a455f73903ce20 |
24-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Disable texture tiling by default. I haven't fixed all the regressions yet, and it'll be easy to re-enable when the known problems are fixed.
rivers/dri/intel/intel_screen.c
|
b72dea5441e8e9226dabf1826fa3bc129c7bc281 |
24-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Set the max index buffer address correctly according to the docs. It's the last addressable byte, not the byte after the end of the buffer.
rivers/dri/i965/brw_draw_upload.c
|
d43599afef046a36ae75a29eaea941eb04929abf |
24-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't set a reserved bit in MI_FLUSH. I noticed this when this MI_FLUSH showed up in IPEHR for the ut2004 hang. Not setting the reserved bit didn't help, though.
rivers/dri/i965/brw_vtbl.c
|
9c0ba017c8ff7caafc3ff94da3c035e687231596 |
23-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix depth-texture Y-tiling detection for sized internal formats. Fixes assertion failure on norsetto shadow mapping demo.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
e0a4e25f938953201fef2bf702e2e709451200f4 |
23-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix packed depth/stencil textures to be Y-tiled as well. Fixes shadowtex.c. And an assert is added to catch this sooner next time.
rivers/dri/i965/brw_misc_state.c
rivers/dri/intel/intel_mipmap_tree.c
|
1593a1bb3435728806f66fff72a90e72a9616083 |
23-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Bail on blits with non-tile-aligned offsets.
rivers/dri/intel/intel_blit.c
|
8f81a6468fdbc7320800ea497791e3e1b8f782ca |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Avoid trying to do blits to Y tiled regions. This is somewhat nasty, but we need to do Y-tiled depth for FBO support. May help with corruption and hangs since enabling texture tiling, and since switching depth textures to Y tiled. Fixes piglit depthtex.c on 965.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
246d59c29e3e5a57dcf2f60ad429eb1606193ef0 |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix some potential writes to zero-copy PBOs when used as regions. I was in the midst of fixing some blitting-with-Y-tiled issues when I noticed this. Hopefully PBO usage will be a little more robust, as a result.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_copy.c
|
6a49473ab5797b1e6ce021e396902f9cb77674ef |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove long-unused intel_region_fill and intelEmitFillBlit.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
|
a9b03aaebf7ada116d0c63a0f00b50e7b5b2f1eb |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Refuse to do texture tiling if we don't have the kernel support.
rivers/dri/intel/intel_context.c
|
4f1e141c116a1c230db7adfd1b70f09d484aa19b |
23-Jun-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Fix crash when debug output is enabled and sarea is notset in r200Clear
rivers/dri/r200/r200_ioctl.c
|
70e72070fce6aa1e0918dcc62c1949465cee69f7 |
23-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: From float type modifier from values to large for singles The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344.
ain/macros.h
|
a31118c25a0e2b95008683ca4be2ca635f0dbfa4 |
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix setup_edgeflags() regression stobj is now non-null for the default/null buffer object. Update the test to check the buffer ID to see if it's a real buffer object.
tate_tracker/st_draw.c
|
c80ce5ac90b1e0ac7a72cd41c314aa2000bfecf5 |
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix warnings in intel_pixel_read.c.
rivers/dri/intel/intel_pixel_read.c
|
2c36ed90672720966c26a8c27e222ec14b23aae6 |
22-Jun-2009 |
Michel Dänzer <michel@daenzer.net> |
intel: Fix glReadPixels regression since changing context init order. Fixes regression in dd26899ca39111e0866afed9df94bfb1618dd363 that also affected some PBO operations.
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_tex_image.c
|
df70d3049a396af3601d2a1747770635a74120bb |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Also get the DRI2 front buffer when doing front buffer reading.
rivers/dri/i965/Makefile
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
afc981ee46791838f3cb83e11eb33938aa3efc83 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Update Mesa state before span setup in glReadPixels. We could have mapped the wrong set of draw buffers. Noticed while looking into a DRI2 glean ReadPixels issue.
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_read.c
|
dcfe0d66bfff9a55741aee298b7ffb051a48f0d3 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Move intel_pixel_read.c to shared for use with i965.
rivers/dri/intel/intel_pixel_read.c
|
3b08a43f32d04a0522596d3d37b1c1874e04d5c3 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't map regions with drm_intel_gem_bo_map_gtt() unless they're tiled. This fixes a regression in region read performance that came in with the texture tiling changes. Ideally we'd have an access flag coming in so we could also use bo_map_gtt for writing, like we do for buffer objects. Bug #22190
rivers/dri/intel/intel_regions.c
|
405300bb190f516e16b704050abe3389b366ed27 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists. Fixes oglconform zbfunc.c and pxtrans-cidraw.c, at least.
rivers/dri/intel/intel_generatemipmap.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
64edde1004f7a69e77877bba24d315a92bcd47c8 |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix glClear behavior versus display lists. The CALL_DrawArrays was leaking the clear's primitives into the display list with GL_COMPILE_AND_EXECUTE. Use _mesa_DrawArrays instead, which doesn't appear to leak. Fixes piglit dlist-clear test.
rivers/dri/intel/intel_clear.c
|
396b4043f085ec09a074447bbbb835c53aa82b7b |
20-Jun-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Make VBO dlist printing use the same path as other dlist printing. I was rather confused when mesa_print_display_list didn't show any of my glBegin()..glEnd(). Nothing but print_list appears to call this function, so matching its behavior seems like a good idea.
bo/vbo_save_api.c
|
cca30245bd6a5a713f0dc3278c37d9bd1f726e72 |
18-Jun-2009 |
Chia-I Wu <olvaffe@gmail.com> |
intel: Do not access pbo's buffer directly when attaching. pbo might be system buffer based or attached to another region. Call intel_bufferobj_buffer to make sure pbo has a buffer of its own. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_regions.c
|
ed91389618d05a3f660b34e0bac4be08134af6b7 |
18-Jun-2009 |
Chia-I Wu <olvaffe@gmail.com> |
intel: Data are copied in the wrong direction when breaking COW tie. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_regions.c
|
1a7ec317efb2570db3fc5123a2e9b74b54df8147 |
18-Jun-2009 |
Chia-I Wu <olvaffe@gmail.com> |
intel: Fix migration from sys_buffer in intel_bufferobj_buffer. intel_bufferobj_subdata is called to migrate data from sys_buffer, and it expects only one of buffer or sys_buffer is non-NULL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_buffer_objects.c
|
402df41c1c7655439d22efead08153dc29fe2afd |
20-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: make cubemap mipmap generation work need to pass target parameter to radeon_teximage/radeon_subteximage functions otherwise mipmap generation for cube maps can't work (assert/segfault in _mesa_generate_mipmap)
rivers/dri/radeon/radeon_texture.c
|
18af7c384cf663533f210d95d074c244d4214f29 |
13-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: interpolate colors with perspective correction by default ...rather than with linear interpolation. Modern hardware should use perspective-corrected interpolation for colors (as for texcoords). glHint(GL_PERSPECTIVE_CORRECTION_HINT, mode) can be used to get linear interpolation if mode = GL_FASTEST.
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
05f0d90962147ad61050bbcde42775a3422e68a5 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use larger initial refcount for NullBufferObj Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
ain/shared.c
|
0854b7e972eaea1986aa956d4dffa2d6ad541b62 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_reference_buffer_object() in a few places
ain/bufferobj.c
|
d7ea9ddf5824556e47decac7ba200f37cf1e552f |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_reference_buffer_object() in a few places
bo/vbo_context.c
bo/vbo_rebase.c
bo/vbo_split_copy.c
|
41091087396f935d4acf70b018ba54889fcf55a1 |
12-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add support for EXT_texture_sRGB Tested with glean/texture_srgb and wine/d3d9 tests on RV535
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_texture.c
|
d0b0df380ac6a9b421dc63531a180b3fd3017621 |
12-Jun-2009 |
Brian Paul <brianp@vmware.com> |
set/mesa: enable GL_NV_texture_env_combine4 This is handled entirely in core Mesa where the combiner state is converted into a fragment program.
tate_tracker/st_extensions.c
|
1036ef2bf468611d37b5df06fc4424f2002e3837 |
12-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge master and fix conflicts
|
509d9eb686411254b24139012b7594e10a760b6c |
11-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: additional debug code (disabled)
tate_tracker/st_program.c
|
3fff84a999e7d564c16846340bb2b7dac75fb8b3 |
12-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
c6de08fff483911953692693c501bc200c235dce |
11-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Enable uploads of only depth to z24s8 textures
ain/texstore.c
|
d0fab94842b18dbd4027f5565804ca6884646240 |
12-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix size of mipmap texture array
rivers/dri/radeon/radeon_mipmap_tree.h
|
a5d92d7ed208d20c788889640503fa61b2d38851 |
12-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: fix max texture levels assert use the actual value set in the context
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
7f223ff89172069dbad987f592aea2a8ba16355f |
12-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'main/radeon-rewrite'
|
917f8bc1a85e61311cef6478127b387df70fba14 |
12-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Add RV740 support
rivers/dri/r600/r700_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
67bbfb9c68d0bf459f706a4cb50caf8245a37a34 |
10-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix VAP setup If GL context had e.g. tex0, tex2 and fog the VAPOutputCntl1 returned 0x104 instead of 0x124 - that meaned we're sending only 8 texcoords (instead of 12) which ended up in GPU hang.
rivers/dri/r300/r300_emit.c
|
234797564dea00c1463faa7a7791df466f52a91b |
10-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix for SW TCL path We shouldn't use i variable for SWTCL_OVM_TEX because textures doesn't have to be enabled in "packed" order. We could have tex1,tex3 and fog which would receive 7,9,8 OVM locations instead of 6,7,8.
rivers/dri/r300/r300_swtcl.c
|
8d728b8fe73d935308275ad0a21c67e2e22029c4 |
10-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't send unused attributes for SW TCL path
rivers/dri/r300/r300_swtcl.c
|
b5d49cb195eef4c0bf8288c3d675513244b46dbb |
10-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: send only RS_IP_* regs that we are going to use
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
2b5f8d2b5514cf6239e822b8fd24a752e35cf7eb |
11-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix RS setup when no colors and textures are sent to FP RS_COL_FMT field is part of RS_IP_* reg not RS_INST_*
rivers/dri/r300/r300_state.c
|
34cb4b6be36ccb03b4c0c76ecc3587984dd284dc |
10-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: r500 fragment program fixes - when rewriting per component negate swizzle, first instruction should get not negated source - KIL instruction ignores swizzles TODO: - tex instructions does not support saturation - tex instructions cannot read from consant memory
rivers/dri/r300/r500_fragprog.c
|
e21e82f42549aa78214f3339a13b79791406dde0 |
07-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: increase max bo count
rivers/dri/radeon/radeon_common_context.h
|
9abc72d1fc0aada59a76bd602ebc36db9a729b5b |
07-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix a GPU lock up Sending from VAP more texture coordinates than RS expects results in GPU hang. Fixes BumpSelfShadow from DirectX8 SDK.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_state.c
|
de19eb0b0dba08b2ad3829b7ced94931139af843 |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix vertex program bug If the vertex program didn't write position attribute, the position invariant function would add necessary instructions, but the vertex position would be overwritten by artificial outputs insts added to satisfy fragment program requirements. Fixes "whole screen is gray" problem for HW TCL path in sauerbraten when shaders are enabled, and whole slew of wine d3d9 tests.
rivers/dri/r300/r300_vertprog.c
|
2611e92da59ed3aedb0627889e185b63d4e5a532 |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move some code for easier debugging
rivers/dri/r300/r300_vertprog.c
|
52645c46475bf959f43adb2a8244568b2f607f98 |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: print vertex program when debugging is enabled
rivers/dri/r300/r300_vertprog.c
|
28724b575d2c003d7f10f55dcb03ac969df94389 |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix output register allocation for vertex shaders If the vertex program wrote secondary color without primary color, the secondary color output register index would be 0 which resulted in overwriting vertex position in some cases.
rivers/dri/r300/r300_vertprog.c
|
b4ebd1c191e6760b334c35fa1df025ad129cc449 |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: hw doesn't support saturation for tex instructions
rivers/dri/r300/r300_fragprog.c
|
3754c4135cb29e23bd81d573af458742e9a624b2 |
11-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework vertex shader output / fragment shader input attribute matching Before, if a vertex shader's outputs didn't exactly match a fragment shader's inputs we could wind up with invalid TGSI shader declarations. For example: Before patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[0] <- note duplicate [0] DCL OUT[4], GENERIC[2] After patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[1] DCL OUT[4], GENERIC[2]
tate_tracker/st_atom_shader.c
|
322e8556b91ceb80d4a53129cbb5db99087085f1 |
11-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add default function for ctx->Driver.CheckQuery() hook
rivers/common/driverfuncs.c
ain/queryobj.c
ain/queryobj.h
|
877061141ae263128eac8ec1f1077f34e52651fa |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
de413b1ba9f30771bceacdbc160192d964a1ca63 |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use new pf_is_depth_and_stencil inline.
tate_tracker/st_cb_clear.c
|
7cafd49c936ba9727c3077af8c84afe81b6fa0b4 |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format.
tate_tracker/st_format.c
tate_tracker/st_format.h
|
862c7b8cd34ff5606465b97b09fd5fafda50c33b |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Remove dead code.
tate_tracker/st_cb_drawpixels.c
|
bb0b954f1265bd6e50ef1fdade7917863477fa8c |
11-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix typo s/BFC0/BFC1/
tate_tracker/st_atom_shader.c
|
9d5479eeeb84a0a8d909e329b1e8e9888d424900 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix assertion, #define IMM_BUFFER_NAME This was sometimes seen when Glean exited upon test failure when using Gallium.
bo/vbo_exec_api.c
|
bf89ecb6c92aaaeccd7b6f093cb8bae9fd56aaf6 |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
|
41cf68153568d4e75ff3cda627293d101f8a8003 |
11-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Only do read write when we don't have a depth value to write
tate_tracker/st_cb_drawpixels.c
|
48d816b8fff5d01b8c35bd2f933220e41d976e4c |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Take the format from the right structure.
tate_tracker/st_cb_drawpixels.c
|
96aca15c9d5b6f03fc9b407f02d6966fffeb4f5d |
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
meas: Use a read/write transfer when writing stencil component, but not touching the depth component.
tate_tracker/st_cb_drawpixels.c
|
b445e5486804581ba4a7d1fce80c3ad2ed773325 |
11-Jun-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: fix indexed primitive rendering when using memory manager
rivers/dri/r300/r300_render.c
|
1d8d4cad6a30b994f5bea6873525966a965c5997 |
11-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Properly set aos_count This is used by radeonReleaseArrays to free AOS.
rivers/dri/r600/r700_chip.c
|
3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057 |
11-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL. Fixes glean depthStencil test.
rivers/dri/intel/intel_pixel_draw.c
|
7ac2f655f845a7a100939a9b1b2251535055ab84 |
11-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
move radeon_set_screen_flags() up so CHIP_FAMILY is set before using it fixes last commit.
rivers/dri/radeon/radeon_screen.c
|
51507b0e94ffb375a040ef751a435c2e196ee748 |
10-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Use correct scratch reg offset for r6xx/r7xx
rivers/dri/radeon/radeon_screen.c
|
337f559cd2d98a858719cb963450fef2256e83f7 |
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil. Actually, after spotting this problem, I realized this is unreachable code. However don't bother to enable this fast path now, given the normal path is working just fine.
tate_tracker/st_cb_readpixels.c
|
8fa8669aeba45d1b57f3cc41429578d55cad378a |
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix typo in bitmask.
ain/image.c
|
0a4fcabe4451af6472245e2630f8c8834aa9d351 |
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM. Reversed component order. This fixes glean depthStencil test failures for PIPE_FORMAT_Z24S8_UNORM visuals.
tate_tracker/st_cb_drawpixels.c
|
dbab657fe7842c9ea5315189f31fb3c7238c0158 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/ (cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)
hader/slang/slang_preprocess.c
|
9225b67383ee5c5b511b84838fd248b85403bd92 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Handle continuation characters in preprocessor. (cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)
hader/slang/slang_preprocess.c
|
7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
hader/slang/slang_preprocess.c
|
cc22620e4b11425997f3bc1fc70f4c88cec22d2e |
10-Jun-2009 |
Michal Krol <michal@vmware.com> |
glsl: Handle continuation characters in preprocessor.
hader/slang/slang_preprocess.c
|
88527220e44fd36c317f73e667bc6abebb0af112 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix state validation bug for changing program constants Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED. This makes sure that we update the fragment shader's constants when state vars (such as point size) changes. Fixes the progs/glsl/points.c demo.
wrast/s_context.c
|
506989b20e18be0d2b849ad17710108832040207 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Fix symbol replacement handling in preprocessor. (cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)
hader/slang/slang_preprocess.c
|
6f50c9865d96a704cf47f59c3c21b4686bddf1f8 |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: disable texture unit error check in _mesa_MatrixMode() See comments for details.
ain/matrix.c
|
978bca8b2a7869e875fc205f29751d31178d2281 |
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Single precision constants.
tate_tracker/st_cb_readpixels.c
|
52411a1951da10bebc439a30c02c7ca99bc27c9c |
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Pure software accum buffer. The existing implementation was already implemented on software, but relied on the pipe driver to always support the R16G16B16A16_SNORM format. This patch eliminates that, without prejudice against a future hardware-only implementation. It also avoids some of the short <-> float conversions, and only does a read transfer of the color buffer on GL_RETURN if absolutely necessary.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_framebuffer.c
|
316598b96f07a38752c0c0f534feb025ee2a3235 |
10-Jun-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: make sure indexed rendering doesn't try to use more than the num of vertices When with memory manager we need to make sure the GPU won't try to access beyond vertex buffer size, do so by enforcing that the maximun index is the last vertex of the buffer.
rivers/dri/r300/r300_render.c
|
ded8eb25ef149cf7d2cde4169d36f528cf74d22d |
10-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: enable EXT_provoking_vertex
tate_tracker/st_extensions.c
|
530e3e389dfb3957b872d08906dcea830407b0c2 |
10-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Pull in additional state setup from the DDX
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_chipoffset.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
76a1017e978f8e51114d765c8c98ff25da13042b |
09-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: fix tracking of mapped buffer ranges In st_bufferobj_map_range(), set obj->Offset consistently with its usage elsewhere.
tate_tracker/st_cb_bufferobjects.c
|
cb549775a577cc5c86fefdc7e208b9d5e1d25217 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Expand nested preprocessor macros. (cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)
hader/slang/slang_preprocess.c
|
ee98ae5a29ca870149c4a0d2a8f25f55e0fd333a |
09-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
|
d9617deb008b75f4a605a30408aeb1948139c33e |
10-Jun-2009 |
Michal Krol <michal@vmware.com> |
glsl: Fix symbol replacement handling in preprocessor.
hader/slang/slang_preprocess.c
|
b30dc2c66aeaad6661eef515a08a3da89aa07cb2 |
10-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add an option for testing the effect of early Z in classic mode. The early Z stuff is supposed to be unsafe without some more work in the enable/disable path (in particular, how do we want to get it disabled on the way out to the X Server?), but at the moment is 6% in OA.
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
38eddf04ed04966db09b67de4cdabef681dc2696 |
06-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove an unneeded hunk that slipped in with texture tiling. intel_miptree_pitch_align does this later on.
rivers/dri/intel/intel_tex_layout.c
|
13624848401679f7ee904aa731d520792a5e523e |
06-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Base tri clearing depth on Y tiling, not IS_I965(). Y tiling is why the 965 check was there, but I wanted to experiment with Y on pre-965 as well.
rivers/dri/intel/intel_clear.c
|
2d57e9640819c7889304d1de9dd5500a1a0f66de |
05-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix intel_region_unmap to do unmap, not map. Thanks to Shuang He for catching this.
rivers/dri/intel/intel_regions.c
|
a03b349153660e449daf4f56d750f1caef23b1a5 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
i965: added intelFlush() call in intel_get_tex_image() Fixes the render-to-texture test in progs/tests/getteximage.c
rivers/dri/intel/intel_tex_image.c
|
b38dbc51793b9007de147eff452d535410ef7c55 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: use GLboolean, not int, for compressed parameter
rivers/dri/intel/intel_tex_image.c
|
89205a8760b8a4651962b1ff0206699cbcd78d75 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: make a bunch of glTexImage-related functions static
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
4eb9e58bbb3b2b9db4c795134b2daa2ecf29fd20 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: whitespace clean-ups
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
c55f1a6c9917a87cc6b29808b4132b83cf516e05 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: more glDrawElements debug code (disabled)
bo/vbo_exec_array.c
|
4a7fd6323afde7cbe22097ba71a149876a75bc58 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)
ain/bufferobj.c
|
42e9bde0fa2276b8f5bb434328eea7665794b127 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove extra \n from warning string
rivers/dri/intel/intel_screen.c
|
a81097c545f089610326d528296d8f1f25ac06a7 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reorder fields, update comments for gl_buffer_object
ain/mtypes.h
|
ef8caec29ae73bb2bbeb48f0578d839ef29348cd |
09-Jun-2009 |
Michal Krol <michal@vmware.com> |
glsl: Expand nested preprocessor macros.
hader/slang/slang_preprocess.c
|
18b3cbcede292ce7b90b818b6abb064869072ff3 |
09-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix mipmap_limits crasher. This gets the correct srclvl image map when uploading images to the new mipmap.
rivers/dri/radeon/radeon_texture.c
|
8d0f72e8f901e12841408b95963d43684fb6ce48 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: enable GL_ARB_map_buffer_range
tate_tracker/st_extensions.c
|
e75b283b45add351dbe5a09289fe85546df8a79a |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL_ARB_map_buffer_range Only enabled for software drivers at this point. Note that the gl_buffer_object::Access enum field has been replaced by a gl_buffer_object::AccessFlags bitfield. The new field is a mask of the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY, GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB we translate the bitfield into the conventional enum values.
rivers/common/driverfuncs.c
ain/api_exec.c
ain/bufferobj.c
ain/bufferobj.h
ain/dlist.c
ain/extensions.c
ain/mfeatures.h
ain/mtypes.h
|
75cb3c3b7a9db75ec4df63158bf268bb49b62bf4 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated files for GL_ARB_map_buffer_range
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
9c4ab6f4cc040ac99f69ed6896f0e22e411a731d |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: hook in ARB_map_buffer_range.xml
lapi/Makefile
lapi/gl_API.xml
|
b6bc5f37a5575ae4a21c3141e910907e0d5f2e27 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: spec/xml file for GL_ARB_map_buffer_range
lapi/ARB_map_buffer_range.xml
|
34bb024cf2d02d5d5cb672ead05fa131bdff6dd8 |
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion
tate_tracker/st_cb_bufferobjects.c
|
462a9525c78d5757afd2a8d4dc60afc68a69579b |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reorder fields, update comments for gl_buffer_object
ain/mtypes.h
|
304ba4bba44057aa21f0ae434e49b1e09ab7d039 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Fix preprocessor define argument parsing for dead sections. (cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)
hader/slang/slang_preprocess.c
|
19a54d9f1055c366fd77026dd67007a8d5921f58 |
08-Jun-2009 |
Michal Krol <michal@vmware.com> |
glsl: Fix preprocessor define argument parsing for dead sections.
hader/slang/slang_preprocess.c
|
854151ba62e4b1cb6a755f6c131ee2e0f680f39b |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: preprocessor debug code (disabled)
hader/slang/slang_preprocess.c
|
a6f266361693c6b9a5639ba7176925feb26f64c9 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new MESA_EXTENSION_OVERRIDE env var Can be used to enable/disable extensions as reported by glGetString(GL_EXTENSIONS). If a name is preceeded by '-' it's disabled. Otherwise, the named extension is enabled. Intended for debug/test purposes.
ain/extensions.c
|
b6753adbc71a2d13e8ec095251f62cb267429de7 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove invalid assertion It's legal for ARB_vertex_program programs to not write to result.position. The results are undefined in that case. This assertion was causing us to abort/exit though.
tate_tracker/st_program.c
|
e09f78d8dc7f20bb11f84206b6f1d71418332d8a |
08-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use matching signedness for the counter as upper bound.
ain/debug.c
|
42678dba941b5a734e6aa03b530653d9c5341a70 |
08-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Allocate tokens from the heap. The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on windows. Failure to allocate is not being propagated to the caller. This is not a regression since the previous _mesa_malloc result wasn't being checked as well. Unfortunately it is not easy to fix, as the callers of these functions do not have failure propagation mechanism either, and so on. So leaving a just fixme note for now.
tate_tracker/st_program.c
|
33d63277706aede31559a24c0db76b37609e76ef |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: better error message for invalid texture unit index
hader/arbprogparse.c
|
0bced6a326e3520d2b280b4f6cdaadf843ce1d2d |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256 Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
ain/config.h
|
0d3c8fbf12289a8cc081c2d68e810c4bf29d1f8d |
08-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/vbo: drop all references to vbo on destroy We were adding references to the input arrays, but failing to drop them on destruction. This could lead to a 64kb buffer being leaked each context destruction.
bo/vbo_exec_api.c
|
fce4ee12a620de4ece35cef62a4562bbd4895557 |
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: EXT_vertex_array_bgra fixes 1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB (cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)
ain/varray.c
|
4adb190a162c5ed0684a8616331344caadba4010 |
08-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
mesa: EXT_vertex_array_bgra fixes 1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB
ain/varray.c
|
db63f638974f90557a52c66b0f2e9d5a92e697d0 |
07-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424 Fixes GPU hangs in software TCL path
rivers/dri/r300/r300_swtcl.c
|
545e574cd9a2a659cd9a93879dff8884bd247558 |
07-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'origin/master' into radeon-rewrite
|
e2aedfa62079ff1a333e1f4e56faea303cc36edb |
04-Jun-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Endianness fixes for recent vertex path changes. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_render.c
|
58982f8af1496c4860fb7bf3e815977ed4a753ff |
05-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: vertex array stride = 0 means that data are tightly packed in the array
rivers/dri/r300/r300_draw.c
|
ca13937ef97c7779f639dcfc95b3798a11de01bd |
31-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW accelerated Also when index format is GL_UBYTE, convert it to GL_USHORT not GL_UINT. Fix license header too. Reported by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_draw.c
|
a8c7c96be717fb65d23aea7a21f9f3969c4de53f |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unused code
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
72c78b99926aab6af38248b5aa6b0fb1f9d42005 |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rewrite vertex setup for software T&L path using functions from software TCL path
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
|
6cd0628f9f35cc4529b94310e5356d15080a9d04 |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: prepare for some code duplication removal
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
|
365799caea2fce684ac9c10ff14211b5d13cc46f |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable EXT_vertex_array_bgra extensions
rivers/dri/r300/r300_context.c
|
fd80128e15c6393fa85088577ab2ca320c6cb8ae |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add hw accelerated support for different vertex data formats
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_draw.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
|
e98082997c8cfe3bf9c1c1cdc40c23ee897d1007 |
30-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: prepare for different vertex data type support
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
|
a27b689d08d88f99ebccf58bbba64d3cfc668866 |
27-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fixup vertex attributes ordering Always allocate the vertex program input registers in the same order as the vertex attributes are passed in vertex arrays.
rivers/dri/r300/r300_vertprog.c
|
ab60a44331462b659f491dfb11e125daeb556973 |
27-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: always pass 4 color components to RS unit Even if we don't pass all 4 color components to vertex shader unit, the vertex program can generate the missing components.
rivers/dri/r300/r300_state.c
|
cfff2a6189b38f1ee8c8ca204e223574a5abf760 |
06-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.5-rc3
ain/version.h
|
5df64685892aea4dabee377352888d8eb58e9446 |
04-Jun-2009 |
Dan Nicholson <dbn.lists@gmail.com> |
osmesa: Allow building standalone in all three channel widths autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980. (cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)
rivers/osmesa/Makefile
|
7441dcd90b01df8351026af8bbb50e11bb86071a |
04-Jun-2009 |
Dan Nicholson <dbn.lists@gmail.com> |
osmesa: Allow building standalone in all three channel widths autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980.
rivers/osmesa/Makefile
|
8c27d99eb84709013f420a7500ddfdef71ac7391 |
05-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
re-arrange state structure - split out renderbuffers - split out shaders - split our viewports Only send the state needed.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_vertprog.c
|
b5914362300d7671ed5b5a86b51acacac6fb1abf |
04-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Don't program VGT_OUT_DEALLOC_CNTL/VGT_VERTEX_REUSE_BLOCK_CNTL These are chip specific and are programmed by the drm. This should fix hangs on some chips.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_state.c
|
185fbcce3644ff861c60cd73923ef7187c623564 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_ funcs, not gl funcs for debugging
ain/debug.c
|
4782bebe4495fb880c42bc1414aeed08c0ebf75d |
04-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
use the float interface for viewport updates
rivers/dri/r600/r700_state.c
|
9d58724c51c387c360d2423e29b80ddc0bfa66b7 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/context.c
|
d37795c45334010c70b2e1c23fca0e49ff607a6e |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: increase ST_MAX_SHADER_TOKENS to 8k
tate_tracker/st_program.c
|
1ba96651e12b3c74fb9c8f5a61b183ef36a27b1e |
03-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for tiled textures. This is about a 30% performance win in OA with high settings on my GM45, and experiments with 915GM indicate that it'll be around a 20% win there. Currently, 915-class hardware is seriously hurt by the fact that we use fence regs to control the tiling even for 3D instructions that could live without them, so we spend a bunch of time waiting on previous rendering in order to pull fences off. Thus, the texture_tiling driconf option defaults off there for now.
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
165ae5e2fb57bdb64b4cf01271b4effeb811f675 |
04-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Don't rely on fence regs when we don't have to. We're on the way to telling the kernel about when we need fence regs on our objects or not, and this will cut the number of places needing them.
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_reg.h
|
1b6f7fb7d5a9756c97e2ac2f5390b0d2333acf55 |
04-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Remove some long-dead i830 code.
rivers/dri/i915/i830_vtbl.c
|
ab6508e3993afa35de1472fe8a847427c1749efe |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix parity error for tri strips with 1st provoking vertex
nl/t_vb_rendertmp.h
|
8b875b732fef0f2e60c53ee7aa60b5988ca37cc5 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: fix first provoking vertex case for unfilled triangles
nl/t_vb_rendertmp.h
|
1f1aa0c20cb7dd0ae14b01f89aaa99cc6eebf919 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: fix first provoking vertex bug for line loops
nl/t_vb_rendertmp.h
|
f25e1007c2da21dc529811e9e1f4b4da6bda8be4 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
swrast: always do span clipping in _swrast_write_rgba_span() It's possible for mis-behaving vertex programs to produce vertex data with very large/NaN values. This doesn't get handled reliably by the clipper code so we may try to rasterize triangles that extend beyond the viewport/window. Always clip spans to avoid invalid memory accesses later.
wrast/s_span.c
|
0b6a0b367fdb575048b69d80ad4202d164a61f1e |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: minor reformatting
bo/vbo_exec_array.c
|
aa18e54ac9a70883a98f803c097d45f8ee84e717 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: move/refactor debug code
bo/vbo_exec_array.c
|
13f6d07521119afc4b6d9e6daa94d5091f4b9c65 |
04-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: added debug code to check array data validity (disabled)
bo/vbo_exec_array.c
|
e446ef50eb8bbc2e3505c4d52e971d24c37785d6 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: new debug/dump code (disabled)
bo/vbo_split_copy.c
|
92009543705918760df92abb0cbb8cad68875e72 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added NaN checking code (disabled)
hader/prog_execute.c
|
035de6a82b6c911a81ca9c678aac59772eaff8d3 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check/prevent NaN for EX2/LG2
hader/prog_execute.c
|
87b2db988e25506ecf476386a8b9792d459a2fde |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: updated clip debug code (disabled)
nl/t_vb_cliptmp.h
|
e7927626c13b8cd3743ba52a407b8f3736eae8a1 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added buffer object debug code (disabled)
ain/bufferobj.c
|
4f4280b4356210e503aa5756db0a13dfb8253661 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: add some floating point sanity checks (disabled)
nl/t_vb_program.c
|
ab4fd185843033cde0c58e8e0da932dbac7b8df2 |
02-Jun-2009 |
Brian Paul <brianp@vmware.com> |
vbo: tweak out-of-bounds VBO access error message Subtract 1 from _MaxElement to be clearer.
bo/vbo_exec_array.c
|
e355f1d64216fc999e2b18bd8c6ffdea29e8a36a |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
fill in r700ColorMask, cleanup
rivers/dri/r600/r700_state.c
|
ac274b68d724bac8c31bc62163a4b0ba59a6fe4d |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
start to fill in ShadeModel()
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_state.c
|
ada26c40593d1bce972c445aa22f26811f6e6223 |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
dump command buffer
rivers/dri/r600/r600_cmdbuf.c
|
f5d479d7f50abf5d88a388ee80af3222c8bb7e6f |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Clean up scissor and viewport code Switch to common functions where applicable
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
|
c428f467b65f1b79f77103db249936273d645fec |
02-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined DO NOT HAND-EDIT GLX PROTOCOL FILES. Seriously. How can you miss the giant comment at the top of the file?
lapi/glX_proto_send.py
|
7f8000db8bd45bb95bda4a4f8535c49b8ef74254 |
03-Jun-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Fast path when rebinding the same texture in single context environment If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%.
ain/texobj.c
|
54576130a88fe93a64367f882cd680e37f0ec0ac |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor clean-ups, reformatting, etc
tate_tracker/st_cb_bufferobjects.c
|
dd174ea2155ded567494448ffc5de7e022eabc5a |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement/enable GL_ARB_copy_buffer extension
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_extensions.c
|
2813c08b35aa1b4fafa47f4421c9822ff8f6f85c |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix error test mistake in _mesa_CopyBufferSubData()
ain/bufferobj.c
|
3a7399e2c4a5fc46f871ad030d6198a16e52d356 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_ARB_copy_buffer for software drivers
ain/extensions.c
|
08e43ebfb216284818925e899419af03e28d2360 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: plug in new _mesa_CopyBufferSubData() functions
rivers/common/driverfuncs.c
ain/api_exec.c
ain/dlist.c
|
dc0b71f00d2fc8ba9b2f1966510bcca942d35e15 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_CopyBufferSubData() function, and driver fall-back
ain/bufferobj.c
ain/bufferobj.h
|
96a30b06dbc60ff63392cf8ae9dcb3d245b41c27 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new state for GL_ARB_copy_buffer
ain/mtypes.h
|
76b438878e4ab504d68efb8800111e4c41ddeadc |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new CopyBufferSubData() driver hook
ain/dd.h
|
751977075f30076bd5e53f9ed9b19d9b36b5da69 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: regenerated files for GL_ARB_copy_buffer
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
68892872ef0e94b96ed1ff2bc41f17cfbbcf4a40 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: include ARB_copy_buffer.xml
lapi/Makefile
lapi/gl_API.xml
|
4a1e4f9881c30977bbce3f0844712539b7ef6b18 |
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glapi: GL_ARB_copy_buffer xml info
lapi/ARB_copy_buffer.xml
|
116f40a1c4544242040afc7c6cf8621667a058c7 |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Disable clear code for now
rivers/dri/r600/r700_clear.c
|
b55d0dd3baa16bebcbbb5629951098943f55fe74 |
03-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
fix an overflow in SPI_VS_OUT_CONFIG VS must always export at least 1 param.
rivers/dri/r600/r700_vertprog.c
|
12e94d892e3322be5c8a1594702d69e7a02d5274 |
02-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: release VBO and PBO references upon context destruction
ain/context.c
|
cb3a9f984de6b1a167c60c345d51d55b8c0ca80b |
02-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add #define FEATURE_ARB_pixel_buffer_object
ain/mfeatures.h
|
16fbd391291de8eddcd01a1a10e6801da299209b |
18-May-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clip to window after calling Driver.TexImage2D This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <ian.romanick@intel.com> (cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249)
rivers/dri/intel/intel_tex_copy.c
|
129f311673c99eb912d659023e50bc5f0ef53249 |
18-May-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clip to window after calling Driver.TexImage2D This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <ian.romanick@intel.com>
rivers/dri/intel/intel_tex_copy.c
|
a945e203d4fe254593bc0c5c5d6caca45e65f9f7 |
02-Jun-2009 |
Eric Anholt <eric@anholt.net> |
i915: Don't put VBOs in graphics memory unless required for an operation. This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
0ab8e2622e932593f39e5a634808567322bd669b |
28-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Support OPCODE_TRUNC in the brw_wm_fp.c code. This gets two more glean glsl1 tests using the non-GLSL path.
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass1.c
|
503632557e8904b775e1b6f3f84eb41bda3af122 |
14-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: restore flush to copy_texsubimage (was previously finish) Need a flush here even though the original finish was overkill.
tate_tracker/st_cb_texture.c
|
a444d245e5098a85c7b1c0f1923300a8ef9a31d6 |
02-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_EXT_provoking_vertex for sw drivers
ain/extensions.c
|
82bc6e5ae351c8486386cfb1080d0ad30a77e924 |
02-Jun-2009 |
Brian Paul <brianp@vmware.com> |
tnl: implement GL_EXT_provoking_vertex
nl/t_vb_rendertmp.h
|
f989390af6f827d1ea36560381340148811836f3 |
13-May-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st/gl: Fix mip gen for compressed textures
tate_tracker/st_cb_texture.c
|
9f6ec50f8c79283583eeebdebd16bf7dcd134816 |
01-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
0e8a5a84742adf6e99236f246c77325fad174204 |
01-Jun-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect sprite origin when drawing to FBO/texture Need to take the draw buffer's up/down orientation into consideration when setting the sprite_coord_mode field. Fixes inverted sprites when drawing into an FBO.
tate_tracker/st_atom_rasterizer.c
|
c1ccc7d5394c23a371540e1b2c3d35b0da3b30d6 |
31-May-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Provide a more detailled GL_RENDERER string. Display the chip family and PCI ID. This can be parsed easily, and essentially all information that the driver has about the chip can be deduced from it. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
bc302b2a33ceffe454bcf443daa0ac1edc118e9b |
22-May-2009 |
Dan Nicholson <dbn.lists@gmail.com> |
Use separate $(MINSTALL) for installing libraries The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
akefile
rivers/dri/Makefile.template
|
8e28d64e9c7cdc4d07ffe4a79c9ef9fff4a27df6 |
31-May-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Fix blinn's lighting shader
rivers/dri/r600/r700_assembler.c
|
377d8b3673571eae4b23798a13e03929e1e47957 |
31-May-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx/r7xx: Fix texture perspective gradients issue
rivers/dri/r600/r700_state.c
|
5bb2074798a752557a1eaa8f2d2b8b45282f9f7e |
30-May-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Output warnings to debugger on Windows. Stderr of Windows applications without console is not usually visible.
ain/imports.c
|
8aef306c342a973f31b384a71d7a22ade9153a99 |
30-May-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Check/propagate return value on st_make_current. Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
tate_tracker/st_context.c
tate_tracker/st_public.h
|
29c6c8eb18ace95b9af6dcf34e02c2b8db0ffda8 |
30-May-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add success/failures return value to _mesa_make_current.
ain/context.c
ain/context.h
|
d8694cd3f69dfc40509544293aa35f297571e878 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
get rid of chip_object struct
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_tex.c
rivers/dri/r600/r700_vertprog.c
|
cb393772530fca46ba699cf33cb213fb28713213 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
more cleanup
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_tex.c
|
5a8b67f3638485fc1536ab7d2cfeccc854b5e8fc |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
more cleanup
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_render.c
|
e6eb0ce6ef61e16c5d986b370a13c7b62364ad4e |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
more cleanup
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
|
949c489f592d5227843a06a5ae3851102cd46333 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
more cleanup
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_vertprog.c
|
97ed5cffcb051da21c7bfdbbf11b97da657c015c |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
remove more old r300 bits
rivers/dri/r600/Makefile
rivers/dri/r600/r600_context.c
rivers/dri/r600/radeon_nqssadce.c
rivers/dri/r600/radeon_nqssadce.h
rivers/dri/r600/radeon_program.c
rivers/dri/r600/radeon_program.h
rivers/dri/r600/radeon_program_alu.c
rivers/dri/r600/radeon_program_alu.h
rivers/dri/r600/radeon_program_pair.c
rivers/dri/r600/radeon_program_pair.h
|
616692cac5e094c01b6d85741592b4ed59bafeef |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
more cleanup
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
|
70a0301c5bd683646b08d32ad2fca4160295cd18 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Remove unused functions
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
|
37c3731819f72e4ba688f3abc612c1ac6b3be663 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Fix spelling in function name
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
|
9bcc421e68e041f44a554f710788c5042169cd1a |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: remove old sw tcl bits
rivers/dri/r600/Makefile
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_swtcl.c
rivers/dri/r600/r600_swtcl.h
rivers/dri/r600/r700_render.c
|
41a44ff8919f8e16ffb61fd3a76a82864b86f50a |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: switch to common clear with draw code
rivers/dri/r600/r700_clear.c
|
846b24ea82cfb8a4867b6da1345584379f4aaa04 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx/r7xx: switch to common dma functions for vecs
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
|
9b10d19d4a3820958c4bd7d5c8fb7eaf1ef3fce0 |
29-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Remove subpixel offset from viewport remove subpixel offset inherited from r100 code. based on 038f0bf5916df5bae1145d234589e5fd528bb7fa
rivers/dri/r600/r700_state.c
|
7f022fb5cd282826dac37b7ac0c02f551b6f5f98 |
28-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Argh. fix last commit. clears are still broken
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
|
3f1474594697fd77211851d699710299721b4618 |
28-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/r7xx: re-enable clears flush cache and wait for idle after drawing. Probably just need the cache flush. This gets redbook hello working properly.
rivers/dri/r600/r700_clear.c
|
5ff3368c1f33bfb39d21c774ad71e4be7cbb9b21 |
28-May-2009 |
Cooper Yuan <cooperyuan@gmail.com> |
R6xx, add edge rules for triangles
rivers/dri/r600/r700_state.c
|
b631d5fbf45f4df44d1c445a9defb8c8f05599e2 |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
st: set pipe_rasterizer_state::flatshade_first according to provoking vertex state
tate_tracker/st_atom_rasterizer.c
|
f2f89b01d2179775e240145ce62923854c1c8936 |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: glGet queries for GL_EXT_provoking_vertex
ain/get.c
ain/get_gen.py
|
fe86e508967bd7b63902928033247e145103f60c |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: exec/dlist functions for glProvokingVertexEXT()
ain/api_exec.c
ain/dlist.c
ain/light.c
ain/light.h
|
89966cdb1b5974059c32308d74b5bb09943a6fa1 |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: data structure updates for GL_EXT_provoking_vertex
ain/context.c
ain/extensions.c
ain/mtypes.h
|
bd6c44458f132830d40f7c4d44ae249d8725b132 |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated enums for GL_EXT_provoking_vertex
ain/enums.c
|
b9c245238cf4373452293c7d5735faeee9a4bf1a |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated API files for GL_EXT_provoking_vertex
rivers/dri/common/extension_helper.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
8c12c9bf76a14b522c9ac45b6e4745f5778b8cdb |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: GL API changes for GL_EXT_provoking_vertex This creates the new glProvokingVertexEXT() entrypoint.
lapi/Makefile
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
|
5dcbcbfca4f3c00de1fdab28d1cc8d691f67edce |
28-May-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: when using cs path emit scissor in the cmdbuffer
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
|
2f9189d538ac56bd241ccc8f8f82bc4fdd779aa6 |
28-May-2009 |
Jerome Glisse <jglisse@redhat.com> |
r300: rework texture offset emission.
rivers/dri/r300/r300_cmdbuf.c
|
c13bd7488593263f2c45c136b63114ce8b4602fb |
28-May-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: init Format field of vertex arrays for feedback mode Fixes segfault in glRasterPos()
tate_tracker/st_cb_rasterpos.c
|
3a6dd3ebb33a35779b0d5be2c8cab581a56f245a |
27-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: emit scissor before emiting vertices
rivers/dri/radeon/radeon_ioctl.c
|
6141c9ba71df68c44fb4f8c9409f23b557009ca0 |
27-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: emit scissor when using cs submission style.
rivers/dri/radeon/radeon_ioctl.c
|
8ec6e036792decf5149a209e51cb5e93ccc5c754 |
27-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fall back on NPOT textured metaops on 830-class.
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
0e83e8f51af07a3066519f169f07d9afbf23252e |
27-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Restore the Viewport and DepthRange functions on 8xx. Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473.
rivers/dri/i915/i830_state.c
|
9178b31546e9817a0c9712f702b21f8c54efbd84 |
22-May-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Override MaxRenderbufferSize with hardware constraints Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware.
rivers/dri/intel/intel_context.c
|
98bc31171770456e245c157d19433f7d5ea28438 |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
enable surface sync function - needs to be more fine-grained
rivers/dri/r600/r700_render.c
|
f3eaba017c77f4dcf6cdecba7c19c9ea4fd3ce63 |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx: fix more r6xx specific cases
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_render.c
|
930b42693eb2e875d2447897dd1379d7bd273a95 |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx: select proper shader format
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_vertprog.c
|
17417fc8eeaf5f88452fa3d37a763cee3c92a28c |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
fix segfault when running glxinfo
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_emit.c
rivers/dri/radeon/radeon_common_context.c
|
4a28974cf59e12f1296526802a4ed3e7160671e4 |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
add missing RS780 pci id
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
ced2f1b94c2bac8344f44e9474b1e363f65f4d3f |
26-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
fix build when HAVE_LIBDRM_RADEON is defined
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.h
|
9dee2f20a204f375eb4321092cf5dea6476c1c24 |
25-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: on update drawable don't firevertices as it might be call from GetLock To avoid locking bug we shouldn't not call firevertices from this path as it's call from radeon get lock.
rivers/dri/radeon/radeon_common.c
|
714f5e689fb1a69142995260e3c8908c12407b47 |
25-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: emit scissor when dri2 is enabled In DRI1 kernel emit scissor but in dri2 cs path we have to explicitly program them.
rivers/dri/r200/r200_cmdbuf.c
|
39ef33708c1a048863a1956cd99782013791ca92 |
25-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: fix multitexturing in dri2 path
rivers/dri/r200/r200_state_init.c
|
80f1ac87f2cb42ae8370174a75d1271950e59657 |
25-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: emit cliprect with indexed primitive
rivers/dri/r200/r200_cmdbuf.c
|
9b1efcb87c794ded9306f01336d48a80aaad3261 |
23-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: realloc dma if needed after revalidate Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
rivers/dri/radeon/radeon_dma.c
|
7dd184dc4da37233471875df6f40cce0560cb7bc |
24-May-2009 |
Nicolai Hähnle <nhaehnle@gmail.com> |
radeon: Remove drawable & readable from radeon_dri_mirror The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
|
2d30dafaddc2e50697bd1b55235fd45fd08d09fd |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix warning message in vbo_exec_DrawRangeElements()
bo/vbo_exec_array.c
|
434f9200422a9e937277ca592ef14a63781dec16 |
22-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: reading back to scratch reg through status map doesn't work For some unknown reasons the scratch reg value doesn't endup in the status map at the scratch reg offset, this is a temporary work around until we figure out why it doesn't work.
rivers/dri/radeon/radeon_bo_legacy.c
|
68d412f31cbf028b1faa1c7fd95b849a95bb762c |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing update_min() call in update_arrays()
ain/state.c
|
2ead49f98bcc18ab0ebc7942de78e280ec56d77a |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48).
ain/mtypes.h
|
8e3f6c0f96eb22198ec436990acc85d44aca7d8e |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
bo/vbo_exec_array.c
|
842b4cd3cdb313751647e229a9aa3f0001e03d15 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
tate_tracker/st_cb_rasterpos.c
|
ce7a049191c14be1d3dd456cdc72463b01ccf34c |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
ain/context.c
|
8091aa86337b5541e70f0a83bc9b13c55faec559 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
ain/attrib.c
|
2a3d118a8e4c048e5d850a29301c02f886ba09d4 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
ain/api_arrayelt.c
|
180df4d328166a21fa9bb847b52ec1ba8f95dfcc |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify adjust_buffer_object_ref_counts()
ain/attrib.c
|
bf4dfd6563e1ce5cabea415d1e3600ab4abefe81 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code clean-up
ain/api_arrayelt.c
|
d30163ad4201dcd5a594694ab87be9e59db47edd |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop limit
ain/dlist.c
ain/varray.c
bo/vbo_context.c
|
b625fbaef2564236357f94eca803a15187e2636d |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: s/32/VERT_ATTRIB_MAX/
bo/vbo_context.h
|
ebb991ca0d7de103dc068397ed91744bf40ee58f |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() for loop bound
ain/bufferobj.c
|
a65f385b8deec6ac1f2ed7a52f7d76ec89e167b9 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code simplification
ain/bufferobj.c
|
fac334e6d33b0c9ffa2c5147079d728b647d0d2a |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
1045481dd96dec6e37f4b623b1dbae8af381de75 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix loop over generic attribs in update_arrays()
ain/state.c
|
4b55e3695279daef221669ff063631cf3675da0c |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: asst. reformatting, clean-ups
bo/vbo_exec_draw.c
|
9be72f54acf920815d1bd7851d234e6043635bca |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
c3538969e1ae3e626a618934aa8f35a7a22ddb39 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix crash in vbo_exec_bind_arrays() When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex.
bo/vbo_exec_draw.c
|
1b3f5df1e0e9ff956315262196e4947913c7f172 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
995456f9305593005f8466520314ee087f3d422a |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: allow GL_BITMAP type in _mesa_image_image_stride() It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium.
ain/image.c
|
a545f1ab6d50e044c6e0b2d952af28e6d9059f80 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added some assertions
ain/enable.c
hader/arbprogram.c
|
42ae2a8648923b6fa11e29ad0f6ff7555534e390 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Elements() macro to limit loops instead of constants
ain/arrayobj.c
|
882cd6c839e56a3eceb8edf62f83893f6b531d35 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove MAX_VERTEX_PROGRAM_ATTRIBS Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity.
ain/config.h
ain/dlist.c
hader/arbprogparse.c
hader/arbprogram.c
nl/t_vb_program.c
|
4a95185c9f30c2de7a03bb1a0653f51b53b1111d |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc).
ain/api_noop.c
ain/config.h
ain/dlist.c
ain/enums.c
hader/slang/slang_link.c
bo/vbo_attrib_tmp.h
bo/vbo_exec_array.c
|
4dc426c01627a240bd5b148c1804c45b0d5ecd6c |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs
ain/dlist.c
|
42b747e57d4487ee4f0049ab6835b56f22890e97 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added comment
ain/get_gen.py
|
70c4b81e88e18e354e8dfaf47e5455e463b207d8 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE
ain/get.c
ain/get_gen.py
|
8b91778f46bf7f48efacf5f14d3cc9023a1986ae |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix build breakage...oops
bo/vbo_exec_array.c
|
3bfe312d0136c95b2a8518d65fa32c89ed474987 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: comments, whitespace clean-ups
bo/vbo_exec_array.c
|
d2a74d76c96957cf0294dcf40d29526621ada95e |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
ain/varray.c
|
7e2fb129816df48a103da3e4e6937530bd86cac8 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
8da09e6924ca22ba7951d5a7673dfab2a711a997 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: fix incorrect loop limit in bind_array_obj() The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter.
bo/vbo_exec_array.c
|
d4fb7615b5a9c514d48fc78a01c52cb721b889c6 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use MAX_ values instead of literals
bo/vbo_exec_array.c
|
54a5ffbfa1f935c46642a9835f08983cc1fdfeed |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: freshen comments for update_array()
ain/varray.c
|
667a4037fac4fd154ebfa7513b3bbba935077241 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code simplification in _mesa_GetVertexAttrib*NV()
hader/nvprogram.c
|
024de60348c5f463b9611f2d28270ce514da55c9 |
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: comment for _mesa_GetVertexAttribfvARB()
hader/arbprogram.c
|
254845fad064eabd92c7a72322e647137ec719e9 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor code simplification in _mesa_GetVertexAttribfvARB()
hader/arbprogram.c
|
6a2211f00077f49af42e6f087e3120abfb1be5ae |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove const qualifier
ain/varray.c
|
a554d7c4d87902833382cb67bd8a282d5c500c6d |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: VertexAttribPointer comments
ain/varray.c
|
8fe3134622eed34159ff6f72a33558a659e8d299 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_update_array_object_max_element() before printing array info
ain/varray.c
|
8fa0cb2b422abaeee1b69f82ca7e9f02dc8393b9 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_array_object::Weight array field We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't.
ain/arrayobj.c
ain/mtypes.h
bo/vbo_exec_array.c
|
1889890c88c3c10287ca4f84369190cc7029884f |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check FEATURE_point_size_array for PointSize array
ain/arrayobj.c
|
aac19609bfd7c950b2577489b06886c8a8097bb2 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some potential state-restore issues in pop_texture_group() Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays.
ain/attrib.c
|
de1cfc5e8a8e9d0b0b397671575ae448a554a002 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_update_array_object_max_element() function This will replace the code in state.c
ain/arrayobj.c
ain/arrayobj.h
|
dda82137d28aba846dda73da230871c115e30aaf |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program If we're running a vertex program to emulated fixed-function, we still need to treat vertex arrays/attributes as if we're in fixed-function mode. This should probably be back-ported to Mesa 7.5 after a bit more testing.
bo/vbo_context.h
|
a1f6f82e829d14a9b730f1761ebfc11b4409cb51 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: move vp_mode enum to vbo_exec.h, use enum instead of GLuint
bo/vbo_context.h
bo/vbo_exec.h
|
b52cdb81e2a0f7109e754daa4a02aced22aa995f |
21-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx/r7xx: fix segfault in vertex shader setup
rivers/dri/r600/r700_assembler.c
|
1b84d228d5a3c15530567ce193455af4932839bf |
21-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
r6xx: fix count on START_3D packet
rivers/dri/r600/r700_render.c
|
bd0861e2742c22e4bce83bce40dfdbfd713835df |
21-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: fix whitespace in brw_tex_layout.c The broken indentation was driving me crazy, so fix other stuff while I'm here.
rivers/dri/i965/brw_tex_layout.c
|
3a521d84ecc646fcc65fa3fe7c5f1fdbdebe8bc2 |
21-May-2009 |
Eric Anholt <eric@anholt.net> |
i956: Make state dependency of SF on drawbuffer bounds match Mesa's. Noticed while debugging a weird 1D FBO testcase that left its existing viewport and projection matrix in place when switching drawbuffers. Didn't fix the testcase, though.
rivers/dri/i965/brw_sf_state.c
|
e78a6aa2b94683faa8d43a39aa68d806b14f8833 |
20-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fall back on any rendering to texture with no miptree. Fixes segfault on an fbo.c negative test for FBO with texture width/height of 0. Previously we just tested for border != 0 to work around this segfault.
rivers/dri/intel/intel_fbo.c
|
8bba183b9eeb162661a287bf2e118c6dd419dd24 |
20-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Mark the FBO as incomplete if there's no intel_renderbuffer for it. This happens to rendering with textures with a border, which had resulted in a segfault on dereferencing the irb.
rivers/dri/intel/intel_fbo.c
|
467f18f7a5375af9a31031063536c927df3ea70c |
20-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't segfault on glGenerateMipmaps of a cube map with one face defined. This presumably applies to SGIS_generate_mipmaps as well.
rivers/dri/intel/intel_tex_validate.c
|
4da58bbab034fb2ef955495445fe377dbce1f411 |
20-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck... Fixes a segfault in our oglconform fbo test.
rivers/dri/intel/intel_generatemipmap.c
|
02f73c43b4060b58fa0d9b3da4753cbbccde3c84 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added debug functions for dumping color/depth/stencil buffers
ain/debug.c
ain/debug.h
|
840c09fc71542fdfc71edd2a2802925d467567bb |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: rename var: s/tmp/vs_inputs/
rivers/dri/i965/brw_draw_upload.c
|
f7ca97f85e73c0b0a0e056ae86e4aa5a68ec39f1 |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove pointless null ptr check, improved some error messages
ain/bufferobj.c
|
39d7524f7b176d4375e230ac60963d197be539f2 |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_print_arrays() for debugging
ain/varray.c
ain/varray.h
|
15f21bf357980284d4aea6270f68bb9b83d26fbd |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comment for _MaxElement field It's the largest array index, plus one.
ain/mtypes.h
|
a185bcbdec856cc98c26098e4e447a683eed14d1 |
14-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement This value is per array object.
ain/api_validate.c
ain/mtypes.h
ain/state.c
bo/vbo_exec_array.c
|
899c524a49fe5dc7413656380ebd65bbd061c042 |
14-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: s/8/MAX_TEXTURE_COORD_UNITS/
bo/vbo_exec_array.c
|
5b27b4ad37bd992d2d3a6fd9d407277113544f30 |
21-May-2009 |
Brian Paul <brianp@vmware.com> |
st: add support for GL_EXT_vertex_array_bgra
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
tate_tracker/st_extensions.c
|
d7cc0eb47930d6c8ebfd18fefbe48fe8eec696a0 |
21-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: maxbuffer size is in bytes
rivers/dri/radeon/radeon_dma.c
|
a13e96359baaa0331561f86ef6487feba6540464 |
20-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: fix vbo array rendering
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/radeon/radeon_dma.c
|
01daeadf8cd8c56820585c3da88cc626dcdc33d0 |
20-May-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Increase reference count of current renderbuffers. Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
b9bd1abf2664a75642ee5e1999697bbe480b9172 |
20-May-2009 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch 'master' into radeon-rewrite Conflicts: src/mesa/drivers/dri/r300/r300_context.c src/mesa/drivers/dri/r300/r300_texstate.c
|
c696dd0f62c195d71cf7ecbdd04d9b156dd0da0b |
20-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: set max texture size This still need some work to actually report somethings reasonable if no memory manager is available.
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
|
c28e0e7d97aba40968b0b9ca96cb7d3b4b7b1fef |
20-May-2009 |
root <root@richard-desktop.(none)> |
Add missing file from local.
rivers/dri/r600/r700_driconf.h
|
8308bf9ee155b405ad42e6621daf33a108330418 |
20-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: fix indexed draw color order and cs missmatch
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_state_init.c
|
0c75cb5afe81b0de9d006f9f9b75fdc9a15038d0 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
st: reformatting, comments, var renaming
tate_tracker/st_atom_constbuf.c
|
3149b87ac43a5f10983c6682dff7a00cf1d99c7c |
19-May-2009 |
root <root@richard-desktop.(none)> |
Makeup checkin for radeon code change paired with r6/7 code.
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_texture.c
|
d0eccc41878ba9f51a885a69c4ba79fb127aeb18 |
19-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
042d9a513213b1fa356c0d80abc62b9327e0bcc2 |
19-May-2009 |
Mathias Fröhlich <frohlich8@users.sourceforge.net> |
mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT See sourceforge bug #2793846.
ain/fbobject.c
|
c99a60c40d4ece363d37a5af895124f08a645c6b |
19-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: assign trb->Base.StencilBits in update_wrapper(). When we render to a depth/stencil texture there are stencil bits.
ain/texrender.c
|
43d8ace88da80848035827c7bb4bbf5530b59a7c |
19-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: print more info when valid_texture_object() fails
ain/texobj.c
|
465588cd0e6451c758a12108787331d03ed52780 |
19-May-2009 |
Richard Li <richardradeon@gmail.com> |
Fix nop insertion bug. redbook hello can run.
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_clear.c
|
edfbf7dccb1d90ebedfa08fe06e1db7fff9f94d4 |
18-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/mesa/main/version.h
|
7ce105d2e6885eeac73c59dc14c4cd59a89c1425 |
18-May-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level() The stride needs to be in texels, not bytes.
tate_tracker/st_gen_mipmap.c
|
adabd0e81e287cd5dac60fa63841d8b096d10d5f |
18-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: comments for _mesa_generate_mipmap_level()
ain/mipmap.c
|
14e5bff97b20565637d468d97dba434ac4cd2ba1 |
18-May-2009 |
Brian Paul <brianp@vmware.com> |
st: fix incorrect target parameter to screen->is_format_supported() We were passing a GL texture target instead of a pipe_texture_target enum.
tate_tracker/st_gen_mipmap.c
|
d039cf4574893e480d33f286e3526c6805d919fd |
18-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: fix DRI1 cmd stream
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
73d2a4a04750b18463b51750651d3925d63ae074 |
14-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: cleanup vertex program related functions - move vertex program related functions to r300_vertprog.c - use _mesa_bitcount instead of self-made bit_count function - remove duplicated field in r300_vertex_shader_fragment.body union - rename r300_vertex_shader_fragment to r300_vertex_shader_hw_code - rename r300_vertex_program field native to error - remove unnecessary r300_vertex_shader_state structure - remove unused r300_vertex_program and r300_vertex_program_cont fields - remove disabled code
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
1b49f1ca7f9ffda8b4a75ef2ad0be4c2c0eb820a |
14-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: minor code movement
rivers/dri/r300/r300_state.c
|
f8c30793d161618fa1cdc788ad7984566b236d5e |
14-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: more cleanup - remove unnecessary r300TranslateFragmentShader call from r300UpdateShaderStates (it is already called in r300UpdateShaders) - remove unnecessary null ptr checks
rivers/dri/r300/r300_state.c
|
1961caeda849faeb9265d6df5724f2454f4c1055 |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move some code to common path
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
12ed56f1ddfbd40df16d4ab47b546ee25218118f |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rename functions Be consistent with function naming: use Setup/Emit names for functions that modify hardware state
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/r500_fragprog_emit.c
|
6f1a86ca1eb4a44a738d0ad99861d948c9749de6 |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move forward declarations to where they belong
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.h
|
2240c0d33365189f975b84b06792e2a5ecb8b13a |
14-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: software fallbacking handling rewrite Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_render.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
|
621f65ab86f94f7a228e5f96061a8e3451f15db0 |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: r300EmitArrays should never fail
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
d6da805c4e6f060a4a531aba89d4a7db885767f4 |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary switch cases
rivers/dri/r300/r300_state.c
|
42f16aa4e0d9f1c5f016919ed04c55430507234e |
13-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: further cleanup - move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
22690482e692cb5ed2f84d3e69545c09292e3484 |
16-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't complain on falling back from PBO fastpaths. Instead, stash the debug info under the handy debug flag. Bug #20053
rivers/dri/intel/intel_tex_image.c
|
2a7a2c6b77116fd475e1d05fb0adbd1702d11f77 |
16-May-2009 |
Richard Li <richardradeon@gmail.com> |
Fix r6 code bugs.
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_swtcl.c
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_vertprog.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
0307e609aa3e707eeb40051bd664d36f2340ba9b |
16-May-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Mark FBOs with compressed color attachments as FBO-incomplete. Both EXT_fbo and ARB_fbo agree on this. Fixes a segfault in the metaops mipmap generation in Intel for SGIS_generate_mipmap of S3TC textures in Regnum Online. Bug #21654.
ain/fbobject.c
|
b197a8ade3e1e6c67743111f12f27e0a4a985cd9 |
12-May-2009 |
Steinar H. Gunderson <sgunderson@bigfoot.com> |
i915: Fix 945 cube map layout for the small mipmaps along the bottom. Bug #21691.
rivers/dri/i915/i915_tex_layout.c
|
4c6f82989983eecc0b3b724716cb3bcb675664c5 |
15-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers. The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway. bug #21608 for Radeon
rivers/dri/intel/intel_buffers.c
|
5c5a46884899ea25cdf25545d6ab3d9a74eafa3a |
15-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Only use the new 945 cube layout for compressed textures. The docs actually explain this, but not in a terribly clear manner. This nearly fixes the piglit cubemap testcase, except that something's going wrong with the nearest filtering at 2x2 sizes in the testcase. Looks good by visual inspection, though. Bug #21692
rivers/dri/i915/i915_tex_layout.c
|
483e247804db914835173347b7f2a12c0f78d60e |
15-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.5-rc2
ain/version.h
|
dc657f3929fbe03275b3fae4ef84f02e74b51114 |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix varying payload reg assignment for the non-GLSL-instructions path. I don't have a testcase for this, but it seems clearly wrong.
rivers/dri/i965/brw_wm_pass2.c
|
0f5113deed91611ecdda6596542530b1849bb161 |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix register allocation of GLSL fp inputs. Before, if the VP output something that is in the attributes coming into the WM but which isn't used by the WM, then WM would end up reading subsequent varyings from the wrong places. This was visible with a GLSL demo using gl_PointSize in the VS and a varying in the WM, as point size is in the VUE but not used by the WM. There is now a regression test in piglit, glsl-unused-varying.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass2.c
|
64980125c76b05501a6fe7fe20fe52438f459129 |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use FRONT_AND_BACK for StencilOp as well.
rivers/dri/intel/intel_clear.c
|
d866abeffc7e4a29736fa35fb8ac09c3a28a44d6 |
14-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Use GL_FRONT_AND_BACK for stencil clearing. This comes from a radeon-rewrite fallback fix, but may also fix stencil clear failure when the polygon winding mode is flipped.
rivers/dri/intel/intel_clear.c
|
ab6c4fa582972e25f8800c77b5dd5b3a83afc996 |
14-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix 1D texture borders with GL_CLAMP_TO_BORDER With 1D textures, GL_TEXTURE_WRAP_T should be ignored (only GL_TEXTURE_WRAP_S should be respected). But the i965 hardware seems to follow the value of GL_TEXTURE_WRAP_T even when sampling 1D textures. This fix forces GL_TEXTURE_WRAP_T to be GL_REPEAT whenever 1D textures are used; this allows the texture to be sampled correctly, avoiding "imaginary" border elements in the T direction. This bug was demonstrated in the Piglit tex1d-2dborder test. With this fix, that test passes.
rivers/dri/i965/brw_wm_sampler_state.c
|
bc3270e99f5c39544aaf831742db14796ab83a6a |
14-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: send all warnings through _mesa_warning() One warning message: drm_i915_getparam: -22 was still being sent to fprintf(). This causes all Piglit tests to fail, even with MESA_DEBUG=0. Using _mesa_warning() to emit the message allows the general Mesa controls for messages like this to be applied.
rivers/dri/intel/intel_screen.c
|
76a64958a4ca38ec27b63a909979c493c507b952 |
14-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r300: don't send now forbidden register to kernel when with memory manager
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
09c04db3c900e4ed833d060853b48c7ca23697e1 |
14-May-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Make sure to drop current hardware state reference to texture objects. Fixes potential texture object leaks.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_texstate.c
|
7cd57e35b6427068b87c2fdb6c2aadef57f53520 |
14-May-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT In r*00SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
ca792be42b238bd1c8f8a99ad72ea8558cbbfc32 |
09-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
radeon: Don't crash generating mipmaps when pixels=NULL When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
rivers/dri/radeon/radeon_texture.c
|
ea6a74abbe4053b958d640425e061f0ceec92291 |
07-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXT In r300SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
rivers/dri/r300/r300_texstate.c
|
34eab5dd9c837769f1259e1f900b4528586d23b2 |
07-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
Call _mesa_update_stencil() before accessing ctx->Stencil._Enabled ctx->Stencil._Enabled is derived state and not immediately updated when the stencil parameters are changed; we need to make sure that it is up-to-date before accessing it. https://bugs.freedesktop.org/show_bug.cgi?id=21608
rivers/dri/radeon/radeon_common.c
|
038f0bf5916df5bae1145d234589e5fd528bb7fa |
09-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
Remove subpixel offset from viewport Remove an eigth-pixel offset of the viewport inherited from R100 code. This seems not to be necessary and causes blurring when sampling textures 1:1. https://bugs.freedesktop.org/show_bug.cgi?id=20340
rivers/dri/r300/r300_state.c
|
ca327b1688a8f70a4d01bf80d11508c90aafe64f |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
99960393edb3d6c0d3702cf51b59c2e4189117c7 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
intel: added null ptr check Fixes segfault in context tear-down when glClear was never called.
rivers/dri/intel/intel_context.c
|
a566b6d8ffa45728231f9040b15f86d403304c87 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
intel: enable GL_APPLE_vertex_array_object No special driver changes are needed for this extension.
rivers/dri/intel/intel_extensions.c
|
a892acef982bd17df81ae16131381a558208c112 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: enable GL_APPLE_vertex_array_object for gallium drivers
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_extensions.c
|
3039acfc5db67f3935f9c30a9f17193ab52b20a9 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/arrayobj.c src/mesa/main/arrayobj.h src/mesa/main/context.c
|
2e4e34689022ecfcc7dc107427db90cc52a94d63 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
intel: create a private gl_array_object for intel_clear_tris(), fix bug 21638 gl_array_object encapsulates a set of vertex arrays (see the GL_APPLE_vertex_array_object extension). Create a private gl_array_object for drawing the quad for intel_clear_tris() so we don't have to worry about the user's vertex array state. This fixes the no-op glClear bug #21638 and removes the need to call _mesa_PushClientAttrib() and _mesa_PopClientAttrib().
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
3e74faa02948624cfbaf1f03854f27e0c9130759 |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: delete array objects before buffer objects during context tear-down The former may point to the later.
ain/context.c
|
7ae4ce9e22e39d78e2d31164c05a3b267fb48e3c |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up vertex array object VBO unbinding and delete/refcounting Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs. (cherry picked from commit 32b851c80792623195069d7a41a5808cff3b2f6f)
ain/arrayobj.c
|
5568f2f601fbd974af402da92548904f6fafc6dc |
13-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reference counting for gl_array_object Every kind of object that can be shared by multiple contexts should be refcounted. (cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
ain/arrayobj.c
ain/arrayobj.h
ain/mtypes.h
ain/varray.c
|
10c4a10b979bddd099287dec5b69243c2ade8ade |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: enable additional code in emit_fb_write() Not 100% sure this is right, but the invalid assertion is fixed...
rivers/dri/i965/brw_wm_glsl.c
|
5590798f6d338e93ae6bee82ba5224568237ec18 |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: increase BRW_EU_MAX_INSN
rivers/dri/i965/brw_eu.h
|
4d244fb8999440a1876281574eb045f0a5895e9e |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: comment
rivers/dri/i965/brw_wm_iz.c
|
d4a42b0ce6455d03be70aa56aacd779be193aca4 |
10-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Skip the DRI2 renderbuffer update when doing Viewport on an FBO.
rivers/dri/intel/intel_context.c
|
aa422b262509bc0763a50f63a51a1730139ea52f |
10-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Map write-only buffer objects through the GTT when possible. This looks to be a win of a few percent in cairogears with new vbo code, thanks to not polluting caches.
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
|
0fc5fa85bf858ba2ad88995f65cc48b2dab1298d |
12-May-2009 |
Eric Anholt <eric@anholt.net> |
i915: Fix driver after HW glGenerateMipmap commit.
rivers/dri/i915/Makefile
|
6d63dec41f5399dbe5561175c1652d2ac5ffd4bb |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
swrast: update/restore the opt_sample_rgb/rgba_2d() functions
wrast/s_texfilter.c
|
c514c1f99493147bbba7a1dbe157c0492f4cf2eb |
12-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXEL This was broken with last merge see 62043b27575c378c027251316421e4699f461108 for explanations
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_state.c
|
05c19ec7f0717549c010afc0b6cdc81962d32675 |
12-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r300/r500: make sure we detect constant buffer changes This was broken with last merge see f48473e42511f8d37a239a07f791bc0a87209e5b for explanations.
rivers/dri/r300/r300_fragprog_common.c
|
0bfa8dfaaf49703eb5c3237b5cae6201b8755e4d |
12-May-2009 |
Tormod Volden <debian.tormod@gmail.com> |
radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1 Basically the same as 43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f for intel. Bug 21688. Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
rivers/dri/radeon/radeon_common_context.c
|
64f36ff9fbe7e12c79cd72ceb68ed5967979445f |
28-Apr-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Test either GL_FRONT_LEFT or GL_FRONT for front-buffer rendering For non-stereo visuals, which is all we support, we treat GL_FRONT_LEFT as GL_FRONT. However, they are technically different, and they have different enum values. Test for either one to determine if we're in front-buffer rendering mode. This fix was suggested by Pierre Willenbrock. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 2085cf24628be7cd297ab0f9ef5ce02bd5a006e2)
rivers/dri/intel/intel_buffers.c
|
e7cb125b2d9e9c7b1ad89b988fa3bf53ead9eb0c |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/mesa/main/version.h
|
f104e4d666dfccda6f5ad817693216733ddede44 |
12-May-2009 |
Brian Paul <brianp@vmware.com> |
st: do proper refcounting for framebuffer surfaces
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_context.c
|
7c3d7353d7b46f5ce2b411f08f9e4c158f1610e0 |
11-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comments for _mesa_generate_mipmap()
ain/mipmap.c
|
6697311b21a65dbea9236413a3afc759a592afd7 |
11-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: handle extended swizzle terms (0,1) in get_src_reg() Fixes failed assertion in progs/glsl/twoside.c (but still wrong rendering).
rivers/dri/i965/brw_wm_glsl.c
|
7c2fe42dedcd9f437f2b3fae92963d4c4c56fe03 |
11-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: better handling/printing of driver-specific opcodes, register files Drivers such as i965 define extra instruction opcodes and register files. Improve the program printing code to handle those opcodes/files better.
hader/prog_instruction.c
hader/prog_print.c
|
2223615e0a897434b41f86d22c41cb5dc9f8d67a |
11-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Fixed a texture memory leak The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture. (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a)
ain/texstate.c
|
98bb5c610dc68d8e9a185216ce9d2dc6d278c114 |
10-May-2009 |
Joel Bosveld <joel.bosveld@gmail.com> |
radeon: add support for new dri2 interfaces & fix single buffer rendering
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
|
221b30d595ab2f97fd0518c761615dd28f3ef5ca |
10-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
Merge commit 'origin/master' into radeon-rewrite Conflicts: src/mesa/drivers/dri/r200/r200_state.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_fragprog.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/radeon/radeon_screen.c src/mesa/drivers/dri/radeon/radeon_state.c
|
13e0ff0df1bb75993bded7b248dd37f58fbfd22c |
09-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: don't include cs uncondionaly
rivers/dri/radeon/radeon_bocs_wrapper.h
|
e2dcebd2e6b2af6269a5ece6d6ced73ec8bb4a47 |
09-May-2009 |
Richard Li <RichardZ.Li@amd.com> |
R6xx/R7xx: WIP r6xx-rewrite code
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_tex.c
rivers/dri/r600/r700_tex.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
|
1d112207716774b32c0cc846304c2c50bf40e812 |
08-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: improve debug logging Looking for memory leaks that were causing crashes in my environment in a situation where valgrind would not work, I ended up improving the i965 debug traces so I could better see where the memory was being allocated and where it was going, in the regions and miptrees code, and in the state caches. These traces were specific enough that external scripts could determine what elements were not being released, and where the memory leaks were. I also ended up creating my own backtrace code in intel_regions.c, to determine exactly where regions were being allocated and for what, since valgrind wasn't working. Because it was useful, I left it in, but disabled and compiled out. It can be activated by changing a flag at the top of the file.
rivers/dri/i965/brw_state_cache.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
|
fc6d89145df6fc7a1c2ce648b474c3f203ca87c7 |
08-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix memory leak in context/renderbuffer region management A temporary change to the intelMakeCurrent() function to make it work with frame buffer objects causes the static regions associated with the context (the front_region, back_region, and depth_region) to take on an additional reference, with no corresponding release. This causes a memory leak if a program repeatedly creates and destroys contexts. The fix is the corresponding hack, to unreference these regions when the context is deleted, but only if the framebuffer objects are still present and the same regions are still referenced within. Both sets of code have comment blocks referring to each other.
rivers/dri/intel/intel_context.c
|
44a4abfd4f8695809eaec07df8eeb191d6e017d7 |
08-May-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix segfault on low memory conditions When out of memory (in at least one case, triggered by a longrunning memory leak), this code will segfault and crash. By checking for the out-of-memory condition, the system can continue, and will report the out-of-memory error later, a much preferable outcome.
rivers/dri/i965/brw_wm.c
|
c230767d6956b63a2b101acb48f98823bb5dd31a |
08-May-2009 |
Robert Ellison <papillo@vmware.com> |
mesa: Fixed a texture memory leak The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture.
ain/texstate.c
|
1d663ae2925ffadf419ddbea9eca8d5706ea6510 |
08-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps. In addition to being HW accelerated, it avoids the incorrect (black) rendering of the mipmaps that SW was doing in fbo-generatemipmap. Improves the performance of the mipmap generation and drawing in fbo-generatemipmap by 30%.
rivers/dri/i915/intel_generatemipmap.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_generatemipmap.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_generatemipmap.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
b6e94f71c2bfc63497e2c8265179f19babe87688 |
08-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Put the constant texcoords used in metaops into a vbo. Make this be its own function for setup/teardown of the binding of these texcoords. No performance difference in the engine demo (I just felt dirty not using a VBO for this), and I think it should be more resilient to interference from current GL state.
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
6fec2eb1433c8d533b0a9afb73a2162db8dd9a7b |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version to 7.5-rc1
ain/version.h
|
f09e5a5b637822b89ba19b2e306b83f8fc3809d0 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: const qualifiers
rivers/dri/i965/brw_vs_emit.c
|
4e762395ef7e8c332c16fd0c11025cfa52763a45 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: raise MAX_VARYING (number of shader varying vars) to 16 16 is the limit for now because of various 32-bit bitfields.
ain/config.h
|
17a354a119370df9196a010a31fc71cd8712ec46 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: assertions to check for too many vertex outputs or fragment inputs
ain/context.c
|
cc58fbcf2c5c88f406818db60910f537e03610d6 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
glsl: check number of varying variables against the limit Link fails if too many varying vars.
hader/slang/slang_link.c
|
87fbc9a14ed2bdd24d84c38431abbf7b0c275998 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: issue warning for out of bounds array indexes
ain/api_validate.c
|
e2cf522de09bc4afa18ef8d98db69973ee489d58 |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: don't use GRF regs 126,127 for WM programs They seem to be used for something else and using them for shader temps seems to lead to GPU lock-ups. Call _mesa_warning() when we run out of temps. Also, clean up some debug code.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
40cba5489d963d4903d9c2385775f880824310da |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
glsl: set vertex/fragment program Ids to aid with debugging
hader/slang/slang_link.c
|
ccaa6463a7a327bb5fe122af41ea77e158439cce |
08-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more shader debug code (disabled)
hader/shader_api.c
|
a67c29a268bdfecb910b929e05c0ea02c720caa6 |
08-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: IRQ always enabled in DRI2 path no need to query kernel for it
rivers/dri/radeon/radeon_screen.c
|
e90beb93a89f77bffce8ab3d54457ea65868e93c |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: keep surface_copy arguments positive The src/dest x,y, and w,h arguments of the pipe->surface_copy function are unsigned and the drivers aren't expecting negative (or extremly-large unsigned) values as inputs. Trim the requests at the state-tracker level before passing down.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
507f4e7a7448fb246febefe8819b7b3ac70a35b4 |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: remove redundant call to st_finish in CopyTexSubImage Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
tate_tracker/st_cb_texture.c
|
33d2ca7624968fc972c917f15fa947df36916296 |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: cope with non-ibo index data in st_draw_feedback.c Previously only non-indexed or indicies-in-a-vbo cases were handled in this code. This change adds the missing regular indices-in-memory case.
tate_tracker/st_draw_feedback.c
|
d88faf91e9fe222636b33540298ee64bc6f4416c |
01-May-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Make _mesa_share_state thread safe.
ain/context.c
|
b6e8256899a9a93c665c34e10efcc918f2fcc095 |
05-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: more complete fix for transform_invarient glitches Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
ain/context.c
ain/context.h
ain/ffvertex_prog.c
ain/mtypes.h
hader/programopt.c
tate_tracker/st_context.c
|
751f73e2812cf8185c775a91c16cf8565b85536d |
01-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/main: set PREFER_DP4 to match position_invarient code This is a quick fix for z fighting in quake4 caused by the mismatch between vertex transformation here and in the position_invarient code. Full fix would be to make this driver-tunable and adjust both position_invarient and ffvertex_prog.c code to respect driver preferences.
ain/ffvertex_prog.c
|
d5c2ad8514ce8064d83febf647c9e726788b7924 |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: keep surface_copy arguments positive The src/dest x,y, and w,h arguments of the pipe->surface_copy function are unsigned and the drivers aren't expecting negative (or extremly-large unsigned) values as inputs. Trim the requests at the state-tracker level before passing down.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
6826bad6a75e78729dd472ea26c87787c90ada4c |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: remove redundant call to st_finish in CopyTexSubImage Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
tate_tracker/st_cb_texture.c
|
01280cff537544299fe0c5f1a282abde8e69b1f3 |
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: cope with non-ibo index data in st_draw_feedback.c Previously only non-indexed or indicies-in-a-vbo cases were handled in this code. This change adds the missing regular indices-in-memory case.
tate_tracker/st_draw_feedback.c
|
b25168c34c60760a33ca9e8336ac76cf1219f143 |
01-May-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Make _mesa_share_state thread safe.
ain/context.c
|
a7bb95bf142ac9727a4223639742a8524f9c724b |
05-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add missing texture format Fixes piglit/texdepth
rivers/dri/r300/r300_texstate.c
|
dc8c7177592fc804f00409d53049af8e6b55f331 |
02-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: moar cleanup - remove unused r300UpdateClipPlanes function - move reg definition to r300_reg.h - remove incorrect forward definition of tnl_UpdateFixedFunctionProgram and add proper #include - remove unreachable code
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
14365aa0ef278ac6e04a8c6e6d37e6625b0a309a |
02-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix compiler warnings
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_texture.c
|
fa95ecb467d656e293a12c089b3e85fcbbadb848 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make the array object save/remove functions static
ain/arrayobj.c
ain/arrayobj.h
|
32b851c80792623195069d7a41a5808cff3b2f6f |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up vertex array object VBO unbinding and delete/refcounting Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs.
ain/arrayobj.c
|
1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reference counting for gl_array_object Every kind of object that can be shared by multiple contexts should be refcounted.
ain/arrayobj.c
ain/arrayobj.h
ain/mtypes.h
ain/varray.c
|
9bb6684799f00fabc313ee50be671454e498d8a9 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: array object comments
ain/mtypes.h
|
4f6b704f9796775d8d9937c3cf75a2901b99b896 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move the NullBufferObj from GLcontext to gl_shared_state Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
ain/arrayobj.c
ain/bufferobj.c
ain/context.c
ain/mtypes.h
ain/pixel.c
ain/pixelstore.c
ain/shared.c
wrast/s_imaging.c
bo/vbo_context.c
bo/vbo_exec_api.c
bo/vbo_rebase.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
105c8529e78db961fee832b6248c3bcf59668bad |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments, s/texture/buffer/
ain/bufferobj.c
|
f37cccde3c2f4d63ba45be5b50b2358eb8ef98b4 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
vbo: in glDraw[Range]Element() code, check for out of bounds indexes No-op the bad drawing command rather than go out of bounds and render garbage. Print a warning to alert the developer to the bad drawing call.
bo/vbo_exec_array.c
|
6359ecebec860963886801656ab4e01c4e9ff988 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_buffer_object::OnCard field
ain/bufferobj.c
ain/mtypes.h
|
dcca97a3e3c1d8f5d27e1177257964eddb9effd3 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_buffer_object::Written flag (for debug purposes) The flag is set when we data has been written into the buffer object.
ain/bufferobj.c
ain/mtypes.h
|
b9d0f947f2bcc47047b162e3d7c8f91b6153e02c |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Compute gl_client_array->_MaxElement during array validation Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag.
ain/bufferobj.c
ain/mtypes.h
ain/state.c
ain/varray.c
|
800b14cd378ed708a29230d92031ac7b6ad6a286 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: GLvector4f:: flags is a GLbitfield, update comments too.
ath/m_vector.c
ath/m_vector.h
|
1f75c2daeae71985ec3b9fd8f1431aa33ae35d1e |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add storage_count field to GLvector4f. Useful for debugging.
ath/m_vector.c
ath/m_vector.h
|
828aa76f360c96adea1725380c397d04690bfd04 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use array->BufferObj instead of ctx->Array.ArrayBufferObj No difference, but a little more understandable.
ain/varray.c
|
0077c879b57f663c038becdde37b2f6671f59150 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _ElementSize field to gl_client_array Will be handy for bounds checking later...
ain/mtypes.h
ain/varray.c
|
a6c8e900af981e011e51268a2724e5ff4a3ff1eb |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use local var to make code a bit more concise
ain/state.c
|
b102c1d8f9ea359879e6c1c4fd8c80c00d21cad5 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/add comments
ain/mtypes.h
|
7e3bd457e8cf106391f4418d910b8267b4b0de2c |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_sizeof_type() in vbo split code
bo/vbo_split_copy.c
|
3acdab82cba03ea2a0dfaa3d7d5d940f1e94a374 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: vbo code reformatting, clean-up, comments
bo/vbo_split_copy.c
|
87ba2285fe11dfe068798e5f8ea8e089a5d8b28b |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add GL_DOUBLE case in _mesa_sizeof_type()
ain/image.c
|
2369f14245222a9c073846baa1bb03e23aa37c15 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: in vbo split code, map buffers read-only, not write-only And use GL_ELEMENT_ARRAY_BUFFER where appropriate.
bo/vbo_split_copy.c
|
74bec42b45910e2ff6bf1a8cc0eeb2bc5c705767 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXT
ain/texparam.c
|
ad32489987f3f65d37aee76083f466d674ada0c5 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
tnl: added some clip debug/print code (disabled)
nl/t_vb_cliptmp.h
|
424507953ca9d41e0dbfcc0399f50315b5671776 |
05-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reformatting, updated comments, const-correctness
ath/m_vector.c
ath/m_vector.h
|
134ac52decf020e6ffb2da8d641cdb3cda9ac0f2 |
05-May-2009 |
Brian Paul <brianp@vmware.com> |
tnl: replace 0x3f with CILP_FRUSTUM_BITS
nl/t_vb_cliptmp.h
|
f56893ea173454ed5367eafb038fa4905f9ebce3 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
i965: relAddr local var (to make debug/test a little easier)
rivers/dri/i965/brw_vs_emit.c
|
9a4890dac783cba7572e8146b455f234144f3866 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
6a3004b9ae58dafd1ce995df78b0f3183827a59d |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix span clipping bug If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds.
wrast/s_span.c
wrast/s_span.h
|
cc7170464493453ec8213decd21df95121b236e2 |
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: unmap buffer objects during context tear-down
ain/shared.c
|
3d048e57504c63999aeaaf5a65e8e493e6a67ff7 |
07-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove bad constant buffer constant-reg-already-loaded optimization. Thanks to branching, the state of c->current_const[i].index at the point of emitting constant loads for this instruction may not match the actual constant currently loaded in the reg at runtime. Fixes a regression in my GLSL program for idr's class since b58b3a786aa38dcc9d72144c2cc691151e46e3d5.
rivers/dri/i965/brw_wm_glsl.c
|
156a79f5bd7b3e79f219adf4619ec449a7c0ed1c |
06-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Unmap buffers if needed at DeleteBuffer time. This fixes a crash in glean's pbo test, which tripped over the assert when a context was destroyed while a buffer was still mapped (Mesa doesn't call UnmapBuffer in that case). Regression in c6bde8873fbda6d8467600b7491d8543c75b0509
rivers/dri/intel/intel_buffer_objects.c
|
cfc3ac8d6e3024d1284cfc3f50f695b6b8008c5f |
06-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
When clearing the stencil buffer, don't use a two-sided stencil In radeon_clear_tris(), when clearing the stencil buffer, pass GL_FRONT_AND_BACK to _mesa_StencilFuncSeparate(), to avoid triggering a software fallback on r300 and below. https://bugs.freedesktop.org/show_bug.cgi?id=21601
rivers/dri/radeon/radeon_common.c
|
58544a28ad561d7d9e16deb048443c2d2b5c12d8 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unnecessary buffer size check
ain/api_validate.c
|
bb1fb2a5444c6b7d83ccb47949f60ed9fb4f0f93 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: code consolidation in glDraw[Range]Elements() validation
ain/api_validate.c
|
88af3f8783452dcf50a9e2e82076f52b2044f643 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new comments, minor reformatting
ain/api_validate.c
|
a13df193c23f9202ade6f16643e3ef529cff772b |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj Makes no real difference, but more consistant.
ain/api_validate.c
|
f831d2d41b5551abcf61f19880bc96779c5efd51 |
06-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove the forced lack of caching for renderbuffer surface state. This snuck in with the multi-draw-buffers commit, and is a major penalty to performance. It doesn't appear to be required, as the only dependency the surface BO has is on the state key (and if there's some other dependency, it should just be in the key). This brings openarena performance up to almost 2% faster than Mesa 7.4.
rivers/dri/i965/brw_wm_surface_state.c
|
4cb87840ff7c99654a89f45c6a5a2a026a587a2f |
06-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove _NEW_PROGRAM from brw_wm_surfaces setup dependencies. This was a leftover from the brw_wm_constant_buffer change.
rivers/dri/i965/brw_wm_surface_state.c
|
9b678af7967bb88044c5fe437e050472fa03eaca |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: be smarter about allocating vert/frag program constants Try to re-use constants/literals more often to make best use of the constant buffer space. See bug 21354.
hader/arbprogparse.c
|
71fb9d62ece0177183efd5bb955d1f3292cb4376 |
06-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Split WM constant buffer update from other WM surfaces. This can avoid re-uploading constant data when it isn't necessary, and is a step towards not updating other surfaces just because constants change. It also brings the upload of the constant buffer next to the creation. This brings openarena performance up another 4%, to 91% of the Mesa 7.4 branch.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_surface_state.c
|
9490d86808300e5819941a40784e272c290e05ee |
05-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Disentangle VS constant surface state from WM surface state. Also, only create VS surface state if there's a VS constant buffer to be uploaded, and set the contents of the buffer at the same time as creation.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_surface_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
d277547dc69c9004097afdc2ca56a7aed85c6f54 |
05-May-2009 |
Eric Anholt <eric@anholt.net> |
i965: Don't create constant buffers if they won't be used. Really, the creation and upload of constants should be in the same place, since they should only happen together, and a state flag should be triggered by them so that we don't thrash state around so much for just updating constants. But this still recovers openarena performance by another 19%, leaving us 16% behind Mesa 7.4 branch.
rivers/dri/i965/brw_wm_surface_state.c
|
7f65fea95e56fe0dee91ba726358896c9899780a |
06-May-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: hopefully fixup radeon cube state emission for kms
rivers/dri/radeon/radeon_state_init.c
|
d7f62e54055c7b8afaf0683944a4ba907b96d6ec |
06-May-2009 |
Dave Airlie <airlied@redhat.com> |
r100/r200: try and allocate miptree correct for hw. This doesn't make things worse but according to sroland it is how the GPU hw expects things on the r100/r200
rivers/dri/radeon/radeon_mipmap_tree.c
|
acf086ebfa95b77bb221c15acf6776439063c0b7 |
06-May-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix cubic emission. Still doesn't fix cubemaps, I really missed the whole drmsupports thing when testing this all originally
rivers/dri/r200/r200_state_init.c
|
51325f44d1e7e62b47795a79f8038d10dc5bc30b |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: only use fallback texture when using shaders, not fixed-function (take two) The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. For fixed function, the texture unit is truly disabled/ignored. Fixes glean fbo test regression.
ain/texstate.c
|
823815a48556940cc27867717658afda93733ce8 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: only use fallback texture when using shaders, not fixed-function" This reverts commit a0edbfb28fb2e670c657d52190a7e8b1ccf4f46e. This patch didn't completely fix the problem. The next patch will.
ain/texstate.c
|
a0edbfb28fb2e670c657d52190a7e8b1ccf4f46e |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: only use fallback texture when using shaders, not fixed-function The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. Fixes glean fbo test regression.
ain/texstate.c
|
01e16befd4809e3e93ee7855a4a5d7df9fe010d9 |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: only use fallback texture when using shaders, not fixed-function The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. Fixes glean fbo test regression.
ain/texstate.c
|
c0d3761c167c2d952e92c46cf3a0e26461985ada |
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor simplification in enable_texture(), updated comments
ain/enable.c
|
5f8381724e81b594d6f11bb2d59964fbdbf22e90 |
05-May-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix some cube map issues remove the r100-ism of swapping cube faces which doesn't apply to r200, and also use precalculated offsets. Note that cube textures will still not work on r100 and r200 since mipmap layout is level-first order (for r300) whereas r100/r200 require face-first (and possibly also 2k alignment for face at least with tiling).
rivers/dri/r200/r200_state_init.c
|
3503af07c4b7624252890e229cb6efd0ede2b7d6 |
05-May-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix another section size mismatch
rivers/dri/r200/r200_state_init.c
|
b2577937b61c2f182d905010ace960ef95c1a026 |
05-May-2009 |
Roland Scheidegger <sroland@vmware.com> |
r200: fix CS section size mismatch (bug 21565)
rivers/dri/r200/r200_state_init.c
|
113403ef51e2ec764db061aabf569d6f1a1a3ef0 |
05-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: more complete fix for transform_invarient glitches Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
ain/context.c
ain/context.h
ain/ffvertex_prog.c
ain/mtypes.h
hader/programopt.c
tate_tracker/st_context.c
|
22b417b75ce0e6658a5d1e0e80cb6c3fdf631774 |
01-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/main: set PREFER_DP4 to match position_invarient code This is a quick fix for z fighting in quake4 caused by the mismatch between vertex transformation here and in the position_invarient code. Full fix would be to make this driver-tunable and adjust both position_invarient and ffvertex_prog.c code to respect driver preferences.
ain/ffvertex_prog.c
|
f616995e5ed56745c4470b2ca5aeeb8d89a8c9db |
05-May-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: enable all the optional drm support bits
rivers/dri/radeon/radeon_screen.c
|
f95c0c06c0970d9a7700c7c8cea6396982b4b0dc |
04-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: also print program params/constants when dumping shaders to disk
hader/prog_print.c
|
27dbdb1684af42ce3e7962111fa0726cf7ba28d1 |
04-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unfinished/devel code
hader/prog_optimize.c
|
0b22615c2c860968a027c04519e25864ae69f6cd |
02-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: set proper texture row alignment for IGP chips Looks like r400 based IGP chips require 64 byte alignment
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
|
62043b27575c378c027251316421e4699f461108 |
02-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXEL Since GL_READ_BUFFER is historically part of the gl_pixel_attrib group it made sense to signal changes with _NEW_PIXEL. But now with FBOs it's also part of the framebuffer state. Now _NEW_PIXEL strictly indicates pixels transfer state changes. This change avoids framebuffer state validation when any random bit of pixel-transfer state is set. DRI drivers updated too: don't check _NEW_COLOR when updating framebuffer state. I think that was just copied from the Xlib driver because we care about dither enable/disable state there.
rivers/dri/intel/intel_buffers.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_state.c
rivers/x11/xm_dd.c
ain/buffers.c
|
a7ef5b76d6889c4a6614eddea0c021c83f6a8703 |
02-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch'
|
0a56a4968786bd93d9117af2a0a3bda13ea71c4d |
02-May-2009 |
Brian Paul <brianp@vmware.com> |
st: create renderbuffer's pipe_surface in st_render_texture() Previously we created the pipe_surface during framebuffer validation. But if we did a glCopyTex[Sub]Image() before anything else we wouldn't yet have the surface. This fixes that.
tate_tracker/st_cb_fbo.c
|
63f01309801c5a900d8d7f5ccd63413e33ff9bff |
02-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix state validation bug for glCopyTex[Sub]Image() We need to make sure the framebuffer state is up to date to make sure we read pixels from the right buffer when doing a texture image copy.
ain/teximage.c
|
602833b107cdf3d70117dbd0970c7d574fb55f3b |
02-May-2009 |
Brian Paul <brianp@vmware.com> |
st: if st_swapbuffers() is called for single-buffered visual don't crash Furthermore, return pointer(s) to the front color buffer(s).
tate_tracker/st_framebuffer.c
|
3f52a853f795d7432b181de81da6f0c4cf1cc202 |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
st: when creating an on-demand front color buffer, init to back buffer image When we create a new front color buffer (user called glDrawBuffer(GL_FRONT)) initialize it to the contents of the back buffer. Any previous call to SwapBuffers() would have done that in effect, so make it reality.
tate_tracker/st_cb_fbo.c
|
b85b315ebbe25efbd118887bdc87a562d4334fcc |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
st: added st_renderbuffer::defined flag Indicates whether there's defined image contents, or garbage/don't care. This is set when we draw into a renderbuffer and cleared when we resize/ reallocate a renderbuffer or do a buffer swap (back buffer becomes undefined). We use this to determine whether the front color buffer has been drawn to, and whether to display its contents upon glFlush/Finish(), when the new st_swapbuffers() function is used.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_flush.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
|
30b3d800917cc5b41ec508fd38a0ae1da8624a36 |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment
ain/mtypes.h
|
3534539557350f4a63c6e8b3a48fbc8cacffe199 |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
set: new st_swapbuffers() which does a true front/back buffer swap The pointers to the front/back renderbuffers are exchanged. This new function isn't actually used yet...
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
2085cf24628be7cd297ab0f9ef5ce02bd5a006e2 |
28-Apr-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Test either GL_FRONT_LEFT or GL_FRONT for front-buffer rendering For non-stereo visuals, which is all we support, we treat GL_FRONT_LEFT as GL_FRONT. However, they are technically different, and they have different enum values. Test for either one to determine if we're in front-buffer rendering mode. This fix was suggested by Pierre Willenbrock. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/intel/intel_buffers.c
|
cd6734288ddc15a778def9578e128184b3f6bdea |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
st: when double buffered, only create front color buffer on demand Before we always created the front color buffer, even if was never used. This can save some memory.
tate_tracker/st_cb_fbo.c
tate_tracker/st_framebuffer.c
|
b9196c1fa39dd566c5d7ab340e353b77714edb5f |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'const-buffer-changes' Conflicts: src/mesa/drivers/dri/i965/brw_curbe.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_wm_glsl.c
|
3f25219c7bf0f090502489928f0f018e62c4f6cf |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: create/use a fallback texture when bound texture is incomplete When a GLSL sampler reads from an incomplete texture it should return (0,0,0,1). Instead of jumping through hoops in all the drivers to make this happen, just create/install a fallback texture with those texel values. Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some GPU lockups when trying to sample from missing surfaces. If a binding table entry is NULL, it seems that sampling sometimes works, but not always (lockup). Todo: create a fallback texture for each type of texture target?
ain/mtypes.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
666e5bf4a6728484b4bc0c7e2583f141f1f2b2b7 |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.6 (devel)
ain/version.h
|
8a488b1be720247339f5c86fea5d2bff3d0fe084 |
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove -devel suffix from version
ain/version.h
|
c28707b50701b1cf8727be29d61e2d939c6ee58f |
30-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Increase reference count of texture objects referenced by current state. Fixes a use-after-free reported in http://bugs.freedesktop.org/show_bug.cgi?id=20539, so this possibly fixes that bug. It has been confirmed to fix http://bugs.freedesktop.org/show_bug.cgi?id=17895 .
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
a9c97c5f2a9b880d01336a23134600e4b34429d0 |
29-Apr-2009 |
Tom Fogal <tfogal@alumni.unh.edu> |
Use variable library name in pkg-config output. Previously the pkg-config output files would contain e.g. `-lGL' and `-lGLU', even if the user modified their configuration to build libraries with different names. This modifies the pkg-config inputs, and corresponding makery, so that modifying the output library name will cause the appropriate updated name to appear in the pkg-config `-l' option. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
akefile
l.pc.in
|
dca190e9432d4ed122bdd534922d0c3d85791c6a |
29-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_check_soa_dependencies() function This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.
hader/prog_instruction.c
hader/prog_instruction.h
|
0e85dcb66b990a63d60032816798ff693f9248e7 |
29-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_check_soa_dependencies() function This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.
hader/prog_instruction.c
hader/prog_instruction.h
|
801a33ae44355b89cebed47e9e48e39545522f6e |
28-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: protect internal flushes with FLUSH_CURRENT Already doing this for driver.flush()
tate_tracker/st_cb_flush.c
|
c0bff53334194f9d1aada23510123f1591d5512e |
28-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/main: protect driver.finish with FLUSH_CURRENT Already doing this for driver.flush()
ain/context.c
|
106f2b031cbb83a54fa2949cb07357ecea68b92a |
28-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: remove duplicate offset calculation
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_context.h
|
afc0c59dbd7f89d914763fd78701461f22c00450 |
27-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: translate VERT_ATTRIB_GENERIC8..15 in st_translate_vertex_program It seems quake4 can hit these attributes sometimes.
tate_tracker/st_program.c
|
afd16512bc354cf1a7220cb9bf3ce445503c7af4 |
27-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: workaround for crashes in st_copy_texsubimage Proper fix for this hasn't been identified, but avoid crashing.
tate_tracker/st_cb_texture.c
|
55db6ce537f1fd9acf205400202abfcc3908d6c3 |
28-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R300: add quadpipe overrides RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override.
rivers/dri/radeon/radeon_screen.c
|
09c91a1565fc99f20379a0f552651303ae8067c2 |
28-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R300: add quadpipe overrides RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override
rivers/dri/radeon/radeon_screen.c
|
43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f |
28-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: avoid segfault in intel_update_renderbuffers() if using DRI1
rivers/dri/intel/intel_context.c
|
dcf571aff9de1a4298c4d2c4148d84cdc4daf02e |
28-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add missing break in clamp_rect_coord_linear() See bug 21461.
wrast/s_texfilter.c
|
3d2bba0d10d59a9c2d6d09c5dc3fabe148d5e0d7 |
28-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
st: Add an st_get_current() function. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
tate_tracker/st_context.c
tate_tracker/st_public.h
|
5ca4f3c5dad94f8e07aa7d93c076d4bc0acee1f6 |
28-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeno: cleanup the startup path further
rivers/dri/radeon/radeon_screen.c
|
a9d64873d771a0ac8a319f036d97d827fea934df |
28-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: further cleanup dri1 screen init
rivers/dri/radeon/radeon_screen.c
|
7731d931650d721550bc558ad84b6e3060fa94b9 |
28-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
r300: remove unused debugging in set tex buffer paths
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
|
4e7d603fae8cff2a80096936ad210cb26a3f5f0e |
28-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove kernel mm, dri2 path takes care of it
rivers/dri/radeon/radeon_screen.c
|
ce0d10dd6cd688d16e004c33ea4418cd7254a7f7 |
27-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix fragment program limits
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r500_fragprog_emit.c
|
3c6bffa7618494a465ecb6ab6103143c12abb0c4 |
27-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fallback only if stencil test is enabled
rivers/dri/r300/r300_render.c
|
e33e28f52acca27a0cd594c6474fdea1b61fd615 |
27-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: do front/back color selection in HW for software TCL path
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
|
3d83a709b94e72608a061449bc30edc8af7c9ecc |
25-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix valgrind warnings
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_screen.c
|
78c0e6aefcef442f035494b6fc9f6b599fe75e7e |
25-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix point size clamping when point is not attenuated
rivers/dri/r300/r300_state.c
|
359a58230e0644a39c1904a74bc25803dc6cab6f |
27-Apr-2009 |
Robert Ellison <papillo@vmware.com> |
Avoid a segfault in shader compilation If a shader reaches an out-of-memory condition while adding a new function (reallocating the function list), a segfault will occur during cleanup (because the num_functions field is non-zero, but the functions pointer is NULL). This fixes that segfault by zeroing out the num_functions field if reallocation fails.
hader/slang/slang_compile.c
|
dd4802176f7751e8c38c000687ff9cb9633649aa |
27-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: #include prog_print.h to silence warning
rivers/dri/i965/brw_curbe.c
|
777b9ff43e88e456d686208c83712f26aba2dd95 |
27-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: only upload constant buffer data when we actually need the const buffer Make the use_const_buffer field per-program and only call the code which updates the constant buffer's data if the flag is set. This should undo the perf regression from 20f3497e4b6756e330f7b3f54e8acaa1d6c92052 (cherry picked from master, commit dc9705d12d162ba6d087eb762e315de9f97bc456)
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
dc9705d12d162ba6d087eb762e315de9f97bc456 |
27-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: only upload constant buffer data when we actually need the const buffer Make the use_const_buffer field per-program and only call the code which updates the constant buffer's data if the flag is set. This should undo the perf regression from 20f3497e4b6756e330f7b3f54e8acaa1d6c92052
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
5ed7764fd6354da8e2be15d6fb724c2d6be9be4a |
27-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: fix incorrect face, level in compress_with_blit We were incorrectly applying the destination texture face and level when requesting a transfer to the temporary texture, which has only one face and level. This would obviously cause problems uploading to compressed cube and mipmap textures.
tate_tracker/st_cb_texture.c
|
033d1365e6fa6e57bc11b47831af0cb4b7ad2edf |
24-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix performance regression This performance regression on non TCL hw was introduced by ed4c6cbe017b4e8bacb7e012d4baaf77a20a2c33. This patch depends on "r300: always route 4 texcoord components to RS" and "r300: add point attenuation stage for TCL fallbacks".
rivers/dri/r300/r300_context.c
|
7f6b13be86884486baad1e7750511ce4a2eedde6 |
24-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add point attenuation stage for TCL fallbacks
rivers/dri/r300/r300_context.c
|
d014d7d1bb33592f89fb08e8b656c27d67f9a3d3 |
24-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: always route 4 texcoord components to RS Routing <4 components may lead to lock up. Thanks to Alex Deucher for suggestion.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
|
22c0652c381e6773ff48e4c70ef5439a949919ae |
23-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: flush stdout to get consistent debugging info
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/radeon_program_pair.c
|
7ff2dcbbdc74bf5e9650d4a94a253a0cab3e8863 |
23-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add atom print function for kernel mm path
rivers/dri/radeon/radeon_common.c
|
25dd867c58e5008029dbb5277a82acbcc961a05a |
23-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: handle texcoords properly add 1D texture case and setup default Q value to 1.0
rivers/dri/r300/r300_swtcl.c
|
199710914ab15926d19c5a848453674715bce334 |
23-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary function calls ae_create_context is called by vbo_CreateContext ae_invalidate_state is called by vbo_InvalidateState
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
|
607c6cf1885c8f5fad7ff4a7baf919aa1d24050c |
19-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rename state According to r300_reg.h from radeon drm module 0x4f30 is ZB_ZMASK_OFFSET. Also cleanup as trailing whitespaces.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
931c89f6f6f1f8449ed9d7b41f84e6948774b368 |
19-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary function calls r300SetEarlyZState is called during r300UpdateShaderStates which is called for every rendering operation.
rivers/dri/r300/r300_state.c
|
b58b3a786aa38dcc9d72144c2cc691151e46e3d5 |
25-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: rework GLSL/WM register allocation Use a bitvector of used/free flags. If we run out of temps, examine the live intervals of the temp regs in the program and free those which are no longer alive. Also, enable the new WM const buffer code.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
7da3f9403b235394a5c7e9456e34a0c9dad7dd15 |
25-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor code and make _mesa_find_temp_intervals() public
hader/prog_optimize.c
hader/prog_optimize.h
|
99b77d05d2e8c4af5f7d752d6827c21fd6c4d5ee |
27-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Call _mesa_snprintf instead of snprintf. snprintf not directly available on Windows.
ain/imports.c
|
4486e40143d16b7a6d28b4c652e671a198603131 |
21-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: always emit output insts after all KIL insts
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_program_pair.c
|
022319b92ccd2f3bfc4aca54ebc7e39aeddd8b21 |
25-Apr-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Fix more issues with the combined depth-stencil attachment
rivers/dri/intel/intel_context.c
|
302ba83116a24dbcd09a5f8d10edaaf862127873 |
25-Apr-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Initialize region ptr to prevent assertion in intel_region_reference
rivers/dri/intel/intel_context.c
|
f2272b5b2fd9195fe8f9eccfdd2e3c13d18a35e7 |
21-Apr-2009 |
Ian Romanick <idr@freedesktop.org> |
intel / DRI2: When available, use DRI2GetBuffersWithFormat This interface gives the driver two important features. First, it can allocate the (fake) front-buffer only when needed. Second, it can tell the buffer allocator the format of buffers being allocated. This enables support for back-buffer and depth-buffer with different bits per pixel. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
|
32d185eb60ea7d0d1a67429055f7544129d52276 |
24-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r300: fix cliprect values
rivers/dri/r300/r300_cmdbuf.c
|
1c9786894cc3ce66665ca507a6daf6a829e5af89 |
24-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix up error/warning/debug output newlines As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go through output_if_debug(). Add new parameter to output_if_debug() to indicate whether to emit a newline. _mesa_warning() and _mesa_error() calls should not end their strings with \n. _mesa_debug() calls should end their text with \n.
ain/context.c
ain/imports.c
|
3321b6984ecd96ba466d8d010e390fff71a799d7 |
24-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: use drm_intel_gem_bo_map/unmap_gtt() when possible, otherwise dri_bo_subdata() This wraps up the unfinished business from commit a9a363f8298e9d534e60e3d2869f8677138a1e7e
rivers/dri/i965/brw_curbe.c
|
027ed1b505a1bf6e3f5ad4412734d7edf337c08b |
24-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: signal _NEW_PROGRAM_CONSTANTS instead of _NEW_PROGRAM Use _NEW_PROGRAM_CONSTANTS when changing constant/uniform buffer values. Binding a new program/shader sets both _NEW_PROGRAM and _NEW_PROGRAM_CONSTANTS.
hader/arbprogram.c
hader/nvprogram.c
hader/shader_api.c
|
5dec94696e67ca5a1d008530cbfea90f03aeff16 |
24-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r300: emit cliprect when in dri2 mode
rivers/dri/r300/r300_cmdbuf.c
|
ff71587b27beaf288d535e14c75e58425d7efc7a |
23-Apr-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: fix point size issue need to clamp point size to user set min/max values, even for constant point size. Fixes glean pointAtten test.
rivers/dri/i965/brw_sf_state.c
|
1d0039959302fddd560dc7f9642f312e588cce0e |
24-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more informative error messages
ain/texparam.c
|
a9a363f8298e9d534e60e3d2869f8677138a1e7e |
24-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: revert part of commit 4f4907d69f9020ce17aef21b6431d2dd65e01982 The drm_intel_gem_bo_map_gtt() call that replaced dri_bo_map() is producing errors like: intel_bufmgr_gem.c:689: Error preparing buffer map 39 (vp_const_buffer): Invalid argument . and returning NULL, causing a segfault in the memcpy(). Just reverting until we can get to the root issue...
rivers/dri/i965/brw_curbe.c
|
ae69a046505d8c94cd3a59a9376310a904c35b3c |
23-Apr-2009 |
Roland Scheidegger <sroland@vmware.com> |
i915: fix fix for anisotropic filtering forgot to commit the changes to actually support 4x aniso filtering...
rivers/dri/i915/i915_texstate.c
|
8374379572d1c541a804990bc926108360f67c02 |
23-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i965: Support drawing to FBO cube faces other than positive X. Also fixes drawing to 3D texture depth levels.
rivers/dri/i965/brw_wm_surface_state.c
|
4f4907d69f9020ce17aef21b6431d2dd65e01982 |
23-Apr-2009 |
Eric Anholt <eric@anholt.net> |
intel: Take advantage of GL_READ_ONLY_ARB to map to GEM bo_map write flag. This is a CPU win in general, but in particular reduces the pain of Mesa's calculation of min/max indices in DrawElements (wtf?).
rivers/dri/i965/brw_curbe.c
rivers/dri/intel/intel_buffer_objects.c
|
6b0c9366a3f13d74c00666cb7c26b65732f6b1aa |
23-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor state-update changes in histogram code Call FLUSH_VERTICES() in _mesa_Histogram(). No need to signal _NEW_PIXEL in ResetHistogram(), ResetMinmax().
ain/histogram.c
|
725d50601c2c010ce427a23a6e023f79df8a3a22 |
23-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo
ain/pixel.c
|
984f2bb629bb742c6d11d4c8434a2cb32a5b8b75 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: comments, license, copyright
tate_tracker/st_inlines.h
|
8ee6ab6acb8f89fbc87865751573fcbffb4695ef |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_dump_textures(), add null ptr check Calling _mesa_dump_textures() deleted the textures... oops!!!
ain/debug.c
|
ebfbd8c4fef78e3cd9604660e5bb96e3c6df07e5 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: disable debug printf
rivers/dri/i965/brw_vs_emit.c
|
ac22178eb049126003db40b0a77a111498a12ab7 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: enable VS constant buffers In the VS constants can now be handled in two different ways: 1. If there's room in the GRF, put constants there. They're preloaded from the CURBE prior to VS execution. This is the historical approach. The problem is the GRF may not have room for all the shader's constants and temps and misc registers. Hence... 2. Use a separate constant buffer which is read from using a READ message. This allows a very large number of constants and frees up GRF regs for shader temporaries. This is the new approach. May be a little slower than 1. 1 vs. 2 is chosen according to how many constants and temps the shader needs.
rivers/dri/i965/brw_vs_emit.c
|
5c8fb6acc10662c9e71078c9f273db6c7808e9ff |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: define BRW_MAX_GRF
rivers/dri/i965/brw_context.h
|
21a422d97e501f4ca68ab24ad3fe5f5eb1393349 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove old code to init surface-related cache IDs These types are only found in the new surface state cache now.
rivers/dri/i965/brw_state_cache.c
|
c0c58cf5cfc11b9256287871660cc16966e662ef |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments, reformatting
rivers/dri/i965/brw_state_cache.c
|
fa92756400ccfbb3f0201df634feb45ab4f98352 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Fix buffer overflow when parsing generic vertex attributes.
hader/arbprogparse.c
|
4843e54fc69daf379dea9899673b3df92b44049c |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: actually use the new, second surface state cache
rivers/dri/i965/brw_wm_surface_state.c
|
f9af97c7a5d81226a87d79baf8fb00231c96398d |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: checkpoint commit: use two state caches instead of one The new, second cache will only be used for surface-related items. Since we can create many surfaces the original, single cache could get filled quickly. When we cleared it, we had to regenerate shaders, etc. With two caches, we can avoid doing that.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
|
a071a8d2e72e52e6a8906448b171756c8920ce96 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused state atom entries
rivers/dri/i965/brw_state_upload.c
|
50853be894aa3edd1e9271f7d625f319209e340f |
22-Apr-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: fix max anisotropy supported i915 actually supports up to 4 (according to header file - not tested), i965 up to 16 (code already handled this but slightly broken), so don't use 2 for all chips, even though angular dependency is very high.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/intel/intel_context.c
|
f428255bde93a452a7cdd48fba21839c99beb6cb |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: the brw_constant_buffer state atom is no longer dynamic No more dynamic atoms so we can simplify the state validation code a little.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
|
e5681fc176bc43bc6c7804bd1e8d8557cdcab345 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: add _NEW_PROGRAM_CONSTANTS to mesa_bits[] list
rivers/dri/i965/brw_state_upload.c
|
a36dd5d54e3de5662c694e764d1c49795ddb6814 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i915: check the new _NEW_PROGRAM_CONSTANT flag
rivers/dri/i915/i915_context.c
|
1dbab84e21cad81e971265db3dbc8dc6c344b340 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: use _NEW_PROGRAM_CONSTANTS and always create new const buffers When program constants change we create a new VS constant buffer instead of re-using the old one. This allows us to have several const buffers in flight with vertex rendering.
rivers/dri/i965/brw_wm_surface_state.c
|
6b6a23c0f7e042d71764a2028f3d33b59076ac7c |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: updates to some debug code
rivers/dri/i965/brw_curbe.c
|
817dcdd280cd749c3186bd3f00c06f41270aa884 |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: use new _NEW_PROGRAM_CONSTANTS flag instead of dynamic flags
rivers/dri/i965/brw_curbe.c
|
f48473e42511f8d37a239a07f791bc0a87209e5b |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flag Make sure we detect constant buffer changes indicated by the new flag. Should be able to remove _NEW_PROGRAM (and _NEW_MODELVIEW, _NEW_LIGHT, etc) from several places (someday.
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
7843243deedd66b0c94c8874e732ed7e8c6617ff |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: also check _NEW_PROGRAM flag for vertex shader constant buffers This is a follow-on to commit c1a3b852807fb160f0cd246c1364b7336b4b947e. Note that (at this time) wherever _NEW_PROGRAM_CONSTANTS is set we're still setting _NEW_PROGRAM so this won't really make any difference (for now).
tate_tracker/st_atom_constbuf.c
|
466c78c93538f2853449124c06274d538830cd5a |
22-Apr-2009 |
Dave Airlie <airlied@linux.ie> |
Merge remote branch 'origin/master' into radeon-rewrite
|
f057f6543da469f231d551cb5728d98df8add4fa |
20-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Reinstate unconditional flushes. Lost in commit e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
|
009749b4a8c3ec54f47f3f85552e5ae275ab6ae6 |
21-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: protect driver.flush() with FLUSH_CURRENT Need to do this to ensure vbo code unmaps its buffers before calling the driver, which may be sitting on top of a memory manager which objects to firing commands from a mapped buffer.
ain/context.c
ain/fbobject.c
|
c1a3b852807fb160f0cd246c1364b7336b4b947e |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: play it safe for now and check _NEW_PROGRAM for shader const buffer atom When a new program is bound but no constants are updated we still need to update the Gallium const buffer.
tate_tracker/st_atom_constbuf.c
|
7872b8e37e13719fbea71b3a92507eb00e7fc9db |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: simplify state update logic for fragment shader const buffers
wrast/s_context.c
|
3eeefa47d08c91e4d3c14343dd0cab1be4252b8c |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: use the static atoms[] array directly We can simplify this now that we no longer have any dynamic atoms.
tate_tracker/st_atom.c
tate_tracker/st_context.h
|
f4f39902fd0241162c06065e521151cd2572a34d |
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: do away with dynamic state atom for const buffers Just use the new _NEW_PROGRAM_CONSTANTS flag instead.
tate_tracker/st_atom.c
tate_tracker/st_atom_constbuf.c
|
64e331eb529e66ef678804594c8a3266c97e645f |
21-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _NEW_PROGRAM_CONSTANTS flag This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
ain/mtypes.h
ain/state.c
hader/arbprogram.c
hader/nvprogram.c
hader/shader_api.c
|
8a22e24faef918a0f6d05ef6e6417a65cb3eaeb1 |
21-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: print internal.current[i] attrib
hader/prog_statevars.c
|
ac1fc3f46511a449c812651dda686d4aaac39753 |
21-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: print parameter list dirty state flag mask
hader/prog_print.c
|
08e7f09f34b1590b6e68b351e1ecb5f8f405fb75 |
20-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: const correctness
rivers/dri/i965/brw_wm_glsl.c
|
604dd37f66d9c0e83cb3a9012ff1fc35f38b3e37 |
21-Apr-2009 |
Richard Li <RichardZ.Li@amd.com> |
R6xx/R7xx: remove unused files
rivers/dri/r600/r600_fragprog.c
rivers/dri/r600/r600_fragprog.h
rivers/dri/r600/r600_fragprog_emit.c
rivers/dri/r600/r600_fragprog_swizzle.c
rivers/dri/r600/r600_fragprog_swizzle.h
rivers/dri/r600/r600_ioctl.c
rivers/dri/r600/r600_ioctl.h
rivers/dri/r600/r600_render.c
rivers/dri/r600/r600_shader.c
rivers/dri/r600/r600_state.c
rivers/dri/r600/r600_state.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r600_vertprog.c
rivers/dri/r600/r600_vertprog.h
|
581093d27cb847079da7930e143b8cbfdf8d8139 |
21-Apr-2009 |
Richard Li <RichardZ.Li@amd.com> |
R6xx/R7xx: add updated reg file
rivers/dri/r600/r600_reg.h
|
27c07b6b28cb5d9f0b2ba446846670a234e48228 |
21-Apr-2009 |
Richard Li <RichardZ.Li@amd.com> |
Initial pull of code from r6xx-r7xx-support branch Not functional yet.
rivers/dri/r600/Makefile
rivers/dri/r600/defaultendian.h
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_reg_auto_r6xx.h
rivers/dri/r600/r600_reg_r6xx.h
rivers/dri/r600/r600_reg_r7xx.h
rivers/dri/r600/r600_swtcl.c
rivers/dri/r600/r700_assembler.c
rivers/dri/r600/r700_assembler.h
rivers/dri/r600/r700_chip.c
rivers/dri/r600/r700_chip.h
rivers/dri/r600/r700_chipoffset.h
rivers/dri/r600/r700_clear.c
rivers/dri/r600/r700_clear.h
rivers/dri/r600/r700_debug.c
rivers/dri/r600/r700_debug.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_ioctl.c
rivers/dri/r600/r700_ioctl.h
rivers/dri/r600/r700_oglprog.c
rivers/dri/r600/r700_oglprog.h
rivers/dri/r600/r700_render.c
rivers/dri/r600/r700_shader.c
rivers/dri/r600/r700_shader.h
rivers/dri/r600/r700_shaderinst.c
rivers/dri/r600/r700_shaderinst.h
rivers/dri/r600/r700_state.c
rivers/dri/r600/r700_state.h
rivers/dri/r600/r700_tex.c
rivers/dri/r600/r700_tex.h
rivers/dri/r600/r700_vertprog.c
rivers/dri/r600/r700_vertprog.h
rivers/dri/r600/sq_micro_reg.h
rivers/dri/radeon/radeon_screen.c
|
584303ac8ef60129a9e4281963ebb3b3e16e96ac |
21-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: r300 hw doesn't support any input modifiers in tex insts
rivers/dri/r300/r300_fragprog_swizzle.c
|
25e3a534035e71bb319d2e11906d376734941a21 |
20-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: report GL_OUT_OF_MEMORY instead of asserting
tate_tracker/st_cb_bufferobjects.c
|
5d5db81076c6a6e07336f90fbfb7eeaeaf216278 |
20-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix pointer arithmetic error in get_texel_array() This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0
wrast/s_texcombine.c
|
29280ac69eeeb7ebddd07f027e65357e50508d93 |
20-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
gdi: Don't implement broken gl_dispatch_stub_xxx.
rivers/windows/gdi/wmesa.c
|
708218119b9eb6e96d167e98e364e467ebe00bea |
20-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Correct the gl_dispatch_stub_xxx prototypes.
lapi/gl_procs.py
lapi/glprocs.h
|
01397a66c77f8ebfe78b90ace59c095194a290cf |
20-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Handle failure to create a transfer.
tate_tracker/st_cb_texture.c
|
53c6467aea129b03cf960a0854c1746ce52a2daa |
17-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
st: assert on pipe_buffer_create failure This needs a proper fix to propogate the out-of-memory condition back up to Mesa and the app as a GL error. Until then, at least catch the problem at its source.
tate_tracker/st_cb_bufferobjects.c
|
6900046aad77b3b01feb30af9e50375224747b7d |
20-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix register-negate branch merge regression
rivers/dri/r300/r300_fragprog_swizzle.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_pair.c
|
c76a2444a3db4fef4b7892cfd99aa41681b4eb0a |
20-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fix glDraw/CopyPixels fragment program leak.
tate_tracker/st_cb_drawpixels.c
|
65fe0c86ffcff99f9f09606d462bf3731ea0c308 |
19-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix missing function declaration
rivers/dri/r300/r300_context.h
|
bcef4b63eba3b6072df3a699d0c4d5128e2515b9 |
19-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: revert part of cb4bef7ae0b5fe8de82c380bc98f19067394d355 Some debugging code got there by accident
rivers/dri/radeon/radeon_mipmap_tree.c
|
439c42ae8b652f4fce59e5157c7e598280959684 |
19-Apr-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st: Wait to create bitmap transfer until needed
tate_tracker/st_cb_bitmap.c
|
78878a13fe9cc5dea36c6427c99c7fe17391dbfb |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: cleanup includes
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
a2d49eeaebcb9d5869e6f6d57d0aa050a825d8b6 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: move common fp functions to seperate file
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_common.c
rivers/dri/r300/r300_fragprog_common.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
300661d12a1f0ab6c81b087a2ca8c4655abf7066 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: more r300/r500 unification reuse insert_WPOS_trailer function
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
155cc1647fb7ec488fb1d93ba68bc2523ffee381 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: more prepare for merge
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
97104c255942ee781777818633ca6c17b4fea312 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: further r300/r500 merge preparation
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
33af54af0da94e686ff6679d240a9ec246df3c7a |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: merge r300/r500 fragment program compiler structure
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/r500_fragprog_emit.c
|
aa04e7d475f6d6028c06c42bedc3c7d37ee78a0e |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: merge r300/r500 fragment program structures
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
27d4546f600cb444f07a4d510a328540ff37f761 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: r300/r500 fp shader merge WIP
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
cb4bef7ae0b5fe8de82c380bc98f19067394d355 |
18-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: general cleanup - remove unused fields - remove unused defines and macros - flatten one structure
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_mipmap_tree.c
|
b552446b95baeece6bbb41afe64cdb2f5623e400 |
17-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: remove unnecessary forward function declaration
rivers/dri/r300/r300_state.c
|
3fd0084154b377f4189bb8bc8eae21dbce735860 |
17-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: context creation cleanup - move constant values initialization to seperate function - remove obvious comments
rivers/dri/r300/r300_context.c
|
3230cb5f532c9df6a262b339d947bb71c71c510e |
19-Apr-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: update clear state with latest intel code
rivers/dri/radeon/radeon_common.c
|
927dc39de0aa3840b6e054128f49a6882771ab19 |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: use region width, height in brw_update_renderbuffer_surface() Fixes a regression from commit 2c30fd84dfa052949a117c78d932b58c1f88b446 seen with DRI1.
rivers/dri/i965/brw_wm_surface_state.c
|
957a625b2d7cf1f84c917948c8c0f6899d86379e |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
intel: #include polygon.h to silence warning
rivers/dri/intel/intel_clear.c
|
c5af2ed60fa4fe3f33b53a8e252e24cfa490a156 |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program() Fixes bug seen in progs/tests/vptest1.c
hader/program.c
|
54fb6f0053dc153b76a2e6a242bac376c6723279 |
18-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Handle ARB_vertex_buffer_object state in intel_clear_tris(). Fixes gearsvbo app by Michael Clark.
rivers/dri/intel/intel_clear.c
|
794d488e6dc795c225505b8c00a7f00f1960a5ad |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
intel: make sure polygon mode is set properly in intel_clear_tris() Fixes progs/glsl/skinning.c demo.
rivers/dri/intel/intel_clear.c
|
36b0f26721652639351522915d9a57f9d4a8bcde |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: suppress extra newline
ain/context.c
|
0bc214a834bbb12b9338837dd9fca9bc389b4bc2 |
18-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i915: fix broken indirect constant buffer reads The READ message's msg_control value can be 0 or 1 to indicate that the Oword should be read into the lower or upper half of the target register. It seems that the other half of the register gets clobbered though. So we read into two dest registers then use a MOV to combine the upper/lower halves.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
905130852ac481cb286b0215d8c61e9eb6845520 |
17-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: build a float[4] value in _mesa_add_sampler() to avoid random values
hader/prog_parameter.c
|
e1a8852aa49b535a4fcec4eefda3fb7f8e57a5cc |
17-Apr-2009 |
Brian Paul <brianp@vmware.com> |
dri: __driUtilMessage(): not all messages are errors
rivers/dri/common/dri_util.c
|
08ac96e55b6e4f30d75307b796a271b824ffd4ac |
17-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor tweak to error message
ain/matrix.c
|
f8f23e33c21f41756d068b546f2aae37030b5773 |
16-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: updated CURBE allocation code Now that we have real constant buffers, the demands on the CURBE are lessened. When we use real VS/WM constant buffers we only use the CURBE for clip planes.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vs_emit.c
|
e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687 |
17-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Create OGL state tracker wrappers for various CPU access operations. There are two usage types of buffer CPU accesses: One where we try to use the buffer contents for multiple draw commands in a batch. (batch := sequence of commands that are flushed together), like incrementally adding bitmaps to a bitmap texture that is reallocated on flush. And one where we assume we can safely overwrite the old buffer contexts, like glTexSubImage. In this case we need to make sure all old drawing commands referencing the buffer are flushed before we map the buffer. This is easily forgotten. Add wrappers for the most common of these operations. The first type is prefixed with "st_no_flush" and the second type is prefixed with "st_cond_flush", where "cond" indicates that we attmpt to only flush if there is indeed unflushed draw commands referencing the buffer. Prefixed functions are screen::get_tex_transfer pipe_buffer_write pipe_buffer_read pipe_buffer_map Please use the wrappers whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_inlines.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
eb0d46490332091b2ee247f32a1f08a04e1fe00f |
17-Apr-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'register-negate'
|
9028335371af465a73c13282a3608f76168e4d63 |
16-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: we always want non NDC coords format for swtcl
rivers/dri/r300/r300_swtcl.c
|
d7d5c97a215e6845ffa9fc60cee52da6a2d3148a |
16-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: cleanup frag prog setup a little Use proper fields for marking if fp is translated, and if is translated succesfully. Now if fp gets translated (even unsuccesfully) fp->translated is true. If the translation failed (i.e. because we exceeded limit of maximum texture indirections) the fp->error is set. With a little updated fallback function it prevents non native fragment programs from beeing translated with every frame (the translation would fail anyway so there's no point to try again). Also implement IsProgramNative function for GL_FRAGMENT_PROGRAM_ARB (it should give some performance boost in apps that checks if program is native and falls back to simpler shader to meet hw limits if necessary) and cleanup indentation (remove whitespaces on empty lines).
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
a92bc56e2428e4219e0eaaa6f142c6cc60fee710 |
16-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: update r500 path for reordered WPOS and FOG fp attributes Report and regression testing by Fabio Pedretti.
rivers/dri/r300/r300_state.c
|
f17ea143cbe214eb4b249b56264a378f839dc3a6 |
16-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i915: Remove dead i830TexEnv and i915TexEnv. These LOD bias updates are covered by the texture state uploads in *_texstate.c now.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_tex.c
|
2c30fd84dfa052949a117c78d932b58c1f88b446 |
10-Apr-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for argb1555, argb4444 FBOs and fix rgb565 fbo readpixels. Also enable them all regardless of screen bpp, as 32 bpp what I've been testing against, and haven't been able to detect any screen bpp-specific troubles with them.
rivers/dri/common/spantmp2.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
33b865f70dc1461b040c9c436ec8e5a8171f00e7 |
16-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: disable using immediate values for MOV instructions For some reason, MOV instructions using immediate src values don't seem to work reliably on the GLSL path. Disable them for now (falling back to const buffer reads). This fixes a bunch of glean glsl1 failures.
rivers/dri/i965/brw_wm_glsl.c
|
a25632d890bcc769e2d39650e3dfe6ee49393e54 |
16-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor debug output changes
rivers/dri/i965/brw_wm_glsl.c
|
fc76781456182f487fc7e0057ca8a4c648dfe530 |
16-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: const buffer debug code (disabled)
rivers/dri/i965/brw_curbe.c
|
ee32e9b4753eca62e360f96ce61ef7ff683e6bb7 |
16-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: implement relative addressing for VS constant buffer reads A scatter-read should be possible, but we're just using two READs for the time being.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
19ac3e2729abd85346f88fd69c6bc72938d26101 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: handle address reg in get_dst()
rivers/dri/i965/brw_vs_emit.c
|
f2cfbfa2baa15c4b56c6f22dbe37d75a3c07e549 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix const buffer temp register clobbering Calls to release_tmps() were causing the temps holding constants to get recycled.
rivers/dri/i965/brw_vs_emit.c
|
d82876e850960eb5e3799c4ab02b618c4b548fd8 |
16-Apr-2009 |
Lars Henning Wendt <lhwendt@igd.fhg.de> |
mesa: fix bad mask bit in clip plane restore code for glPopAttrib()
ain/attrib.c
|
69cbf3c68675915517ae64c81d7a8a42de4e01a3 |
16-Apr-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: fix small compressed texture upload need to round up height for _mesa_copy_rect otherwise textures with height smaller than 4 won't get copied to the miptree at all Also fix up the confusing debug output (don't output unitialized values, and output if data is present and the compressed flag)
rivers/dri/intel/intel_tex_image.c
|
8b2ebd15310cbd5d905b08761b5e950f8e2580e5 |
16-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: cache last dlist vertex in malloced memory Avoids repeated mapping of the VBO buffer on display list replay. We need access to the final vertex in order to update the GL current attrib values.
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
|
e80d1e367a25af406c7f2327646c0aa699962fe8 |
16-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-s3tc'
|
3264352c577ce1d6681e70abd76624ede906df71 |
16-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
dri: attempt to actually refcount the __DRIDrawable valgrind was showing a race between the drawable getting destroyed by the X resource freeing code, and the context getting destroyed later and freeing the drawable. However I've no idea if some other combination of things could cause this code to leak.
rivers/dri/common/dri_util.c
|
143b416af6662995059cd5209a750dbace78081c |
16-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: take a bo reference when adding to validate list
rivers/dri/radeon/radeon_common.c
|
255c33d733cc4d2d7483d903513fdc9c34c90f0d |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: remove XXX comment
tate_tracker/st_cb_texture.c
|
7b24e58a0ca571d6230ef5076ea352253b81fe6e |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: check for fast memcpy path in decompress_with_blit()
tate_tracker/st_cb_texture.c
|
66cdbf945a3ee75d7b8cba5135310a7ebec21289 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: st_equal_formats() function to compare gallium/GL pixel formats
tate_tracker/st_format.c
tate_tracker/st_format.h
|
51b339af2e8b80575a24bb9146f031c9605180bb |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: decompress_with_blit() path for glGetTexImage(). Decompress a texture by rendering a textured quad.
tate_tracker/st_cb_texture.c
|
9b75627fab5bf2ea90f27ddd31b60c54895f6de6 |
15-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Make sure we flush before some texture / buffer operations. Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
43257c14700fd5a62d6180ac6e493bf515d281a0 |
15-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up output of WM SS state dump, and add format output.
rivers/dri/i965/brw_state_dump.c
|
bbae8791d148d275632dfc8e105aa2df52820468 |
10-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i915: Use DEBUG_WM (like 965) for printing the fragment program out. This is nice when paired with INTEL_DEBUG=batch for debugging what's going out to the hardware.
rivers/dri/i915/i915_fragprog.c
|
0af7e9170fd7c0d906652378b9f78fe2ba9725ad |
10-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add decode of dest buffer variables (destination format)
rivers/dri/intel/intel_decode.c
|
c710430f3ac05c0c6a528bb7b4f82383a26103d1 |
11-Apr-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Update texenv program when _NEW_ARRAYS is updated as well. This fixes a regression in fbotest1 on 915, where a transition from color+vertex array enabled to texcoord0+vertex array enabled wouldn't trigger program update on the second _mesa_update_state of DrawArrays, and we'd sample a constant texcoord of 0,0,0,1 instead of the array. The double state update in DrawArrays from 1680ef869625dc1fe9cf481b180382a34e0738e7 still needs fixing.
ain/state.c
|
8bc3a6eb1918710eadecb9b8d28a4afa2150a257 |
09-Apr-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix segfault when doing SW mipmap generation with a PBO texture upload. Triggered in test-fbo from clutter since 37fb2d9b23eab5dbbb43a212c3475cb8016837d8.
rivers/dri/intel/intel_tex_image.c
|
af9d202b26f75555b653dbe1c2ebaf6a2cf14d28 |
15-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: TGSI translation of multiple render targets.
tate_tracker/st_program.c
|
7db7ff878d3e5a6b345228e6eaee4797bb68b360 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: merge the prog_src_register::NegateBase and NegateAbs fields There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step.
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog_swizzle.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_pair.c
ain/ffvertex_prog.c
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_execute.c
hader/prog_instruction.h
hader/prog_print.c
hader/programopt.c
hader/slang/slang_emit.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_mesa_to_tgsi.c
|
0115a4f8f1952b166eaad09f317ff8bc465e0f28 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functions
ain/dd.h
ain/shaders.c
hader/shader_api.c
|
62c45ec951829563b92a95cce5b9621e70c971a4 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES
ain/glheader.h
hader/shader_api.c
|
fe278f1e600058af18c6ba5fe77bfc5a772bf9f5 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove NV vertex/fragment program print/debug code The code in prog_print.c can be used instead.
hader/nvfragparse.c
hader/nvfragparse.h
hader/nvvertparse.c
hader/nvvertparse.h
|
cdc7f681c87b0b6379de04066c25fdeb6de96405 |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use standard offsetof() macro
ain/extensions.c
|
92cc9970039d9c9385dc472fbfac58b93799f5ae |
15-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix VS constant buffer reads This mostly came down to finding the right MRF incantation in the brw_dp_READ_4_vs() function. Note: this feature is still disabled (but getting close to done).
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
1ea7f0fef055245fa18c0fbc3e54a866956c2507 |
14-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix gcc assembly enable logic. The i386 symbol is defined on WINDDK.
tate_tracker/st_cb_texture.c
|
153012b29b4f2183a1be6a01eec63e720a192718 |
11-Apr-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
DRI2: Don't fault on NULL DrawBuffer It is possible for ctx->DrawBuffer to be NULL, so don't fault when that happens. This change is not being committed to master because it doesn't appear to be necessary there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cherry picked from mesa_7_4_branch, commit 49e0c74ddd91900fc4effb6d305d56e0563b456d
rivers/dri/intel/intel_buffers.c
|
cafea7528052624c8d3e4cd1c5b26a61bf04d1d0 |
14-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: checkpoint commit: VS constant buffers Hook up a constant buffer, binding table, etc for the VS unit. This will allow using large constant buffers with vertex shaders. The new code is disabled at this time (use_const_buffer=FALSE).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
43c7ffaea635f949fd4803c4f594cf53e4b98f24 |
14-Apr-2009 |
Younes Manton <younes.m@gmail.com> |
dri glx: Swap before checking for cliprects. We don't update drawables anymore unless they are completely uninitialized, so we need to swap even if we don't have cliprects yet, otherwise we never end up calling the driver's SwapBuffers(). The driver should update the drawable in its SwapBuffers() anyway. See 8e753d04045a82062ac34d3b2622eb9dba8af374, "dri glx: Fix dri_util::driBindContext" for the change that exposed it.
rivers/dri/common/dri_util.c
|
1fd76ae930d20a241d534a86c489d92df9b051d3 |
12-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: fix texture level for compiz case
rivers/dri/r200/r200_texstate.c
|
02b130fd4b1c4c35ed256fc345eead010db09205 |
12-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: validate vertex buffer
rivers/dri/r200/r200_cmdbuf.c
|
8181f8fbf9c3d0f60191ee874248b8113b215e30 |
12-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: emit scissor when using cs path
rivers/dri/radeon/radeon_state_init.c
|
4e96c8196934be4fe09f82e2fcd7e776a7553479 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused var
rivers/dri/i965/brw_program.c
|
60ad4b0bf0919c9dfd23aaa54271a8f1e47ab843 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: clean-up in prepare_wm_surfaces()
rivers/dri/i965/brw_wm_surface_state.c
|
34445670503ab6d07d1de568493d62145b57a154 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reduce makefile output
rivers/dri/Makefile.template
|
9b162cdda725f7e528bdf65290f508434a9dd51b |
10-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Fix build errors from merge
rivers/dri/r600/r600_tex.c
|
04f335fd16c2a13b9425797acf5c3989cb6def7f |
10-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'radeon-rewrite' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite
|
c0419f190c836130932164ac47cfb53de668d423 |
10-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Remove r500 stuff
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_ioctl.c
rivers/dri/r600/r600_reg.h
rivers/dri/r600/r600_render.c
rivers/dri/r600/r600_shader.c
rivers/dri/r600/r600_state.c
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog_emit.c
|
23a911b4a66914883ece70c1e621dfc082661a28 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: added null const_buffer pointer check in update_constant_buffer()
rivers/dri/i965/brw_curbe.c
|
ded05d32d5f948770ece088ea0ed6363c0055a4c |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
intel: added screen->dri2.loader null pointer check in intel_flush() Fixes segfaults when rendering to front buffer.
rivers/dri/intel/intel_context.c
|
88999de8b70d1e170f5bbcadd07132d382c560cf |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
gallium: remove pipe_texture::compressed field The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
tate_tracker/st_texture.c
|
6c2d1e68395da7fd7f1bd8b777e075388d6964f4 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code
wrast/s_texcombine.c
|
20f3497e4b6756e330f7b3f54e8acaa1d6c92052 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: re-org of some of the new constant buffer code Plus, begin the new code for vertex shader const buffers.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_surface_state.c
|
2078e6cf55e3068454df9d843618b412b6abb811 |
10-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: new SURF_INDEX_ macros Used to map drawables, textures and constant buffers to surface binding table indexes.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_surface_state.c
|
6a6e478e5555714226c6f15c63c393f5c0d74de4 |
07-Apr-2009 |
Ian Romanick <idr@freedesktop.org> |
intel / DRI2: Accept fake front-buffer from loader Handle the loader returning a fake front-buffer. Since the driver never specifically requests a fake front-buffer, the driver assumes that it will never receive both a fake and a real front-buffer. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
rivers/dri/intel/intel_context.c
|
43cf0d1eebb9f425e1a0e176394b64e2cb406709 |
06-Apr-2009 |
Ian Romanick <idr@freedesktop.org> |
intel / DRI2: Track and flush front-buffer rendering Track two flags: whether or not front-buffer rendering is currently enabled and whether or not front-buffer rendering has been enabled since the last glFlush. If the second flag is set, the front-buffer is flushed via a loader call back. If the first flag is cleared, the second flag is cleared at this time. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
311f77198e171e9ce8ddcce91fd6a894fff1f14f |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: remove another unneeded 'is compressed' comparison
tate_tracker/st_cb_texture.c
|
1f4a7f3a2eafd99906105ff74b26ea3ae0f19030 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: remove unneeded "is compressed" check The format indicates compressed vs. uncompressed.
tate_tracker/st_texture.c
|
e53d6ab39bf04b2bb39ad23d5990494321ee77ce |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: rearrange some code to be a little more clear
tate_tracker/st_cb_fbo.c
|
227aa0070d3b13baaa87270fd1a45fa5904ae3dc |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
gallium: remove unneeded compressed=0 assignment
tate_tracker/st_cb_fbo.c
|
f12201567463c7aeb9b76c32f000d577a82e7f92 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: remove comp_byte parameter to st_texture_create() We can determine if the texture is compressed by checking the format.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
1ad2484f03cbe9ae6bd4ebe50d6894e570d65952 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: consolidate format->usage computation
tate_tracker/st_cb_texture.c
|
eaca19edbbe7876079aa33d7f75d93601677081b |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: add const qualifiers, use GL types
tate_tracker/st_cb_texture.c
|
d11d903c1b81000d04f859dcc2da41dae024f146 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: make loops over 3D texture slices a litte more intuitive
tate_tracker/st_cb_texture.c
|
5facd7986ace899673499f396897469720476799 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: reformatting and clean-ups in texture code
tate_tracker/st_cb_texture.c
|
69edb8a156cb83e6658dfbe50f56ce4394a79e14 |
09-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R600/r700: add new cmdbuf macros
rivers/dri/r600/r600_emit.h
rivers/dri/radeon/radeon_cmdbuf.h
|
deff09921563419a77bd1aad0054afa34214ed1a |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix potential recursive locking deadlock in _mesa_HashWalk() If the walk callback called _mesa_HashRemove() we'd deadlock.
ain/hash.c
|
3163ea145309f1f8e103cc880ea40c61af5fb5cd |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: free shader's constant buffer in brwDeleteProgram() Fixes mem leak observed with texcombine test.
rivers/dri/i965/brw_program.c
|
e24e4ae2e8f69447c0917655d25fa96b62b94298 |
09-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R6xx/R7xx: r300 -> r600 symbols
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_fragprog.c
rivers/dri/r600/r600_fragprog.h
rivers/dri/r600/r600_fragprog_emit.c
rivers/dri/r600/r600_fragprog_swizzle.c
rivers/dri/r600/r600_fragprog_swizzle.h
rivers/dri/r600/r600_ioctl.c
rivers/dri/r600/r600_ioctl.h
rivers/dri/r600/r600_reg.h
rivers/dri/r600/r600_render.c
rivers/dri/r600/r600_shader.c
rivers/dri/r600/r600_state.c
rivers/dri/r600/r600_state.h
rivers/dri/r600/r600_swtcl.c
rivers/dri/r600/r600_swtcl.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r600_vertprog.c
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_fragprog_emit.c
rivers/dri/radeon/radeon_screen.c
|
8131123effd2124b8ca2aad04bf543e2fe82c7b0 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: set BRW_MASK_DISABLE flag in "send" instruction in brw_dp_READ_4() This fixes the random results that were seen when fetching a constant inside an IF/ELSE clause. Disabling the execution mask ensures that all the components of the register are written.
rivers/dri/i965/brw_eu_emit.c
|
43fc20e4e1165e1ba864f5d25d75e4087a02315d |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: clean-ups, debug code in brw_wm_glsl.c
rivers/dri/i965/brw_wm_glsl.c
|
42cd3014f86e19e8156bea3439839dc0ed34aa83 |
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: init current_const[i].index = -1
rivers/dri/i965/brw_wm_glsl.c
|
ed9ba19bbbcdbf864b39da21c314073c1b5462db |
08-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: move the fetch_constants() call before setting conditional mod state Before, the instruction's CondUpdate field was mistakenly effecting the constant-fetch operation. Fixes progs/glsl/bump.c demo. But there are some other issues related to condition flags and IF/ELSE that need investigation...
rivers/dri/i965/brw_wm_glsl.c
|
f4468384b6caf2aa5cfc7546c08f349af93d928e |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor datatype changes in optimization code
hader/prog_optimize.c
|
5e361c47abf2ee20140628d327eda9b39351d415 |
09-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix color tiling
rivers/dri/r300/r300_cmdbuf.c
|
1ec0efa7d3a7fb0f3f81b83677c415cf835a7efc |
08-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: reorder fog coordinate and WPOS fp attributes HW TCL path currently assumed fog, WPOS order. The order was inverted for SW TCL path. This hopefully fixes rest of fog and WPOS related bugs. Additionally fix some indentation, don't route unnecessary components of fog coordinates for performance reasons and simplify vertex attribute emitting for SW TCL path.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
|
3b1d5440015c2bfa76d91bd8bb3954bde48f4815 |
07-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix regression from swtcl rewrite Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value. We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL path, but not for SW TCL.
rivers/dri/r300/r300_swtcl.c
|
d1a9b1f513109c975a5a7ed5a2d0c329b280afe4 |
09-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'origin/master' into radeon-rewrite Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
|
b3c1c5cf2c5848d794a5690c7296b9b927412353 |
09-Apr-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Report name for missing s3tc functions
ain/texcompress_s3tc.c
|
55ed2a73653fb2fb9dee36c729c09177df2d5b4e |
08-Apr-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st: If the hw supports it do hw conversion of texture uploads
tate_tracker/st_cb_texture.c
|
4138bdb3b1e845d8a6172015025e1231fda7dcd1 |
08-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R600: initial copy of r300 code
rivers/dri/r600/Lindent
rivers/dri/r600/Makefile
rivers/dri/r600/r600_cmdbuf.c
rivers/dri/r600/r600_cmdbuf.h
rivers/dri/r600/r600_context.c
rivers/dri/r600/r600_context.h
rivers/dri/r600/r600_emit.c
rivers/dri/r600/r600_emit.h
rivers/dri/r600/r600_fragprog.c
rivers/dri/r600/r600_fragprog.h
rivers/dri/r600/r600_fragprog_emit.c
rivers/dri/r600/r600_fragprog_swizzle.c
rivers/dri/r600/r600_fragprog_swizzle.h
rivers/dri/r600/r600_ioctl.c
rivers/dri/r600/r600_ioctl.h
rivers/dri/r600/r600_reg.h
rivers/dri/r600/r600_render.c
rivers/dri/r600/r600_shader.c
rivers/dri/r600/r600_state.c
rivers/dri/r600/r600_state.h
rivers/dri/r600/r600_swtcl.c
rivers/dri/r600/r600_swtcl.h
rivers/dri/r600/r600_tex.c
rivers/dri/r600/r600_tex.h
rivers/dri/r600/r600_texstate.c
rivers/dri/r600/r600_vertprog.c
rivers/dri/r600/r600_vertprog.h
rivers/dri/r600/r700_fragprog.c
rivers/dri/r600/r700_fragprog.h
rivers/dri/r600/r700_fragprog_emit.c
rivers/dri/r600/radeon_context.h
rivers/dri/r600/radeon_nqssadce.c
rivers/dri/r600/radeon_nqssadce.h
rivers/dri/r600/radeon_program.c
rivers/dri/r600/radeon_program.h
rivers/dri/r600/radeon_program_alu.c
rivers/dri/r600/radeon_program_alu.h
rivers/dri/r600/radeon_program_pair.c
rivers/dri/r600/radeon_program_pair.h
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
23ad86cfb91c294ce85a3116d4b825aaa3988a6e |
08-Apr-2009 |
Robert Ellison <papillo@vmware.com> |
Mesa: allow suppression of debug messages in a debug build For testing, it's very useful to be able to test on a debug build, while suppressing the debug messages (messages that are by default suppressed in a release build), in order to see the same behavior that users of release builds will see. For example, the "piglit" test suite will flag an error on programs that produce unexpected output, which means that a debug build will always fail due to the extra debug messages. This change introduces a new value to the MESA_DEBUG environment variable. In a debug build, explicitly setting MESA_DEBUG to "0" will suppress all debug messages (both from _mesa_debug() and from _mesa_warning()). (The former behavior was that debug messages were never suppressed in debug builds.) Behavior of non-debug builds has not changed. In such a build, _mesa_debug() messages are always suppressed, and _mesa_warning() messages will be suppressed unless MESA_DEBUG is set *to any value*.
ain/imports.c
|
a97c846d613c3d7ec962ee095fd8282fa3b84eea |
08-Apr-2009 |
Alan Hourihane <alanh@vmware.com> |
gallium: when using gl_PointCoord ensure we use the correct attribute.
tate_tracker/st_program.c
|
629700ed7eaaf63d2037a11b2931c91fdc22944a |
08-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Don't attempt to free the dummy program.
ain/shared.c
|
105758105a790dd8466c6be8c232c3f215ca4dee |
08-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal format
tate_tracker/st_cb_texture.c
|
b7615e5240707b022b81478dde545cec7fb9397f |
08-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels()
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
|
ac1ff1b9fe19077e53ff4cd14a1b083232c8bf72 |
08-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add another special/optimized case in _mesa_unpack_depth_span()
ain/image.c
|
228f20e324249ef25beed725a6a821e0bd0cc232 |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix point rendering function selection Need to clamp default point size to min/max range before checking if it's one. Fixes glean pointAtten test.
wrast/s_points.c
|
d03053688f7370064ded6dfc4912841eae39a4a9 |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect component ordering for sRGB8 texture fetch/store This format is layered on MESA_FORMAT_RGB888 so the component order is actually BGR. Fixes glean pixelFormat failures.
ain/texformat_tmp.h
|
0f0e24f6ef9c3ea44eba21ed3678361dc6c2ae6f |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: enable the new linear scan register allocator code Seems to b working well enough to enable all the time. Optimizations can be disabled with "export MESA_GLSL=nopt" if needed.
hader/prog_optimize.c
|
4069447f73b3ee011a4beccc6ffa80cce84fd285 |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: don't optimize program if MESA_GLSL=nopt
hader/slang/slang_compile.c
|
90ffce497395d8c02fee2ea4ee4c025eede3d876 |
07-Apr-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix compiler warning
rivers/dri/radeon/radeon_state.c
|
3e79d650835b3431464de876699d04702df99806 |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: restore !shader check around add_specular() Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc.
wrast/s_span.c
|
e2ce1d80d10d700cf15b84d0ec1605875226629e |
07-Apr-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: swtcl rewrite and cleanup - remove unused variables - silence compiler warnings - fix twosided lighting - fix point attenuation - unify indentation
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
|
86556f8bdab2c59a33619ecfda011bce8f047acb |
07-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: fix missing dma buffer validation this make gnome shell run
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_state.c
|
23478f1c037c3c97ebf3a5f53f2dfbfa31a9b197 |
06-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bocs wrapper
rivers/dri/radeon/radeon_bocs_wrapper.h
|
3630da9916a4f24a03d3a63420690f8016a9b72a |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: more texcombine clean-ups
wrast/s_texcombine.c
|
1b2ab023673261b4b942e1126c0b599d02fbd4a0 |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: asst. clean-ups in texcombine code
wrast/s_texcombine.c
|
76ac75af8e5481b498981c133836efa2101be2dc |
07-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix secondary color add for glBitmap Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition.
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
|
87c356a222bb97ecf9b04e8d509b103199159b11 |
06-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV mode
wrast/s_texcombine.c
|
89276e2aafd837dbf4eefaa28388109271d6d07d |
06-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: as with swrast, interpret texture border color according to texture format Depending on the hardware driver this might not be needed, but it will cause no harm.
tate_tracker/st_atom_sampler.c
|
a07e68df6826d979d6a9575d17599f14afd51fe9 |
06-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: rename a helper function
tate_tracker/st_atom_sampler.c
|
b48eb05f1f547e2b03a22056f3e82ee7b9065337 |
06-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix texture border color interpretation The texture border color must be interpreted according to the texture's base format. For example, for a GL_ALPHA texture, sampling the border color should return (0,0,0,borderAlpha). This wasn't an issue here until I removed the legacy texenv code (we always use the combiner path now).
wrast/s_texfilter.c
|
8332925c3caadd293d0c091ef84f7268c673013c |
06-Apr-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix orientation adjustment for reading stencil pixels. Fixes conform spcorner.c & spclear.c failure.
tate_tracker/st_cb_readpixels.c
|
6b187cc8a5041fe2bba1ecc34aa86516ebe8b1b0 |
06-Apr-2009 |
Eric Anholt <eric@anholt.net> |
intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls. This gets us the savings for driver-internal viewport calls that dd1c68f15123a889a3ce9d2afe724e272d163e32 was attempting, without relying on Xlib internals or clients handling X events.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
|
e7aef006e50d0b859c621267af8376f5a0f43445 |
06-Apr-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use GTT maps when available to upload vertex arrays and system VBOs. This speeds up OA on my GM45 by 21% (more than the original CPU cost of the upload path). We might still be able to squeeze a few more percent out by avoiding repeatedly mapping/unmapping buffers as we upload elements into them.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
5cca1ceb814ea9c5991d8b694d99a588c40b9860 |
06-Apr-2009 |
Eric Anholt <eric@anholt.net> |
intel: Clean up some a leftover from sedding of bufmgr context->screen move.
rivers/dri/intel/intel_screen.c
|
741aaaa2881e5ab60cfa55f081f7b9ca6f4de46b |
03-Apr-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: add support for new ttm
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
|
e798bf8053612516420a4ec42e2ff58433abd521 |
06-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16. Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual, and compiz fails. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
rivers/dri/radeon/radeon_screen.c
|
eb168e26aa63f11a47d70c4555cae30691a2cd57 |
04-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Clean up driver clear() interface. Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
tate_tracker/st_cb_clear.c
|
ba14b043bc1ab87e8e5e46e6e909a8def9535028 |
04-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Add utility helper for packing combined depth/stencil values.
tate_tracker/st_cb_clear.c
|
4d363cc16d94b1e356b7cc23bb3b15ca0374d1e3 |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
intel: #include texgetimage.h
rivers/dri/intel/intel_tex_image.c
|
a4bec69e7271eda0137874973aa8c7d44175fedf |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file
Conscript
rivers/common/driverfuncs.c
ain/sources
ain/texgetimage.c
ain/texgetimage.h
ain/texstore.c
ain/texstore.h
ources.mak
tate_tracker/st_cb_texture.c
|
c7eb423c49ef3e0e071deaab04dad55254f2fa30 |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
ain/colortab.c
ain/convolve.c
ain/histogram.c
ain/image.c
ain/image.h
ain/texstore.c
tate_tracker/st_cb_readpixels.c
wrast/s_readpix.c
|
35d88e1ac2cd34d5cc62f521654d79f5b24fcdf8 |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCE For luminance, we add R+G+B and it seems we should always clamp in case.
ain/texstore.c
|
b7cb6650c1603cd9e6f26b32f5e0fae8377d59b8 |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace and comment clean-up
ain/texstore.c
|
a5ce781282b674002379d699a7f2e1ebf3a46df1 |
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove extra semicolons
ain/texformat_tmp.h
|
80197a0c1bec48e3731bca975ec451d96f35f62a |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: in mesa_add_named_constant(), avoid adding duplicate constants
hader/prog_parameter.c
|
866bdd0509f665446b0fa8c29aa61c25e4be4732 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix parameter counting in ARB vertex/fragment program parsing Duplicated unnamed constants were getting counted more than once.
hader/arbprogparse.c
|
a4173956ebcc224b5a0d76bace07b87bdf8bed03 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace >= with > when testing if we've exceeded max local params Now a program that uses 256 locals works as it should.
hader/arbprogparse.c
|
ce461ffc5aa2ea6941d6722e8ed473cda8c17833 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the inverse If _math_matrix_analyse() got called before we allocated the inverse matrix array we could lose the flag indicating that we needed to compute the inverse. This could happen with certain vertex shader cases.
ath/m_matrix.c
|
b8a200ac9d11c09646de9b7d3f3f64a742c6abe3 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log() Also, s/pow/_mesa_pow/
hader/prog_execute.c
|
7391ba1e9d81f15465059db25d1279eefdbeb1a9 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename some gl_light fields to be clearer EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_state.c
ain/attrib.c
ain/light.c
ain/mtypes.h
hader/prog_statevars.c
nl/t_rasterpos.c
nl/t_vb_lighttmp.h
86/gen_matypes.c
|
650d147289014e8a98f65fbbcd1855b2a4f19d2f |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't normalize spot light direction until validation time In glLight() we're only supposed to transform the direction by the modelview matrix, not normalized it too.
ain/light.c
|
cbd305394a7a01e12f4a42b2551a154b4d544fe2 |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused var
rivers/dri/i965/brw_curbe.c
|
5c5d78e1918fedb6fd43f5fafdba2a142a09d56f |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace assertion with conditional in _mesa_opcode_string()
hader/prog_instruction.c
|
0139637975ec210b28b593722eda85c68c89c70d |
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: more const buffer debug code
rivers/dri/i965/brw_wm_glsl.c
|
21982a2cd597aeb22d7ee2bd3a5067c58f97ca6f |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: added brw_same_reg()
rivers/dri/i965/brw_eu.h
|
a330a6fcd0b018829194ffab260f50956bce4832 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: s/GL_FALSE/BRW_COMPRESSION_NONE/
rivers/dri/i965/brw_eu_emit.c
|
1e299ff828e808cbb1d92d9fedd528a3a8a3609e |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: another checkpoint commit of new constant buffer support Everything is in place now for using a true constant buffer for GLSL fragment shaders. Still some bugs to find though.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
30adf0518168ded9c7f519a7c772cab728852b1f |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix response length param in brw_dp_READ_4() We were accidentally clobbering the next register.
rivers/dri/i965/brw_eu_emit.c
|
34239862430aa38b0b1b6740c47d66f7260ae3e4 |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: change args to get_src_reg() to prep for new constant buffer support
rivers/dri/i965/brw_wm_glsl.c
|
597cd5b94e4818679af1134d053541f3d2cfb80e |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: check-point commit of new constant buffer support Currently, shader constants are stored in the GRF (loaded from the CURBE prior to shader execution). This severly limits the number of constants and temps that we can support. This new code will support (practically) unlimited size constant buffers and free up registers in the GRF. We allocate a new buffer object for the constants and read them with "Read" messages/instructions. When only a small number of constants are used, we can still use the old method. The code works for fragment shaders only (and is actually disabled) for now. Need to do the same thing for vertex shaders and need to add the necessary code-gen to fetch the constants which are referenced by the shader instructions.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_surface_state.c
|
ba8b25a46cdd52e7b9116cc7d76dc4db4d667464 |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused code for sampling a constant buffer
rivers/dri/i965/brw_wm_sampler_state.c
|
8c093a1fb0843e152d2a515c5127ccd5999b0d94 |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
i965: code to setup a constant buffer sampler This code won't actually be used and will be removed in a subsequent commit. Just committing for posterity.
rivers/dri/i965/brw_wm_sampler_state.c
|
a9c62a2340794977a87cba4a352c02fc16f81505 |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: do negation and Abs in get_src_reg_imm() Fixes regression seen with progs/glsl/bump.c
rivers/dri/i965/brw_wm_glsl.c
|
5f1ce6b87e837b9f6bc2a4f3e81cf8feea4af2df |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments
rivers/dri/i965/brw_wm.c
|
ed8f54aa65eed2cdef79ddc110dad217d3955ec7 |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: code to debug/dump instruction immediates
rivers/dri/i965/brw_eu_debug.c
|
1ee0e226469514335b80ff42e4cbef0f355bd8c4 |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor code movement, new comment
rivers/dri/i965/brw_wm_state.c
|
8127e49b93820d1768e2d298bbe238dd55c20732 |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: added new brw_dp_READ_4() function Used to read float[4] vectors from the constant buffer/surface.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
6b18a8d3e7114a1af931a2fc20a1e23cb2d7789c |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: new and updated comments
rivers/dri/i965/brw_eu_emit.c
|
264058f38af00519e9f180f237a771566117cd8b |
27-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more error message info
ain/matrix.c
|
f5a4d20e4aafce04773729dc2dd6175e9538d887 |
26-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clean up formatting and use 'return' instead of 'break' consistantly
hader/prog_statevars.c
|
1146d40b9c35d80c0860c773de1eef27c76e8c01 |
25-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments for brw_SAMPLE()
rivers/dri/i965/brw_eu_emit.c
|
e1a1a5a6385e0bc6f2f20ec0a2e23f81726e232e |
25-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments for sampling code
rivers/dri/i965/brw_wm_glsl.c
|
154cd7a72363513f2d3d8d83fe19d69518df7d2e |
25-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: add support for float literal instruction operands Call the get_src_reg_imm() function when it's permissible to generate a literal value src register.
rivers/dri/i965/brw_wm_glsl.c
|
966cd4f1af54e560672e7d7614251271fbbb379b |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove 'nr' param from get_src/dst_reg() functions The value was always 1.
rivers/dri/i965/brw_wm_glsl.c
|
f1b9a5cff15abf89c24a0c54481451cb8d23f454 |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix comment typo
rivers/dri/i965/brw_wm_glsl.c
|
d5346a925c569d959eb9ebedda95fdddb9d5350c |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments, clean-up in prepare_wm_surfaces()
rivers/dri/i965/brw_wm_surface_state.c
|
5d7f3ae15c62d46e8857c159978c1c75e07cc59b |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unneeded #includes
rivers/dri/i965/brw_tex.c
|
7709b26e6b615f4e5ace765110eb53ce713b0d6c |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: formatting clean-ups
rivers/dri/i965/brw_vs_emit.c
|
499972102271a08ba41bc34f95e2013311ef8de5 |
24-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments, whitespace changes
rivers/dri/i965/brw_wm_emit.c
|
c82851598f535f5c92885987cafbb5e79a2505db |
23-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: rename scratch_buffer -> scratch_bo to be consistant with other buffers
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_state.c
|
bf28b576cb6aa403b840d8254a1ff3f31d664b46 |
23-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix indentation
rivers/dri/i965/brw_wm.h
|
9f146943ec3893c9aed1754a59eec45f37ca65cd |
23-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: whitespace changes, comments
rivers/dri/i965/brw_vs_emit.c
|
f7039fde4f9e1175c3dae534e5b91e22e693124a |
03-Apr-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: ensure pbo stencil buffers are mapped before use
tate_tracker/st_cb_drawpixels.c
|
ebc1478e501d43e0de54e7b6c3edfbc81d7d20c6 |
02-Apr-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix TexParameter functions premature return in TexParameterf caused mesa to never call Driver.TexParameter breaking drivers relying on this (fix bug #20966). While here, also fix using ctx->ErrorValue when deciding to call Driver.TexParameter. Errors are sticky and uncleared errors thus would cause this to no longer get called. Since we thus need return value of set_tex_parameter[if] can also optimize this to only call when value changed.
ain/texparam.c
|
7b9bf395433b5fa9d5a95186891a29d49e0b47c0 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't call ctx->Driver.ReadPixels() if width or height is zero
ain/readpix.c
|
f6a3f1f52a969c8d990a3a41e816af4864eea45c |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zero
ain/drawpix.c
|
46d09cb53dd3de7986e3b4d221d7e3af94752c70 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix segfault in linker when vertex or fragment shader was missing
hader/slang/slang_link.c
|
8e753d04045a82062ac34d3b2622eb9dba8af374 |
02-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
dri glx: Fix dri_util::driBindContext 1) Don't error-check here. It's done in glx makeCurrent. 2) Allow ctx and the dri drawables to be NULL for future use. This is currently blocked in glx makeCurrent. 3) Avoid updating dri drawables unless they are completely uninitialized. Since the updating was done outside of the lock, the driver need to verify and redo it anyway. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
rivers/dri/common/dri_util.c
|
c952b3e907ab31cd5f95157c18ce2f81626aafe4 |
02-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
dri glx: Propagate driver MakeCurrent errors. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
rivers/dri/common/dri_util.c
|
05304d41f2d9ab7a66a8b976580c156b7b93a9d3 |
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: fix up the whole buffer space checking. This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
|
41702160090a4c1325afc07c56682f3e1c4fcaf0 |
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/common: use glCtx not ctx
rivers/dri/radeon/radeon_common_context.c
|
e00ef43d796f0ae0247b1072bf0aa8cdd8e3034d |
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: collapse context destruction down to a common path. Context destruction was nearly the same over all the drivers, so collapse it down.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
|
104d5422052d0c03b121d196f7c0a8ef0af4ecab |
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: tiling support
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
|
bd32640f77c72e79fb5dda0e5fd077e564b33b02 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused integer lerp functions
wrast/s_texfilter.c
|
7fbae9f41d79fc410f6c6638e26be0ff2be545bd |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of gl_texture_object::_BorderChan
ain/mtypes.h
ain/texparam.c
|
79c55e55f808d77cb0dff7cda826719d5fda3c7d |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
dri: use BorderColor instead of _BorderChan
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_texstate.c
|
7aed2b0c30c6d29d70efd2402a68a8e3de98418c |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove old texture_apply() code; always use texture combine code
wrast/s_context.c
wrast/s_context.h
wrast/s_texcombine.c
|
84b24efe8dc1bd67680f4d3c656fb4693fd405c1 |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix bad optimization check
wrast/s_texcombine.c
|
0d8d90482331b219b861e500a0bc830133b1b377 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove unused parameter
wrast/s_texcombine.c
|
aef2e1c1dcda77b6dc5fcfd2de7c9d720effa4e7 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: minor improvements, clean-ups in texcombine code
wrast/s_texcombine.c
|
efe3d10aea305c89e66decfb5a9012feb7a4695c |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify ycbcr->rgb conversion code
ain/texformat_tmp.h
|
611128365dad65216a4d4be973393ba2c526bd18 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert more texture fetch functions to return GLfloat
ain/texformat.c
ain/texformat_tmp.h
|
cb5bd7d4d49d84f694c9851c0a5a08f158bd3e43 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: switch texel fetch functions from GLchan to GLfloat
ain/texformat.c
ain/texformat_tmp.h
|
0695413d2be5999f7597ce07ba5a4c8fd6a6b333 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: use float4_array typedef to simplify the code a bit
wrast/s_texcombine.c
|
bd9b2be8284fda3f8aac235908ded118b5648a38 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: texture combine clean-ups Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
ain/mtypes.h
ain/texenv.c
ain/texenvprogram.c
wrast/s_fragprog.c
wrast/s_texcombine.c
|
a35ad020f9449849f7616788aa6bd9e439d6c518 |
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: refactor depth/shadow sampling code
wrast/s_texfilter.c
|
933f3b13c34c2ed9223755c0e7c7dc22f09d23e8 |
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: general clean-up of texture combine code
wrast/s_texcombine.c
|
de2afd8688ceb45013d15be7c6e0995199b80e5a |
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: do texture sampling/combining in floating point The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
ain/colormac.h
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_texcombine.c
wrast/s_texfilter.c
nl/t_vb_program.c
|
49fb750a6884c3f647f46270ffce8652f664f908 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement compiling/linking of separate compilation units A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases.
ain/mtypes.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
1ab225017ed1ea8bd9e266d10ee56ab914bb28c1 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use correct tex unit lod bias for TXB instruction
hader/prog_execute.c
|
9cc79fc2dcdd8e21d9616cc65a931f1f5859fc30 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix glDrawBuffer(GL_FRONT_AND_BACK) We weren't putting the right colors into the back buffer in this mode.
wrast/s_span.c
|
617c5262c68b5fd4d26eff758b6447880478f83b |
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix qtdemo qt4 startup
rivers/dri/r300/r300_context.c
|
e4b27b4a69f28ca71944fef5f809023bed630a95 |
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix a recursive display list problem This fixes an issue when compiling glCallList() into another display list when the mode is GL_COMPILE_AND_EXECUTE. Before, the call to glCallList() called _mesa_save_CallList() which called neutral_CallList() which then called _mesa_save_CallList() again. In the end, the parent display list contained two calls to the child display list instead of one. Let's be on the lookout for regressions caused by this change for a while before we cherry-pick this elsewhere.
ain/dlist.c
|
f8dd6594bf1d597b883af44e5d724a181c1e2b53 |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix texgen state variable tokens in emit_statevars() This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays. See bug 20986.
hader/slang/slang_builtin.c
|
2555bed7fcc6f9ba35e9fb91e84a144621ccc995 |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor tweaks in append_token() for printing state var strings
hader/prog_statevars.c
|
f9d272fa414ec04d9cc608840436f29e6adf84bc |
01-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: go back and repick texture formats. This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
6e30fe4873f30ccf9edec9ab6113ea647dccb9b7 |
01-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup render buffer cleanups this fixes qtdemo-qt4 starting and a leak in glxgears exit
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
919f57078b289a273e0e46ee2214a9f042b11b1f |
01-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix bug in GPU codegen for fixed-function two-sided lighting The 'dots' register wasn't getting properly un-negated and un-swizzled after emitting the code for back-face lighting. So, if more than one light source was enabled, the specular exponent for the next light source was wrong. During execution we were evaluating pow(x, y) where y was negative instead of positive. This led to the outcome being zero or NaN. This fixes the occasional black triangles seen in isosurf when hacked to enable two-sided lighting.
ain/ffvertex_prog.c
|
53d507562b252718d95fd99812f5d21c9ae79713 |
31-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor reformatting, whitespace changes
ain/ffvertex_prog.c
|
093ad509fcee5cb3a890663fc80ed671dcaf4000 |
01-Apr-2009 |
Jeremy Huddleston <jeremy@yuffie.local> |
Updated CPU_TO_LE32 to work on darwin
ain/compiler.h
|
382306c5732dd04f514bb1d8f2b050bd6d58a893 |
31-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Move pf_is_depth_stencil to p_format.h.
tate_tracker/st_texture.h
|
d81a48757a9bde35299fd7c3cfbe83885238409a |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/dri2: if the depth buffer is 16-bit force cpp == 2 This is because the DDX always allocates using the drawable sizes. which gives me twice the depth buffer I asked for, dumb.
rivers/dri/radeon/radeon_common_context.c
|
2f3be8ab14d6f4a3cc44817f6f55bc640faadde0 |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix pixel readback for RGB8 tests
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
|
5ad32cfd21bc9c798d05f5202cc75d37cc258354 |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix glean pixelFormats regression
rivers/dri/radeon/radeon_texture.c
|
5c7fc1cb8e59d1603df17db8c7c63a92441ac820 |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix stencil clears
rivers/dri/r300/r300_ioctl.c
|
4d89eff0b6fd6902a2fccb87c474d6a8f6d61526 |
31-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
fix ugly copy/paste error in mipmap generation code
ain/mipmap.c
|
226c876a52c1bd51d5f16ff58df5c4144355e2a3 |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: only set all dirty on kernel clears
rivers/dri/r200/r200_ioctl.c
|
e1d16574932be24da573a93e3302418dc6e855f1 |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL support
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_texture.c
|
1570bde279362d95a58d120e42e68cb307d00dde |
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix veclinear emission
rivers/dri/r200/r200_state_init.c
|
37fb2d9b23eab5dbbb43a212c3475cb8016837d8 |
30-Mar-2009 |
Adam Jackson <ajax@redhat.com> |
intel: Avoid mapping the texture image for CopyTex{,Sub}Image We don't upload the pixels with the CPU in that case, so the map will only serve as a way of triggering cache flushes over a bunch of data we don't touch.
rivers/dri/intel/intel_tex_image.c
|
3b09f6544aee880687cd82de33205ae2fa652e10 |
29-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix readback problem for piglit tests
rivers/dri/radeon/radeon_span.c
|
a693a2998c996f063edec8a83a4f6a175f39c471 |
28-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: srgb texture fixes i965 can either do SRGBA8_REV format or SARGB8 format, but not SRGBA8. Could add SRGBA8_REV support to mesa, but simply use SARGB8 for now. While here, also add true srgb luminance / luminance_alpha support - unfortunately the published docs fail to mention which asics support this, tested on g43 so assume this works on any g4x.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_format.c
|
02a579f2e7abc832dd46956048d1116f7dc3dd92 |
28-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix a glGetTexImage issue with base-converted texture formats need to respect the user-supplied base format, not the one derived from the texture format actually used.
ain/texformat.c
ain/texstore.c
|
79e2df63af4d231a1223887e79a819b3baac9a6c |
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: add support for signed rgba texture format
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex_format.c
|
bb386a1ecae6d7f805af44df463b0e4d661eef85 |
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add _rev signed rgba texture format
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
|
7d00ba195c4d8f58eec8e2ab553225a7e17ad656 |
28-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
glapi regenerate
ain/enums.c
|
05330b9cf32788a233e7d6a3d352d4828a4afa2f |
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
glapi: remove a couple accidental GL_ prefixes
lapi/gl_API.xml
|
c6a6cc191813e8343a17b028146a34f193a6ce44 |
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add new signed rgba texture format This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
lapi/gl_API.xml
ain/colortab.c
ain/convolve.c
ain/extensions.c
ain/histogram.c
ain/image.c
ain/image.h
ain/macros.h
ain/mipmap.c
ain/mtypes.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
tate_tracker/st_cb_readpixels.c
wrast/s_readpix.c
|
fd83289dbf747b4d2e0849f77c796323e5517f0b |
02-Feb-2009 |
Roland Scheidegger <sroland@vmware.com> |
fix various small intel blitter issues use color format constants instead of magic numbers remove handling of cpp 0 or 3 (neither is possible) in various places don't misconfigure 8 bit surface blits as rgb565
rivers/dri/intel/intel_blit.c
|
e0a55dc9dae39384c18dd275081c24b7dce14eeb |
27-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Support Z24S8 wherever S8Z24 is supported.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
|
2002e03a5232c54988161cb629966bdce19d35de |
26-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: init the default texture to (0,0,0,1) The default texture is used when a sampler uses an incomplete texture. This change fixes the piglit fp-incomplete test.
tate_tracker/st_cb_texture.c
|
d332f8b4efae39f09454593374ff939a08af7619 |
26-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Remove some little-used fields from struct pipe_surface.
tate_tracker/st_cb_clear.c
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
8ed405cd3716a9a578bf2bdd46eabd6c90400074 |
25-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: set correct row stride for rbs
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
e757bf964f4fd9ddbaa23ebaa47f743725aaf2c5 |
25-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: check buffer sizes in non-tcl case + set correct VRAM limits
rivers/dri/r300/r300_render.c
rivers/dri/radeon/radeon_common.c
|
258686a973d7aef4bf956f540e99e65dc5bbee9c |
25-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup map/unmap texture to work with override BOs if you hit this you've already failed but we shouldn't crash
rivers/dri/radeon/radeon_texture.c
|
4d36a19c90fcc3f6e09dd01072b8b279cc8baef2 |
26-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: add fbo files to the compile
rivers/dri/r200/Makefile
|
7860b0886c2f650152e5fb56e2a31ed6079665c1 |
19-Mar-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: cleanup swtcl a little - remove disabled code - silence compiler warnings (uinitialized values) - remove unneeded code
rivers/dri/r300/r300_swtcl.c
|
6dd9c221012d5e091b2ede90d9b2a6f0383abd58 |
24-Mar-2009 |
Alan Coopersmith <alan.coopersmith@sun.com> |
Convert u_int*_t to C99 standard uint*_t Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
rivers/dri/common/utils.c
|
7c8639e007c2daeb0a192c30bb56a9716b65da20 |
25-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
slang: ensure structure elements have their array length set
hader/slang/slang_typeinfo.c
|
ff421b6e0b3ef218799350358b9bff5610f17c3a |
25-Mar-2009 |
Alan Coopersmith <alan.coopersmith@sun.com> |
r300_cmdbuf.c: convert cast to a form supported by Sun cc Fixes Sun cc error: "r300_cmdbuf.c", line 142: invalid cast expression Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
rivers/dri/r300/r300_cmdbuf.c
|
e101959b6a262ba34a12b407ea6f480e6b4d7d72 |
25-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
r300: Texture size limit cleanups. Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising a maximum texture size of 4096 on older chips, causing corrupted menu text in Extreme Tux Racer or Armagetron. Also make sure our texture image array can actually hold all the mipmap levels we support...
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
0be8af8a392541acde3f8791a754a260b877ac17 |
24-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: bump MAX_PROGRAM_TEMPS to 256 (there's some big shaders out there)
ain/config.h
|
a4a0ba1adb9fbe168c6b84cdd281992893208c08 |
24-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: bump gallium version to 0.3 To distinguish from the -0.2 version still being maintained on the gallium-mesa-7.4 branch. There are already greater interface changes between these two branches than there were between -0.2 and -0.1. Also stop injecting Tungsten into the vendor string - the Gallium in the renderer string should be sufficient.
tate_tracker/st_cb_strings.c
|
cc8afbd3862fedfe42e51c3774960d1c7078ec53 |
24-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix point rasterization when rendering to FBO The FBO pixel coordinate system, with (0,0) as the upper-left pixel, is inverted in Y compared to the normal OpenGL pixel coordinate system, which has (0,0) as its lower-left pixel. Viewport and polygon stipple are sensitive to this inversion; so is point rasterization. The basic fix is simple: when rendering to an FBO, instead of the normal RASTRULE_UPPER_RIGHT that's appropriate for OpenGL windows, use the Y inversion RASTRULE_LOWER_RIGHT. Unfortunately, current Intel documentation has this value listed as "Reserved, but not seen as useful". It does work on at least some i965-class devices, though; and the worst that could happen if an older device didn't support it would be incorrect point rasterization to FBOs, which is what happens already, so this fix is at least no worse than what happens presently, and is better for some (and possibly all) i965-class devices.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_sf_state.c
|
f577c8e462fc924ea436d129ad64c8a1226b5f9c |
24-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200/r300: fix warnings
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_texstate.c
|
699db6d842c52d0b3b98b320f8ef1104a65fa783 |
24-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix glFrontFacing in twoside GLSL demo. This also cuts instructions by just using the existing bit in the payload rather than computing it from the determinant in the SF unit and passing it as a varying down to the WM. Something still goes wrong with getting the backface color right, but a simpler shader appears to get the right result.
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_debug.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass1.c
|
411d913ccea362dbd75411266d7abb685214ee93 |
24-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used. Previously, we would sample (f,glFrontFacing,undef,undef) instead of the (f,0,0,1) that fragment.fogcoord is supposed to return. Due to glFrontFacing's presence in FOGC.y, we'll still give bad results there when glFrontFacing is used. Bug #19122, piglit testcase fp-fog.
rivers/dri/i965/brw_wm_fp.c
|
b013f945d8514ed827183a4cbfbc4dccc100704f |
24-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Clean up a bit of mess with unneeded variables in emit_interp.
rivers/dri/i965/brw_wm_fp.c
|
bae07564c487b3cb02ba060edbb57a895874738a |
23-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS.
rivers/dri/intel/intel_decode.c
|
5021b47dd307377be30140e3a0d1c2caf0d71665 |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: remove lock.h link
rivers/dri/r300/radeon_lock.h
|
20981c0a0bd43aff4972c1300f990b06dfa789d1 |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup some issue with fbos and sw fallbacks
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_texture.c
|
0a725db10c1491539d48370df7207206538bf945 |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: set the texture depth correctly for DRI2
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_context.c
|
ccd18f462cccd238ff0d839004d43a3102f09ff3 |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: actual format is rgba8
rivers/dri/radeon/radeon_fbo.c
|
2aa097f963d7be12b538469f61214b8ddaa535fb |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix typo
rivers/dri/radeon/radeon_tex.h
|
28e082197d158206b58da62940cf57796abe565a |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: setup pipes for r300
rivers/dri/radeon/radeon_screen.c
|
9f11b3311e9f65bc19a3fde10f1ee4d6fbb7ead2 |
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: stupid mesa extension fail
rivers/dri/radeon/radeon_screen.c
|
c0d6e07909733af054cc592e2cfc6212155b0a9e |
23-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix occlusion query when no other WM state updates occur. Turns out that XXX comment was important. We weren't flagging the WM to re-update with the statistics enable, so we got zeroes out of our query. Bug #20740, fixes piglit occlusion_query test. Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/i965/brw_wm_state.c
|
e9d156e9e4f92ae1ce70bd563c251b34d238c4bc |
23-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Remove remnants of reference counting internals outside of p_refcnt.h.
tate_tracker/st_texture.c
|
f9d3de06bdc609d2c7cb189d220977968894c7ed |
23-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup wrapper bo name
rivers/dri/radeon/radeon_bocs_wrapper.h
|
cb68588c939c33b42f6ac704f0fe9b22b7350f71 |
23-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
Merge branch 'radeon-fbo-hacking' into radeon-rewrite
|
8c7e30fb950c83f5e9e29e60735e999ac608145a |
23-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
raedon/r200/r300: mega-FBO commits. Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
c607a664dd005c001afda1fff1a68d41925fa86e |
22-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon fbo: add draw offset calcs
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_fbo.c
|
4a2cb696cc3b9e151ea902fc976ee025fb614309 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200/r300: add support for new tfp interface also fixup old interface, gets rid of white boxes in compiz
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texstate.c
|
2d26d4ac66e8c3e48b73d3e172d0e0d2a2ad31a5 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
Merge remote branch 'origin/master' into HEAD
|
06cb6f7aa799e25b4a53f8c547a8f4ca909fe245 |
22-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: use mipmap fns in FBO code
rivers/dri/radeon/radeon_fbo.c
|
0968512f8f4abc5bce84c200bd99f8a522d56122 |
22-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: add miptree offset functions
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
|
c73f4fdb65a6bae4b02348d73f2efdb8f2c5583a |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
r200: fix for sure
rivers/dri/r200/r200_context.c
|
4bd5ee2d9741a74e28f29e48a4c144206f78fd41 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200: oops make correct fbo init calls
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
9f7a03d94586091ef6c38187e0c8a4564143fd7a |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: add xRGB span functions same as ARGB need to add a parameter to get ptr32
rivers/dri/radeon/radeon_span.c
|
218083c542138dc2271b83450f556a6146144f75 |
21-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: dri2 is hooked up elsewhere now
rivers/dri/radeon/radeon_common.h
|
98f1b1e6f99c690645c3cb5093005fc41f436225 |
21-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: add fbo init
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
6c48c93a5358ab04d6779afb14203bd1680a37a0 |
21-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: add fbo state changes
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
712478cfdd4a6ec0d0a85d1eaf5907e937c5dfe5 |
21-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix viewport inversion for FBOs
rivers/dri/r300/r300_state.c
|
1bb60d25e09d71861bdb4485378880140b65b062 |
21-Mar-2009 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove remaining references to origin_lower_left
tate_tracker/st_atom_rasterizer.c
|
d7b7b63bd7cca80e99ad9701f8b56ee365053647 |
21-Mar-2009 |
Michal Krol <michal@vmware.com> |
st: Silence compiler warnings.
tate_tracker/st_cb_texture.c
|
8ab7c77dc2a29ad3edc1fab4e0c9fb01a15665fa |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: align FBO pitch
rivers/dri/radeon/radeon_fbo.c
|
56c5df33de1e34b606bb771db27742af78be30f3 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fixup last missing x_off/y_off
rivers/dri/radeon/radeon_span.c
|
8a600836766716df684f2ab1eeafdcbec4b0f019 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: add cpp/pitch to rrb
rivers/dri/radeon/radeon_fbo.c
|
e795bd3c9090443a5e52ff79356c253022de8538 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/fbo: add x_off and y_off in correct places
rivers/dri/radeon/radeon_span.c
|
86dcbb545729627e09115cc0d416af697f2c2832 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: dPriv handling is now in cliprects code
rivers/dri/radeon/radeon_span.c
|
9368dcb426a97e8fb628b712ac74c7c808a79b9b |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fixup span code for FBOs
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_span.c
|
fbda2ad4457cf47494ae3eee28d417afb262c5c2 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
r300: hw clear buffer 0 hopefully
rivers/dri/r300/r300_ioctl.c
|
ffde891a0390a915716087ca7d99b3ddf7f1ef89 |
21-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix up span function setting
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
|
401cbd0d2365e5b2d371a2a01edf1cecca4a99dd |
21-Mar-2009 |
Brian Paul <brianp@vmware.com> |
gallium: remove use of origin_lower_left This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_stipple.c
tate_tracker/st_context.h
tate_tracker/st_mesa_to_tgsi.c
|
1f45ae0813f72fa92f52e0ebc440922362dc7cce |
21-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new internal state var for window size Actually, window width - 1, height - 1
hader/prog_statevars.c
hader/prog_statevars.h
|
12256fc2b2e0a54db24210a4b86f6fb5919d0fe8 |
21-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: linear scan register allocation for shader programs This is a check-point commit; not turned on yet. Use the linear scan register allocation algorithm to re-allocate temporary registers. This is done by computing the live intervals for registers and reallocating temps with that information. For some shaders this dramatically reduces the number of temp registers needed. For the time being we give up on a few cases such as relative-indexed temps and subroutine calls (but we inline most GLSL functions anyway).
hader/prog_optimize.c
|
66175aac7609ad314f25fbdff0d3958af310dc24 |
18-Mar-2009 |
Eric Anholt <eric@anholt.net> |
Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format. This requires upgrading the interface so that the argument to glXBindTexImageEXT isn't just dropped on the floor. Note that this only fixes the accelerated path on Intel, as Mesa's texture format support is missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8, but in this case we're not doing the upload so we can't really work around it that way). Fixes bugs with compositors trying to use shaders that use alpha channels, on windows without a valid alpha channel. Bug #19910 and likely others as well. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
22443d5cc036ddebfd97ade17711cd1306721754 |
20-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
r300: init fbos
rivers/dri/r300/r300_context.c
|
ba890ad35b3ff52603665bdb576f9efcbb3a108a |
20-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
more fbo fillin
rivers/dri/radeon/radeon_fbo.c
|
e3faf5b51d76975fb54a2b4eada3e0042a182096 |
20-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
r300: enable FBO for a test
rivers/dri/r300/r300_context.c
|
230abc06f817b5d9868f7e6a094f56bb3294b476 |
20-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: some more fbo work
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_fbo.c
rivers/dri/radeon/radeon_screen.c
|
3d4246e22e90ffef5fe0cd935bd54c7f862e82f7 |
20-Mar-2009 |
Michal Krol <michal@vmware.com> |
slang: Use _mesa_snprintf() wrapper.
hader/slang/slang_codegen.c
|
fabce837f9740df2553b6cc0dd991b2cb8b8fc5b |
20-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: initial couch code copy from radeon
rivers/dri/r300/Makefile
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_fbo.c
|
407e8ae5b167b0193e1e5b1266a5d61ed836dfb5 |
20-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'main/master' into radeon-rewrite Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/radeon_ioctl.c src/mesa/drivers/dri/radeon/radeon_screen.c
|
114bb54324f22cb53bcd14607234d0acd74d37bd |
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
slang: initialize the context
hader/slang/slang_compile.c
|
e3aedec86808490fbb5a966b1e4dc15bff046f13 |
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
slang: support uniform arrays
hader/slang/slang_codegen.c
|
bbd208b60c4d39cccb931b4d23efc9d42648afd3 |
19-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glslcompiler: added new options to override debug/optimization pragmas
rivers/glslcompiler/glslcompiler.c
|
65fc2ca82a38bc00ae4223124932af6771765041 |
19-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: change GLSL #pragma initialization Initialize the shader's pragma settings before calling the compiler. Added pragma "Ignore" fields to allow overriding the #pragma directives found in shader source code.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
|
214132adfee555a26b64b2dd359afa6b09e845f5 |
19-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: when debug pragma is on, emit comments about function calls/inlines BTW, the debug pragma syntax is "#pragma debug(on)"
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
264c3d218aa2fd8d06b0e91c1079e43e58d3ee7e |
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: check renderbuffer is defined before use.
tate_tracker/st_atom_framebuffer.c
|
bdaa0341caffc353fd26bbd91865c2d86eed11c1 |
19-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: cleanup some of the renderbuffer code
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_texstate.c
|
c0c06803fee4d5cd04da03f1984ae99e411e1588 |
19-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix up locking like the intel driver for pageflip/swaps
rivers/dri/radeon/radeon_common.c
|
9e84e7def152aa8080da59a78795d6434e687403 |
18-Mar-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
st/gl: Only transfer needed parts in st_TexSubimage
tate_tracker/st_cb_texture.c
|
989856bde47d699d7e18798df4013fbf962e1d4b |
19-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
slang: if/else/break & if/else/continue work for unrolled loops
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
355e9bb45c4f56f228c73e2886d907a75968209b |
19-Mar-2009 |
Michal Krol <michal@vmware.com> |
swrast: Silence compiler warnings, give better structure to the code as a result.
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
a577471c546732419908893b481948feac5b7241 |
18-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use the IROUND() macro in pixel packing code It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc.
ain/image.c
|
cac1ce09ac52e9bc4aa8d5ba24b6a4d131d8fc69 |
18-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
slang: redo the last commit for if/break & if/continue tests as it wasn't good enough for deeply nested if's.
hader/slang/slang_codegen.c
|
192b7bc706f0d014ecea1843230a4b1adbe2a45b |
18-Mar-2009 |
Alan Hourihane <alanh@vmware.com> |
Revert "slang: if we detect an if/break or if/continue within a loop and we're" This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba.
hader/slang/slang_codegen.c
|
752296b8f311c5e3844f3ce89d17ba57224ce5ba |
18-Mar-2009 |
Alan Hourihane <alanh@tungstengraphics.com> |
slang: if we detect an if/break or if/continue within a loop and we're trying to unroll, bail, and fallback to doing the real loop.
hader/slang/slang_codegen.c
|
08d44512e973f1388f8b1d4436cc2aa888c6060e |
18-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
st: call _glapi_check_multithread from st_make_current This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
tate_tracker/st_context.c
|
0b0e2159f2e9e9278c058d06387948f54e537d08 |
18-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: need to free/realloc pipe texture when we're handed image level > last_level Fixes progs/tests/tri-fbo-tex-mip.c
tate_tracker/st_cb_texture.c
|
a0509f7d28765c6ef8546eafba94aec46d9e7ed3 |
18-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: clean up some if-statment code
tate_tracker/st_cb_texture.c
|
3151f5d75ac26d4460b6905ecad0a8ac0470e419 |
18-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: update texture comments
tate_tracker/st_texture.c
|
13345a95400db632a7800e6fd8b8fdb74bba3c38 |
18-Mar-2009 |
Dan Nicholson <dbn.lists@gmail.com> |
Use the specified X11 headers for xlib mesa The xlib build was using the system's Xlib headers or bombing if they weren't available.
rivers/x11/Makefile
|
c334ce273e946733928339b1c7f9a02ccdef1b4b |
17-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: use better _swrast_compute_lambda() function The MAX-based function can produce values that are non-monotonic for a span which causes glitches in texture filtering. The sqrt-based one avoids that. This is perhaps slightly slower than before, but the difference probably isn't noticable given we're doing software mipmap filtering. Issue reported by Nir Radian <nirr@horizonsemi.com>
wrast/s_span.c
|
1eee1bac1f6d911e6124daafc9b9291666d91cef |
17-Mar-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: update/fix doxygen comments
lapi/glapi_getproc.c
ain/context.c
ain/dlist.c
ain/execmem.c
ain/feedback.c
ain/imports.c
ain/mipmap.c
ain/shared.c
ain/teximage.c
ain/texobj.c
hader/prog_parameter.c
hader/prog_print.c
|
aa85973f95b8ccce1964c9bbbfb1e411c4b31cbd |
16-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
Fixup previous commit. radeonScheduleSwap() already takes the lock in the SwapBuffers case, only the CopySubBuffer case was missing it.
rivers/dri/radeon/radeon_common.c
|
cf25ef9072f5290d228a381727c4ff921b0c60d6 |
13-Mar-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Use struct pipe_atomic for pipe refcounts. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
tate_tracker/st_texture.c
|
9c591c52c7a9a75fc1f5822ed2f5e7e82ab396a5 |
16-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Take the hardware lock for swaps and flips. Otherwise they fail with AIGLX at least.
rivers/dri/radeon/radeon_common.c
|
9ba52e12688d6f677c2241729776e6bf10737d4b |
16-Mar-2009 |
Michal Krol <michal@vmware.com> |
mesa: Silence compiler warnings.
hader/arbprogparse.c
|
8ae04f3c46e7ac26a71e00759a2b25fd35a4d8d6 |
15-Mar-2009 |
Michal Krol <michal@vmware.com> |
vbo: Silence integer-to-pointer warnings.
bo/vbo_save_draw.c
|
683e7091a953204c9aee1410ac44be3b69bae9fc |
13-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: consolidate bypass_vs and bypass_clipping flags The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
|
fa0f48504a32642d688d4b81f62eea54c693b23f |
13-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: no need to keep a copy of shader tokens in state tracker Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
b3be1651f4a45660b447881f7c61c03a1b24302a |
13-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: add check for null front renderbuffer Not sure if this indicates a problem elsewhere, but without this check trivial/tri-fbo.c segfaults on resize. With the patch, it renders correctly.
tate_tracker/st_cb_flush.c
|
af34fa316db32c09e0753f58d8275a357e187729 |
13-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: don't call finish in st_glFlush() It is not the state tracker's responsibilty to inject sleeps and pessimize performance in the hope of avoiding buffer synchronization issues in buggy drivers. Calling finish() here will just hide problems that need to be fixed elsewhere.
tate_tracker/st_cb_flush.c
|
7d6478cfccf03c87f2b9daa541ae486dc24bb388 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: more register number assertions
rivers/dri/i965/brw_eu.h
|
a10ec13143599344ecb4a486db1454b488cd9645 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: add some register number assertions Haven't seen failures yet, but if/when there are, more investigation will be done.
rivers/dri/i965/brw_eu_emit.c
|
2cf296186e2a2a635a461b2498d4afa7762656f5 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove unused PROGRAM_INTERNAL_PARAM, added comment
rivers/dri/i965/brw_wm.h
|
24d4ee98d48d9908fe77d042b9d6fab1379e196a |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: move declarations before code
rivers/dri/i965/brw_wm_glsl.c
|
460ee86d60112aa6417fbedb41dfe22a51e53927 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: debug code, use gl_register_file type
rivers/dri/i965/brw_vs_emit.c
|
4eda17d19231ce4b65e9c8c267c55d718cbcfb4c |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: glUseProgram() debug code (disabled)
hader/shader_api.c
|
583d29373452764e4c902c3b04543a9056456eeb |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: improve another _mesa_problem() call
ain/texstate.c
|
ccad1e45289b83d045cf7264f391f7502ef81110 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add GL_DUDV_ATI cases in calculate_derived_texenv()
ain/texstate.c
|
fcb0d8968dfb32d26219f7671866f993be5f548c |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more info in _mesa_problem() call
ain/texstate.c
|
4681a1d1eeb2aa8dfaf3af02c37e9ccd9a523565 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added 1D/3D fetch_texel functions for DUDV8
ain/texformat.c
ain/texformat_tmp.h
|
f500f3a72c6be61ff9b8e1166f734e408d00aded |
13-Mar-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
gallium: Remove do_flip argument from surface_copy I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format() This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
ain/image.c
|
1826ff3fb34e9fb19bc8d8dee2cce5280da5e069 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: override_internal_format() function for debug/test purposes (disabled)
ain/teximage.c
|
8a8919a7ddd2348c4a4cbcbab2358c49e47e2ea5 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: improve some error messages
ain/teximage.c
|
3b946cde45f214be08edfbb716034d407a13c6b4 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: move declaration before code
rivers/dri/i965/brw_sf_state.c
|
dbc9a1d33b5b047a6497d47cda224df6da200302 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix const correctness
rivers/dri/i965/brw_curbe.c
|
6b9c1446b35cb33d73bd8ea7aeed8d219d0a9989 |
13-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i915: move declarations before code
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/intel_tris.c
|
6c5804172a4ab3b960be6e64869a9376ec18010d |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments
rivers/dri/i965/brw_wm_emit.c
|
47053782b8e82f447d7d2fb590da9cced2926021 |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move declarations before code
ain/image.c
|
363fc6d64fc8b813f2216b8b28414c6a2c6d2963 |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix glRead/DrawBuffer(GL_AUXn) error value If GL_AUX[123] are passed to glRead/DrawBuffer() when those buffers don't exist, need to generate GL_INVALID_OPERATION, not GL_INVALID_ENUM. This regression came from commit 555f0a88182e2b1af809b2d97abdac02814a2f28
ain/buffers.c
|
29309b45b011b4c44721b8f7346272fb22a4d4c2 |
12-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix polygon stipple when rendering to FBO The polygon stipple pattern, like the viewport and the polygon face orientation, must be inverted on the i965 when rendering to a FBO (which itself has an inverted pixel coordinate system compared to raw Mesa). In addition, the polygon stipple offset, which orients the stipple to the window system, disappears when rendering to an FBO (because the window system offset doesn't apply, and there's no associated FBO offset). With these fixes, the conform triangle and polygon stipple tests pass when rendering to texture.
rivers/dri/i965/brw_misc_state.c
ain/mtypes.h
|
862dccd56054196dc5adf1377f682d0138fa1789 |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functions
ain/texformat_tmp.h
|
3327cc64e7fdc13d3843ccb17763f68dd381185f |
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
i965: add support for ATI_envmap_bumpmap
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_tex_format.c
|
36010806a10a1d6850a3fb3f997c0fbb58196d21 |
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
regenerate glapi
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
114152e068ec919feb0a57a1259c2ada970b9f02 |
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add support for ATI_envmap_bumpmap add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
lapi/gl_API.xml
ain/api_exec.c
ain/config.h
ain/context.c
ain/dlist.c
ain/extensions.c
ain/image.c
ain/image.h
ain/macros.h
ain/mipmap.c
ain/mtypes.h
ain/texenv.c
ain/texenv.h
ain/texenvprogram.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texstore.h
hader/prog_statevars.c
hader/prog_statevars.h
wrast/s_texcombine.c
|
81569c2f697586daab01486ec1da28f0a03b5c6a |
12-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
ain/framebuffer.c
|
6dceeb2eb804d708639d68a13a924d65f366458a |
11-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix polygon face orientation when rendering to FBO In the i965, the FBO coordinate system is inverted from the standard OpenGL/Mesa coordinate system; that means that the viewport and the polygon face orientation have to be inverted if rendering to a FBO. The viewport was already being handled correctly; but polygon face was not. This caused a conform failure when rendering to texture with two-sided lighting enabled. This fixes the problem in the i965 driver, and adds to the comment about the gl_framebuffer "Name" field so that this isn't a surprise to other driver writers.
rivers/dri/i965/brw_sf.c
ain/mtypes.h
|
548be3846db59ad43934a159c051b359db6e56db |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove some last remnants of GL_MESA_program_debug
ain/mtypes.h
hader/arbprogram.c
hader/nvprogram.c
wrast/s_atifragshader.c
wrast/s_fragprog.c
|
4dfa3757c58255c3ad8c3fe343541d2aa677f44c |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor comments
ain/mtypes.h
|
590f6fe05030cb274067a9e58af9d8306d97d0b9 |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_object::_Function field and associated code It was only used in one place in swrast.
ain/mtypes.h
ain/texstate.c
wrast/s_texfilter.c
|
7d9cb242fdbb55f1486ec09b27709bedebfdb2c1 |
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
intel: include main/viewport.h
rivers/dri/intel/intel_pixel.c
|
04465bb6df5a9845425a9c163ef3869019376374 |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix lock-ups when GLSL program wrote to gl_FragDepth It seems the code that set up the FB_WRITE message was incomplete in this case. The number of payload registers was wrong and that caused a hang. It would be good to have a second set of eyes take a look at this...
rivers/dri/i965/brw_wm_glsl.c
|
ddf7d8fe01a3db6f1107e2cb01e91d90b6bd11c6 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: more code clean-ups, comments
rivers/dri/i965/brw_wm_glsl.c
|
76ff6d40f489f845ddf2ef33a3e5570f4544b7e9 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor code clean-ups, comments
rivers/dri/i965/brw_wm_glsl.c
|
9c781de015f32b2caadd5a6d999cc6885188a4a4 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: use new cast wrappers
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_vs_constval.c
|
294a473f7adfb34a64813e973113ffd6a7ef2583 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: added cast wrappers, comments
rivers/dri/i965/brw_context.h
|
13177f03fc19b67b909dee2272c44bc2e5f9afc3 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: asst. code clean-ups, comments
rivers/dri/i965/brw_curbe.c
|
6bed5caf885736221e99e2ac383a761e85f21775 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix typos in comments
rivers/dri/i965/brw_context.h
|
d861d589a8f2fea4fbaa36b1533b4873c51c9f89 |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove _slang_attach_storage() function This was used to handle both variable declarations and references to variables. Instead, just do storage allocation and assignment for declarations and references, respectively. This is a step toward better var/uniform allocation (only allocate storage for vars/uniforms that are actually referenced by the code).
hader/slang/slang_codegen.c
|
b78463cbad0b1f4191b3b235b70625651eeefb05 |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: some clean-ups, remove old assertions, add new assertions
hader/slang/slang_codegen.c
|
0522624c834fc6d4a8803cc469af9dc6f3d4ee14 |
11-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove stray/unneeded totalSize assignment
hader/slang/slang_codegen.c
|
3c1ce2d64919e0fb9b28f0697addb87708f4f6ed |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix dumb sizeof() vs. strlen() mix-up
hader/prog_print.c
|
8dff9f349fb55118d74a0b6597722f67a5c930d4 |
10-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix typo: s/vec4_tex1d_proj/vec4_tex_1d_proj/ This regression came from commit c0b59420eec5ffdf22a5919d38851c3620b97c09.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
0fc6c2644cf69fd1851c9387c83b0e43f820bdf2 |
09-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove unused lines
rivers/dri/radeon/radeon_texstate.c
|
14c3bddbac8f9fc8e432137772f0c4772fdfb7ab |
10-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: enable hw clears
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
|
22bac2a1a0d315172f815cb8a516bfe198b0a6f3 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
xmesa: set back-buffer's drawable field Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
rivers/x11/xm_buffer.c
|
6f915b10d5963466567ea5445631192fd9c4e802 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix cube map lock-up / corruption If we're using anything but GL_NEAREST sampling of a cube map, we need to use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode. Before this, the GPU would either lock up or subsequent texture filtering would be corrupted.
rivers/dri/i965/brw_wm_sampler_state.c
|
886ceb556e1f6ba1e51a33abd9b8c3d8214d2554 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: silence warning
tate_tracker/st_draw.c
|
62ef614eb3a9e28c39606657f576e320f158623e |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: remove unused DrawPixels code
tate_tracker/st_cb_drawpixels.c
|
44af5a953f4189978f698b6a26b5f7b1c6298929 |
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: use pointer_to_offset() cast wrapper to convert pointers to uint Silences warnings with 64-bit builds. See comments for details.
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
|
9457d9ff4482f9b3796e2989e9ac3385d7d5404d |
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reorder register file enums
ain/mtypes.h
|
fe60dbc536e2fb94cf7bc5262ebd7817c16eb9e7 |
06-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
st: also check for a8 texture support in bitmap code
tate_tracker/st_cb_bitmap.c
|
1ebc92b0d02afaf8be75630bb785c70d65315c1d |
09-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
fix typo in fragment pipe alu define, should fix dot3_rgb tex combine
rivers/dri/radeon/server/radeon_reg.h
|
ef5fd0b66a0ddfa1df5c39a8711dd542107c61c3 |
09-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: yet tighter still usage of FLUSH_NEED_CURRENT Previous change broke redbook/polys and probably others. I'm fairly sure that drivers like r300 don't need to touch ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm not confident about removing it from there. Hopefully this gets things working again.
bo/vbo_exec_api.c
|
0756dc876c01a3d07da34e2da1899b340b0fb819 |
09-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: stricter checks on Driver.NeedFlush This variable is being used in the r300 driver to trigger a flush under circumstances unrelated to the use in the vbo module. Tighten up the checks in vbo so as to avoid conflict with r300. Reported by Maciej Cencora <m.cencora@gmail.com>
bo/vbo_exec_api.c
|
c122cc40979b79a8dc4a529da6b375252b03db3f |
05-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: emit texture in GTT or VRAM
rivers/dri/r300/r300_cmdbuf.c
|
778cf80d9e462ca26e660dca1910328f66f6427d |
09-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: move firevertices out into the main place its needed. This fixes a hang on context destruction on rs690
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_state.c
|
460e5b11c98e07d12c655e5bf2f1e993d05bd7a1 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build
bo/vbo_exec_draw.c
|
799f55803d15602b10d2bb97ff62792f05ce4de3 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
gallium: use unsigned long to silence warnings with 64-bit build
tate_tracker/st_cb_texture.c
|
3377cd535e6db420c762a0cc0f73fd8fa63a5bc1 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
r300: remove assignment to removed StringPos field
rivers/dri/r300/r300_vertprog.c
|
4045a2c7d302352646c1ff2a01cd531aa1b55d31 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move shared context state functions to new shared.c file
Conscript
ain/context.c
ain/shared.c
ain/shared.h
ources.mak
|
2e798e4b7e5956dbf3c7fde18f408b5d4c1b151c |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
vbo: make bind_array_obj() code a little more concise
bo/vbo_exec_array.c
|
39c203507a78fe0e090298ebdeb4b5592aa15547 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use @ to silence some Makefile output
akefile
|
2c3785159574e6c8640b6af3ce2ef561d095f324 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move glViewport and glDepthRange functions into new viewport.c file A bit of refactoring with an eye toward ES2 and GL 3.1
Conscript
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/trident/trident_context.c
ain/api_exec.c
ain/attrib.c
ain/context.c
ain/matrix.c
ain/matrix.h
ain/state.c
ain/viewport.c
ain/viewport.h
ources.mak
tate_tracker/st_context.c
tate_tracker/st_framebuffer.c
|
4de5abee3938ee1d186629a70b04a98a74f50c97 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: remove old comment
wrast/s_clear.c
|
2ee5ba0411de9c6cb17326a1f4a6c316295dae69 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: rename s_buffers.c -> s_clear.c
ources.mak
wrast/s_buffers.c
wrast/s_clear.c
|
b4026d9be828bd0b6f60158456edf24994efb053 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: gl_register_file enum typedef
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_vertprog.c
ain/mtypes.h
hader/arbprogparse.c
hader/prog_execute.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_print.c
hader/programopt.c
hader/programopt.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
tate_tracker/st_mesa_to_tgsi.c
|
69e07bdeb42f2454f5052f86119adfb68f253098 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_MESA_program_debug extension This was never fully fleshed out and hasn't been used.
Conscript
rivers/common/driverfuncs.c
rivers/dri/tdfx/tdfx_context.c
rivers/glide/fxdd.c
ain/dd.h
ain/enable.c
ain/extensions.c
ain/ffvertex_prog.c
ain/get.c
ain/get_gen.py
ain/getstring.c
ain/mfeatures.h
ain/mtypes.h
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/prog_debug.c
hader/prog_debug.h
hader/prog_execute.c
hader/prog_instruction.h
ources.mak
wrast/swrast.h
|
34e77493ce451e888a5c4292e3b5d49063d6d0a6 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence warning
86/x86_xform.c
|
0f04a1d3f8989b0a391e6dad80abf06ce151d1f1 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove last of _mesa_unreference_framebuffer() calls
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
ain/framebuffer.c
ain/framebuffer.h
tate_tracker/st_framebuffer.c
|
1386e8a6ba9732c578e0122de245abfd578a7d1d |
07-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix cut-n-paste typo
rivers/dri/radeon/radeon_dma.c
|
b125af1d2587d8e69218010ebba0b748467158a9 |
07-Mar-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: shut up valgrind It complained about uninitialized values Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
|
f881035fd84add859b3e3dc4721eddd027005f49 |
07-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
rs690: fix r300 swtcl bug in DMA code. When we finish emitting swtcl objects, we request space in the cmdbuf, and flush if no space exists. However in this case we also flush the DMA buffer we just put the vertices we wanted to send in. This checks in advance if we have space in the buffer.
rivers/dri/radeon/radeon_dma.c
|
a06dd4de8756d7ebe99ed414c8d8dca5083241b8 |
16-Jul-2008 |
Alan Coopersmith <alan.coopersmith@sun.com> |
Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
ain/execmem.c
|
0945b78244d6a86dbe3c35f4cfcd6a9ff524930e |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: call the program optimizer This still needs more testing bug glean and Mesa GLSL tests seem OK.
hader/slang/slang_compile.c
|
e60b3067d81319236d63ad497e70658fd2e14eb3 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: check if we run out of GRF/temp registers Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery.
rivers/dri/i965/brw_wm_glsl.c
|
d42cfa6e6ea458a3eb05310d4c25acc777820fea |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_read_shader() function to read shaders from files Useful for debugging to override an application's shader.
ain/shaders.c
|
2eacc4aafaa1a00135255f6025e82102dd4adbaa |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: bump up BRW_EU_MAX_INSN This is the size of the intermediate instruction buffer.
rivers/dri/i965/brw_eu.h
|
82f1c0be1325130ab03d3bef629264618924b897 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new program optimizer code This is pretty simplistic for now, but helps with certain shaders.
Conscript
hader/prog_optimize.c
hader/prog_optimize.h
ources.mak
|
faae1994c97746a74f68abeeafd69b27f9651d19 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments
rivers/dri/i965/brw_wm.h
|
f874dc63952a347d4b3af8b889096a3e3a334f24 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments and minor clean-ups
rivers/dri/i965/brw_wm_glsl.c
|
5cbd1170da0a902fdc9c460584bc503b0c4085a6 |
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: avoid unnecessary calls to brw_wm_is_glsl() This function scans the shader to see if it has any GLSL features like conditionals and loops. Calling this during state validation is expensive. Just call it when the shader is given to the driver and save the result. There's some new/temporary assertions to be sure we don't get out of sync on this.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_state.c
|
99e4809f5d2126db36ec652e07bc8e77f1383a84 |
17-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix depth write regression (found by Nicolai Haehnle) Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_state.c
|
0828bfaa4534615e29284c95df7435883dbeb735 |
15-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: enable EXT_fog_coord extension Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
|
7ad7abc4cd5c94b83feea4553ffb5a69d8ad4757 |
15-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: route fog coord and W pos correctly Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_swtcl.c
|
d8b8fb68954e6eebd0b38708c25a5bec4cf1a26c |
18-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: rewrite and hopefully simplify RS setup Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_program_pair.c
|
25dfbb03f8acf91a707d722af2336821dd73b8ff |
04-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add few macros for RS setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_reg.h
|
ee56c5e73b644c81255489d08ef66722d1565f53 |
08-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: silence valgrind Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/radeon_ioctl.c
|
3fa6a6df755849c2fa84df5f02756967bdf8ca0d |
04-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: Print reg address when debugging is enabled Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_cmdbuf.c
|
005ad1a71d8de318a69ba18d896677d89602e0db |
06-Mar-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: don't crash on sw tcl hw if point size vertex attrib is sent
rivers/dri/r300/r300_swtcl.c
|
8bbb6b352ad7fabb2cc5ec4b82244d39495e80ac |
06-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Reads must also be done with lock held. Otherwise two threads might think each made the refcount go zero.
ain/context.c
|
f6159ba4d5da9579de55afb01b4f460f9b8a0327 |
06-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix typo. Windows threads block if one over-unlocks them.
ain/hash.c
|
760068cc8d5b443c4c6545870fa4f7eda7c6e775 |
06-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix uninit variable warning
rivers/dri/r300/r300_cmdbuf.c
|
e0313ef061c2988cc9df9b8a016ba06fd2ba7ce7 |
06-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix swtcl codepaths
rivers/dri/r300/r300_swtcl.c
|
19e134051c1025bbfe3838108492d705ab2b5b8b |
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix bpp setting of blits to 8bpp targets. This was causing hangs in cairogears, as we would blit to the 8bpp target (A8 texture) as 16bpp, and stomp over state objects.
rivers/dri/intel/intel_blit.c
|
c6ac53bc40508ab2f0b9e023eee7ec3793fdf917 |
06-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: implement userspace clears This is pretty much Eric Anholts implementation of clear using the GL state machine from the Intel drivers. It works quite well for now for us, probably could do with trying to use Z engine for clears.
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
|
d0ec7c109c4d78ea0a02b595584da875e62d2773 |
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: fix 3DPRIMITIVE batch decode of the vertex count field.
rivers/dri/intel/intel_decode.c
|
cade74e3f4ddf7a5221c9f200ff4c130ab92924d |
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Stop dumping programs after the first all-zeroes entry.
rivers/dri/i965/brw_state_dump.c
|
40bc2748c2781600c748e546160bcc2aab637825 |
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add always_flush_batch driconf option for making small batchbuffers. This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller batchbuffers.
rivers/dri/common/xmlpool/options.h
rivers/dri/common/xmlpool/t_options.h
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
f3687284c12f34268172b9c60e2effd697162129 |
06-Mar-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add always_flush_cache driconf option for debugging cache flush failure. I keep wanting to hack this knob in as a one-time thing, so it seemed useful to have all the time.
rivers/dri/common/xmlpool/options.h
rivers/dri/common/xmlpool/t_options.h
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
98826950529041a022f736d183b52421eedead31 |
05-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add a note about why the _NEW_STENCIL is required in draw_buffers.
rivers/dri/intel/intel_buffers.c
|
f085147258713741895945dcb81fdb251bb6c9cc |
05-Mar-2009 |
Eric Anholt <eric@anholt.net> |
intel: Remove a gratuitous MI_FLUSH after clearing with a blit. The 3D destination shares the same cache so we don't have any trouble with the later commands needing the writes flushed inside of the same batchbuffer.
rivers/dri/intel/intel_blit.c
|
0d31e340f894fdf755945712668197cf09670222 |
05-Mar-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead flushing code.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.h
|
9ffc1784b43ffa410a6a01d0c651efccbb2dc993 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments and formatting fixes
rivers/dri/i965/brw_wm_glsl.c
|
348580197802406fc36219dc3f1ab90fbb8f4717 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix emit_math1() function used for scalar instructions Instructions such as RCP, RSQ, LOG must smear the result of the function across the dest register's X, Y, Z and W channels (subject to write masking). Before this change, only the X component was getting written. Among other things, this fixes cube map texture sampling in GLSL shaders (since cube lookups involve normalizing the texcoord).
rivers/dri/i965/brw_wm_glsl.c
|
be8c0b25eaf67b7deefe7844d0b8ed19abad8d86 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added some assertions
hader/prog_instruction.c
|
f787baff80235e8f90a72d43d4372b1ac977f161 |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: when printing src regs, use |reg| for absolute value And check opcode number to avoid crashing on driver-private opcodes.
hader/prog_print.c
|
ee41bb2ed01b9480e5370d67257334b81ec0c90e |
06-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix screen depth test in intel_validate_framebuffer)_ front_region may be null.
rivers/dri/intel/intel_fbo.c
|
20f49252e1fe2e72bb620c26292f33d5315452a1 |
05-Mar-2009 |
Brian Paul <brianp@vmware.com> |
i965: init dest reg CondMask = COND_TR (the proper default) Plus fix up a debug printf.
rivers/dri/i965/brw_wm_fp.c
|
b074aacdb2a9e3520ccd6cfd892b60599ad0d1d8 |
05-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: cs emit state fixups
rivers/dri/r200/r200_state_init.c
|
a03a4dd524b97f43356b830c21df05f82795fe0b |
05-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: remove depth check for dri2
rivers/dri/r200/r200_state_init.c
|
7ba9eb1e85e1017700a02c4f5d2848e3d997bc5b |
05-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: temporary sw clear code
rivers/dri/r200/r200_ioctl.c
|
9d72a759170ebf51d8f93fd00d3d9c37bd5dfb27 |
05-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: use t->bo to figure out of settexbuffer override is in action
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
eba8008916503cea47c557398b009e2e2b546cb1 |
05-Mar-2009 |
Dave Airlie <airlied@linux.ie> |
r200: port over state emits for kms from radeon this needs testing on real hw
rivers/dri/r200/r200_state_init.c
|
5c80eb7ec13e064b81302da6c672e96a7a7e4e95 |
05-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: add set tex buffer support
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_screen.c
|
34683150878e0af0859c94d0c1f0c4bf8395b042 |
05-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: add software fallback for conformant 3D textures and GL_CLAMP The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier commit forced a software fallback if strict conformance was required (i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and 2D textures were used, but it was somewhat flawed - it could trigger the software fallback even if 2D textures weren't enabled, as long as one texture unit was enabled. This fixes that, and adds software fallback for GL_CLAMP behavior with 1D and 3D textures. It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE environment variable, which forces software fallbacks to be taken *all* the time. This is helpful with debugging. The value is: export INTEL_STRICT_CONFORMANCE=2
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
bed3a8e1f6049a5c01d16004fc9a65225103ab9b |
05-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string
rivers/dri/common/utils.c
|
7979c6024ca81257164d3560a0366c1c52529b0e |
05-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call _mesa_get_cpu_features() during one-time-init
ain/context.c
|
2cbc4655a892e5924e51a4c59696c776bcf60716 |
05-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new cpuinfo.c file to init/query cpu info and extensions
Conscript
ain/cpuinfo.c
ain/cpuinfo.h
ources.mak
|
16d72437eac3ea9c557424edfc98cd664f4c4ed3 |
05-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_get_x86_features() only needs to do its thing once
86/common_x86.c
|
2fcfa1ac0ee5f177c3760d63eaa633e004a11507 |
05-Mar-2009 |
Jakob Bornecrantz <wallbraker@gmail.com> |
mesa: Add x86/common_x86.c to libmesagallium.a Thanks to Brian for the refactor commit
ources.mak
|
9ec7f083f3f3e40081a452ceba8b0e7cd073fb47 |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move sse.h and 3dnow.h #includes
86/common_x86_asm.h
86/x86.h
86/x86_xform.c
|
dd9af786507fe3f199ecc94906b263843848c6ba |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded x86.h header
86/common_x86_asm.h
86/x86_xform.c
|
8538f64d0929715cb22a44186598471342c258c6 |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_init_x86_transform_asm() static
86/x86.h
86/x86_xform.c
|
81e366c65949292ab9a70e518ab5487e639db255 |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename common_x86_macros.h -> x86_xform.h
86-64/x86-64.c
86/3dnow.c
86/common_x86_macros.h
86/sse.c
86/x86_xform.c
86/x86_xform.h
|
20d289eb2d32851030de6c28bba945eb4057a857 |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename x86.c -> x86_xform.c
Conscript
ources.mak
86/x86.c
86/x86_xform.c
|
c751224b0acd457d99cead45616980fec7ef78f1 |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor x86 code Move _mesa_init_all_x86_transform_asm() into x86.c so that common_x86.c has no dependencies on the vertex transformation code. Plus some comments and clean-ups.
86/common_x86.c
86/common_x86_asm.h
86/x86.c
|
8ad65a23d14f82461c00b1d8dcc1393167f36ab0 |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Follow ARB_map_buffer_range more stricly. Namelly, FlushMappedBufferRange takes a subrange relative to the original range.
ain/mtypes.h
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
99a540bfbeea1762266a937deffc5010511eb38d |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge commit 'origin/master' into gallium-map-range
|
368ca83a3fdfbe8dfe591ab73d29c500d1a91c0a |
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: second attempt - avoid getting buffer_ptr and buffer_map out of sync
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
89f1f8f0b8fb684a7b1fce5bfbb961e4521745d7 |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Clear cache->trans after destroying the transfer.
tate_tracker/st_cb_bitmap.c
|
50e38b08780d698bad402150ab4fe007051cbc1a |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Clear cache->trans after destroying the transfer.
tate_tracker/st_cb_bitmap.c
|
fba923ff4415ce8a14c890dea65bcb07b2f87fb5 |
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
Revert "vbo: avoid getting buffer_ptr and buffer_map out of sync" This fixed a minor bug but broke everything else. This reverts commit 579ef8ab1984d895867f547afa60b3bec4c4599a.
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
579ef8ab1984d895867f547afa60b3bec4c4599a |
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: avoid getting buffer_ptr and buffer_map out of sync
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
5b04939b16eb6e13858b070315dee1d0fc09d94f |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
Merge commit 'origin/master' into gallium-map-range
|
f9ce417aaf14c00e72e92307b910de5dbed1bb6d |
04-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: use FLUSH_UPDATE_CURRENT flag to indicate whether the vbo module is active Add asserts for expected values on wakeup and flush. Remove cases where this flag is set or cleared except when waking up and flushing vbo module.
bo/vbo_exec_api.c
|
945dcbfca62b9b57340caccc1b8286b2f3e743bc |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include mfeatures.h See bug 20319.
hader/prog_instruction.h
|
31f129880719f75c491fa2ad269055fbc2fb9b95 |
04-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: r100 clean up CS packet size calc
rivers/dri/radeon/radeon_state_init.c
|
924bf0d8d3db28941efa97911bdcdd01a3f33b7c |
04-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: settexbuffer support This gets DRI2 compiz going
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texstate.c
|
cfd5298f240612ef69ae321aebbc425710a8d731 |
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Implement and use FlushMappedBufferRange.
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
45bde75bd67e7e920f0113842d1fa58613ccc3ec |
04-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Remove some superfluous instances of #include "p_inlines.h".
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_context.c
tate_tracker/st_framebuffer.c
tate_tracker/st_texture.c
|
5e27cd46c04a9e7b5904cc014bffd0f4daae31fe |
04-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Unify reference counting. The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
26d0172a5bc5b733e839e3ccb8d497cab2bcce98 |
04-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix texturing for r100
rivers/dri/radeon/radeon_state_init.c
|
940d47de08eedaf5d8471628ba4860663d79a98e |
04-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: use swrast clear - fail on depth need to write real hw user clear
rivers/dri/radeon/radeon_ioctl.c
|
e0de73e8a558db5dfe8e20ed7aa2e9eae28861c1 |
04-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup some segfaults/exit at startup
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_state_init.c
|
a255472ee789d13c07174e385c7d40f965916e7b |
04-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include main/dd.h in t_vb_points.c and t_vp_build.c For some reason makedepend doesn't seem to find the dependency on this header in these two files. Directly including the header is a work-around.
nl/t_vb_points.c
nl/t_vp_build.c
|
3873ffe27d00f4890290441a6a6923e09ff9434c |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
gallium: remove old state tracker renderbuffer attachment assertion Not needed since renderbuffers are ref-counted. Fixes progs/demos/shadowtex.
tate_tracker/st_cb_fbo.c
|
c37872d8c02c5c875b1570d8eaa1fe5de0380b53 |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
xlib: code to force fixed function -> shader translation (for debug, disabled)
rivers/x11/xm_api.c
|
de1caa550700ae38ff791c30f6d482f3efddebd0 |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix sw fallback state validation bug When a hw driver fell back to swrast, swrast wasn't always getting informed of program changes. When fixed function is translated into shaders, flags like _NEW_LIGHT, _NEW_TEXTURE, etc. should really signal _NEW_PROGRAM. In this case, swrast wasn't seeing _NEW_PROGRAM when new fragment shaders were generated.
ain/state.c
|
004d8f11882c6c149a395cf2e86d5d5fb3fa114b |
03-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Massage the interface to more closely resemble ARB_map_buffer_range
tate_tracker/st_cb_bufferobjects.c
bo/vbo_exec_draw.c
|
916de35d677ca5238e9515840fa5aa9f81302c5b |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/gallium-0.1' Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
|
2785af803f7d6d64ff17c10645e5f10499289ed0 |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: missing line from previous commit
bo/vbo_exec_api.c
|
2e29b7d0f8238f804304b061fb0157cf586db6f9 |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: implement MapBufferRange callback Using PIPE_BUFFER_USAGE_DONTBLOCK.
tate_tracker/st_cb_bufferobjects.c
|
c4d1f4607abf3dfbcfcffc5c67bb89d420d3381a |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
vbo: use MapBufferRange where available Previously would have to allocate a new VBO after firing a draw command as subsequent call to Map() on old VBO might block if the driver had submitted the commands to hardware.
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.h
bo/vbo_save_api.c
|
eb8a1d96424cb732b0a723cb1fdba90958d24e16 |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: add MapBufferRange driver callbacks Will be needed in coming GL extensions (GL_map_buffer_range, GL 3.0). Will be used by the vbo module to avoid reallocating vbo's at each draw primitive call.
ain/dd.h
|
c64a2b708944ec671b1104067245500fcfc6ed94 |
03-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: Add BeginVertices driver call Provides notification to the VBO modules prior to the first immediate call. Pairs with FlushVertices()
ain/dd.h
ain/vtxfmt.c
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_api.c
|
a3b7db0326337117ccdea526818040d2c24d83b4 |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: save some useful VBO debug/dump code (disabled)
bo/vbo_exec_array.c
|
433f2ab2ec4685328c3ee4802fab84fd12671eb3 |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more tex image debug/dumping code
ain/debug.c
|
d652d26a975a884fecd9c407e77b7259fb291906 |
03-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: comments and code documenting a bug with depth 32 TrueColor drawing/reading It seems that XGetImage() from a depth 32 TrueColor window is flakey. Drawing with XPutImage() instead of XPutPixel() seems to work better, but still not perfectly. Keep using the original code for now until more is learned.
rivers/x11/xm_span.c
|
6c75d7b4e6b04ce9e5e8d188a143cb7a1670c953 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move call to update_texture_compare_function() Another conditional can be avoided.
ain/texstate.c
|
e232471baa3a7cfa7a76b9cfe55dfb7da79fedbe |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix texture enable regression Need to clear the _ReallyEnabled field before possibly continuing the loop. Also, set _Current pointer to NULL if the unit is no longer enabled. Fixes piglit lodbias regression
ain/texstate.c
|
7e0f47c1348273ed3bb39d00aa4a9498a28b8d6a |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_reference_texobj() when setting texUnit->Current pointer Fixes piglit copytexsubimage regression.
ain/texstate.c
|
97dd2ddbd97ba95e8bc8ab572ec05e8081556e1e |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't draw arrays if vertex position array is not enabled For regular GL, we must have vertex positions in order to draw. But ES2 doesn't have that requirement (positions can be computed from any array of data). See bug 19911.
ain/api_validate.c
|
f1a083d4b8c86e0ba335ab162f60b6f2b8391c31 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
gallium: only enable depth test if a depth bufffer is available
tate_tracker/st_atom_depth.c
|
8fec37c0f11e624644da48d612c60e736861a212 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove warning/short-circuit of stencil enable w/ no stencil buffer With FBOs one could enable stencil before a stencil buffer is later bound.
ain/enable.c
|
91e61f435a71436c209934a0ece165b540aba3e0 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use Stencil._Enabled field instead of Stencil.Enabled
rivers/common/driverfuncs.c
rivers/dri/ffb/ffb_state.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_wm.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/mga/mgapixel.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r300/r300_state.c
rivers/dri/savage/savagestate.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_state.c
rivers/ggi/default/stubs.c
rivers/glide/fxdd.c
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
|
f352a80aec10c3faf2d84e0b35d59b4edc0395ef |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add ctx->Stencil._Enabled field Only true if stenciling is enabled, and there's a stencil buffer.
ain/mtypes.h
ain/state.c
ain/stencil.c
|
07e50058a5699fc9279de6bf5d1449d52ccdc476 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
swrast: use _EnabledCoordUnits for fixed-function texturing Using _EnabledUnits was wrong because it included vertex texture units. This change plus the prev commit fixes occasional failures of glean/glsl1 vertex texture test failure.
wrast/s_span.c
wrast/s_triangle.c
|
e68208f26260e5c964bc1c8674c722d0d60db3ee |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fixed computation of _EnabledCoordUnits This field should not include vertex textures. It indicates the coord inputs for fragment / fixed-function processing.
ain/texstate.c
|
54b42c0a4a07c5eab5c5dc4ebce2b947b7b6722e |
02-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove debugging
rivers/dri/radeon/radeon_common.c
|
2b85fccae5ba33748846f74f90fe0f72c673a4b1 |
02-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: refactor framebuffer code like intel this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
|
e30f7657639d53dc87fa35aa2ec02ed13c70f796 |
01-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clarify comments for per-unit texture bitfields
ain/mtypes.h
|
000c3438c96c5b8f16969c1bcbcce1b6a6321ec9 |
01-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move texture_override() code into calling loop We can avoid a few iterations this way.
ain/texstate.c
|
ebabdf9920c1628741703704796a9361c1fc07bf |
01-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move update_texture_compare_function() call out of loop
ain/texstate.c
|
555f0a88182e2b1af809b2d97abdac02814a2f28 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused AUX buffers Remove all references to aux buffers 1..3. Keep AUX0 around for now just in case, but it'll probably go too someday. I don't know of any OpenGL drivers since the IRIX days that support aux color buffers.
rivers/dri/intel/intel_clear.c
rivers/x11/xm_api.c
ain/buffers.c
ain/config.h
ain/mtypes.h
wrast/s_buffers.c
|
baf2c746c1fbebb5aa5c430003afc14d2f91c073 |
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove VF_SOURCES, simplify MATH_XFORM_SOURCES
ources.mak
|
23682dc6299ff624405eec4ea61fa504d71764c6 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: just re-order some parts and update comments in sources.mak
ources.mak
|
8d475822e6e19fa79719c856a2db5b6a205db1b9 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename, reorder FRAG_RESULT_x tokens s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
rivers/dri/i915/i915_fragprog.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_program_pair.c
ain/mtypes.h
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvfragparse.h
hader/prog_debug.c
hader/program.c
hader/programopt.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_program.c
wrast/s_context.c
wrast/s_fragprog.c
|
7787fa10bac206f7690fc742b952df99254c4ea1 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add gallium state tracker sources to ALL_SOURCES This should fix some missing dependency checking.
ources.mak
|
4c4268dd31ce119d5d3db090adf0935bf3c27831 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert some #defines to enums This makes debugging with gdb a bit easier. Ex: (gdb) p ctx->DrawBuffer.Attachment[BUFFER_STENCIL] Note however that gdb only seems to recognize enum types that are actually used to declare a variable somewhere. For example, gl_buffer_index isn't used to declare any vars so it's invisible to gdb. Work around this by adding a dummy function in context.c that declares some vars with these new types.
ain/context.c
ain/mtypes.h
|
c50c2e4e986024c728cc35e56e56250e947080a6 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _GenFlags = 0x0 to texgen loop
ain/texstate.c
|
c88c8d7993547796eae52e5e63685d722c548b52 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use fp pointer in _tnl_InvalidateState()
nl/t_context.c
|
b2b2febe2ca5a1e7c005e518a24ea85f033449ab |
28-Feb-2009 |
Joakim Sindholt <zhasha@gallium-dev.(none)> |
mesa: fix remaining FEEDBACK_TOKEN macros Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
tate_tracker/st_cb_feedback.c
|
b7ebc270a4b464eb2136e9c45fdfeed798c007c8 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move #include "bitset.h" out of mtypes.h - not needed in core Mesa
ain/mtypes.h
nl/t_context.h
|
079554a480f62674b27cea5ff8bb655589e06166 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add a prototype to silence warnings
nl_dd/t_dd_vb.c
|
ae5c06b9ce1191afaa95dd784d7315f25ec729ff |
28-Feb-2009 |
David Miller <davem@davemloft.net> |
mesa: Sparc's IROUND() optimization is invalid. We can't use the "fstoi" instruction like this. Unlike other floating point instructions, "fstoi" always rounds towards zero no matter what rounding mode the FPU has been set to. This was validated using the following test program: -------------------- static inline int iround(float f) { int r; __asm__ ("fstoi %1, %0" : "=f" (r) : "f" (f)); return r; } #define IROUND(x) iround(x) #define IROUND_REF(f) ((int) (((f) >= 0.0F) ? ((f) + 0.5F) : ((f) - 0.5F))) int main(void) { float f = -2.0; while (f < 3.0f) { int sparc_val = IROUND(f); int ref_val = IROUND_REF(f); if (sparc_val != ref_val) printf("DIFFERENT[%f]: REF==%d SPARC==%d\n", f, ref_val, sparc_val); f += 0.1f; } return 0; } -------------------- which prints out things like: -------------------- DIFFERENT[-1.900000]: REF==-2 SPARC==-1 DIFFERENT[-1.800000]: REF==-2 SPARC==-1 DIFFERENT[-1.700000]: REF==-2 SPARC==-1 DIFFERENT[-1.600000]: REF==-2 SPARC==-1 DIFFERENT[-1.000000]: REF==-1 SPARC==0 DIFFERENT[-0.900000]: REF==-1 SPARC==0 DIFFERENT[-0.800000]: REF==-1 SPARC==0 DIFFERENT[-0.700000]: REF==-1 SPARC==0 DIFFERENT[-0.600000]: REF==-1 SPARC==0 DIFFERENT[0.500000]: REF==1 SPARC==0 DIFFERENT[0.600000]: REF==1 SPARC==0 ... -------------------- So we have to remove Sparc's IROUND() definition, it's wrong. Signed-off-by: David S. Miller <davem@davemloft.net>
ain/imports.h
|
389d50baff8234fdf4d7bcddeb09658d7d17012d |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move GLfixed type and related macros to swrast module Fixed point is only used in swrast and sw-based drivers.
ain/mtypes.h
wrast/s_context.h
wrast/swrast.h
|
8bf25a17d2f8f888e8e8a4f7a2c6d68c6c06f6e8 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert macro to inline function
ain/feedback.c
|
bf8a187f71bd667a0dc0f70164a897d8e62361a8 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace FEEDBACK_TOKEN macro with _mesa_feedback_token() inline function
ain/drawpix.c
ain/feedback.c
ain/feedback.h
wrast/s_feedback.c
|
559aec47015b741e045d57362f7732b3a04f9450 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: comments, whitespace, reformatting
ain/feedback.c
ain/feedback.h
|
f6021ab3c631345d013437d53a7bc1a4e2359ad4 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove dead code
ain/feedback.c
|
7f25d9ebb4856273c46ea4bbba4152b85f610a91 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_attrib_node struct to attrib.c too
ain/attrib.c
ain/mtypes.h
|
55399c29511a47bd52c39862a246f29e6f35c3cf |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_enable_attrib struct to attrib.c, the only place it's used
ain/attrib.c
ain/mtypes.h
|
bedd20743b80b5a6d7d9954e4479a44a76c7ea02 |
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lots of updated comments, formatting clean-ups
ain/mtypes.h
|
c6bde8873fbda6d8467600b7491d8543c75b0509 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove some unneeded buffer unmap calls Core mesa now unmaps the buffers if needed in these cases.
rivers/dri/intel/intel_buffer_objects.c
|
a070937c00828ef0c0d618df7cc4845b0a21bbf3 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update fragResults array in arb_output_attrib_string() Plus add some comments.
hader/prog_print.c
|
67025f789324163a69771436e852975d3acbcd86 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set bufObj->Pointer = NULL after unmapping Also, ctx->Driver.UnmapBuffer can never be null, so remove conditional.
ain/bufferobj.c
|
a7f434b486187129ae8d5507170c42a9ce750258 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: if a buffer object is mapped when glDeleteBuffers() is called, unmap it
ain/bufferobj.c
|
395bcad8c095e78621e7aca18af1dab71fe69813 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comments
ain/bufferobj.c
|
75e3ccf6a5b639834bcda0ff6f9035b148fca8f1 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error handling in glBufferDataARB() If glBufferDataARB() is called while a buffer object is currently mapped we're supposed to unmap the current buffer, then replace it. Don't generate an error.
ain/bufferobj.c
|
40290745ea645b52d30f866abfe25ac5d58a755c |
23-Feb-2009 |
Shaohua Li <shaohua.li@intel.com> |
i915: Add support for a new G33-like chipset. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
863c76a7bb0ecf0cd492d9ddb0dcac8e12da75e0 |
27-Feb-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R300: add support for RS600 chips
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
5a34ace3e6f507b4a7bd0f99051b64167549672c |
27-Feb-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R300: set the number of GB pipes on all r3xx-r5xx chips
rivers/dri/radeon/radeon_screen.c
|
17c7852bf93c4d4edf0c2cf0bdc553d399e2f51a |
27-Feb-2009 |
Robert Ellison <papillo@vmware.com> |
i965: texture fixes: bordered textures, fallback rendering i965 doesn't natively support GL_CLAMP; it treats it like GL_CLAMP_TO_EDGE, which fails conformance tests. This fix adds a clause to the check_fallbacks() test to check whether GL_CLAMP is in use on any enabled 2D texture. If so, and if strict conformance is required (via INTEL_STRICT_CONFORMANCE), a software fallback is mandated. In addition, validate textures *before* checking for fallbacks, rather than after; otherwise, the texture state is never validated and can't be trusted. (In particular, if texturing is enabled and the sampler would access any level beyond level 0 of a texture, the sampler will segfault, because texture validation sets the firstLevel and lastLevel fields of a texture object so that the valid levels will be mapped and accessed correctly. If texture validation doesn't occur, only level 0 is accessed correctly, and that only because firstLevel and lastLevel happen to be set to 0.)
rivers/dri/i965/brw_draw.c
|
026465b9b1aebab98b6d519b75fe96d0ca9f4f51 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
gallium: fix state tracker's stencil buffer test Need to check ctx->DrawBuffer->Visual.stencilBits not ctx->Visual.stencilBits because the later only applies to the window system buffers, not user-created FBOs. This, plus the previous commit, fixes progs/tests/fbotexture.c
tate_tracker/st_atom_depth.c
|
5fc74734d92f7e7ff3df693254986ba5d2b5e653 |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
gallium: add st_validate_framebuffer() driver function Gallium only supports combined depth/stencil buffers, not separate ones. If the user tries to create create a FBO with separate depth/stencil renderbuffers mark the FBO as unsupported.
tate_tracker/st_cb_fbo.c
|
cf89f063634ff89cbd732bf67950debc94897ed9 |
27-Feb-2009 |
David Miller <davem@davemloft.net> |
mesa: Fix and re-enable sparc normal asm. Fix a bug reported in 2003 :-) The output vector has 4 entries, not 3. Unconditionally emit .register directives. Signed-off-by: David S. Miller <davem@davemloft.net>
parc/norm.S
parc/sparc.c
|
bde27b0d94dc2b3d0d4656e2c85ecbbd1245b3ac |
27-Feb-2009 |
David Miller <davem@davemloft.net> |
mesa: Fix Sparc cliptest asm code and re-enable. Stop using register %g7 since that is used by the "system" (ie. the pthread implementation makes use of it). Also, the projection vector can be NULL and we shouldn't try to access it at all in _mesa_sparc_cliptest_points4_np(). ioquake3 would crash due to this bug. Finally, unconditionally emit the register directives and re-enable in _mesa_init_all_sparc_transform_asm(). Signed-off-by: David S. Miller <davem@davemloft.net>
parc/clip.S
parc/sparc.c
|
0dba8883e3f6d51bf3a2918ac21770326da2664a |
27-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: make ste text buffer work with > 2048 on r500
rivers/dri/r300/r300_texstate.c
|
26c1b0af024e4847ce1000ee471ab5b5bdb18a1b |
27-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add more fbconfigs this makes glxgears get its background back when running under DRI2
rivers/dri/radeon/radeon_screen.c
|
7f44b62a4a90242ef824f9751affe5c46e401691 |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: remove depth offset exits in favour of rrb depth changes
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
18e01393b83b2a1b78a0c0cee7fd3713cb3bc373 |
27-Feb-2009 |
David S. Miller <davem@davemloft.net> |
mesa: Fix DEBUG_MATH build on sparc. Need to use '__asm__' instead of plain 'asm'. math/m_debug_clip.c: In function ‘test_cliptest_function’: math/m_debug_clip.c:253: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘asm’ math/m_debug_clip.c:253: warning: implicit declaration of function ‘asm’ Signed-off-by: David S. Miller <davem@davemloft.net>
ath/m_debug_util.h
|
4f8ed56d168e9175e76bc42d8b924c7bcaa59dea |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: no-op the intel_finish_render_texture() function It doesn't have to do anything. See comments for more details.
rivers/dri/intel/intel_fbo.c
|
f77b720cde981d441e482bbbd68115634b3041ce |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: check texture formats in intel_validate_framebuffer() We can't render into any texture format; only certain formats. Check that render-to-texture's format is renderable in the intel_validate_framebuffer() There seems to be a bug somewhere that causes rendering to rgb565 textures to be corrupted so disallow that for now. This will be revisted.
rivers/dri/intel/intel_fbo.c
|
645f220710923f72e80281fa75e577e133b5a53c |
27-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: updated comment, some debug code (disabled)
rivers/dri/intel/intel_tex_format.c
|
cdc63901df6af3b370935bd4997e3c9c4eb4b933 |
26-Feb-2009 |
root <root@i965.localnet.net> |
i965: rename draw_regions -> color_regions Be a little more specific about what these are.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_surface_state.c
|
16144632354cb310f090c8713a11d3c65696969e |
26-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid extraneous calls to ctx->Driver.BindFramebuffer() Only call this driver function when we really need to bind different buffers.
ain/fbobject.c
|
ecdf3ce436c004365c4d3c468bf1f9ef9138853e |
26-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: add missing init for region->width This doesn't seem to really effect anything but seeing width=0 in drawing regions was confusing.
rivers/dri/intel/intel_regions.c
|
8ae7e7749b708fc5a46180d3de2503ba7e2ab1f3 |
24-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace old prog_instruction::Sampler field with Aux field The i965 driver needs an extra instruction field for color output information. It was using the Sampler field for this. Use the Aux field instead. This will probaby be revisited at some point...
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
hader/prog_instruction.h
|
9b78d9f65178648b1888f98153a2f738a281cb84 |
24-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: whitespace/indentation fixes
rivers/dri/i965/brw_wm_fp.c
|
857ac1e817808f4b6bf985679162d0e3d709e5b5 |
26-Feb-2009 |
David S. Miller <davem@davemloft.net> |
mesa: Resurrect SPARC asm code. This rewrites the sparc GLAPI code so that it's PIC friendly and works with all of the TLS/PTHREADS/64-bit/32-bit combinations properly. As a result we can turn SPARC asm back on. Currently it's only enabled on Linux, as that's the only place where I can test this stuff out. For the moment the cliptest SPARC asm routines are disabled as they are non-working. The problem is that they use register %g7 as a temporary which is where the threading libraries store the thread pointer on SPARC. I will fix that code up in a future change as it's a pretty important routine to optimize. Like x86 we do the runtime patch as a pthread once-invoked initializer in init_glapi_relocs(). Unlike x86, however, our GLAPI stubs on SPARC are just two instruction sequences that branch to a trampoline and put the GLAPI offset into a register. The trampoline is what we run-time patch. The stubs thus all look like: glFoo: ba __glapi_sparc_foo_stub sethi GLAPI_OFFSET(glFOO) * PTR_SIZE, %g3 This actually makes generate_entrypoint() a lot simpler on SPARC. For this case in generate_entrypoint() we generate stubs using a 'call' instead of the 'ba' above to make sure it can reach. In order to get a proper tail call going here, in the unpatched case, we do several tricks. To get the current PC, for example, we save the return address register into a temporary, do a call, save the return address register written by the call to another temporary, then restore the original return address register value. This is to avoid having to allocate a stack frame. This is necessary for PIC address formation. This new GLAPI scheme lets us get rid of the ugly SPARC GLAPI hacks in __glXInitialize() and one_time_init(). Signed-off-by: David S. Miller <davem@davemloft.net>
lapi/gl_SPARC_asm.py
lapi/glapi.c
lapi/glapi_getproc.c
ain/context.c
parc/glapi_sparc.S
parc/sparc.c
parc/sparc.h
|
b12dc74f86c611483465c08504dc8a564f927b15 |
26-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Revert disable of accelerated Bitmap, which slipped in with spans stuff.
rivers/dri/intel/intel_pixel_bitmap.c
|
294aab9b713f4646992cf72b19a492285a4bbcdb |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fixup emit sizes for kms
rivers/dri/r200/r200_state_init.c
|
5add2c88bdcf0f892b65d6074986672fe4c1bdfe |
26-Feb-2009 |
Tomas Carnecky <tom@dbservice.com> |
Fix "cast to pointer from integer of different size" The script generates code like: pixels = (const GLvoid *) (ptr_is_null != 0) ? NULL : (pc + 80); which causes the above mentioned warning. Add parenthesis around the whole expression to fix it. Signed-off-by: Tomas Carnecky <tom@dbservice.com>
lapi/glX_proto_recv.py
|
e267a090ab7be5dbd9a40887726e6ae696bc7be3 |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: port over cs emit changes from radeon
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_state_init.c
|
68915fd6fac44dd000080298e3afb0669e8754aa |
26-Feb-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix for RHW workaround It is possible that an object whose vertices all are outside of a view plane is passed to clip thread due to the RHW workaround. This object should be rejected by clip thread. Fix bug #19879
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
|
2972d065265d38c7902ffeaa1e71706895649bec |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup old packets emission for CS case
rivers/dri/radeon/radeon_ioctl.c
|
160c3617fc8867edc445b1ba62fc996c4630cc35 |
26-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Disable creating DRI2 FBconfigs with depth size != color size. While it's a nice idea to be able to allow clients to choose a smaller (or bigger for 16bpp screens!) depth size, right now DRI2 hands back a buffer with a size that matches the drawable, rather than being based off of the visual. This led to problems in readback as parts of the driver disagreed on what format the depth buffer was really in. Fixes the remainder of bug #19447.
rivers/dri/intel/intel_screen.c
|
2b34275a784501225f605f11db801b5f2d7cdc64 |
26-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add span code for z24 without stencil. It seems that in this case the Mesa code is handing us x8z24 values instead of z24s8 values, so we need to not do the rotation. Fixes half of OGLconform depthrange.c. Bug #19447.
rivers/dri/intel/intel_span.c
|
43a45439465eff483486e7f86620e1d09978497f |
26-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: make template wrappers for the spans templates. This is insanity, but so is copying the same blocks containing the actual interesting code in the file three times each for the different tile formats.
rivers/dri/intel/intel_depthtmp.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_spantmp.h
|
119f34e2a52d7e074ea51d49acf6c11d83142ccc |
26-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix up x8r8g8b8 renderbuffer format so that alpha=1 spans code happens. I was lured into a false sense of security by the fact that the spans code was already there, and a bunch of tests didn't catch the problem. oglconform's mask.c did, though. Bug #19970.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_screen.c
|
6d7164705b933c754dddea6015b653a3bacc75bf |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r100: fixup kms state emissions
rivers/dri/radeon/radeon_state_init.c
|
6415e64cbc55b2e11b9ed3f3a861e28479f85d68 |
25-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: avoid page flip code in DRI2
rivers/dri/radeon/radeon_state.c
|
3ec7137a75f8832bba52f98669b93d4135ae1a3f |
25-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: enable DRI2 for r100
rivers/dri/radeon/radeon_screen.c
|
925ea2d9a5096dbad1d82dc1afffb13a650de799 |
25-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: move CB/ZB state init into emit code This removes the use of the sarea for this stuff so makes DRI2 easier and emits the CB/ZB info in the correct place
rivers/dri/radeon/radeon_state_init.c
|
158ede35d50faae7cbc8aa2bb9288f93c9e60962 |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fixup texture state emission for kms path
rivers/dri/r300/r300_cmdbuf.c
|
2c033f3893e808f109807f5e4744b61e79e78055 |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: don't call page flip on DRI2
rivers/dri/r300/r300_state.c
|
bc5f94c1e1fddcf2b2a50972cb96e2593b288994 |
26-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: don't flush VAP too often. Flush the VAP the first time for each state atom we upload new VAP data
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
|
d0415a5a01c1a8c2c2a389d977401a7f6cee031b |
25-Feb-2009 |
Eric Anholt <eric@anholt.net> |
i965: Rename CMD_CONST_BUFFER_STATE to the CS_URB_STATE used in the docs.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_structs.h
|
69f080cefced8b3395cdf179c107303a1013d196 |
25-Feb-2009 |
Alex Deucher <alexdeucher@gmail.com> |
R300: Add support for RS600 chips
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
199867bd4585036f19e219562c22a9b499a7b0d2 |
25-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: drop r300Flush for the generic one
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_texstate.c
|
bfdbbfb0251bcd17c1a559668d0f4a0d36847a84 |
25-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix merge conflict (in comment)
ain/version.h
|
18d2745765715b03f9fda9a4c31d3678dc0bc457 |
24-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: silence warning
hader/slang/slang_builtin.c
|
dd9742dc9ffc976d3caae87c1302b7b5ed7d3838 |
24-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use quotes for #include
ain/glheader.h
|
2ebf9b95213b3d1e67dad16442cdd0d8571ef0b3 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix bo ref/unref, plugs DRI handle leaks
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
c32a28d86eda3d1984f6a571be0db6c6f5c7f5dc |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fixup old setTexOffset DRI1 extension
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_screen.c
|
f4502f0f8c065f28c257b7be67021d3920e51a99 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add more debug info to the flush debug
rivers/dri/radeon/radeon_common.c
|
018f5f92cc8f41f6071af4fe16745ccc19231e18 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: revert back autostate change on cacheflush emit
rivers/dri/r300/r300_emit.c
|
13ed7985b245770259681d9dc6bff16354a78be5 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: use OUT_BATCH_REGVAL in a few more places
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
|
6ffd472b0e44f835c1c8880e3e27bdd33905e08e |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: set u to 0 so debug logs are easier to read
rivers/dri/r300/r300_emit.h
|
8c239704792712c246d04450cab8aa167ed8680c |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: stabilise r300 driver like the F10 mesa bufmgr For some reason flushs caused by this CS needs flush hook, caused the chip to lockup on r300 under compiz, whereas the F10 driver was rock solid.
rivers/dri/radeon/radeon_cs_legacy.c
|
77161c5ff51a7b8fcd7043b94c2cb86cb1d57d79 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add some debugging for flush ioctls
rivers/dri/radeon/radeon_common.c
|
d4bfe34cb9a06f887e243cde936982342d4894c6 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: make state atom print like old r300 code
rivers/dri/radeon/radeon_common.c
|
b4a90c62134e7cf3af4ce52baa923a875ff292c1 |
23-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup legacy bo/cs out of VRAM waiting. This is similiar to the code from the F10 r300 bufmgr
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_cs_legacy.c
|
93d101f0c3b2b7b6909d6f98a0d04b978b4ae29a |
24-Feb-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: support l8 as well as i8 in bitmap code Also don't send the partial program fragment down to hardware -- the program will never be used in that form.
tate_tracker/st_cb_bitmap.c
|
693fac8ae2e5812265222b1335695bd33b90bd8a |
24-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Add pipe_buffer_write/read inlines. Saves code, and will simplify future interface changes.
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
c5dd8634c8d3487a171cd129c2b7ac6e205e72a7 |
24-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: List new source file in SConscript.
Conscript
|
00f0b05d5f14256213f744c3b8e4ce82611e0ba1 |
24-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: yet another swizzled expression fix This fixes swizzled conditional expressions such "(b ? p : q).x"
hader/slang/slang_emit.c
|
f24ec991906e04ea6dc4f950b1f49dfda95f3f18 |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
gallium: include st_cb_viewport.h to silence warning
tate_tracker/st_context.c
|
d6edbfc04a68f02c1770136397b1691a0c520131 |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
gallium: fix build breakage in st_cb_viewport.c
tate_tracker/st_cb_viewport.c
|
d9881356a64b848dbae5fffd77fd93d0eb4247a3 |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix another swizzle-related bug This fixes the case of "infinitely" nested swizzles such as EXPR.wzyx.yxwz.xxyz This doesn't appear in typical shaders but with function inlining and the compiler's internal use of swizzles it can happen. New glean glsl1 test case added for this.
hader/slang/slang_emit.c
|
01c0c01a6d737d71a75cbd0de65c87c42b7ca230 |
20-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: only call update_buffer when it's available
tate_tracker/st_cb_viewport.c
|
6b722272709abed5468428da5d2c8951c84867d2 |
19-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
gallium: add winsys interface for viewport changes to support DRI2
ources.mak
tate_tracker/st_cb_viewport.c
tate_tracker/st_cb_viewport.h
tate_tracker/st_context.c
|
4fc7cde770a66ff5bcf817af33a7b0b2c04354d5 |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: include compiler.h, fixes cell build, remove Haiku special case
ain/dlopen.c
|
73658ff04fd4cb5f492b0477775430efc5f8b4ca |
21-Feb-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix line stipple fallback for GL_LINE_STRIP primitives When doing line stipple, the stipple count resets on each line segment, unless the primitive is a GL_LINE_LOOP or a GL_LINE_STRIP. The existing code correctly identifies the need for a software fallback to handle conformant line stipple on GL_LINE_LOOP primitives, but neglects to make the same assessment on GL_LINE_STRIP primitives. This fixes it so they match.
rivers/dri/i965/brw_draw.c
|
7399d56ec6019e00297eef57f802a53698baa8ad |
23-Feb-2009 |
Tom Fogal <tfogal@alumni.unh.edu> |
mesa: fix _glxapi_get_proc_address() for mangled names
rivers/x11/glxapi.c
|
41172c04306098ab9ecba8b48d7be47c3911a662 |
23-Feb-2009 |
Tomas Wilhelmsson <tomas.wilhelmsson@gmail.com> |
mesa: fixes for building on Haiku
lapi/glthread.h
ain/dlopen.c
ain/imports.h
86/gen_matypes.c
|
c7bbc9ad126b2b120407146c5aa9894f4487752e |
23-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Enable the use of Win32 threads.
Conscript
|
1456af2f2d7602a1f1fca54d8fe625e25851e441 |
23-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix windows build.
lapi/glthread.h
ain/dlopen.c
|
27a8432e35669920fa8e985819ba3ef8b258127d |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded #include
ain/context.h
|
1d5a68970f1d8fcca29ce24e6667a143733197f0 |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: #include, misc clean-ups
ain/mtypes.h
|
c74992d840b7a8f7f50e778e692e40681aa166ca |
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded #includes
ain/dlopen.c
|
f2c023291a1f2887294d2aac504f8b82857ad092 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move a bunch of compiler-related stuff into new compiler.h header This trims down and cleans up imports.h and glheader.h quite a bit.
rivers/x11/glxapi.c
lapi/gl_enums.py
lapi/glapi.c
lapi/glapi_getproc.c
lapi/glthread.c
ain/api_exec.c
ain/compiler.h
ain/config.h
ain/context.c
ain/dispatch.c
ain/dlist.c
ain/enums.c
ain/glheader.h
ain/imports.h
ain/mtypes.h
ain/texobj.c
ain/texstate.c
tate_tracker/st_cb_texture.c
|
d909dbcc43c5c1d51a3946488e68a7cd1fbfe920 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ENABLE_TEXGENx, ENABLE_TEXMATx flags
ain/mtypes.h
|
c7377e2d47c6a1dfa508deee66b686e2c0b6ee27 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: assorted clean-ups, var renaming, etc.
ain/texstate.c
|
901568d068c0fa9b837c2e163ee7af9358a3caa0 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify texture combine state copying in _mesa_copy_texture_state() Just copy the whole struct.
ain/texstate.c
|
0057f5b8cd93ebeb66392defc7285e3e474aa411 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant assertions (same asserts in context.c)
ain/texstate.c
|
487a55af7864a3b16531af5481aab7f585622e4a |
22-Feb-2009 |
Dave Airlie <airlied@linux.ie> |
texmem: fix typo from brianp's changes. Reported by cjb via tinderbox on irc
rivers/dri/common/texmem.c
|
4447fddc82a2c0245e798c90492293d875d186d0 |
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glapi: update find_entry() for mangled names
lapi/glapi_getproc.c
|
da46db60a04da87da1277b4316e30bfe4b2c7d8a |
22-Feb-2009 |
Tom Fogal <tfogal@sci.utah.edu> |
mesa: added extern qualifier
ain/fbobject.h
|
d059d030342fc232a5b54298c0591f5f814f4adb |
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use enums for TEXTURE_x_INDEX values Plus, put them in the order of highest to lowest priority to simplify the texture_override() loop.
ain/context.c
ain/mtypes.h
ain/texstate.c
|
9818734e0148510967ca9ee0d1aa8b196b509f02 |
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use an array for current texture objects Use loops to consolidate lots of texture object code.
rivers/dri/common/texmem.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/mga/mga_texstate.c
rivers/dri/r300/r300_state.c
rivers/dri/s3v/s3v_tex.c
rivers/x11/xm_api.c
ain/attrib.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texparam.c
ain/texstate.c
tate_tracker/st_texture.c
wrast/s_triangle.c
|
4d24b639d160fe485a3e8f7395e7654538be29e0 |
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use an array for default texture objects Replace Default1D/2D/3D/Cube/etc with DefaultTex[TEXTURE_x_INDEX]. The same should be done with the Current1D/2D/3D/etc pointers...
ain/context.c
ain/mtypes.h
ain/texobj.c
ain/texstate.c
|
9705cff2033f1771a39ac3bb78eb5fcea522218a |
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: re-org texgen state New gl_texgen struct allows quite a bit of code reduction.
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
ain/attrib.c
ain/ffvertex_prog.c
ain/mtypes.h
ain/texgen.c
ain/texstate.c
hader/prog_statevars.c
nl/t_rasterpos.c
nl/t_vb_texgen.c
|
5b354d39d466e3a463c6766fe06f737aa6e6b7bd |
13-Feb-2009 |
Kristian Høgsberg <krh@redhat.com> |
intel: Fix intelSetTexBuffer miptree leak. The intelImage also holds a reference to the miptree, so unref that as well.
rivers/dri/intel/intel_tex_image.c
|
40dd024be618d805b3744e15d25e115018641324 |
18-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: tell libdrm whether we want a cpu-ready or gpu-ready BO for regions. This lets us avoid allocing new buffers for renderbuffers, finalized miptrees, and PBO-uploaded textures when there's an unreferenced but still active one cached, while also avoiding CPU waits for batchbuffers and CPU-uploaded textures. The size of BOs allocated for a desktop running current GL cairogears on i915 is cut in half with this. Note that this means we require libdrm 2.4.5.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
078e8a61b2aa547c6794f586a5c8bfaa575bb066 |
19-Feb-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix render target read domains. We were asking for something illegal (write_domain != 0 && read_domains != write_domain) because at the time of writing the region surfaces were used for texturing occasionally as well, and we weren't really clear on the model GEM was going to use. This reliably triggered a kernel bug with domain handling, resulting in oglconform mustpass.c failure. Of course, it only became visible after 01bc4d441fd6821ad9fc20d5e9544e4e587e4ff0 cleaned up some gratuitous flushing.
rivers/dri/i965/brw_wm_surface_state.c
|
776971218ef6c6749fcb882a95ae5fc3a1ff5059 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX instructions These texture types were defined but never put to use. For the time being though, the Mesa->TGSI translater isn't emitting these targets. See the XXX comment in map_texture_target().
tate_tracker/st_mesa_to_tgsi.c
|
e0d907308150b4863cc4f24543e70e14207e966a |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: use the new prog_instruction::TexShadow field GLSL shadow() sampler calls are properly propogated down to the driver now. The glean glsl1 shadow() tests work (except for the alpha channel).
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
|
773e9d47651149158e58916616235b26904c3665 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: check depth_mode in translate_tex_format() for MESA_FORMAT_S8_Z24 Note that I24X8 vs. A24X8 vs. L24X8 doesn't seem to make any difference for texture/shadow compare, however.
rivers/dri/i965/brw_wm_surface_state.c
|
0ea95ae7420b4217b5c10c7593eb2e08e971bf72 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use new IR opcodes for TEX instructions with shadow comparison Such TEX instructions will have the TexShadow flag set. The gl_program::ShadowSamplers field is now set in the linker. We missed that before.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_link.c
|
44e018c09e7aeba9fd9f4c380da224bd6622c470 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add TexShadow field to prog_instruction If the instruction is TEX/TXP/TXL/etc the TexShadow field will be true if the instruction is a texture fetch with shadow compare.
ain/texenvprogram.c
hader/arbprogparse.c
hader/prog_instruction.h
hader/prog_print.c
|
a79186e29efebed04c927d024b013435e7ff5725 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: separate emit_op() and emit_tex_op() functions
rivers/dri/i965/brw_wm_fp.c
|
e3cc8e8244388f767430bf310f933944664f8e51 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: freshen-up comments, move some fields in prog_instruction
hader/prog_instruction.h
|
55d33e1fa7d231a0cdfce9b9650ae9e136e6c63c |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: update comment, use const qualifier
rivers/dri/i965/brw_wm.c
|
f5674b566e0da9406484cff4249297bd8c6cf445 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: var renaming, clean-up
rivers/dri/i965/brw_program.c
|
fc320d4641e54e19a1f1211e9ecffca7933773f6 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: added comment
rivers/dri/i965/brw_context.h
|
da2b661ee45a2754bab06359477428ef7df570ca |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix datatype typo, s/GLboolean/GLuint/ Fixes mysterious failures in glean glsl1 test.
rivers/dri/intel/intel_clear.c
|
d8de0a2f3a95e424848874f4f5a954c502794e54 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: additional debug output
rivers/dri/i965/brw_wm_glsl.c
|
c0b59420eec5ffdf22a5919d38851c3620b97c09 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: rename GLSL texture assembly instructions to be more legible
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
|
ad2cfa41992d0676881440596c43ab6021c1b025 |
20-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix vec4_texp_rect IR code (need projective version)
hader/slang/slang_codegen.c
|
2b32c7dff51fa9853ba528744bd191400aa4b206 |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: support GL_EXT_stencil_two_side in gallium/mesa state tracker Since Ian's patch of a few weeks ago, we can enable all three variations of two-sided stencil. Update the state tracker to handle the extra back- face state and turn on the EXT. Note: there's a new Glean test for two-sided stencil now...
tate_tracker/st_atom_depth.c
tate_tracker/st_extensions.c
|
a304cc6cca2ee21c3b25041abf882ef0616e5244 |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/update/restore comments related to two-sided stencil
ain/mtypes.h
ain/stencil.c
|
2a968113a925845331f0532a5a20d9fa1502c118 |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initialize ctx->Stencil._BackFace = 1 Back-face stencil operations didn't work correctly because this value was zero. It needs to be 1 or 2. The only place it's set otherwise is in glEnable/Disable(GL_STENCIL_TEST_TWO_SIDE_EXT).
ain/stencil.c
|
da17b36412155e0ed52b2c23eebd64662f642ac2 |
18-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: make DRI2 not crash on compiz start
rivers/dri/r300/r300_texstate.c
|
e9d6beaab4c4b47576fb422ace0434e0fbbe567a |
18-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: move device param id check ifndef
rivers/dri/radeon/radeon_bocs_wrapper.h
|
745c78733822573a5791fbae9b3e8fab785f7aca |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: initialise swapped objects pointer
rivers/dri/radeon/radeon_bo_legacy.c
|
9c040745fe1d8c6cad3ac79030ead13fbcb5ae4d |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: legacy texMem interface fixups. The texmem.c interface is wildly messed up it really wants to own the objects so let it, pain in the ass but this code should work a lot better now
rivers/dri/radeon/radeon_bo_legacy.c
|
7ce6af25e56e28a819c38e60b4371caea3c8b5b0 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
Revert "dri/radeon: export a function to cleanup a texture object." This reverts commit 5325f8624093bb1ec30d581b4ff64218ceab99f9.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/radeon/radeon_bo_legacy.c
|
2ba4fc3d603ebc9e3210ef96f9fbc2cd488e0a33 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: drop legacy texture heap code
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
|
48e7b940ebc2cb3594074ca35fad9c63f6568582 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fixup texturing aging calls
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
7c7ff659ce7684f44b064c09cdca6436d2c2bf64 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup destroy texture object exit path and update LRU the destroy path was doing bad things with structure names, make it do less bad things, use container_of instead
rivers/dri/radeon/radeon_bo_legacy.c
|
43c71a2d40d417cf721656e8b088e375dc4bdedb |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove leftover debug
rivers/dri/radeon/radeon_texture.c
|
62d504d818f1ab1836a134658b1661ceabb65f1f |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: drop dirty state from texture object + pp_txoffset this is just more code cleanup for old dead code
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
a365f9b78bb493a5202c9a4985de40979ed42038 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: align with r100 code
rivers/dri/r200/r200_texstate.c
|
646325a5efb3cf4157623d115d6d8fa36f0b357d |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix not emitting texture state correctly this is whole texture dirty bit is probably not needed with the current codebase, need to revisit
rivers/dri/radeon/radeon_texstate.c
|
0a8cba9a65e6ec1159a08725d2101e7eabb4526b |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: steal miptree optimisation from intel codebase This replaces a miptree if it won't distrub anything else.
rivers/dri/radeon/radeon_texture.c
|
7a1dbcabf3f2599c90665e7fdbdba8698528841a |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: move YUV on first texunit check after hw state is setup
rivers/dri/radeon/radeon_texstate.c
|
5325f8624093bb1ec30d581b4ff64218ceab99f9 |
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
dri/radeon: export a function to cleanup a texture object. The radeon legacy code want to cleanup not free the texture obj, so export a function to do that and wrap it.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/radeon/radeon_bo_legacy.c
|
ecf0a3eac1a4868da83ab0a3c21e2f265f7cf9e2 |
16-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix texcompress2 test. this makes compressed subimages work properly.
rivers/dri/radeon/radeon_texture.c
|
f069bc4a8e628197a11ff7eb447a88a59d819689 |
16-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix compressed tex subimage unpack parameter
rivers/dri/radeon/radeon_texture.c
|
b0e8ac8fd2eeb88b5f9299afb36102113a2435d4 |
15-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add cflags to decide whether to link libdrm_radeon or not. You don't need libdrm_radeon for the legacy driver to build, only for the experimental mm/cs paths.
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/radeon/Makefile
|
7d19d2768491f4de3b674106e93c24d29712404f |
14-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
radeon-common: Fix crash in glGetTexImage Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r200/r200_tex.c
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
2d9471b28159b9af952c6a87868ff648a6055c55 |
14-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix crash in cubemap tree creation The mip tree creation would crash if the first baselevel image to be uploaded was not the positive-x image. Found with Sauerbraten, also added a regression test to Piglit. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/radeon/radeon_mipmap_tree.c
|
85b0c171c04c00b4ca9e11a1c79872f5e0cbaf9c |
19-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Free the util shaders with the gallium's FREE.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
|
9a26164f3525c31607e3e676e0d41e496dada4c2 |
14-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Redirect constant TEX coordinates R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
|
5f3ab230ea3e971737b733b0c0358c0a85061f5c |
14-Feb-2009 |
Michel Dänzer <michel@daenzer.net> |
r300: Fix R300_CMD_SCRATCH on big endian.
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
|
b1b7bc66a414d200102a90ed0580c3fd80a45838 |
14-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove unused radeon_compat.c
rivers/dri/radeon/radeon_compat.c
|
f8c2beccd4847836dec18849d2d58f3220ff81eb |
14-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fixup cube emit debug
rivers/dri/r200/r200_state_init.c
|
fd81835dc7ac71eac2a5fcc58080b9b4c6944c83 |
14-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix another cmdbuf sizing issue
rivers/dri/r200/r200_cmdbuf.c
|
5761c64823c10093c0f72bc8a62c99b86362e4e5 |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert VERT_RESULT_* from #defines to enum, like the others
ain/mtypes.h
|
c4ffbf009e76289fec53c82ce12da8de89d8b7af |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: asst improvements, clean-ups in set_program_uniform() Move the is_boolean/integer_type() calls out of the loops. Move the is_sampler_type() function near the bool/int functions. Add a bunch of comments.
hader/shader_api.c
|
b9d8f717d299c388c0dd238d6315e5becd120406 |
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix inequality in set_program_uniform() We were off by one when checking for too many uniform values.
hader/shader_api.c
|
dac19f17f360b730a0e6d651ef2e5b03c59b9b53 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix link failure for variable-indexed varying output arrays If the vertex shader writes to a varying array with a variable index, mark all the elements of that array as being written. For example, if the vertex shader does: for (i = 0; i < 4; i++) gl_TexCoord[i] = expr; Mark all texcoord outputs as being written, not just the first. Linking will fail if a fragment shader tries to read an input that's not written by the vertex shader. Before this fix, this linker test could fail.
hader/slang/slang_link.c
|
be3813d58adc0060c9f7a13ac7865217b96ea477 |
15-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
swrast: Set vp_override flag during DrawPixels Obviously, the color of fragments produced by DrawPixels is not constant, even if the current vertex array / vertex program state indicates that the color for normal rendering will be constant. Therefore, we need to override certain optimisations that have been added to texenvprogram.c Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
wrast/s_drawpix.c
|
621c999d823eed077aee9ac0779077ba2f0c5e5a |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: improved error msg
hader/shader_api.c
|
5b2f8dc01300058d43d8043aa897722f39657e93 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: increase MAX_UNIFORMS to 1024 (of vec4 type) Old limit was 256. Note that no arrays are declared to this size. The only place we have to be careful about raising this limit is the prog_src/dst_register Index bitfields. These have been bumped up too. Added assertions to check we don't exceed the bitfield in the future too.
ain/config.h
hader/prog_instruction.h
hader/program.c
|
212f41b80fe00a8d44d79f2c8e4018836adb8b86 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix a swizzle-related regression This new issue was exposed by commit 6eabfc27f19a10dfc2663e99f9560966ba1ff697
hader/slang/slang_emit.c
|
3bd7c5ceffc88a052c5e8e114df2f2c7549ddb4a |
18-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
Merge branch 'gallium-texture-transfer' Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
|
3da38db5949f4c73ec01282ebf9138a0510abbee |
16-Feb-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: fix merge It looks like I resolved the merge conflicts but did not save my emacs buffers before committing...
tate_tracker/st_cb_accum.c
|
59d54334c96f44ed1d8bf660dc96221362a77d04 |
16-Feb-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'master' into gallium-texture-transfer Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
|
c5c383596ddb26cd75e4b355918ad16915283b59 |
16-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove old comments Note: the default value for EmitCondCodes is FALSE. This means the GLSL compiler will emit code like this: SEQ TEMP[0].x, A, B; IF TEMP[0].x; ... ENDIF But if EmitCondCodes is TRUE, condition codes will be used instead: SEQ.C TEMP[0].x, A, B; IF (NE.xxxx); ... ENDIF
hader/shader_api.c
|
a9e753c84cc5acc2a89686a5e4109f3b056d4fb4 |
16-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: tell GLSL compiler to emit code using condition codes The default for EmitCondCodes got flipped when gallium-0.2 was merged. This fixes GLSL if/else/endif regressions. Drivers that use GLSL should always explicitly set the flag to be safe.
rivers/dri/i965/brw_context.c
|
9d49802b7a3a1e292965098da41c459fabf84cc4 |
16-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: silence some uninit var warnings
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
8520b15018ca10e2bc47c1db4f7378df6d3c2e99 |
14-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Redirect constant TEX coordinates R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
|
f3a1f321cfa275eba6186626ee691e8bc9ecfe8c |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: check for valid bo in release arrays
rivers/dri/radeon/radeon_maos_verts.c
|
fcc7a691dc968d9d2bc61a8bf18dfbd7ed789598 |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove old cube code
rivers/dri/radeon/radeon_texstate.c
|
c51c822ee02cb47ddba46da668577d51b7c02831 |
14-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: rewrite the code for handling shader subroutine calls Previously, the prog_instruction::Data field was used to map original Mesa instructions to brw instructions in order to resolve subroutine calls. This was a rather tangled mess. Plus it's an obstacle to implementing dynamic allocation/growing of the instruction buffer (it's still a fixed size). Mesa's GLSL compiler emits a label for each subroutine and CAL instruction. Now we use those labels to patch the subroutine calls after code generation has been done. We just keep a list of all CAL instructions that needs patching and a list of all subroutine labels. It's a simple matter to resolve them. This also consolidates some redundant post-emit code between brw_vs_emit.c and brw_wm_glsl.c and removes some loops that cleared the prog_instruction::Data fields at the end. Plus, a bunch of new comments.
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
|
74b6d55864b9264323a09856781f655e453b182b |
14-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: add missing break for OPCODE_RET case This doesn't effect correctness, but we were emitting an extraneous ADD.
rivers/dri/i965/brw_vs_emit.c
|
97937e0ac8d5f46722af98ca40fba3f7a989d97d |
13-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: the return value of translate_insn() is never used. Make it void.
rivers/dri/i965/brw_wm_pass0.c
|
2f2082bf16ca86b8ebea9e04b77011f74d09c3db |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor clean-ups
rivers/dri/i965/brw_eu_emit.c
|
2f78d4a2cd009d8d6a5f470d5738586b7f89f3d9 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: code clean-ups, comments, and minor refactoring
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_fp.c
|
7cffcaaba1a5960c0b890b2b4bc835c3020a5ab0 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: updated comments
rivers/dri/i965/brw_wm_glsl.c
|
643d9401388be0c16ca0df8ea20dead6d31850de |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: turn on GL_ARB_shading_language_120 It's done in the Mesa GLSL compiler. The only part of it that might matter in drivers is the centroid sampling option for MSAA.
rivers/dri/intel/intel_extensions.c
|
11b75eafc7533c152e6306e4d8f85d7268f3cc16 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: more reformatting/clean-up
rivers/dri/i965/brw_wm_glsl.c
|
1a693e90b5594651a3b17f47c7f5f094088c502f |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: s/__inline/INLINE/
rivers/dri/i965/brw_wm_glsl.c
|
984c9636ed21f7d390b4b50c0b1d664506ede0e1 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: formatting and indentation fixes
rivers/dri/i965/brw_wm_glsl.c
|
14dc4937336061c4c8d51c75d96fa216d9edcf2a |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix inconsistant indentation in brw_wm.c
rivers/dri/i965/brw_wm.c
|
88b702e8c47c8930940c396132b2a191d4a3e7ca |
13-Feb-2009 |
Robert Ellison <papillo@i965-laptop.(none)> |
i965: Eric Anholt's patch for bumping up texture sizes I'm committing this because it fixes a conform failure; the failure occurs on the TextureProxy test, where the test attempts to create proxy textures at every level, but fails at the last level (border == 1, width == 1, height == 1) because it's beyond MAX_TEXTURE_LEVELS. Eric's original comment was: idr said that in his review swrast was ready for it, and the 965 driver is advertising it already though it has been resulting in many crashes due to arrays using these defines not being big enough.
ain/config.h
|
ea4bf267e4b023b08043f91ac44592fed1736e7f |
18-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Move p_debug.h into util module. The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
tate_tracker/st_mesa_to_tgsi.c
|
9f731c8962e536965a04635ef8aa135691b32a35 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add some debug code to help diagnose incomplete FBO attachments (disabled)
ain/fbobject.c
|
be8dd0167884b3e135369d0c1b554c3965aedd9d |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix mistake in a comment
hader/slang/slang_emit.c
|
f59719c6c70d6b2a36d329b4cf02a079444cbca7 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: turn on reporting of GLSL version 1.20 The new array features, precision/invariant/centroid qualifiers, etc. were done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns "1.20" now (for drivers that support it anyway).
ain/extensions.c
ain/getstring.c
|
6eabfc27f19a10dfc2663e99f9560966ba1ff697 |
18-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix an array indexing bug This fixes a bug found with swizzled array indexes such as in "array[index.z]" where "index" is an ivec4.
hader/slang/slang_emit.c
|
edd8cb8c872369b5a1d1abfd221ac12e27169acb |
17-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: added --params option to stand-alone GLSL compiler Prints program parameter info
rivers/glslcompiler/glslcompiler.c
|
f88a9015985f1e308496803630221f284a94f397 |
17-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: when printing/dumping instruction, include relative addressing info Not all cases were handled before.
hader/prog_print.c
|
fd51cf1531f1630ee1cb154b3b7fefad9ed820f1 |
17-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix tri clear to do FBO color attachments as well. This is a 2% win in fbo_firecube, and would avoid a sw fallback for masked clears.
rivers/dri/intel/intel_clear.c
|
c06f4e2a371a917cfcce47e7ee4aa8f1f6528e3b |
17-Feb-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil. Noticed this with the fbotexture demo.
rivers/dri/i965/brw_fallback.c
|
60953059ea2319eae4d737831824dbce08ee1725 |
11-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Clean up several 965 memory leaks on context destroy.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
baef7c5474d302f1bc9997b09948fd6b883ec60d |
17-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: remove old comment as it's fixed elsewhere now.
tate_tracker/st_mesa_to_tgsi.c
|
c0ae4d3c55a606ede41399e39e5221b1955ecc22 |
13-Feb-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r300: fix warnings
rivers/dri/r300/r300_tex.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_texture.c
|
cd4e37c8fb7c03e8331a9487d46043eea70fea31 |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add initial cubemap support appears to work
rivers/dri/radeon/radeon_state_init.c
|
7c8836e9ef49d938aa55a1c385b95c6371c301f1 |
13-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Various coordinate fixups for texture transfers. Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
ac53b1b0345f10f988c412af528bfd38052acab5 |
13-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential segfault _tnl_free_vertices() is called from several places during context tear-down. Depending on the order in which the swrast, swrast_setup and tnl context is destroyed we could hit a null pointer here. This doesn't seem to be an actual issue with any Mesa drivers, but let's be safe.
nl/t_vertex.c
|
6559107c7ae67ae6a94f53728cad85137aaf6312 |
13-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add additional texture size/limit assertions
ain/context.c
|
2753dd42fd42a3383d2e74ab231d0b1373a2d46d |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: make setTexOffset work again
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_texture.c
|
f363a97d2586a8487bfa64f882fbfc204a56fd05 |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix set tex offset functions
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
ed8340192ef88bd841966aba10d0043b246805bd |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: revert unneeded change to texturing code
rivers/dri/radeon/radeon_texture.c
|
9fd8da299b4a62c6baf49f08067d7c1ddebb0ffd |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix compressed texture upload on all radeons tested on r200, texcmp works. May need more verification
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_texture.c
|
812389761500456d31aab445c194b4bb15dd0d61 |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: update with changes from r100 driver for texture state
rivers/dri/r200/r200_texstate.c
|
695ca1e2be6f222c132a76299fc3a0ac9143d960 |
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: port over state emit fix from r100
rivers/dri/r200/r200_state_init.c
|
513fc6078431e1f5672795d3601e3255f378c9f8 |
12-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fix GL_DEPTH CopyPixels tile coordinates.
tate_tracker/st_cb_drawpixels.c
|
43ff11e70effad67d992ee735204e6cdb8db7110 |
12-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fix accumulation buffer tile coordinates.
tate_tracker/st_cb_accum.c
|
ade3660942452985afa1bb67bbeab8fed734089d |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fixup some CS emission sizes
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state_init.c
|
393c699e219b6cccf0d235749ec7bfaade75f88c |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: use correct finish interface
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
|
5ee1dd2133c5514713281f32cd4b05fabf14354a |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup include ordering
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_cs_drm.h
|
53116910b10e3b8a05f42970eff311c21808699f |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
Merge remote branch 'origin/master' into radeon-rewrite Conflicts: configure.ac src/mesa/drivers/dri/r200/r200_context.c src/mesa/drivers/dri/r300/r300_render.c
|
7e104f9cde94279a902b408e8d1cf21779b393a8 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix warning about mesa_lock_context_texture
rivers/dri/r300/r300_context.c
|
dc531ba4063a32e21419cd43cdd9019c64569eb5 |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
radeon: add stdint include
rivers/dri/radeon/radeon_bocs_wrapper.h
|
899b91b1fb766f2b716c53a350ff2a078655e6c5 |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
radeon: add mminfo struct to wrapper
rivers/dri/radeon/radeon_bocs_wrapper.h
|
ec0939b01370e9272000fcd4d71a023866e767a0 |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
radeon: add defines for future bits
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_screen.c
|
1e77f7b55c052de238d46df3454bf2f2eb8d7346 |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
r200: make build complete
rivers/dri/radeon/radeon_bocs_wrapper.h
|
56a13a7ca9fcb742352561ee66dddc805676bc5e |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
r300: make r300 work with latest changes
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/radeon_context.h
|
c83d0bfe0645a58e7dd028b4472dbd54e479ab32 |
12-Feb-2009 |
Dave Airlie <airlied@dhcp-1-203.bne.redhat.com> |
radeon: make build without libdrm_radeon better
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_screen.c
|
d513915d27eac8a57ff7f5c1973b4a07fe288c53 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: make build again with tracker changes
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_screen.c
|
9314d936e84cc8449d6e200b5d1df51d6d057876 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove depends on libdrm_radeon for now. will fixup makefiles later to detect and use libdrm_Radeon in proper places
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/radeon/Makefile
|
dc8a707c672918b88dd4135930bef60ed148d8ce |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: make build with out libdrm_radeon installed for now
rivers/dri/r200/Makefile
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_bo_drm.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_bocs_wrapper.h
rivers/dri/radeon/radeon_buffer.h
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_cs_drm.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state_init.c
|
8cb16e6daff40bbfd7b63a43da72862226a4a164 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200/r300: get up to speed on renamed files
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_program_pair.c
|
23d3559bd4ece1fcab5513ebdaa38600d6654374 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: renaming and headers cleanup
rivers/dri/radeon/Makefile
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_lock.c
rivers/dri/radeon/common_lock.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_cmdbuf.h
rivers/dri/radeon/radeon_common.c
rivers/dri/radeon/radeon_common.h
rivers/dri/radeon/radeon_common_context.c
rivers/dri/radeon/radeon_common_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_dma.c
rivers/dri/radeon/radeon_dma.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_mipmap_tree.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_texture.c
rivers/dri/radeon/radeon_texture.h
|
df4a1348b1f869338d4742b213dbde9d64de4c7a |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r100/r200: fix front rendering issue.
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_state.c
|
1090d206de011a67d236d8c4ae32d2d42b2f6337 |
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: another big merge upheavel. This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
|
5de5ab428cf5516d91daa3f193a76b0d87853f55 |
12-Feb-2009 |
Robert Ellison <papillo@i965-laptop.(none)> |
glDrawBuffers(n==0) is valid According to the GL spec, calling glDrawBuffers() with n == 0 is a valid operation (and essentially prevents drawing to any buffers). But _msa_DrawBuffersARB() was producing a GL_INVALID_VALUE error in this case. This fix adjusts the error check, and makes a small change to the ctx->Driver.DrawBuffer() call below to ensure that, if n == 0, Driver.DrawBuffer() is called with GL_NONE and that buffers[0] is *not* referenced in this case (since we don't know whether it is valid). Internal identifier: 365833
ain/buffers.c
|
f1a59a6dd7b7b0523db191d82b3af1a841c6475d |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
|
1a2f4dd8768703fbc1b2a0d5be342345644805b4 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consistantly use mesa memory-functions in gallium state tracker Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point.
tate_tracker/st_atom.c
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
|
19dff5efc1e348d037b1b3cdfb9ac91020ecde4d |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't include m_xform.h where not needed
ain/attrib.c
ain/clip.c
ain/dlist.c
ain/enable.c
ain/matrix.c
ain/texenv.c
ain/texstate.c
|
987aedd7dc75c095a96cb20b21bbad2f71857776 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_transform_vector() from m_xform.c to m_matrix.c m_xform.c is omitted from gallium builds but _mesa_transform_vector() is still needed.
ain/texgen.c
ath/m_matrix.c
ath/m_matrix.h
ath/m_xform.c
ath/m_xform.h
|
f45fa843199e86593126cb9e3b94621b31dd7589 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused functions in m_xform.[ch] The functions are: _mesa_project_points() _mesa_transform_bounds3() _mesa_transform_bounds2() _mesa_transform_point_sz()
ath/m_xform.c
ath/m_xform.h
|
e8cd8be03b9617d75df4e09dc568b6760db1edc4 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: restore FLUSH_VERTICES() in _mesa_notifySwapBuffers()
ain/context.c
|
9eff576c947bf4d1c487ec692e8b16aa198ac532 |
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove empty, unneeded mathmod.h header
ath/m_xform.c
ath/mathmod.h
|
0ccbc3c905f0594a35d72887a1f115e148aaa596 |
12-Feb-2009 |
Robert Ellison <papillo@i965-laptop.(none)> |
Fix an i965 assertion failure on glClear() While running conform with render-to-texture: conform -d 33 -v 2 -t -direct the i965 driver failed this assertion: intel_clear.c:77: intel_clear_tris: Assertion `(mask & ~((1 << BUFFER_BACK_LEFT) | (1 << BUFFER_FRONT_LEFT) | (1 << BUFFER_DEPTH) | (1 << BUFFER_STENCIL))) == 0' failed. The problem is that intel_clear_tris() is called by intelClear() to clear any and all of the available color buffers, but intel_clear_tris() actually only handles the back left and front left color buffers; so the assertion fails as soon as you try to clear a non-standard color buffer. The fix is to have intelClear() only call intel_clear_tris() with buffers that intel_clear_tris() can support. intelClear() already backs down to _swrast_Clear() for all buffers that aren't handled explicitly.
rivers/dri/intel/intel_clear.c
|
da4f933eb2544b62daf0b3c3bd8e16277dd64117 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor MATH_SOURCES, remove Mesa x86 codegen from gallium build Omit math/m_xform.c from gallium builds since it's not used and it's the one place we were pulling in the Mesa x86 codegen which collides with gallium's x86 codegen. Can now omit ASM_C_SOURCES from gallium build too.
ources.mak
|
2218592d47b963791105f5b8fa1a0b3f3a07f674 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of _math_init() Only VBO uses the evaluator code so call _math_init_eval() there. Only TNL uses the transform/translate code so call _math_init_transformation() and _math_init_translate9) there. This is a step toward resolving some symbol collisions between Mesa's and gallium's x86 codegen. Have VBO and TNL modules call _math_init_transformation()
ain/context.c
ath/m_xform.c
ath/mathmod.h
nl/t_context.c
bo/vbo_context.c
|
2b4f0216bf757f63c0e76eb3a9a59a486ce63051 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: allow setting arrays of samplers in set_program_uniform() Arrays of sampler vars haven't been tested much and might actually be broken. Will need to be revisited someday. Another fix for bug 20056.
hader/shader_api.c
|
234f03e90ab718f5b16300a91bac477ccbabf36c |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: raise GL_INVALID_OPERATION for glUniform(location < -1) location = -1 is silently ignored, but other negative values should raise an error. Another fix for bug 20056.
hader/shader_api.c
|
4ef7a93296dd7d7480dfa00a2b085009ca8c4814 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: rework _mesa_get_uniform[fi]v() to avoid using a fixed size intermediate array
hader/shader_api.c
|
2c1ea0720deb9b1f90fc294a7a731270d4f4bad6 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix glUniform() array bounds error checking If too many array elements are specified, they're to be silently ignored (don't raise a GL error). Fixes another issue in bug 20056.
hader/shader_api.c
|
369d1859d7bc4a6213f128718f8affc8e4f06006 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix incorrect size returned by glGetActiveUniform() for array elements. Fixes one of the issues in bug 20056.
hader/shader_api.c
|
f3f1f7dc20484a60b1325e60e0c9bb994ab591f1 |
11-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: disable assert that fires
rivers/dri/r300/r300_cmdbuf.c
|
3713a7accf8e10049c878ae62f6bc199ef1566eb |
11-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: unmap in case of two dma regions being used for one cmdbuf
rivers/dri/radeon/common_misc.c
|
7e98907eb8da936d72902fa0bb456962fe6ac551 |
11-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: cleanup cmdbuffer
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/common_misc.c
|
832446c892caa0656f9d903c42c4e05fae44ef3d |
11-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix front buffer rendering properly fixes tests in glean
rivers/dri/r300/r300_state.c
|
c5d9a7ab3034b90614689f223b94ac81b8a84338 |
11-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix build
rivers/dri/radeon/radeon_screen.c
|
98a053cfd4b5bcb6d704f1282892e99bb2052c5f |
11-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use the stdio wrappers. snprint symbol does not exist in Windows.
hader/prog_print.c
|
8cadf6c0a152a5945e34ea8f6d9935ee399e6ae1 |
11-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Move statements after declarations.
ain/debug.c
|
5d5ae371eaeca7e33e638af3aee1ae8e162db0a7 |
10-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add x8r8g8b8 visuals to DRI1 fbconfigs alongside a8r8gb8. This involved fixing driConcatConfigs to not return const (which had made a mess of a previous patch too).
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/intel/intel_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_screen.c
|
a49ff9f95e1654c7ee05101e68df51211ad81450 |
10-Feb-2009 |
Eric Anholt <eric@anholt.net> |
sis: fix signedness warnings
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_tris.c
|
e7ee7a549d9250b0020b2773f5146d2e1197c231 |
10-Feb-2009 |
Eric Anholt <eric@anholt.net> |
trident: Fix signedness warning.
rivers/dri/trident/trident_vb.c
|
0cb295584ff2e3d442029fe9e079f69fafaf8dd9 |
10-Feb-2009 |
Eric Anholt <eric@anholt.net> |
tdfx: Fix begin/endquery for current API.
rivers/dri/tdfx/tdfx_dd.c
|
01bc4d441fd6821ad9fc20d5e9544e4e587e4ff0 |
10-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Don't do the extra MI_FLUSH in flushing except when doing glFlush(). Everything other than "make sure the last rendering ends up visible on the screen" doesn't need that behavior.
rivers/dri/intel/intel_context.c
|
0b63f6449e095fa3b5ef510e1c1eadc2e0e0ea36 |
09-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format.
rivers/dri/intel/intel_pixel_draw.c
|
d11981e0d722282894b5012d37b2960ee3fbfac2 |
09-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix some state leakage of {Client,}ActiveTexture in metaops. Found while debugging cairo-gl.
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
f82f1ffba9f2e5971a6a3f3927ae3b22b798bab2 |
08-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: don't crash when dri2 tells us about buffers we don't care about.
rivers/dri/intel/intel_context.c
|
5340b6dff73a0a23531ce2a5f28fba8303adab6e |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/gallium-master-merge' This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.c
|
ee4c921b65fb76998711f3c40330505cbc49a0e0 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/gallium-0.2' into gallium-master-merge
|
9fd26daec24f21dbe17afcb2e2ab272667ee9a69 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove the unused _mesa_UpdateTexEnvProgram() function
ain/texenvprogram.c
ain/texenvprogram.h
|
537d3ed6f3112fdf16fd853ada0e0bcc8bd83227 |
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: another fix for program/texture state validation This fixes a regression introduced in 46ae1abbac6837d051c10b2e8b57eab3d4958ff4 Break program validation into two steps, do part before texture state validation and do the rest after: 1. Determine Vertex/Fragment _Enabled state. 2. Update texture state. 3. Determine pointers to current Vertex/Fragment programs (which may involve generating new "fixed-function" programs). See comments in the code for more details of the dependencies.
ain/state.c
|
c936a6083e2a0bace5f3937bd2c90371aedd9bea |
10-Feb-2009 |
Brian Paul <brianp@vmware.com> |
intel: minor reformatting, comments
rivers/dri/intel/intel_swapbuffers.c
|
1ed5fe5cbfb64c57997ec46684748f8ae516d19c |
10-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
ain/mtypes.h
ain/pixel.c
ain/state.c
ain/teximage.c
|
46ae1abbac6837d051c10b2e8b57eab3d4958ff4 |
10-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/change state validation order for program/texture state Program state needs to be updated before texture state since the later depends on the former. Fixes piglit texgen failure. The second time through the modes (press 't' three times) we disable the fragment program and return to conventional texture mode. State validation failed here because update_texture() saw stale fragment program state.
ain/state.c
|
edbe1fac6a1793da7faca104691a453023d9efac |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix span init needs more work
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_context.c
|
45496122b7b590479a4ed60c8bbdc1725cad0211 |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: merge span code into single shared file
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
|
7394c429c065eb96801500605ab7caa0a1289193 |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: flush vertices when data in cmdbuf. This fixes a whole bunch of regressions in piglit
rivers/dri/r200/r200_ioctl.h
rivers/dri/radeon/radeon_ioctl.h
|
b20a1b28b7e581304701c5802e8627003e461e45 |
10-Feb-2009 |
Patrice Mandin <patmandin@gmail.com> |
Missing: tgsi: Fix build -- rename Size to NrTokens.
tate_tracker/st_mesa_to_tgsi.c
|
18aca218a29578b5cb14a3bc492330406d3a761d |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: r100 can't use some of the texture formats. this fixes the texrect-many test
rivers/dri/radeon/common_misc.c
|
4c36282ef9e84da15b3e1d9bc28b9bbc8db5e1be |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: fix span code for depth reading. makes the maskedClear test work
rivers/dri/r200/r200_span.c
rivers/dri/radeon/radeon_span.c
|
dc6cc4f9da25725d0b8f6efe571a5430fb399de5 |
10-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Compare formats using nominal bytes per pixel. This is a temporary fix which works for the formats we care so far. The real fix would be abandon the concept "nominal bytes per pixel" entirely in Mesa, and use macropixels instead, as done in gallium interfaces already.
tate_tracker/st_cb_texture.c
|
3e4d0c2a5d709e4b87474dfe6e64d67bb217135c |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r100: remove debug code
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_texstate.c
|
639b5fca0c5cea26a9dc393b538508aece16ce6b |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r100: fix 3D texture fallback
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
c3ca94bc9115f0f328327f1e96fac84b87d5efd5 |
10-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix fallback case where t->mt is valid NULL
rivers/dri/radeon/common_misc.c
|
eaf15db895e3a5c6c5ccc2f23a4f0fa522855868 |
10-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fixups for driCreateConfigs MSAA support. Add the MSAA samples array or make sure its contents are initialized.
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
7e0bc2eb8df6f83a67410cd422b709981f88cd87 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add x86/rtasm/x86sse.c to fix linux-x86 build
ources.mak
|
93da69def4ec6b3a8088cf603f6800d73e0a9793 |
09-Feb-2009 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fixes for srgb formats swizzling in fetch/store srgba/sargb functions fixed (consistent with equivalent non-srgb formats now).
ain/texformat_tmp.h
|
cb3c54ea86344242545dd29f936e53853d3a5ea4 |
09-Feb-2009 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix _mesa_get_teximage for srgb textures
ain/texstore.c
|
aad3f546a046fe40b771e5d5f965b29189821d51 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change Avoid a little bit of unneeded state validation and fixes a bug where the texture complete flags was set to false, but we didn't signal _NEW_TEXTURE. Fixes piglit tex1d-2dborder failure.
ain/texparam.c
|
37c768b36aad22ecad48c7caab272354383e26a7 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add no-change testing for a few more texture parameters
ain/texparam.c
|
88f3656ea7ae57d22141225db0c5d90ceab420dd |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
swrast: use ASSIGN_4V() macro
wrast/s_fragprog.c
|
7eb5a2892d3d89f4b1800311babb40af1ec7d4e5 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
rivers/allegro/amesa.c
rivers/fbdev/glfbdev.c
rivers/glide/fxapi.c
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
|
d52294439c80c99a4bfa2c7ecc65efa67f095a3f |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
ain/context.c
ain/fbobject.c
|
60b3fe6c19eb881f6193ba46450c0c9f559a10e5 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
i965: need to disable current shader, if any, in intel_clear_tris() Fixes bad background in all the progs/glsl/ tests.
rivers/dri/intel/intel_clear.c
|
b1df5ed6db4d79de895e37bcdd12dfbaae7bd4f6 |
09-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: put back state emission lastcmd
rivers/dri/radeon/radeon_state_init.c
|
d2fa89140ebc5cfdd93dcb37d6106e78b01c34d8 |
09-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: invalidate texture paths in some more places
rivers/dri/r200/r200_tex.c
|
ccf7814a315f0be05cdc36ca358e2917a3d4ac19 |
09-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: major cleanups removing old dead codepaths. This should be working gears on radeon state
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
e13593678f62941db06b7ae1a21b81c643371659 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
re-add MSAA support (cherry picked from commit f7d80aa00611917bc8ce637136d982b151b8f44f) This also involved adding the new MSAA fields to driCreateConfigs(). Also, re-add prog_instructions->Sampler field for i965 driver. Will have to revisit that.
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
hader/prog_instruction.h
|
2438161823630a6e647c105ad92cf2b0cd740d00 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: build/use libmesagallium.a for gallium builds This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
akefile
|
abbe96cb6e7581a52652030e40442b943a482840 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added new linux-gallium and linux-gallium-debug configs Also, remove gallium-related things from configs/default. They're in linux-gallium now. So the default builds are the same as they have been for Mesa/master.
akefile
ources.mak
|
87e44d9003d6fdd4b9be911ad1aa4de1f87068d9 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: prefix #includes with main/
nl/t_rasterpos.c
|
71e64fc30b4f57bd93daf004bc04af7181391f4d |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix typo: s/drapix/drawpix/
wrast/s_drawpix.c
|
4fece21315dcb4bc44b950f9c71cb1f46288bfd5 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove old 'sources' file in favor of 'sources.mak'
ources
|
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: merge gallium-0.2 into gallium-master-merge Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
|
49002698193784dacffcbf993de26fcdd42c523e |
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework _mesa_reference_framebuffer() to look like _mesa_reference_renderbuffer() _mesa_unreference_framebuffer() is deprecated since _mesa_reference_framebuffer(ptr, NULL) can be used instead.
ain/framebuffer.c
|
9df844b109a9d2cc1d3b16315c34ef84f147c5b6 |
09-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix alignment issues in ELT code
rivers/dri/radeon/radeon_ioctl.c
|
3fafaf8959681cc41c988607bb6e387bab4fe1b5 |
08-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: make more r100 work
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
abdf1f65d2bafbad8020f1444a01eb18ae9f7159 |
08-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: cleanup some bits that aren't used
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
|
5199774dc6a2a65d24ac26fe15715654f2568a02 |
07-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor fixes to incomplete texture debug code
ain/texobj.c
|
266fe93a87d5c0c21e9e7960699104e0e8bd54b4 |
07-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: debug code for printing info about textures, writing teximages to disk
ain/debug.c
ain/debug.h
|
671fed4d0191734babfe28c7729f2e7cfa7ad8d7 |
07-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: code refactoring: move texcombine code into update_tex_combine()
ain/texstate.c
|
2a50dde0f5a44b06ba5d07ce96e4da5e264d18ae |
07-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor clean-ups, remove unneeded conditional
ain/texstate.c
|
b46611633c5da6fa23ee17bce22939fe20ef194e |
07-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix logic error in computing enableBits in update_texture_state() If we had a vertex shader but no fragment shader (i.e. fixed function) we didn't get the right enabled texture targets. Fixes blank/white texture problem.
ain/texstate.c
|
f6d23943cd289ed2b60ec01006fb155f22969749 |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix tnl->render_inputs_bitset setup for fragment program texcoords Handle the case where there's no per-vertex texcoords but the fragment shader needs texcoords. Fixes piglit shaders/fp-generic/dph test.
nl/t_context.c
|
1df62651b2e9a8d0afd790738e2695a16ade1eeb |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0) Fixes piglit shaders/fp-incomplete-tex test.
wrast/s_fragprog.c
|
e01a03d2220199a4541f2cb8b42035237a571aa4 |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: new MESA_GLSL env var for GLSL debugging features Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout.
ain/debug.c
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
hader/slang/slang_log.c
|
6ce0c6e743b27cc284e8f164585cfe5892cd662a |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: tweak output of _mesa_write_shader_to_file() Enclose GPU code in comments to the file can be re-fed back into GLSL compiler.
hader/prog_print.c
|
aafcc26642d5243944a1abb816c2657f644c0649 |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: meaningless whitespace change to see if git's working (ignore)" This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
ain/debug.c
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
hader/slang/slang_log.c
ources
|
b2e779988eeb595187933fe2122d86f8ccfe059c |
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: meaningless whitespace change to see if git's working (ignore)
ain/debug.c
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
hader/slang/slang_log.c
ources
|
da795ff0a837eeb8c8f9d44987b374da2d4d2835 |
06-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove include that breaks build in !OLD_PACKET path this path isn't enabled by default in any case.
rivers/dri/radeon/radeon_maos_arrays.c
|
e223b7c312a1211966f47d36724ffceaec32a3f3 |
06-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: port over arrays code even though not in use yet
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_maos_arrays.c
|
36d3f3e74a809ad346e981805a2f61710d3a380b |
06-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r100: fixup radeon so gears seems to work
rivers/dri/radeon/Makefile
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
16f4b10170da7f1cae3561cdd2a0b2e3d86cf8de |
06-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove unused texmem
rivers/dri/radeon/radeon_texmem.c
|
0a43603c1c714b4a87b3a282bdf1295ecda31713 |
06-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix some autostate batch setups
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/radeon/common_cmdbuf.h
|
4617981ec72f7985941bee4b03c534d97ff96bc6 |
05-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: No longer allow CPU mapping surfaces directly. Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
285b500bb7710b17e39754ef253ac2df718c2db7 |
05-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use _slang_var_swizzle() in a few places to simplify the code.
hader/slang/slang_vartable.c
|
d96d8b21bf91c501c6a565d0be37a741fa6ff445 |
05-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove unused prototype
hader/slang/slang_emit.h
|
0744805d5879abd1d1d968ec6ed99c974c95add6 |
05-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: replace assertion with conditional in _slang_pop_var_table() We were hitting the assertion when we ran out of registers, which can happen. Also, add some additional assertions and freshen up some comments.
hader/slang/slang_vartable.c
|
1ca05a066b8d8cb8a99da88743a48f7d97f695fe |
04-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: more info in error messages
ain/buffers.c
|
8962bac0a1e422afcd034f4ce00d45d8f3df46bf |
04-Feb-2009 |
Brian Paul <brianp@vmware.com> |
swrast: add minor comments
wrast/s_span.c
|
c35a5aeb706d33b9c09b5a12bbbeae0f109885c9 |
04-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make Xlib glXIsDirect() always return True
rivers/x11/fakeglx.c
|
803504e69fbd85713fc6d93af21f5245852cecab |
04-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor error msg improvement
ain/teximage.c
|
e92d97d75bcd1ac2caafc2a565b304639cedd520 |
04-Feb-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Decode MI operands using specific length masks The MI opcodes have different variable length masks, so use an operand specific mask to decode the length.
rivers/dri/intel/intel_decode.c
|
05d130a35acf10c0c002fcf5f3a32154ca9cb19e |
04-Feb-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Correct decoding of 3DSTATE_PIXEL_SHADER_CONSTANTS A couple of minor typos that proclaimed an error in the wrong command, and failed to offset the mask.
rivers/dri/intel/intel_decode.c
|
b2e09910f65ae2c8c43c0441955aa262a8946ef3 |
04-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix fbo_firecube regression with FBconfigs change. By selecting a 4444 texture format due to a bad test, we hit the intel_update_wrapper error path, and despite the appearance of error handling in it and its callers, the desired behavior (software fallback) doesn't occur.
rivers/dri/intel/intel_tex_format.c
|
c20df0ab4ee63c3257ac5726e4e2829db388ab42 |
04-Feb-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: make the macros safe. add missing parenthesis.
rivers/dri/r300/r300_reg.h
|
5ee71bad7b3c2bbae03a73488ddf477f4dc9b0cf |
24-Jan-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: Fix EXP2 fog
rivers/dri/r300/r300_state.c
|
8fe61fc5ba70be29b9d7dbdfab45c5434be587fc |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200 remove more unused code
rivers/dri/r200/r200_ioctl.h
rivers/dri/radeon/radeon_ioctl.c
|
b584b0728d3a001a142f76dde22f9e8ed7d2dd16 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: make compile again. Not tested but ripped out lots of stuff unneeded anymore time to test later
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
88a409fa8e85a45eb71f99e5926340a5fe6a8071 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix up CS for modesetting - gears under kms works
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/radeon/common_misc.c
|
8910da5b7a3b83d733f020dec906fe7b56c093c7 |
04-Feb-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix commented-out glViewport in intel_meta_set_passthrough_transform. Too much commit -a while debugging.
rivers/dri/intel/intel_pixel.c
|
529d1d720e1422bad1880ef33fae1c9423112d2e |
04-Feb-2009 |
Eric Anholt <eric@anholt.net> |
swrast: Add support for x8r8g8b8 fbconfig. This lets swrast produce an fbconfig suitable for the root visual now that the server's not allowing mismatched fbconfigs.
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
|
c370776b02806c6c98d1354e3d60d06311dcfb80 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: make generate_mipmap static
rivers/dri/radeon/common_misc.c
|
0bcac04100f01bb79edacb29384fb535c37413f1 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix swtcl
rivers/dri/radeon/common_misc.c
|
c1a42f5cdc68d8ec2ccae2cd93a1615f5d4ca924 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fixup DMA region stuff
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_maos_arrays.c
|
e44effcfcba4591a622e47ee1b4807ddf5789d51 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: call getpagesize once and store in a static
rivers/dri/radeon/radeon_bo_legacy.c
|
711cbf30a1ce72338ca9f1c0f71bd530754a4bd9 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: make dma buffer reuse much more sensible
rivers/dri/r300/r300_emit.c
rivers/dri/radeon/common_misc.c
|
55c8a79a339668dd661bb8adb615fbcb8075f51a |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add support for stencil buffers + misc debug changes this adds the stencil rb setup, along with misc changes to formatting and debug
rivers/dri/radeon/common_misc.c
|
3f59bee43862519e84a52d371fc370cac32ae350 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r200: move to new mipmap interface
rivers/dri/r200/r200_tex.c
|
c85a3851b6519c24780e94dea570a72418621189 |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: only do the fb read if we are mapping a VRAM object this makes writing the DMA buffers got a lot better
rivers/dri/radeon/radeon_bo_legacy.c
|
e8f575d657c5a363a4bf090b3b4fd219cce218ae |
04-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon_cs: move to inline cs_write_dword this gets back some of the CPU this was wasting
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_cs_legacy.c
|
49e80bf6b163310f7cd776261872201eea57053a |
03-Feb-2009 |
Brian Paul <brianp@vmware.com> |
xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return True Some apps won't run w/ indirect rendering contexts. Also, consolidate some context-init code in new init_glx_context() function.
rivers/x11/fakeglx.c
|
b5d549e3514af1d299b27d80bd157a65f397fe15 |
03-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify delete_wrapper()
ain/depthstencil.c
|
a47965588fdaa75166c48d50974b38fcbfd2a749 |
03-Feb-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: fix offset problem with interleaved arrays
tate_tracker/st_draw.c
|
5069bfed29bcee2c89c36c74c6d65d388eb7792e |
03-Feb-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: remove pipe_buffer from surfaces this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
tate_tracker/st_cb_fbo.c
tate_tracker/st_gen_mipmap.c
|
4c078cfbad82126108081350b9326228aa2da46d |
02-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add a reference to the static buffers so they don't get deleted
rivers/dri/radeon/radeon_bo_legacy.c
|
dea0d4d56326f148a42c766bdbaf1b5bb247cc59 |
03-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GLSL issue preventing use of all 16 generic vertex attributes Only 15 actually worked before since we always reserved generic[0] as an alias for vertex position. The case of vertex attribute 0 is tricky. The spec says that there is no aliasing between generic vertex attributes 0..MAX_VERTEX_ATTRIBS-1 and the conventional attributes. But it also says that calls to glVertexAttrib(0, v) are equivalent to glVertex(v). The distinction seems to be in glVertex-mode versus vertex array mode. So update the VBO code so that if the shader uses generic[0] but not gl_Vertex, route the attribute data set with glVertex() to go to shader input generic[0]. No change needed for the glDrawArrays/Elements() path. This is a potentially risky change so regressions are possible. All the usual tests seem OK though.
hader/slang/slang_link.c
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
1cb7cd1292dc8592d4912194d91355eb61361be5 |
03-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: update program->InputsRead when referencing input attributes This info will be used in the linker for allocating generic vertex attribs.
hader/slang/slang_emit.c
|
e33edafb2c81decd05dccae06fe6f059f53e2f25 |
02-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix stand-alone glslcompiler
rivers/glslcompiler/glslcompiler.c
|
d2eff33ab7fda9527458ea35d9eb109ec2988490 |
02-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make _mesa_fprint_program_opt() non-static
hader/prog_print.c
hader/prog_print.h
|
d9cf1319252e053a894dd49583064e4cd063d119 |
03-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fixup mipmap + texsubimage issues This fixes a few regression in piglit, and adds some debug to the mipmap code
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_mipmap_tree.c
|
dbf72bdd3dda73384381a9ae8a94b522b7f786c2 |
03-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon_bo: align size of bo to page size. This is really required for the VRAM allocator upload function.
rivers/dri/radeon/radeon_bo_legacy.c
|
052c1d66a1ab1f2665870dc77dab28d20416cdf1 |
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove brw->attribs now that we can just always look in the GLcontext.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
14321fcfde9e30d0b9f15aab3c9a057271ae6295 |
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Delete old metaops code now that there are no remaining consumers.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_clear.c
|
c96bac0950eda6e707455b0c1ee29c1d87daf727 |
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
intel: replace custom metaops clear with generic. No real-world impact on performance seen. Even glxgears seems to be, if anything, happier.
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_pixel.h
|
92ced46eaf1f389108ed8d3d788498d799f0b385 |
02-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move code after decls. Fixes Window build failure.
wrast/s_triangle.c
|
e4d1757f81323636e99abc5fff411d42e19e901a |
02-Feb-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'gallium-wgl-rework' into gallium-0.2 Conflicts: src/gallium/state_trackers/wgl/shared/stw_public.h
|
75762a8219d7db0f7990eab73f953a6a4f9ee130 |
01-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: this code forgot to add dPriv x/y back to spans
rivers/dri/radeon/common_misc.c
|
f4dfafd50acdff994b16946773cbfbefdc172f3e |
01-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
r300: rename validate textures to validate buffers
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_tex.h
|
24ff169486e315671c09cd8a57a311a935ccfff5 |
31-Jan-2009 |
Eric Anholt <eric@anholt.net> |
intel: Correct FBconfig color masks with DRI2. Fail at copy and paste. This still leaves us with a broken depth 32 visual, but now it's the server's visual setup that's at fault.
rivers/dri/intel/intel_screen.c
|
1265e7267e086476d9bae560345fd80f064adfc5 |
31-Jan-2009 |
Eric Anholt <eric@anholt.net> |
Build dri.pc during the build rather than the install process. In a normal build system this is generated by configure.
rivers/dri/Makefile
|
0001deef1108b77cf4879fff4647401fb68c421e |
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: more display list cleanups Remove some unneeded fields. Rename some function parameters.
ain/dlist.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
446abc2799a143c32c4c48472f3f964f9288a623 |
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: display list clean-ups Rename some structs and fields to be more consistant with the rest of mesa.
ain/context.c
ain/dd.h
ain/dlist.c
ain/dlist.h
ain/mtypes.h
bo/vbo_save.h
bo/vbo_save_api.c
|
7721bf267b64ef28376f07daae7713814e91af35 |
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: minor comments, clean-ups
ain/mtypes.h
|
c6423132ffe2e0b5c6bccc15822c50a60b08a8f8 |
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: remove remnant of GL_SGIX_depth_texture
ain/extensions.c
|
954dfba12986f578f2d8461818f9e9ac1f8f2b41 |
31-Jan-2009 |
Keith Packard <keithp@keithp.com> |
i965: bump texture limit to 4kx4k Rendering and textures are limited to 8kx8k, but mesa limits things to 4kx4k, and magic guard band stuff may break on 8kx8k drawing. This is safe though, and makes compiz work on bigger screens. Signed-off-by: Keith Packard <keithp@keithp.com>
rivers/dri/i965/brw_context.c
|
80684649a6d01f0e0517b14f61cbcad6fa101929 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: simplify the _mesa_get_proxy_tex_image() function
ain/teximage.c
|
ea4b183b8c3730ec2c6b5152cad1a68889634487 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D() Fixes failed assertion / segfault for particular proxy texture tests.
ain/teximage.c
|
7f0b6a779601d00ab86f794e174d0b4c0ba08c42 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: more debug info
rivers/dri/intel/intel_regions.c
|
5a225dd81295226c63fd57468eadf9518ca9d0e0 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: formatting, comments, whitespace clean-ups
rivers/dri/i965/brw_vtbl.c
|
2d5b86be25a7ccb729e746aa5e1bdd537d76df68 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
swrast: replace RENDER_START/FINISH macros with inline functions
wrast/s_accum.c
wrast/s_bitmap.c
wrast/s_blit.c
wrast/s_buffers.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_imaging.c
wrast/s_readpix.c
wrast/s_texstore.c
|
81ca8b93f212d1946c70660041ce97d98f352608 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
swrast: replace macro with inline function
wrast/s_context.h
wrast/s_fog.c
wrast/s_texcombine.c
|
bd944ef78397fd96dc2b239f542066643b06274a |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unused RenderToTexture field
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
4b37b1129ea7fed915d353c39d4b74dbdbb7f0a5 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i915: updated render to texture/fbo test
rivers/dri/i915/i915_state.c
|
7c48719a5f22648302bbd0026681770d8cc43914 |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add missing _mesa_reference_texobj() calls for texture array targets
ain/texobj.c
|
88e0b92a747d9b14885010029133fa1221696e5e |
30-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts() Fixes bug 19835. However, a more elaborate fix should be implemented someday which uses proper reference counting for gl_array_object.
ain/attrib.c
|
8d0b689a56bd0a2d9d183fad769a9db988eb0486 |
30-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
stw: Remove pipe_winsys references.
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_winsys.h
|
ecc0e1ec2e5f8283ccae39e3fd18528fa9c3c95b |
30-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Don't ask winsys name -- let pipe screen do that if it wants. Allows to leave screen->winsys NULL.
tate_tracker/st_cb_strings.c
|
b5d96a3e7f02314cbdc3897c4b89137f1e13bb0f |
30-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
stw: Don't use the winsys.
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
67ee22c89f42146e7befb2fdd39bdd68a5258c30 |
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
intel: If we're doing a depth clear with tris, do color with it. This is a 10% win on the ever-important glxgears not-a-benchmark.
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_pixel.c
|
ac0dfbdf0f5e5dea08ec717ae8c4e1e141b15c05 |
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i915: Only call CalcViewport from DrawBuffers instead of Viewport. This saves an inadvertent round-trip to the X Server on DrawBuffers, which was hurting some metaops.
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
|
3ee21f30cda27e0ee1357f930163526622ba9434 |
29-Jan-2009 |
Eric Anholt <eric@anholt.net> |
intel: Expose more FBconfigs in the 3D driver. We can support any combination of (a8r8g8b8, x8r8g8b8, r5g6b5) x (z0,z24,z24s8) on either class of chipsets. The only restriction is no mixing bpp when also mixing tiling. This shouldn't be occurring currently.
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/intel/intel_screen.c
rivers/dri/swrast/swrast.c
|
bc968e515dff20fc3cbcd01066886ba66f707a1b |
30-Jan-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove stale symlinks to intel/intel_depthstencil.c
rivers/dri/i915/intel_depthstencil.c
rivers/dri/i965/intel_depthstencil.c
|
adfbba476db1fc55006efb748656ebb1a481d143 |
30-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: make p_winsys internal move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_strings.c
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_wgl_swapbuffers.c
|
f68a61d88398fe8eb3eb41b929dcb4483354a81e |
30-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200/r300: swtcl fixups to use old dma buffers on top of BOs
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_screen.c
|
e45213d89bf26c68c9f4c9074eaec9ab3311de7d |
30-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200/r300: add aperture space checks
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_cs_legacy.c
|
08bb7eedfbba839676ab63fb20dd22e4f27722cb |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix swtcl - slow but works
rivers/dri/r200/r200_swtcl.c
|
1d4f3ccb210874ead3cb75c2a0b1f1945c892acd |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unused intel_depthstencil.[ch]
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_depthstencil.h
|
d332a74e772eb60cf3cef33cafad997436fd9e93 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unused #includes
rivers/dri/intel/intel_fbo.c
|
5fec84ad0446d4d6d842f5cf740f9787678113be |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: allow glFramebufferTexture1/2/3D(target = GL_READ/DRAW_FRAMEBUFFER) This is part of GL_EXT_framebuffer_blit and GL_ARB_framebuffer_obbject.
ain/fbobject.c
|
5c38801f8e36fdb4a16ed33c26454b98f3519465 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: formatting clean-ups
rivers/dri/intel/intel_fbo.c
|
ba3aadf354e197ab56adddc99c3b3335d7e6863e |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix check for Y orientation in span functions.
rivers/dri/intel/intel_span.c
|
d3aa16d92f1eb228daaa49810e113d2aed06aefd |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: use bitfields in brw_sf_unit_key struct
rivers/dri/i965/brw_sf_state.c
|
818bda3d7428469d7c29ebc08c31c30a877747e1 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unused intel_rendering_to_texture()
rivers/dri/intel/intel_fbo.h
|
ba367f68ccacf255f78ac0c8dd066e64bbb1e5c2 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
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.
rivers/dri/i965/brw_sf_state.c
|
2897cee99fb877e1f3cd9a881a61418c9c31867f |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
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.
ain/fbobject.c
ain/mtypes.h
ain/teximage.c
|
70661f678edcc9b6dd5005016e3355ec4546e716 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
WIP comit
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/server/radeon_reg.h
|
c9bb5cd20e5468168d54fe461c853926072fa813 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: bring back single dma flush
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
59b183ce0fc8fd8ab73b9321e609fdb3c29bb078 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove even more common code
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_tex.c
|
5ba92a5b0543b4ff2c7db6101029ba36cb9843fa |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
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
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
|
682ebc79d55ae6aede3369e344dbcb320be1f39f |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: start work on userspace clear for r200
rivers/dri/r200/r200_ioctl.c
|
5fbb00a11e6c113503399c8acf06196eea64fac4 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: unref swtcl buffer correctly
rivers/dri/r200/r200_swtcl.c
|
b13746b558200862a5d7e7196555f5df38eccd5a |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix some whitespace
rivers/dri/r300/r300_ioctl.c
|
474d282a1d5435e7b5de40538d65f54e32ce4713 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: re-write state handlers for new CS mechanism
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state_init.c
|
31a112e6e81246944bc96b8d095960dd0f96c83c |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: avoid setting variable on kernel mm setup
rivers/dri/r200/r200_context.c
|
ab6edc9dce3ee0c63037c155a40d97a868c19341 |
29-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add repeated register packet one
rivers/dri/radeon/common_cmdbuf.h
|
80b37673846e9eea7917c761c8d97687a07cf964 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
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 faa48915d27634a12f123eaa6e954ec79565e365)
rivers/dri/i965/brw_wm_pass0.c
|
477c1820a0a4b0a438e8f36ea6ac498ef53d07e1 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: widen per-texture bitfields for 16 texture image units (cherry picked from master/commit f78c388b6c156cb155f089b00612f00919090a8e)
rivers/dri/i965/brw_wm.h
|
999fe905c91515065b8774514fdec901967c6977 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: check if stencil test is enabled in intel_stencil_drawpixels() (cherry picked from master/commit 72ee0e247d799c85612c72bbd2257648e11fa583)
rivers/dri/intel/intel_pixel_draw.c
|
2fd9c2ebd6a7bd96af667ec7a97dae44ef51f7a3 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform() (cherry picked from master, commit 723648f2ee2a8e529063c9da84e9dff9c8c6be99)
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
|
e98ef303512a460c41d2a90455dd8e515924e0ef |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version to 7.4 for mesa_7_4_branch
ain/version.h
|
93cbb2c2056d52a86f84417fe8fee81b563144e4 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version to 7.3
ain/version.h
|
425c803c039735aaaeb70f1613268fd4909862dc |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
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.
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_extensions.c
|
8aa209c766b79144db499063dd1c8482562b07bf |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_ARB_draw_buffers mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_context.c
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/s3v/s3v_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_context.c
rivers/glide/fxdd.c
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dx7/gld_wgl_dx7.c
rivers/windows/gldirect/dx8/gld_wgl_dx8.c
rivers/windows/gldirect/dx9/gld_wgl_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
ain/attrib.c
ain/buffers.c
ain/extensions.c
ain/get.c
ain/get_gen.py
hader/arbprogparse.c
hader/slang/slang_preprocess.c
|
474cda6fa912a766821d20b5b21d6eeba6ea9225 |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/swrast/swrast.c
rivers/dri/tdfx/tdfx_context.c
rivers/glide/fxdd.c
rivers/x11/xm_api.c
ain/extensions.c
|
82b9661894315362f857192439bdcbc9db090387 |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_ARB_vertex_buffer_object mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/unichrome/via_context.c
rivers/glide/fxdd.c
ain/extensions.c
ain/get.c
ain/get_gen.py
hader/arbprogram.c
hader/nvprogram.c
|
2b77b1d62e6480f19aac1bde6f730b7da1046ce0 |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_ARB_multisample mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/unichrome/via_context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/multisample.c
|
33fa5e4bfad8005f09ad3c9fc92c40fa863935d1 |
28-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Make GL_ARB_texture_compression mandatory Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
rivers/dri/common/utils.c
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_extensions.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/glide/fxdd.c
ain/attrib.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/hint.c
ain/texcompress.c
ain/texformat.c
ain/teximage.c
ain/texparam.c
|
26da28c995557c8b913e5ccfe31b31dc32e6c735 |
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
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.
ain/attrib.c
ain/extensions.c
ain/mtypes.h
ain/texobj.c
ain/texparam.c
ain/texstate.c
hader/prog_statevars.c
wrast/s_texfilter.c
|
3dcc48e6882385f58ec9b19a3a7d5307ef9fc976 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor tweak: replace OPCODE_MOV with OPCODE_SWZ Just to reinforce the understanding that an extended swizzle with 0 and 1 terms is possible there.
rivers/dri/i965/brw_wm_fp.c
|
c0d3b7679aa90e1a0dca2db152205efaec088b90 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: implement GL_EXT_texture_swizzle If the texture swizzle is not XYZW (no-op) add an extra MOV instruction after the TEX instruction to rearrange the components.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/intel/intel_extensions.c
|
9e7903e492ad842481a166484e0474dd4f3100ba |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor clean-up, comments, etc.
rivers/dri/i965/brw_wm_fp.c
|
68acc61fc3dd110949f26af01ef5943e6de85ec7 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into texture_swizzle
|
faa48915d27634a12f123eaa6e954ec79565e365 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
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).
rivers/dri/i965/brw_wm_pass0.c
|
2ace634024dc14ab15087f3718f8f84e23fba47c |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor comment additions/edits
rivers/dri/i965/brw_wm_pass0.c
|
89fddf978c9d2ab5042f89110015234e979c2686 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor improvements in brw_wm_populate_key()
rivers/dri/i965/brw_wm.c
|
177eda834ee26656b4f9b2ec64b8b3e915c1854c |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: remove pad field
rivers/dri/i965/brw_wm.h
|
f78c388b6c156cb155f089b00612f00919090a8e |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: widen per-texture bitfields for 16 texture image units
rivers/dri/i965/brw_wm.h
|
3147d7785d5cd8c898b19040cb1d30265fba2350 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor comments
rivers/dri/i965/brw_structs.h
|
72f0b4a55ba36bb8571b4c11d0098361f766814e |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional GL_INVALID_OPERATION tests for texture swizzle
ain/texparam.c
|
54c62ba5c36f3e2b279151f5df851d2ceee15319 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement texture swizzling in swrast And enable GL_EXT_texture_swizzle for software drivers.
ain/extensions.c
wrast/s_fragprog.c
wrast/s_texcombine.c
wrast/s_triangle.c
|
4a89e51c5f88b57040b361b62e80a57c8248ba4b |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set/get new state for GL_EXT_texture_swizzle
ain/extensions.c
ain/mtypes.h
ain/texobj.c
ain/texparam.c
|
be1a76f88f4c3482e61e0a048a0b28b6b628f223 |
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: if texObj is NULL in fetch_texel_*(), return black.
wrast/s_fragprog.c
|
65d39a9eed9ae60944dd3c5db392a382c5946cbc |
27-Jan-2009 |
Eric Anholt <eric@anholt.net> |
intel: clean up more pf mess.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
318e53a4bf27499935c874f475af111ffaa71fdd |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor glTexParameter code
ain/texparam.c
|
4f5308bdcb9e62f678975a77783a48096f6dfdc6 |
26-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: remove redundant size from the constant buffer reuse the size of the actual buffer
tate_tracker/st_atom_constbuf.c
|
d6888e811d24eaa7e8d9093be606394f00435c05 |
26-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: it's a reference value, not a reference number
tate_tracker/st_atom_depth.c
|
2299f21f8da816fc4588492965e7dac422da1a96 |
26-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: standardize api on the prefix "nr"
tate_tracker/st_atom_framebuffer.c
|
a7e72231e3c76a9410d192441da309002ea6422d |
26-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: standardize naming of masks
tate_tracker/st_atom_depth.c
tate_tracker/st_cb_clear.c
|
872b515e8f0bb1be5bad85fd9d01529c71f07ba2 |
26-Jan-2009 |
Zack Rusin <zack@tungstengraphics.com> |
gallium: standardize on stride instead of pitch in the interface
tate_tracker/st_draw.c
tate_tracker/st_draw_feedback.c
|
38768dbc76f4963587a90823f73a1a2d981f63e6 |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move call to _mesa_update_framebuffer_visual() Update the visual info in the _mesa_test_framebuffer_completeness() function when we've determined the FBO to be "complete". Fixes regression seen in progs/demos/shadowtex.c
ain/fbobject.c
ain/framebuffer.c
|
0e471ac45771393ea74178eb98f41b904168cf64 |
27-Jan-2009 |
Keith Whitwell <keithw@vmware.com> |
wgl: relocate wgl code to state_trackers/wgl Similar to the GLX state trackers for DRI and xlib.
Conscript
tate_tracker/wgl/SConscript
tate_tracker/wgl/opengl32.def
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_device.h
tate_tracker/wgl/stw_framebuffer.c
tate_tracker/wgl/stw_framebuffer.h
tate_tracker/wgl/stw_icd.c
tate_tracker/wgl/stw_icd.h
tate_tracker/wgl/stw_pixelformat.c
tate_tracker/wgl/stw_pixelformat.h
tate_tracker/wgl/stw_quirks.c
tate_tracker/wgl/stw_wgl.c
tate_tracker/wgl/stw_wgl.h
tate_tracker/wgl/stw_wgl_arbextensionsstring.c
tate_tracker/wgl/stw_wgl_arbextensionsstring.h
tate_tracker/wgl/stw_wgl_arbmultisample.c
tate_tracker/wgl/stw_wgl_arbmultisample.h
tate_tracker/wgl/stw_wgl_arbpixelformat.c
tate_tracker/wgl/stw_wgl_arbpixelformat.h
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_context.h
tate_tracker/wgl/stw_wgl_getprocaddress.c
tate_tracker/wgl/stw_wgl_pixelformat.c
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
3cf7f9887ae9f26c006f88071cd69343e2c591e4 |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i915: rename some functions
rivers/dri/i915/i915_state.c
|
d0c8ed73cc6f2b08906a18a8d60e3bc364e5e48f |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: replace i915/intel_state.c and i965/intel_state.c with shared file
rivers/dri/intel/intel_state.c
|
69fd665b6491ece8c948784014ab52839c3aeb8b |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: whitespace changes
rivers/dri/intel/intel_state.c
|
84c8b5bbf980deea6322009354c3331dc5d5eb57 |
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: move some driver functions around A step toward consolidating i915/intel_state.c and i965/intel_state.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_state.c
|
72ee0e247d799c85612c72bbd2257648e11fa583 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: check if stencil test is enabled in intel_stencil_drawpixels()
rivers/dri/intel/intel_pixel_draw.c
|
723648f2ee2a8e529063c9da84e9dff9c8c6be99 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform()
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
|
36daee1c7bec44b9d3641f056c84b3b2f39fabd9 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: asst. casts to silence warnings
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
|
6c244b0f326504ae6add1ddcb407e73c3e72da78 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: #include clean-ups
rivers/dri/intel/intel_screen.c
|
d555cdbe3ed6b503863886a2d4499c812bee5acb |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove old #includes
rivers/dri/intel/intel_context.c
|
aae2729aeb3f6eed26e8f7673f47f2b978786bb1 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: make intelUpdateScreenFromSAREA() static
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
66c7f06413cc96a75befa4323677b26a2917ebb3 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unused var
rivers/dri/intel/intel_screen.c
|
4006c5e4526a1cdb910500764590e39d32750967 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: move intelInitExtensions() and related code into new intel_extensions.c
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_extensions.c
rivers/dri/intel/intel_extensions.h
rivers/dri/intel/intel_screen.c
|
4451eb2e7533a41f67ed21d05a8d9ab5efec77e9 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: move glClear-related code into new intel_clear.c file
rivers/dri/i915/Makefile
rivers/dri/i915/intel_clear.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_clear.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_clear.c
rivers/dri/intel/intel_clear.h
rivers/dri/intel/intel_context.c
|
6fcebbe719eab1f8e292c8dcd6c3e898b0f8d261 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: Move swap-related functions from intel_buffers.c to new intel_swapbuffers.c
rivers/dri/i915/Makefile
rivers/dri/i915/intel_swapbuffers.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_swapbuffers.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_swapbuffers.c
rivers/dri/intel/intel_swapbuffers.h
|
3b23a8e07d59ff6ee766e7d3eb384137279a5250 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: scissor rect was inverted when rendering to texture
rivers/dri/i965/brw_sf_state.c
|
6b1b8e4ca1c911105c42154c9e794262d74652e5 |
26-Jan-2009 |
Brian Paul <brianp@vmware.com> |
gallium: updated comments in st_extensions.c
tate_tracker/st_extensions.c
|
523febe12ea2aa6992ed1161d962615a40a04eb6 |
26-Jan-2009 |
Robert Ellison <papillo@tungstengraphics.com> |
mesa: add missing texture_put_row_rgb() function in texrender.c The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method, which is used to implement DrawPixels(). This fix adds an implementation of this method.
ain/texrender.c
|
c50a9319b13b43754feb9b7396662f5dc8badf65 |
24-Jan-2009 |
Pekka Paalanen <pq@iki.fi> |
mesa: declare pipe_texture in st_public.h Fixes: In file included from nouveau_context_dri.c:6: ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: 'struct pipe_texture' declared inside parameter list ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../../../src/mesa/state_tracker/st_public.h:104: warning: 'struct pipe_texture' declared inside parameter list Signed-off-by: Pekka Paalanen <pq@iki.fi>
tate_tracker/st_public.h
|
cba5ce166523a8bb6888a0ea28a26e30204f30a4 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'tex_combine4'
|
628b52241b13132e2d4065b653befdf81236e651 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: init array->Format fields (see bug 19708)
rivers/dri/i965/brw_metaops.c
|
96ee3db6f76f25f8dcf36b365f6be93341d90472 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: enable GL_NV_texture_env_combine4 extension
rivers/dri/intel/intel_context.c
|
d4757cd02aeebe1a3072f35b5134ad5e278e3a6f |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_NV_texture_env_combine4 for sw drivers
ain/extensions.c
|
6947f85cb5fbc433ba7763530285e470745b009b |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated fragment shader codegen for GL_NV_texture_env_combine4 Expand struct fields, increase loops and handle new 4-term ADD modes. Plus, some new assertions to catch switch/default cases that may be incorrect.
ain/texenvprogram.c
|
2d508c1d5c53dc475e5262593dd4dac5575a6b08 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
swrast: updates for GL_NV_texture_env_combine4
wrast/s_texcombine.c
wrast/s_triangle.c
|
e082314cab42f43b0438603a282f01920004e6f0 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update state setup/validation for GL_NV_texture_env_combine4
ain/texstate.c
|
08fbbdd4dceb8ca7ac15f0ce469f59e13e0ba82b |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4
ain/texenv.c
|
f5d3027c0a03e26fe90efc067766c996dea05948 |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial changes for GL_NV_texture_env_combine4
ain/extensions.c
ain/mtypes.h
|
ded949ed06e02ef26b1168b101daba04be78155e |
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set the new array->Format field in VBO code Should help to solve failed assertion in i965 driver (see bug 19708)
bo/vbo_context.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
bo/vbo_split_copy.c
|
e57e39896049a045751201e912779872026fc741 |
23-Jan-2009 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
intel: fix the mismerge of the vblank pipe enable sanity check Fix the last merge fix, had the blocks ordered incorrectly.
rivers/dri/intel/intel_buffers.c
|
ad338c14c2aca87199da7ec1ae08ceb5062a9954 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helper
ain/texenv.c
|
216bff5fd4699a694a1d76f91c4ee193c2bbe23a |
23-Jan-2009 |
Jesse Barnes <jbarnes@virtuousgeek.org> |
intel: move pipe enable sanity check to where it belongs Bah, applied the patches in the wrong order, not Owain's fault...
rivers/dri/intel/intel_buffers.c
|
aa210b327ef56e87a624504bceed1e8a51206b4e |
23-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Adapt for st_get_framebuffer_surface call change.
tate_tracker/wgl/stw_wgl_swapbuffers.c
|
0b5266ff648b03b3f2beda9838598abc00c4f7b2 |
21-Jan-2009 |
Owain Ainsworth <zerooa@googlemail.com> |
intel: fix vblank crtc selection with DRI1 when only one pipe is enabled. On Mobile chipsets, we often enable PipeB instead of PipeA, but the test in here was insufficient, falling back to pipe A if the area intersection returned zero. Therefore, in the case where a window went off to the top of the left of the screen, it would freeze, waiting on the wrong vblank. Fix this mess by checking the sarea for a crtc being zero sized, and in that case always default to the other one.
rivers/dri/intel/intel_buffers.c
|
39b4061bb9be540dfb51891e22c505bc235ec8a2 |
21-Jan-2009 |
Owain G. Ainsworth <oga@openbsd.org> |
intel: Prevent an "irq is not working" printf when only pipe B is enabled. intelMakeCurrent is called before intelWindowMoved (in fact, it calls it), so calculation of the correct vblank crtc has not happened yet. Fix this by making a function that fixes up a set of vblank flags and call if from both functions.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
|
0a40033047373d9c16039cff9e63130478e78e0f |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor _mesa_TexEnvfv() code with helper functions
ain/texenv.c
|
b8fc605cdb741bd409dbca44150a7ba262b6f157 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'vertex_array_bgra'
|
dab586b0755bffa7c4da0fdc571e0f504f4066c2 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: enable GL_EXT_vertex_array_bgra Simply a matter of choosing the right surface/vertex format for GLubyte/GL_BGRA arrays.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/intel/intel_context.c
|
0bd6d48bcea7de37e027854e9d91c54116fbe90e |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable GL_EXT_vertex_array_bgra for sw drivers
ain/extensions.c
|
0791fdff6fe87cf9a29ddf4a716f1881c367c7de |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update tnl module for GL_EXT_vertex_array_bgra Add special case for GLubyte/GL_BGRA color arrays in _tnl_import_array()
nl/t_draw.c
|
9cf594d698839678290f058078f0eaf569a13ff8 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: improve array initialization code, and set the new array->Format field.
ain/arrayobj.c
|
76d27a6a1e94e973e5a0a4a22b80158dfecf9151 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update glColorPointer, etc for GL_EXT_vertex_array_bgra Add new error checking, set array state appropriately.
ain/varray.c
|
f7c1a2dacd1643a19fbf975c21ac3e64b708c8d7 |
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial bits for GL_EXT_vertex_array_bgra
ain/extensions.c
ain/mtypes.h
|
42c07d1500c0fc948f17f3eb1c3d527aeb428bd0 |
10-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
r300: Enable GL_ATI_separate_stencil in R300 At this point, GL_EXT_stencil_two_side should probably be disabled. It may be worth leaving it enabled because it has GLX protocol while GL_ATI_separate_stencil does not. I'll leave it to one of the r300 maintainers to make the call.
rivers/dri/r300/r300_context.c
rivers/dri/radeon/radeon_screen.c
|
f7265e7a57bf49285dd226cf1effc75bf0cd54c0 |
10-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
965: Enable GL_EXT_stencil_two_side
rivers/dri/intel/intel_context.c
|
b5fbdef7ec3deb823ad1db8a7b7a731800082f75 |
10-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
swrast: Enable GL_EXT_stencil_two_side
rivers/dri/swrast/swrast.c
ain/extensions.c
|
dde7cb962860e72e1bf3175069767358cc5b3f3c |
10-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Track two sets of back-face stencil state Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_wm.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
ain/enable.c
ain/getstring.c
ain/mtypes.h
ain/stencil.c
wrast/s_stencil.c
|
b0d0e53a54ce79f57334942bf0b3762db8a3a7b8 |
23-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
gallium: change the st_get_framebuffer_surface/texture functions to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
af0e6336e9d7dc19d74950ce13b33e1fa1b2081d |
17-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: whitespace changes and reformatting
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_pass2.c
|
a7f98f4c7e9e20ec23ded82881360ec307881509 |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: enable GL_ARB_framebuffer_object
rivers/dri/intel/intel_context.c
|
6d2e1f6a2cd25107ad9bd88b1decd05fc8000f78 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: add GL_EXT_framebuffer blit extension This functionality is required by GL_ARB_framebuffer_object. For now, implement it in terms of glCopyPixels(). This will need to be revisted though.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
|
f8a7e497acf17cfdefe401815c7063aaf39d4200 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove/disable the "paired depth/stencil" code We only allow combined depth+stencil renderbuffers so the complicated code for splitting and combining separate depth and stencil buffers is no longer needed.
rivers/dri/i915/Makefile
rivers/dri/i965/Makefile
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
b27057b381fd8e478f4a31cf790f30a4bf1538cf |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: asst clean-ups, simplifications in intel_draw_buffer()
rivers/dri/intel/intel_buffers.c
|
3abf67c6b1e1510427fc608983fdeaec88f6077c |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: remove unneeded call to ctx->Driver.DepthRange() The preceeding call to intel_draw_buffer() does that.
rivers/dri/intel/intel_fbo.c
|
71b78149bdb3d0d92b004aed29edcf9ea1a440a8 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: disallow separate depth/stencil renderbuffers Take advantage of the GL_FRAMEBUFFER_UNSUPPORTED feature to disallow separate depth and stencil renderbuffers; only allow combined depth/stencil buffers. Next up: remove/simplify a bunch of the depth/stencil renderbuffer code. Also: restore the previously disabled GL_DEPTH_COMPONENT16 case
rivers/dri/intel/intel_fbo.c
|
d1eca7f558fa3a20cfe1fe78125d8b7f7751def6 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: minor reformatting
rivers/dri/intel/intel_buffers.c
|
3c98d3cf32e1828b116173f97dc6d4d4a609951c |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: plug in stub intel_validate_framebuffer() function
rivers/dri/intel/intel_fbo.c
|
f8b00806d8263f2ff09f175e0801379c0b9e9b2c |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: inline some renderbuffer functions
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
1b199101ffd50e59372e1ecafaae48f369169292 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: enable ARB_fbo for s/w drivers
ain/extensions.c
|
7296636ad03f58c7b7f673109515c1659a36a899 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: avoid calling _mesa_test_framebuffer_completeness() more than needed When we change a FBO's attachments, set _Status=0. Before using an FBO, check if status != GL_FRAMEBUFFER_COMPLETE. Also, fix missing GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE status.
ain/fbobject.c
ain/framebuffer.c
|
d0f13fa7d70c57e698cce9fbde399e80f7afcf47 |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix some renderbuffer/framebuffer delete semantics Need to unbind buffers if referenced by the current read/draw pointers when being deleted.
ain/fbobject.c
|
3059007f0c2e91f4ef207677cdcb6dc42be7ecb2 |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add support for GL_DEPTH_STENCIL_ATTACHMENT point. Used to set both the depth and stencil attachment points to one renderbuffer of texture.
ain/fbobject.c
|
722d976283f402b1edeb5ed67ad9747d322a262e |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional FBO error checking for multisample-related things Plus some new comments.
ain/fbobject.c
|
23524e87339b25be75580a2dd2ea296b1741bffb |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update Visual.samples field in _mesa_update_framebuffer_visual()
ain/framebuffer.c
|
4f3514e410c7b743a99f509c176f75b2a3182948 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor glRenderbufferStorage(), glRenderbufferStorageMultisample() code Use a common helper routine for both functions.
ain/fbobject.c
|
8fb8855b4d495303aabd11a4475cba3723b14bb2 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: init MaxSamples = 0 (no multisampling)
ain/context.c
|
5ca24eaf563e55269b3255e12e23a2a87dd47009 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add ARB_framebuffer_object.xml to API_XML
lapi/Makefile
|
515c118a7e6dfab39935cb4159824a715b45ed3a |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added GL_MAX_SAMPLES query for GL_ARB_fbo
ain/get.c
ain/get_gen.py
|
4fc16fb7e9b72c4535967804c031256637a97197 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added NumSamples, MaxSamples for ARB_fbo
ain/mtypes.h
|
777a2efc7768de659fbc2e9a7541c9cbb3fc1d8b |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: stub for _mesa_RenderbufferStorageMultisample()
ain/api_exec.c
ain/fbobject.c
ain/fbobject.h
|
1f32c410dd06d73e2ad007a6ce755437884e92c3 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: call fbo_incomplete() if driver marks FBO as incomplete (debug only)
ain/fbobject.c
|
283edbe31177522d006ab37ebaf33a6e31f0a34e |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: update update_framebuffer_size() for ARB_fbo and mixed renderbuffer sizes
ain/framebuffer.c
|
3528f69ce4ba9098ff4d372d7d411b24cf161d61 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added ctx->Driver.ValidateFramebuffer() callback Called from the _mesa_test_framebuffer_completeness() function to give the driver the chance to make a framebuffer as incomplete if it doesn't meet some specific hardware restriction.
ain/dd.h
ain/fbobject.c
|
1bc59bf4f85d1649e6c273cca82785965ea94ac9 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new ARB_fbo queries, fix some error tests
ain/fbobject.c
|
d9a2cf92468f318e4cd7f1cfdbb3faf53545ecad |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new ColorEncoding and ComponentType to gl_renderbuffer
ain/mtypes.h
ain/renderbuffer.c
|
06f3b2e6799ebd66a813ce9345c2ca6bbd0abe7d |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional FBO/RB id error checking for ARB_fbo It's illegal to bind a FBO/RB id that didn't come from glGenRender/Framebuffer().
ain/fbobject.c
|
989edea40913de9347908488db8978eb2efaba63 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: for ARB_fbo, lift restriction that all FBO attachments are same size and color format
ain/fbobject.c
|
7d98f5ab6e207586dcac4b165221ea9852fcf035 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial extension bits for GL_ARB_framebuffer_object
ain/extensions.c
ain/mfeatures.h
ain/mtypes.h
|
27d08f0ed28792de9b9f0a977c13ee7ea7c0cf46 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: regenerated GL API files
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
4397974662295b02b0a933360b7d5a7644104d96 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glapi: include ARB_framebuffer_object.xml
lapi/gl_API.xml
|
d61b8896bcd6059ced5bbeed7274aafcdde872ea |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glapi: XML spec for GL_ARB_framebuffer_object
lapi/ARB_framebuffer_object.xml
|
f9152f316a6e1a2277d32e0beb31d6355d205e21 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: call _mesa_write_shader_to_file(). Debug-only, disabled
hader/slang/slang_compile.c
|
d0038930312f96468a9159a1221c3f4c56bddaa4 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: new _mesa_write_shader_to_file() function Used to log a shader to a file. Includes shader source code, the info log and generated GPU instructions.
hader/prog_print.c
hader/prog_print.h
|
cb136e0476a3ca4f3cb7730ccdd729ba3773e351 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: set shader->CompileStatus in _slang_compile()
hader/shader_api.c
hader/slang/slang_compile.c
|
596b8fbbbf65cef227ce60216a57d4bbfd627099 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _mesa_fprintf() wrapper
ain/imports.c
ain/imports.h
|
0e4805685035dc3ea26f169830843cd4cecd1a29 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: master is open for new development, eventually will be Mesa 7.5
ain/version.h
|
5a458977113e4a0d3c389b03801cf6ce580d3935 |
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version to 7.3
ain/version.h
|
f69e2f42d53337702ce52173a58a49e53bfdee56 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
r200: fix up swtcl/tcl flushes
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
d93dc4338279c03b8fa2b0adec01dedae4fe4895 |
22-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: plug memory leak running gears
rivers/dri/radeon/radeon_cs_legacy.c
|
9780127449c6b32cc16ee1a1589c1e28eae1d7bb |
22-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove some debugging
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/radeon_cs_legacy.c
|
8b56a86385f3411f0d1ba64423f32bff6c60416d |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: better free of array
rivers/dri/radeon/radeon_cs_legacy.c
|
860d0cc656ee0eb724b2d82596c09a9eee9a8d19 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: free all relocs in array
rivers/dri/radeon/radeon_cs_legacy.c
|
02952a41eb0e47ab77a984922c1c3202aeb45b50 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: check relocs before deref
rivers/dri/radeon/radeon_cs_legacy.c
|
2c8b55b351c84cda4e620a5aba3e67c110890567 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix relocs even more
rivers/dri/radeon/radeon_cs_legacy.c
|
c66e38d24fa8ffa2ac759ce118cb779fbce117d4 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix reloc free harder
rivers/dri/radeon/radeon_cs_legacy.c
|
bb7756eaed7b6c51a2da2ed9905b79172be91881 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: free indices caught with valgrind
rivers/dri/radeon/radeon_cs_legacy.c
|
a5b54eb3c99aedf92197c834a6645127a231b382 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: cleanup bo unref codepath in pending code assert for bad case hopefully
rivers/dri/radeon/radeon_bo_legacy.c
|
11995807f1d83e29e4517c6ae5449cd702f33835 |
22-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: fix counting for cfree handles in an inline
rivers/dri/radeon/radeon_bo_legacy.c
|
014c52eb6bc2fc0edb69d1ef063eb6c9735b3833 |
22-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: add r100/r200 workarounds for legacy aging
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_cs_legacy.c
|
4ca76586c23200b66cb4f85afb21ea02853779ea |
22-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: disable some debug
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
|
7d01cb37d94b8966fa089106b902325dbef33a58 |
22-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: emit elts into a separate ELT bo
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_tcl.c
|
4df482086ebf0663c708b089d8d8d22de0ef972c |
22-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln
|
b8bd0b0ddc357f9b430bb6ddeb60c5a2179d3791 |
13-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i915: Add decode for PS in batchbuffers.
rivers/dri/i915/i915_fragprog.c
rivers/dri/intel/intel_decode.c
|
fc3971d80051b34836716579fd060dbb122d036b |
09-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove gratuitous whitespace in INTEL_DEBUG=wm output.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_debug.c
rivers/dri/i965/brw_wm_fp.c
|
046e88fc0be37d5a3dfbfa9fb8033b549604c74c |
09-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Use _mesa_num_inst_src_regs() instead of keeping a copy of its contents.
rivers/dri/i965/brw_wm.c
|
eda2284961e46002c7b2bd4e4ae2785d7b0a2191 |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200r300: start merging span code
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
|
194d039f1efee0e666c2d1b1116fd5adea8cb942 |
21-Jan-2009 |
Kristian Høgsberg <krh@redhat.com> |
[intel] Remove remaining references to intel_wait_flips(). Oops.
rivers/dri/i915/intel_tris.c
|
0788e424713a2b71cceee60bcd21c79a2896b3bd |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: remove indexed verts
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
|
8c7135ee14fb6f4d8b6e64d570daee3512c99438 |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
swrast: fix redundant texture application in affine_textured_triangle(). This function does simple texture mapping so disable normal texture mapping before we call _swrast_write_rgba_span() so that we don't do it twice.
wrast/s_triangle.c
|
909aeb005f6e5b35889aa9b4fc5e68786bdad047 |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix 1D textures
rivers/dri/r200/r200_texstate.c
|
4683cab29a74d6b3cefdd915aaf91e6b4f667d27 |
21-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add some debug assertions to detect null current texture object pointers See bug #17895. These assertions could be removed when this is resolved.
ain/texobj.c
ain/texstate.c
|
674b204ba7c4854fec92a0c939de5012fecb6d87 |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix cubemaps
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
|
61bb82636f7b1681b5509e1a9038bbcc1feea35c |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200/r300: port r200 texture handling to common code we now get texrect + trivial textures working
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
|
2bf31b7ffdee0b84e916d5ee4aa487f2e61a1ff7 |
21-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r300/radeon: move face_for_target
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
|
39e6d0d8108fe6d222865e7bb9de1e3cea18b4c4 |
20-Jan-2009 |
Timo Aaltonen <tjaalton@cc.hut.fi> |
[intel] Go back to using the typedef for the sarea struct The upstream linux kernel headers and libdrm kernel headers disagree on the tag name for the sarea struct: _drm_i915_sarea vs drm_i915_sarea. They both typedef it to drm_i915_sarea_t though, so just use that.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
b5da7feee03abd7ca52312476bd75d28d1afddf4 |
14-Jan-2009 |
Owain G. Ainsworth <oga@openbsd.org> |
Remove intel pageflipping support in its entirety. It's been broken and deprecated for a while, so it's time to die. This has the wonderful benefit of cleaning up the code a fair amount; making it marginally less twisty. I'm unsure if the for loops in IntelWindowMoved are still needed.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
e0ec3243e87cbdfb5db2657fe791748e145930e8 |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r300: start migrating common functions into common code
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
|
0f548dbc9811838362c8cfaecc10f1fbe8c3dd8d |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: silence unused var warnings
hader/slang/slang_mem.c
|
9d216be8cfe57f88cd2d890c2334df8ff5c30436 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence uninitialized var warnings
wrast/s_span.c
wrast/s_texfilter.c
|
eb26cc6cf5ba0b8ff4c7d85da8f421839691186a |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: silence compiler warning at -O2
hader/arbprogram.c
|
ddbd6ed326275de0c22011a2700f342409beee76 |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r300: move to common texture_image object
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_context.h
|
bb63a663b1a3a3a3f27ebc8b1a678c3bc7cc4a69 |
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.3-rc3
ain/version.h
|
33dc14c707734df37fb02b7bcc278ddeb94036f1 |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: start to move to common miptree/texobj
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_mipmap_tree.c
rivers/dri/r300/r300_mipmap_tree.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_mipmap_tree.c
rivers/dri/radeon/radeon_mipmap_tree.h
|
d9c4a01bad3a7d4a965fc09d8605afc6ca48f6f9 |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: make tri render on my r200.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/common_lock.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_cs_legacy.c
|
04029e5ddb030445edc98305b091b9a35479282a |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: tri runs without crashing - doesn't draw anything
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/radeon/common_misc.c
|
ed3a1cce73fcd0d6f4b6e9b5f69a98ad179ddc4b |
20-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: clear is working at least - not much else
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state.c
|
437fa85ba3611606ae8a8ac4aa4d634c91d2966d |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Add a comment about _tnl_emit_indexed_vertices_to_buffer.
nl/t_vertex.h
|
b00477acf3546242cd183630bd55a49085bbb3ed |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
tnl: Add a utility to emit indexed vertices to a DMA buffer. This utility is useful for hardware that doesn't support HW index buffers. It's a bit inefficient but appears to give a substantial performance gain, as we can emit tri strips that would otherwise be split into triangles.
nl/t_vertex.c
nl/t_vertex.h
|
7374285f07b673dcba1d1f47dd987c8ba7037bad |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Fix store texel for argb4444.
ain/texformat_tmp.h
|
5c84a1032c13a75b95e40bd316495b3351b324e1 |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Fix store texel for argb8888_rev.
ain/texformat_tmp.h
|
dbda49a9e65f684ca46c7af84cc52d63b0622978 |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Add RGBA4444 and RGBA5551 texture formats.
ain/colormac.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
11351f0c8a88ae84ec397c7f9abb4a83c64b2cfc |
20-Jan-2009 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
dri1: Add a macro to validate two dri drawables in one go. Dri drivers often may validate first a write drawable and then a read drawable ("readable"). However, the hardware lock may be unlocked when validating the readable, causing the write drawable status to be stale. Drivers should use this macro instead when validating two drawables.
rivers/dri/common/dri_util.h
|
a5b5bc9f95f381ac61e29e2b2f2001c4135e54ef |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix build of stand-alone glslcompiler driver
rivers/glslcompiler/Makefile
|
2fa407be8b982016d355c51bd32f3023b9ee0140 |
19-Jan-2009 |
Brian Paul <brianp@vmware.com> |
statetracker: copy back color buffer to front buffer when needed Fixes front-buffer rendering when following a SwapBuffers. See progs/tests/rubberband.c
tate_tracker/st_atom_framebuffer.c
|
a61a1a8181f05e07de1c0bccad109f4ad529a298 |
16-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix polygon culling bug when rendering to a texture/FBO Since we use an inverted viewport transformation for render to texture, that inverts front/back polygon orientation. Now glCullFace(GL_FRONT / GL_BACK) works correctly.
rivers/dri/i965/brw_sf_state.c
|
345a08a77fa16f58ef956c896f1bf5f4cf118243 |
16-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: added intel_rendering_to_texture() helper function. When we're rendering to textures we have to invert the viewport transformation. This helper cleans up that test and can be used elsewhere...
rivers/dri/intel/intel_fbo.h
|
12c6d28cc7ef36a27389003e9898b512b6f722f9 |
16-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_DEPTH_TEST + no depth buffer test One could enable depth testing before binding an FBO that has a depth buffer so this test is no longer useful or correct.
ain/enable.c
|
2e28c1fda24988241ef7abb91b7d896e38f5df26 |
16-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/shader/slang/slang_compile.c
|
e442fe5ba53acf16c78339f19921d70dba3928f6 |
16-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix broken sampler assignments
hader/slang/slang_emit.c
|
eac69bf99e9917492c646854128c117d064e9901 |
14-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
stw: Dispatch to our stw_winsys::flush_front_buffer pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_wgl_context.c
|
66a4f5cf9a74f906f802eeeae56de79fc640a2c9 |
16-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fallback on transfer mode
rivers/dri/intel/intel_pixel_copy.c
|
e7c988d065d3a86bb231c92dada569825105dee9 |
15-Jan-2009 |
Karl Schultz <karl.w.schultz@gmail.com> |
windows: updated mesa.def file
rivers/windows/gdi/mesa.def
|
4a8356209d143f21138eaa3ea64626e04c969669 |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: use _mesa_sprintf()
hader/slang/slang_link.c
|
e1ba29ea19fd99d16b63cc34bc2aa1e4a26c5a25 |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: move declaration before code
hader/slang/slang_compile.c
|
abd280ab0b72979bf709b2d029e11c8f4bc4d5f8 |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: tweak to formatting
tate_tracker/st_cb_fbo.c
|
fbf13bcb8aeeeb70475d9bd8a0d0640936d27047 |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: check frambuffer complete status before rendering
ain/api_validate.c
|
bfbb57790a06bb03e9bf3237b7f8756a67702192 |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: small cleanup
tate_tracker/st_cb_fbo.c
|
8708fa11745bbe479f6315831a040f3ad9e4c90a |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: revert partial commit for 0x0 render targets
tate_tracker/st_atom_framebuffer.c
|
263b96e160606975285154c4b8b610fcb8f4c930 |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: check frambuffer complete status before rendering
ain/api_validate.c
|
938f1e98043cc6c9cb6f204d022aef76c03bc210 |
15-Jan-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Fix merge conflicts
hader/slang/slang_preprocess.c
|
08d90fe8a5e12d92994c05b2ec9f68ab7232275c |
15-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
r300: move some more function to generic
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
|
1a51b76343255af9be6282f93614e92788ad4f0f |
15-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r200/r300: start to make cmd buf useful
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/radeon/common_cmdbuf.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
|
0c0a55a21158e1f97cf140c0a1c0531c06751873 |
15-Jan-2009 |
Dave Airlie <airlied@linux.ie> |
r100/r200: move to new atom style emission
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_state_init.c
|
8f8435637d5915cbb217340e831728bf10333c78 |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: bump version to 7.3-rc2
ain/version.h
|
7d08091767c9713e153922385b02047c73ab70e2 |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix comment
hader/slang/slang_typeinfo.c
|
b5f32e1d5a1780292b10ba51fa2c7d05e77a7346 |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: minor clean-up for rect sampler test
hader/slang/slang_codegen.c
|
0dffd223491765fe572d606c2b10855cb568db7a |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
r300: work-around FRAG_BIT_FOGC warning/error See bug 17929. Fog doesn't actually work, but the often complained about warning is silenced.
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_program_pair.c
|
947d1c5b2a70c0eafa4c408b47607574a2908468 |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: asst. fixes, work-arounds for FBOs and render to texture OpenGL allows mixing and matching depth and stencil renderbuffers in framebuffer objects while the hardware really only supports interleaved depth/stencil buffers. This makes for some tricky buffer management. An extra wrinkle is the situation where the user allocates a 16bpp depth texture or renderbuffer then tries to render to it along with a stencil buffer. We'd have to promote the 16bpp Z values to 24-bit Z values and mix in the stencil values to setup the depth/stencil renderbuffer. There's no support for that now, so always allocate 32bpp depth textures/ renderbuffers for now.
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_tex_format.c
|
c7f43543af8a0bf95750eb6d332fdede07d104ea |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix incorrect renderbuffer DataType assignment
rivers/dri/intel/intel_fbo.c
|
5912cdff3e1f2296b1f5753a008b225bdac4559a |
15-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix some FBO depth/stencil assertions
rivers/dri/intel/intel_depthstencil.c
|
658b1bdb1cc5f9910be910dc156a2e81ed999756 |
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: docs/install.html docs/relnotes-7.3.html src/mesa/shader/slang/slang_codegen.c src/mesa/shader/slang/slang_compile.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_preprocess.c src/mesa/shader/slang/slang_preprocess.h
|
03188b09e071ace9d9e21ccc56c01e90c0fa8639 |
14-Jan-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: SW fallback maps texture images, not texture coordinates
rivers/dri/intel/intel_span.c
|
fae9604727c048834a7d5a90f8a652c86cff057a |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: propagate pragma info down into compiler from preprocessor
ain/mtypes.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
|
b5f89e5f17bdf718d1f1f29e7a10dee3809c9f29 |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: simplify IR storage for samplers Don't overload the Size field with the texture target, to avoid confusion.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
c12d24b513a67648c30bf892964f887fad71e103 |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect transformation of GL_SPOT_DIRECTION This was changed between GL 1.0 and 1.1. Mesa still had the 1.0 behaviour.
ain/light.c
ath/m_matrix.h
|
2549c26a8b1eec21bdd8f45d3b3dd06e17ac82ae |
14-Jan-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Treat image units and coordinate units differently. Previously MaxTextureUnits was used to validate both texture image units and texture coordinate units in fragment programs. Instead, use MaxTextureCoordUnits for texture coordinate units and MaxTextureImageUnits for texture image units. Fixes bugzilla #19468. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
hader/arbprogparse.c
|
85dfed93fe2a6aace7dd2e08f97760e7062e6eb3 |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: handle some cases of 0x0 render targets
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_gen_mipmap.c
|
a98dccca36027fc0ed333075ab30176144e6c475 |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: fix regression from sampler arrays commit
hader/slang/slang_codegen.c
|
1d376ae7c93fb4bb929942e56425c4be6401dff7 |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: fix regression from sampler arrays commit
hader/slang/slang_codegen.c
|
1b3e3e6b841535b78ff4fa1d3861e9d8cdeff972 |
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: indentation fixes
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
49b53407c7c4f08b5e13591fd04080ca602fba40 |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: allow larger AA points on fallback path
rivers/dri/i965/brw_context.c
|
d911e3e24fbfb5cd28cabb92f952775b7eb1d1d9 |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix indentation
rivers/dri/i965/brw_sf.c
|
658ab3c3ae4c99e841a6639f6d012c23deeb5371 |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: comment for emit_kil()
rivers/dri/i965/brw_wm_glsl.c
|
8f7349dbb46e1ec6d8194a42753e83c1913944bc |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: put _NV suffix on a few opcodes
hader/prog_instruction.c
|
d687476eddf96ba172d6d63b9cb4a091ce358b1a |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix indentation
rivers/dri/i965/brw_wm_glsl.c
|
47e3a7d7942d722bc679852fec167cc3a8b5bdd4 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: get ctx right in copybuffer
rivers/dri/radeon/common_misc.c
|
4aa874c6368f2485d4ef72e2dc0230b7d443f9f0 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r200: add missing symbols
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.h
|
8c6a7d01744fe6164a868c5f691bb119109773c0 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: make legacy emit non-r300 specific
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_cs_legacy.c
|
e7d06a55c5443cfef73f5c2f60052cc26a1e9ff2 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: move debug symbol add DRI2
rivers/dri/r200/r200_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
61da612a4f8862e0aac4ff4fc87c133cb8a1c4a5 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
r300: start moving new r300 cmdbuf into common code
rivers/dri/r200/Makefile
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_lock.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_lock.c
rivers/dri/radeon/common_lock.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_screen.c
|
23295cf8e84495af86f62395d32b3116261927e8 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: consolidate swap buffers
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_lock.c
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_screen.c
|
44b916b2c0af0b451b8c45d5872663e61d9110e5 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove old lock code
rivers/dri/r200/r200_lock.c
rivers/dri/r300/radeon_lock.c
rivers/dri/radeon/radeon_lock.c
|
7e5e327cea83d9f6d1485f9be440277540ace5c7 |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: consolidate the buffer copy/flip code into one place
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
|
d29e96bf33e91d071770b86d87ffc4ef4dfc2f70 |
13-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: attempt to move lock to common code
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/common_context.h
rivers/dri/radeon/common_lock.c
rivers/dri/radeon/common_lock.h
rivers/dri/radeon/common_misc.c
rivers/dri/radeon/common_misc.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_texmem.c
|
c157a5bb9131dc95f2e5519fda19cf8c3567543a |
14-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: bump driver date
rivers/dri/intel/intel_context.c
|
4637235183b80963536f2364e4d50fcb894886dd |
14-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: initial attempt to convert to common context code
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_context.h
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_sanity.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
|
14eca6b573f70485feb6dc6bc048843e1b65e780 |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: fix a comment typo
hader/slang/slang_codegen.c
|
ef0e0f2550b8bc63972ee53a80578b19ff2a5bbc |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: support sampler arrays.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
67c7f94a212864bf1d46e521e98638c3e5a83d4c |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: fix a comment typo
hader/slang/slang_codegen.c
|
8373347c051b68784b464c85fd3458f2d50df415 |
14-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
glsl: support sampler arrays.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
0217ed2cf9b0a538ca03d26b302a7cd57af7dd21 |
13-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: move more stuff closer together in context
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_context.h
|
01a0938776ad12e6560a17163bb7a6a3da9e9820 |
13-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: add preprocessor support for #pragma Two forms are supported: Pragmas are silently ignored at this time.
hader/slang/library/slang_pp_directives.syn
hader/slang/library/slang_pp_directives_syn.h
hader/slang/slang_preprocess.c
|
b6e486906968d82c7b8a869d7ab51697a7cce80c |
13-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: move state atom to common header
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_state_init.c
|
00c02626d8087cab0cf5581911c4e68f7b32eb6e |
13-Jan-2009 |
Karl Schultz <karl.w.schultz@gmail.com> |
windows: try to create a context in wglCreateLayerContext()
rivers/windows/gdi/wgl.c
|
692ca82116485a9c6191e5265c5b369d5b4f82f3 |
13-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: start splitting out commonalities into separate headers
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/common_context.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
|
4b9a09e9f63791787fb9a276a4efd685b399be52 |
13-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: use bo_wait to wait for all buffers to be rendered to Not 100% sure this is correct, but its what Intel does and its better than CP_IDLE.
rivers/dri/r300/radeon_ioctl.c
|
eeeed45c2cf6c876d79ae20a9a96172ece8642fe |
12-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix glDrawPixels Z coordinate in intel_texture_drawpixels(). As for glBitmap, it needs to be an NDC coord in [-1,1].
rivers/dri/intel/intel_pixel_draw.c
|
3a5463d158eff483a992c9792d771fb80db9aed0 |
12-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix broken glBitmap + depth test When we use the do_blit_bitmap() function, it seems the fragment Z is always 1.0. If depth testing is on, that means that bitmap fragments are often occluded by other rendering. So, the bitmap doesn't appear even if rasterpos.Z==0. The fix is to use the intel_texture_bitmap() path when depth testing is on. Also, fix the incorrect Z coordinate. It needs to be an NDC value in [-1,1].
rivers/dri/intel/intel_pixel_bitmap.c
|
de35989cdec9807c60b2b4389e5988037ce23d95 |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix broken ARB fp fog options Just call _mesa_append_fog_code() if the fragment program's FogOption is not GL_NONE. This allows us to remove some unnecessary i965 fog code. Note, the arbfplight.c demo can be used to test this (see DO_FRAGMENT_FOG).
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_fp.c
|
06fdb6a74cfdddb5f598ddfeab890c59f176dab8 |
12-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: better fix for for-loop scope issue (commit 6333005f7aea3e5d1d86a5c47b3fa2a1ed2f3ff0)
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
|
0f0922f93cbe997a95575c955ab1544bb5cd1d7d |
11-Oct-2008 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
Big endian fixes.
ain/glheader.h
|
33f6dc3c334cc065d7c98d0481be19b208e1837d |
21-Sep-2008 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
build fix on big endian OpenBSD architectures.
rivers/dri/mach64/mach64_context.h
|
356428d4e4dba433b405f63ff918d76eaf4b4215 |
14-Sep-2008 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
replace nearbyint() by rint() for now.
rivers/dri/i965/brw_sf_state.c
|
297a9606ead4400a60a1b5106327c226db4b3474 |
13-Sep-2008 |
Matthieu Herrb <matthieu.herrb@laas.fr> |
__builtin_expect is a gcc 3.x feature. define it out for gcc 2.95. Patch suggested by miod@. Thanks.
lapi/glthread.h
|
efe68930dce815b3ecda7dc1164dcd9a504dc525 |
11-Jan-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r300: add code to setup r300 vs r500 using pci device from kernel
rivers/dri/radeon/radeon_screen.c
|
287102ddcc72ae19f7e6b912205805c5e78771f7 |
10-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: deprecate GL/amesa.h header (allegro driver)
rivers/allegro/amesa.c
rivers/allegro/amesa.h
|
f5979b0c159d1d3839caf86072639f5d96a5b0b5 |
10-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: deprecate the GL/fxmesa.h header
rivers/x11/fxmesa.h
rivers/x11/xmesaP.h
|
1636328b0adefcebcc204d63980184a6d592efae |
10-Jan-2009 |
Brian Paul <brianp@vmware.com> |
xmesa: deprecate the "XMesa" interface Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xmesa.h
rivers/x11/xmesaP.h
rivers/x11/xmesa_x.h
rivers/x11/xmesa_xf86.h
|
6333005f7aea3e5d1d86a5c47b3fa2a1ed2f3ff0 |
10-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: force creation of new scope for for-loop body Fixes regression in progs/demos/convolution.c due to loop unrolling. This also allows the following to be compiled correctly: for (int i = 0; i < n; i++) { int i; ... } This fix is a bit of a hack, however. The better fix would be to change the slang_shader.syn grammar. Will revisit that...
hader/slang/slang_compile.c
|
1d352b42a106ed0c3cd0831fa681d07794b7ff3d |
10-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: replace 0/1 with GL_FALSE/GL_TRUE
hader/slang/slang_compile.c
|
9939a306f7dc109d301e7b2d6abf4f2ab019bde0 |
09-Jan-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Fix GL_ATI_separate_stencil GL_ATI_separate_stencil is enabled by default for software rasterizers, but the extension functions weren't hooked up to the dispatch table.
rivers/dri/swrast/swrast.c
|
a719d704741ae21d1b12138c863f22286b98a5af |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: make minimum struct size = 2, not 1 1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders. (cherry picked from master, commit ca03e881a8d8fa3e36a601238559c20311373633)
hader/slang/slang_codegen.c
|
ca03e881a8d8fa3e36a601238559c20311373633 |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: make minimum struct size = 2, not 1 1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders.
hader/slang/slang_codegen.c
|
834c93687f4dcdba31725dca1fe238e62ac91f8d |
09-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
st: build fix
tate_tracker/st_context.c
|
233a58ff565f0cc31345fe36bd8d9b929fdc9ace |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix typo in the vec2 += operator function
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
f75910e9b781ba912bee791ba938d744c1d8f4f5 |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version string to 7.3-rc1
ain/version.h
|
ebccb250f7131eb508536db7a00608aee98a3b21 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix broken +=, -=, *=, /= operators These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
5273a5f0d7b433150cdb16737bb295d76d0594a0 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix off-by-one bug in _mesa_delete_instructions()
hader/program.c
|
28c503d4bb7b46c593d346f142b05f35afe0d0d1 |
08-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.
rivers/dri/i965/brw_wm_glsl.c
|
739d38c8e9a23c6e45f4869a01f0e104e1d78a8f |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change. Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or BRW_NEW_VERTEX_PROGRAM.
rivers/dri/i965/brw_state_upload.c
|
510916f50961a3a9286807e7f75ba716f3e7f967 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_pixel_draw.c
ain/context.c
ain/mtypes.h
ain/state.c
wrast/s_aalinetemp.h
nl/t_context.c
|
5e116e52a2859cca27e984c4ee4fef69a9280e56 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead brw_vs_tnl.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vs_tnl.c
|
ac984c95ed28dfad8a09e168e9e4cb41cf31d039 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: allow gl_FragData[0] usage when there's only one color buffer If gl_FragData[0] is written but not gl_FragCOlor, use the former.
rivers/dri/i965/brw_wm_fp.c
|
efd120842498a908bf722413ed603e368f2e18b3 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional case in file_string()
hader/prog_print.c
|
d33b0f1a8d7eb295cc403b12dce9d56b3f0393b2 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: pass GLcontext::Extension info down into GLSL preprocessor Now the #extension directives can be handled properly.
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
|
1169457ecaa470191f56bd740de90585d8eb349a |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY
hader/slang/slang_codegen.c
|
f8a4ad1aeeef1debe6f206bc30696304edd7704c |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: check that the fragment shader does not write both gl_FragColor and gl_FragData[]
hader/slang/slang_link.c
|
5727ed130ef1d3adb87de89ea717e07726131f3e |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: init dst reg RelAddr field to zero
rivers/dri/i965/brw_wm_fp.c
|
735bdcfad82d87f943c6fb40f4534e9125d3c595 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Note when we drop saturate mode on the floor in a VP.
rivers/dri/i965/brw_vs_emit.c
|
8ea48b94f948f3468df718dab2b8258b5d71b6b4 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for LRP in VPs. Bug #19226.
rivers/dri/i965/brw_vs_emit.c
|
bc5450f41c7dad6edbaa27376351a32ac0dfcdf4 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: disable some unused functions (but don't remove just yet)
hader/slang/slang_codegen.c
|
3ebc79ce890e42e5d8a862cb01f99d8d51df61b3 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: also unroll loops with variable declarations such as "for (int i = 0; ..."
hader/slang/slang_codegen.c
|
5dfd429c7e7a543a4a4f62e437c371003e42a029 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove dead code
hader/slang/slang_log.c
|
89c078a58e0b7cf05366c7e2e90eece9a84a63d4 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: OSMesa Makefile fixes (use LIB_DIR)
rivers/osmesa/Makefile
|
ac8a33671a7aaa0527490a1615495fac73081bc0 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: loop unroll adjustments Add a "max complexity" heuristic to allow unrolling long loops with small bodies and short loops with large bodies. The loop unroll limits may need further tweaking...
hader/slang/slang_codegen.c
|
12fe642f96a2a9439f9ac8751151ae6e7fa20049 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement loop unrolling for simple 'for' loops Loops such as this will be unrolled: for (i = 0; i < 4; ++i) { body; } where 'body' isn't too large. This also helps to fix the issue reported in bug #19190. The problem there is indexing vector types with a variable index. For example: vec4 v; v[2] = 1.0; // equivalent to v.z = 1.0 v[i] = 2.0; // variable index into vector!! Since the for-i loop can be unrolled, we can avoid the problems associated with variable indexing into a vector (at least in this case).
hader/slang/slang_codegen.c
|
aed1bb6bc38a1925f15ad4aea707579f653d82c7 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Move var declaration to top of scope. (cherry picked from commit 3740a06e28f4cd09e2a3dce2da60320aa9304df1)
hader/slang/slang_codegen.c
|
630b6e896b30d8e856c1c86f4b67f64111ba59f5 |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix typo in the vec2 += operator function
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
acd99f67cc04ae249e35a9d80de12c0af012e4fc |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix typo in the vec2 += operator function
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
0713e9da73cebfc35550ab192f385b955eb8ebcd |
09-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set version string to 7.3-rc1
ain/version.h
|
1efbad7499626fd5e3718f07de4ed51a346710df |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix broken +=, -=, *=, /= operators These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
730a407ca288bdd0120b9bb436ae716bfb9415f5 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: fix broken +=, -=, *=, /= operators These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
19c877c3278f5bfc48f55b2ee35ec5f6769e4c90 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix off-by-one bug in _mesa_delete_instructions()
hader/program.c
|
2d3953fd5ff91d9717d806a1fa3c8537efb8b67c |
07-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add _mesa_snprintf. On Windows snprintf is renamed as _snprintf.
ain/imports.c
ain/imports.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
b57797f3a81bd04a992868c48a6d98d66e692f3d |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_DEPTH_CLEAR_VALUE casting
ain/get.c
ain/get_gen.py
|
0f5c71afd9b5b2f73721d443c3ccffdf8663aee0 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3) Conflicts: src/mesa/main/get.c
ain/get.c
|
a86776dba4cb328f5ed5f97c46d262ee6b90456a |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Move var declaration to top of scope.
hader/slang/slang_compile.c
|
73d02d70b8c98c0e64e7816795565ed5f5bf3639 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Do not provide DllMain inside the state tracker. MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_device.h
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
19641a9295f5d14919480124575c6727a0ad79cf |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Ensure public symbols get the proper DLL linkage attributes.
tate_tracker/wgl/SConscript
tate_tracker/wgl/stw_framebuffer.c
tate_tracker/wgl/stw_icd.c
tate_tracker/wgl/stw_icd.h
tate_tracker/wgl/stw_wgl.c
tate_tracker/wgl/stw_wgl.h
tate_tracker/wgl/stw_wgl_arbextensionsstring.c
tate_tracker/wgl/stw_wgl_arbpixelformat.c
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_getprocaddress.c
tate_tracker/wgl/stw_wgl_pixelformat.c
tate_tracker/wgl/stw_wgl_pixelformat.h
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
2105b61846aad8d0c12dec00ef0c9ebdaacd0d4a |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Ensure gl* symbols are marked as dllexport on windows.
Conscript
|
0db6804699e9d01a7957f853ce6ebfccbcd9906f |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use explicit casts when precision is lost. Silences MSVC.
ain/get.c
|
ca337076b3be03469f0170c1bf85d9611831886c |
08-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix windows build when UNICODE is defined.
ain/dlopen.c
|
83a74521cfd2e81dd98ee1d84aff42a660613740 |
08-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.
rivers/dri/i965/brw_wm_glsl.c
|
6d2cf395f401b53da1c2fc4485a297fd975637c6 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change. Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or BRW_NEW_VERTEX_PROGRAM.
rivers/dri/i965/brw_state_upload.c
|
8fb727548a652c47d8cf9593e2ae412ef2040119 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_pixel_draw.c
ain/context.c
ain/mtypes.h
ain/state.c
wrast/s_aalinetemp.h
nl/t_context.c
|
b9b482bd8de366289158a916e16414c5a74819c9 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead brw_vs_tnl.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_vs_tnl.c
|
f68f94c2bc950405d4c91a1e5582a35ff4b15bdf |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: allow gl_FragData[0] usage when there's only one color buffer If gl_FragData[0] is written but not gl_FragCOlor, use the former.
rivers/dri/i965/brw_wm_fp.c
|
bc7d2c4f51c56787b261e6ab6f9a77d39c3493e1 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: additional case in file_string()
hader/prog_print.c
|
9629be5e07dc1d2b69cf7a761a6bb3ac0ec26453 |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: pass GLcontext::Extension info down into GLSL preprocessor Now the #extension directives can be handled properly.
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
|
176464b14b8ec2a248aed95df087e47749c851fa |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY
hader/slang/slang_codegen.c
|
d1860bcd0ade44a884ac1b7e0c5b2bef8ed6afcb |
08-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: check that the fragment shader does not write both gl_FragColor and gl_FragData[]
hader/slang/slang_link.c
|
95fa98d61a857448e690a0671b2e1e1d2873f0ec |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: init dst reg RelAddr field to zero
rivers/dri/i965/brw_wm_fp.c
|
8112c9e2cc5b27a2b7fd1641c03d3660f992dabf |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Note when we drop saturate mode on the floor in a VP.
rivers/dri/i965/brw_vs_emit.c
|
f53d9913ac8efa5cefa428eb21f91298aca78293 |
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i965: Add support for LRP in VPs. Bug #19226.
rivers/dri/i965/brw_vs_emit.c
|
b3c7f7466c068a5eaeb5adf981b6f776560bb6c9 |
07-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add _mesa_snprintf. On Windows snprintf is renamed as _snprintf. (cherry picked from commit f8f9a1b620d31d1a59855fd502caed325d4a324f)
ain/imports.c
ain/imports.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
510ed7f51e0a198029835e4d88a1364179c2745c |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: disable some unused functions (but don't remove just yet)
hader/slang/slang_codegen.c
|
a8542200b306f06d40d3944c42bc9634f425c8b0 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: also unroll loops with variable declarations such as "for (int i = 0; ..."
hader/slang/slang_codegen.c
|
cea7f7b76365dc41ba0e577d992193997b4f246f |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: remove dead code
hader/slang/slang_log.c
|
1a414a4dbe382b972061f3dc20ca648d1e8332b3 |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: OSMesa Makefile fixes (use LIB_DIR)
rivers/osmesa/Makefile
|
f8f9a1b620d31d1a59855fd502caed325d4a324f |
07-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Add _mesa_snprintf. On Windows snprintf is renamed as _snprintf.
ain/imports.c
ain/imports.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
0b0d0dcdef2b914dceb30a8e9a80f403b0311efc |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: loop unroll adjustments Add a "max complexity" heuristic to allow unrolling long loops with small bodies and short loops with large bodies. The loop unroll limits may need further tweaking...
hader/slang/slang_codegen.c
|
1fa978c8911d00e7cac0a114110e98ebdbe4d57d |
07-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement loop unrolling for simple 'for' loops Loops such as this will be unrolled: for (i = 0; i < 4; ++i) { body; } where 'body' isn't too large. This also helps to fix the issue reported in bug #19190. The problem there is indexing vector types with a variable index. For example: vec4 v; v[2] = 1.0; // equivalent to v.z = 1.0 v[i] = 2.0; // variable index into vector!! Since the for-i loop can be unrolled, we can avoid the problems associated with variable indexing into a vector (at least in this case).
hader/slang/slang_codegen.c
|
338ae34d227fce8b6f358ca90d383d0cfb87c868 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Move var declaration to top of scope. (cherry picked from commit 3740a06e28f4cd09e2a3dce2da60320aa9304df1)
hader/slang/slang_codegen.c
|
814bc5ccda51009327b6b5ff0fc2c088d537a636 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_DEPTH_CLEAR_VALUE casting (cherry picked from commit d14d494dcda3d80ec2cf452551c680ffb432e306)
ain/get.c
ain/get_gen.py
|
a055520bfba38b160a79f41a6c9df377150e0a10 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file (cherry picked from commit 816fbeaa813e5cdca314a39677c74c8dc700d35a) Conflicts: src/mesa/main/get.c
ain/get.c
ain/get_gen.py
|
d14d494dcda3d80ec2cf452551c680ffb432e306 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_DEPTH_CLEAR_VALUE casting
ain/get.c
ain/get_gen.py
|
c3be5e4a050561e25854f38aa221bbf657848762 |
26-Sep-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix cast/conversion for optional code (cherry picked from commit 1e3a44fab068f00378613456036716d0c3772969)
ain/get.c
ain/get_gen.py
|
bec14ebf5e4253cdb9e7610273cdd38360394404 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3) Conflicts: src/mesa/main/get.c
ain/get.c
ain/get_gen.py
|
22ff5a7a0bad0a9a75a8bcd57e97780c66666249 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: pass ctx to link_uniform_vars() to fix build error
hader/slang/slang_link.c
|
3740a06e28f4cd09e2a3dce2da60320aa9304df1 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Move var declaration to top of scope.
hader/slang/slang_compile.c
|
5da0401398239a2b445e11945144d073d77f0f03 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Do not provide DllMain inside the state tracker. MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_device.h
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
c3ead57feba757ac633f0bc142dd1300cc6c7037 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
wgl: Ensure public symbols get the proper DLL linkage attributes.
tate_tracker/wgl/SConscript
tate_tracker/wgl/stw_framebuffer.c
tate_tracker/wgl/stw_icd.c
tate_tracker/wgl/stw_icd.h
tate_tracker/wgl/stw_wgl.c
tate_tracker/wgl/stw_wgl.h
tate_tracker/wgl/stw_wgl_arbextensionsstring.c
tate_tracker/wgl/stw_wgl_arbpixelformat.c
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_getprocaddress.c
tate_tracker/wgl/stw_wgl_pixelformat.c
tate_tracker/wgl/stw_wgl_pixelformat.h
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
3f46389a28e120e2f7725c327f55e0f644391db5 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Ensure gl* symbols are marked as dllexport on windows.
Conscript
|
4ebb8f78e780ffa6f5f7082d0e36a792bceca321 |
06-Jan-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use explicit casts when precision is lost. Silences MSVC.
ain/get.c
|
fb45adeb9e5db7163007410f0461041e1111b6b3 |
05-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix a GLSL swizzled writemask bug This fixes cases such as: vec4 v4; vec2 v2; v4.xz.yx = v2; The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw; Helps to fix the Humus Domino demo. See bug 19189. (cherry picked from commit 9736d8f03364068c9ca786f88a4c2881d98d5768)
hader/slang/slang_codegen.c
|
0e25c363bee7cda8353ee4a5fe3072094affca46 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix warning about possibly undefined var in GLSL compiler (cherry picked from commit 724ed5b84bc2491da244d091de889d5b35503b5d)
hader/slang/slang_emit.c
|
8e0b601e311ec2f9f8e6205e6a2e6a7642009a96 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix another "out of samplers" problem Now only the samplers that are actually used by texture() functions are saved in the uniform variable list. Before, we could run out of samplers if too many were declared while only some of them were actually used. (cherry picked from commit 1fad6ccb756ae33ca3115f59c99ca8abbeb0321e) Conflicts: src/mesa/shader/slang/slang_link.c
hader/prog_parameter.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
7bfe6a9375b413d92982e065fb48c810d144c632 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comments about GLSL constants (cherry picked from commit dfada459aabf1a02dc2dbdb6644283fc95df2586)
hader/slang/library/slang_common_builtin.gc
|
158d3febd859f46fe2b96db55c7145e19b82f52e |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: fix bug in evaluation of structure fields Fixes incorrect size information. See bug 19273. (cherry picked from commit e8d7db31e2a6784c765911233cb3d888f612837f)
hader/slang/slang_emit.c
|
b66fe32c52f1920297a6af0391b99f54eb8b310e |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: allow variable indexing into the predefined uniform variable arrays This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list. (cherry picked from commit c6537ac8b8130cf2271c8d1e51137a575073c762)
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_emit.c
|
efe91b0000d162deb20486ef6d5e016a11428499 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: better error message when running out of GLSL samplers (cherry picked from commit ca0540e25c86b8095511868b0cbe96d7e85f7437)
hader/slang/slang_link.c
|
681ff412f9828684bda8d156181f06360752c72d |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable debug output (cherry picked from commit 3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753)
hader/slang/slang_compile.c
|
c2009111cc839ff3ba5df7c3a9170d31f706fa79 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some GLSL array regressions array.length() wasn't working. Swizzle mask for accessing elements of float arrays was incorrect. (cherry picked from commit 368df1615ef65afed96a44e1f43ade8cc703696f)
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
c18860ad1cd96674a2ff72e3fd6185d7356e9fff |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump glsl grammar revision And update some copyrights. (cherry picked from commit 4561307a27e07e37319fdf993c37f2c1b85ee3e9)
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
6045a6a908e230f3666f0dcf4defae305573accd |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more re-org of variable declarations in glsl compiler (cherry picked from commit 49543d7177fabc848822431891266e33bc13c818)
hader/slang/slang_codegen.c
|
ceb800a107b42fe96cc68f02ab743be2b8a38299 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more comments, clean up (cherry picked from commit a1229cc9e7c78c59cad8d0df30b1f28d9bc81faf)
hader/slang/slang_codegen.c
|
5b5b05c894bae7e82ef87eb06f63dc05ded9378a |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added comments, remove unused code (cherry picked from commit a66ff046cc169c6479b00b1e7fc5d87b93ad60ed)
hader/slang/slang_codegen.c
|
be620a66eb7b9b0512c31d9a026fa6f8a7ab05a6 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint: handle uniform vars in _slang_gen_var_decl() This allows uniform declarations with scalar/array initializers. The code is rough though, and will be cleaned up. (cherry picked from commit aa1b90463676ea71f24c1956dcf51deec1bf664c)
hader/slang/slang_codegen.c
|
d0a39f3d65aeb04d750dfb0885e87da1185a9296 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: place glsl constant arrays in constant memory For example, a declaration like const float[3] xxx = float[3](1.1, 2.2, 3.3); will place the array in the constant buffer whereas a regular, non-const array would be placed in the temporary register file. Next up: do the same thing for uniform arrays.
hader/slang/slang_codegen.c
|
7f0462abe7075db92e7f5c30cec692497be514f0 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove old size=4 limit (cherry picked from commit 0da44c62cc91c60d392f6e57aa047473b67ffb9b)
hader/prog_parameter.c
|
e153275ae80e04de2fbc33313327a4a7cc754649 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: code clean-up in glsl compiler (cherry picked from commit d4be09fb2b4a2a45a95a388f536aee566e05f96a)
hader/slang/slang_codegen.c
|
70050191ed39bab72b90ec891c413669d0f5a33f |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded swizzle init code in glsl compiler (cherry picked from commit 240e211c711b0ebfe6c3daa6cb70a3fa8fc8b656)
hader/slang/slang_codegen.c
|
9d6804bd2820fe76a46e9f9d6ae0f8ff0b20aead |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable glsl debug output (cherry picked from commit 4d49fc83f11ec2f333e06e94af5ac0d24b93caa8)
hader/slang/slang_codegen.c
|
ceaf57524b6daaba3b083f441a8e0a98f98cebde |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused varpool code in glsl compiler (cherry picked from commit 81253be3347312eb7539eb61ee9362f76370eba7)
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
71ef9e3775a8d091a7aaacac9bd3dcaecd3b075e |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: basic array constructors work now For example: float[3] xxx = float[3](1.1, 2.2, 3.3); Optimizations for const-qualified arrays next. (cherry picked from commit 5c0c5e5af9c72c170991f48628673faba85bc6f4)
hader/slang/slang_codegen.c
|
ae701a12019a59cfd22ca72db9bcca9e1d87f93a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy array_len in slang_fully_specified_type_copy() (cherry picked from commit c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10)
hader/slang/slang_typeinfo.c
|
91535b8a617b78b1f5e3d2325ca8832d255857a2 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove incorrect array_len assignment (cherry picked from commit 9016331d0fd0783d1e46c9d4b651797d6af4a60f)
hader/slang/slang_compile.c
|
a2ca0c0430433893876179a39f85a428862eabb2 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: array size fix in _slang_typeof_operation() (cherry picked from commit 87a00959ba40ee0aeaebbc8a86ca081cf3b81c75)
hader/slang/slang_typeinfo.c
|
47331842d4956fb7ccff002d9b86097749345d99 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some more GLSL 1.20 array things. Function that return arrays should work now. (cherry picked from commit 8571401d7d7c9c91c6f053e5dc8c94a4567140fe)
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
3d7d6cfbc2d8518837f3df375eb643abd397235a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more glsl function renaming (cherry picked from commit d5367622a3f1cffe67af0fb6fca99ad02eefd374)
hader/slang/slang_codegen.c
hader/slang/slang_compile_function.c
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
18dd05fbc57a1d4d75f8a5244345dd6fb1066e53 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use _slang_alloc() (cherry picked from commit b4019483dea406e997ae1c6b61b41cc49786c8ce)
hader/slang/slang_compile_function.c
hader/slang/slang_typeinfo.c
|
c22801841ce9415f5a34b86a62e43cf38ef70d66 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl compiler function renaming (cherry picked from commit 456a4e274ff60122ab7e23dad2d462be3d910599)
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
|
9fc529bcff1de621de3f9cb6bf7e2b4f00b26d3a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more glsl type/function movement (cherry picked from commit 9a174ef4090189e19831092bb2bae4bfc5396968)
hader/slang/slang_compile.h
hader/slang/slang_compile_function.h
hader/slang/slang_compile_variable.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
a5cd8fef91edf1d23888d0dc074ace91ef3f147a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glsl compiler functions to different files to be more consistant (cherry picked from commit aeeb9bca2712dbf8540486fc584e214a8af4c7c4)
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
fbc55bfbb852e16b445fb62dca3399949f87dfaf |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move _slang_locate_function() to different file (cherry picked from commit ea9dc3879f4cbbaa8ce9e305884a4afdc1fdd28a)
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
a7e3f85fd6ba0feb1c435b4e2f0a27016f7955cf |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused fixup table code in glsl compiler (cherry picked from commit 19ca2908be5df2240d694c67c6f190982e9f7922)
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
|
593073a3b39486398f245800633d6eeaf7989f5c |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint: GLSL 1.20 array constructors (cherry picked from commit ade777ea1b62e2280c9f05fa09927a8f9bb63f4f)
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_storage.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
0d293f66877486a37682bd0537ea1d3c5fc126db |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: consolidate variable declaration initializer code for globals too (cherry picked from commit 1737f2dbdd8d9d6b1da140340323cbf83f7bd592)
hader/slang/slang_codegen.c
|
6bc2fa0f827989be248fe29a195c2110293e42db |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move variable initializer IR generation into _slang_gen_var_decl() More code consolidation coming... (cherry picked from commit 2760bca1e13e62943affd762ed560bc30fbcc27a)
hader/slang/slang_codegen.c
|
de4f2088666020fb167779af7f632ae7f091f65a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: simplify some glsl variable declaration code (cherry picked from commit 05ed9f7fe934249eaa5a16123b5b5f7f62b0ad26)
hader/slang/slang_codegen.c
|
6095b7e22499c0af7a211d48cc0aaccf06a1ed2d |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl clean-ups (cherry picked from commit 929eb00b32dfea9b1ac58923c88d5573872adea1)
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
9b28d5ecd6e034f27cb550d1592f22b052d5cd5a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint commit of GLSL 1.20 array syntax. This allows things like float[3] x = float[3](1., 2., 3.); Parsing and AST construction now. Codegen not working yet. (cherry picked from commit 2dc3de016cd0306bf5b492ed781e824864788f11)
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
1f8109dd06ddbb14756951b5bc6de62cb212e891 |
09-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: in slang linker, replace assertion with link error when max samplers exceeded (cherry picked from commit e8f5c1a5e89fe43ddfa277d7392dcaf8ac1d6c88)
hader/slang/slang_link.c
|
525145a9f6968851ed97fb647261df3d8028e105 |
02-Dec-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix conditional in save_Lightfv(), bug 18838 (cherry picked from commit 1e2f57425153d73646fde7c91c16aa5559491556)
ain/dlist.c
|
aeb3caeba5be5897bce4c25b84496a171711952b |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing type check for function calls (cherry picked from commit 001b1cbb0dacf76dd09cda56840c30226abd3534)
hader/slang/slang_codegen.c
|
e42ed1ed0bb2c429f94dd10b193cf1b0892870bf |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing size check for assignment optimization (cherry picked from commit aa40de5c6f7f70844d4a4c726456cceaee9f0e4d)
hader/slang/slang_emit.c
|
96cab36e2ea39a8a9a8f70465c83f8520f3c9574 |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code (cherry picked from commit fea3a32e17502ac16ec9a12dc9d18742cea2efd5)
hader/slang/slang_compile.c
|
06f2139b8285d9f8a3a33b633d14dde48e0112fe |
25-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added support for GLSL 1.20 array.length() method This is the only method supported in GLSL 1.20 so we take a few short-cuts. (cherry picked from commit 8d95e66cf78921cd067c4bcf6a1053a7ec3a2ed4)
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.h
hader/slang/slang_print.c
hader/slang/slang_typeinfo.c
|
d450ede4c41915f9e07d9881236d3ad0c435a19f |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: support for GLSL 1.20 array types This allows syntax like "float[8] foo, bar;" (cherry picked from commit 0fab514ff5e7887767936427b5e02b676abebf3a)
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
89acfecd0bfbad7da35e9b88a2fe2030275fdf8f |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: pass shader centroid/invariant info through to the TGSI shader (cherry picked from commit c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2)
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
a48b004c442ec89905ee1dfdd778c9bca603732c |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add gl_program::Input/OutputFlags[] array These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. (cherry picked from commit b730d0d3e9b202b17a0815cb820fc9905f35cb98)
ain/config.h
ain/mtypes.h
hader/prog_execute.h
hader/slang/slang_link.c
|
71c900abc76198ecf97e0cd7585ade430827db3f |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy centroid/invariance/precision info in parse_init_declarator() (cherry picked from commit a2037137385671c0673d1de6eb1c36dbd3cd78f3)
hader/slang/slang_compile.c
|
674d7181f80750e171f278b41ff98fb0c755a095 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check that varying variable qualifiers agree (cherry picked from commit dc1107c08d0ccbeeb063f2e46be598f16cbe9f21)
hader/slang/slang_link.c
|
19111c5efc990df7f972c97f53bf6335ac43ad27 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy() (cherry picked from commit 0e2f757413a68f0edb6643ea23ad8d879d077f11)
hader/slang/slang_compile_variable.c
|
c249ac6d149c6b789df68ed14bdd5bb7395bfa00 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set flags for varying vars (cherry picked from commit 3197954554bfc492283c7db009d10ab408664cad)
hader/slang/slang_codegen.c
|
af988262e318629cc29d11171889c5bc5efd3096 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename program parameter flags to match other Mesa conventions (cherry picked from commit f490ec9797a396da9d182f1ad4393f1c5c2df440)
hader/prog_parameter.h
hader/prog_print.c
|
64de78723cb140d6de24678d298f58cd24aed02c |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy Flags in _mesa_clone_parameter_list() (cherry picked from commit 08b825a77179a9e7ed902c9c57387f127cd007bc)
hader/prog_parameter.c
|
a92af00e2adc1f3557ee69705c49e032286b2da2 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: dump/debug varying vars list (cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da)
hader/slang/slang_link.c
|
36f9d3fa9a4a7b5c25821c5099824c8e3b6ebc95 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation Plus, update the print/debug code. (cherry picked from commit 777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2)
hader/prog_parameter.h
hader/prog_print.c
|
ee3da89b197fa0aa063be6fcabddec284cc00bec |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add Flags field to gl_program_parameter Only one flag defined so far: PROG_PARAM_CENTROID_BIT (cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6)
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
716ccb11a25bdec19921e931bc7bcfb39c94896c |
22-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: issue error, don't crash, when calling a prototyped, but undefined function Bug #18659. (cherry picked from commit 4f05893415a2d6f29b29f4daf991ea95a1891a81)
hader/slang/slang_codegen.c
|
db2cde413c9d2843a6108db5e5f9b2f112a11fcf |
21-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: better variable name: s/aux/store/ (cherry picked from commit b63a31b36f2e1a198c214f41e0518991b1a8fa49)
hader/slang/slang_codegen.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
515a43da163d4662591969cd0be7601ac98bc75b |
20-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: minor comment reformattting (cherry picked from commit bab4e78734dc462387fea32f0b05103e31f2d6f6)
hader/slang/library/slang_shader.syn
|
620a2bad22e9fe2418f39b3e2d9dccdcc56512d3 |
19-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl compiler debug code RETURN0 macro reports file/line before returning zero. (cherry picked from commit bf7f9d2143a892bc11a5e2b84e3d6d3ed69fb5e8)
hader/slang/slang_compile.c
|
e779e33261ca42c8acebac216e1b070782e730f2 |
19-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL array code generation We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming. (cherry picked from commit ae0ff8097b85d3537a7be1674d55a44a9bd6018e)
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.h
|
ef4bd18a50ec9989fdcff97c10721e748e897c7b |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: don't realloc instruction buffer so often (cherry picked from commit e709d68d92ef6f2392b118d0a22452e8f4c53e9a)
hader/slang/slang_emit.c
|
2a6c12cf532b5206cebf6d643ab6e970a949b874 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comment (cherry picked from commit d9fa9e3290611944d5fd52301645367eeeb24f03)
hader/slang/slang_codegen.c
|
def84fac39fe356f34d8803989b554f15dac5909 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix merge conflict left-overs
hader/prog_print.c
|
ebcf06702c22419221c136a438c934469c2422cc |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: no longer need Writemask field in GLSL IR nodes The Swizzle and Size fields carry all the info we need now. (cherry picked from commit 80d6379722a1249ce13db79a898d340644936f67)
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
9681119bbb0317c87dcf781da561174752c02bc8 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: revamp GLSL instruction emit code This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups... (cherry picked from commit 3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd)
hader/slang/slang_emit.c
|
e8fa7e500c52db6764d4102360f2202005bcf817 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: make writemask_string() non-static (cherry picked from commit 610c2461ce0683ca5412e4b2b7a496f67e9d3704) Conflicts: src/mesa/shader/prog_print.c
hader/prog_print.c
hader/prog_print.h
|
2bdf076554f19f4f42cbfc6e14b6abd94bea3351 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some do-nothing GLSL code (cherry picked from commit 4c167f8fc1e56b6c82d8917c237e70531e3d57b9)
hader/slang/slang_codegen.c
|
ed8f857792d3ea9737359d098e36aed28a6adfac |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix accidental regression in GLSL built-in texture matrix lookup Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec. (cherry picked from commit fe984aed5a9ee7c6e000d48a0a584b964fefa848) Conflicts: src/mesa/shader/slang/slang_builtin.c
hader/slang/slang_builtin.c
|
5b66bc1a83a9c5745e0448cb6c05ee27d7ce858b |
13-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused/obsolete __NormalMatrixTranspose matrix (cherry picked from commit e556cc82f83716a734ed9d76356ba49bb670004f)
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_builtin.c
|
1ad6daf3a9aacd405bd38c8857b1aabae2eabb94 |
12-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: tweak program register printing for RelAddr case (cherry picked from commit 557fde9531289b4388a3080b89c2ebaa38abeaee)
hader/prog_print.c
|
20156ce5da7743f527b920add663f4fa65527dcd |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: allow relative indexing into all register files and indirect dst register indexing (cherry picked from commit f4361540f8dd3016571523863b33481cba7a0c07) Conflicts: src/mesa/shader/prog_execute.c
hader/prog_execute.c
hader/prog_instruction.h
hader/prog_print.c
|
6b05708ce2c4120921f43d82f1751e039306e0d6 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: track initialization status of uniform variables. Plus, asst clean-ups. (cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4)
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_uniform.c
hader/prog_uniform.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
de445478915af41e1e078cbb8c2cbcce340f83b6 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for uniform variable initializers. This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases. (cherry picked from commit 379ff8c9567940ebff44870cf7b0202882445fa6)
hader/slang/slang_codegen.c
|
c478a1baca0d97b03f391361dfeb953939f245d4 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allows 'f' suffix on GLSL float literals (cherry picked from commit 80c8017a643dfb655e4e1500e1c57e3908529c27)
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
45c8d996f606fbb0f42e3c87763eea6108b3bf28 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add support for 'centroid' qualifier in GLSL 1.20 (cherry picked from commit 87d1a26ba38e75f6988e094dbfbc0f77c0ae502b) Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
2e77a39d2f89d630cfb355a745dec2c9bb8e1365 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add support for 'invariant' keyword for GLSL 1.20 (cherry picked from commit 448156f769ebf271a6a8c03c61588c3e6c6363f0) Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
4adeac5af1660933acedc5dd6ee679c4d5cdbc39 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: reformat comments, rewrap lines, etc for a little better readability (cherry picked from commit b632e5aa7f948ed5bbf7104682ec3ee463af4c0a)
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
374cf77b2f0f13f9380fb0c9d804222a83bdc2e0 |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/drivers/dri/common/dri_util.c
|
f1f022dbb103947b0edf5ae984fcff00f6a8e539 |
06-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Fix the size per pixel for packed pixel format data type.
ain/image.c
ain/image.h
ain/mipmap.c
|
241c0bfc985363bb15e6cc0eca859c6ec36d1b35 |
06-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug #19390)
ain/texformat.c
|
7627c7f5dfa3b1bc7be9d1670668a81a70d9f64a |
06-Jan-2009 |
Xiang, Haihao <haihao.xiang@intel.com> |
dri: correct the damage. Fixes bug #17234
rivers/dri/common/dri_util.c
|
c5c9241cca3c57684db955390410c8cda44b785e |
06-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add GLushort cases for render to texture (Z-buffers)
ain/texrender.c
|
9736d8f03364068c9ca786f88a4c2881d98d5768 |
05-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix a GLSL swizzled writemask bug This fixes cases such as: vec4 v4; vec2 v2; v4.xz.yx = v2; The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw; Helps to fix the Humus Domino demo. See bug 19189.
hader/slang/slang_codegen.c
|
0d797365deb579cfeb2a32f21692515eb6904921 |
05-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: implement OPCODE_TRUNC (round toward zero) on vertex path. Also, fix some RNDD vs. RNDZ confusion elsewhere.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
8ee1df065234eaf27c53c03bdf6e4ad487bc326d |
30-Dec-2008 |
José Fonseca <jfonseca@vmware.com> |
scons: Specify C99 throughout all the tree. MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds.
Conscript
|
6cbaa2226fa1237b9f314828fbbc1c8db6509de8 |
04-Jan-2009 |
Brian Paul <brian.e.paul@gmail.com> |
gallium: fix MaxTextureCoordUnits init Fixes Cell regression.
tate_tracker/st_extensions.c
|
724ed5b84bc2491da244d091de889d5b35503b5d |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix warning about possibly undefined var in GLSL compiler
hader/slang/slang_emit.c
|
d917ad5dbd17f2399a5a3590fe6c06a64d683771 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
gallium: assorted state tracker fixes for > 8 texture samplers
tate_tracker/st_atom_texture.c
tate_tracker/st_extensions.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
0815ebccfc0a12d8f3e831928f1c4210b7f75ad8 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
|
eb9bbc5265562cb6f93688fc027ea76f91601e37 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
gallium: fix texcoord loop for rasterpos attributes
tate_tracker/st_cb_rasterpos.c
|
15a3fdb63e0511860ee84c168b84dd0bcfca6094 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
gallium: clamp MaxVertexTextureImageUnits against Mesa limit
tate_tracker/st_extensions.c
|
a57417eff62b24ebc562b6ecc120dfc7448679d0 |
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove redudant lines for libglapi.a
akefile
|
1fad6ccb756ae33ca3115f59c99ca8abbeb0321e |
02-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix another "out of samplers" problem Now only the samplers that are actually used by texture() functions are saved in the uniform variable list. Before, we could run out of samplers if too many were declared while only some of them were actually used.
hader/prog_parameter.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
4a6ad999ea312f0af85de621c8b6a15a3d3b7ffd |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: increase number of texture samplers to 16 This lets GLSL shaders use up to 16 samplers. Fixed function is still limited to 8 textures. Tested with progs/glsl/samplers.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
|
3b891a502b030f2ce8cd7a1aba93df11595f5c95 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: comments, clean-ups, re-order some functions
rivers/dri/i965/brw_eu.h
|
32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: added OPCODE_NRM3/4
rivers/dri/i965/brw_wm.c
|
e262da804014d57156346ff487904ce220974832 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: fix comment
rivers/dri/i965/brw_vs_emit.c
|
914fcbafdb166603da408d58a0a0f381d9c08e9f |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: indentation and formatting fixes
rivers/dri/i965/brw_wm_emit.c
|
131ac5b465d1f676ca2e592e4fecfcbc14b23b49 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: implement OPCODE_NRM3/NRM4
rivers/dri/i965/brw_vs_emit.c
|
23b0ad4d7e9130a07fec1e968777dfa59bc1d54e |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i965: whitespace, comment changes
rivers/dri/i965/brw_vs_emit.c
|
1d03f2834fd7279c28de3e57281f5a45c2fb4b8a |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: comments, whitespace changes
ain/ffvertex_prog.c
|
dfada459aabf1a02dc2dbdb6644283fc95df2586 |
01-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comments about GLSL constants
hader/slang/library/slang_common_builtin.gc
|
e9b34885b8ff2ccb67a801cd1ce07e0df1b0e397 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: increase max texture image units and GLSL samplers to 16 The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/config.h
ain/context.c
ain/enable.c
ain/ffvertex_prog.c
ain/mtypes.h
ain/points.c
ain/rastpos.c
ain/texenvprogram.c
ain/texstate.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
bfebeffc0045266d354a36968336337e099a9f27 |
31-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Share passthrough transform setup between glBitmap and glDrawPixels. The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_draw.c
|
e1a92175542c6645c23cc78f2a4fcd36dd0235e6 |
31-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add support for glBitmap as metaops using GL calls. This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016.
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
|
c789bd376f09c3b61617aeef6f5adbba2c541178 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/main/config.h
|
e8d7db31e2a6784c765911233cb3d888f612837f |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: fix bug in evaluation of structure fields Fixes incorrect size information. See bug 19273.
hader/slang/slang_emit.c
|
c6537ac8b8130cf2271c8d1e51137a575073c762 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: allow variable indexing into the predefined uniform variable arrays This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_emit.c
|
ca0540e25c86b8095511868b0cbe96d7e85f7437 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: better error message when running out of GLSL samplers
hader/slang/slang_link.c
|
6f346ec0b85375defd049029fa781531fdabda56 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: comments for some state vars
hader/prog_statevars.h
|
432e9fa85233f28ce42c2bcc94053a2deb45dad9 |
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: increase max constants/uniforms to 256 (vec4 vectors)
ain/config.h
|
9972d7147b1622074669111d72d85467c8c398cc |
30-Dec-2008 |
José Fonseca <jfonseca@vmware.com> |
mesa: Do not specify types in bitfields. As advised by gcc -pedantic.
ain/texenvprogram.c
|
0e0fb49c4515e14c54f23c1d3f8b2e981fe404a2 |
30-Dec-2008 |
José Fonseca <jfonseca@vmware.com> |
gallium: Remove unused variables.
tate_tracker/st_framebuffer.c
|
975e58499a07775e071c2517b4fa21306e8349bb |
30-Dec-2008 |
José Fonseca <jfonseca@vmware.com> |
scons: Specify C99 throughout all the tree. MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds.
Conscript
|
0c4346e63258bcaaae6f3045bc44d0e24073dd0e |
30-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: disable ATI_texture_env_combine3 for i830( and related device). Thanks to Eric for pointing it out.
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
6c01500228014a6cfa133b5dbba8c6d024833e84 |
24-Dec-2008 |
Eric Anholt <eric@anholt.net> |
dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0. We'd come up with a negative remainder, while we were looking for the positive version of it in the loop conditional. And, since the "did we hit our target" break was disabled for the target_msc == 0 ("Just make the divisor/remainder work") path, we'd never exit. Simplify the code by just using int64_t all over instead of trying to do it in a u32 space.
rivers/dri/common/vblank.c
|
c40cd2ccdd8ce7f749d03e66bcca297c2366c1f9 |
29-Dec-2008 |
Alex Deucher <alexdeucher@gmail.com> |
R300: missing semicolon
rivers/dri/r300/r300_render.c
|
0674a238547f9f4f9de9c6cf5d72015e5960aa9e |
29-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: enable ATI_texture_env_combine3. Fixes #17707
rivers/dri/intel/intel_context.c
|
0d1f90c75e39191f1824b382dfb8d709a3e70d01 |
28-Dec-2008 |
Dave Airlie <airlied@linux.ie> |
r300: remove the unknowns from the indx_buffer code
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
129b6bc4e33257dd27aa9b50c6fa934ccb14376e |
24-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: separate the fog term from the specular color term. Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945.
rivers/dri/i915/i915_fragprog.c
|
15b2e0d13873fb3b55af414285d74f4489dd2e13 |
23-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glBitmap clipping for DRI1.
rivers/dri/intel/intel_pixel_bitmap.c
|
b359350017a8f0328912f19d233bcdcc256aded1 |
20-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
Remove third buffer support from Mesa. This is part of the deprecated pageflipping infrastructure.
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
2a287ddd324cf285200aaf2eddc78da4eaaad1a1 |
22-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
r300: disable settexoffset extension on r300
rivers/dri/radeon/radeon_screen.c
|
d9b325f77e9011918ad1bb59db7c58c44582fda0 |
21-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
radeon: fix library name for consistency
rivers/dri/r300/Makefile
|
e14ffb1fa176dbaf260a62cc5e4ddbd602ff6327 |
22-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
radeon: remove start/end offset + cleanup some whitespace
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/radeon/radeon_cs_legacy.c
|
a42000bd6b799da4160d20f74422449415d1e370 |
22-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup r500 FP emission for new CS
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_ioctl.c
|
9f2732d3128a1482d4d7feacd98efaf7bdcc4eef |
21-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
radeno: hopefully make r200/radeon build
rivers/dri/r200/Makefile
rivers/dri/radeon/radeon_screen.c
|
58a82ee57f1e1e67387dd860ac253223db250789 |
20-Dec-2008 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2
|
f83f5ec8f5f1159cfd0ec2596ceab725c073266e |
19-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Add do_row_3d for mipmapping 3D textures Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats.
ain/mipmap.c
|
a330933bb75c38148668637cd22b90d75d39506f |
19-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
ain/mipmap.c
|
7e04272690e8d9deecc0bf71c37bfa4c321ae6ab |
18-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
965 / GLSL: Use full precision for EXP instruction The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
rivers/dri/i965/brw_vs_emit.c
|
962fa6bbc16abf2b9829bd0b761d9baa9d01fd1e |
18-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLSL: The LOG2 macro doesn't have enough precision It looks like the LOG2 macro only has 8 or 9 bits of precission, but the ARB_vertex_program spec says "accurate to at least 10 bits".
hader/prog_execute.c
|
1db63713046efd49071aae448105df8a80e1e83d |
19-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glBitmap top/bottom clipping. Bug #19139.
rivers/dri/intel/intel_pixel_bitmap.c
|
e67350da34c6009edff50c160df27493cb363e1b |
18-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't forget the source bitmap size when clipping the size we draw.
rivers/dri/intel/intel_pixel_bitmap.c
|
b9752a2bd615d136369af63ed3d45cc10adf21e7 |
18-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Update mesa state in blit operations that want post-scissor draw bounds.
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
d091ebd4e41c88fe53db9d52842aaa20d23b995d |
18-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.
rivers/dri/intel/intel_pixel_copy.c
|
663d6a0fe31c6e973df3a2827cfb88fe69d88d8a |
19-Dec-2008 |
Alan Hourihane <alanh@vmware.com> |
gallium: set ST_NEW_FRAMEBUFFER when setting new surfaces
tate_tracker/st_framebuffer.c
|
1e7785fe0721f66ca9523da0dc338d26256736bb |
19-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Move copyteximage source clipping out of copytexsubimage. glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't need the path. While moving the clipping out, replace the code with the mesa path to do the same job.
rivers/dri/intel/intel_tex_copy.c
|
d01c44aacaeabe1dd187163f9e204f40401698bc |
19-Dec-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region.
ain/image.c
|
aa09e0a1d532d0de2e094957d0509a7f60ebeafa |
19-Dec-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Correct _mesa_clip_to_region() off-by-one. Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax.
ain/image.c
|
78a204f507f966d12ecd3931a51a85763c66ddb3 |
19-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix two-sided lighting test in state tracker This fixes two-sided lighting for vertex shaders.
tate_tracker/st_atom_rasterizer.c
|
52406c80d67d3e101d1da0f5babaabac202d31d5 |
19-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix two-sided lighting test in state tracker This fixes two-sided lighting for vertex shaders.
tate_tracker/st_atom_rasterizer.c
|
a795e79f87909f687dba9ddd09c5bc46cc6e9228 |
18-Dec-2008 |
Michal Krol <michal@tungstengraphics.com> |
glsl: Fix handling of nested parens in macro actual arguments.
hader/slang/slang_preprocess.c
|
8b0b881438484234f1ab4ac07fdb7ae4a0a66759 |
17-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: check WRAP_T instead of WRAP_R for cube map texture.
rivers/dri/i915/i915_texstate.c
|
36920a24d643ebbe8b5d21baddd0a32ac7aa4e9b |
18-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fix abort issue. (bug #19147)
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
60410fc8587ce2bf09a5dc5d744268aa83701522 |
18-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded _mesa_reference_fragprog() call The subsequent if/else cases always call _mesa_reference_fragprog() anyway.
ain/state.c
|
9585f8daef6681bf1ad62ff4ad9a4102cf5d1abd |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comments
ain/mtypes.h
|
97d08366aa2a56705d32806845134cb4b5edbff0 |
18-Dec-2008 |
Michal Krol <michal@tungstengraphics.com> |
glsl: Fix handling of nested parens in macro actual arguments.
hader/slang/slang_preprocess.c
|
d9b92b112fb64005c71edf1158f7dffabc4659bb |
18-Dec-2008 |
Michal Krol <michal@tungstengraphics.com> |
glsl: Fix handling of nested parens in macro actual arguments.
hader/slang/slang_preprocess.c
|
a402d48f840f1d51eb46dc15a047589e2b8ca431 |
08-Oct-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Pass the context to query object delete cb to avoid null dereference.
ain/queryobj.c
|
cb453244caa15342bf229ee5ae16a78d038b8bdc |
17-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: check WRAP_T instead of WRAP_R for cube map texture.
rivers/dri/i915/i915_texstate.c
|
df73363ed1aa34cc0dc5feefb3933309591fa015 |
18-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fix abort issue. (bug #19147)
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
f9c76750a7687e9902f2efd91d5551ae0128003c |
18-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure.
ain/texenvprogram.c
|
2389c055ed4c26ba5f3979c4a7871a333725dd88 |
18-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure.
ain/texenvprogram.c
|
35aebf46679a6450b912b592b83badcfb523b79c |
18-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded _mesa_reference_fragprog() call The subsequent if/else cases always call _mesa_reference_fragprog() anyway.
ain/state.c
|
20555835b68c58b52d7954a0b237a9a331013e68 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comments
ain/mtypes.h
|
947d04d08bead28c43f525ea4c1d99a039bed047 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix fixed-function test in get_fp_input_mask() - again. The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure.
ain/texenvprogram.c
|
35bb2aa96a2499860869c0d307b599b3033b5264 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing cases for texture array targets
ain/texenvprogram.c
|
f0b0794b3885a2fdfb168ec4521c7b5e942d3228 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix fixed-function test in get_fp_input_mask() - again. The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure.
ain/texenvprogram.c
|
1519b93b7bc519e187d98f99715a01ba866286b1 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing cases for texture array targets
ain/texenvprogram.c
|
a8751f49167df81611390377aa3e84aba1ed3ae3 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Revert "mesa: fix vertex program test in get_fp_input_mask()" This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708.
ain/texenvprogram.c
|
d7296a1a8e846bc4d41ded1c2406b6f5c658188a |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Revert "mesa: fix vertex program test in get_fp_input_mask()" This reverts commit 8dc88cb64305c591dfadded2b5acbb1e6b04cd7f. This change broke other things...
ain/texenvprogram.c
|
8dc88cb64305c591dfadded2b5acbb1e6b04cd7f |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix vertex program test in get_fp_input_mask() We were accidentally using the fixed-function logic when a vertex shader was being used.
ain/texenvprogram.c
|
cdaaf8e107010624bed4abdf9553c0ef63c8b708 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix vertex program test in get_fp_input_mask() We were accidentally using the fixed-function logic when a vertex shader was being used.
ain/texenvprogram.c
|
ca284fde53dbbc7c525188c7918b356687b3dbc2 |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove redundant Makefile lines
akefile
|
ca8e42652c67e1ff0d4624c50924a93e6a309a4c |
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated list of src files
ources.mak
|
89565b22f5a5224f1c347fcf636aa203b3911760 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: update SConscript with new source files
Conscript
|
b0caa10a85b39f0e657dc0c4816884c9356b0b1a |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable debug output
hader/slang/slang_compile.c
|
368df1615ef65afed96a44e1f43ade8cc703696f |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some GLSL array regressions array.length() wasn't working. Swizzle mask for accessing elements of float arrays was incorrect.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
702b5b076b7591560e7e701e0c9ff2eeb30fa966 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename slang_library_noise.[ch] to prog_noise.[ch] and rename functions The noise functions were not glsl-specific. Also, ran indent on the code to clean it up.
hader/prog_execute.c
hader/prog_noise.c
hader/prog_noise.h
hader/slang/slang_library_noise.c
hader/slang/slang_library_noise.h
ources
|
ec8cdc71132be178c1588c9cffc184c2b4227b14 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'glsl-1.20-v2'
|
4561307a27e07e37319fdf993c37f2c1b85ee3e9 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump glsl grammar revision And update some copyrights.
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
63fc119d6c4f300958768144bd2a944e61c33eeb |
09-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: in slang linker, replace assertion with link error when max samplers exceeded
hader/slang/slang_link.c
|
c573b9f94a532c07438d72694115182c6a12903a |
09-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move _mesa_dlopen(), etc into separate dlopen.c file
ain/dlopen.c
ain/dlopen.h
ain/sources
ain/texcompress_s3tc.c
ources
|
49543d7177fabc848822431891266e33bc13c818 |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more re-org of variable declarations in glsl compiler
hader/slang/slang_codegen.c
|
a1229cc9e7c78c59cad8d0df30b1f28d9bc81faf |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more comments, clean up
hader/slang/slang_codegen.c
|
a66ff046cc169c6479b00b1e7fc5d87b93ad60ed |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added comments, remove unused code
hader/slang/slang_codegen.c
|
aa1b90463676ea71f24c1956dcf51deec1bf664c |
16-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint: handle uniform vars in _slang_gen_var_decl() This allows uniform declarations with scalar/array initializers. The code is rough though, and will be cleaned up.
hader/slang/slang_codegen.c
|
dc58da3e063d2a4018eea9149b43a3656a93a7ca |
16-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: stub out CompressedTexSubImage2D instead of segfaulting.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_subimage.c
|
095c3a5cb16dae5c1e4cf85bffd3cb2465ab9e28 |
15-Dec-2008 |
Eric Anholt <eric@anholt.net> |
i965: Update state before checking for fallbacks in brw_try_draw_prims. This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6. Bug #18907. Thanks to idr for pointing me at a nicer testcase than blender.
rivers/dri/i965/brw_draw.c
|
8abc860bd46a6cd584f9a64cb4613be76f82db06 |
15-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/winsys/gdi/SConscript
|
a22d865f93a1db7f72e0bfe216810f67bf4c2f2c |
15-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
e72a44215312ae1f3c812ba28e47b4aec3589de9 |
12-Dec-2008 |
Pierre Willenbrock <pierre@pirsoft.de> |
intel: Don't steal renderbuffer from caller in intel_miptree_create_for_region Fixes double-frees of some regions, once from the renderbuffer code and once from the miptree itself. Bug #19062
rivers/dri/intel/intel_mipmap_tree.c
|
0dfec4ab615d45e298bf47737a348c32eebe2acf |
10-Dec-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add decode of index/vertex buffer and primitive emit.
rivers/dri/intel/intel_decode.c
|
bc3b8a39a7090d95942faf378e776e89c490e250 |
10-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add batchbuffer assertions to hopefully catch future mistakes.
rivers/dri/intel/intel_batchbuffer.h
|
1126aa86bf9ca223218695eec1f41c6523068961 |
15-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Perform range checking on app supplied texture base level It is possible for applications to specify any texture base level, including trivially invalid values (i.e., 47000000). When an app specifies an invalide base level, we should gracefully disable the texture instead of accessing memory outside the gl_texture_object. This fixes an occasional segfault in one of our conformance tests.
ain/texobj.c
|
63cca2ba10ce7dcc8481cfa4be3872dfc269dded |
15-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLX: Include glapi.h before glapitable.h A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change some of the interdependencies between these two header files. Now glapi.h must be included before glapitable.h.
lapi/glX_proto_recv.py
|
1709ab01ef24279c782e420568e9257b4b92b224 |
02-Dec-2008 |
Neil Roberts <neil@linux.intel.com> |
Return 0 as the request size when the pixels parameter is NULL img_null_flag was being ignored when calculating the size of a request so a BadLength error gets thrown for glTexImage3D when the pixels parameter is NULL. See bug #11003
lapi/glX_proto_size.py
|
0f73302d24f4201813da2939742c5bcb6964b3b1 |
09-Dec-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLX: Fix protocol for glTexSubImage#D The TexSubImage commands do not have the "NULL image" flag that was introduced with glTexImage3D. However, there is a CARD32 pad element where that flag would be. Removing the img_null_flag causes the flag to be removed from the protocol. This changes the protocol and breaks everything. In order to prevent needing to hand-code all of the TexSubImage functions, a new attribute was added to the param element. This new attribute, called "padding," is a boolean flag that selects whether or not the parameter is a real parameter (default / false) or is protocol padding (true) that does not appear in the function's parameter list. This change resulted in a number of changes to other Python scripts. In almost all cases parameters with the is_padding flag set should not be emitted. This patch only changes the the XML, the DTD, and the generator scripts. It does NOT include the resulting changes to the generated code. Generated code in the X server is also changed by the script / XML changes in this patch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lapi/extension_helper.py
lapi/glX_proto_recv.py
lapi/glX_proto_send.py
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_x86_asm.py
|
8be02fc8c67433bd2647f59abece5e8111859e40 |
14-Dec-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Add OSMesa pkg-config file This makes the GLU .pc file a little simpler, too.
akefile
smesa.pc.in
|
71e208bafe9ca5e1c189fae3f251cc84034e5959 |
24-Nov-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Add more package metadata to the pkg-config files The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
akefile
rivers/dri/Makefile
rivers/dri/dri.pc.in
l.pc.in
|
d28e8528958b472c821e3b72a28c22f337aba66e |
13-Dec-2008 |
Gary Wong <gtw@gnu.org> |
i965: Finish OPCODE_NOISEn instructions. Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD) in the initial RNDD instructions (which avoids saturating negative inputs to 0).
rivers/dri/i965/brw_wm_glsl.c
|
a9475cc240984aab5d9cc5868aa3f6c1b206be94 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use IFLOOR(x) instead of (int) FLOORF(x)
hader/prog_execute.c
|
3b61e9c6e699690aa2ce61ad746170ea6d5597f4 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: place glsl constant arrays in constant memory For example, a declaration like const float[3] xxx = float[3](1.1, 2.2, 3.3); will place the array in the constant buffer whereas a regular, non-const array would be placed in the temporary register file. Next up: do the same thing for uniform arrays.
hader/slang/slang_codegen.c
|
0da44c62cc91c60d392f6e57aa047473b67ffb9b |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove old size=4 limit
hader/prog_parameter.c
|
d4be09fb2b4a2a45a95a388f536aee566e05f96a |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: code clean-up in glsl compiler
hader/slang/slang_codegen.c
|
240e211c711b0ebfe6c3daa6cb70a3fa8fc8b656 |
13-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded swizzle init code in glsl compiler
hader/slang/slang_codegen.c
|
079116e6a487988c7f0411f60c652bb29d69b488 |
13-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
4d49fc83f11ec2f333e06e94af5ac0d24b93caa8 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable glsl debug output
hader/slang/slang_codegen.c
|
81253be3347312eb7539eb61ee9362f76370eba7 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused varpool code in glsl compiler
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
5c0c5e5af9c72c170991f48628673faba85bc6f4 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: basic array constructors work now For example: float[3] xxx = float[3](1.1, 2.2, 3.3); Optimizations for const-qualified arrays next.
hader/slang/slang_codegen.c
|
c20d00f04bdbdc0d3abdae8984ff5c874c4f0a10 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy array_len in slang_fully_specified_type_copy()
hader/slang/slang_typeinfo.c
|
9016331d0fd0783d1e46c9d4b651797d6af4a60f |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove incorrect array_len assignment
hader/slang/slang_compile.c
|
a725a8e27a16fc2b38741ad28e43982a55431e0e |
12-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: move declaration
tate_tracker/st_draw.c
|
c828adc3f614f518ba2ce328cad477d31e292290 |
12-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: when we have interleaved arrays, check bounds for both VBO's and user space objects
tate_tracker/st_draw.c
|
87a00959ba40ee0aeaebbc8a86ca081cf3b81c75 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: array size fix in _slang_typeof_operation()
hader/slang/slang_typeinfo.c
|
8571401d7d7c9c91c6f053e5dc8c94a4567140fe |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some more GLSL 1.20 array things. Function that return arrays should work now.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
3a5d260cb1d2602b9fc32392f18538d0a6ff41c2 |
12-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix refcount bug introduced in eb20e2984
tate_tracker/st_draw.c
|
d5367622a3f1cffe67af0fb6fca99ad02eefd374 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more glsl function renaming
hader/slang/slang_codegen.c
hader/slang/slang_compile_function.c
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
b4019483dea406e997ae1c6b61b41cc49786c8ce |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use _slang_alloc()
hader/slang/slang_compile_function.c
hader/slang/slang_typeinfo.c
|
456a4e274ff60122ab7e23dad2d462be3d910599 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl compiler function renaming
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
|
9a174ef4090189e19831092bb2bae4bfc5396968 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more glsl type/function movement
hader/slang/slang_compile.h
hader/slang/slang_compile_function.h
hader/slang/slang_compile_variable.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
aeeb9bca2712dbf8540486fc584e214a8af4c7c4 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glsl compiler functions to different files to be more consistant
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
ea9dc3879f4cbbaa8ce9e305884a4afdc1fdd28a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move _slang_locate_function() to different file
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
19ca2908be5df2240d694c67c6f190982e9f7922 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused fixup table code in glsl compiler
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
|
d2c2e9316d043ab584794a3524f22776deb4c777 |
12-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: avoid mapping same vertex buffer in subsequent frames Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_clear.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_context.h
|
eb20e2984e51e632ef1a51620db7aca3eb89dafa |
10-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
st: reduce unnecessary calls to pipe->set_vertex_buffers()
tate_tracker/st_draw.c
|
8627a14ec872c532ac7660abfaf1a2db9b8608bb |
10-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
st: move feedback draw function to new file
ources.mak
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_draw_feedback.c
|
ec007dbe0f38798553d2a3c29c979dd3b7767818 |
10-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
st: don't unilaterally ABS the argument to RSQ
tate_tracker/st_mesa_to_tgsi.c
|
ade777ea1b62e2280c9f05fa09927a8f9bb63f4f |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint: GLSL 1.20 array constructors
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_storage.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
638e94295948619d6a32befe9e809513201b0318 |
20-Nov-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Bring in new mesa sub-statetracker. Some code cleanup is still in order.
Conscript
tate_tracker/wgl/SConscript
tate_tracker/wgl/opengl32.def
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_device.h
tate_tracker/wgl/stw_framebuffer.c
tate_tracker/wgl/stw_framebuffer.h
tate_tracker/wgl/stw_icd.c
tate_tracker/wgl/stw_icd.h
tate_tracker/wgl/stw_pixelformat.c
tate_tracker/wgl/stw_pixelformat.h
tate_tracker/wgl/stw_quirks.c
tate_tracker/wgl/stw_wgl.c
tate_tracker/wgl/stw_wgl_arbextensionsstring.c
tate_tracker/wgl/stw_wgl_arbextensionsstring.h
tate_tracker/wgl/stw_wgl_arbmultisample.c
tate_tracker/wgl/stw_wgl_arbmultisample.h
tate_tracker/wgl/stw_wgl_arbpixelformat.c
tate_tracker/wgl/stw_wgl_arbpixelformat.h
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_context.h
tate_tracker/wgl/stw_wgl_getprocaddress.c
tate_tracker/wgl/stw_wgl_pixelformat.c
tate_tracker/wgl/stw_wgl_pixelformat.h
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
fd2492d24447e461f36982da268caf0317885967 |
12-Dec-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: fixes for srgb, new srgb formats add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: the util code for generating mipmaps will not handle srgb formats correctly (would need to use a linear->srgb conversion shader)
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
5bd093bd7b3711f88e1fd0fc9cdb37a18d7d24b9 |
12-Dec-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fixes for srgb, new srgb formats add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: _mesa_get_teximage is completely broken for srgb textures, both for non-compressed ones (swizzling) and compressed ones (shouldn't do standard-to-linear conversion) texelFetch function may be broken for little or big endian (or both...)
ain/texcompress.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
1737f2dbdd8d9d6b1da140340323cbf83f7bd592 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: consolidate variable declaration initializer code for globals too
hader/slang/slang_codegen.c
|
2760bca1e13e62943affd762ed560bc30fbcc27a |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move variable initializer IR generation into _slang_gen_var_decl() More code consolidation coming...
hader/slang/slang_codegen.c
|
05ed9f7fe934249eaa5a16123b5b5f7f62b0ad26 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: simplify some glsl variable declaration code
hader/slang/slang_codegen.c
|
8b69c42b356d51c3a37bc0af41738b016c2adc5b |
12-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: check for null texture. (fix #13902)
rivers/dri/intel/intel_mipmap_tree.c
|
929eb00b32dfea9b1ac58923c88d5573872adea1 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl clean-ups
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
2dc3de016cd0306bf5b492ed781e824864788f11 |
12-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: checkpoint commit of GLSL 1.20 array syntax. This allows things like float[3] x = float[3](1., 2., 3.); Parsing and AST construction now. Codegen not working yet.
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
c8b505d8260cccf289c947c629471df8f5c81c0d |
11-Dec-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fallback for cube map texture. The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to software rendering for other modes to avoid potential gpu hang issue. This fixes scorched3d issue on 945GM(see bug 14539).
rivers/dri/i915/i915_texstate.c
|
0c31661e73dd2979df22a275452efc71c7064f81 |
11-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2
|
8137da952b6f30329adf7d49d2d9e58625534dd4 |
11-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: only mark back color buffer surfaces as undefined after swapbuffers Marking all surfaces as undefined was wrong and cause some glean failures because glReadPixels was used after SwapBuffers.
tate_tracker/st_framebuffer.c
|
e8f5c1a5e89fe43ddfa277d7392dcaf8ac1d6c88 |
09-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: in slang linker, replace assertion with link error when max samplers exceeded
hader/slang/slang_link.c
|
c89690f7654b4e79a771c542a3c06e992e704555 |
09-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move _mesa_dlopen(), etc into separate dlopen.c file
ain/dlopen.c
ain/dlopen.h
ain/sources
ain/texcompress_s3tc.c
ources
|
3b9bc821e1dfe39905585746166183264c335416 |
09-Dec-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE. Bug #16520.
nl/t_vertex_sse.c
|
b66495a0d915f5d5cc5ab50c843c9c1b296a5851 |
09-Dec-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
tnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle. SSE movss from memory zeroes out everything above the destination dword, so we get the (a, 0) or (a, 0, 0) result that these functions needed. Bug #16520.
nl/t_vertex_sse.c
|
6e29a3c8e2dc920b6216a0df6357abd8234f1ec4 |
09-Dec-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR. Bug #16520
nl/t_vertex_sse.c
|
d507cd749b468751b880194a52ea7171b5dac75c |
09-Dec-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
tnl: Avoid undefined input value use in insert_3f_viewport_2(). Bug #16520.
nl/t_vertex_generic.c
|
608e14c5b265d331f89959b8e477796ac21c297c |
09-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
a0d5c3cfe6582f8294154f6877319193458158a2 |
08-Dec-2008 |
Pierre Willenbrock <pierre@pirsoft.de> |
intel: Require the right amount of space in glBitmap blit acceleration. This leads to problems when the batchbuffer is flushed, but the bitmap data could not fit into it.
rivers/dri/intel/intel_blit.c
|
33a1f495d4bb19288680b9812c6ec1235302d215 |
08-Dec-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: progs/glsl/Makefile
|
f849d364c22e702e3dda664fa65601d4cf2b55a5 |
07-Dec-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB). The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not CUBE_MAP_ARB, so walk all faces when we encounter that. Fixes oglconform fbo.c segfault with both swrast and i965 drivers.
ain/fbobject.c
|
8b661a5d33604fd3706cb1825236d72ae2949598 |
07-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fall back on rendering to a texture attachment with a border. Fixes a segfault in oglconform fbo.c test.
rivers/dri/intel/intel_fbo.c
|
75b26e18a64b2fb1962e5e49dfaebd257c734ecc |
07-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image. The images aren't mapped at this point, so we want the generic Mesa path for GenerateMipmapEXT that does the mapping/unmapping for us. Ideally Mesa would just call it for us.
rivers/dri/intel/intel_tex_copy.c
|
bdc8ac4426f00eaafbe8ca0d356563efe390294d |
04-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
rivers/dri/intel/intel_tex_copy.c
|
a0625fa28152db08f026dc9856035c0908060154 |
06-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glCopyPixels blit acceleration for FBO destinations. This was another opportunity to either get clipped to screen size or not get clipped enough and draw outside of object boundaries.
rivers/dri/intel/intel_pixel_copy.c
|
cb433d91c6e198b7c77f747f1a38803532bc9be9 |
06-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glBitmap blit acceleration for FBO destinations. Bug #18914. Fixes fbo_firecube hang due to drawing outside the FBO bounds. Thanks to Pierre Willenbrock for debugging the issue.
rivers/dri/intel/intel_pixel_bitmap.c
|
6e0f8b174dddeb743b4bdc0d831eb1121f62ff50 |
30-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: assorted clean-ups, updated comments, etc.
wrast/s_texfilter.c
|
249e1e4d30759cd3c55cef0dba75f531cc7c6269 |
30-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: replace large macros with inline functions
wrast/s_texfilter.c
|
1d9360b67829a37b369e32c894183db1cecf827b |
03-Dec-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ctx->Constants.MaxVertexTextureImageUnits
tate_tracker/st_extensions.c
|
9271662ae9acda08ed6e444d1ee18384eebf8987 |
03-Dec-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: check vertex shaders for samplers/texture usage as we do for fragment shaders
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
|
264cba6f70eacd9e04646104d10ba63c248d7b83 |
03-Dec-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix failure to upload new constant data when changing programs. This is fallout from the ffvertex_prog.c work. It doesn't call ProgramStringNotify, so we don't set param_state, so we wouldn't track when VP parameters changed, and constants wouldn't get uploaded. Instead, remove param_state entirely and just use the real value that we want to be tracking. Fixes rendering in openarena since BRW_NEW_BATCH got disentangled from BRW_NEW_INDICES. Bug #18822.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_fp.c
|
8a1e7086c7c1d2fed22a0d7f840de515a6ca7e18 |
03-Dec-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix stray character that the compile whined about.
rivers/dri/i965/brw_wm.c
|
cd031749a75883a6fbf8fb7bf989b77a7c705819 |
28-Nov-2008 |
Dave Airlie <airlied@redhat.com> |
intel: restore old vertex submit paths for i8xx hardware. Intel docs state that only 830/845 have VBOs, 855/865 don't. So lets just not use them on i8xx at all. This restores the old pre-vbo code and uses it on all 8xx hw.
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
1e2f57425153d73646fde7c91c16aa5559491556 |
02-Dec-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix conditional in save_Lightfv(), bug 18838
ain/dlist.c
|
72cd2c8c0c863873d280a0e49dfa381e5c3236c8 |
01-Dec-2008 |
Dave Airlie <airlied@redhat.com> |
radeon: make DRI1 one work with new CS mechanism
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
e476acb1051ae1a7e5e2be35a89488a8e5b07ff4 |
28-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE The CACHE_NEW_SURFACE bit always gets spammed since we get many different surface BOs per state emit, but the only consumer of it wanted to just know how many surfaces were enabled.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
8e5639577c03ccd75bb421e494638fbb5a3e7dcd |
28-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix clashing enums for BRW_NEW_INDICES/VERTICES versus BATCH/DEPTH_BUFFER. Fixes upload of large amounts of state for every new primitive emit.
rivers/dri/i965/brw_context.h
|
287d719a93728dfd736ecd6ef31c8101f12d58c2 |
28-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs. This was causing a prepare of wm state at every primitive emit.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_state.c
|
3f973de07c035c7307e4129db17ba2baa6ae9acf |
27-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add debug code for dumping how frequently different dirty bits are set.
rivers/dri/i965/brw_state_upload.c
|
8e76ac070dfea5d151d31121af5c8ca1c99caeb0 |
27-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i915: Remove dead early z enable bit which was always on.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_iz.c
|
7855b2aef6bd9e9c2d73260b5cd166159b2525c6 |
27-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks. Later primitives, even if they caused a full state validate, wouldn't check that there was enough space in the batchbuffer, occasionally triggering the sanity check. We also skipped the aperture space check, even if it would mean bringing in new programs and associated state.
rivers/dri/i965/brw_draw.c
|
baaf9779f1d892083238eb1af34cddc0c7541e22 |
29-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing break statements
wrast/s_texfilter.c
|
166d5ac1704f241fffcaf7222143f4a99725278e |
28-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: enable texture compression extensions for software drivers when possible
ain/extensions.c
|
3b5cd7d74adaeb4c0cf27925ba187235c7a4cff4 |
28-Nov-2008 |
Phillip Klaus Krause <pkk@spth.de> |
mesa: remove unneeded compressed texure size checks
ain/texcompress.c
|
ec17001cd4e17240039b9b96083ef9b831720107 |
28-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix default switch case in append_token(), see bug 18734
hader/prog_statevars.c
|
c4c86bbd16688ee4a0afb32efa27ba52abceb1ca |
28-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
5b714723895d321db753f896576de5e2c27778c3 |
28-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/tgsi/tgsi_sse2.c
|
c303e7299b5f95d4728c3710c56f50b1fefca09d |
27-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove an assertion (see bug 18734)
hader/prog_statevars.c
|
55aeeef5476528907f12ba42d6157dc1b016cadf |
26-Nov-2008 |
Thomas Henn <thomas.henn@igd.fraunhofer.de> |
windows: fix visual object memleak
rivers/windows/gdi/wmesa.c
|
279343059f8ec676afc1713f9d15030ba06f4a07 |
26-Nov-2008 |
Thomas Henn <thomas.henn@igd.fraunhofer.de> |
windows: fix _mesa_unreference_framebuffer() to pass ** type.
rivers/windows/gdi/wmesa.c
|
001b1cbb0dacf76dd09cda56840c30226abd3534 |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing type check for function calls
hader/slang/slang_codegen.c
|
aa40de5c6f7f70844d4a4c726456cceaee9f0e4d |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing size check for assignment optimization
hader/slang/slang_emit.c
|
fea3a32e17502ac16ec9a12dc9d18742cea2efd5 |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
hader/slang/slang_compile.c
|
11701b4c151de450e0b80d9e61266ff178b4bd60 |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add some missing switch cases for generating state var strings
hader/prog_statevars.c
|
277089b81ae498f598efdc74fafda9873864ee54 |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix glBitmap color bug By time we get around to rendering the cached bitmap, the current color may have changed. Need to make sure we load the constant slot with the cached color.
tate_tracker/st_cb_bitmap.c
|
281055987a535d7fa226cfbd9e1acb7777b2b3dd |
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace 2 with PIPE_SHADER_TYPES
tate_tracker/st_context.h
|
4b7a84a36108eff8f17cbdf2c511593eb3260fd2 |
25-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
4af0d940a35536f096a9289470af0268a79402b3 |
25-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
|
f8870af44b32d4c69ef11013897143d46966c8e4 |
25-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix inverted raster pos when drawing into FBO
tate_tracker/st_cb_rasterpos.c
|
8d95e66cf78921cd067c4bcf6a1053a7ec3a2ed4 |
25-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added support for GLSL 1.20 array.length() method This is the only method supported in GLSL 1.20 so we take a few short-cuts.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.h
hader/slang/slang_print.c
hader/slang/slang_typeinfo.c
|
0fab514ff5e7887767936427b5e02b676abebf3a |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: support for GLSL 1.20 array types This allows syntax like "float[8] foo, bar;"
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: pass shader centroid/invariant info through to the TGSI shader
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
df6155fcff66034457b3165f5df0a61ccfc41314 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: progs/glsl/Makefile
|
1240280e6a7697eabd55d1a4edc6b23cae52c498 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy centroid/invariance/precision info in parse_init_declarator()
hader/slang/slang_compile.c
|
c67c3714e8dffb6b4d6a401da7055c6244821723 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check that varying variable qualifiers agree
hader/slang/slang_link.c
|
ed225446588a145879e21ae4d4e3440fcc2d11ca |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
hader/slang/slang_compile_variable.c
|
891cf754b3c6d624cd5f29d04033831adde59848 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set flags for varying vars
hader/slang/slang_codegen.c
|
cddcd72dae60f04df77d62c05db1ce4d89850504 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename program parameter flags to match other Mesa conventions
hader/prog_parameter.h
hader/prog_print.c
|
a7264720b4e002ab9cd3c0e921013b74e8abf3e0 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy Flags in _mesa_clone_parameter_list()
hader/prog_parameter.c
|
68020ca2af2724eb561a3c3a1e845c82bc896767 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: dump/debug varying vars list
hader/slang/slang_link.c
|
30685749295e489e8875111b1edc917742ce2c00 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation Plus, update the print/debug code.
hader/prog_parameter.h
hader/prog_print.c
|
84c1850e8244710bc06ada56fedab786a0a370dc |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add Flags field to gl_program_parameter Only one flag defined so far: PROG_PARAM_CENTROID_BIT
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
e545ce2af41b2b70aabdc3441a63f4f9296a3d65 |
22-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: issue error, don't crash, when calling a prototyped, but undefined function Bug #18659.
hader/slang/slang_codegen.c
|
ca142c2c0841f205b9224ad719c1b01c2303b5a3 |
21-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: better variable name: s/aux/store/
hader/slang/slang_codegen.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
7e97362884bcaa564730b05c28fb9f33734c7449 |
21-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add support for accelerated CopyTexSubImage. There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
|
a4d43c20121ae384a61663c5e954e4ab6a65cf4f |
20-Nov-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't glBitmap fallback with scissoring enabled. The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
rivers/dri/intel/intel_pixel.c
|
490ab6487985e533d73c075a72b2839d69673e93 |
14-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i915: Don't overwrite i915's Viewport function from generic code. Instead, have i965 and i915 both call the generic function from their Viewport.
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_state.c
|
b730d0d3e9b202b17a0815cb820fc9905f35cb98 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add gl_program::Input/OutputFlags[] array These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
ain/config.h
ain/mtypes.h
hader/prog_execute.h
hader/slang/slang_link.c
|
153cc70ddb52a2acc5a4790adc6d7a7b2ddf0d43 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
windows: replace free() with _mesa_unreference_framebuffer() Fixes invalid memory reference bug when exiting.
rivers/windows/gdi/wmesa.c
|
a2037137385671c0673d1de6eb1c36dbd3cd78f3 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy centroid/invariance/precision info in parse_init_declarator()
hader/slang/slang_compile.c
|
dc1107c08d0ccbeeb063f2e46be598f16cbe9f21 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check that varying variable qualifiers agree
hader/slang/slang_link.c
|
0e2f757413a68f0edb6643ea23ad8d879d077f11 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
hader/slang/slang_compile_variable.c
|
3197954554bfc492283c7db009d10ab408664cad |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set flags for varying vars
hader/slang/slang_codegen.c
|
f490ec9797a396da9d182f1ad4393f1c5c2df440 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename program parameter flags to match other Mesa conventions
hader/prog_parameter.h
hader/prog_print.c
|
08b825a77179a9e7ed902c9c57387f127cd007bc |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: copy Flags in _mesa_clone_parameter_list()
hader/prog_parameter.c
|
3f6668a4bf28109eb806be019fb235663572b7da |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: dump/debug varying vars list
hader/slang/slang_link.c
|
777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation Plus, update the print/debug code.
hader/prog_parameter.h
hader/prog_print.c
|
0f228d7ab3b7c03328df369b8db50c469ac5dcd6 |
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add Flags field to gl_program_parameter Only one flag defined so far: PROG_PARAM_CENTROID_BIT
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
52e9c9770ac47e9d92df208ec5cfd4e004c45f3d |
24-Nov-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Don't call fence_finish with a null fence.
tate_tracker/st_cb_flush.c
|
4f05893415a2d6f29b29f4daf991ea95a1891a81 |
22-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: issue error, don't crash, when calling a prototyped, but undefined function Bug #18659.
hader/slang/slang_codegen.c
|
b63a31b36f2e1a198c214f41e0518991b1a8fa49 |
21-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: better variable name: s/aux/store/
hader/slang/slang_codegen.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
3e0164aabb48a99fce58964cad99fd3978ee84f6 |
21-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add support for accelerated CopyTexSubImage. There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
|
a6aa926e3f0b6237679db0d3331690d2a96adbc2 |
20-Nov-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't glBitmap fallback with scissoring enabled. The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
rivers/dri/intel/intel_pixel.c
|
2adef553f2549e30b4a1894e7f9077ac339ea61c |
14-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i915: Don't overwrite i915's Viewport function from generic code. Instead, have i965 and i915 both call the generic function from their Viewport.
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_state.c
|
db19578b52e7f3d6209568e2e0fa7a7107f42cd4 |
20-Nov-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Bring in new mesa sub-statetracker. Some code cleanup is still in order.
Conscript
tate_tracker/wgl/SConscript
tate_tracker/wgl/opengl32.def
tate_tracker/wgl/stw_device.c
tate_tracker/wgl/stw_device.h
tate_tracker/wgl/stw_framebuffer.c
tate_tracker/wgl/stw_framebuffer.h
tate_tracker/wgl/stw_icd.c
tate_tracker/wgl/stw_icd.h
tate_tracker/wgl/stw_pixelformat.c
tate_tracker/wgl/stw_pixelformat.h
tate_tracker/wgl/stw_quirks.c
tate_tracker/wgl/stw_wgl.c
tate_tracker/wgl/stw_wgl_arbextensionsstring.c
tate_tracker/wgl/stw_wgl_arbextensionsstring.h
tate_tracker/wgl/stw_wgl_arbmultisample.c
tate_tracker/wgl/stw_wgl_arbmultisample.h
tate_tracker/wgl/stw_wgl_arbpixelformat.c
tate_tracker/wgl/stw_wgl_arbpixelformat.h
tate_tracker/wgl/stw_wgl_context.c
tate_tracker/wgl/stw_wgl_context.h
tate_tracker/wgl/stw_wgl_getprocaddress.c
tate_tracker/wgl/stw_wgl_pixelformat.c
tate_tracker/wgl/stw_wgl_pixelformat.h
tate_tracker/wgl/stw_wgl_swapbuffers.c
tate_tracker/wgl/stw_winsys.h
|
ef2bf418b45c7966e9fe78359058b8d44f570be1 |
20-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
b6bb5e09e0ad1f61f96c65bbc870bd493df12f1a |
20-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix shadow sampling unit issue. texture comparison logic is bypassed if the currently bound texture is not a depth/depth_stencil texture.
ain/texenvprogram.c
|
1412ca0be24461cad36de865851484464fac3bfe |
20-Nov-2008 |
airlied <airlied@unused-12-215.bne.redhat.com> |
intel: fix i830 comment + backwards VB offsets. According to Keith the docs have these offsets the other way around
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_reg.h
|
1ea414fdebb3b784a271b36652933564a04e1a02 |
20-Nov-2008 |
airlied <airlied@unused-12-215.bne.redhat.com> |
intel: fix i8xx vbo enable bit
rivers/dri/intel/intel_reg.h
|
b17e343bdd1747aeb821f750b187f290b8039cee |
20-Nov-2008 |
airlied <airlied@unused-12-215.bne.redhat.com> |
intel: add lots of i830 engine to intel_decode debug
rivers/dri/intel/intel_decode.c
|
bab4e78734dc462387fea32f0b05103e31f2d6f6 |
20-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: minor comment reformattting
hader/slang/library/slang_shader.syn
|
bf7f9d2143a892bc11a5e2b84e3d6d3ed69fb5e8 |
19-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl compiler debug code RETURN0 macro reports file/line before returning zero.
hader/slang/slang_compile.c
|
ae0ff8097b85d3537a7be1674d55a44a9bd6018e |
19-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL array code generation We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.h
|
e709d68d92ef6f2392b118d0a22452e8f4c53e9a |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: don't realloc instruction buffer so often
hader/slang/slang_emit.c
|
d9fa9e3290611944d5fd52301645367eeeb24f03 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comment
hader/slang/slang_codegen.c
|
227a8a2e773452a1e8354a9d48c25b254b6998b9 |
19-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
add SRGB formats
tate_tracker/st_format.c
|
2f9ceb158afffe5ea390b909261988267e663e36 |
19-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: clamp luminance if needed. This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers.
ain/image.c
ain/texstore.c
|
9770bb32f50659ef749751780e00d8c88e16126c |
16-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: cs add print cs callback
rivers/dri/radeon/radeon_cs_legacy.c
|
f1d98e51275eaa440e1c6b9c61e5e014faaad45a |
16-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: fix pointer dangling
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
7468765b18be202a64d58b83f6267b6973ea4897 |
15-Nov-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/shader/prog_print.c
|
56c458e0f2027bc19b45ed3112e84b6ace67920f |
15-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: update to libdrm-radeon API changes
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_screen.c
|
5b79c18c83288eaaa6af25fdf3fe71b8347b5c1d |
14-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: dri2 don't forget to free buffer
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
93a9d2f18de8517af92eba787a4eee34765481ab |
13-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
r300: release bo from pixmap
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
c26ec97b1390deb7c2ae586450e621a7095dac87 |
12-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
r300: convert to new relocations format (see libdrm-radeon)
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/radeon/radeon_cs_legacy.c
|
d07d1379314c9222ccb955244fa7e56bd4d03d6d |
12-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
r300: SetTex extension support
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_buffer.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
3b43c28195ffce79822728b546a707ee14a03320 |
09-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
r300: cs + DRI2 support If DRI2 is enabled then switch cmd assembly to directly build hw packet.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_mipmap_tree.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_buffer.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_screen.c
|
e5d5dab8c03f72097ec3e5b465fe93b6e369bb2d |
05-Nov-2008 |
Jerome Glisse <glisse@freedesktop.org> |
r300: bo and cs abstraction. This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_mem.c
rivers/dri/r300/r300_mem.h
rivers/dri/r300/r300_mipmap_tree.c
rivers/dri/r300/r300_mipmap_tree.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/radeon_bo_legacy.c
rivers/dri/radeon/radeon_bo_legacy.h
rivers/dri/radeon/radeon_buffer.h
rivers/dri/radeon/radeon_cs_legacy.c
rivers/dri/radeon/radeon_cs_legacy.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.h
|
80d6379722a1249ce13db79a898d340644936f67 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: no longer need Writemask field in GLSL IR nodes The Swizzle and Size fields carry all the info we need now.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: revamp GLSL instruction emit code This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups...
hader/slang/slang_emit.c
|
610c2461ce0683ca5412e4b2b7a496f67e9d3704 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: make writemask_string() non-static
hader/prog_print.c
hader/prog_print.h
|
4c167f8fc1e56b6c82d8917c237e70531e3d57b9 |
14-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some do-nothing GLSL code
hader/slang/slang_codegen.c
|
fe984aed5a9ee7c6e000d48a0a584b964fefa848 |
13-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix accidental regression in GLSL built-in texture matrix lookup Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec.
hader/slang/slang_builtin.c
|
d835f415c692fe1b2656537a822b4e0dd91af6c7 |
13-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use the tighter definition of GLSL ftransform() from the gallium branches
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
|
e556cc82f83716a734ed9d76356ba49bb670004f |
13-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused/obsolete __NormalMatrixTranspose matrix
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_builtin.c
|
47b883e42ba5f6948ce8050d5a3c7849ba2a1cec |
13-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug in GLSL built-in matrix state lookup
hader/slang/slang_builtin.c
|
557fde9531289b4388a3080b89c2ebaa38abeaee |
12-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: tweak program register printing for RelAddr case
hader/prog_print.c
|
42330d929c3bdc953948294906c49ee693818b47 |
13-Nov-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Merge branch 'gallium-0.2' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/mesa into gallium-0.2
|
2acdb116ced6b425e12bb6910c307d10b2939840 |
13-Nov-2008 |
Ben Skeggs <skeggsb-at-gmail.com> |
gallium: add st_set_teximage_surface for EXT_texture_from_pixmap support.
tate_tracker/st_public.h
tate_tracker/st_texture.c
|
e4c9aeed8b59e15bce0906521cdd090f033586a9 |
13-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: fix generation of fixed function state when no vp exists
ain/state.c
|
16340f8d4dfbde9cea01637ea225053194b8c640 |
13-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: fix generation of fixed function state when no vp exists
ain/state.c
|
c30eb2c104c19c758c0b2a2461ad7f38cfa747d0 |
12-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Upload state on primitive switch, don't just prepare it. This was a regression in 59b2c2adbbece27ccf54e58b598ea29cb3a5aa85 that broke blender, among other apps.
rivers/dri/i965/brw_draw.c
|
2fc9d671e0be77676818da51cd3b35b52af79421 |
12-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix VB refcount leak on aperture overflow.
rivers/dri/i965/brw_draw_upload.c
|
5aaeb13a768f0c7d3706f6c170901b118ae1aa2d |
12-Nov-2008 |
Pekka Paalanen <pq@iki.fi> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 * commit 'origin/gallium-0.1': Mesa: fix number of buffers in st_draw_vbo(). Nouveau: fix nv20_vertex_layout() Nouveau: update nv20 miptree according to nv40. Nouveau: build, link and use nv20. Nouveau: name replace for nv20. Nouveau: Rename nv20/ files as nv20. Nouveau: copy nv30_vertprog.c to nv20. Nouveau: start nv20 by copying the nv10 tree.
|
62ff7ab7206e1b9e195e81ad1a96b579819edb57 |
03-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix up VS max_threads for G4X and removing a magic number. As far as I can read in the docs, VS threads can be 1:1 with the pairs of VUE handles allocated for them. Also, G4X can run twice as many threads as before (though we won't unless the we bump the preferred URB entries for VS).
rivers/dri/i965/brw_vs_state.c
|
9dadfc09a9dd492f14eec8de060d3f5198c766ec |
03-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix up SF max_threads. We were dividing the number of URB entries by two to get number of threads, which looks suspiciously like a copy'n'paste-o from brw_vs_state.c. Also, the maximum number of threads is 24, not 12.
rivers/dri/i965/brw_sf_state.c
|
82eb7c235db9939d067c4d64e32df96caef939ab |
03-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix up clip min_nr_entries, preferred_nr_entries, and max_threads. The clip thread could potentially deadlock when processing tristrips since being moved back to dual-thread mode, as the two threads could each have 4 VUEs referenced and not be able to allocate another one since SF processing wasn't able to continue (needing 5 entries before it freed 2). In constrained URB mode, similar deadlock could even have occurred with polygons (so we cut back max_threads if we can't handle it any primitive type).
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_urb.c
|
5cb7ba10cc6aebfb96c6425d3d822d2b0ac5e102 |
03-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Update WM maximum threads for G4X.
rivers/dri/i965/brw_wm_state.c
|
d70d62c56175b992eea4b94a5a05ecd6c1d89713 |
03-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add a big comment explaining my understanding of URB management. It shouldn't offer anything new over what's in the docs (except for G4X notes), but here it's all in one place.
rivers/dri/i965/brw_urb.c
|
19e4222f937c9bb95d3a899dd788afb930eecaa4 |
11-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
|
f4361540f8dd3016571523863b33481cba7a0c07 |
11-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allow relative indexing into all register files and indirect dst register indexing
hader/prog_execute.c
hader/prog_instruction.h
hader/prog_print.c
|
5cfb0a4087352c22a13ca55a98ae3e2e420d4b52 |
11-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: restore the negate flag of dots in build_lighting. Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
ain/ffvertex_prog.c
|
09623fe551771031ed02ba7542c94bdbdd83ecec |
11-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: reset cliprect_mode to IGNORE_CLIPRECTS. This ensures all batchbuffers have a same cliprect mode after calling _intel_batchbuffer_flush even if there aren't invalid commands in the current batch buffer. (fix bug#18362).
rivers/dri/intel/intel_batchbuffer.c
|
8412b06b67d0f9adae18157f550a8cc3da5ae22b |
11-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: restore the negate flag of dots in build_lighting. Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
ain/ffvertex_prog.c
|
064b04d464e006e76e888b481900b3f63f015063 |
11-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: update new state for RasterPos like other operations. This fixes a lighting issue when drawing a bitmap.
ain/rastpos.c
|
be1b8e5d6c6692010a3ec117035d9b218929e2b3 |
11-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: new _mesa_is_pow_two() function
ain/colortab.c
ain/histogram.c
ain/imports.h
ain/pixel.c
ain/teximage.c
|
8df4f6667f2892368791ae25505a996bc0edfacb |
11-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: restore glapi/ prefix on #include
rivers/dri/common/extension_helper.h
lapi/extension_helper.py
|
1dae2be1f67d7367173f32c90f8d98311aa7b102 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
dri: alloc __DRIscreen object with calloc() Conflicts: src/mesa/drivers/dri/common/dri_util.c
rivers/dri/common/dri_util.c
|
df84f788d21d3d2f61a0c5a35b75586d3099cdd4 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix logic error in GLSL linker when looking for main() shaders
hader/slang/slang_link.c
|
59cc9739400c3a1654c069586070ff218993cd37 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some misc breakage caused by editing auto-generated files rather than the python generators Specifically: #include "glapitable.h" in src/mesa/main/glapi/dispatch.h Call _mesa_bsearch() in src/mesa/main/enums.c.
lapi/dispatch.h
lapi/gl_enums.py
lapi/gl_table.py
ain/enums.c
|
13f96c5401ffe3869f08fecb2baf5bff2438b02e |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident() See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
ain/enums.c
|
6186e7a20676c5df30b1b4bffeec87afa1550e25 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
dri: alloc __DRIscreen object with calloc()
rivers/dri/common/dri_util.c
|
2d76a0d77af7be9539f89cba37ce84338c1cdda4 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: track initialization status of uniform variables. Plus, asst clean-ups.
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_uniform.c
hader/prog_uniform.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
379ff8c9567940ebff44870cf7b0202882445fa6 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for uniform variable initializers. This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases.
hader/slang/slang_codegen.c
|
242c0cb543183682f4f023a6f1948630dc5bae09 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix logic error in GLSL linker when looking for main() shaders
hader/slang/slang_link.c
|
80c8017a643dfb655e4e1500e1c57e3908529c27 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allows 'f' suffix on GLSL float literals
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
2b66417402bc595be301ab9ed7b9ea2a5f79e180 |
10-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/util/u_math.c
|
eb4dded5be60af4c7d45394aaa0aca24549ec3d8 |
09-Nov-2008 |
Pekka Paalanen <pq@iki.fi> |
Mesa: fix number of buffers in st_draw_vbo(). The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <pq@iki.fi>
tate_tracker/st_draw.c
|
32e6be6362e44609d36c2fb20a4c858f57c908fb |
10-Nov-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'origin/gallium-0.2' into gallium-0.2
|
94631e63a8d56562b782ec30a6ec5b9d77ca70a0 |
09-Nov-2008 |
Pekka Paalanen <pq@iki.fi> |
Mesa: fix number of buffers in st_draw_vbo(). The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <pq@iki.fi>
tate_tracker/st_draw.c
|
f1c9016af16aefc08a3e4e859a897009652dac23 |
08-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: remove OPCODE_INT #define
hader/prog_instruction.h
|
e24afc808f7f00941a01fcedeb76df16c062170f |
08-Nov-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: use NRM3 in emit_normalize_vec3() when drivers are ready
ain/ffvertex_prog.c
|
87d1a26ba38e75f6988e094dbfbc0f77c0ae502b |
08-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add support for 'centroid' qualifier in GLSL 1.20
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
448156f769ebf271a6a8c03c61588c3e6c6363f0 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add support for 'invariant' keyword for GLSL 1.20
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
b632e5aa7f948ed5bbf7104682ec3ee463af4c0a |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: reformat comments, rewrap lines, etc for a little better readability
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
49680dae5dd014503974f20c0b943244622ca3d5 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
22459e7a9ca01cc5af8d9baeb6354d2e825cdbc9 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: forgot sqrt in NRM3/4 instructions
hader/prog_execute.c
|
6dc91b8371f04f9bab61c1f6504236264feac8b4 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix opcode table order bug
hader/prog_instruction.c
|
eb459814b7e7adc8b5f0062128f4ea4ff68b07cf |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use _bfc0 instead of _col0 when building back face lighting. cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9
ain/ffvertex_prog.c
|
8343d0f6e4e6cc49c866f98f0a551872cc8ffa26 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodes
tate_tracker/st_mesa_to_tgsi.c
|
3059ceb7f8128f00846f261f1927f5ec72d5dd15 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
a98a25c25ff1ec3be74cf9c5f027b85a297c3e78 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add GLSL support for DP2, NRM3, NRM4 instructions (not actually emitted yet though)
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
65cb74ecc0287d766493fd3649295e2e1b20099b |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added DP2, DP2A instructions
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
|
37eef7b474c5d9a7c566f9edf35c797c5a98d065 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added AND/OR/NOT/XOR instructions
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
|
d93072782aa8b7a6bb060c77f3a61adb3b655d58 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: include shader/prog_instruction.h Seems to fix a mysteriously missing build dependency.
hader/slang/slang_ir.c
|
f6ead50827c03017e6b730313c361b39190da92f |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added OPCODE_NRM3/NRM4 instructions for vector normalization. We may emit these instructions from GLSL instead of DP3/RCP/MUL. Also, implement SSG (set sign) instruction in the interpreter.
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
|
4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 |
07-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: use _bfc0 instead of _col0 when building back face lighting.
ain/ffvertex_prog.c
|
3225bc84932f08a52db7025367ae206a9d2f8fef |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: s/OPCODE_INT/OPCODE_TRUNC/
tate_tracker/st_mesa_to_tgsi.c
|
c417a2c3f37a6a28947db5dc5aa240473d29dd19 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
035c0cf71a5fe3beee55654e1f7148adfe626cc0 |
07-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename OPCODE_INT -> OPCODE_TRUNC Trunc is a more accurate description; there's no type conversion involved.
rivers/dri/i965/brw_wm_glsl.c
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
hader/slang/slang_ir.c
|
517401af07ea17a7e88659e6ba95a0628ff826b3 |
06-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: update the shader programs->TexturesUsed array at link time If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation.
hader/shader_api.c
hader/shader_api.h
hader/slang/slang_link.c
|
a7d9fde24cb8ecc59b0a6fc610135d851806295b |
06-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2
|
2f1a29654a94a4194fa452e8049c4db67629e545 |
06-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: update the shader programs->TexturesUsed array at link time If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation.
hader/shader_api.c
hader/shader_api.h
hader/slang/slang_link.c
|
678f80b347801d925c07a774faee1ed3f716de15 |
06-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added st_print_shaders() function to help w/ debugging
tate_tracker/st_program.c
tate_tracker/st_program.h
|
df94fd17647937975df031dcaa1ac24b2d79ce1b |
06-Nov-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Always check vertex program. Now i965 also uses the vertex program created by Mesa Core, but this vertex program is not only depend on mesa state _NEW_PROGRAM, so always check the current vertex program is updated or not. This fixes broken demo cubemap.
rivers/dri/i965/brw_state_upload.c
|
0060d4154999777bd3b17013c457ca073aa660dc |
06-Nov-2008 |
Gary Wong <gtw@gnu.org> |
i965: Implement missing OPCODE_NOISE3 instruction in fragment shaders. OPCODE_NOISE4 coming later.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_wm_glsl.c
|
1bfdab781b515f8eefc0b3c963295a1adb8f8146 |
06-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Fix compiler warnings on Windows. cherry-picked subset of a77976d2ee578d0483c64f2aa41719bbae9c1c97
hader/slang/slang_link.c
|
50beb4e6fd2e06d6007c69899111f6a22319a4d8 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix a GLSL array indexing codegen bug Expressions like array[i] + array[j] didn't work properly before.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
80a718a63bf2fa817e346f0f5731ee9ef2e0e68b |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
|
de14fdd63f26a2e6fc55fad92c08966f269601a6 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added check for degenerate drawing calls
tate_tracker/st_draw.c
|
6282c38283ea81af1d950dbc1f82a6950e8350ae |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at draw time This will warn the user that the shader being run may be using uninitialized uniform variables.
tate_tracker/st_draw.c
|
0331c1c1697f32595fd325fcedf0b0703405560b |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix a GLSL array indexing codegen bug Expressions like array[i] + array[j] didn't work properly before.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
dea4826b8481d7328e52dbaa2eb43fd861d73e79 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove extra \n from printf string
hader/slang/slang_log.c
|
528c860a581d7e07c101ccbbe396d930b76f8350 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove extra \n from printf string
hader/slang/slang_log.c
|
949e7383b597563b5603ba9b63fcfa4b1f45cf42 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add Initialized field to gl_uniform struct, for debugging purposes only
hader/prog_uniform.c
hader/prog_uniform.h
hader/shader_api.c
|
2ff46366030e3fee918c4be9e82335617435c42a |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add Initialized field to gl_uniform struct, for debugging purposes only
hader/prog_uniform.c
hader/prog_uniform.h
hader/shader_api.c
|
2382dc8aff9983da9ef1be03de38d4ab82105b19 |
05-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
6c8274078d08e5d87c993603b9bfcdf1ffa51278 |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix float-valued GLSL vertex attribute variables The swizzle mask for such variables wasn't set up properly.
hader/slang/slang_codegen.c
|
f16f53ae3d7328f156c91ed0a13ec21afb1210fb |
05-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix float-valued GLSL vertex attribute variables The swizzle mask for such variables wasn't set up properly.
hader/slang/slang_codegen.c
|
9e1f0e173e5619d2ce95a74158803d94b3d6ff8a |
03-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
gallium: no renderbuffer, so just exit.
tate_tracker/st_framebuffer.c
|
6225e467c66d8c0dcd3574c03dea6c1287989cc9 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Clean up stale NDC comment.
rivers/dri/i965/brw_vs_emit.c
|
df07db810410474680faf07741d9d2ef71083b62 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Avoid vs header computation for negative rhw on G4X. This cuts one MOV out when setting a zero header.
rivers/dri/i965/brw_vs_emit.c
|
ba644d2711f45c3c2ae47f7aaf3b6b0db3f12147 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Merge GM45 into the G4X chipset define. The mobile and desktop chipsets are the same, and having them separate is more typing and more chances to screw up.
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/intel/intel_chipset.h
|
521aa4c107959e3ca63bc7848a873a2116b42819 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix copy'n'paste issue that made brw->urb.constrained useless. Also, add a comment explaining what brw->urb.constrained tries to do.
rivers/dri/i965/brw_urb.c
|
1c6fe6564be28ac3e72fa8e6b1616ae0e22a7bc7 |
30-Oct-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
softpipe: Don't call pipe_buffer_destroy directly. Use pipe_buffer_reference instead.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
|
4be624d693554ad3950afab90e331a6725cc5004 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Clean up stale NDC comment.
rivers/dri/i965/brw_vs_emit.c
|
9fd4c27ae3e189df804b86843a6aad0e70640533 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Avoid vs header computation for negative rhw on G4X. This cuts one MOV out when setting a zero header.
rivers/dri/i965/brw_vs_emit.c
|
34b1776e8d965605d12807884c9c447214d57281 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Merge GM45 into the G4X chipset define. The mobile and desktop chipsets are the same, and having them separate is more typing and more chances to screw up.
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/intel/intel_chipset.h
|
d758c48761a2be2a6c9b3d80f8fe06d32b5dd0d3 |
02-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix copy'n'paste issue that made brw->urb.constrained useless. Also, add a comment explaining what brw->urb.constrained tries to do.
rivers/dri/i965/brw_urb.c
|
81c862205e32b163a9f5ecf3f59e4cdcccee36c6 |
01-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
|
bbffed0857634912c7a1f13882eba303ae2bf4e1 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: silence warnings
hader/slang/slang_print.c
|
b625a0a47524de1b2968f9bf6a23ae0102726b5a |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: do scope replacement for while/for loops too This fixes a function inlining bug involving vars declared inside loop bodies.
hader/slang/slang_compile_operation.c
|
3d0d803313b624065e6549b1635d61e1162487ee |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl tree print improvements
hader/slang/slang_print.c
|
1e1ba54a94d4c0a0685c430bffad49d47cec15ca |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix assignment / parameter passing of sampler types
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
131d42573ce1fc120c8ef75634979b6206e1eb0a |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional debug flags for glsl debug/disassembly
ain/debug.c
ain/mtypes.h
hader/slang/slang_link.c
hader/slang/slang_log.c
|
c7e98469fac821d23fe1ff63ff05da664c05b197 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: silence warnings
hader/slang/slang_print.c
|
e9bc632d829f38e5b15c2cdbaaa61caffb02f8c8 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: do scope replacement for while/for loops too This fixes a function inlining bug involving vars declared inside loop bodies.
hader/slang/slang_compile_operation.c
|
58936b51af5806a5c260a30e961a37c77bdbdd17 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl tree print improvements
hader/slang/slang_print.c
|
90cdb8a4de3cbbc7c87779f978be2f846cf7c07c |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix assignment / parameter passing of sampler types
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
b3cfcd326b1bc21ce163c5b05288cbff5f909cd9 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional debug flags for glsl debug/disassembly
ain/debug.c
ain/mtypes.h
hader/slang/slang_link.c
hader/slang/slang_log.c
|
72c914805b8b3b37bf8f44d94bc25ca3d146ac66 |
01-Nov-2008 |
Keith Packard <keithp@keithp.com> |
Fix for 58dc8b7: dest regions must not use HorzStride 0 in ExecSize 1 Quoting section 11.3.10, paragraph 10.2 of the 965PRM: 10.2. If ExecSize is 1, dst.HorzStride must not be 0. Note that this is relaxed from rule 10.1.2. Also note that this rule for destination horizontal stride is different from that for source as stated in rule #7. GM45 gets very angry when rule 10.2 is violated. Patch 58dc8b7 (i965: support destination horiz strides in align1 access mode) added support for additional horizontal strides in the ExecSize 1 case, but failed to notice that mesa occasionally re-purposes a register as a temporary destination, even though it was constructed as a repeating source with HorzStride = 0. While, ideally, we should probably fix the code using these register specifications, this patch simply rewrites them to use HorzStride 1 as the pre-58dc8b7 code did. Signed-off-by: Keith Packard <keithp@keithp.com>
rivers/dri/i965/brw_eu_emit.c
|
fa139f8826583aa31db442affc2cd11fa06ef725 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some bugs with precision qualifier parsing
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
|
40217db75ae08d04eee696d5092b34d2b2cfd8b0 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: do scope replacement for variable initializers too
hader/slang/slang_compile_operation.c
|
851dbaa5b5b5a7bd85e95e504ed9917dae66525e |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix copy/paste error in GLSL error msg
hader/slang/slang_codegen.c
|
06fe728e5bbaf09258838dfe8e634d969a63ad74 |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some bugs with precision qualifier parsing
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_compile.c
|
90711775d74d7a48fd740fadc04e9aaae106a89d |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: do scope replacement for variable initializers too
hader/slang/slang_compile_operation.c
|
89bca902b35f938924cc4423a8d9374ddbb536df |
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix copy/paste error in GLSL error msg
hader/slang/slang_codegen.c
|
69e10084cd3ac9b814b311913138882a32f9f2ea |
31-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: pixelzoom doesn't apply to glBitmap, so disable the fallback.
rivers/dri/intel/intel_pixel_bitmap.c
|
018088996a92ef15edd946d9300707112caaa29c |
31-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX) GL_COLOR_INDEX mode is just like other normal formats (that is, not depth/stencil) and is uploaded fine by TexImage.
rivers/dri/intel/intel_pixel_draw.c
|
ed478a5fdeded932f09a73bc0af12e010b9a5cd5 |
31-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add more fallback debugging for glDrawPixels.
rivers/dri/intel/intel_pixel_draw.c
|
ab3e9c481f7517ffc63770dbb9c81fe559884a35 |
31-Oct-2008 |
Gary Wong <gtw@gnu.org> |
i965: implement the missing OPCODE_NOISE1 and OPCODE_NOISE2 instructions. (Only in fragment shaders, so far. Support for NOISE3 and NOISE4 to come.)
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
58dc8b7db5829188dbb45c020ab44732d6053888 |
30-Oct-2008 |
Gary Wong <gtw@gnu.org> |
i965: support destination horiz strides in align1 access mode. This is required for scatter writes in destination regions to work.
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
|
963071ffea2f03e39d73bc663fa079098d82bc66 |
31-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix a typo in the previous commit
ain/points.c
|
bccc09e6bf98058b63fcff5856a71446ed1d4523 |
30-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix an issue in _mesa_PointParameterfv().
ain/points.c
|
26c1c04fd034f7c7522e94480f5aa30c98c72f35 |
29-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glDrawPixels with 4d RasterPos.
rivers/dri/intel/intel_pixel_draw.c
|
59b2c2adbbece27ccf54e58b598ea29cb3a5aa85 |
24-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix check_aperture calls to cover everything needed for the prim at once. Previously, since my check_aperture API change, we would check each piece of state against the batchbuffer individually, but not all the state against the batchbuffer at once. In addition to not being terribly useful in assuring success, it probably also increased CPU load by calling check_aperture many times per primitive.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
1100866aa1efd51603fe0b92337afecdc723561c |
29-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix stand-alone glslcompiler build
rivers/glslcompiler/glslcompiler.c
|
0cade4de4f74f6b0e86fb6622e2fc370c73fd840 |
20-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't keep intel->pClipRects, and instead just calculate it when needed. This avoids issues with dereferencing stale cliprects around intel_draw_buffer time. Additionally, take advantage of cliprects staying constant for FBOs and DRI2, and emit cliprects in the batchbuffer instead of having to flush batch each time they change.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_span.c
|
e92a457ac0030e48f5260dc2ac00ca283be7d7ad |
28-Oct-2008 |
Gary Wong <gtw@gnu.org> |
i965: Allocate temporaries contiguously with other regs in fragment shaders. This is required for threads to be spawned with correctly sized GRF register blocks.
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
bcfba0d91e51290b1a957a1861ec0b18899feb92 |
24-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix compiler warning from unused var.
rivers/dri/i965/brw_vtbl.c
|
a74b1e149dd567dfa5ddcd69f44e5acfce0d0e0f |
24-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Remove dead brw->wrap flag.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_upload.c
|
dd17cd600a25ad916185eaeec968563adbab76f9 |
14-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names. Previously, we were trying to pass a name to the GEM GET_TILING_IOCTL, which needs a handle, and failing. None of our buffers were tiled yet, but they will be at some point with DRI2 and UXA.
rivers/dri/intel/intel_regions.c
|
61d3a66456852642ed8fdc1106dc0012e4b89779 |
27-Oct-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
70a06e03d45f3d2e1cd1d430ba83c4b22471373c |
27-Oct-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'origin/gallium-0.2' into gallium-0.2
|
2a877411dbe35abdd8c15fb4821d9232619d89cc |
26-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: GL_FALSE on a BO if it won't be modified when mapping this BO. (thanks Eric).
rivers/dri/intel/intel_blit.c
|
ec8076264ea2390d4cb749be5c88bbf2bf5d4847 |
24-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: don't emit state when dri_bufmgr_check_aperture_space fails. This ensures there is an unfilled batchbuffer used for emitting states again. Partial fix for #17964.
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
|
f657c8191128c500c2aa7204009154a1182e2abd |
24-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fallback for intelEmitCopyBlit. Use _mesa_copy_rect instead of BLT operation if dri_bufmgr_check_aperture_space still fails after flushing batchbuffer. Partial fix for #17964.
rivers/dri/intel/intel_blit.c
|
ea6ddcbe0e4a0049ee8b9d244d86b6981fc6438b |
23-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fields The texImage->Width/Height fields will have the post-convolution width/height.
ain/texstore.c
|
6b69e3c71741d99a54c6f4dcb605a3c241239aeb |
23-Oct-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
scons: ppc support.
Conscript
|
86099bcd9cbd08e585dd3d70e7d577eef42464be |
23-Oct-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Fix typo, PPC_FEATURE_HAS_ALTIVEC not PPC_FEATURES_...
pc/common_ppc.c
|
95c04cccfef2e5743279e1f5a6a13f3925c7024c |
22-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D() Do it after initial error checking, after we know the texture's internal format.
ain/teximage.c
|
9dfd54fa83f9d2266ee637721365f8922deb17fc |
22-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: some re-org of glCopyTexSubImage1/2/3D() error checking
ain/teximage.c
|
22e442544bc451f114288f07cf9cc1584ca357a1 |
22-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: in textore.c, only adjust image for convolution if image is a color format Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats)
ain/teximage.c
ain/teximage.h
ain/texstore.c
|
b4bf9acc32ac8693b1fdf80f351523a468ba6bd1 |
21-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fix carsh in i830_emit_state. (bug #17766)
rivers/dri/i915/i830_vtbl.c
|
97e63437dc216c7fdb25220655ecbf26042cfec8 |
20-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: note that texcoords are generated by setup routines when pointsprite enabled
ain/texenvprogram.c
|
6c6c2f1d23b02491c60e0cbce6815b468ff14c08 |
18-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add some checks for null surface pointers in state tracker Fixes some segfaults in low memory situations.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_clear.c
tate_tracker/st_framebuffer.c
|
87a6fe57e85ea5f273e808211a0e61d2b837b8e2 |
17-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: progs/trivial/tri.c
|
8d6ef125ac6044438db5b89d6d310ccfc4b8140a |
17-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix mis-matched malloc/free vs. aligned malloc/free Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
tate_tracker/st_cb_texture.c
|
73e119363216b75243dce170f8afd5c2f9bfce50 |
16-Oct-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix span issue with really old ddx and non-tcl r100 chips
rivers/dri/radeon/radeon_screen.c
|
a7b24ac02f80efd83e93b4597a2c0e5a6ba198fe |
16-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
ain/shaders.c
|
cf85e413ad7672c1cef73215222ca1caa8e48b30 |
15-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/mesa/main/context.c
|
b3cb405252ebb009119e5d464aa6e7cd4d845705 |
13-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Texture instructions use r/t/oC/oD register as texture coordinate. Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
rivers/dri/i915/i915_program.c
|
90e4e4117e2e7dbbe4093b3ad8494f072940fbbe |
26-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX). This is nasty because there's no way in GL to output data to the stencil buffer directly, so we have to do a dance to wrap the depth/stencil buffer in an ARGB renderbuffer. Improves performance of several oglconform testcases by better than a factor of 2.
rivers/dri/intel/intel_pixel_draw.c
|
295d6f8e8f03192320aa8d4ed767427dd06071a5 |
15-Oct-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'origin/gallium-0.2' into gallium-0.2
|
568e96b4533c5135f4d7f568a81cdfc0a6dcd7eb |
14-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: modify fixed function vertex programs not to reference constant attributes
ain/context.c
ain/ffvertex_prog.c
|
5d4f3b841753e16fbb33e444b6a787663e54fce5 |
14-Oct-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
dri: don't check the number of cliprects before swap, let the swap handle the requirements.
rivers/dri/common/dri_util.c
|
5bc8ebb12be99ac769a0f2ad1f77a16ebb2bf41f |
13-Oct-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: when emitting an address load instruction, for indexed elements ensure we write to a single register.
hader/slang/slang_emit.c
|
c238098bbcfb644ea01b33d3274b949d84822512 |
13-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Texture instructions use r/t/oC/oD register as texture coordinate. Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
rivers/dri/i915/i915_program.c
|
5c39bad220c801490ac3d99af01d4c4a7e05dfd6 |
26-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX). This is nasty because there's no way in GL to output data to the stencil buffer directly, so we have to do a dance to wrap the depth/stencil buffer in an ARGB renderbuffer. Improves performance of several oglconform testcases by better than a factor of 2.
rivers/dri/intel/intel_pixel_draw.c
|
2a6c6fe01e84ffd54b47ea11aa766960df6ddcaf |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
33ff407874d6fed998b1f01dab68a2b4f1df988a |
10-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driver
rivers/dri/intel/intel_context.c
|
c011a9ca8c83f27eb2c9198f9b4a95ccbf9accf9 |
10-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add missing intel_pixel_draw.c symlink to fix build.
rivers/dri/intel/intel_pixel_draw.c
|
24748268a3ac7bedc2c9ae5bf76c4c741d539f80 |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix asst. issues in _mesa_texstore_argb8888() If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro), we don't have to worry about big vs. little endian. See comments about texel formats in texformat.h. Remove an unneeded/incorrect else-if clause that produced wrong results on big-endian systems.
ain/texstore.c
|
bf9d9a9d01b7697f4a30305cb9574430cba351fa |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: include needed header
wrast/s_texcombine.c
|
f863ae1a040c358728d8608531ae3eb695f3af9e |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded includes
ain/blend.c
ain/getstring.c
|
85a3bf6dabc8b2d545dab078516fdfee9c4cd792 |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861
ain/shaders.c
|
3210a6d6c7e3d5660d31f6c736e0d0f7e34bcf6d |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rename macro params to emphasize that there's no particular color ordering
ain/colormac.h
|
f63594bfef883fa9e15ab7f3f69affe4901353aa |
11-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded includes
ain/api_loopback.c
ain/dlist.c
|
6d4d51d647c27288aa625560bc080231099c0b01 |
10-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new _mesa_set_vp_override() function for driver-override of vertex program Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
ain/mtypes.h
ain/state.c
ain/state.h
ain/texenvprogram.c
tate_tracker/st_cb_drawpixels.c
|
e7002694418cd0decb1cd0d9121f634480e5f0d6 |
10-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driver
rivers/dri/intel/intel_context.c
|
5e9cb42aa662022c63563b4bc7f9e1d99f6d81ee |
10-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add missing intel_pixel_draw.c symlink to fix build.
rivers/dri/intel/intel_pixel_draw.c
|
3a3801c1431203fc4dca24d56577995ae2e78956 |
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms
|
d7f1cb5b5a134b63227d5746a2dd1f05597c5c2f |
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
|
f7556fdd40ed2719beaba271eee4a7551e212ad1 |
10-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAM Check for per-vertex point size must be done when vertex program changes.
tate_tracker/st_atom_rasterizer.c
|
7216679c1998b49ff5b08e6b43f8d5779415bf54 |
09-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Accelerate depth textures with border color. The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_wm_sampler_state.c
|
91221483a633d6230a4f8d2500ed180428754215 |
09-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Actually hook up the accelerated DrawPixels support.
rivers/dri/i965/Makefile
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_draw.c
|
9aec1288eeae8e87adc9a99f377be536892941b2 |
09-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i915: Accelerate depth textures with border color. The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_tex_validate.c
|
5c4bd76cb65245467d4ba04e893157055d738b2d |
08-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately.
hader/program.c
|
a71b1af5ad7859d00f88b554ed3514561c245e0a |
08-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: vertex emit debug code (disabled)
nl/t_vertex_generic.c
|
5462d447aa5bce9e558594eabeddd624cd39b1de |
08-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix vertex format/attribute bug If the tnl output attributes matches the swsetup input attributes we still need to check if the desired vertex color type (float vs. chan) has changed so that we use the right emit functions. Fixes a conformance failure found with logicop test at pathlevel 3.
wrast_setup/ss_context.c
|
902727b7e3eb3c2c9bcddf1d55d3c95c73377cf3 |
08-Oct-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Pass the context to query object delete cb to avoid null dereference.
ain/queryobj.c
|
c157cfc6376f7469ab272b18868183e5ff9ac754 |
07-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add ARB_occlusion_query support.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_queryobj.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_reg.h
|
fc19536aa989ad61e95c281883d32860d767f8ef |
04-Oct-2008 |
Eric Anholt <eric@anholt.net> |
intel: Push flushing for cliprects changes down into the cliprects changes. This lets us short-circuit when we're leaving the same cliprects in place, which becomes quite common with metaops clears, and may be useful for some of our FBO paths.
rivers/dri/intel/intel_buffers.c
|
94d3a30df759bb7c2724fdcee9e89a350d3a4d8b |
08-Oct-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Fix a potential assertion failure.
rivers/dri/i965/brw_draw_upload.c
|
7cb723a3fd4d90ad6efa5f440e5e39f8aaa9f79c |
08-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: pass 'mask', not NULL to renderbuffer->Put functions Fixes bug 17800.
wrast/s_depth.c
|
4f1dafaa82985bf0f04a16ba2ba2d1e8ccf83724 |
07-Oct-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Mesa: fix the case where there are no vertex attributes. This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1
tate_tracker/st_draw.c
|
239617fbe22d4dd7b2794510a6665f09602b5adf |
07-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: replace GLuint with GLbitfield to be clearer about usage Also, fix up some comments to be doxygen style.
ain/mtypes.h
ain/state.c
ain/state.h
ain/texenvprogram.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
4070dba28a486bc0d14df028a085601ae7299f46 |
07-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: update state after binding vertex list in dlist path
bo/vbo_save_draw.c
|
6ff1cf5b82488dc5a07513b0806c23e70f7a665e |
07-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: protect against segfault in get_fp_input_mask()
ain/texenvprogram.c
|
23e62c94ee17f21e99cc2e11fb1f960c0eb56f16 |
07-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove old assertion
hader/arbprogparse.c
|
d055b2c001a0fb233f98c10d124b43dd2448059e |
07-Oct-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix convolve/convolution mix-ups
ain/api_exec.c
ain/mfeatures.h
tate_tracker/st_cb_texture.c
|
4f4147eadd983bd4052c5a8e80a1750a813a25fc |
07-Oct-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix convolve/convolution mix-ups
ain/api_exec.c
ain/mfeatures.h
|
f8baad2d255c77c47dddeddcaf719e163e9556fb |
06-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONE
hader/arbprogparse.c
|
8e8208d6db8b764568539784a6473d545dec2265 |
06-Oct-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Mesa: fix the case where there are no vertex attributes.
tate_tracker/st_draw.c
|
6e34fc0d374263ca40855ba4dcc237d961a79e34 |
06-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: adjust texcoords for swrast sprite points. Fixes glean pointSprite test w/ software rendering
wrast/s_points.c
|
b0ca50bd38b69593ac683a5e7635fbafa5e06676 |
06-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated _mesa_delete_query() comments
ain/queryobj.c
|
f362788eae3d300e4003e8996dc79fc1947a0f60 |
06-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing GLcontext param to _mesa_delete_query(). Fixes vtk crash and others.
ain/queryobj.c
ain/queryobj.h
|
382911bdbce5545117d5a70ce7e43b71e8396e32 |
06-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing GLcontext param to _mesa_delete_query(). Fixes vtk crash and others.
ain/queryobj.c
ain/queryobj.h
|
91d0020eecb78ef2984fd0afafc5d555c0e957d8 |
05-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i915: Refine the texture indirect lookup accounting. Without this, we would reject programs which sampled multiple times from registers defined in the same phase (block of instructions with the same texture indirection count), as each sample would count as a new phase beginning. Instead, keep track of which phases registers were written in, and only bump phase when we're reading from one generated in this phase. On the other hand, we failed to count oC or oD texture samples as being new phases. Bug #17865.
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_program.c
|
0370d6b359016790c6b879c2a4b6661adac20dea |
04-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: handle vertex program enabled case also in texenvprogram.c
ain/texenvprogram.c
|
db9ba91971a1f279b040b30bf8fd5d13a70f0a03 |
03-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Don't advertise unsupported extensions on pre-965 hardware Move GL_ARB_texture_non_power_of_two and GL_ATI_separate_stencil from the generic extension list to the 965-specific list. Neither extension is supported on i830-class hardware, and GL_ATI_separate_stencil is not supported on i915-class hardare. GL_ARB_texture_non_power_of_two is supported on i915-class hardare and is already in the i915-specific list.
rivers/dri/intel/intel_context.c
|
1680ef869625dc1fe9cf481b180382a34e0738e7 |
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: avoid generating constant vertex attributes in fixedfunc programs Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession.
ain/mtypes.h
ain/state.c
ain/state.h
ain/texenvprogram.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
d63a36ef3a4dd9cef1273fac5949e587c42813b5 |
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Mesa: short-circuit case when looking up the same program twice in cache
hader/prog_cache.c
hader/prog_cache.h
|
fa1b533012030cd67148b5bf1e018fd5e30c96f8 |
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: add new internal state for tracking current vertex attribs
ain/mtypes.h
ain/state.c
hader/prog_statevars.c
hader/prog_statevars.h
bo/vbo_exec_api.c
bo/vbo_save_draw.c
|
0e008d37979e4e5ede25056221583e02c08a5df7 |
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: add missing state dependencies for various tracked constants
hader/prog_statevars.c
|
6280e335706f95ed0ebb089d8f72aeede9b5a1ad |
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: shrink texenvprogram state key struct
ain/texenvprogram.c
|
a77976d2ee578d0483c64f2aa41719bbae9c1c97 |
01-Oct-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Fix compiler warnings on Windows.
hader/arbprogparse.c
hader/slang/slang_link.c
|
5620c20b24dc4f780a2246eb5270c4476b487e0a |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix temp register allocation problems. Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
ain/texenvprogram.c
|
4741dbcbbc2514de370a760f4b78a17491014555 |
02-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Unify ARB_depth_texture and SGIX_depth_texture The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/r300/r300_context.c
ain/depthstencil.c
ain/extensions.c
ain/mtypes.h
ain/texformat.c
ain/teximage.c
ain/texparam.c
wrast/s_texstore.c
|
17fdd1ab3b48da8dff742e626c3c59bc89cafeed |
02-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: sampler default color ends up in texture cache, not instructions. See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes.
rivers/dri/i965/brw_wm_sampler_state.c
|
df6ae3f0a39f95cb1199ac16c98be2bf9a3bc96f |
01-Oct-2008 |
Eric Anholt <eric@anholt.net> |
i965: Fix overwriting of depth override for SetTexOffset. Fixes black borders around windows in compiz. Bug #17233.
rivers/dri/i965/brw_wm_surface_state.c
|
266c5f5ccb3200c1fa195653d53748410078eac7 |
01-Oct-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Fix compiler warnings on Windows.
hader/arbprogparse.c
hader/slang/slang_link.c
|
e3378790bb43d65689349545a14c8651677aff41 |
30-Sep-2008 |
Jonathan White <jwhite@tungstengraphics.com> |
cell: Fixed usage of MAX_INSTRUCTIONS to use new MAX_PROGRAM_INSTRUCTIONS instead of old MAX_NV_XXX definitions in order to allow Cell TGSI fragment program generator to work again.
hader/arbprogparse.c
|
8cd046c9b1da31e4ff178816bdfe2ee3451a1553 |
30-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'origin/gallium-0.2' into gallium-0.2
|
08b9e29c1d4d28fee13658b0421b4522d9c36b3a |
30-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clean-up the extension string madness! - Sort extensions by ARB, then EXT, then vendor by name - Remove redundant (only one of GL_{ARB,EXT,NV}_texture_rectangle) or duplicate extension strings
rivers/dri/intel/intel_context.c
|
3ab4b2066fd0b1493af38510e26e5a6ba83b5cf4 |
29-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLSL: Implement GL_OBJECT_TYPE_ARB query The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum.
ain/shaders.c
|
905d8e0742d200558677dac01a838e95877f7b5e |
29-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLSL: Implement _mesa_get_handle Implementing _mesa_get_handle in using glGetIntegerv(GL_CURRENT_PROGRAM, ...) allows glGetHandleARB to work.
hader/shader_api.c
|
d806d451e660bb582c04947ae3bd8b95173e8fd4 |
29-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
GLSL: AttachShader returns INVALID_OPERATION for repeated attach The GL_ARB_shader_objects spec says that glAttachShaderARB is supposed to return GL_INVALID_OPERATION if a shader is attached to a program where it is already attached. _mesa_attach_shader perviously returned without error in this case.
hader/shader_api.c
|
fc13269b820a842b401b7a7a4aed098e59b25b91 |
29-Sep-2008 |
Jouk Jansen <jouk@hrem.nano.tudelft.nl> |
mesa: asst updates for VMS
rivers/common/descrip.mms
lapi/descrip.mms
ain/descrip.mms
hader/descrip.mms
hader/grammar/descrip.mms
nl/descrip.mms
|
e095d5812a0237d08eabae1977730e38ac5751c9 |
26-Sep-2008 |
Shunichi Fuji <palglowr@gmail.com> |
mesa: drop calloc from _mesa_get_fixed_func_vertex_program Signed-off-by: Shunichi Fuji <palglowr@gmail.com>
ain/ffvertex_prog.c
|
2b8d8989fb6f9c36baf166fc715182a1407ebadb |
29-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Use 3Dnow! x86-64 routines only on processors that support 3Dnow! Added an x86-64 CPUID function and use it to detect 3Dnow! If 3Dnow! is available, use _mesa_3dnow_transform_points4_3d_no_rot, _mesa_3dnow_transform_points4_perspective, _mesa_3dnow_transform_points4_2d_no_rot, and _mesa_3dnow_transform_points4_2d. This fixes long standing bug #8724.
86-64/x86-64.c
86-64/xform4.S
|
b5d59222ccbec9db23b6847737765a4dc0d8c47b |
26-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove TNL-to-VP tracking from i965 The i965 driver previously had it's own set of code to convert fixed-function TNL state to a vertex program. Core Mesa has code to do this, so there is no reason to duplicate that effort in the driver. In fact, this duplication leads to bugs when other aspects of the Mesa infrastructure change.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_vtbl.c
|
2e5d717007ba6515b094b9af8ed869130185a308 |
27-Sep-2008 |
Tobias Jakobi <liquid.acid@gmx.net> |
glapi: add DISPATCH_FUNCTION_SIZE
lapi/glapi.c
|
a23026effca921a77fbaa0a7effdc2826212b11e |
24-Sep-2008 |
Tobias Jakobi <liquid.acid@gmx.net> |
glapi: add gl_dispatch_functions_start and end
lapi/glapi.c
|
8fd329d04885eba7587bbe7604d3a1088e35de40 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix temp register allocation problems. Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
ain/texenvprogram.c
|
7d99ddcb2bb09f1f54d91e6e20e42d217a5bccdf |
26-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix a number of memory leaks on context destroy.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
|
632055f831a6eef75a73f246e2548fd2d4789acd |
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
st: add prototype for st_get_framebuffer_dimensions()
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
6d3e2e7e92ada3c430476de7a5dddf529914b4f0 |
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
st: export st_get_framebuffer_dimensions() to retrieve the width & height of the fb
tate_tracker/st_framebuffer.c
|
a4a5a37f2760eca97b85f699c932c746da4d8e6c |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove invalid assertions that programs have parameters Fixes failure with demos/fplight.c
ain/state.c
|
4bc39c58eb7fdf3a0be62bed666998a0d1789dcf |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix assertion in _mesa_reference_program()
hader/program.c
|
ee80c64be8ebeebc1cf4c4913049eb07b9326b96 |
26-Sep-2008 |
Brad King <brad.king@kitware.com> |
mesa: fix param indexing
ain/texparam.c
|
c7510ddc3f6faa68154c11ce820097492a0748d2 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix incorrect parameter order
tate_tracker/st_gen_mipmap.c
|
47bf26845712bea756526fc159bdb355ceaef9c2 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove const qualifiers to match device driver interface function
tate_tracker/st_cb_texture.c
|
81234666fcd2cbdc92ba5e14b3bb259929b17549 |
19-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
fad2dd8447a7f6cf002d8b902d4075023ede2a50 |
19-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add some braces
hader/prog_execute.c
|
f51cca72d31aacbae815c70071d2d3a04d55025a |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix/simplify initialization of vertex/fragment program limits Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
ain/config.h
ain/context.c
|
b5e1a93036b22bd30738abccbb8a2645a515667f |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: increase MAX_INSTRUCTIONS
ain/texenvprogram.c
|
d01269a57f4cfdb859352c933bc546296545dd80 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix swizzle failure, fix typo
ain/texenvprogram.c
|
6c72bc8089037daed0c471dda62310d1101e08f0 |
25-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix default buffer object access value
ain/bufferobj.c
|
13a8c18d3d0ca505f053a15fc664a705cbc8be84 |
19-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
1ef90b3f9af12102101e5d30b2d73cbdabd86f24 |
19-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add some braces
hader/prog_execute.c
|
e9c722b660ee8fc0aa73335d447f1dd8bced6fe2 |
26-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
st: change from ** to * for st_unreference_framebuffer()
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
6f83c30dd039380ead8e16936464edd11038bb37 |
25-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fix indenting
ain/texstate.c
|
9ee04ce4e4f22e63e17cd18919f564d4fa518854 |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
dri: remove unused files present only on gallium-0.2 branch
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
|
fb8db63a89c4ac7fbbbc0912e1dde0871ae9c35c |
26-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into HEAD Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
|
1e3a44fab068f00378613456036716d0c3772969 |
26-Sep-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix cast/conversion for optional code
ain/get.c
ain/get_gen.py
|
092748990f75a0348f24a40e92872f08a9958e66 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix/simplify initialization of vertex/fragment program limits Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
ain/config.h
ain/context.c
|
b3c3bc63f0f008100c002e0183b927b8381d5498 |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.
ain/api_exec.c
|
3f99f501db2582e241851e63e432c18e2de415be |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: increase MAX_INSTRUCTIONS
ain/texenvprogram.c
|
006fb638188f083d64a2427cd28979b432622f3e |
26-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix swizzle failure, fix typo
ain/texenvprogram.c
|
8124faf89d638285d8e9aa93adc3ca7f4ee729f3 |
25-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
ain/get.c
ain/get_gen.py
|
1ca512c643553bd3504abd258ab80b7a550ab292 |
25-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix default buffer object access value
ain/bufferobj.c
|
6222eb3fcd12147ea2e7ccc20a71a921cebbb0d2 |
25-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some VBO buffer object issues The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
507ef82077891a7b833c1c3e82c61299cf281ee8 |
25-Sep-2008 |
Sam Hocevar <sam@zoy.org> |
mesa: fix function params to match prototypes
hader/grammar/grammar_crt.c
|
7be5411ce69f0f6be1f31079b9fbdea4967358a0 |
25-Sep-2008 |
Sam Hocevar <sam@zoy.org> |
mesa: prevent the slang code generator from aborting when faced with a sampler variable redeclaration.
hader/slang/slang_codegen.c
|
561787e69759ed757edb897c027d2d94beac8d11 |
25-Sep-2008 |
Sam Hocevar <sam@zoy.org> |
i965: support for sin() and cos() in vertex shaders.
rivers/dri/i965/brw_vs_emit.c
|
831bfb9053a6e1f065fc07f9f25ae0ea27053733 |
23-Sep-2008 |
Sam Hocevar <sam@zoy.org> |
i965: more meaningful message for unsupported opcodes.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_emit.c
|
c5945c2d173b77ace00e6fc225097a6afddecfa3 |
25-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix clears to depth_stencil texture attachments. Broken by 0adfd1021035e90995a25ec5f20b736e55075d92, showed up as an assertion failure in a software fallback in the shadowtex demo when we failed to recognize the texture format.
rivers/dri/intel/intel_fbo.c
|
1fe385fdc96688a5249d52184f457910a0c25488 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
set SamplerUnit[] entry in load_texture() just to be safe (cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04)
ain/texenvprogram.c
|
dff0b0e772185c359a1ad50afc7d5680745b1b1b |
18-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8)
ain/texenvprogram.c
|
9b7e5a51f49e842f4114545f5eb171a597c83a66 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
set program->SamplersUsed bit when using a texture instruction
ain/texenvprogram.c
|
93fef22d05d0fb6f011d48d2fde533555c1695a2 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx field from texenvprog_cache
ain/texenvprogram.c
|
fb3c41f5044bc0e228470ebf9f2cfdf2c53f191f |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
include programopt.h (cherry picked from commit 83fad68ec1989c719646a76f4cc5e0b3d23537ed)
ain/texenvprogram.c
|
c81cce78313a62e0d36a5c80bd9d35b770d0814a |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable vertex shader fog, compute fog in fragment shader.
ain/texenvprogram.c
|
19d77d6cfa384142cc6ab4d9b3db4b28cefb6f19 |
19-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled (cherry picked from commit 63be96bdc7e9f388a5c49295bd7e150462fd003a)
ain/texenvprogram.c
|
8e7d941d7a29aaf66f94892b3f97670c0e972c8c |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fix main/ prefix in include
lapi/glapi_getproc.c
|
33fef8be825ee8ec6abc0c2ffd9a3a967d84df88 |
18-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
vbo: unmap and remap immediate vbo before/after each draw. Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
bo/vbo_exec_draw.c
|
6f765fbde42a4f729780aa39d2b0ed9d736dd5a8 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vbo_use_buffer_objects() to specify that immediate mode data should be put into bufferobjects
bo/vbo.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
b36bc54d3ceff5f514f87cdce67164147c1dd04f |
25-Aug-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
vbo: seed initial max_element value with a more likely candidate (cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843)
bo/vbo_exec_array.c
|
9acf207277b4de91b917b37a92f6b612f4710c80 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/ (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
5b98236e75b15b77c04545f3e06d4522fe7ad608 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix glGetUniform for matrix queries (cherry picked from commit 7a6eba54d064cadf15f93df2c1748cf5e474ef03)
hader/shader_api.c
|
eda291e316601d2ebf9834c290686854ea857aec |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix a number of glUniform issues Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1.
hader/shader_api.c
|
bda6ad273d17efbe69a2a0599595cd4d50617cc3 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix error check in get_uniformfv() (cherry picked from commit 18cd9c229a1fc8da8b7669b8d1d100f6bbeca183)
hader/shader_api.c
|
62dd7575f07f3ff9803118113746dba9219c1390 |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/main/drawpix.c src/mesa/shader/prog_uniform.c src/mesa/shader/slang/slang_link.c
|
2cb3d2b7a0d8f505131e98053d3e19982012fccd |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/glapi/glapi_getproc.c src/mesa/main/image.c src/mesa/shader/slang/slang_link.c
|
452a592ca4b1bac78eee53fb9f2f1deac7832840 |
31-May-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Apply MSVC portability fixes from Alan Hourihane.
ain/api_validate.c
ain/dlist.c
ain/drawpix.c
ain/framebuffer.c
ain/get.c
ain/image.c
ain/light.c
ain/mipmap.c
ain/pixel.c
ain/pixel.h
ain/texenvprogram.c
hader/prog_execute.c
hader/prog_statevars.c
hader/prog_uniform.c
bo/vbo_exec_array.c
bo/vbo_split_inplace.c
|
9118b02fd0e4c5c472d7dbf211eec350a1d37ea4 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()
hader/slang/slang_link.c
|
c79779aff09073d87b9a6138bf09f23c3b8b5fd7 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add fwd decl of fill_in_entrypoint_offset() (cherry picked from commit b1eff0228b7199920c02e62446ebf5496c298814)
lapi/glapi_getproc.c
|
ec76910187adc88fc54907ffa3506309ee2abcf3 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820)
ain/mtypes.h
hader/slang/slang_link.c
|
03bafd1f9fa000abdb794b2ae344a68840c83201 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21)
ain/image.c
ain/image.h
ain/teximage.c
|
a97226352fb8063d4d0084523312b4880dae5ac7 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move GetProcAddress code from glapi.c into new glapi_getproc.c file
lapi/glapi.c
lapi/glapi.h
lapi/glapi_getproc.c
ources
|
9e7c0724bbc62c86dc302a9fe76b3e4288fc4461 |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2
|
d533da2db873942b3f8676a754b8be3c9718bedf |
24-Sep-2008 |
Eric Anholt <eric@anholt.net> |
i965: Cope with batch getting flushed in the middle of batchbuffer emits. This isn't required for GEM (at least, yet), but the check_aperture code for non-GEM results in batch getting flushed during emit. brw_state_upload restarts state emits, but a bunch of the state emit functions were assuming that they would be called exactly once, after prepare and before new_batch. Bug #17179.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vtbl.c
|
a0bd3972b645fbe61c3d1e2bbaa1510e04bad8d8 |
24-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
remove leftover merge conflict markers
ain/sources
|
4b038e24b0960e10d6ab8e360f2558d9c2730d99 |
24-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add missing include files for meta drawpixels since mesa shuffling.
rivers/dri/intel/intel_pixel_draw.c
|
f85ea6837da434cdec011de431e62db20ee39df2 |
21-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Replace pbo-only drawpixels function with a generic Mesa metaops. Improves performance of some oglconform regression tests 9x.
rivers/dri/intel/intel_pixel_draw.c
|
15487e46a29377edc7ceceefabe9977f992ae01c |
22-Sep-2008 |
Eric Anholt <eric@anholt.net> |
i915: Fix overlapping CopyPixels with negative pixel zoom. Fixes a failure in pixel-pos.c oglconform test.
rivers/dri/intel/intel_pixel_copy.c
|
b9532f078a2fbf459b0403b6f656711f80ff83c2 |
21-Sep-2008 |
Eric Anholt <eric@anholt.net> |
i915: fix crash in flush_prim -> wait_flips -> flush_batch -> flush_prim.
rivers/dri/i915/intel_tris.c
|
2511d57fa487e4b46a4919913103c2491da7a856 |
23-Sep-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
i965: Adapt to new TNL program tracking semantics This fixes bugzilla #17718.
rivers/dri/i965/brw_context.c
|
bb60fb77c7fa02e0018e10eb84c6ef7c6a5d551b |
22-Sep-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Adapt to the removal of _tnl_ProgramCacheInit() and friends.
rivers/dri/r300/r300_context.c
|
5106f1b9acef1c5fa8b97b04c33f00c92dfb4c43 |
22-Sep-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove incorrect test from mmAllocMem. 0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was broken by this.
ain/mm.c
|
c9122c0c0308345e2df2448bcb189d0f5d505909 |
22-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Remove left over merge conflicts
86/common_x86_asm.S
|
ed4c6cbe017b4e8bacb7e012d4baaf77a20a2c33 |
22-Sep-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Adapt to the removal of _tnl_ProgramCacheInit() and friends.
rivers/dri/r300/r300_context.c
|
78f4a695ad7140cd0148467f041e874afc655426 |
22-Sep-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove incorrect test from mmAllocMem. 0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was broken by this.
ain/mm.c
|
dace236c5fffa29d59e4d12fa865889bbecbdd24 |
22-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'master' into gallium-0.2 Conflicts: src/mesa/glapi/glapi.h src/mesa/main/api_exec.c src/mesa/main/attrib.c src/mesa/main/clear.c src/mesa/main/context.c src/mesa/main/mfeatures.h src/mesa/main/mipmap.c src/mesa/main/mipmap.h src/mesa/main/readpix.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texformat.c src/mesa/main/texparam.c src/mesa/main/texstate.c src/mesa/vbo/vbo_context.c src/mesa/x86/common_x86_asm.S
|
6fd15dd80666ccb1e9b99cedd306e32cc7cee989 |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allow for extra per-context init (cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)
ain/context.c
ain/context.h
ain/points.c
|
1b7e90984511cfa47597c255d73ca416ddd2db6f |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: texture crop rect state (cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)
ain/glheader.h
ain/mtypes.h
ain/texparam.c
|
93c90d34d10e06105984796b7b157f2a3e6db5c1 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set point state (cherry picked from commit af3d9dba562813ffed71691bffd7faf6665c4487)
ain/points.c
hader/program.c
|
868c09a267f3c25591075f5a9e5d54535958632f |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some feature tests (cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486)
ain/context.c
ain/fbobject.c
|
8122ab2dfd0e158a4982e1bfeb1f7a6f185b69ee |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some pixel transfer state tests for depth formats (cherry picked from commit 966e199e409a1b52eef88e48997442250997f45e)
ain/texstore.c
|
6bc8749cd593e29e7950da36cd166aa1c9ebc34b |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix issues causing warnings on Windows
hader/shader_api.c
|
9614eac85df028bbb77a5073f2f1839bdaa308a0 |
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
ain/texformat.c
ain/texrender.c
ain/texstore.c
|
ce1685ce947545fac8c254cafdc0f133b6202ca9 |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: comments about vectors vs components
ain/config.h
ain/mtypes.h
|
eb10fa3ed6262a8103e5f3f579b2ec2b9d72afa9 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
ain/shaders.c
|
6246dd890f356cc8beaab035018890e719e06227 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: implement glGetUniformiv() with new ctx->Driver function The old implementation could overwrite the caller's param buffer.
ain/shaders.c
|
48cba703fa6fdbe2ad34770d54aeafdd01493f27 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added case for fixed pt
ain/varray.c
|
1cf2c8a04313b80a01ef23b06993586ce62281a4 |
25-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: point size arrays
ain/arrayobj.c
ain/enable.c
ain/glheader.h
ain/mfeatures.h
ain/mtypes.h
ain/varray.c
ain/varray.h
bo/vbo_exec_array.c
|
f8e50dd796a72c396bb22d414feba75c426c5e7e |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Replace deprecated __MSC__ macro.
ain/imports.h
ath/m_debug_util.h
|
60325331a8a76f3c783284c65b81cee471d7d64c |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: More signed/unsigned float/integer fixes.
ain/mm.c
ain/mm.h
|
457d7218b8e0f0c21ae31564d25b7031b423b0f8 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use appropriate unsigned/signed, float/integer types.
ain/mm.c
hader/program.c
|
88f729e4ec145ca388fb20e72d65c51af154d2e5 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use _mesa_bsearch.
ain/enums.c
|
baa76e9aa255c4b4591111991b6ad6d80e69d9c1 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: bsearch implementation for WinCE.
ain/imports.c
|
2e8af5ffcf5b59b6852cf0c7ad992af97de13fce |
23-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: ASSERT macro is already defined by WinCE headers. Even when just the standard headers are used....
ain/glheader.h
|
c115616bda80390e6d4b11e7ce6184ef1cc00838 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: init ctx->RenderMode
ain/context.c
|
d17485fef9b084a6812c626d9734816429f29199 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: GL_BYTE vertex/texcoord arrays
ain/mfeatures.h
ain/varray.c
|
394c1d1c53074f82d2664f655f948f8966f46b9d |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for fixed-pt vertex arrays
ain/glheader.h
ain/mfeatures.h
ain/varray.c
|
bb00f09f1bfb195206ffac6481d83ecf57fd37ce |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move initialization of DefaultPacking state.
ain/pixel.c
ain/pixelstore.c
|
9b8b58b79a1837f75cec44089589a308ccd865f1 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix errors in prev commit
ain/dlist.c
|
3a4bed8f088d6f7c558ad187c338cbcd6c692b5d |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: revamp glBlendFunc loopback
ain/blend.c
ain/dlist.c
|
85f553d3c11a1fdf26e8ceb4767742afce0b24ff |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some FEATURE_x tests
ain/context.c
|
b51d73dd943de688be7e65057af150e8eb92ae21 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: test for FEATURE_ATI_fragment_shader
ain/context.c
|
715715e230bbe3e90fed566230b4a10ed0e89e90 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix ReadBuffer initialization
ain/context.c
|
cd4d4f590f3e032d329ebb33dea69d951bb96d11 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: FEATURE_dispatch to control dispatch table usage
ain/context.c
ain/mfeatures.h
|
2dbc515a669be123a019aeb4aa5aae6b1679f6a9 |
14-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glapi bits around Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
lapi/dispatch.h
lapi/gl_table.py
lapi/glapi.h
lapi/glapitable.h
ain/blend.c
ain/context.c
ain/mtypes.h
|
d22ef6bcbaf083b601fe6b37ef2e65e81116082b |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some temp debug code
ain/context.c
|
4e3ae76feac17570b50ec6751e07ea112dde597f |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check FEATURE_ARB_occlusion_query
ain/context.c
|
049a59a87cafd8ad089f99232bac7ea6cad85f29 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix typo: s/stacks/stack/
ain/mfeatures.h
|
74c64fa748c833a9688d3a141a7807686701e24f |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
code refactoring, new next_mipmap_level_size() function (cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)
ain/mipmap.c
ain/mipmap.h
|
e93243f8b7d43695654a36334c8cc5cea140d23c |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
added _mesa_tex_target_to_face() (cherry picked from commit b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e)
ain/teximage.c
ain/teximage.h
|
abb465cdc71da566d431f44feeec31594e01086f |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
refactor code, export _mesa_generate_mipmap_level()
ain/mipmap.c
ain/mipmap.h
|
12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
move _mesa_format_to_type_and_comps() to texformat.c (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
ain/mipmap.c
ain/texformat.c
ain/texformat.h
|
b08200237968e3129d0cb35e03b2a5514b1dcb53 |
22-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: pull in mipmap.c changes from gallium-0.2
ain/mipmap.c
|
facfb44d37905870ffabede8a05f1b483105b539 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded #include (cherry picked from commit 6363960db55769db73021081b60f1028723d9f58)
hader/prog_statevars.c
|
ddd630ef907cd6bb91bad0c9f5db83f2fa67be47 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move various ENUM_TO_x macros into macros.h
ain/get.c
ain/get_gen.py
ain/macros.h
ain/texenv.c
ain/texgen.c
ain/texparam.c
ain/texstate.c
|
ae1fdc15238498bf025d0f0be7337e2f9dda455f |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexParameter-related functions into new texparam.c file
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texparam.c
ain/texparam.h
ain/texstate.c
ain/texstate.h
ources
|
11ebfd22bb451f86a492254b77c90aeb011f8d9a |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexEnv-related functions into new texenv.c file (cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texenv.c
ain/texenv.h
ain/texstate.c
ain/texstate.h
ources
|
10db6c2d81506bb8cc5165d07b01e93d3830978d |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexGen-related functions into new texgen.c file (cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texgen.c
ain/texgen.h
ain/texstate.c
ain/texstate.h
ources
|
4fc71f3ec2e3bec6c842473f6b2b6287b309c958 |
11-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: fix some FEATURE_ typos, mistakes (cherry picked from commit e4cfe0854ad968193106048179b9b52ec1768f41)
ain/mfeatures.h
ain/rastpos.c
|
34a61c66fd1b625a5606b795d192a49632ff1787 |
22-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: refactor: move #define FEATURE flags into new mfeatures.h file Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
ain/api_exec.c
ain/api_exec.h
ain/api_noop.c
ain/config.h
ain/context.c
ain/mfeatures.h
ain/state.c
ain/texformat.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.c
bo/vbo_exec_api.c
|
24172fe595eede2649dd88363d2cda68f928a03e |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_update_minmax/histogram() into image.c (cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174)
ain/histogram.c
ain/histogram.h
ain/image.c
|
c132e2b1db855b3c33d8b879c4a986011d631d43 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move multisample-related functions into new multisample.c file
ain/api_exec.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/multisample.c
ain/multisample.h
ain/sources
ources
|
e48defc98045f419e71ca13e4f45470b2336ecaf |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/dlist.c
ain/framebuffer.c
ain/framebuffer.h
|
5ab1d0aceaffbf872d7f8ebea2a6655e25bf2390 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glClear, glClearColor into new clear.c file.
ain/api_exec.c
ain/buffers.c
ain/buffers.h
ain/clear.c
ain/clear.h
ain/sources
ources
|
55e341c4c2e5a6f3475a8a3e6389b904f99a6d1a |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move scissor functions into new scissor.c file (cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)
ain/api_exec.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/scissor.c
ain/scissor.h
ain/sources
ources
|
18d2822905ac3187318bd662f80c2836bdfa7c1f |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move pixel map/scale/bias code into image.c pixel.c is just the API-related code now.
ain/image.c
ain/image.h
ain/pixel.c
ain/pixel.h
|
533c1dbe7582bdd72f671eef02e085f0c43159e2 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: new _mesa_init_pixelstore() function (cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
ain/context.c
ain/pixel.c
ain/pixelstore.c
ain/pixelstore.h
|
c9e5671691289006e9b1152d6ce20200a83010c2 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file (cherry picked from commit b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22)
ain/api_exec.c
ain/api_exec.h
ain/context.c
ain/sources
ain/state.c
ain/state.h
ources
|
28876dd511ec2c9d5f5500499201df2588e8c7f1 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glReadPixels code into new readpix.c file
ain/drawpix.c
ain/drawpix.h
ain/readpix.c
ain/readpix.h
ain/sources
ain/state.c
ources
|
87534210bb9fe5f4e3053d12123491a8c2ccbf6d |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add some FLUSH_CURRENT() calls. Without these we can find ourselves in _mesa_load_state_parameters() computing derived lighting/material values whhen the current material properties haven't been updated from the VBO. This may be a somewhat wide-spread problem that needs more attention... (cherry picked from commit 49adf51eeec31c9f3c995a70acc5008522689708)
ain/buffers.c
ain/drawpix.c
|
411d6672a6f3b228faebcf13da90388ea7671ae2 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glPixelStore function into new pixelstore.c file
ain/pixel.c
ain/pixel.h
ain/pixelstore.c
ain/pixelstore.h
ain/state.c
ources
|
9228f1c881b7574d75f6ef4dfa5e06aba398ed02 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions
ain/attrib.c
ain/points.c
ain/points.h
ain/state.c
|
7c1fda71acfbe01bf36356f6af90d9ac631e18c1 |
22-Sep-2008 |
Benjamin Close <Benjamin.Close@clearchain.com> |
i965: fix compilation Found By: Tinderbox
rivers/dri/i965/brw_vs_tnl.c
|
e61793a7c01588f2e6235f1271af4c58fa8adad4 |
22-Sep-2008 |
Zack Rusin <zack@tungstengraphics.com> |
gallium: cleanup the after merge framebuffer update code adjust it and make it behave like it used to
tate_tracker/st_atom_framebuffer.c
|
90f1677fe6b6a016d38e89d1ebb23ce255f17b74 |
21-Sep-2008 |
Zack Rusin <zack@tungstengraphics.com> |
gallium: fix a fbo crash don't dirty the fb if we're rebining the frontbuffer
tate_tracker/st_atom_framebuffer.c
|
a7573d805e9fa4d985cf48f467df5bd39dc3e7c0 |
21-Sep-2008 |
Chris Rankin <rankincj@yahoo.com> |
Fix X86 compilation.
86/common_x86_asm.S
|
3a40dee3eb5151a282ce831b67427f3aa625de28 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2
|
53dd838de6cd455f00f43ef7f733d4e9b420b8d8 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
swrast: remove merge droppings
ources
|
00929157de20b4b37a4b2b92a15d775a35e7d11c |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
swrast: remove dead file not present in master
wrast/s_drawpix.h
|
34d4ef7cc0cc4746fdb5fdc0b44a680daa85bef1 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
drivers/x11: remove early gallium support We originally piggy-backed gallium development in the X11/swrast driver, but the necessary code has since been moved to its own location in gallium/winsys/xlib. Remove the old code from here as we don't want it propogated back to master in any future merge.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xm_surface.c
rivers/x11/xm_tri.c
rivers/x11/xm_winsys.c
rivers/x11/xmesaP.h
|
a70312a1546ce3ec29681f34d35707121f8c4569 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
state_tracker: remove dead file
tate_tracker/acc2.c
|
19af2db064805f3746cb4d810e5515f7e853185f |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove files not in master Remove git droppings we've accumulated somehow.
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i965/server/i830_common.h
rivers/dri/i965/server/i830_dri.h
rivers/dri/intel/intel_screen.c
|
a779f3b587d55cacd2b807ba10634e07c638a534 |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove remnants of an nouveau driver This isn't present on master, so probably shouldn't be here either.
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
|
f9958a1ac625d8608e4a8a0c0d4c9f9d108cc401 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
swrast: remove merge droppings
wrast/s_points.h
|
45efcc44c758a94928648bc20df32b98b3462bcc |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove CVS keywords. Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_bitmap.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_fifo.h
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_lines.h
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_lock.h
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_state.h
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tex.h
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_tritmp.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_vtxfmt.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/ffb/server/ffb_regs.h
rivers/dri/gamma/gamma_client.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_regs.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/gamma/server/glint_common.h
rivers/dri/gamma/server/glint_dri.h
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i810/server/i810_common.h
rivers/dri/i810/server/i810_dri.h
rivers/dri/i810/server/i810_reg.h
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/mga/server/mga.h
rivers/dri/mga/server/mga_bios.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_macros.h
rivers/dri/mga/server/mga_reg.h
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_macros.h
rivers/dri/r128/server/r128_reg.h
rivers/dri/r128/server/r128_version.h
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_macros.h
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/sis/server/sis_common.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.h
rivers/dri/tdfx/X86/fx_3dnow_fastpath.S
rivers/dri/tdfx/X86/fx_3dnow_fasttmp.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_glide.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/svga/svgapix.h
rivers/windows/gdi/wgl.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/gld_debug_clip.c
rivers/windows/gldirect/gld_debug_norm.c
rivers/windows/gldirect/gld_debug_xform.c
rivers/windows/gldirect/mesasw/colors.h
lapi/mesadef.py
parc/norm.S
parc/sparc.h
parc/xform.S
86-64/x86-64.c
86-64/x86-64.h
86/3dnow.c
86/3dnow.h
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/clip_args.h
86/common_x86_asm.h
86/common_x86_features.h
86/common_x86_macros.h
86/norm_args.h
86/sse.h
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86.c
86/x86.h
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
86/xform_args.h
|
64dc397d8b6a0b1b87fde0a4f20a57fab2664ef2 |
23-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Prefix main includes with dir to avoid conflicts. Eliminate a couple of differences with gallium-0.2
parc/sparc.c
wrast_setup/ss_vb.h
86-64/x86-64.c
|
2ea3ef9a80f1759bea8cfe61179fc30fadecea50 |
12-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: remove dead file
ain/api_eval.h
bo/vbo_exec_eval.c
|
c07e274f44356cb662c04817f810d8d1adedd872 |
12-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: add explict float casts
ain/api_arrayelt.c
|
9644fa6c48f596875f6955728c3a8af1b01a5028 |
21-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'master' into gallium-0.2 Conflicts: include/GLES/egl.h include/GLES/egltypes.h src/egl/main/eglconfig.c src/egl/main/eglconfig.h src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/Makefile src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/tdfx/tdfx_dd.h src/mesa/drivers/x11/xm_buffer.c src/mesa/glapi/glapi.c src/mesa/main/dispatch.c src/mesa/main/state.c src/mesa/main/texstate.c src/mesa/shader/arbprogparse.c src/mesa/shader/arbprogram.c src/mesa/shader/nvfragparse.c src/mesa/shader/nvprogram.c src/mesa/shader/shader_api.c src/mesa/sources src/mesa/swrast/s_aaline.c src/mesa/swrast/s_aaline.h src/mesa/swrast/s_aatriangle.h src/mesa/swrast/s_accum.c src/mesa/swrast/s_alpha.h src/mesa/swrast/s_bitmap.c src/mesa/swrast/s_blend.h src/mesa/swrast/s_context.c src/mesa/swrast/s_copypix.c src/mesa/swrast/s_depth.c src/mesa/swrast/s_depth.h src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_drawpix.h src/mesa/swrast/s_feedback.c src/mesa/swrast/s_feedback.h src/mesa/swrast/s_fog.h src/mesa/swrast/s_lines.h src/mesa/swrast/s_logic.h src/mesa/swrast/s_masking.h src/mesa/swrast/s_points.c src/mesa/swrast/s_points.h src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast/s_span.h src/mesa/swrast/s_stencil.h src/mesa/swrast/s_texcombine.c src/mesa/swrast/s_texcombine.h src/mesa/swrast/s_texfilter.c src/mesa/swrast/s_texfilter.h src/mesa/swrast/s_texstore.c src/mesa/swrast/s_triangle.c src/mesa/swrast/s_triangle.h src/mesa/swrast/s_zoom.h src/mesa/swrast_setup/ss_context.c src/mesa/swrast_setup/ss_triangle.h src/mesa/tnl/t_draw.c src/mesa/tnl/t_vb_light.c src/mesa/tnl/t_vertex_generic.c src/mesa/tnl/t_vertex_sse.c src/mesa/tnl/t_vp_build.h src/mesa/tnl/tnl.h src/mesa/x86/common_x86.c
|
32ef6e75839d6be283e034436e5dd34eabb67958 |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: move fixed function vertex program builder from tnl to core mesa Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
ain/ffvertex_prog.c
ain/ffvertex_prog.h
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
ain/texenvprogram.h
ain/texstate.c
hader/prog_cache.c
hader/prog_cache.h
hader/prog_statevars.c
hader/prog_statevars.h
hader/program.c
ources
nl/t_context.c
nl/t_context.h
nl/t_vp_build.c
nl/t_vp_build.h
|
e019ead5d76fd4e6e7d47d23e0284058391e1e29 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add parenthesis (cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)
ain/dd.h
|
5a46e176715b0eae7b8a715e8aec42f5a27214fc |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: standardize on C99's uint*_t instead of u_int*_t
rivers/dri/common/dri_util.h
rivers/dri/common/mmio.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/server/radeon_egl.c
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_screen.c
rivers/dri/swrast/swrast.c
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_state.c
ain/glheader.h
|
3474e9de924d92a941b4ea33ecc694f5fad2651f |
04-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Remove assyntax.h include from generated matypes.h. matypes.h doesn't really depend on assyntax.h; assyntax.h is only present on x86; and this way we remove the need of grep being available (which is relevant for scons and non-unix platforms). (cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)
86-64/Makefile
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/gen_matypes.c
86/mmx_blend.S
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
6b146214dc16b441376d8dcaba21bcc4256a2402 |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: move rastpos helper to tnl
rivers/common/driverfuncs.c
ain/dd.h
ain/rastpos.c
ources
nl/t_rasterpos.c
nl/tnl.h
|
7ce597508e7400e962c8fdb2d255f9887cb9c710 |
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: improved driver query interface Brought over from gallium-0.2 branch.
rivers/common/driverfuncs.c
rivers/dri/intel/intel_context.c
rivers/x11/xm_dd.c
ain/dd.h
ain/mtypes.h
ain/queryobj.c
ain/queryobj.h
|
8701e5f702a0b15d44395268e2422c196d8f4efd |
19-Sep-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Fix compiler error.
hader/arbprogparse.c
|
13e7e4b634a94efe14f4d79723844d5fdfe12ad4 |
19-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
mesa: add missing FEATURE_attrib_stack around call to _mesa_free_attrib_data()
ain/context.c
|
256592807cea9d543d13c1bb04d3f82852293f5c |
19-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
bug fix to MSAA visuals
rivers/dri/common/utils.c
|
f7d80aa00611917bc8ce637136d982b151b8f44f |
19-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
re-add MSAA support
rivers/dri/common/utils.c
rivers/dri/common/utils.h
|
0576e837f18ad9925d732f883f4922c907d7bafb |
19-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Fix arb parse constants
hader/arbprogparse.c
tate_tracker/st_mesa_to_tgsi.c
|
cfc4b4c98920293cb9a91ba0e9f89626e175c8dc |
19-Sep-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: remove unneeded s_drawpix.h header
wrast/s_drawpix.c
wrast/s_drawpix.h
|
8d41e4536dfde34b55228cab6ddb081ad6252184 |
19-Sep-2008 |
Chris Rankin <rankincj@yahoo.com> |
mesa: fix asst path/include mistakes in prev commits
rivers/dri/swrast/swrast.c
lapi/gl_x86_asm.py
wrast/s_spantemp.h
86/glapi_x86.S
|
8d249ca620f6995cc5824d95c29bda7043bbdf8c |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: if we run out of memory in st_TexImage, flush and try again. If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test.
tate_tracker/st_cb_texture.c
|
58dce864e659da3d1f9761154e622a45e420c229 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834
nl/t_context.c
|
ecadb51bbcb972a79f3ed79e65a7986b9396e757 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
rivers/dri/Makefile.template
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/common/extension_helper.h
rivers/dri/common/mmio.h
rivers/dri/common/spantmp2.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/common/xmlconfig.c
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_dd.c
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_screen.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_vb.h
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810render.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810span.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tex.h
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810texstate.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu_debug.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_fallback.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_util.h
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_iz.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mga/mga_texcombine.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_swizzle.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_swtcl.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_program.h
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_dd.c
rivers/dri/s3v/s3v_render.c
rivers/dri/s3v/s3v_screen.h
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/s3v/s3v_texmem.c
rivers/dri/s3v/s3v_texstate.c
rivers/dri/s3v/s3v_tris.c
rivers/dri/s3v/s3v_vb.c
rivers/dri/s3v/s3v_vb.h
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedd.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_spantemp.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_context.h
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_state.c
rivers/dri/trident/trident_vb.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_texcombine.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_tris.h
|
374e7fd6cc95d3d91629a6e1c951d77e8a29c31c |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: prefix more #includes with "main/"
rivers/allegro/amesa.c
rivers/directfb/idirectfbgl_mesa.c
rivers/dos/dmesa.c
rivers/fbdev/glfbdev.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glslcompiler/glslcompiler.c
rivers/svga/svgamesa.c
rivers/svga/svgapix.h
rivers/x11/fakeglx.c
rivers/x11/glxheader.h
rivers/x11/xfonts.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
06370a91b305e0697cb5ba1659e2423c7dfaf1fc |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove a bunch of -I paths from INCLUDE_DIRS
ources
|
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: prefix a bunch of #include lines with "main/". This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
rivers/common/driverfuncs.c
lapi/glapi.c
ain/dispatch.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_translate.c
ath/m_vector.c
ath/m_vector.h
ath/m_xform.h
pc/common_ppc.c
pc/common_ppc_features.h
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbprogram.c
hader/atifragshader.c
hader/grammar/grammar_mesa.h
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertparse.c
hader/prog_debug.c
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_print.c
hader/prog_statevars.c
hader/prog_statevars.h
hader/program.c
hader/program.h
hader/shader_api.c
hader/shader_api.h
ources
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_atifragshader.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_blit.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_drawpix.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_imaging.c
wrast/s_lines.c
wrast/s_lines.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_points.c
wrast/s_points.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texcombine.c
wrast/s_texcombine.h
wrast/s_texfilter.c
wrast/s_texfilter.h
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
nl/t_draw.c
nl/t_pipeline.h
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_generic.c
nl/t_vertex_sse.c
nl/t_vp_build.c
nl/t_vp_build.h
86/3dnow.c
86/common_x86.c
86/rtasm/x86sse.c
86/sse.c
86/x86.c
|
a8d1521f30766b6a4707aa9966e1f2f9c0b3ac00 |
18-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/mesa/shader/slang/slang_link.c
|
89ab66448e1bcd78caab6678261c2885dcff741c |
18-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c
|
1074e8e4e47bb4af73c7ef730d0fec40e826cc7e |
12-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: bring sources into line with sources.mak, but omit gallium code
ources
|
3bb864682944a391c81e7c52e9bb36ed53b853f5 |
12-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Add support for G41 chipset which is another 4 series.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
b1d8b6c4d986a6526f20e1e89982036f0ba85222 |
18-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
4ee8d1ad679ea8540e91616933a880cdb3836a19 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversion
tate_tracker/st_program.c
|
d7a7b0a10dd355fbeb7a404091a42d4ab558c820 |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
ain/mtypes.h
hader/slang/slang_link.c
|
1a820f52f6fa125786538c1adf2aa350e66b8c1e |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up/fix msaa override in state tracker
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
|
133693ebe8904de785610efd38219bca67b75222 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()
hader/slang/slang_link.c
|
095ca0acd8019e8f2da89f9320b92ce4a96a140e |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: include prog_print.h to silence warning
tate_tracker/st_mesa_to_tgsi.c
|
66682651b622be201b211d50c7311e0b81b2b4a5 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: need to finish, not flush, in st_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
63b915d743e1807696a55f5e52a1fe9df799aeb3 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: new assertion on surface->texture
tate_tracker/st_cb_fbo.c
|
ec8398d62f5e5084e9eeb98ed55324ab98214248 |
17-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
tgsi: Add a ugly fix for CONSTANT problems
tate_tracker/st_mesa_to_tgsi.c
|
f8a5cb8cb2fde732016888a2554872d702803c01 |
17-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
tgsi: More debug printing on sanity check error
tate_tracker/st_mesa_to_tgsi.c
|
5e530d8384b0d9bb867d6407315587c84a443902 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug in previous changes to _slang_resolve_attributes()
hader/slang/slang_link.c
|
0d20c88f626dfcfd8ad0b95f9e05feed19151e35 |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug in previous changes to _slang_resolve_attributes()
hader/slang/slang_link.c
|
904f31a62444d9f7e9b12ddafaa4beeb7fed6dfa |
17-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Destroy bufmgr in screen destroy, not context. Caused server crashes on second context creation since 7e0bbdcf033981282978554c2e68ce48b55aa291. Bug #17600.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
27341a97a17b23fdf57d33f78b475a474db71e4a |
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL vertex attribute binding Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_link.c
hader/slang/slang_link.h
|
e53296c928d80c6627a9551345c160533aa1a19e |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL vertex attribute binding Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_link.c
hader/slang/slang_link.h
|
37607aeaf8b0fd35213635ba1c3743b6e059d48f |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix glTexImage(width=height=depth=0) case Free old teximage/level data, then stop.
tate_tracker/st_cb_texture.c
|
39cb5b9f73318a069e2d8553243ae17955a85695 |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
bo/vbo_save_api.c
|
d43951192baa7b76d3e035d689f73c1d2955cddb |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
bo/vbo_save_api.c
|
2010cd7810da50484fea03259e777ffac0593007 |
16-Sep-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: hash-warning not recognised on Windows.
tate_tracker/st_atom_framebuffer.c
|
ea9568dfbe7415db1a529ca4ecc1b9c41cae10b1 |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows
hader/shader_api.c
|
753635f733c5548ac8e662e792f65d41b454052a |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move _vbo_DestroyContext() call Call it before freeing core Mesa state to avoid references to freed buffer objects.
tate_tracker/st_context.c
|
4992806ae54d7d1db86eed9c6524aa05f4a2fbd6 |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: protect against double-free in _vbo_DestroyContext()
bo/vbo_context.c
|
358aab12c60d5e627d2ce54c1407659cbc207e8c |
16-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: State tracker now checks for faulty shaders on debug
tate_tracker/st_mesa_to_tgsi.c
|
9d48a7832b78658d2422ae5a185276c41750010d |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix MSAA enable state in update_multisample()
ain/state.c
|
b1f5fbe1cb937bc639cc335acfcfb8c09dfeb3ec |
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix MSAA enable state in update_multisample()
ain/state.c
|
987c4b35b8f552a88e1b6459adaabbf544d6bbf6 |
15-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some assertions that are invalid during context tear-down
ain/bufferobj.c
|
cd23c5c5998f3c48153a22bed53986b4293f797a |
15-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: get another class of degenerate dlists working Primitive begin in one dlist, end in another.
ain/dlist.c
bo/vbo_save_api.c
|
d36f4ef16b338f42342cac5a7f2ec55e17fc0893 |
15-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some assertions that are invalid during context tear-down
ain/bufferobj.c
|
bd953e872f22690bd232a758383883100d9347d0 |
15-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: get another class of degenerate dlists working Primitive begin in one dlist, end in another.
ain/dlist.c
bo/vbo_save_api.c
|
68a19e353e1f68d6a5725c6bcb5d89949a4efe3f |
13-Sep-2008 |
Jakub Bogusz <gboosh@pld-linux.org> |
tdfx: fix crash and lack of visuals bug
rivers/dri/tdfx/tdfx_screen.c
|
87ccb9504dfda502746c3a00eb607f1837dd265d |
13-Sep-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
i915: fix himask constant init for 64-bit build
rivers/dri/i915/i915_debug.c
|
11a889db8f182fb1d11c998e5156deac8ca9f91d |
13-Sep-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
mesa: return after _mesa_problem() calls
ain/texformat_tmp.h
wrast/s_texfilter.c
|
d2e0504d4e1d00bfc59d6661f9f0d33db1768f42 |
13-Sep-2008 |
Guillaume Melquiond <guillaume.melquiond@gmail.com> |
mesa: #include <stdio.h>
lapi/glthread.c
|
8db761409dadc2e899d4e7107eff3aa07b07aa11 |
13-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add a width field to regions, and use it for making miptrees in TFP. Otherwise, we would use the pitch as width of the texture, and compiz would render the pitch padding on the right hand side.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
|
34bba445a12f7b81654a416fd1630c8890cfc178 |
12-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't segfault on TFP from a bad drawable.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex_image.c
|
201d3419a6432a0f35dff48e606649092afb7ff7 |
11-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead allow_batchbuffer param.
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
c9c2b1b0163aa8803dc7ffb7fe1ef8f948f1e030 |
12-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump gallium version string to 0.2
tate_tracker/st_cb_strings.c
|
d37e6f9a7fcdf741bf1afa1d2a555710230500a3 |
12-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.2' into nouveau-gallium-0.2
|
3df06470275573f7d1d6eb6ce690f2e7ffa4ced7 |
12-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
i915simple: A step closer to compiling
rivers/dri/common/dri_util.c
|
63c49bee3a2ce0ca62555da052e57a2d206da07d |
12-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.2' into nouveau-gallium-0.2
|
4b458555ab2dacdc3e91ffebf0d1c13ed52e2e3f |
12-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: regenerate shader files
hader/slang/library/slang_vertex_builtin_gc.h
|
cbe05a4734a7df7dd9d8e52f79d0ed5e6c28ae60 |
12-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'nouveau/gallium-0.1' into nouveau-gallium-0.2 Conflicts: configs/linux-dri
|
af74abab6b9a1e32a1cc5cac7e547b953dcee0ab |
12-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: get fixed-function program generation working again
ain/state.c
ain/texenvprogram.c
|
b2e083eba2668517e40bc94e3a19cd15824ce93c |
12-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Add support for G41 chipset which is another 4 series.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
b66ee9e32fa044b39588df67c00858bbab64f13d |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
st: adapt to new framebuffer struct, with one FIXME outstanding
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_blit.c
|
7ee599d30b9538b41bc082e71f9e800acbf09759 |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: update PointParameter usage
ain/attrib.c
|
cc7dd4fc1b3c765ca1ecd943d189bb156dae529d |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: Makefile progs/demos/Makefile progs/glsl/Makefile progs/redbook/Makefile progs/samples/Makefile progs/tests/Makefile progs/trivial/Makefile progs/xdemos/Makefile src/gallium/Makefile src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/vbo/vbo_exec_draw.c
|
685248bea1fef5fd6335982570e34d0f6672030d |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: use sources.mak -- need to figure out how to support non-gallium builds also
akefile
akefile.mgw
|
5835d7e5735a8df05e9762f5922e412e17d5c525 |
11-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
tree builds
lapi/glapi.c
lapi/glthread.c
lapi/glthread.h
nl/t_vp_build.c
|
47ad296a183929c2007c35c60d722b4ac680417d |
11-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa into gallium-0.2 Conflicts: src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/main/texstore.c src/mesa/tnl/t_vp_build.c src/mesa/vbo/vbo_exec_draw.c
|
b6458225039ef4cf5c91080e7547ed73fb264c46 |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fix srcRowStride vs srcRowBytes conflict
ain/mipmap.c
|
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 |
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-0.2 A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
|
4d42c5bebf8740ebfc15571d24b6c92f79e09263 |
11-Sep-2008 |
Shane Blackett <shane@blackett.co.nz> |
added 24bpp support
rivers/windows/gdi/wmesa.c
|
bc3b2a5d7a63c29602c35a4868942c20eb838338 |
10-Sep-2008 |
Shane Blackett <shane@blackett.co.nz> |
Fixes for Mingw
akefile.mgw
ain/imports.c
|
35fd72756a05463568d94862f4fcd234903e1204 |
08-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: track move of bo_exec from drivers to bufmgr.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_image.c
|
3628185f566e178a12b493fb89abf52b4b281f99 |
06-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
7e0bbdcf033981282978554c2e68ce48b55aa291 |
04-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Move the bufmgr back to the screen. Mesa requires that we be able to share objects between contexts, which means that the objects need to be created by the same bufmgr, and the bufmgr internally requires pthread protection for thread safety. Rely on the bufmgr having appropriate locking.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
7158203b081ad34c03382f07e0df748eae235e9b |
10-Sep-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 Conflicts: configs/default
|
79200c908790238374c6059b9f781c9873584d95 |
05-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: document that clear color is intentionally always PIPE_FORMAT_A8R8G8B8_UNORM
tate_tracker/st_cb_clear.c
|
0f6e76d7f1f46b76ae19b089596ba6770c31dc5a |
05-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
ain/attrib.c
|
11d694b1bb0cb384d802d7e0e252cf5119febb98 |
05-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()
ain/attrib.c
|
9246c2fad437f3922abb20ed86156963a488be3d |
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: replace MALLOC w/ CALLOC to fix valgrind warning
ain/arrayobj.c
|
ce3cf63251b9d0de1de066f71d0c642360215f13 |
05-Sep-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: _mesa_program_state_string() returns char *, not const char *.
hader/arbprogparse.c
hader/prog_parameter.c
hader/prog_statevars.c
hader/prog_statevars.h
|
06537296f18750a9442e3007fe7d8b2b966dd2cc |
05-Sep-2008 |
Dave Airlie <airlied@redhat.com> |
intel: only enable occlusion query if the drm has defines. This interface has to be re-written to not be dumb and to work for multiple apps.
rivers/dri/intel/intel_context.c
|
a69fc5129bdf2f245c5bf2e0fe7b542caf7809a9 |
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved gl_buffer_object reference counting Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/bufferobj.h
ain/varray.c
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
|
9a64440154319738445e203339156e54232908ee |
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix minor mem leak
hader/prog_print.c
|
37c74af01ce52b603f565a6c8a9094500d5cb87a |
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved gl_buffer_object reference counting Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
ain/arrayobj.c
ain/attrib.c
ain/bufferobj.c
ain/bufferobj.h
ain/varray.c
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_api.c
bo/vbo_save_draw.c
|
69897223a8e0b9e5cd187a3c0e2249ba73b652c0 |
04-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove the copyHeight hack for compresssed formats
tate_tracker/st_texture.c
|
978f07bebdd5a368b8f900ed9cf77d3464a77ec0 |
04-Sep-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
ain/ffvertex_prog.c
|
55e89eecff6a8dc0433eca16e2ea699ec9636d1b |
04-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24 Cherry-picked from master
ain/texstore.c
|
0adfd1021035e90995a25ec5f20b736e55075d92 |
04-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: Fix depth_stencil texture.
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_tex_format.c
|
218df7f9c53db90abf3a6590f77c8e9e49aeedf5 |
04-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
ain/texstore.c
|
dc44bb8e9208680379b31df01b4499c3a3bde5cb |
04-Sep-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Support for MESA_FORMAT_S8_Z24 texture cherry-picked from gallium-0.1
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
2c45b5575ad4396fa939ada1ccd977cad1b09f10 |
04-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Remove unused var.
tate_tracker/st_texture.c
|
a04aeea5c016530d7371e032438a0a8fa2c0d7f6 |
03-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix prototype warning.
rivers/dri/intel/intel_context.h
|
e32721c46a713f55a8fd70e61f9cb066eeb69211 |
03-Sep-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix refcounting on depth buffer initialization in DRI2. (Reverts a change to work around the problem on 965).
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_context.c
|
3bb2a24921af0ec419afc928ee5b279982aa01ea |
03-Sep-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: Fix a crash if dri2 is disabled.
rivers/dri/intel/intel_context.c
|
f637a96e85a51a66f2c53b91118a6815bb61d6e6 |
03-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
tate_tracker/st_gen_mipmap.c
|
a28aa1854378f735a6ac5c4b25fd7645cdbc1358 |
03-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
ain/framebuffer.c
|
0fd1a8c4a1201f3508cb6a98dc1c66ab9ebd919f |
03-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix BUFFER_DEPTH/BUFFER_ACCUM mix-up
ain/framebuffer.c
|
418b6035133e4e10bdc46fe39af192afd087dd69 |
02-Sep-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix no error generated when calling glLight{if}[v] inside begin/end (bug 17408)
ain/light.c
|
39e8860e45fae2968917bdb7fe572c8793bbce30 |
01-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use CALLOC instead of MALLOC to fix valgrind warning
ain/arrayobj.c
|
c074b86cbc664e973486caaca0817b9a1654be3d |
01-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added st_bind/release_teximage() functions
tate_tracker/st_cb_fbo.h
tate_tracker/st_public.h
tate_tracker/st_texture.c
|
9d9143d88985e69835b374ff330bab929275d68e |
01-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move st_texture_image() cast wrapper to header file
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
|
55270310c5040a0821fef3cfb3b620dc6c0320a9 |
01-Sep-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix build by removing #include of removed dri_sarea.h. Thanks to JohnFlux on IRC for pointing out the problem.
rivers/dri/common/dri_util.h
|
f56b569e9af356c11869ee49a4669bb01b75397e |
13-Aug-2008 |
Kristian Høgsberg <krh@redhat.com> |
DRI2: Drop sarea, implement swap buffers in the X server.
rivers/dri/Makefile
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i965/brw_vtbl.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
|
7a2ab6d05573508389b38f8f1fa261ba56062865 |
29-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: force thread switch after IF/ELSE/ENDIF. partial fix for #16882. A thread switch is implicitly invoked after the issuance of an IF/ELSE/ENDIF instruction if necessary. Unfortunately it seems sometimes a forced thread switch is needed.
rivers/dri/i965/brw_eu_emit.c
|
6073b49c7915147c28e9887039a51b8e4e2e62c5 |
29-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: mask control for BREAK/CONT/DO/WHILE. partial fix fox #16882
rivers/dri/i965/brw_eu_emit.c
|
fd81433a4efbe658db742b36c0c30c17c6effea6 |
29-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Push/pop instruction state. partial fix for #16882
rivers/dri/i965/brw_wm_glsl.c
|
ee87d7d9ecc5eca261ce58115ae1ed2c273ceda6 |
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
ain/ffvertex_prog.c
|
6138ee9de0330b9a2bf300bc0d52b471191dd1ed |
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump MAX_INSN to 350
nl/t_vp_build.c
|
cacf5f21efcbf0ddde90bf8b7fc2b9ba1873302e |
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: dynamically grow the fixed function vertex program as needed Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs.
ain/ffvertex_prog.c
|
5048457372898a30478e33e66658277f5cead759 |
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: change the conditional which tests for combined Z+stencil buffers The caller might be requesting 16-bit Z + 8-bit stencil be placed in a PIPE_FORMAT_S8Z24 or PIPE_FORMAT_Z24S8 buffer.
tate_tracker/st_framebuffer.c
|
4e4cb0274050f300da9801256b66d3be528d549f |
28-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump MAX_INSN to 300
ain/ffvertex_prog.c
|
ee402e5ce2d9203558bf066642becb952399c3e9 |
27-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: better support for user-space interleaved arrays Basically, set up one user-space wrapper for all arrays instead of the individual arrays.
tate_tracker/st_draw.c
|
ce40bc2ae088ce6defac6b2bf424dcfd0e141a75 |
27-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO.
tate_tracker/st_draw.c
|
8eb85f6f2a87e8a176569ad2270973024272fb21 |
27-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove old assertions
tate_tracker/st_atom_shader.c
|
bafefccff8e9a56b797b988f9a5d7d72e2d51b9a |
27-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: don't check for GLSL 1.2 to advertise GL 2.1 The GLSL 1.2 features are minor...
ain/extensions.c
ain/getstring.c
|
026e7731e549e0777c010348460fd48b3d75a843 |
25-Aug-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
vbo: seed initial max_element value with a more likely candidate
bo/vbo_exec_array.c
|
80af50b35b5a4e8890e15b28940576f8a1ac1476 |
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
2d5087bf74f2d0e58037847058a123fe9d142038 |
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: grab latest fixes from gallium-0.1 branch Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction.
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/library/slang_common_builtin.gc
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
d6df735f1c22c64c17103dd92fffd7b658a46cda |
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set version string to 7.3-devel
ain/version.h
|
4f25420bdd834e81a3e22733304efc5261c2998a |
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h Also, rename p_tile.[ch] to u_tile.[ch]
tate_tracker/acc2.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_program.c
tate_tracker/st_texture.c
|
f75843a517bd188639e6866db2a7b04de3524e16 |
24-Aug-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "Revert "Merge branch 'drm-gem'"" This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/spantmp2.h
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_bufmgr_ttm.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_decode.c
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a |
24-Aug-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "Merge branch 'drm-gem'" This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/spantmp2.h
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_bufmgr_ttm.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_decode.c
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
fe1e39afbb147deab60ecc932c24f921b46f1364 |
23-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header
tate_tracker/st_texture.c
|
07bebb839d8f5e35209c446133743892084a672c |
22-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
47d4b958cfaac080a97bf0ba21d78b3ce37b62a9 |
22-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: implement exp() functions in terms of EXP asm instruction, not pow
hader/slang/library/slang_common_builtin.gc
|
a35002c1673a1a37ec79b237dda7e8f6b9c9962a |
22-Aug-2008 |
Krzysztof Czurylo <krzysztof.czurylo@intel.com> |
965: Fix incorrect backface culling Fix incorrect backface culling for OGL tunnel in wireframe and point mode.
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
|
6f4fd3a4322a3d7c63207999e08b07ba46b0fc66 |
22-Aug-2008 |
Krzysztof Czurylo <krzysztof.czurylo@intel.com> |
Call _ae_update_state when array enable state changes Basically, the application enables client vertex and color arrays, renders something, then disables color array, and renders something else (using vertex array only). Even though the color array is disabled (and the pointer is no longer valid), the driver still tries to read color data from this array (which results in an exception). This is because enabling/disabling array does not trigger _ae_update_state() and the list of enabled arrays is not updated. _ae_update_state() it's called on the first state validation only (as all the "dirty" flags are set at the beginning). Any further change to client arrays' state has no effect.
ain/enable.c
|
be30fddc7c6d0a75cf0777cf24591c3a6439e2c6 |
30-Jul-2008 |
Krzysztof Czurylo <krzysztof.czurylo@intel.com> |
965: Fix color clamping issues Patch is correctly applied this time.
rivers/dri/i965/brw_vs_emit.c
|
1a244cd9e29e0163a3d68cc30cc6f4a81a9ea96d |
30-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Formatting changes to ease application of patches
rivers/dri/i965/brw_vs_emit.c
|
687cd467b3461691a6fd03d3bc38c01ed79c06fd |
21-Aug-2008 |
Eric Anholt <eric@anholt.net> |
i965: use dri_bo_subdata in vertex upload to get pwrite used. Otherwise, we would ping-pong objects to GTT and back as we did pwrite on indices (flushed and mapped to GTT) and mapped for vertices (moved back to CPU domain). Fixes bug #17180.
rivers/dri/i965/brw_draw_upload.c
|
021ce883e6146206306ebf48ccd2cd4214619ecb |
21-Aug-2008 |
Eric Anholt <eric@anholt.net> |
Flush vertices when updating texObj->GenerateMipmap state. Caught by texturing/gen-teximage test in piglit.
ain/texstate.c
|
3a94b25538c647df965a93cd7734b841257ef203 |
21-Aug-2008 |
Peter Hutterer <peter@cs.unisa.edu.au> |
Report damage before modifying the area, not after. If we copy the area before reporting the damage in this area, the server may restore buffered data over the new data, leading to artefacts on the screen. Reproducable with two cursors (second of which is SW rendered) and moving windows around in compiz. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16384 .
rivers/dri/common/dri_util.c
|
495c02262eaaa68f2df23c2265362da51851c57a |
21-Aug-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix SGIS_generate_mipmap after a miptree had been validated. Previously, the updated images would be ignored because the miptree in the image matched the miptree in the object, even though Mesa core had just attached updated contents in ->Data. Additionally, Mesa core could have tried to free inside our miptree if it had already been validated. Fixes bug #17077.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_validate.c
|
145f5f60f19574e06c536c102bec0cfd6320606d |
19-Aug-2008 |
Mark Anderson <linuxman@prodigy.net> |
mesa: fix float blend bug
wrast/s_blend.c
|
ad9c862ffbb42d733595052d5769405ef7a98a75 |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix a swizzle bug in storage_to_src_reg() Need to remove the 'nil' components before swizzling a swizzle
hader/slang/slang_emit.c
|
e55093bf2f4ff32a691f63409b9fea321cf8eb0f |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: add check for exceeding max number of constants/uniforms
hader/slang/slang_emit.c
|
9cc13eba3e58d5cbb905c51828b6b2743dc61290 |
25-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
i965: fixup format for TFP zero copy (cherry picked from commit 9bc9e0ecb0fb2069b2c123e665eb2118e358098f which was lost in a merge)
rivers/dri/i965/brw_wm_surface_state.c
|
ce61660ab90d2f80370e423e4cd40a51ff4c4902 |
25-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
i965: make tex offset override work.. should fix fd.o 14441 (cherry-picked from commit d4244683a61f66cfb78408a37cf2587587847f96 which was lost in a merge)
rivers/dri/i965/brw_wm_surface_state.c
|
29bee15b1e8bea9162d9b9343c98b22b766694b1 |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_vertex_builtin_gc.h
|
ef33697c7e11d93d8b94eadf286f4096734b613f |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: better implementation of ftransform()
hader/slang/library/slang_vertex_builtin.gc
|
b17b110716936c32d20910cb9589038062b4f527 |
20-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Enable GL_ARB_fragment_program_shadow and fix key->shadowtex_mask. (bug #16852, #16853)
rivers/dri/i965/brw_wm.c
rivers/dri/intel/intel_context.c
|
815cdcfbc0740c66b901361620c88d99541bdad2 |
20-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allow for extra per-context init
ain/context.c
ain/context.h
ain/points.c
|
84a496746e1b01f4b11c4a44dd698b904ec83572 |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement a fast-path for glReadPixels for common cases
tate_tracker/st_cb_readpixels.c
|
e90c0c976d89d108a8220b538e02be173cf308fe |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
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.
Conscript
ources.mak
tate_tracker/st_cb_get.c
tate_tracker/st_cb_get.h
tate_tracker/st_context.c
|
ff01a12b23cad44e4c93e4a2c8cdaa5d18166252 |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: more writemask error checking
hader/slang/slang_codegen.c
|
bec1519a3202f94c5642dd94ce89cc2ff767aa3b |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: added some post incr/decr error checks
hader/slang/slang_codegen.c
|
c4cf2513e60a90a5b3a6238684a6b51e1f501864 |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: limit function matching through casting
hader/slang/slang_codegen.c
|
3e1706f720b211f27a4aa88af2141db0c793adbb |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: add usage tracking for uniform vars Unused uniforms are no longer included in the active uniforms list.
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_emit.c
hader/slang/slang_link.c
|
a667d67cd6c8b9aa622cd3fce065aca92e1e8a76 |
19-Aug-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Final fog option fix. Is there some kind of git hook we could use to keep me from committing after like 10PM or so?
rivers/dri/r300/r300_state.c
|
df9bd01ea0c8a4d5b5ffecad4482ca6b4f2db33d |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: put var emit/ref code into separate functions
hader/slang/slang_emit.c
|
7855ea2af23b20a2d6c3c0949e3f4695daca87cf |
19-Aug-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Don't squish GL context when using FogOption
rivers/dri/r300/r300_state.c
|
7f2d349b2d27cb1f422677fdac1a9d92f61d8fce |
19-Aug-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Call pipe->destroy on context destruction for all platforms.
tate_tracker/st_context.c
|
12e84a8b84c331d0afef63e6119fe356c84bf383 |
19-Aug-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Enable fog options. This uses fog HW instead of fragment programs. If it breaks you, let me know!
rivers/dri/r300/r300_state.c
|
5d0a079fd00e5c9f1e9c96dd7bd17ecee57c52ce |
18-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: Do not translate program constants to immediates when indirect addressing used.
tate_tracker/st_mesa_to_tgsi.c
|
3eeaa943e264d9c61abfe5f4cf6351fdba0be4fd |
18-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: Translate address register declaration.
tate_tracker/st_mesa_to_tgsi.c
|
81dbc31f8b21aecdb91802dd4481057bd670f227 |
18-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: Fix immediate construction.
tate_tracker/st_mesa_to_tgsi.c
|
c71161f1b1996d72fdc5398539c8de7cb0c34b6d |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use PIPE_TEXTURE_USAGE_RENDER_TARGET for stencil renderbuffers
tate_tracker/st_format.c
|
e3f3e22cf7e9af4c5416d37329b7b8ee50f0cfcb |
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
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.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
145a45e9d6807add8229f1fc9c63fbb6951b1b88 |
18-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix do_flip bug on glCopyTexImage / surface_copy() path
tate_tracker/st_cb_texture.c
|
e438827dec5a3aafa04e13caf5988f359c004249 |
18-Aug-2008 |
Henri Verbeet <hverbeet@gmail.com> |
fix byte vs. pixel offset bug for 3D textures (see bug 17170)
rivers/dri/intel/intel_mipmap_tree.c
|
087ee474ed1dcf9b09c13227d442e6580f828f57 |
18-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
ain/texobj.c
|
6a00625fbb7e42a71daa87f982eee8e9077a0679 |
18-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
ain/texobj.c
|
c5d25c85093f089cc58c520785844fc021a09612 |
17-Aug-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add DDX and DDY instructions. Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
rivers/dri/r300/radeon_program_pair.c
|
7970b2a908822ad009d29312e69be9eb2b7a5dd2 |
16-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
prep for 7.1 rc4
ain/version.h
|
db1103ebe8a4c683805694528e0a9c7a97c5769d |
16-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: turn off 'x' bit misset on a few .h and .syn files
hader/slang/library/slang_pp_directives.syn
hader/slang/library/slang_pp_expression.syn
hader/slang/library/slang_version.syn
hader/slang/library/slang_version_syn.h
|
1f4997c2aaf424c8a12cc6fdb1dd994f66074a1d |
16-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: import latest GLSL code from gallium-0.1 branch
hader/programopt.c
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_pp_version.syn
hader/slang/library/slang_pp_version_syn.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_library_noise.c
hader/slang/slang_link.c
hader/slang/slang_log.c
hader/slang/slang_mem.c
hader/slang/slang_mem.h
hader/slang/slang_preprocess.c
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
hader/slang/slang_utility.c
hader/slang/slang_vartable.c
|
2e40e44bf43d968e64d313cbb3b325a9772d5389 |
15-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix linking of varying vars which are arrays
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
52a6b7e6da8cabf7104c17becb81dea26c44db18 |
15-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in st_draw_vbo() use ctx->Current.Attrib[] values when arrays are missing/null fixes potential segfaults when vertex arrays are missing
tate_tracker/st_draw.c
|
2f34c851c01321b177bc3074755e97af270ec994 |
14-Aug-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Issue PIPE_FLUSH_FRAME in glSwapBuffers/glFlush/glFinish.
tate_tracker/st_cb_flush.c
tate_tracker/st_framebuffer.c
|
a7b818d53a95b549bbff942a9cb91272e0799dd5 |
14-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: init default texture image to gray
tate_tracker/st_cb_texture.c
|
8f6d9e12be0be086ca2aab0b56dff8d2181addd9 |
14-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
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.
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
6c46b49d12b33b04546bee137f75ca7649e9a4ef |
14-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added queries to determin GL_EXT_packed_depth_stencil support
tate_tracker/st_extensions.c
|
2e79b491fc45d6f608c042e007fa477d9ab44586 |
14-Aug-2008 |
Dave Airlie <airlied@redhat.com> |
intel: remove unneeded mem type and args
rivers/dri/intel/intel_regions.c
|
c67f353c0f0d3872c330e5a8cdb13334a5e2e239 |
14-Aug-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Don't use alignments < 4.
tate_tracker/st_atom_constbuf.c
|
57acb0fad9e6299eb2e1e2c06d043b2a418e3732 |
14-Aug-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Fix 3D texture support.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_texstate.c
|
f3048ad90ed2e4583f0f7aaf35a0f4aa581942dd |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
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.
tate_tracker/st_cb_texture.c
|
505606349e5154c67d1a857d7125048669a594c3 |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix a swrast state validation bug Fixes progs/glsl/points.c
wrast/s_context.c
|
56f5c0c001c476b813c94d071ac880fbe8d9768b |
13-Aug-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
|
e7e992b12ab3717eadaf055fe2fab88c3be8a092 |
13-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: KIL -> KIL, KIL_NV -> KILP.
tate_tracker/st_mesa_to_tgsi.c
|
4424c668756a6639d3c042c297b63ea47b629735 |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: more context clean-up
tate_tracker/st_context.c
|
a6880ace4ca4a3cfde1a7a7578a8134e8f32d31d |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix error detection of writing to read-only variables
hader/slang/slang_codegen.c
|
c01fbc7866d7cd5cf4263dffec6d9591470b4c23 |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: texture crop rect state
ain/glheader.h
ain/mtypes.h
ain/texparam.c
|
5af60556edc97bc1d4fd57933e99e9661dbc5fa0 |
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix comment
hader/slang/slang_emit.c
|
98e7c1cf3852fbc2924b55b5a684f13a710eec04 |
12-Aug-2008 |
Jeremy Huddleston <jeremyhu@freedesktop.org> |
Fixed 'make install' for darwin
akefile
|
8f243d659397bf625379daad220be199d933b0ec |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: enable bzero() in slang_typeinfo_construct()
hader/slang/slang_typeinfo.c
|
ee7296d3199c0b0c0b6695f553a4d0919760fd41 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove reads of output regs from fragment shaders too
hader/slang/slang_compile.c
|
af3d9dba562813ffed71691bffd7faf6665c4487 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: set point state
ain/points.c
hader/program.c
|
49c2ee9d99e25c8977c67c490af2416f85d3092b |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allow _mesa_remove_output_reads() to work on fragment programs
hader/programopt.c
|
0fe0dc32e44b62e51b20645288360c7ce97ea436 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: better error messages
hader/slang/slang_codegen.c
|
ef82311b3db49fa62c916a100d05b1b05d21f466 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated files
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
|
3e0bbd404a3ec87c11653f63494d7e0aeee86aa1 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional constructors
hader/slang/library/slang_core.gc
|
42b262d01a2b0f676ead098c09e33e387b8a5e3a |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: better mod() functions
hader/slang/library/slang_common_builtin.gc
|
3eea56dc93eeeb7f0155e2113ffea6a3fae48dd9 |
07-Aug-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Rename sources to sources.mak.
akefile
ources
ources.mak
|
40436b31a68735bb7ffb97b411492cada22a54a2 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
1c30e56cd228726225af5ff7916da8dede43e34f |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: change refract() functions to allow inlining
hader/slang/library/slang_common_builtin.gc
|
2023f7f91d8c40bca54db972f836c969c82ffbca |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: use SGE instead of SGT in step() functions
hader/slang/library/slang_common_builtin.gc
|
90ffd2736c2edc967a5a72d7afeebccf8b791692 |
12-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix bugs in refract() functions, plus minor optimization
hader/slang/library/slang_common_builtin.gc
|
6fccd8d0649436ad1a4b8b812ead563573cb9cc3 |
11-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079
hader/shader_api.c
|
a0a614480931b281d13e7f2be2c50d20681d9de4 |
11-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added comment
tate_tracker/st_program.c
|
e552140a9a55fcadfe7f28c74a7e0aa1c68cdc93 |
11-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added _NEW_PROGRAM to dependencies
tate_tracker/st_atom_rasterizer.c
|
8c51e0002a3b1fd047b34d31629a15b560618cd9 |
11-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079
hader/shader_api.c
|
3a428aca93fe2bab84ddfaf794a396133e802465 |
11-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added comment about gl_PointCoord
wrast/s_fragprog.c
|
ac0d19601caf1f3f86cb30cbafb9c000479e2b37 |
11-Aug-2008 |
Jeremy Huddleston <jeremyhu@freedesktop.org> |
Apple: Cleaned up some linking and dylib ids issues
rivers/osmesa/Makefile
rivers/x11/Makefile
|
f56eda6a85912dee9eef9099f6023c6bab05a41a |
11-Aug-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
1724334d7c82abe55b6506dfe369df4facae6f06 |
09-Aug-2008 |
Dave Miller <davem@davemloft.net> |
dri: fix crash in driGetConfigAttribIndex Accessing a GLboolean via an int pointer on big-endian == bad.
rivers/dri/common/utils.c
|
53675e5c05c0598b7ea206d5c27dbcae786a2c03 |
09-Aug-2008 |
Eric Anholt <eric@anholt.net> |
Merge branch 'drm-gem' Conflicts: src/mesa/drivers/dri/intel/intel_span.c src/mesa/main/fbobject.c This converts the i915 driver to use the GEM interfaces for object management.
|
d2796939f18815935c8fe1effb01fa9765d6c7d8 |
08-Aug-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Update to new check_aperture API for classic mode. To do this, I had to clean up some of 965 state upload stuff. We may end up over-emitting state in the aperture overflow case, but that should be rare, and I'd rather have the simplification of state management.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.h
|
74b14fe6ddbece8bc662aac4d3b2b18d8d853486 |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some feature tests
ain/context.c
ain/fbobject.c
|
966e199e409a1b52eef88e48997442250997f45e |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some pixel transfer state tests for depth formats
ain/texstore.c
|
527e1cf172cb0a4d1f2891a351498669be1620cd |
08-Aug-2008 |
Eric Anholt <eric@anholt.net> |
965: cleanups to state emission from aperture checking and state ordering.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_urb.c
|
27858226dc4eb3e64d980ba8530c2fd2e39218cf |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix additional glCopyTex[Sub]Image issues Use the TexFormat->StoreImage() routine for fallbacks. This handles the case of copying RGBA framebuffer data into an RGBA texture when the base format is GL_RGB (or GL_LUMINANCE, etc). In that case, we need to set the texture's alpha=1 and override the framebuffer's alpha.
tate_tracker/st_cb_texture.c
|
48cf46a29d8bccb0d83ae7e53e4ded44492cdb5f |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix out-of-bounds memory reads in swizzle_copy()
ain/texstore.c
|
501338d70e96e0388fd5198625d856c4ec07745f |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix out-of-bounds memory reads in swizzle_copy()
ain/texstore.c
|
4e070f10c0a2af8a563eadf7fdb09b11d9067a99 |
08-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up, remove dead code, update comments
tate_tracker/st_cb_texture.c
|
275b09f2569c8bea5dcca1643c93aa6a43d7e2a2 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path.
tate_tracker/st_cb_texture.c
|
2c2d6c90fe910e9ba9f84650ce0e80c34f165eac |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix glBindTexture comment/error string
ain/texobj.c
|
14ac52e457ea71f2cfc761948f397cedab4d255b |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated files
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin_gc.h
|
a78f295f7ca0a93fdaeda559668fda013c2a03b0 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: finish up support for precision qualifiers
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.h
|
1ffd6908d4153d647f8a3bf1ba9fe9d33c206185 |
07-Aug-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: pf_sprint_name->pf_name.
tate_tracker/st_draw.c
tate_tracker/st_format.c
|
9a20cecc5cf41c5eda6cedd5f30416bc1b49ac91 |
07-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Extend GLSL syntax to accept type precision in full type specifiers.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
|
c5c7130385b1b0d35b52a6df68d9558a92fabd86 |
07-Aug-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
hader/shader_api.c
hader/slang/slang_link.c
|
ee8dfdf4c9f0bbf4f99a6b78dbddc4871fd80a1c |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix glBindTexture error string (bug 17005)
ain/texobj.c
|
4b1c508f49a070f113929393423d6704f1ff18b6 |
07-Aug-2008 |
Ben Skeggs <skeggsb@localhost.localdomain> |
Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
|
be66a8f43172327e3cdde27281e40377cacbb121 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT Check for these caps in state tracker and enable corresponding GL extensions if supported.
tate_tracker/st_extensions.c
|
695fc325032f642dea6a10267a57c3d9758bea62 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_shader_syn.h
|
35b9aedf7fc29ccc1d8c969b11eeb5eca57c5af2 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: report 'Syntax Error' instead of 'Invalid external declaration'
hader/slang/library/slang_shader.syn
|
95d3642122f48439e356b781f62649553f97c7ee |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional error checking
hader/slang/slang_link.c
|
8a40fe06d72aa8b0c3a03b92b60a0f5b4ea61987 |
07-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix a number of glUniform issues Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1.
hader/shader_api.c
|
7a6eba54d064cadf15f93df2c1748cf5e474ef03 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix glGetUniform for matrix queries
hader/shader_api.c
|
18cd9c229a1fc8da8b7669b8d1d100f6bbeca183 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix error check in get_uniformfv()
hader/shader_api.c
|
5fc6f6a33faed0dbfe67a0689d8f261633e21529 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: check for rect tex samplers
hader/slang/slang_codegen.c
|
ac553c6ce4718aa1e90f49c910c14e13d0d5de39 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: disallow initializers for varying vars
hader/slang/slang_codegen.c
|
acb81d0268bf96efd35196c619ca269ffbe6c0d3 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: more type checking for attribute/varying/uniform vars/locals
hader/slang/slang_codegen.c
|
64a795d8e60c42e7ec8c370507864faf3f85d99e |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: check that attribute vars are of float/vec/mat type
hader/slang/slang_codegen.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
b9be69b85e8955fa9f773a65e7c3de5c4bb6e507 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: more assignment type checking Also that const declarations have initializers and that uniforms/samplers can't have initializers.
hader/slang/slang_codegen.c
|
93ed8f9fc9edddff62bbe4720c0b9029a1f8b6f5 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix SLANG_OPER_VARIABLE_DECL type checking case
hader/slang/slang_typeinfo.c
|
8d1627c25a24f7bc14946bfe268d2d1c5dcde470 |
06-Aug-2008 |
Haihao Xiang <haihao.xiang@intel.com> |
mesa: glsl: count number of temp regs used
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
523ee3ddbe29f5c2915d42a700115f570c277e15 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable debug code accidentally enabled by prev commit
hader/slang/slang_link.c
|
5f460939386c5bcb04b9a778c8ddc41b366c30ee |
06-Aug-2008 |
Haihao Xiang <haihao.xiang@intel.com> |
mesa: glsl: count number of temp regs used
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
fb71a484133c53d37e9510b96d14ab04724ead79 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix comment about texture targets (bug 17005)
ain/texobj.c
|
d23b54a423b537fc08543299f9df086e831686fc |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some FBO/texture queries (bug 15296)
ain/fbobject.c
|
f1e4ca776f1c1f86beb8872d32009d902cf64e88 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some FBO/texture queries (bug 15296)
ain/fbobject.c
|
c20a1736566d301f38cc1271284b1fde9adb2741 |
06-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: update TexSrcUnit for OPCODE_TXB
rivers/dri/i965/brw_wm_fp.c
|
efd730c5d3acaec035dfdbb0b7ed042e7c381a03 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: code consolidation in _slang_gen_declaration()
hader/slang/slang_codegen.c
|
a4fad98dfb95a83de64e1685542a7e65c478cce7 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: disallow user-defined functions/vars prefixed with gl_
hader/slang/slang_compile.c
|
6b888a10d37f43feae272d0927d087916e9e3c0d |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional type checking for assignments, inequalities
hader/slang/slang_codegen.c
|
bf3040d4767702f09e042c58f0f5aa942ddb9a16 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: generate error for main(any args)
hader/slang/slang_compile.c
|
096b5fa52483eaf75fc56bee501aa757dccd8867 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
7a63e317d1911166e02bdcda21614581ace5004b |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove invalid use of f.x syntax where f is a float
hader/slang/library/slang_common_builtin.gc
|
013de307edd8590ae5a3444d3c18990ee4fd288e |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: re-enable assignment type checking
hader/slang/slang_codegen.c
|
8abeeb35d3c9810e191510ebe3194ae9b1b49f35 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated files
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
|
1308ca6d2168c5c2f81a8e675687e9d9a4db1a28 |
06-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: re-org of intermediate/temp storage Simplify the code for allocating storage for intermediate results. Use fewer temps in some cases. Also, use new asm vec4_move intrinsic instead of regular assigments in various constructors. For example: float f; vec3 v; v.xyz = f; is not legal GLSL, so do this instead: __asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx Plus, fix assorted bugs in structure comparison.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.c
|
749c1b9fbe4bd89e61dfc3657ad4f8adae20ff2b |
05-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: disable broken assignment type checking for now
hader/slang/slang_codegen.c
|
8e8019b49ab137403ba92aef3e286f4e27049ad5 |
05-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646
rivers/dri/common/depthtmp.h
rivers/dri/gamma/gamma_span.c
rivers/dri/i810/i810span.c
rivers/dri/intel/intel_span.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mga/mgaspan.c
rivers/dri/r128/r128_span.c
rivers/dri/r200/r200_span.c
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/radeon_span.c
rivers/dri/s3v/s3v_span.c
rivers/dri/savage/savagespan.c
rivers/dri/sis/sis_span.c
rivers/dri/unichrome/via_span.c
rivers/glide/fxddspan.c
|
a3024caff1c790cf9f24476926aa62198f1e7b53 |
05-Aug-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Use program->SamplerUnits[] to get the appropriate texture unit. inst->TexSrcUnit is used as an index into program->SamplerUnits[] since the commit ade508312c701ce89d3c2cd717994dbbabb4f207, and program->SamplerUnits is a sampler-to-texture-unit mapping.
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
|
2d8551b30f38d111b60511700c690db1e5b2ab16 |
05-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: check struct types in _slang_assignment_compatible()
hader/slang/slang_codegen.c
|
793bab2a368be6bbe93ab7f04b887f95c839c36b |
05-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: varying vars can't be user-defined structs
hader/slang/slang_codegen.c
|
9564e58df052462ab9d3c62576bcf9e38be65c1e |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated files
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_pp_version_syn.h
|
3b5f9588e79ea023ea2ecea755918ab35799a82a |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: added vec4(ivec4) constructor
hader/slang/library/slang_core.gc
|
50ecc38545ff59e9f99d092eebf555816ee3f7f0 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: if/while/do condition must be boolean
hader/slang/slang_codegen.c
|
f70f6e076c9f1a2c06ec433ce93da5913eef457a |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional type checking for ?: and = operators
hader/slang/slang_codegen.c
|
e194c457fdabd7474da3b277245d7761311dd758 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: don't allow comparision of arrays
hader/slang/slang_codegen.c
|
250910a59d16cccb50ad8ebcb21da397fb8dcf91 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: error on const-qualified array declarations
hader/slang/slang_codegen.c
|
b57c53b2bc68e23796d59e66cdc5b45899c5585c |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: added null ptr check
hader/slang/slang_codegen.c
|
c610c0d77d2e2d9fe0052f7d1316b3d348b536a0 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: set literal_size for const vars
hader/slang/slang_simplify.c
|
95ecc33330b3eea4ddc21e2345adf2a9c04a38c3 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: add missing code emit for struct/field
hader/slang/slang_emit.c
|
02d223a7812c5cdf4bac5a83a8c9ce94a88fdba1 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: stop code emit after error is recorded
hader/slang/slang_emit.c
|
1028458354773d748278d7719f695eb4c2ffc090 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: check that rhs of const var initializer is also const
hader/slang/slang_codegen.c
|
901c4db2ed7b98d2026fb9f0374a48eca9a8019f |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: handle user-defined const vars in expression simplification
hader/slang/slang_simplify.c
|
26ec3780b85765a681f3f365137ee2ecd63d37fc |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix initialize size error check
hader/slang/slang_codegen.c
|
e68a3ef1efc3873afb64acd15a0ea27a6ba54bda |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: added initializer size/type error checking
hader/slang/slang_codegen.c
|
7c59a2b5a2699207e25638ff5be6b9cfd64560cc |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: only allow one #version directive
hader/slang/library/slang_pp_version.syn
hader/slang/slang_preprocess.c
|
d95bb24ddc9fa4bfb32d07fb96d19c024f0e52cf |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: regenerated file
hader/slang/library/slang_core_gc.h
|
012a1f1cf6bc46b2ac32b456a233cf1ecd25e241 |
04-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: new bvec4 constructor
hader/slang/library/slang_core.gc
|
eb80ed0d2eac693012e7e4c2ad772f7f57f74977 |
03-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added null ptr check (fix bug 16959)
ain/context.c
|
61b3ce8f9787edd7d5678f87aa4c2a0a6f8c0e45 |
03-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added null ptr check (fix bug 16959)
ain/context.c
|
ded9414024ef7b2fb1d991d872c56c0d85e9ce1f |
31-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Always build GEM execbuffer code.
rivers/dri/intel/intel_ioctl.c
|
e9bf3e4cc9a7e4bcd4c45bd707541d26ecdf0409 |
31-Jul-2008 |
Jesse Barnes <jbarnes@hobbes.lan> |
intel: sync to vblank by default Effectively default to vblank_mode=3 on Intel to avoid tearing by default. Users wanting to go "as fast as possible" (despite not being able to see frames faster than their refresh rate allows) can still set the vblank_mode manually.
rivers/dri/intel/intel_screen.c
|
c9120a0d1928f8ca6114923fd307fbc5c358eb0b |
30-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Use new getparam to detect kernel GEM support.
rivers/dri/intel/intel_context.c
|
ab945fc38c81adc7e033c544213ebb929edbe1f8 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove old assertion (fixes glsl/bitmap.c)
hader/slang/slang_emit.c
|
1bdb1345703584d9247c84f8efb9056db22de682 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove old assertion (fixes glsl/bitmap.c)
hader/slang/slang_emit.c
|
40f7e5f6749be3365a50d9a3931c03189b5352e7 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable debug code
hader/slang/slang_compile.c
|
43ac397fb8d26c335160287294a25ffb5b4bcec5 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable debug code
hader/slang/slang_compile.c
|
ff916d718a461f9af96c89d3c19ec17adcbdaba5 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated files
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_core_gc.h
|
016701f6860a840e079cb4c5f844a8cced712cd8 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
hader/prog_execute.c
hader/prog_parameter.c
hader/prog_statevars.c
hader/shader_api.c
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_vartable.c
|
b26a80aa12f1f8316da495b4fdeb94e75ba5d740 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: cast to fix warning
hader/slang/slang_codegen.c
|
a7dd701421082dbe6637f6b80a0707f14f69e007 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug/failure in recursive function inlining Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible...
hader/slang/slang_codegen.c
|
6045f171381744fd8e703d978c3d188e30da4b94 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: silence warning (s/int/GLuint)
hader/slang/slang_compile.c
|
a75015ef0301f3db4f3d5f86b6b2f85765f8465a |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove stray debug code
hader/slang/slang_codegen.c
|
1638edb3256b3b4bd8bc2eb65d02573601ef9a44 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: assorted fixes for resolving polymorphic functions Plus, - fix some issues in casting function arguments to format param types. - fix some vec/mat constructor bugs - find/report more syntax/semantic errors
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
6225e51a73a51fa46d839a429f254d7786b1fd18 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: re-order some constructors
hader/slang/library/slang_core.gc
|
d9b6425e0004bf13e1ff9659e0b807d6d2911b70 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove unneeded operators
hader/slang/library/slang_120_core.gc
|
91e1918f484b698016ca43bafdf4fddf2648cca5 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: added null ptr check
hader/slang/slang_compile_struct.c
|
6f1abb9c215583d11980294f7469da41ec14b7da |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix issues causing warnings on Windows
ain/texstore.c
hader/shader_api.c
|
1b465f287fd26d14797eca7c7a3f6cd339923e00 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional error detection Plus begin some fixes for vec/matrix constructors.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_simplify.c
|
16dc993d4f01f6882933953115abc6ec7d93ba0b |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: gls: fix broken else clause of conditional break/continue In the following case: for () { if (cond) break; // or continue; else something; } The "something" block didn't get emitted.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
3d500f00d2a09becccd62abc0472090c4faa53d6 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: only try to link shaders defining main()
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
|
56bac7a35cf5763c28164224a45dae46e06aacbb |
24-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warning on windows.
hader/slang/slang_codegen.c
|
5d9b33095ad6eff5ae55493629daac781897c55e |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix/simplify array element handling Also fix bug in comparing large structs/arrays.
hader/slang/slang_emit.c
|
d4c73c619a8d0db2f9662ab5cbdc15e854efce25 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: mark constructor params as const
hader/slang/slang_codegen.c
|
01c0558f70ead32db9b7da4ebdc2b33d2477c3e5 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: rework swizzle storage handling Build on the heirarchal approach implemented for arrays/structs.
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
fb3422a241d7483c108f05290f966ffdbd219c3f |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix uninitialized var
hader/slang/slang_compile_struct.c
|
7af8dddf2705cf0e2c02154615900bf49c8ee25a |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: implement constructor functions for user-defined types
hader/slang/slang_codegen.c
hader/slang/slang_compile_struct.h
|
a9412ca2e89030897cd45747b70ebab6840c46b7 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove stray debug assertion
hader/shader_api.c
|
b36749d066bcba848d08937090492c33a277851d |
22-Jul-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix glUniform error checking for samplers
hader/shader_api.c
|
b7eea9a1ce9f3a28b74d77db19dcd859b6638a41 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c No API-level functions now in program.c.
hader/arbprogram.c
hader/arbprogram.h
hader/program.c
hader/program.h
|
ff9b6a0ae2b38e9de717a688e823fd8b665d159a |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for GLSL struct/array comparisons
hader/slang/slang_emit.c
|
65db8c9518036bee7110befb4927f2995c7a125c |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added null ptr check (error handling case)
hader/slang/slang_emit.c
|
19d44b95feaeb3d983a84827471f81afc079faf0 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix +=, -=, etc. operators
hader/slang/slang_codegen.c
|
be50c481016ea9d01f97812ead5042618c05b37f |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
ain/varray.c
|
bc985b5790bcbf2d19b2e42fee0807b1a3c9bc91 |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some issues in _mesa_validate_program()
hader/shader_api.c
|
ffbc66bf614c5a2b9bc3a68a6fa7d027405a55b9 |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: assorted glsl uniform/attribute fixes Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
74a19b0abd382574ff583eab81a374acead9254d |
19-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: various writemask/swizzle improvements and clean-ups
hader/prog_parameter.c
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
|
38a62ede6c68f292615ff8eaac749e12652dbdb9 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework array/struct addressing code. The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.c
|
378017417a7a0b7b8e25b6e859e9dcb92ef24ea9 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some GLSL /= int operators plus add a few more special constructors to improve code quality.
hader/slang/library/slang_core.gc
|
f45ed0eb8d4d9cf01cf1d3d8b8d3f4fb774c4d48 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix set_program_uniform_matrix(): need to loop over matrix count
hader/shader_api.c
|
5bfbcf7265dfc72d85f6adbf3b243355b16334d9 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: implement grammar/parsing for precision/invariant syntax Plus, fix some issues with pre-defined preprocessor symbols and version checking.
ain/config.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
|
c3ad1761586c640ba7d4060c4a6917ce61078cf9 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
hader/slang/slang_print.c
|
153407f72d3492f9d35e2424bb877def8b1a1dcd |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some function inlining bugs Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_variable.h
|
527e1357b59a476348b5fd2600fb99e85cc4e897 |
30-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved printing
hader/slang/slang_print.c
|
44c7f37b448201ad1276883ae5e6f7a3bdc4e7ac |
29-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable GL_ARB_shading_language_120 until 1.20 features are complete
ain/extensions.c
|
57aea290e1e0a26d1e74df6cff777eb9f038f1f8 |
28-Jul-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Fix off-by-one error in calculation of scissor cliprect. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
rivers/dri/r300/radeon_state.c
|
c208a2c791fa24c7c5887fc496738cbddbfafc72 |
27-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Merge tgsi/exec and tgsi/util directories.
tate_tracker/st_debug.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
c1fb448ce8dd98f8e5fd5a39707f96cc14535bd4 |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)
rivers/dri/r300/r300_tex.c
|
c117d0efd28887069607f405be99fbc09fcb4cab |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENT
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
hader/prog_statevars.c
hader/prog_statevars.h
|
e88be7d375032fbddb34a77debe6604fa029492c |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix point minmax size There are 6 subpixel units per pixel, not 16.
rivers/dri/r300/r300_state.c
|
322677b8789c031024fb3fb4618f27e7a6ffec5d |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Implement hardware acceleration for ColorLogicOp
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
0973d348d7a9c8d50829a33112dceb4e7f7a61ef |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Handle non-native swizzles in texture instructions This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/radeon_program_pair.c
|
1bdf5e09a049d8d60bf147f9d88bbdb2b8588752 |
27-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Redirect TEX writes to output registers While R500 fragment program texture instructions appear to support writemasks, they cannot write to the output FIFO immediately, so we need to insert a MOV for these instructions. This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
rivers/dri/r300/r500_fragprog.c
|
902e401a384a8213d1239aae42bc2b7071ad6bd8 |
27-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: Don't return a renderbuffer with alpha when just GL_RGB is requested. Fixes oglconform rbGetterFuncs testcase. The span code for this mode hasn't actually been tested.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_span.c
|
9e445d3e6374c2a9b163f1262ea5a1047e596cae |
26-Jul-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
85e44fcd51b2f2e0bb0c97161fdde1971767eefd |
26-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r200: Do not set second coordinate clamping for 1D textures Fixes piglit's tex1d-border test.
rivers/dri/r200/r200_tex.c
|
477fa8fe1241aedde281defca52f02a8e7385733 |
26-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Always emit LOAD_VBPNTR immediately before index-based rendering This fixes one type of lockup I've been seeing on my test system.
rivers/dri/r300/r300_render.c
|
1e645b365900cf1c71ca5594bd6b549a1f203040 |
26-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into drm-gem Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/i965/brw_wm_surface_state.c
|
40acf8cce24afe80388639b804f9ae8c0b779d81 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: assorted fixes for resolving polymorphic functions Plus, - fix some issues in casting function arguments to format param types. - fix some vec/mat constructor bugs - find/report more syntax/semantic errors
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
4b3fb99b502a803bec852a35e6d50c3ff49975e3 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated files
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_core_gc.h
|
9d9076af5c7af6cce9ba8216c62eabbc629dda43 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: re-order some constructors
hader/slang/library/slang_core.gc
|
c72bc3f3722e17b30c91bb8b9d57cd0ecfd98e46 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: remove unneeded operators
hader/slang/library/slang_120_core.gc
|
e5022c3fdf9888857f22f9a1690035ff3f90d36b |
25-Jul-2008 |
Eric Anholt <eric@anholt.net> |
mesa: Return 0 for cube map face of non-cubemap framebuffer attachments. Fixes some oglconform fbo testcases.
ain/fbobject.c
|
ff60e3fa031504b403766324b1fae3ccacec6650 |
25-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: If a tex image doesn't fit in the object's tree, make a temporary tree. Previously, we would just store the data as malloced memory hanging off the object, which would get memcpyed in at validate time. This broke an oglconform render-to-texture test, since validate wasn't called but a miptree was expected.
rivers/dri/intel/intel_tex_image.c
|
72809f377397390fdd110d6b15e8a9a64ada05e6 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix issues causing warnings on Windows
ain/texstore.c
hader/shader_api.c
|
03de81aea1c02d8b29784950a456e43b4fc9d538 |
25-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: additional error detection Plus begin some fixes for vec/matrix constructors.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_simplify.c
|
9bc9e0ecb0fb2069b2c123e665eb2118e358098f |
25-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
i965: fixup format for TFP zero copy
rivers/dri/i965/brw_wm_surface_state.c
|
04c98089d15d27e541561d3fb35b9c28b699833b |
25-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "intel: disable zero-copy TFP." This reverts commit 94979950e8991bd44899eb4067c3ae43449ce51e. I've fixed it instead
rivers/dri/intel/intel_screen.c
|
d4244683a61f66cfb78408a37cf2587587847f96 |
25-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
i965: make tex offset override work.. should fix fd.o 14441
rivers/dri/i965/brw_wm_surface_state.c
|
2acf917f00b570274b58ad7e58688715730253d0 |
25-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Mark as XXX unresolved warnings on windows.
ain/texstore.c
hader/shader_api.c
|
94979950e8991bd44899eb4067c3ae43449ce51e |
25-Jul-2008 |
Dave Airlie <airlied@redhat.com> |
intel: disable zero-copy TFP. patch from Fedora. maybe someone can fix this later but for now lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
rivers/dri/intel/intel_screen.c
|
7b2ef2b8849bbf400eeed9642c26c140cc7d6beb |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: gls: fix broken else clause of conditional break/continue In the following case: for () { if (cond) break; // or continue; else something; } The "something" block didn't get emitted.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
643228c506bde965c890f3d0604c273fc729bee7 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move extensions->version code into separate function
ain/getstring.c
|
0216a5843027a679c58c65ff6445f33a34d0e729 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
ain/getstring.c
|
90a3af7d9d0849afcee0d35ed0621fe24e1008a9 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: only try to link shaders defining main()
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_link.c
|
948f6e302ca3b6e0aa4d74eaef2e17dfb31bdfd5 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move extensions->version code into separate function
ain/getstring.c
|
d8ababdcc2e359b4325b036bf7ae5447498a6521 |
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
ain/getstring.c
|
9a4be9785f932bedf727fbf88244ac1b158b09a5 |
24-Jul-2008 |
Jesse Barnes <jbarnes@jbarnes-t61.(none)> |
intel: remove buffer swap debug output Accidentally pushed as part of the last commit.
rivers/dri/intel/intel_buffers.c
|
6118d830a63d1637587671bdfa9810f3e31c24e7 |
24-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "965: Fix color clamping issues" This reverts commit b993d539a76e7f1446890a85e4b61deec4d4162d. The patch was applied incorrectly. Actual fix coming soon. Sorry for the noise.
rivers/dri/i965/brw_vs_emit.c
|
101d1a658a614d1e2ec02b1e697f6161291af653 |
23-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Prefix main includes with dir to avoid conflicts. Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h
Conscript
lapi/glapi.c
lapi/glapi_getproc.c
lapi/glthread.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_translate.c
ath/m_vector.c
ath/m_xform.h
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbprogram.c
hader/atifragshader.c
hader/grammar/grammar_mesa.h
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertparse.c
hader/prog_debug.c
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_print.c
hader/prog_statevars.c
hader/prog_statevars.h
hader/program.c
hader/program.h
hader/programopt.c
hader/shader_api.c
hader/shader_api.h
hader/slang/slang_codegen.h
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.h
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_library_noise.c
hader/slang/slang_log.c
hader/slang/slang_mem.c
hader/slang/slang_mem.h
hader/slang/slang_preprocess.c
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.h
hader/slang/slang_utility.c
ources
parc/sparc.c
tate_tracker/st_atom.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_texture.c
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_atifragshader.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_blit.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_drawpix.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_lines.c
wrast/s_lines.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_points.c
wrast/s_points.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_spantemp.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texcombine.c
wrast/s_texcombine.h
wrast/s_texfilter.c
wrast/s_texfilter.h
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_vb.h
nl/t_draw.c
nl/t_pipeline.h
nl/t_rasterpos.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_generic.c
nl/t_vertex_sse.c
nl/t_vp_build.c
nl/t_vp_build.h
f/vf.c
f/vf_generic.c
f/vf_sse.c
86-64/x86-64.c
86/3dnow.c
86/common_x86.c
86/rtasm/x86sse.c
86/sse.c
86/x86.c
|
b4ed6e9b1797a1e08c51c1ad30e0f78d9c6d8b95 |
24-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warning on windows.
hader/slang/slang_codegen.c
|
117533759fc6ee57f65a48e7115d4f564ed167f4 |
24-Jul-2008 |
Pawel Pieczul <Pawel.Pieczul@intel.com> |
965: Fix partially transparent textures in Doom 3 engine games Numbers of destination depth registers corrected (destination stencil register was sent as depth register).
rivers/dri/i965/brw_wm_emit.c
|
d5835c1d0f7d3af9169a61e13646247c6a8b01b4 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix/simplify built-in constant lookup
hader/slang/slang_simplify.c
|
564c97660a89f853bc6eb284bf0906ca4bad6de7 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: fix/simplify array element handling Also fix bug in comparing large structs/arrays.
hader/slang/slang_emit.c
|
576c5fcc61d8278c5e78f900a23f752734da3988 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: mark constructor params as const
hader/slang/slang_codegen.c
|
2e3714380027252ba17a11f23eae851d3f77ab02 |
23-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: Add a little span cache to spead up readpixels by cutting syscalls.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
d2d5abfaeb46fc7b4d4267a6c9e92420fc9b5334 |
23-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Use pread/pwrite for span access. This will avoid clflushing entire buffers for small acesses, such as those commonly used by regression tests.
rivers/dri/common/spantmp2.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_span.c
|
f0ca917924a749b1fa287cc9536607ace03c2f89 |
16-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: improve 2d batchbuffer debug output.
rivers/dri/intel/intel_decode.c
|
1c8791c581ba2e3906a98a74e998dd51dd474ddb |
16-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix CopyTexSubImage's src tiling arg for the blit. Didn't hurt 915, but needed for 965.
rivers/dri/intel/intel_tex_copy.c
|
bdaa06ad639821368ac8d1af7b7561fd7e83fb13 |
15-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: move renderbuffer mapping to separate functions. This lets us avoid duplicated code for doing so, including the depthstencil paths that aren't covered by SpanRenderStart/Finish. Those paths were missing the span funcs setup, leading to a null dereference in the fbotexture demo.
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
93f553ed4d94a13ca1bc9c1ed962bd6963cd9ec6 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix translation of extended swizzles, per-component negation
tate_tracker/st_mesa_to_tgsi.c
|
704dca40c4e0e983c07d84c3a32f8f9dc78a5543 |
23-Jul-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
7f3d6e74817e8880a0712c85f2b41fd88cf6a347 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: rework swizzle storage handling Build on the heirarchal approach implemented for arrays/structs.
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
0d1ed45cbfd555330c8746b0fc046bdb41d767d0 |
23-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix uninitialized var
hader/slang/slang_compile_struct.c
|
11a5c2d4eea69122fd09f272e68afb95143873c6 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: implement constructor functions for user-defined types
hader/slang/slang_codegen.c
hader/slang/slang_compile_struct.h
|
e4139657e0ac40febef1f5e229317aa58b032261 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove stray debug assertion
hader/shader_api.c
|
97988ccc46c0248177cd71937021ca8cc2a7452b |
22-Jul-2008 |
Jesse Barnes <jbarnes@jbarnes-t61.(none)> |
intel: fix buffer swaps and enable page flipping on 965 Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are also used for page flipping, so enable the code that sets & updates them on 965. This allows buffer swaps and page flips to work on 965 and prevents hangs in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending field. Fixes FDO #16118.
rivers/dri/intel/intel_buffers.c
|
7467a943fc7aeca050014424d5bb2e3ca30c1a04 |
20-Jul-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
add env var to override msaa visual selection
tate_tracker/st_framebuffer.c
|
63025ec726eb6d3e9a3140f3928a8fc8840c806f |
22-Jul-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix glUniform error checking for samplers
hader/shader_api.c
|
e3ca92aa28e2bf28e72cea340d9c8d5c9bb48089 |
16-Jul-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c No API-level functions now in program.c.
hader/arbprogram.c
hader/arbprogram.h
hader/program.c
hader/program.h
|
ec9c79a7dd468f3bd0483d3a9d59809bf019e54b |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for GLSL struct/array comparisons
hader/slang/slang_emit.c
|
c9a7ee2d0044c01aeb6646f0235b030ccd7ba844 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added null ptr check (error handling case)
hader/slang/slang_emit.c
|
5ba32b79d8df3403212888dbdc669abf9d783359 |
22-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix +=, -=, etc. operators
hader/slang/slang_codegen.c
|
467e6526a8210e90cf47362b1b4b87b7d49e009d |
21-Jul-2008 |
Jonathan White <jwhite@tungstengraphics.com> |
gallium: Temporary workaround for mismatched pipe create and pipe destroy
tate_tracker/st_context.c
|
7e8f79e39dfb4ba0072e9d34e7fba958e3710f5b |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
ain/varray.c
|
70d3928f6366c94b147d768d55eaa7d1f45462bd |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some issues in _mesa_validate_program()
hader/shader_api.c
|
fbf26e109b1e96aa4eeca018198ff0b5a71e557b |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: assorted glsl uniform/attribute fixes Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
b993d539a76e7f1446890a85e4b61deec4d4162d |
21-Jul-2008 |
Pawel Pieczul <Pawel.Pieczul@intel.com> |
965: Fix color clamping issues
rivers/dri/i965/brw_vs_emit.c
|
d8cbac5330cfcdf66c9448ee339975869097a262 |
21-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
hader/slang/slang_codegen.c
|
8aafc03b260ab8923f1b373f7effa75bcdb40a72 |
18-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Finer grained is_format_supported.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_extensions.c
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
72e57b52f02db17d47dce23abedea72a47af806e |
19-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: various writemask/swizzle improvements and clean-ups
hader/prog_parameter.c
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
|
7218626cf5ecc00fc7ef994253c20c9a2df35cc2 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework array/struct addressing code. The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.c
|
a4fd90e3255ea531f2fe0693f00f342f4610cae3 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
2b3515c5b21a417cf32c5259b93da4deb2a951c6 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some GLSL /= int operators plus add a few more special constructors to improve code quality.
hader/slang/library/slang_core.gc
|
b64882d0f8674df3e4e60f5786eb48027518c279 |
18-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix set_program_uniform_matrix(): need to loop over matrix count
hader/shader_api.c
|
99fe0c222c2853a612b73aa6fcffb0a532ce5747 |
18-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel-gem: Bump driver date Bump the driver date and insert the string "GEM". When running tests, this make it much easier to know that the right driver is being used.
rivers/dri/intel/intel_context.c
|
b4b7326717d3253656f9702fc04f06f8d210a6aa |
18-Jul-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fix texture border issue. (bug #16697)
rivers/dri/i965/brw_fallback.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
73b8ee412110598b5c54ac695fcfce2878fdbe07 |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
d9f4d04111133a7dab5e645021e56245febea2ae |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix/improve the atan(y,x) function
hader/slang/library/slang_common_builtin.gc
|
457bb10cee6a2f6f7b7e320f066a26e24e13c550 |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
91de7b6cd30ad5ec00dd94ea4a56ec0c9056948f |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix/improve the atan(y,x) function
hader/slang/library/slang_common_builtin.gc
|
8336fbc35c990f6bce0ee997acae8652cd44fd97 |
17-Jul-2008 |
Brad Smith <brad@comstyle.com> |
mesa: added checks for OpenBSD
86/common_x86.c
|
f49d345a51bb208fee19fc25762bcdb0e7f67174 |
17-Jul-2008 |
Brad Smith <brad@comstyle.com> |
mesa: added checks for OpenBSD
86/common_x86.c
|
0138435643d77478f5e06ef4572e704e0230163b |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
33a25729e8d7563ac181303c6a8f69f35155f059 |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix temp re-use bug in emit_arith()
hader/slang/slang_emit.c
|
082cde143b880d4c87f11680b3a40a8e09c44367 |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix copy&paste errors in degrees() functions
hader/slang/library/slang_common_builtin.gc
|
ab8f838060c7d30b8b18cac600c4b1d97ecf3f6c |
17-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix temp re-use bug in emit_arith()
hader/slang/slang_emit.c
|
a1e55dcd9c1287f9a2181b6136d8febae3a4d74c |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated files
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_shader_syn.h
|
bd09676de5ad0db97159046d94e2ca72317059de |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix copy&paste errors in degrees() functions
hader/slang/library/slang_common_builtin.gc
|
ebcdbff6f1f6fa4749e88f9984b0df784a3d9a0c |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: implement grammar/parsing for precision/invariant syntax Plus, fix some issues with pre-defined preprocessor symbols and version checking.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
|
7a0b79fe3632ca45def56679868473334ef1e194 |
16-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
hader/slang/slang_print.c
|
29cb89d0c2cb17e2fa38563fc93794a6ebd75cf9 |
16-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clean-up ARB_texture_env_crossbar Enable support for ARB_texture_env_crossbar in the master extension list instead of in every single device-specific list.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
442c195c4afce2509130a718c44a69a5b009979e |
09-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove redundant initalization of MaxTextureUnits
rivers/dri/i965/brw_context.c
|
479a807e01bc980aa2a3c9c56c20ba53cc6e7d60 |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison.
ain/get.c
ain/get_gen.py
|
7d13dded5c581c2a1741252b1ef04f7ae4a9627b |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison.
ain/get.c
ain/get_gen.py
|
b4adb9e1de6728febbb758d6633edf765868153e |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: added test for __NetBSD__
86/common_x86.c
|
45209baf5d0234c5c70cf2b581c9fda9f73b4eac |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: added test for __NetBSD__
86/assyntax.h
|
ece7183ff1b1bba1ae8e41b143e2ccbc38376dc3 |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: added test for __NetBSD__
86/common_x86.c
|
4c6dcbf091b5a83c2b75e8b42299497b1b187109 |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: added test for __NetBSD__
86/assyntax.h
|
e6218d071db46cbf98486f97b238cccf78c4aefa |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: check for __INTERIX to typedef uintptr_t
ain/glheader.h
|
546c7fb221e2d0b7e56fb390f6e911a5f515328c |
16-Jul-2008 |
Blair Sadewitz <blair.sadewitz@gmail.com> |
mesa: extra braces
rivers/x11/xm_tri.c
|
461e17880650500cdbb35133ba12c3b809b778f1 |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
716f70d7826c15cfaf09653ae525286f3eb59a07 |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing IR_LOG2 case
hader/slang/slang_emit.c
|
b0d173f4053ee006717fb1c04cf12d1d687052e6 |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some broken /= operators
hader/slang/library/slang_core.gc
|
8c653f6e093624bfdef47ca83728465c86f338b7 |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors
hader/slang/library/slang_core.gc
|
7d7d114e5963abf57ad50159524f830e430ec51d |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix storage size computation in emit_arith()
hader/slang/slang_emit.c
|
178726ebced83809ce42973f7225a1a5b9794f41 |
16-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing IR_LOG2 case
hader/slang/slang_emit.c
|
9d43e387a3391b091f0a22710a7414a52eafae33 |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
e35329c701bfc36f73aaedb84ea1b704d660bd0f |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some broken /= operators
hader/slang/library/slang_core.gc
|
0bafe4b771f0a3e3dbfe16573a6cd3a7cb4244cd |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
5e8e532cd026fe22d1fce88299a6d4d4ddcda71d |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some broken bool, bvec2, bvec3, bvec4 constructors
hader/slang/library/slang_core.gc
|
5bf89cf2c399e40b3d5dc8cf03f03db70f50e777 |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix storage size computation in emit_arith()
hader/slang/slang_emit.c
|
a5f02368d2a9ab1f814eba2c997729c6c655fc5e |
15-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Disable spantmp sse/mmx functions when tile swizzling. Those functions rely on being able to treat the GET_PTR returned value as an array indexed by x, but that's not the case for our tiling. Bug #16387
rivers/dri/common/spantmp2.h
rivers/dri/intel/intel_span.c
|
f6152c35101311c2b128eb23b25b3f38d9e8b5be |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some function inlining bugs Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_variable.h
|
bc4b1ca5636e68a6e6b0e3f88e9ff6b888837656 |
15-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: improved printing
hader/slang/slang_print.c
|
f9c574d7192d2193ff3e12629a8db1a74b6dbf55 |
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
hader/prog_execute.c
hader/prog_parameter.c
hader/prog_print.c
hader/prog_statevars.c
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_vartable.c
|
6c534b830c6f5427c391c5225c34561141c201ba |
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: Silence compiler warnings on Windows.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_texture.c
|
090e212c0c5e54156c3c33f7eecdfe01398a7222 |
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Silence compiler warnings on Windows.
ain/texformat.c
ain/texrender.c
ain/texstore.c
|
ec698034d1a7cc390ce8eda8a28732fa40ff80ec |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: assemble main() after all other functions Before, main() had to come after any functions it called.
hader/slang/slang_compile.c
|
51654783ef0aa48560f70cd3944128a94a87d86b |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: comments about vectors vs components
ain/config.h
ain/mtypes.h
|
f214a848abb7cefb3d2c0bb7d172d54deeb05308 |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: assemble main() after all other functions Before, main() had to come after any functions it called.
hader/slang/slang_compile.c
|
946abd9b5a55f999ef21f807769f5fb81b10a426 |
14-Jul-2008 |
Eric Anholt <eric@anholt.net> |
i915: fix build after previous commit.
rivers/dri/intel/intel_pixel_read.c
|
2833d4e715d613384e413fe113d608b8daf0460d |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled In glStencilFunc/Op/Mask() set both the front and back-face state, unless GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state if GL_ATI_separate_stencil was enabled. Ultimately, we probably should remove GL_EXT_stencil_two_side since it's incompatible with GL 2.x.
ain/stencil.c
|
c62cb6be6c0e67a94320e3f25c182b07b3e78056 |
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled In glStencilFunc/Op/Mask() set both the front and back-face state, unless GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state if GL_ATI_separate_stencil was enabled. Ultimately, we probably should remove GL_EXT_stencil_two_side since it's incompatible with GL 2.x.
ain/stencil.c
|
2f5cd68797ee4a159fa0a5fc4d315e4d3f2f644e |
14-Jul-2008 |
Blair Sadewitz <blair.sadewitz.gmail.com> |
mesa: also check for __NetBSD__
ain/execmem.c
|
a63b90712aad81d544eb8931493a6c4a7805f7fb |
14-Jul-2008 |
Blair Sadewitz <blair.sadewitz.gmail.com> |
mesa: also check for __NetBSD__
ain/execmem.c
|
62db707a3dd4bf821b189e937fa133009007a2b5 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check for null shader->Source
hader/slang/slang_compile.c
|
5e600209f4908ece2ba8b7f880e1d7e950d2cfb4 |
14-Jul-2008 |
Chris Rankin <rankincj@yahoo.com> |
radeon: SetTexOffset support This patch is a straightforward duplication of the R200 SetTexOffset code, except that there is no big-endian tx_table[] array.
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
|
93115c4b235896df097b91edec7458a8a4488c4e |
14-Jul-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: say goodbye to the old DRI driver...
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_card.c
rivers/dri/nouveau/nouveau_card.h
rivers/dri/nouveau/nouveau_card_list.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_ctrlreg.h
rivers/dri/nouveau/nouveau_dri.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_lock.c
rivers/dri/nouveau/nouveau_lock.h
rivers/dri/nouveau/nouveau_mem.c
rivers/dri/nouveau/nouveau_mem.h
rivers/dri/nouveau/nouveau_msg.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_query.c
rivers/dri/nouveau/nouveau_query.h
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_1.c
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_span.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nouveau_state_cache.c
rivers/dri/nouveau/nouveau_state_cache.h
rivers/dri/nouveau/nouveau_swtcl.c
rivers/dri/nouveau/nouveau_swtcl.h
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
rivers/dri/nouveau/nouveau_tex.c
rivers/dri/nouveau/nouveau_tex.h
rivers/dri/nouveau/nv04_state.c
rivers/dri/nouveau/nv04_swtcl.c
rivers/dri/nouveau/nv04_swtcl.h
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv10_swtcl.h
rivers/dri/nouveau/nv20_shader.h
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv20_vertprog.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_shader.h
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_fragprog.c
rivers/dri/nouveau/nv40_shader.h
rivers/dri/nouveau/nv40_vertprog.c
rivers/dri/nouveau/nv50_state.c
|
d68a3ebf0e7e853cf9680ddbb095fffe7c0fb1f9 |
13-Jul-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
36dd89c8a7f2a911e8f7f18d1edcaf982a75a438 |
13-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface.
rivers/x11/xm_surface.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
e81ba58bf4c20229677cdf89b5970b55cefb2199 |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Use nqssa+dce and program_pair for emit Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_fragprog_swizzle.c
rivers/dri/r300/r300_fragprog_swizzle.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/radeon_program_pair.c
rivers/dri/r300/radeon_program_pair.h
|
3b8081603bf846285e56a6ecafaf182935fd8733 |
12-Jul-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Always pass -linker and -ldflags to mklib for shared libraries This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
rivers/beos/Makefile
rivers/dri/Makefile.template
rivers/osmesa/Makefile
rivers/x11/Makefile
|
db072baaaf6adcd176ea7e4d67b77177de7eca31 |
11-Jul-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Call mklib with $(SHELL) so the user controls the interpreter Respect the user's choice of shell when running mklib rather than always using /bin/sh.
akefile
rivers/beos/Makefile
rivers/directfb/Makefile
rivers/dri/Makefile.template
rivers/fbdev/Makefile
rivers/osmesa/Makefile
rivers/x11/Makefile
|
2d766923c45b544cca17c7fefe625715cf1fd1fe |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix saturate mode handling in radeon_program_alu
rivers/dri/r300/radeon_program_alu.c
|
cf0ae102dbc34bf75e853c2ece630fe18dd4d41e |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Set Saturate correctly in radeon_program_pair
rivers/dri/r300/radeon_program_pair.c
|
8774fcd89acc9e180e0cb135bd62646f58cb623e |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix input register allocation in radeon_program_pair When an input is marked in gl_program.InputsRead but is not actually read in the final program (due to dead-code elimination or whatever), the order of input registers must still match gl_program.InputsRead. This is done even more explicitly now.
rivers/dri/r300/radeon_program_pair.c
|
11d711df360265f25dc5a96cc3a4c5a2d34f5b64 |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Explicitly set absolute value for the argument of RSQ This fixes the last r500 bug related to glean/fragProg1.
rivers/dri/r300/radeon_program_alu.c
|
b6765c34993b08bba4acf20738c8938413ed4daf |
12-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500_fragprog: Major refactoring of final emit Use an abstracted instruction scheduling and register allocation algorithm that we will be able to share with r300_fragprog. Unlike the original emit code, this code tries to pair instructions that only use the RGB part of the ALU with instructions that only use the alpha part. However, the pairing algorithm still has some shortcomings; for example, it doesn't generate optimal code for the emulation of LIT.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program.h
rivers/dri/r300/radeon_program_pair.c
rivers/dri/r300/radeon_program_pair.h
|
d8d086c20b5a43353c4980cf234d8329900585f5 |
06-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Add "Not quite SSA" and dead code elimination pass In addition, this pass fixes non-native swizzles.
rivers/dri/r300/Makefile
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_nqssadce.c
rivers/dri/r300/radeon_nqssadce.h
hader/program.c
hader/program.h
|
7904c9fad4c2cb2a4153258a9e86e530a0330a78 |
06-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500_fragprog: Transform trigonometric functions in first pass
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
|
2e841880cfc1006a2818d4a8bfefd21136dc39a9 |
11-Jul-2008 |
Eric Anholt <eric@anholt.net> |
drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_tex_copy.c
|
b0ef353b4696672ecaea4b370b612bbb482880ca |
12-Jul-2008 |
Alex Deucher <alexdeucher@gmail.com> |
R300: update vap_cntl values for NUM_FPUS based on info from hw team
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
6c44c6d020ce7bc8e65ef69fefa0db4cc6157bed |
11-Jul-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Remove generated pkg-config files on `make clean'
akefile
rivers/dri/Makefile
|
b52398571b7f5c537c2f5e1c87f1b8bdf3d8ea9b |
10-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
intel: fix batch flushing problem with cliprects handling. pointed out and debugged by stringfellow on #dri-devel
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
|
bae90edfdae0eac6c844ede21285453ef96a4f6e |
10-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
19171ab1d30f14ac0d39894125a3d53a91ca5b89 |
10-Jul-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
|
64f92e00c8292113f9a6372959febe903af09db6 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check for null shader->Source
hader/slang/slang_compile.c
|
811a183a274048158af5f5a05c4d3106dcffd08b |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
lapi/glapi_getproc.c
|
eb9efc6ad5544b8c643f81c03fcc09438aa0316c |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable fprintf() error
rivers/dri/common/utils.c
|
ac05da56ec1dd14876dbf3fde37aa951b9215f5b |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
lapi/glapi.c
|
520dbdea22442493771763a3a895f9e9039c2a5c |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check for OpenBSD (bug 15604) cherry-picked from master
ain/execmem.c
|
57f2d071d1503823867029e4d672c09e6417cc68 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix state.clip[n].plane parsing bug (bug 16611) cherry-picked from master
hader/arbprogparse.c
|
4ca0af188267ab92f84223acd7f8b957be0cb5f6 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix state.clip[n].plane parsing bug (bug 16611)
hader/arbprogparse.c
|
a2e435054c0d410e92d1e76a23f8d801a606537d |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check for OpenBSD (bug 15604)
ain/execmem.c
|
75e4db18049f3284197c9a8deabd9dd74aa7920e |
09-Jul-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fall back to software rendering when shadow comparison is enabled for 1D texture. fix #12176
rivers/dri/i915/i915_texstate.c
|
cdc0b6e5236591ac16ba71867818d63f9f2fd93b |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
ain/shaders.c
|
2f1b5ffcda283cebc97bd440b5af44168a9c8b00 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove debug code
ain/shaders.c
|
ee2a10112323d11ddc613a043761481aa1485f19 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to rc3
ain/version.h
|
2be54a8e8ccb206eeedd319cf48a3c81797b83a4 |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: implement glGetUniformiv() with new ctx->Driver function The old implementation could overwrite the caller's param buffer.
ain/dd.h
ain/shaders.c
hader/shader_api.c
|
072c47483674021425922132cf6d977090077f8e |
09-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: implement glGetUniformiv() with new ctx->Driver function The old implementation could overwrite the caller's param buffer.
ain/dd.h
ain/shaders.c
hader/shader_api.c
|
6fe78576291d38108c8815dc33fa44a8ae656f71 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: bump version to rc2
ain/version.h
|
c71fa34728ef4eddd074aeb2bee49ae6a7acb3d1 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added null texObj ptr check (bug 15567)
wrast/s_fragprog.c
|
fd6cb1b11d526d2e22d51441ab2629a10323e7b4 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more debug output
hader/slang/slang_print.c
|
d14b7890a44fe7a3bccd9152645f50b0edb850d8 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: compute global var size before doing codegen
hader/slang/slang_compile.c
|
477d597df69845e3fcd84605b26801c14a0ce382 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing VARYING case to storage_string()
hader/slang/slang_ir.c
|
3bdf50bab0951c5435bbf4b938d37cc1fe9a5d7c |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix bug/failure in recursive function inlining Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible...
hader/slang/slang_codegen.c
|
fe1c0e44aadc033075797804b3275ac91f72c1ba |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: more debug output
hader/slang/slang_print.c
|
0d1f54db6b4e66b164ea4193e7aa41a98b6fce0d |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: compute global var size before doing codegen
hader/slang/slang_compile.c
|
2e638cfe3c3a8ab639d9cdb13abced6dc8ed0755 |
08-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add missing VARYING case to storage_string()
hader/slang/slang_ir.c
|
92c075eeb7c330ea420400d1c2bae57356b19f03 |
08-Jul-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: official name for GM45 chipset
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
8d2400f2161efa95d2ef18fec353db4841f09637 |
08-Jul-2008 |
Jonathan White <jwhite@tungstengraphics.com> |
mesa: added GLAPIENTRY keywords
bo/vbo.h
bo/vbo_exec_api.c
|
1828b6d0315be805ec1eea1594fae5b28cfb4ca8 |
07-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move assertion (though not really significant)
tate_tracker/st_draw.c
|
b7dfabcaab020e89644f47ec243b231c21fece63 |
07-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays Things broke when vertex position wasn't the first attribute.
tate_tracker/st_draw.c
|
11ac5b2456575060627e9f52946d7d0e218a228d |
03-Jul-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Set library and header installation directories from configuration Currently the installation directories for libraries and headers are resolved within the install commands. For instance, the libraries will be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility of the installation, such as when the libraries should be installed to a subdirectory like /usr/lib/tls. This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR) to define the locations that the libraries and headers are installed. For the static configs, this resolves exactly as before to $(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they are derived directly from the --libdir and --includedir settings.
akefile
rivers/dri/Makefile
rivers/dri/dri.pc.in
l.pc.in
|
056689d457924ba4d8a0723d0c5f24383d1757d9 |
06-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500_fragprog: Fix RSQ with negative parameters
rivers/dri/r300/r500_fragprog_emit.c
|
2b2cb566563b9f1f9739327ef9874143af838850 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Emulate trigonometric functions in radeon_program_alu
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
|
4746752f167c674722b46ab3840297d48e6d889d |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Translate fragment program DST in radeon_program_alu
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
|
03abd021f2fa1d043682c9f1bbb1c080fba6b033 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Translate fragment program LRP in radeon_program_alu.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
|
62bccd6df0c963a14e801bcac95dc8046b978a7f |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Allow adding parameters during fragprog transform, share LIT code
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
|
77fdfaa23adeaaf6a217ef1ee751410c6a5b0d21 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Correctly scan for used temporary registers This fixes a regression introduced by dea8719f0...
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
|
364d45a3e1629f32c6ab5407f92618a16c9d45e0 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Major refactoring of fragment program emit Use the common facilities to convert non-native instructions into native ones. Worked hard to make the code easier to read (hopefully), by using helper functions instead of direct manipulation of the machine code. Fixes two bugs related to FLR and XPD.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
|
dea8719f00ad46ed66b5d4f5e6c0b71e2d1054e9 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Remove clause stuff for now in favour of a cloned generic gl_program
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
|
85b46fbe9cfc8de8871d6adb0b2287c5837d3028 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500_fragprog: Cleanup some unused variables and code.
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
|
13c44679ad42886544036f49597dcfc0d4b7e925 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Fix a mixup in fragment program LRP instruction emit
rivers/dri/r300/r500_fragprog_emit.c
|
09e587fcf3c77860eacf16a45c6cf1a9a54cc605 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r500: Fix blend color.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
82635aad4203d44648dd6e345ec2b5e21ff06510 |
05-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
_mesa_clone_program: Copy ShadowSamplers
hader/program.c
|
0bc2409e3808df54bf7d228475320e2ec4fe80a1 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. Simplification in colortab.c too. cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
rivers/dri/tdfx/tdfx_tex.c
ain/colortab.c
ain/mtypes.h
ain/teximage.c
ain/texstate.c
|
a3de65659cf07420363c91ae38dd61468f122ef0 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix st_choose_format(internalFormat=GL_RGBA16) Need to check if we're choosing a surface or texture format.
tate_tracker/st_format.c
|
2fa7b3f78639114aec42fcbbfc29d3645832708b |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Implement mutex/locking around texture object reference counting. Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
ain/attrib.c
ain/context.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
e187627c1d3b06e5d185989dd3d37f09a8953a1b |
04-Jul-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix depth texture in compare mode Missed the homogenous divide of R by Q before...
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
|
845e3f701dec29f08e5759969c165b3d812e5afe |
29-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
Enable TexGen based on InputsRead when a fragment program is active The old behaviour depended on which texture images the fragment program reads from, which seems to contradict the shader specifications. Note: Piglit's general/texgen test checks for this problem.
ain/texstate.c
|
e06565b103828b276fb10e3c4b2d94b36de05987 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
hader/shader_api.c
|
b931a0c1d9128b7fb402915089e1fd2496f65349 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove incorrect assertion
ain/fbobject.c
|
9ca1c62a963ca7024c4bccf83af3f90955cd5068 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace assertion with conditional
tate_tracker/st_cb_fbo.c
|
294b061256220960e7e29fbc8ecbd2ffce75de40 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if program isn't linked
hader/shader_api.c
|
c4b6941e62f5e30a7c479b7b8d6521cc4dd92e3e |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move assertion
ain/fbobject.c
|
77f8167d75d0016c76812fc147c06072e5729965 |
04-Jul-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Merge remote branch 'upstream/gallium-0.1' into gallium-0.1
|
0c1e96e6d38c0acfd3fe6b4116f2a67f5bf62136 |
04-Jul-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix polygon offset issue (bug #12061)
nl_dd/t_dd_tritmp.h
|
dd3311aa89035aa2e624f54b6914cfbcf57b33d7 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _vbo_VertexAttrib4f()
bo/vbo.h
bo/vbo_exec_api.c
|
7366f3fc54be280969f3adef16ed67fddfe55e67 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix incorrect array size, added assertion
hader/slang/slang_vartable.c
|
0ed3f6f575ebdb345ad9891380686eafce63c75e |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix array storage allocation bug
hader/slang/slang_codegen.c
|
22ac107971151a02cbe7a03a05bc99a53bc80eb1 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
4d1d6ed1590428172816933efce3303fd7c815b2 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional vec4 constructor
hader/slang/library/slang_core.gc
|
d4172263e57fdbd2204fd8669e6b6f460e08ca3b |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix various error codes
hader/shader_api.c
|
bb18a8b2eaaf8eea02c3255ed774751378fc7aa6 |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some error codes in _mesa_ShaderSourceARB()
ain/shaders.c
|
d015ffa6ea20f00f23513e63b5c27e5e6d0d3627 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix problem freeing framebuffer/renderbuffer objects Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
ain/context.c
ain/fbobject.c
ain/fbobject.h
|
78388c0e374349810fe3fb38cd4103a9544df4bf |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added case for fixed pt
ain/varray.c
|
00eb309c31692d29b01568b0b45f5066928b9107 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move, increase ST_MAX_SHADER_TOKENS
tate_tracker/st_program.c
tate_tracker/st_program.h
|
530df581dd1a502041b44afee8023a09d5b7e59f |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix various error codes
hader/shader_api.c
|
011185396b1bb13fcba6619912948bbd2154936d |
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some error codes in _mesa_ShaderSourceARB()
ain/shaders.c
|
3dc6591a7c85b6a05551ce91b69e57d23148bf57 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix problem freeing framebuffer/renderbuffer objects Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
ain/context.c
ain/fbobject.c
ain/fbobject.h
|
7acb7c1ac058d11d649b615bfcabf29b5a74a801 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional error checking, fix error codes
hader/shader_api.c
|
d866cb3712cc4db0d3798b91039a482453e58700 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_core_gc.h
|
7f4f2ac39de7a5425bcfbd362b688f62f6003afd |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional vec4 constructor
hader/slang/library/slang_core.gc
|
6e46c121f9efc941473f797e0a388146a9599eea |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix array storage allocation bug
hader/slang/slang_codegen.c
|
1dc20c7916e873dd154d62f885f849c87211c192 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix incorrect array size, added assertion
hader/slang/slang_vartable.c
|
2212c214f1890091c102d4cb3c69ec2df2132322 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix surface memleak in bitmap code Found w/ tunnel2.c demo.
tate_tracker/st_cb_bitmap.c
|
1ca23061478868d61b9b2e6a30367e8e1de4a456 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix vertex array validation test for attribute 0 (vert pos) We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master
ain/api_validate.c
|
b3e1f9bd521ab25fc1cb313902cd77c6c274a918 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix vertex array validation test for attribute 0 (vert pos) We don't actually need vertex array[0] enabled when using a vertex program/shader.
ain/api_validate.c
|
98b7174ad6f6a74361e58136bdd235a092b07a40 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace an assertion with "if (!texobj) continue" It's possible to call update_samplers() between the time a fragment shader is bound and when a texture image is defined (such as glClear). This fixes the case where we don't have a complete texture object yet.
tate_tracker/st_atom_sampler.c
|
dad8a7c90d96f37fedfe912a10ba3754c1666161 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix a bug in vertex program output mapping Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors.
tate_tracker/st_atom_shader.c
|
39b9b05313c8b8fce9b80e96819aded479e382c9 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional GLSL built-in constants
ain/mfeatures.h
hader/slang/slang_simplify.c
|
dff477a5e27c39aa61aac8e1555c345211e832b8 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: when linking a shader program, make sure all the shaders compiled OK cherry-picked from master
hader/slang/slang_link.c
|
40739d4ae95054d45fa86e9668ad29fcbafd67e9 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added some debug code (disabled) cherry-picked from master
hader/slang/slang_compile.c
hader/slang/slang_log.c
|
088c42c5c3cb34bac98fce95e4f3d08642834112 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master
hader/shader_api.c
|
16caeeab4b495702b54963816ae45976b2563423 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated file
hader/slang/library/slang_common_builtin_gc.h
|
adc709e9960966bc03e510bc793b9d2703b3e863 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added some missing equal() notEqual() intrinsics cherry-picked from master
hader/slang/library/slang_common_builtin.gc
|
1726b7d1d336465dca10a5bd0a8a02fcf5f2e455 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: when linking a shader program, make sure all the shaders compiled OK
hader/slang/slang_link.c
|
cb79c5c7c62a661c4b7b4efcf3884ee1dedafe4f |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added some debug code (disabled)
hader/slang/slang_compile.c
hader/slang/slang_log.c
|
36a582641119671688a9f366e5bfa1ab3e8b9cbc |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix...
hader/shader_api.c
|
a405d69063c8bae28bd5808e297070d65d90a421 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated
hader/slang/library/slang_common_builtin_gc.h
|
a2cddf58d2787a1ed027cbc7bc25bf4aa001e989 |
03-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added some missing equal() notEqual() intrinsics
hader/slang/library/slang_common_builtin.gc
|
def6e4f420feed4a07402a8da84e7822f6ddba99 |
02-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: span rendering requires just a flush before starting, not finish. The dri_bo_map()s that follow will take care of idling the hardware as needed.
rivers/dri/intel/intel_span.c
|
8f98242d40b58c517181bc4777f4910ad24e6866 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable some debug assertions We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
hader/slang/slang_vartable.c
|
eab88236b3ef5a4f861c1b99dc7220abd5c9f6c7 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated files
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
|
789fae163dbdbd7669b0442bd1a3ca4fea4ec259 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors cherry-picked from master
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
|
511733b862d2cb6836beb0965bdc5d699e6a2233 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _mesa_print_swizzle() debugging helper
hader/prog_print.c
hader/prog_print.h
|
918f3b17e5a3f94a7676a815c9b64cee054311ea |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerated files
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
|
18adc71822463b5e50bcb23d682726b1a44870aa |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
|
489fc4d10a57538de59a89e19ce752e4b7253d22 |
02-Jul-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fix issues around multisample enable multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
rivers/dri/r300/r300_render.c
ain/mtypes.h
ain/multisample.c
ain/state.c
tate_tracker/st_atom_rasterizer.c
wrast/s_points.c
|
5ef4e4ffb8053db87f52df3c9b2ddb71d9c7d6e5 |
02-Jul-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fix issues around multisample enable multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
rivers/dri/r300/r300_render.c
ain/buffers.c
ain/mtypes.h
ain/state.c
wrast/s_points.c
|
a995bdced20a55759dffd901c10ec5fb251191cf |
02-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Emit an MI_FLUSH at glFlush() so frontbuffer rendering is flushed. We have something similar in the X Server that covers X Server rendering, this is the equivalent here for rendering to the front buffer. If we cared about avoiding this at glFlush time, we could only do this when some actual frontbuffer rendering had occurred. Bug #16392.
rivers/dri/intel/intel_context.c
|
4b3ed4d2d16811a624857519e95303017f4160b5 |
02-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Fix y-tile swizzling for our G965 with swizzle_mode=1. Apparently in Y mode we get bit 6 ^ bit 9. The reflect demo in 'd' mode now displays correctly.
rivers/dri/intel/intel_span.c
|
19f585a3cf65887e249d630fe43e83e7e7618dfa |
02-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Fix Y-tiling span setup. The boolean that the server gives us for whether the region is tiled was getting used as the enum for what tiling mode. Instead, guess the correct tiling in screen setup. Also, fix the Y-tiling pitch setup. The pitch to the next tile in Y is 32 scanlines, not 8.
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
6befdca6a3d65d7e49c0c54a7a8f091cd05034ea |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate a link error if the vertex shader references too many textures
hader/slang/slang_link.c
|
43346fb1fb43f91cb3e90d84b442dc08d6c9550d |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
set ctx->Const.MaxVertexTextureImageUnits = 0 This disallows vertex shader texture sampling. See bugs 16157, 13838.
rivers/dri/i965/brw_context.c
|
ea190fe05098d166c38d168d6a3d743c3acfe722 |
02-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
VBO: Regenerate files based on recent changes to gl_API.xml Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous.
rivers/dri/common/extension_helper.h
ain/enums.c
|
abd71144f0c34c071739dbb00378520fb02b5b61 |
02-Jul-2008 |
Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> |
Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver tree
lapi/glapi.c
|
21e0d47514ea16c85342549dc8843be1b9bbc6ef |
02-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
lapi/gl_API.xml
|
c52d6ad465dd4fddcd40e50e93f66469dcd8ffea |
02-Jul-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
VBO: add GLX related annotations
lapi/gl_API.xml
|
66b48202c221a25f3980df8f443ce63c2fb4119f |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix a GLSL vector subscript/writemask bug This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master
hader/slang/slang_codegen.c
|
eeefe175de8bae93b9ed2204afa9e748b205e868 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some functions cherry-picked from master
hader/slang/slang_codegen.c
|
81a0acca31aa8f96ac9488ff81345a6cd51403a4 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: make _slang_swizzle_swizzle() non-private cherry-picked from master
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
028739faedd97a67b2348e4561840cc13785b26c |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix a GLSL vector subscript/writemask bug This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now.
hader/slang/slang_codegen.c
|
e19af171cf013098c35990069225a87c3a04e197 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some functions
hader/slang/slang_codegen.c
|
9ae4d778d8dd56572b92b7ecaca4f0cabe63d229 |
02-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: make _slang_swizzle_swizzle() non-private
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
e74f54793e45dd2e36474f6fc527456647f32efd |
02-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel-gem: Move bit 6 x tiling swizzle to a driconf option, and add new mode. It turns out that it's not just deviceID dependent, and there's some additional undefined factor that determines the bit 6 swizzling. It's now controllable with swizzle_mode=[012] until we get a response on how to automatically detect.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
|
44c99ad23655204fd2e567fc38512f12e5f262af |
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: better function inlining in the presence of 'return' statements Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master
hader/slang/slang_codegen.c
|
7d4f01413f16c15b55e99aba6da18b5c979c880c |
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add/fix some IrInfo entries for debugging purposes cherry-picked from master
hader/slang/slang_ir.c
|
32a5c4033665d51277c733318ac0461e5f85ad09 |
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: better function inlining in the presence of 'return' statements Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function.
hader/slang/slang_codegen.c
|
b2247c7d29667047cd34180826a8966675f8be3a |
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add/fix some IrInfo entries for debugging purposes
hader/slang/slang_ir.c
|
634d2af2b01f4e7ce8fa3ff65f64a446f859821a |
01-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
init machine->Samplers (fixes vertex program texture fetches)
nl/t_vb_program.c
|
d3f7b463c3975c070503053e4ad70af99016a756 |
01-Jul-2008 |
Dave Airlie <airlied@linux.ie> |
dri: drop asserts to make build against stable libdrm These asserts are of questionable use at the moment with things in flux.
rivers/dri/common/dri_bufmgr.c
|
bcc2a3d7e3c5f81bb5a45b8d628a133f3b5499a5 |
01-Jul-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
dri: Take the base image size into account when computing first level of the mipmap. fix #16210
rivers/dri/common/texmem.c
rivers/dri/intel/intel_tex_validate.c
|
bb1744970d74432692f2e109fca1dc31593605af |
30-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r3xx/r5xx: Enable ARB_point_parameters. This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
|
23e9b43ce4a6ad5875f69363dec7d2baa8afa2ea |
30-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix dumb mistake in LOD bias translation
rivers/dri/r300/r300_state.c
|
4002b75e6267ecd0f9e3093e221e34ed5c8485d4 |
30-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Cleanup LodBias support . There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/radeon/radeon_screen.c
|
a74d22ba715da5e52efb15aebd15a74851f87d43 |
29-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Change LOD bias emission to more closely follow per-tex rules. Okay, this time it's for real, and for good. This should be a perma-fix.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
bc775066aa9bbbf0cf5f1d5ced81f81e4cb0b731 |
29-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix wrap mode for 1D textures
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
cc8e628563a1cfb26752bc014a75f3087cd8986d |
29-Jun-2008 |
Ben Skeggs <skeggsb@gmail.com> |
Revert "mesa: Use the appropriate relocation." This reverts commit cb09d1ef60dae3b3c44f1370fd2f726c7044bc17.
86-64/glapi_x86-64.S
|
6cb12704916822aa4d0895a6427e110afe4bfa58 |
29-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
hader/shader_api.c
|
b429e9b2d74ece0906602d2f843c0f8bf74c44f4 |
29-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added null ptr checks
hader/prog_uniform.c
|
9d94d133b019ef23ee03cc691fcb5602451604ae |
29-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added null ptr checks
hader/prog_uniform.c
|
2242769a13de228df10fb55d50aa4d96c99d5975 |
29-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
hader/shader_api.c
|
a1ec6efce0f614dfc2fb7af2cab68eca3be43850 |
29-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check FEATURE_point_size_array
ain/ffvertex_prog.c
|
f6da1453c5b4add37518b2e1f27abb02854864f2 |
12-Jun-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
DRI-specific pkg-config file Since the gl pkg-config file doesn't convey any specifics about the backend in use, this adds a new pkg-config file for when DRI is in use. This can be used by the xserver build to determine if the DRI and/or GLX extensions are appropriate.
rivers/dri/Makefile
rivers/dri/dri.pc.in
|
429a08384c2ea66d446e46beb28e33ee3b764d52 |
27-Jun-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: handle msaa
rivers/dri/common/utils.c
rivers/dri/common/utils.h
ain/mtypes.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_framebuffer.c
|
fb95b603efa3a70b73d28f0e3a7886fe736b9787 |
27-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Replace void * arithmetic.
tate_tracker/st_cb_accum.c
|
4ddd65967915ca4846f2831bc676c878a29dae4a |
27-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Drop pipe_texture->cpp and pipe_surface->cpp. The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
cb09d1ef60dae3b3c44f1370fd2f726c7044bc17 |
26-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use the appropriate relocation. I don't fully understand this, but this matches the assembly code gcc generates glapi.c and fixes following error on x86-64 with assembly: relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object
86-64/glapi_x86-64.S
|
f059a3302260075e9cfd35649dc3877726291d8d |
27-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix locking when doing intel_region_cow(). This was broken in the merge of 965 blit support. It tried to lock only when things were already locked.
rivers/dri/intel/intel_regions.c
|
93f701bc3619864ac6f067d37212e96545a57e16 |
26-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing. Most of these were to ensure that caches got synchronized between 2d (or meta) rendering and later use of the target as a source, such as for texture miptree setup. Those are replaced with intel_batchbuffer_emit_mi_flush(), which just drops an MI_FLUSH. Most of the remainder were to ensure that REFERENCES_CLIPRECTS batchbuffers got flushed before the lock was dropped. Those are now replaced by automatically flushing those when dropping the lock.
rivers/dri/i965/brw_defines.h
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_validate.c
|
3b132b297febf99d7f3989d82f09578471880321 |
26-Jun-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check in SwapBuffers for any new pending dri2 events
rivers/dri/common/dri_util.c
|
d378f7b3dfda3b549e4b02380e492671cc34bb59 |
25-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: point size arrays
ain/arrayobj.c
ain/enable.c
ain/ffvertex_prog.c
ain/glheader.h
ain/mfeatures.h
ain/mtypes.h
ain/state.c
ain/varray.c
ain/varray.h
tate_tracker/st_program.c
bo/vbo_exec_array.c
|
f6abe8f0f2fba3073b58b96ed38aae163c765b4a |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
Merge commit 'origin/master' into drm-gem
|
5174b85a0cb13b06779ea6fc0a8362c9fe57e2ea |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix glCopyPixels when x or y are < 0 in hw coordinates. Nothing would get drawn as the negative coordinates broke the rectangle intersection code that used unsigned ints. Tested with copypix demo and sliding the copy to the upper left.
rivers/dri/intel/intel_pixel_copy.c
|
9a0d773116c6e9d7a63a63644a12170b7486a86e |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i965: Use the shared intel_pixel_copy.c. This disables the textured copy implementation on 965, which didn't appear to work (mesa copypix demo, disable the blit path, move so that regions don't overlap and textured is used, and you get garbage). If we resurrect this for i965, I'd rather it used the 915-style metaops instead. Current metaops code left in place so that whoever picks it up has a reference.
rivers/dri/intel/intel_pixel_copy.c
|
744357e29c6a51b9e1770e0340eee5105f6b5585 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Same pixel function init for everyone now.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
|
f5eb62a1161f050925c5c0b4839c437b29bdbc6b |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Avoid glBitmap software fallback for blending when no blending occurs. Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
|
f23adc504d8202bbcc78121567a61c0b24819422 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Merge check_blit_fragment_ops between i915/i965. Both had some useful bits for the other.
rivers/dri/i965/Makefile
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_copy.c
|
90d33edf37d12495fcfb4876d1048f3ed5df2b9b |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix.
rivers/dri/intel/intel_pixel.c
|
eda68cccc072c10f94c096b9877d09a787069631 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Add support for accelerated glBitmap, shared from 965.
rivers/dri/i915/Makefile
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_bitmap.c
|
59890987799624e07083300d291f2457baff0192 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Fix read != draw drawable for glCopyPixels. Taken from commit bad6e175cf59cce630c37d73f6e71f3a4de50ae6.
rivers/dri/intel/intel_pixel_copy.c
|
98fa0aec366ac41065698fd9bf76731b7d08f1f7 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT. This matches 965.
rivers/dri/intel/intel_pixel.c
|
8c90148cb90c6e5947068e5f7dc9be4e46614dfe |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Fix Windows GDI winsys build.
Conscript
|
a148025d94505bca08f9baa1689048032bb60e2c |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use standard integer types. Especially get rid of the non-portable long long.
ain/glheader.h
ain/imports.c
ain/imports.h
ain/texcompress_fxt1.c
|
b6f053739f66c1c88db12df4690051c0a54ff0f7 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Replace deprecated __MSC__ macro.
ain/imports.h
ath/m_debug_util.h
|
2e328dcde2be8174b2a78936206ced71b03b2b57 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa/dri: User standard integer types.
rivers/dri/common/dri_util.h
rivers/dri/common/mmio.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/i810/i810screen.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/server/radeon_egl.c
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_screen.c
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_state.c
|
5c1a78b7a85d23ad1358b34d03a0002a19483655 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: More signed/unsigned float/integer fixes.
ain/mm.c
ain/mm.h
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
18ec140ef27b6488bea9d54e21b08b0a3afbcafe |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use appropriate unsigned/signed, float/integer types.
ain/mm.c
hader/program.c
hader/shader_api.c
hader/slang/slang_compile.c
hader/slang/slang_print.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
80b359f574cd8565af46e0900d2da9dd0faf4291 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use _mesa_bsearch.
ain/enums.c
|
182b644c71462d86be2f2c79c9ff3fa636b7470a |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: bsearch implementation for WinCE.
ain/imports.c
|
c921a29b3a696f6fa99b648d6cd975dbcf106429 |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Replace abort by asserts.
lapi/glthread.h
ath/m_debug_xform.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_mesa_to_tgsi.c
|
c47248bdf8d55f985b199fc6e15b0177305cb6fd |
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Move variable declarations to the scope top.
ain/texstore.c
|
89e9d6b6db933c870443714c3d7c9539d117cddf |
24-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added support for fixed-point formats, drawing
tate_tracker/st_cb_texture.c
tate_tracker/st_draw.c
|
a42dac187973cbc17be6c59db89264cbc935ab91 |
24-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Accumulate the VB into a local buffer and subdata it in. This lets GEM use pwrite, for an additional 4% or so speedup.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
|
62d66caeba786f01f6159c980fda79606afe4c61 |
21-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Convert to using VBs instead of inline prims.
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_reg.h
|
8db7ef544c4f1be702e34b97882441df31274f10 |
23-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: ASSERT macro is already defined by WinCE headers. Even when just the standard headers are used....
ain/glheader.h
|
ab7ad60d47fdd6fbbbbdb8968676083356e8692d |
23-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: No getenv on WinCE.
lapi/glapi.c
|
a479bf62353b6517841e620122112e7565d2391c |
23-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix-up inverted do_copy_texsubimage() The logic/arithmetic for inverting the src image is a bit simpler now.
tate_tracker/st_cb_texture.c
|
81b1a4224de1992d25ada006f54ff9147aa82da3 |
23-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove dead/prototype code
tate_tracker/st_cb_texture.c
|
76b94a636eea0ffb642a90cf9ff4a00bfe6e064e |
23-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't make libmesa.a or libglapi.a depend on asm_subdirs Since the asm_subdirs target does not actually create a file, make will always consider that it needs to be rebuilt. If libmesa.a and libglapi.a have asm_subdirs as a prerequisite, then they will always need to be rebuilt, too. The correct order will be preserved by the default target, though. This should fix #16358. Conflicts: src/mesa/Makefile cherry-picked from master
akefile
|
464c585681a647542e4ae8188dc2883c0c8a142e |
23-Jun-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Ensure all objects are built when installing DRI
akefile
|
52501801c7107614387717e7b97e66a667f9e5b8 |
23-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
gallium: Add accessor functions to get textures from a st_framebuffer
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
fe3b62b5b1a6ed5f81fa0b849f3a81a8cf43c810 |
23-Jun-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Ensure all objects are built when installing DRI
akefile
|
5aa4d5a87d3edea6503a7b9853a318e71718af7c |
23-Jun-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Don't make libmesa.a or libglapi.a depend on asm_subdirs Since the asm_subdirs target does not actually create a file, make will always consider that it needs to be rebuilt. If libmesa.a and libglapi.a have asm_subdirs as a prerequisite, then they will always need to be rebuilt, too. The correct order will be preserved by the default target, though. This should fix #16358.
akefile
|
71d2578ac5530c8641bcd5d9a9654373a6ce853e |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/common/memops.h
rivers/dri/common/mmio.h
|
ba97ed2b743ba0b6631e0fbcf2ab12afe885f87c |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/intel/intel_context.h
|
cc96d5492038cb79806031e513365e08647d6bfa |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_wm_emit.c
|
37f19b94ac31d7a6f77ed9936c28ec8f36983721 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv04_swtcl.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r500_fragprog_emit.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_spantemp.h
rivers/dri/trident/trident_context.h
|
402e7f76b15e619a83d1d1587d1dd181d313e543 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
#undef DEBUG to silence warnings
rivers/dri/s3v/s3v_macros.h
|
5ee7b7912c1fe7b09d13ae385088e4281b62eba6 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/nouveau/nouveau_state.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_tex.h
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_vertprog.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.h
|
055ab81920e7299ec4fce8f9908c88c001050a92 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
24197b4901c72b3a2c6afcb3f6936e0876853e1d |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_tris.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgatris.c
|
7899270b9f10b5671e7ea644a66832fe86b5a1a1 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_render.c
rivers/dri/sis/sis_tris.h
rivers/dri/sis/sis_tritmp.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_state.c
|
2e922b0e35eda9e0dab9c085bdf83d2a1094dcbb |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace __inline and __inline__ with INLINE macro
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810state.c
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810tris.c
|
2c1bead06928961a18aea14b3cae4e854ceb915e |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/inline/INLINE
rivers/directfb/idirectfbgl_mesa.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
|
77d917a74ae677bcd277654adb67e9e532730046 |
21-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old comments
rivers/x11/xmesaP.h
|
e1f9adc27445ea3381af1f71cfec0317298be5b1 |
21-Jun-2008 |
Alan Coopersmith <alan.coopersmith@sun.com> |
Solaris port of Mesa 7.1 with autoconf support Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
rivers/dri/common/dri_util.h
rivers/dri/common/xmlconfig.c
ain/glheader.h
ain/imports.h
|
f30e4af73405aad3ec29b7337a3a0177e3fbe715 |
21-Jun-2008 |
Daniel Zhu <daniel.zhu@sun.com> |
Rename quad function to quadr to avoid clash with Solaris quad typedef Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
nl_dd/t_dd_tritmp.h
|
dc25661099bcc4b107a30ca504fcc2e76db3492e |
21-Jun-2008 |
Alex Deucher <alex@botch2.com> |
R300: 1002:5657 is actually RV410 See bug 14289
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
b3f1aac95e5cef26824da08c89fcf2b08ac5ef86 |
21-Jun-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)
rivers/dri/r200/r200_pixel.c
|
2a5a95d0c08fe07b50385028b6972a4383f2b095 |
21-Jun-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: s/feadback/feedback/, duh
ain/api_exec.c
|
36aae1868345567975ce4fa449b547ae3e01dbc3 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: init ctx->RenderMode
ain/context.c
|
a9b46b9e4c79665febb21180150ba54731aa4bc9 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: GL_BYTE vertex/texcoord arrays
ain/mfeatures.h
ain/varray.c
|
42c468a5dea30d1428205d81798eaf3a0c42ef3a |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: initial support for fixed-pt vertex arrays
ain/glheader.h
ain/mfeatures.h
ain/varray.c
|
8e0f166eb5edb8537af573d8d33a26ffaf8e66c9 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move initialization of DefaultPacking state.
ain/pixel.c
ain/pixelstore.c
|
722db809e64cab61846c3f086fcba4847caad216 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: always need st_init-blit()
tate_tracker/st_context.c
|
62d1d591d5c4d6efdbb10b45e3a38116f95794b6 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded #include
tate_tracker/st_cb_blit.c
|
39ce3940828fb816d7c1cf7f061d85f7db9a0c28 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix errors in prev commit
ain/dlist.c
|
9cae37870e66550d8cceac4b4a8765c1936d4ddc |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: revamp glBlendFunc loopback
ain/blend.c
ain/dlist.c
|
1b241a4369fcba5972a7ab38b9a5595a434e0b56 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _vbo_Materialfv()
bo/vbo.h
bo/vbo_exec_api.c
|
71f67dde34546f40c7617948f8fa945288e55e17 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions
bo/vbo.h
bo/vbo_exec_api.c
|
95c9fc82f58a8f38d25b3e405891566c8f8a51f6 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some FEATURE_x tests
ain/context.c
|
d7a4d498e4fe2ba8036626bc97913370ad991fac |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: assorted FEATURE tests
tate_tracker/st_context.c
|
2dcd4ce4b62122d1088d130bade83bd051fa6d0c |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded #include
tate_tracker/st_gen_mipmap.c
|
907c0978affb6bc7f8cb077f568829ecfaa89b04 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: test for FEATURE_ATI_fragment_shader
ain/context.c
|
78d05bcc27ba02282711174a8b3aa5f1ebea9151 |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: new st_api.c file with token symbol for identifying the API
ources
tate_tracker/st_api.c
|
158298eea075e87e4e3b4da9f6a606550f975b5d |
20-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unused vars
tate_tracker/st_cb_fbo.c
|
21177c8764638e1d4b3b29fed64adec62a14e936 |
19-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: tweak mipmap level selection for cube maps This is just a hack. After we convert the 3D texcoord into a face plus 2D texcoord we need to recompute the partial derivatives and mipmap LOD. But we don't have the info to do that. Adjusting the original mipmap level by -1 seems to give somewhat better results than before though.
wrast/s_texfilter.c
|
0da9bc6a69fbd287f2e87ca9f868cb4ccc47735a |
18-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Note the non-PBO fallback for textured drawpixels under DEBUG_PIXEL.
rivers/dri/intel/intel_pixel_draw.c
|
bbe80af457316826f56ada767d26e8c1db7f1130 |
18-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Restore the accelerated PBO pixel path functions after GEM changes. The fencing code is not required, and waiting on the fences defeated one of the purposes of the extension, which is to allow asynchronous readpixels.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
|
654258a4fe5e7114022c6e02f2844fc469fcc6f3 |
18-Jun-2008 |
Eric Anholt <eric@anholt.net> |
Merge commit 'origin/master' into drm-gem
|
cf29ab3ba075905cca786b52617d7dc993f58033 |
18-Jun-2008 |
Eric Anholt <eric@anholt.net> |
i915: Bug #14313: Fix accelerated (PBO) ReadPixels. Refactoring of mine in 02d5ba849197e19843dad164239b51f18fb16faf broke it by failing to understand that the masking was about sign extension.
rivers/dri/intel/intel_blit.c
|
b623fa9e2d6f97f9febc978c158d790b26e175a7 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Fix bug in _mesa_swizzle_ubyte_image
ain/texstore.c
|
b1eff0228b7199920c02e62446ebf5496c298814 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add fwd decl of fill_in_entrypoint_offset()
lapi/glapi_getproc.c
|
9a2c70f0754b275e7ec370bbbff3d81b48bfd476 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added new st_set_framebuffer_surface() This allows the winsys to explicitly specify gallium surfaces for a framebuffer object.
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
19f872f2ecb45d5e95ccd2b434a88781c9b4f451 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix ReadBuffer initialization
ain/context.c
|
414b535134256dbe9e4d4a92068143f054e13720 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: more FEATURE_x tests
tate_tracker/st_context.c
|
03d579aa19bcb1facec5ab67b6f7123e9ec9f26e |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: FEATURE_dispatch to control dispatch table usage
ain/context.c
ain/mfeatures.h
|
5ebd8495b31fadf7452aa336fb5aa708c1a5d753 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added st_get_proc_address()
tate_tracker/st_context.c
tate_tracker/st_public.h
|
29d632efbc29200ed4f6f5e34dd10c857a2568aa |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move GetProcAddress code from glapi.c into new glapi_getproc.c file
lapi/glapi.c
lapi/glapi.h
lapi/glapi_getproc.c
ources
|
04996bcef6d65b81f7c2acc873befa2805296800 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added FEATURE_x tests
tate_tracker/st_context.c
|
8a369b909a6648ae7a5a0c2dcb972a2f96f99a80 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
c366fd83b617db6c8c064802ff4bf120d654507d |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add parenthesis
ain/dd.h
|
666b771e512a7c91fa43544afec61bda63edc240 |
18-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: _mesa_texstore_s8_z24 now supports depth only uploads
ain/texstore.c
|
3e8aadee8beffaabd4e0c60c289b98124e288dcd |
18-Jun-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: add support for Intel 4 series chipsets
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
a1524162bf838920ad965cd44ead97da29408e50 |
18-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Added _mesa_texstore_s8_z24
ain/texformat.c
ain/texstore.c
ain/texstore.h
|
3bf8fb64862b882bff8b372f3c2ce08ea8d401a7 |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
ain/image.c
ain/texstore.c
|
30640695400b9b27656893753ae6b62f2082ce9b |
18-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
ain/image.c
ain/texstore.c
|
64adeb163d7da6d75b5664cd2ee3783cadaf63d8 |
17-Jun-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix no_rast option on non-965. The no_rast fallback was getting partially overwritten by later TNL init, resulting in a segfault when things were in a mixed-up state.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
318f00ae9f9bca783d1d3aa7700109402f3e52cb |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: need to flush bitmap cache when raster color changes
tate_tracker/st_cb_bitmap.c
|
e2baf564d1b9716611d194cf117b329a92ad603d |
17-Jun-2008 |
Eric Anholt <eric@anholt.net> |
[intel-gem] Bug #16326: Fix X tile unswizzling on 965. Apparently a bit gets flipped in the addressing for some rows of each tile.
rivers/dri/intel/intel_span.c
|
93deede760e5a1309f1b948d91eae3d27f59ed97 |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: check if sampler->max_lod < sampler->min_lod
tate_tracker/st_atom_sampler.c
|
3ccbde627edb420071b08a830dd58ed5daf82ffa |
17-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: make mm.c use unsigned ints for offsets. If you have a GPU using this code and it has the offsets up in this space, this fails. cherry-picked from master
ain/mm.c
ain/mm.h
|
5b5bf2187497e8de53ca20db6c4fd4a211714b98 |
17-Jun-2008 |
Wilfried Holzke <sf@holzke.net> |
assorted glide driver fixes
rivers/x11/xm_glide.c
|
a1523c61eaa47825f0e4ca9076b83dcca19e1bd1 |
17-Jun-2008 |
Dave Airlie <airlied@redhat.com> |
mesa: make mm.c use unsigned ints for offsets. If you have a GPU using this code and it has the offsets up in this space, this fails.
ain/mm.c
ain/mm.h
|
27b7f896d4492021f8b8c35a69c28f5854ab1f90 |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Make LOD bias a persistent environment variable. Per airlied's suggestion.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
e9d1889891ce32ffb3d6425f1e70510ea2c3e24b |
16-Jun-2008 |
H. Verbeet <hverbeet@gmail.com> |
Compute/setup fog coordinates even if vertex program is enabled. Only when fog's enabled, of course. In the usual case, this is just a pass-through operation.
nl/t_pipeline.c
nl/t_vb_fog.c
|
ec2d0decbd739df99cac4baba57fe0005bf4894d |
16-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: allocate pixel zoom arrays on heap, not stack Fixes stack overflow on Windows.
wrast/s_context.c
wrast/s_context.h
wrast/s_zoom.c
|
bbce58802d9bf94eadbb0d0c0211a0768f8302aa |
16-Jun-2008 |
H. Verbeet <hverbeet@gmail.com> |
Don't compute vertex fog when fragment program is active.
nl/t_context.c
|
588abd66966a672a93e87cd577802255193bebcd |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Fix new incarnation of bug 3195. tests/bug_3195 doesn't render right, but at least it doesn't segfault this way.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.c
|
1738a9a535cbde3a4b9f1b57f2a47139b4affdb9 |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Forgot to clear old state before writing new state. Oooops. Hehe.
rivers/dri/r300/r300_tex.c
|
776580a6afff9c6403140737ea50f36e9323528a |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Enable LOD bias state emission. Properly set t->filter_1 for r300_state to emit. Expect buggies as people see LOD bias enabled for the first time...
rivers/dri/r300/r300_tex.c
|
f7b8a13d65e97b8a9812f813cc670e6b712d583d |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Oops, misordered a few instructions. Not like it matters, though, since it's not taking effect yet.
rivers/dri/r300/r300_tex.c
|
6e6ca40f29551b6f6cedea954874930e6470b0b9 |
16-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Unbreak LOD biasing, a bit. Needs a bit more work on submission.
rivers/dri/r300/r300_tex.c
|
4fc66be2964efb0fbce101264b898636f8f1c715 |
15-Jun-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
No more drivers/xorg Don't try to clean in xorg since GLcore is gone.
akefile
|
f1ae5d4b4471108049080b34c482a083ae74860a |
15-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Enable fragment.position, partial ARB_shadow. I don't like PROGRAM_BUILTIN; could we either patch Mesa or just use a different constant?
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
|
7413c55d93ccdf7ba58932d6186f1e6230df0e8a |
15-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Detangle FP fallback and translation switches. r5xx should fallback if it encounters a bad FP. TODO: Re-enable the dumb shader so we don't have to completely fallback.
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
|
43da1189610fcaa5ade69620734a7b1e5caf84c4 |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Add radeonTransformALU and fix a bug in r300_fragprog DPH This new generic transform replaces "special" instructions by more generic variants. Hopefully, we will be able to share this code between r300 and r500.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/radeon_program_alu.c
rivers/dri/r300/radeon_program_alu.h
|
825fdfd0c1fc9c82c8a880dea62a7fffc15d7373 |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Use less complex instructions MOV, ADD and MUL do not fit the hardware as well as MAD, but they are less complex and thus leave more room for future optimizations.
rivers/dri/r300/r300_fragprog.c
|
b97e48ffe3561288b5ebbebf7d439d4714fbb6a1 |
14-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: More FP rewriting; fix texrect FP insts.
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog_emit.c
|
69004fb758629d5c2d201241fc3d2907dd9afde3 |
14-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: New FP code, take two. Add the code emission source file, and comment out unneeded tex de-swizzling.
rivers/dri/r300/r500_fragprog_emit.c
|
0a341ef29657c1ead116c4acaca138551631de16 |
14-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: FP refactor, take one. Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
9704414d1376d449ad6a006a16be8139f82b5d81 |
14-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r3xx/r5xx: Don't force aniso. *Pulls paper bag down over head*
rivers/dri/r300/r300_tex.c
|
a1c0c56d70308a562c90cc01982c89ed1396c830 |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Implement GL_ARB_shadow and GL_EXT_shadow_funcs
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
|
83ad2a756ea8dd1b0ca9746e355ce3de0f29356e |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
texenvprogram: Mark textures using ARB_shadow as ShadowSamplers Since ARB_fragment_program and friends are defined to ignore the setting of the GL_TEXTURE_COMPARE_FUNC parameter, we have to explicitly enable the shadow comparison by marking the texture unit in ShadowSamplers when appropriate.
ain/texenvprogram.c
|
2882e5162525138316db9a1ab539a17498d06da1 |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Add radeonCompilerDump for debugging
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
|
e34dc8227c1fa8bc9ffcd311de701053a633a7ec |
14-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Refactor TEX transformation Streamlining source and destination registers, as well as texcoord scaling for RECT textures is now done in a radeon_program based transformation. The idea is that this will allow us to optimize away unnecessary indirections more easily.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
|
b5170bc9d32530ec93dae4b543d3552e83d6b4a1 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Add radeon_program and trivial refactoring of r300_fragprog to use it The idea/hope is that radeon_program will serve as an intermediate representation for r3xx up to r6xx fragment and vertex programs. Right now, it is nothing more than a simplistic wrapper around Mesa's prog_instruction, together with the notion of clauses, taken from r6xx docs. The clauses will eventually be used to represent the nodes that are used in r300 family fragment programs.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_emit.c
rivers/dri/r300/radeon_program.c
rivers/dri/r300/radeon_program.h
|
e2aa45c2f9584ff76151a99b4fcd0ecb56260473 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Do not include r300_fragprog.h from r300_context.h and other cleanups
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
caeabb1ebea33828e956efed19dce46767a068b4 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Remove dead declarations, move NOP declarations into source
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
4ba1c7d84826aaa07114872560cab3a428949499 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Refactoring and cleanup Refactor so that r300_pfs_compile_state "owns"/holds a pointer to r300_fragment_program instead of the other way round. This is more natural from an object orientation point of view. Move the compiled hardware state into r300_fragment_program_code, in anticipation of on-the-fly program recompilation based on external OpenGL state.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
|
defadd9c03c726d1e79bd911de07a2682bf78b01 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300_fragprog: Remove dead code
rivers/dri/r300/r300_fragprog.c
|
8b11fa4d4496032246b33182b9285c1181d41f1f |
14-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glapi bits around Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
lapi/dispatch.h
lapi/gl_table.py
lapi/glapi.h
lapi/glapitable.h
ain/blend.c
ain/context.c
ain/mtypes.h
|
e9a6832737e17fd41d1f9e660239bd0bd2355b0b |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some temp debug code
ain/context.c
|
2b4e2841a70ddba683158b4310b19c98037a2337 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: check FEATURE_ARB_occlusion_query
ain/context.c
|
b7669e4a8637a9680bcef0d0db82ae5e1984741c |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300/r500: Separate fragprog compiler structures r500 code still used r300_pfs_compile_state, which contains some fields that really only make sense on r3xx type hardware. In order to allow both fragprog implementations to go forward without disturbing each other, I've pushed this structure down into the respective r[3|5]00_fragprog.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r500_fragprog.c
|
4919cc3a2c5e779834a3ff362e417f36f12b2b17 |
13-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixup
rivers/dri/r300/r300_texstate.c
|
b1056b6127d2bd6fa39ba7d88b5a49cd2765c469 |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Reenable t->filter_1 (though currently not used)
rivers/dri/r300/r300_state.c
|
907b753ae62db8c2b266b18ed122eb00e1d66587 |
13-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Fix libglapi.a build for dri
akefile
|
2cc1b7c742aa1195e6f9cce2c9d0ded804af9dea |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: another attempt at fixing libglapi.a compilation for DRI builds If building for DRI, make a dummy/empty libglapi.a for now.
akefile
|
9350fd62b6b8dbee77b0c3c4f23195eaee3045d7 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix typo: s/stacks/stack/
ain/mfeatures.h
|
7ffb1230b3287a72d9ac59c5d830f7a4155cbdf9 |
13-Jun-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: make unbind a noop This is for loading swrast_dri.so from libGL. MakeContextCurrent() seems to unbind the context right after binding it and DRI drivers also have a noop DriverAPI.UnbindContext ...
rivers/dri/swrast/swrast.c
|
b8504534978ba7647838c29549d6698acb09a94f |
13-Jun-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Remove duplicate code.
tate_tracker/st_format.c
|
341987f68842d662168aa6386723ef9ac8080a93 |
13-Jun-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: add OpenGL 2.1 functions
rivers/dri/swrast/swrast.c
|
95b34baa8f981b08e21a36f9163d98a426559839 |
13-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
silly bug: it's PROGRAM_VARYING
hader/programopt.c
|
314c46060486ae77cb78b3d8be155813145fc72e |
13-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
silly bug: it's PROGRAM_VARYING
hader/programopt.c
|
928ec5cd3be5c7d6f3d9df0ace18371b1ec8c68c |
13-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: make sure we replace all output reads with temporaries test in if.glsl
hader/programopt.c
hader/programopt.h
hader/slang/slang_compile.c
|
53f5b9741a5453f9166aee8da6e1f8bf5b10d59e |
13-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: allow uniforms
hader/prog_execute.c
|
3911ef032745b18071f48a6ad343ece14202049c |
13-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: make sure we replace all output reads with temporaries test in if.glsl
hader/programopt.c
hader/programopt.h
hader/slang/slang_compile.c
|
e961a5da77cbcdb0e32400ec707c16fcfe9d7083 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add some #if FEATURE_x tests
ain/context.c
ain/enable.c
ain/texcompress.c
ain/texformat.c
ain/texformat.h
|
5b51cc020efc5519bc7cc34f6fcb4138eab76e0a |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add some #if FEATURE_x tests
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
|
6363960db55769db73021081b60f1028723d9f58 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unneeded #include
hader/prog_statevars.c
|
73f78dedad36a5bae6cac1845d297bb4357a2786 |
13-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add missing comma
Conscript
|
b19e8f720bb2f4d360f5497b64901fc48321f172 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: test for FEATURE_convolution
tate_tracker/st_cb_texture.c
|
cfe876371454074b598197582f8b01317b21eb51 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unused/old st_atom_fixedfunction.c file
tate_tracker/st_atom_fixedfunction.c
|
effb73befa56099ba78ef2d93be4f980dad157b3 |
09-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: fix array size initialiazers using const variables e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
hader/slang/slang_compile.c
|
19659a50f9356023c59942794bd4e6e075f120bd |
12-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
almost forgot - RelAddr is a boolean so use it here
hader/prog_print.c
|
2542c59c55589bdeaf56b9cf91625b0adf75e3ab |
12-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
shaders: fix allocation of arrays of parameters
hader/prog_parameter.c
|
74964ff04d89be430944dd8106bf5c97a9933f85 |
10-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: implement variable array indexes
hader/arbprogparse.c
hader/prog_print.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
494c40dbed2bd63f43f70c1e6f7b46399d0a6377 |
12-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
almost forgot - RelAddr is a boolean so use it here
hader/prog_print.c
|
38fdf130d4016197e9ecfa6beeade0362f9622eb |
12-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
shaders: fix allocation of arrays of parameters
hader/prog_parameter.c
|
68ef8e89a5f25cd9f80e2b9088604631a28edc3c |
10-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: implement variable array indexes
hader/arbprogparse.c
hader/prog_print.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
tate_tracker/st_mesa_to_tgsi.c
|
5ecb2f2d0fca0c5ea847d1968459aa0dd8138f14 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: restore and fix Keith's "further degenerate the special case lit substitute" There was a bug in emit_degenerate_lit() that caused the SLT to produce unpredictable results in lit.z Plus, added a bunch of new comments.
ain/ffvertex_prog.c
|
34ff12ca1fe7153671eea2fe084f3991094ec3ce |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Revert "mesa: further degenerate the special case lit substitute" This reverts commit e841b92d9c8bf48085b4996df828ae745977f931. This fixes two specular lighting conform failures.
ain/ffvertex_prog.c
|
11461f52be35d12bfe59ce0e9271cde8f118ed8e |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: update SConscript with recently added new source files
Conscript
|
222c80893a738b964dc75796d47545d88e6a6973 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move various ENUM_TO_x macros into macros.h
ain/get.c
ain/get_gen.py
ain/macros.h
ain/texenv.c
ain/texgen.c
ain/texparam.c
ain/texstate.c
|
77b794201a96300af4473307a7663500d62296e8 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexParameter-related functions into new texparam.c file
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texparam.c
ain/texparam.h
ain/texstate.c
ain/texstate.h
ources
|
7ecac78ab53016ae3db3dd601b187cb050037463 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexEnv-related functions into new texenv.c file
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texenv.c
ain/texenv.h
ain/texstate.c
ain/texstate.h
ources
|
27049189d6221fefe43eb55846efaa51742dcdf4 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glTexGen-related functions into new texgen.c file
ain/api_exec.c
ain/attrib.c
ain/sources
ain/texgen.c
ain/texgen.h
ain/texstate.c
ain/texstate.h
ources
|
3f3e4f645d389672e6d72215e60b812a887cc66d |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove obsoleted doxygen \param comments Someone changed the function parameters but didn't bother to update the comments. Also, whitespace changes, clean-ups.
rivers/dri/common/dri_util.c
|
8d976aedc4654bc66b80f22690e3674f1ef46183 |
12-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
rivers/dri/intel/intel_screen.c
|
6f7ed99b306990f284f9d57c0b66efaa7f2277e1 |
12-Jun-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
revert the DRI2 commits
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/spantmp2.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/common/xmlconfig.c
|
407ce3da3c53c9ebba0fbf827d7b0f610122d44b |
11-Jun-2008 |
Eric Anholt <eric@anholt.net> |
[intel-gem] Chase domain flag renaming in the DRM. This is an API breakage only.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
|
0227d91a9e3cf65aae3266d100eebd3459dff4c3 |
11-Jun-2008 |
Eric Anholt <eric@anholt.net> |
[gem] Enable bo_reuse by default. The objects are swappable, so we're less concerned by excessive object allocation now, and it's about a 20% performance improvement. If we get concerns about the memory consumption from others, we can look into a compromise position later.
rivers/dri/intel/intel_screen.c
|
4566b006f1a6bbdb96871e511e10e16f18bad23e |
10-Jun-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Bring in DRI2 changes
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/spantmp2.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/common/xmlconfig.c
|
e4cfe0854ad968193106048179b9b52ec1768f41 |
11-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: fix some FEATURE_ typos, mistakes
ain/mfeatures.h
ain/rastpos.c
|
0f36a29d5e6a50240e2c1469af68b7ac556afdc9 |
11-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: work-around glapi.c build problem for dri configs
akefile
|
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 |
11-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move #define FEATURE flags into new mfeatures.h file Also, check the FEATURE flags in many places.
ain/api_exec.c
ain/api_exec.h
ain/api_noop.c
ain/config.h
ain/context.c
ain/mfeatures.h
ain/state.c
ain/texformat.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.c
bo/vbo_exec_api.c
|
ef27bdbfa8fd4b7cdd7f1ab0e65bc30f17150d2e |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: include mtypes.h
hader/atifragshader.h
|
4c1892ca89b549899b9f3080373919c9036747fe |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unnecessary swrast, tnl includes
bo/vbo_save_loopback.c
|
9563449c14f06b0927adecf36711c034b561e121 |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unnecessary swrast, tnl includes
bo/vbo_save_loopback.c
|
00d90fe845de46649528e3599c0eb42203e78309 |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove stray include of st_context.h
ain/renderbuffer.c
|
c233b4245f7fcb667260278f3007d21044e62142 |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
add some missing rule dependencies
akefile
|
5493c775b7dcf899b14efeaa27916c2b470475b0 |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
add some missing rule dependencies
akefile
|
a742bed99ae840d806198172005f6b25399ec573 |
10-Jun-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glsl
rivers/dri/i965/brw_wm_glsl.c
|
5f46bf77af5f49e63976ad51c5b4a7da8490be3e |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Xlib libGL.so fixes from master
rivers/x11/Makefile
|
72f87b69471649ff02e80a89f902b69980f3d025 |
10-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix Xlib libGL.so build problem. Also, build driverfuncs.c into libmesa.a since it's always needed.
rivers/dri/Makefile.template
rivers/x11/Makefile
ources
|
0116ec1af36356c0ee845b3d1384e73316052497 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove unused api_eval.h header file
ain/api_eval.h
ain/sources
bo/vbo_exec_eval.c
|
eded7f010d344a909cf9c403eb3bdad91804d174 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_update_minmax/histogram() into image.c
ain/histogram.c
ain/histogram.h
ain/image.c
|
bce428c4a65fdcb890ea18bf4a1dfb42ed109006 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move multisample-related functions into new multisample.c file
ain/api_exec.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/multisample.c
ain/multisample.h
ain/sources
ources
|
9091015a9782ad15e58540a8fd61df83ea2bfe31 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/dlist.c
ain/framebuffer.c
ain/framebuffer.h
|
eade430682516a445a2bf765165362dad19594f0 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glClear, glClearColor into new clear.c file.
ain/api_exec.c
ain/buffers.c
ain/buffers.h
ain/clear.c
ain/clear.h
ain/sources
ources
|
8cad3189d3346bce3eee1976f1b5cf32da9dd9a7 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: include scissor.h
tate_tracker/st_context.c
tate_tracker/st_framebuffer.c
|
4be7296bfcba22a849f949d105ea385e6964cc25 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move scissor functions into new scissor.c file
ain/api_exec.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/scissor.c
ain/scissor.h
ain/sources
ources
|
b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
ain/api_exec.c
ain/api_exec.h
ain/context.c
ain/sources
ain/state.c
ain/state.h
ources
|
74c82ebbb399a274dcfb5e82d3471dee59bd5183 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move pixel map/scale/bias code into image.c pixel.c is just the API-related code now.
ain/image.c
ain/image.h
ain/pixel.c
ain/pixel.h
wrast/s_texcombine.c
|
5f91007f996d0b7e3233f221a6b0056203e356d2 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: new _mesa_init_pixelstore() function
ain/context.c
ain/pixel.c
ain/pixelstore.c
ain/pixelstore.h
|
d960a0621d65ae9977efe9bbb51dce9e1571b114 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glReadPixels code into new readpix.c file
ain/drawpix.c
ain/drawpix.h
ain/readpix.c
ain/readpix.h
ain/sources
ain/state.c
ources
|
f26baad2e1e8cb3c24fa64cc31869ec7b27d71ff |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: refactor: move glPixelStore function into new pixelstore.c file
ain/pixel.c
ain/pixel.h
ain/pixelstore.c
ain/pixelstore.h
ain/sources
ain/state.c
ources
|
ffeb90169fd54d6e364a308a9b997437426e1b83 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/SOLO/MESA/
akefile
|
f6246f85d7c87180b464f84f330385680a82a601 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/SOLO/MESA/
akefile
|
4f15e3eefbd31b4fdcf90c2798d0cb41c893b049 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: chmod a-x context.c
ain/context.c
|
910b3bfaeb372ef0e20c6b05c64c3721b739a442 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Makefile clean-ups
rivers/directfb/Makefile
|
a80ccaadc77acbf835aa7139d75ea166efd8553f |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
more old stuff, rename SOLO->MESA, etc
ources
|
08c07b60be7c21819c78a3281dc9b5a9b547431b |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Makefile clean-ups
rivers/fbdev/Makefile
|
d7205ba971a348a57d50c331cb49afbd81067736 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Makefile clean-ups
rivers/directfb/Makefile
rivers/fbdev/Makefile
|
ac7f416bda4506583ef577d62fee4a4d0ce890c4 |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
more old stuff, rename SOLO->MESA, etc
ources
|
137dbe7eb1f2b955552a06ea6b9179419947981b |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: disable VF_SOURCES
ources
|
5f621f68dd449f6e5e141a85718e2a2c5d2a56fb |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove some obsolete gallium bits
ources
|
44c347c49e5b7b4be01055762da4727de2a987ff |
09-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: get rid of FBDEV/SVGA/etc bits
ources
|
1954f49a171036c633614450e591307833421aca |
09-Jun-2008 |
Zack Rusin <zack@tungstengraphics.com> |
glsl: fix array size initialiazers using const variables e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
hader/slang/slang_compile.c
|
5cf69fe511a67a7bcf6787974becf6a143abb507 |
09-Jun-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check for NULL pointer
rivers/dri/common/dri_util.c
|
4c7e02298f68b84d929cd1d3af8b3120281c2e32 |
09-Jun-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: minor cosmetic
rivers/dri/swrast/swrast.c
|
2e3e5184176debb66bdd7f5f606cf95b7fee91bb |
09-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supported
ain/texformat.c
ain/texformat_tmp.h
|
00099731195b2e5b57b8bca6342a8a711e0e427a |
08-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Workaround hardware readcache problem This workaround is similar to the one found in r200_span.c. It seems like some part of the read hardware doesn't realize that VRAM has changed. By reading from an arbitrary position, this is fixed. The piglit test bugs/r300-readcache is a regression test for this bug.
rivers/dri/r300/radeon_span.c
|
f440b0ddd9690a2f8d7b7eed9b56ff77407b9114 |
08-Jun-2008 |
Brian <brian.paul@tungstengraphics.com> |
remove realglx.[ch] from build
rivers/x11/Makefile
|
f4535f6e5ae63d8c59428cf190a95e0eb4ae233d |
06-Jun-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Add MESA_FORMAT_S8_Z24 texture format None of the fetch and store functions implemented. This atleast stops shadowtex from locking the GPU on i915 with the linux-dri-x86 target. It most of it looks okay, with the exception of actually displaying the texture.
ain/texformat.c
ain/texformat.h
tate_tracker/st_format.c
|
28c28f72fd9ed192467a3cf913b344951d0bc805 |
08-Jun-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
i965: fix OPCODE_TEX when additional ops are needed
rivers/dri/i965/brw_wm_fp.c
|
21f50818b09c1ab3b5b1dc797b34c23b9b1634dc |
07-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r300: Allow driconf to set a default anisotropy. If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
rivers/dri/r300/r300_tex.c
|
cb1687660844d42f929e11a2261c0eeb3fe859be |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Some cleanups in depth and stencil state handling This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
7cb63a25de47bd941efd04c39d2758c2e91a313a |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Apply writemask when clearing stencil buffer This fixes the glean/maskedClear test.
rivers/dri/r300/r300_ioctl.c
|
731686b7132ff50d78ef2dc5bfab550750925132 |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix stencil buffer clear The glean/readPixSanity test passes now.
rivers/dri/r300/r300_ioctl.c
|
75bfe630ff9df8b827cbdbf88b08e5da5d3eccfa |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Further anisotropic filtering fixes Thanks to Corbin for the initial cut today. Fixed some minor stuff (in particular, make sure we still use a MIP_LINEAR filtering mode; anisotropy without MIP_LINEAR filtering is not the truly pleasing anisotropy).
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_tex.c
|
bf1a7c884d02d4a59ad51a446dec3736959d8239 |
07-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Update LOD_BIAS register constants
rivers/dri/r300/r300_reg.h
|
5e58e5d77792891fac953ff0ec30990f3e0ca854 |
07-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Unbreak anisotropic filtering? Not quite finished, maybe? Not sure.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_tex.c
|
f39780242e0dc7060d716fe255977a0a89734945 |
07-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix speedy LIT once and for all. To do: Add a slightly more accurate LIT. Will do later.
rivers/dri/r300/r500_fragprog.c
|
fa1bc0d7d600b25ec1b9fce157a8c8ddc6723564 |
06-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Improve texture layout calculations The texture layout calculations for mipmapped cubemaps used to be completely wrong, since the GPU expects images to be grouped by miplevel instead of by face number. This has been fixed now, though the memory layout is still slightly incorrect for the smaller miplevels. Unfortunately, the docs are lacking in that area.
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
f5d03af109e0c6fdd7cc6786f8ae40f8ae626f5a |
06-Jun-2008 |
Keith Packard <keithp@keithp.com> |
[intel-gem] Call the new throttle ioctl from swap buffers Swap buffers is a fairly reasonable time to wait for the hardware for a while; this keeps us from overrunning the ring.
rivers/dri/intel/intel_buffers.c
|
03a1144cd1de9425a0bc5ceec98f9c49fa19ac6d |
06-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Cleanup TX_MIN_FILTER defines This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
665605234d2aed2baa22fa621fa02478b2c08a4d |
06-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Remove unused variable r300_tex_obj::dirty_state and related defines This variable was only ever written to, but nobody used its value.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.h
|
53076e8b5bce9ddf6eb524b8009db67eb5d3389b |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: sync up with latest Makefile changes on master
akefile
rivers/Makefile
rivers/beos/Makefile
rivers/directfb/Makefile
|
0b72fada6aa3e15cee62c806057ebf986f34433d |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/subdirs/asm_subdirs/
akefile
|
1d5b51abc8e9b3ba53a0854c27694309e740f256 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
move the install rules
akefile
|
bde6b57e48693ee87676f4ff1e0bef54b426eeb5 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove stray semicolon
akefile
|
847f54e2fa3e1b92ee97e7c2895a71ed20ce227b |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
move a beos-ism down into drivers/beos/Makefile
akefile
rivers/beos/Makefile
|
dd750e0763d4a03a41d8a4ebde9489ad9c4aa82f |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the old, complicated default build rule; use the new driver_subdirs rule Also, all the old driver-specific rules are now gone.
akefile
|
358dcd71783beb69c4e3923138cf92c27b871159 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove more old stuff, insert new driver_subdir build rules (but not enabled yet)
akefile
|
04c6ca99dd194aac085c81044f876c17cd27baee |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
new drivers/Makefile with simple default/clean/install rules
rivers/Makefile
|
c9739b20555847c398e7b52fb0e580d86f958430 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
move directfb-libgl into drivers/directfb/Makefile
akefile
rivers/directfb/Makefile
|
e4fda51404a6a05c4047a639de4ccc3ea9678c2c |
06-Jun-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: turn off ffvertex prog debug
ain/ffvertex_prog.c
|
eb189c856d5fa4e4b083a2b265e30aa7548d0613 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
sync up with Makefile changes on master
akefile
rivers/fbdev/Makefile
rivers/x11/Makefile
ources
|
f8563ddddb9edf056c3c0a5f676f93620c4ce37d |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move fbdev driver construction into src/mesa/drivers/fbdev/Makefile
akefile
rivers/fbdev/Makefile
|
b55694512a1a762ddbe171775cfe2639a12f5606 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
reorder some lines, more make clean cmds
akefile
|
4a68b62b86249307ade3ca5a9ca531e283ab7dcb |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove X11, Glide, OSMesa sources
ources
|
e89e94e01a40bbaf9e77055c6cddddba0ddbc188 |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added dependencies
rivers/x11/Makefile
|
2b84b22bad33e14227abcfab53f93100efac976f |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move building of stand-alone Mesa into drivers/x11/Makefile Also, some re-org, renaming, and general clean-up. We're just a few steps away from removing the all the special case rules for building drivers.
akefile
|
ea7eb9a374bec4160b07b3c2315c00d9416daf7f |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
new Makefile for building "stand-alone", Xlib-based libGL
rivers/x11/Makefile
|
bf5e573926b2b007cb238afae86207e075603f1e |
06-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
prefix some includes with mesa/ or glapi/
rivers/x11/glxapi.c
rivers/x11/xm_api.c
|
949600b69356ac470d7df14e96e72c2333568ee1 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile This removes some cruft from src/mesa/Makefile. Something similar could be done for stand-alone / Xlib-Mesa libGL...
akefile
rivers/osmesa/Makefile
|
20e2bb3e8aa8f41246be6319a67f89de42f50344 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
insert mesa/ before include files (picked from master)
rivers/osmesa/osmesa.c
|
18906b7904842e8a43257b179335c600a40fe142 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move construction of libOSMesa.so into src/mesa/drivers/osmesa/Makefile This removes some cruft from src/mesa/Makefile. Something similar could be done for stand-alone / Xlib-Mesa libGL...
akefile
rivers/osmesa/Makefile
|
91b491debea274cc4dfc12130624935d4ebd9728 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
insert mesa/ before include files
rivers/osmesa/osmesa.c
|
d607e30232add2358e915027d030ac094394b08e |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: always build libglapi.a, updated subdir, gl.pc rule code from master
akefile
|
cca1ae79aa8a06205c93a39be780b32adb194022 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Makefile comment
akefile
|
16e8ee33bd3db1b14a97b3ddd2a7a8833851f8fb |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions
ain/attrib.c
ain/points.c
ain/points.h
ain/state.c
|
feb722fa98f04a4487b7ec4746bcc8c7296899c8 |
05-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for VBO funcs
ain/varray.h
bo/vbo_exec_array.c
|
028fd5594cd6becfdfc0820b1083729c6033e363 |
04-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set the attribute as used. cherry-picked from gallium-0.1
hader/slang/slang_link.c
|
25641d599fcf770e214bf078ee35b6aae1d7c73e |
04-Jun-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Set the attribute as used.
hader/slang/slang_link.c
|
5c9c6b0d2398715d035e939eb8672ed7e95cfec5 |
04-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
scons: Generate matypes.h at build time. Also cleanup mesa SConscript.
Conscript
|
fc286ff3ba089af5f1aca2d35b93b53a9383b1cf |
04-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Remove assyntax.h include from generated matypes.h. matypes.h doesn't really depend on assyntax.h; assyntax.h is only present on x86; and this way we remove the need of grep being available (which is relevant for scons and non-unix platforms).
86-64/Makefile
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/gen_matypes.c
86/mmx_blend.S
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
9e95fad02e1d8690deba91a8f30d722f039366ff |
04-Jun-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221)
rivers/dri/i915/i915_texstate.c
|
dbf3c5247c90bd35c0b2002e3b972a2dd4c8b130 |
04-Jun-2008 |
Keith Packard <keithp@keithp.com> |
Merge commit 'origin/master' into drm-gem Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h src/mesa/drivers/dri/intel/intel_ioctl.c
|
0b734bd7cf921592eee441f759687e10f48a2cbc |
28-May-2008 |
Dave Airlie <airlied@redhat.com> |
mesa/drm/ttm: allow build against non-TTM aware libdrm I'll release a libdrm 2.3.1 without TTM apis included from a special drm branch that should allow mesa 7.1 to build against it. I've had to turn off DRI2 stuff.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_ioctl.c
|
4b5b008d54e86ac4f0a2176429d062100978ca8c |
03-Jun-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Convert drivers to using libdrm bufmgr code.
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/i915/Makefile
rivers/dri/i915/intel_bufmgr_fake.c
rivers/dri/i915/intel_bufmgr_gem.c
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_bufmgr_fake.c
rivers/dri/i965/intel_bufmgr_gem.c
rivers/dri/i965/intel_bufmgr_ttm.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_fake.h
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_bufmgr_gem.h
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
|
f688827ebdc7fa8ef1160086565f9e109768a250 |
02-Jun-2008 |
Ian Romanick <idr@us.ibm.com> |
bug #16503: use INSTALL macro instead of hard-coding to bin/minstall This is only part of the fix. Someone with more autoconf-fu will have to fix the rest
rivers/dri/Makefile
|
96adcc2e214e2fdc2ad15ecac20b1066c6cdd1ca |
01-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
[t_vp_build] Fix refcounting-related memory leak This memory leak is identical to the earlier one in texenvprogram. Fixed by not creating an additional reference to new programs in cache_item. On top of that, remove some duplicated state setting.
nl/t_vp_build.c
|
934a53eb4406df9297f86cf12cacf5ba423e8af7 |
01-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
[texenvprogram] Fix refcounting-related memory leak. All newly created programs have RefCount == 1, but the fragment program cache added an additional reference in cache_item, with the result being that none of the programs were ever freed. Solve the problem by not creating the additional reference in cache_item.
ain/texenvprogram.c
|
7ead1c5d061b86027cb5e821fdcaa9cdce1d9537 |
01-Jun-2008 |
Dave Airlie <airlied@linux.ie> |
r500: add missing brackets around depth testing
rivers/dri/r300/r500_fragprog.c
|
915e49e0fd61d7b8eee304d756813455612e98d9 |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Enable depth write emission. Thanks to nh for the r3xx version.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
c9ea62444c6969da8706ea88e12df8c458a6acce |
01-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx) Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
|
d9c7c5f071f5bf2a7516d877c9ab84b2b2b91779 |
01-Jun-2008 |
Nicolai Haehnle <nhaehnle@gmail.com> |
[r300] Fix KIL instruction and swizzling of texture coordinates The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
|
3225e2cdb60868ace70db16407ec5cf5fc64be3c |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_FLR. Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
rivers/dri/r300/r500_fragprog.c
|
9a34c68faf2a9e83e60ed4833816db56342f658d |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Last emit_sop() for now. This should also clean up LIT later on.
rivers/dri/r300/r500_fragprog.c
|
bffa0909cbd395aac7d974c0475dc7ed9fd208a9 |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: More emit_sop(), stage 2. SIN/COS.
rivers/dri/r300/r500_fragprog.c
|
ea58dceb1c803953d3a9b77adcac5ee131d1c038 |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Cleanup SOP with emit_sop(). I wish I had a snarky commit message, but I'll save that for after I get the trig working with this.
rivers/dri/r300/r500_fragprog.c
|
c9679ce1d22e706bfe1cdc6a5cf8553ffedb2842 |
01-Jun-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Dump shader constants when dumping program assembly.
rivers/dri/r300/r500_fragprog.c
|
7013eecf282d2b1151cdb5cd3ba356295e1e1b79 |
01-Jun-2008 |
Dave Airlie <airlied@linux.ie> |
r300: disable the lowimpact fallbacks by default. because really we should be able to just fix the driver.
rivers/dri/radeon/radeon_screen.c
|
a3212ee313c52ff4fc15804a3b4ddfb186556575 |
31-May-2008 |
Michal Krol <michal@tungstengraphics.com> |
mesa: Fix build after TGSI declaration interface changes.
tate_tracker/st_mesa_to_tgsi.c
|
ffc6afcdbf14b5d26bd3665a269fdd28d944afed |
31-May-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
scons: Enable mesa state tracker in all platforms by default. But only actually build it on some. This results in a better default scons experience.
Conscript
|
53174afeeb68a79e471185cb463c13ff90af698f |
31-May-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Apply MSVC portability fixes from Alan Hourihane.
ain/api_arrayelt.c
ain/api_validate.c
ain/context.c
ain/dlist.c
ain/drawpix.c
ain/framebuffer.c
ain/get.c
ain/image.c
ain/light.c
ain/mipmap.c
ain/pixel.c
ain/queryobj.c
ain/rastpos.c
ain/texenvprogram.c
hader/prog_execute.c
hader/prog_statevars.c
hader/prog_uniform.c
hader/shader_api.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_bitmap.c
bo/vbo_exec_array.c
bo/vbo_split_inplace.c
|
a947c1a3fe100dfc1ac519010673d1136f1dcd08 |
31-May-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r500: Use 8bit fog alpha compare value. This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
rivers/dri/r300/r300_state.c
|
fccc427aac17b3fa17160332e6e6f3c2cef25ca5 |
31-May-2008 |
Eric Anholt <eric@anholt.net> |
[intel-gem] Remember last offset of reused BOs to avoid more kernel relocs. This is good for about 5% on ipers on 965, and should help any cpu-bound app.
rivers/dri/intel/intel_bufmgr_gem.c
|
63faab0150c3394bd9532e621947d2a31b9712ea |
30-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: undo accidental setting of _ForceEyeCoords
ain/light.c
|
df7d1ee2a5270be2d329fd0614a608357917bb74 |
30-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156) This was previously fixed in master by commit 982dcb74fd19b88208d127b8019e2a2af979cac2 by Haihao Xiang.
bo/vbo_save_api.c
|
3869c3c87a40d9f41414082ad8dd3d747e6b34d8 |
30-May-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
Merge branch 'gallium-tex-surfaces' into gallium-0.1 Conflicts: src/gallium/drivers/i915simple/i915_context.h
|
012c0dd6321e858af22389f98201c8dcb8f8780c |
30-May-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
sis: Removed useless comment
rivers/dri/sis/server/sis_common.h
|
4a69c4173d6bf120b5abbcb38072fa053918d393 |
29-May-2008 |
Luc Verhaegen <libv@skynet.be> |
Fix segfault on exit in unichrome driver (bug 16150)
rivers/dri/unichrome/via_context.c
|
645c131264ae169cf64753a930ada500b6933fe7 |
29-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Assorted Windows fixes (Karl Schultz)
rivers/windows/gdi/wgl.c
|
a1a0e51043cc6feea7811113139cb5b6d753403e |
28-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use the GLuint64EXT type defined by GL_EXT_timer_query Removes some compiler #ifdef stuff.
ain/texcompress_fxt1.c
|
bb2e13b9e82b68ec3b9fc56a4c35e7ead8fd138f |
29-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: make sure constant buffer data is aligned before passing to aos.c
tate_tracker/st_draw.c
|
82605d7bcd533d7c96cc619c45970efd7229dc3b |
29-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: draw_range_elements trial
tate_tracker/st_draw.c
|
328621509f4690fb945201a90425662e4fd2fc2d |
29-May-2008 |
Dennis Kasprzyk <onestone@opencompositing.org> |
R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
377016d728ace47c9eeb3ac2f01191608ab060f6 |
29-May-2008 |
Dennis Kasprzyk <onestone@opencompositing.org> |
Report correct damage rectangle in CopySubBuffer.
rivers/dri/common/dri_util.c
|
d8395f9d9eed4040d6fa12f1631dd7c372c73be4 |
27-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-gem] Once mapped, leave buffers mapped. Mapping and unmapping buffers is expensive, and having the map around isn't harmful (other than consuming address space). So, once mapped, just leave buffers mapped in case they get re-used.
rivers/dri/intel/intel_bufmgr_gem.c
|
74a217fbcd8ea05dc97eda06eb0b46e35979579d |
29-May-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: fix R300_FG_ALPHA_FUNC_VAL_MASK
rivers/dri/r300/r300_reg.h
|
5adc76389825a7a073ae37e78b1771ee7e30e9a4 |
28-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated function list
rivers/windows/gdi/mesa.def
|
7fd6cd9af31a6b02564359f820d478ceb970fc7d |
28-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces
|
938d9d596324e411fde5312f2bb65b444c502c37 |
28-May-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
Merge branch 'gallium-vertex-linear' into gallium-0.1 Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
|
3e6c791390fd03ca04302f1312b94cd3c5ca0054 |
28-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300: disable cmdbuf debug again
rivers/dri/r300/r300_cmdbuf.c
|
261a15cf6389eba434d6857e78b524707803ed08 |
28-May-2008 |
Dave Airlie <airlied@redhat.com> |
Merge branch 'r500-support' Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
|
85af4fde7fd5c7f6a6976fbd9d6529a9082f42b7 |
28-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: remove warnings and only start on newer drms. This removes lots of warnings to the user, and only allows the driver to run on > .29 drms for r500 cards.
rivers/dri/radeon/radeon_screen.c
|
867f5aac5361eda657491a98feca33c91eae3218 |
28-May-2008 |
Alex Deucher <alex@botch2.com> |
R3/4/5xx: update to use drm get_param for num gb pipes
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
5552500cdfc4b97f5c824f6af1f8213c785693f9 |
28-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: cleanup warnings and include files
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
6525d250a8d6950c4b1dc27e15ad369c383c2827 |
27-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
set version string to 7.1 rc1
ain/version.h
|
44a7bd0019b9af9ff01336df0aa6eb206f5dc2e9 |
27-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Always unreference bitmap cache texture before resetting the cache. Fixes assertion failure with tunnel2 demo.
tate_tracker/st_cb_bitmap.c
|
e903f51bc43fde1f61a779fd8017c96a651781ac |
27-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
allow GLX_SAMPLES_ARB==0 (bug 16073)
rivers/x11/fakeglx.c
|
0ccffacee268ec80e5ef680d75cbbf8ed9603342 |
27-May-2008 |
Jouk Jansen <joukj@hrem.nano.tudelft.nl> |
updated for latest sources
hader/descrip.mms
|
2109ddafefde26dd20a1c6a25f594984143944a3 |
27-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
ffvertex: emit full LIT when attenuating (needs the 1 in X position)
ain/ffvertex_prog.c
ain/light.c
|
8c39e24ec397200420146faa4f48672eadeac9b2 |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_XPD. In working condition, I might add. And we're officially finished with the ARB_fragment_program instruction set. It's worth noting that LIT is still not reliable. SIN and COS were fixed a few commits ago. We're finished with stage 1! Whoohoo!
rivers/dri/r300/r500_fragprog.c
|
dc1537bc25c7cbff0a41034ece0830146616f036 |
27-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
ffvertex: don't compute whole eye vector if only eye.z is required
ain/ffvertex_prog.c
|
a242b331c6567af20d3cad804664bda30e1e9586 |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Just a few small LIT fixes. Still broken; will fix tomorrow.
rivers/dri/r300/r500_fragprog.c
|
9412aee4dc6a94ffc3d4043e8c843ba051f5507b |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix emit_mov() regression. Specifically, fix improper swizzling.
rivers/dri/r300/r500_fragprog.c
|
eee53dfb22e0c950b11a466ebcd5d764864229cd |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: the cs is shared per context - doh so don't use for program upload. Also remove some unused bits of the r500 fragprog struct
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
7278266612fe6be91b30b084de666a1ac4f2c20b |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: need to re-setup inst offset/end for translated programs this fixes texenv
rivers/dri/r300/r500_fragprog.c
|
774b3bc5a57dc768ed09516a6b91358783c63f72 |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: reset fp/fp_const counts
rivers/dri/r300/r300_state.c
|
4af22c9076954d544417e615561695695773708d |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300/r500: emit flush inside vap_cntl state atom Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
8eb7df63029ebc7c30c67c0266d727f9c240b402 |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: hopefully fix 4096 texture harder
rivers/dri/r300/r300_texstate.c
|
b5372746ffcaab4ce158c1ca205e039a561ca01f |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix FP temp counting. One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding...
rivers/dri/r300/r500_fragprog.c
|
9f03e93de9a0b75485d1de8a990513b0c2582385 |
26-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: remove debugging
rivers/dri/r300/r300_state.c
|
7b88f40116cc6ccff5c0f7c923a0dca31187480e |
26-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300/r500: fix r500 fragment program texture unit references
rivers/dri/r300/r300_state.c
|
5a5ba350696e6b753a9e49da010513670b697db5 |
27-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: initial support for tmu mappings
rivers/dri/r300/r300_state.c
|
b57ba7c5b0205ad6885530f63cef85401386565b |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Enhance emit_mov(). Now we can add arbitrary sources and swizzles. Will make many things smoother.
rivers/dri/r300/r500_fragprog.c
|
5499685931cac382bffb053ab527d882a7d0e109 |
27-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Moar LIT. Still not working, but getting closer.
rivers/dri/r300/r500_fragprog.c
|
a2db33219debbc1a2a64a8b096b321d263cfacb5 |
26-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: First stab at LIT.
rivers/dri/r300/r500_fragprog.c
|
f172148c6e3246ffd7c3a33f16d2ac6faca9d6cf |
26-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage()
tate_tracker/st_cb_fbo.c
|
635abed109b26ded34954c379b80e306c602384b |
26-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage()
tate_tracker/st_cb_fbo.c
|
fc72d7e032fc0a4130fae53106f03aa3fbe4e99e |
26-May-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove CVS keywords.
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_bitmap.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_fifo.h
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_lines.h
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_lock.h
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_state.h
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tex.h
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_tritmp.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_vtxfmt.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/ffb/server/ffb_regs.h
rivers/dri/gamma/gamma_client.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_regs.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/gamma/server/glint_common.h
rivers/dri/gamma/server/glint_dri.h
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i810/server/i810_common.h
rivers/dri/i810/server/i810_dri.h
rivers/dri/i810/server/i810_reg.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i965/server/i830_common.h
rivers/dri/i965/server/i830_dri.h
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/mga/server/mga.h
rivers/dri/mga/server/mga_bios.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_macros.h
rivers/dri/mga/server/mga_reg.h
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_macros.h
rivers/dri/r128/server/r128_reg.h
rivers/dri/r128/server/r128_version.h
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_macros.h
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/sis/server/sis_common.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.h
rivers/dri/tdfx/X86/fx_3dnow_fastpath.S
rivers/dri/tdfx/X86/fx_3dnow_fasttmp.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_glide.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/svga/svgapix.h
rivers/windows/gdi/wgl.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/gld_debug_clip.c
rivers/windows/gldirect/gld_debug_norm.c
rivers/windows/gldirect/gld_debug_xform.c
rivers/windows/gldirect/mesasw/colors.h
lapi/mesadef.py
parc/norm.S
parc/sparc.h
parc/xform.S
86-64/x86-64.c
86-64/x86-64.h
86-64/xform4.S
86/3dnow.c
86/3dnow.h
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/clip_args.h
86/common_x86_asm.h
86/common_x86_features.h
86/common_x86_macros.h
86/norm_args.h
86/sse.h
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86.c
86/x86.h
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
86/xform_args.h
|
77ce568ff704e6cdcfaa557965c894752d19e462 |
26-May-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove CVS keywords.
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_bitmap.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_fifo.h
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_lines.h
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_lock.h
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_state.h
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tex.h
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_tritmp.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_vtxfmt.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/ffb/server/ffb_regs.h
rivers/dri/gamma/gamma_client.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_regs.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/gamma/server/glint_common.h
rivers/dri/gamma/server/glint_dri.h
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i810/server/i810_common.h
rivers/dri/i810/server/i810_dri.h
rivers/dri/i810/server/i810_reg.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i965/server/i830_common.h
rivers/dri/i965/server/i830_dri.h
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/mga/server/mga.h
rivers/dri/mga/server/mga_bios.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_macros.h
rivers/dri/mga/server/mga_reg.h
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_macros.h
rivers/dri/r128/server/r128_reg.h
rivers/dri/r128/server/r128_version.h
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_macros.h
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/sis/server/sis_common.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.h
rivers/dri/tdfx/X86/fx_3dnow_fastpath.S
rivers/dri/tdfx/X86/fx_3dnow_fasttmp.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_glide.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/svga/svgapix.h
rivers/windows/gdi/wgl.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/gld_debug_clip.c
rivers/windows/gldirect/gld_debug_norm.c
rivers/windows/gldirect/gld_debug_xform.c
rivers/windows/gldirect/mesasw/colors.h
lapi/mesadef.py
parc/norm.S
parc/sparc.h
parc/xform.S
86-64/x86-64.c
86-64/x86-64.h
86-64/xform4.S
86/3dnow.c
86/3dnow.h
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/clip_args.h
86/common_x86_asm.h
86/common_x86_features.h
86/common_x86_macros.h
86/norm_args.h
86/sse.h
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86.c
86/x86.h
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
86/xform_args.h
|
e3ddafd1d32192f4638d4930627ad66624325561 |
26-May-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
Merge branch 'gallium-tex-surface' into gallium-0.1 Conflicts: src/gallium/include/pipe/p_util.h
|
924eaa2f955ecdc1080f5a8fdc165367a576a919 |
26-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel] all flushing in intelEmitCopyBlit Add both MI_FLUSH and intel_batchbuffer_flush to intelEmitCopyBlit. This ensures that the data are flushed *and* the gem kernel driver sees the various memory domain transitions.
rivers/dri/intel/intel_blit.c
|
21b352bb146e1b35050c1315b0d44689dcfdc8d6 |
26-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Replace copyright on r500_fragprog.c Huh, could have sworn I already did this once before... Maybe I forgot to commit it?
rivers/dri/r300/r500_fragprog.c
|
8ba91b4636a04145e683e7d7fe5ee5ff404d73ac |
26-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel] Enable buffer re-use for gem Use the new DRM_IOCTL_I915_GEM_BUSY ioctl to detect idle buffers for re-use.
rivers/dri/intel/intel_bufmgr_gem.c
|
27d8fcd506942b115e480cfe9ca811194736579a |
26-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Unbreak texture swizzling.
rivers/dri/r300/r500_fragprog.c
|
f776f693c0aca4d01cc2bfdaedbb527062189e6d |
25-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Massive MAD cleanup. Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors.
rivers/dri/r300/r500_fragprog.c
|
594760148cb42cdaf568eef63357fac1c1b7f124 |
25-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Negation masks for every inst except SWZ. Yay?
rivers/dri/r300/r500_fragprog.c
|
bd74d2aa26a2b87b05e8d086c020a6bdde9e06a7 |
25-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: More emit_alu(). Converted ADD.
rivers/dri/r300/r500_fragprog.c
|
810270ad11d51c65e33bbe9337c2db9dd4cebb98 |
25-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add emit_mad() for FP. If it uses MAD, emit it with emit_mad()! (Now available at your local grocer's. Multiply and add responsibly.)
rivers/dri/r300/r500_fragprog.c
|
f1d04cd76681a3b8d37bc1a06b7ab36350087135 |
24-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Consolidate FP tex insts. They're all the same, really.
rivers/dri/r300/r500_fragprog.c
|
b6b51906824bbf02769eeaf42646ff709877ae42 |
24-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix SGE/SLT.
rivers/dri/r300/r500_fragprog.c
|
6f918a9fda91321b50ae327791787f21417226c8 |
23-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Remove some debugging cruft.
rivers/dri/r300/r500_fragprog.c
|
de27760a3c8567b76699e1bd7d1f3692a8f0f525 |
24-May-2008 |
Tormod Volden <lists.tormod@gmail.com> |
dri: vblank_mode warning From what I can see the environment variables LIBGL_THROTTLE_REFRESH and LIBGL_SYNC_REFRESH were taken out like 3 years ago, but this warning was never updated.
rivers/dri/common/vblank.c
|
48a24f0ff7e3aad000b8acc55c16bbeaca58abe6 |
24-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Revert "mesa: save a temp on normalizes" This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee.
ain/ffvertex_prog.c
|
e1590abb17f1effd92c136207f363de6cf52df18 |
24-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: pre-swizzle normal scale state value
ain/ffvertex_prog.c
hader/prog_statevars.c
|
a2b1c46535d02bb4cc154f26481eda264a65abe8 |
24-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader
ain/state.c
|
af77de66d9e97a1f37849a51f7b48ae36a0c8127 |
24-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: missed a couple of inst4s.
rivers/dri/r300/r500_fragprog.c
|
e9031d6f63947963e2105e5aaf89cb57dcd9a122 |
24-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: add depth output write Not sure how well this works yet, but we need to set the alpha to w_omask
rivers/dri/r300/r500_fragprog.c
|
95eb6422c718d3d4ef34ec35bffa83307025793d |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: cosmetic, mainly generic vs. xorg terminology
rivers/dri/common/utils.h
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
|
73d66a3c63f380a27e16f5287fb37ed1d98bf818 |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: add dithering support
rivers/dri/swrast/swrast_span.c
|
c1d4644f487a3ff4dcb3ef32995fed30cd72eeba |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: add support for r3g3b2
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
|
b4a4829cd50f7110ddbdd0770297cd845ab4764d |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri: add support for generating 3_3_2 configs
rivers/dri/common/utils.c
|
6e13d6d17ef12d5576175c9b03e96632428c6e76 |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: split out common pixel macros
rivers/dri/swrast/swrast_span.c
|
44e05f08702d650bd66b816af429a856ff542311 |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: drop TODO list
rivers/dri/swrast/swrast.c
|
d4510e53d8dd18ac397ca0d4df74d4de682e0a38 |
23-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
drop GLcore
rivers/dri/glcore/Makefile
rivers/dri/glcore/glcore_driver.c
rivers/xorg/.gitignore
rivers/xorg/Makefile
rivers/xorg/glcore.c
|
200fd13d4a605bea07857d6c3e7c85ee07d663cb |
23-May-2008 |
Eric Anholt <eric@anholt.net> |
Remove stale comment about glFlush(). We don't need an MI_FLUSH there, because everything that's been flushed in the batch will eventually hit the hardware.
rivers/dri/intel/intel_context.c
|
feceb43948f76cc4d4c8ecbb86b1b1f438c6daee |
23-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: save a temp on normalizes
ain/ffvertex_prog.c
|
a74bf4ef345d880d7d296313fed0240781d2ebd8 |
23-May-2008 |
Eric Anholt <eric@anholt.net> |
Emit a flush after the swapbuffers blit, so contents end up on the screen. Otherwise, since the MI_FLUSH at the end of every batch had been removed, non-automatic-flushing chips (965) wouldn't get flushed and apps with static rendering would get partial screen contents until the server's blockhandler flush kicked in.
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i915_reg.h
rivers/dri/i965/brw_defines.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_reg.h
|
e841b92d9c8bf48085b4996df828ae745977f931 |
23-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: further degenerate the special case lit substitute
ain/ffvertex_prog.c
|
333d377bbda4f598292108f91cd8ec4f0f647c20 |
23-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
glapi: fix include path & make build work
86/glapi_x86.S
|
0ac2f7955c01749e122f67ff03e79a0d8bd0f8e5 |
23-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: don't emit LIT instruction when mat shininess known to be zero Use a faster path in that case & make gears go faster.
ain/ffvertex_prog.c
|
a3dbd412df99c7d19b1f81b3b9ec7d5c8a09d069 |
23-May-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
Merge branch 'gallium-i915-current' into gallium-0.1
|
adc1f88fc9278bdbb3b24a6d48f91a0bd98e9f1c |
23-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: do object-space lighting in ffvertex_prog.c Start pulling over some of the optimizations from the fixed function paths.
ain/ffvertex_prog.c
hader/prog_statevars.c
hader/prog_statevars.h
|
9ab7a2df030fe3eb7b82a99d9f17093c0036bc06 |
23-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Clean up some compiler warnings.
rivers/dri/r300/r500_fragprog.c
|
30e61500e162453d7affd855fe531ed2d1d6e80b |
23-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Move dumb_shader. Was getting ticked having to scroll around it, lawl.
rivers/dri/r300/r500_fragprog.c
|
34010bcc91bc2e8503e7b80187c1aea0e51e53b0 |
23-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_DST. Works completely, swizzles and everything.
rivers/dri/r300/r500_fragprog.c
|
d4e93864b8f05f8973d291ac287b27febbb5cb62 |
22-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: More trig work. SCS now works. COS/SIN have slight issues still.
rivers/dri/r300/r500_fragprog.c
|
6cefae5354fb3015c5a14677071871613faa9c3a |
20-May-2008 |
Eric Anholt <eric@anholt.net> |
Add back a mostly-correct glFinish for GEM and fake. The right solution would probably be keeping a list of regions which have been rendered to.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/intel/intel_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_context.c
|
76286bc76c5ea2217378809a9dcab6794aae7b5e |
22-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-gem] Make sure set_domain is called often enough. The write_domain needs to be set after any batch buffer uses an object, track when that happens in the new 'cpu_domain_set' field.
rivers/dri/intel/intel_bufmgr_gem.c
|
a01816da59cd7a18fca281ef94a822f08cec5c6e |
22-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: bump state atom size up for fp and fp constants
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
|
4f9dcdc35b277aa1ded60059a654da22d2075067 |
22-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fixed LRP. Works perfectly. It's a complex one, though, so it might fail in weird ways...
rivers/dri/r300/r500_fragprog.c
|
0dfbe9cdd7e076fb23d90e99e225fd0e19b63dfb |
22-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Change debug info for readability. It's weird seeing the compiled program before the assembly, that's all.
rivers/dri/r300/r500_fragprog.c
|
d06f4edb146cfb42fa2a3f654db141f88dcfe074 |
21-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Initial (broken) OPCODE_LRP. Will compile, run, and not eat your kids, but the math is wrong.
rivers/dri/r300/r500_fragprog.c
|
e57f1b702e9e38e78fc0e0be7b968d7ae4939c4d |
21-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Follow along GL/glx -> glx renaming in xserver The xserver glx modules were lifted up to the top level, so this changes the glapi generation to look in the new location.
lapi/Makefile
|
019fc3aa04f11d61e6d0f4791c171d1790577ab5 |
21-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
fe7e01c834b1f1c423faee212944cbaf220d7ed9 |
21-May-2008 |
Kristian Høgsberg <krh@redhat.com> |
Add remaining glapi generated server headers. This adds all the headers needed by the xserver glx module and also adds a rule to copy over the shared glapi.[ch] and glthread.[ch] files. Specifying an xserver path (set XORG_BASE on the make command line) is now mandatory when regenerating the glapi files.
lapi/Makefile
|
c30fe8fd7cf25f620cf3480416a514172edef0bf |
21-May-2008 |
Kristian Høgsberg <krh@redhat.com> |
Make the shared glapi files not include glheader.h.
lapi/glapi.c
lapi/glthread.c
lapi/glthread.h
|
1b359bc88e4f98f9aab454c270684172ae0e46ca |
20-May-2008 |
Kristian Høgsberg <krh@redhat.com> |
Revert "glapi: Generate xserver glapi sources in the mesa tree" This reverts commit 7688791fc52f116eea421fda1d17aba5cf10977b, and takes us back to generating the glapi files straight into the xserver tree. Conflicts: src/glx/x11/indirect_size_get.c
lapi/Makefile
|
1e2907f170116138b1ae304dc075ee52e377fd73 |
21-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_POW. Necessary for Google Earth, among other things.
rivers/dri/r300/r500_fragprog.c
|
2217158c3774ca3bb2b66af2b86f7fc8212c2465 |
21-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: use Makefile.template
rivers/dri/swrast/Makefile
|
53784e786da69296020914c508905a9cf14b490d |
21-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: fb configs tweaks @32: provide configs with depth=0, stencil=8 @16: provide configs with depth=0, stencil=8 and depth=16, stencil=8
rivers/dri/swrast/swrast.c
|
d0c7ef43585e96f523ad85c55cdc219e9c8bac95 |
21-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
dri/swrast: re-indent FillInModes
rivers/dri/swrast/swrast.c
|
13a2be4446bd6612b5b56dab1cb9d8975a4f6f1f |
21-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix #include path for glapioffsets.h (fixes x86 build)
lapi/gl_x86_asm.py
86/glapi_x86.S
|
bb57c30a537f2ae01a146dd697ca332f7667c5c5 |
21-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: print out opcode string
rivers/dri/r300/r500_fragprog.c
|
b453b0e2e1c82e6d08180c341989d6d0c05f21fa |
20-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: set the RS unit register for R500 not R300 dangnammit.. So this appears to be my BUG. damn it to hell. also fix sec color to be more like spec says.
rivers/dri/r300/r300_state.c
|
9ec2b1c83f3390dac2e5e7d3aa21ff4920f29243 |
21-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: finish main texture instruction decoding
rivers/dri/r300/r500_fragprog.c
|
bf7519b0a40d18a1cc764357f18df59979604129 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
26f874e967e5bcbd0e0c73674df3d3900b98d35b |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix vertex shader mem leak (glRasterPos)
tate_tracker/st_cb_program.c
|
8f792a0707446a7b020e6d47a5fff310a36ca81d |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
7899ecdd6502a323b052f9ad4acd23cbb9ba88db |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace assignment with pipe_texture_reference()
tate_tracker/st_gen_mipmap.c
|
ac09b0e0eb30f6691e35638f210c04ac0f867ea8 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix shader mem leak
tate_tracker/st_cb_bitmap.c
|
cf1ae676ec7cbf3a8595d41fb6b5128ff142b402 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
69fd676240f91b1a42a355b768f86d397b899002 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: move vertex/fragment program unbinding
tate_tracker/st_context.c
|
13c74914067b7e49be7761534c1f6d3fb90f6f1f |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix default case in st_new_program()
tate_tracker/st_cb_program.c
|
280bf89bd4a6bb7977abb00b88d59234d2c80844 |
11-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
Add DRI driver that uses the mesa swrast module.
rivers/dri/swrast/Makefile
rivers/dri/swrast/swrast.c
rivers/dri/swrast/swrast_priv.h
rivers/dri/swrast/swrast_span.c
rivers/dri/swrast/swrast_spantemp.h
|
c95e66120be049ee51ff84868b1da3379b312fab |
11-May-2008 |
George Sapountzis <gsap7@yahoo.gr> |
Make utils.h self-contained. Move stuff with drm dependencies to dri_util.h, and move a couple of types without drm dependencies to utils.h.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/unichrome/via_screen.c
|
71eb1088311b8309868d78e237452cb414728fbb |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
4b4ac9ed3497d0cbf58311b83ed4a08a98bb854c |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix mem leaks
tate_tracker/st_cb_clear.c
|
90ce8467a8cb2b819a44d00e4a9d315f8aa43b7c |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up glDraw/CopyPixels shaders when destroying context
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
479174c398b5d15998852d7776900bf7ec0b1bcd |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
5c431c22227fdc552b34a5feabf1d339dcfe9848 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up glDraw/CopyPixels shaders when destroying context
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
0a95f203fa6de3ed05c93e6788c7e2fdca170c94 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
34149ec89d71aa550ac4477050fa79d66bb94f25 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
copy StateFlags in _mesa_clone_parameter_list() cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd)
hader/prog_parameter.c
|
c95c4efa54175f0adcffacb71e3d66839617ceba |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix incorrect sampler numbering/indexing. All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9)
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_typeinfo.h
|
b539b6132141b0f583076355ad158852667b79cd |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
copy StateFlags in _mesa_clone_parameter_list()
hader/prog_parameter.c
|
b6fb0940c226373ac235a5d327d3fcfd742bc6b9 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix incorrect sampler numbering/indexing. All samplers indexes were zero.
hader/prog_parameter.c
hader/prog_parameter.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_typeinfo.h
|
2bda1a9502206ca2b7b35e39c82356f91de06914 |
20-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Count refs so we don't have to guess on temp reg allocation. As a bonus, we can now have multiple temp temps, by slot.
rivers/dri/r300/r500_fragprog.c
|
94994b13c51e076a4df069d550ec2f27550f6a28 |
20-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fixup SOP insts. Use the correct swizzle for alpha/SOP stuff.
rivers/dri/r300/r500_fragprog.c
|
78fa5060593b9a419281230a264eb1180c9ed2b2 |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: New fix for COS/SIN/SCS. Not perfect yet, but getting better.
rivers/dri/r300/r500_fragprog.c
|
f0d76d526b0d37f36085d58b0c5c8cb9d9d9d7c9 |
20-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300/r500: fixup some of the register write sizes
rivers/dri/r300/r300_ioctl.c
|
2005de48f9b87de6fffb792a6b16a880e92e3d82 |
20-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300: some ctrl-m's wierd.
rivers/dri/r300/r300_reg.h
|
282cdc8b5c2495195fab8ee4afa9a7903caa459e |
20-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300/r500: fix RS col fmt bits
rivers/dri/r300/r300_reg.h
|
c6b36e5498cf6593daf001123cacec4ccaf305ca |
20-May-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Check fallback before accounting for index/vertex buffer size. fix #16028.
rivers/dri/i965/brw_draw.c
|
de03e8e9604afd7b61002e8d7e0f94a859734abf |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove dead code
tate_tracker/st_cb_bitmap.c
|
65075da8c39f686ec4ab6593d7b0574982d21a23 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix tempReg test in _mesa_combine_programs()
hader/program.c
|
655374bda7dc7ae6fc1a0ef64ab868e3c8be9aa0 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove dead code
tate_tracker/st_cb_bitmap.c
|
8493f0849f6fa6ef87388c3a7e179a329447a763 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix tempReg test in _mesa_combine_programs()
hader/program.c
|
e469d78d33feff45f16235871ca1a3d483cdc950 |
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix tempReg test in _mesa_combine_programs()
hader/program.c
|
476248befe2bd04558ce53e937230c1a400a51b6 |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fixup emit_tex, add debugging info, enable temp temps. emit_tex now chases itself with an OUT if needed. Added airlied's dump_program, with some fixes.
rivers/dri/r300/r500_fragprog.c
|
a846b156b8a0d2ef63de8f905af440f54e5668c7 |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
38fb20b2240e826394dbf56dc54f226c5f887631 |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix program delete/refcount bug cherry-picked from gallium-tex-surfaces
tate_tracker/st_cb_program.c
|
62f96ddbbc2549bd4d50016f571cd4d1f6f6a7d6 |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix program refcounting assertion failure during context tear-down When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tabl cherry-picked from master
ain/context.c
|
fbfe2a58de8a9ca31164b4c6f26191b851fe939d |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix program refcounting assertion failure during context tear-down When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tables.
ain/context.c
|
03b3fed8f1dcd5df5049b9236cfaa60a17e56e6f |
19-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: add more input srcs
rivers/dri/r300/r500_fragprog.c
|
ac315792bfccd547e6f84faabbb76c48af48a404 |
19-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fix swz gets and some returns
rivers/dri/r300/r500_fragprog.c
|
60b8e1f5243dfc3233d38700755a06c38b4967f1 |
19-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: add mask debugging
rivers/dri/r300/r500_fragprog.c
|
cddab021e392ed78b5375ef6924bc7d4dbdd01c0 |
19-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: add fragment program debug dumper
rivers/dri/r300/r500_fragprog.c
|
c60bdcf8a80b7307add8e09aca2356591c86fbcd |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix magic offsets for output fifo write masks. Well, this sure explains a lot.
rivers/dri/r300/r500_fragprog.c
|
2708d7f7005c6a65980f5eb0377a9fd7917bce51 |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Swap sources for CMP. Follows the same pattern as the op on r3xx/r4xx. Thanks airlied.
rivers/dri/r300/r500_fragprog.c
|
a6c38f2f648f91f35594383666eec01abdc19632 |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix typo of epic proportions.
rivers/dri/r300/r500_fragprog.c
|
2225b9bdb08228fc824e9011341e8c0916fe2e07 |
19-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: ALU/OUT fixups. Lots of small changes. Intentionally breaks some tex stuffs.
rivers/dri/r300/r500_fragprog.c
|
88cdc5e23fadc81dcf8ab068c0620cf67712d01f |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix program delete/refcount bug
tate_tracker/st_cb_program.c
|
54fbd8bbd4e5a484d59907bae852908e3a8b8f3c |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
fd59f19cd2388519265dfba3d28e5281df6f4ba0 |
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move _mesa_init_glsl_driver_functions() into shader_api.c This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
hader/shader_api.c
hader/shader_api.h
|
88c0a7463328ef47106ea0afbeb148ebd4e6d067 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional fog/color matrix changes from gallium-0.1
hader/prog_statevars.c
|
6e92968d751ce3006b5ca0fc59eced20c94dc507 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
add state vars for color matrix, pixel transfer scale&bias cherry-picked from gallium-0.1 (068c7bd912283e051a55b2fd5c4568685d10f3ed)
hader/prog_statevars.c
hader/prog_statevars.h
|
2f8fc325aca43693aac368ae5781547cc976d387 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added internal post color matrix scale/bias vars cherry-picked from gallium-0.1 (302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58)
hader/prog_statevars.c
hader/prog_statevars.h
|
a0bfeb0c3ca58a1f4d978f2aaa343ed4009de079 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
print vertex.attrib[n] (from master)
hader/prog_print.c
|
0c78c766e4cb8ffcda44cabfadb8de8e09121034 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes to _mesa_combine_programs(), from gallium-0.1
hader/program.c
hader/program.h
|
5976a6a75cfa6749db306111a601d99c99cc00a4 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added div by zero check for Fog.End/Start (from gallium-0.1)
hader/prog_statevars.c
|
4b6b0fd526b16d70bb5d1acc8d93af280660c810 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups / additions from gallium-0.1 branch
hader/prog_print.c
|
1036ec94e5a30f9068a1b41f2e8668daa2ee4a2c |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix some bugs in material, depth range state picked from master
hader/prog_statevars.c
|
1bb30b02dd7610fb1094491c232e8dd4497a931a |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Regenerated API dispatch files Follow on to cherry-pick from master
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
f9e1ef2a5b7951d36db56913b1366cf65b9d0976 |
18-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
lapi/gl_API.xml
ain/config.h
ain/dlist.c
ain/state.c
hader/arbprogram.c
hader/nvprogram.c
hader/nvprogram.h
|
bdfd5d95c5543154f7af17f0c001dc2b7044c1c4 |
18-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300: fixup US_OUT_FMT bits
rivers/dri/r300/r300_state.c
|
8b49cc104dd556218fc769178b96f4a8a428d057 |
18-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-gem] Don't calloc reloc buffers Only a few relocations are typically used, so don't clear the whole thing.
rivers/dri/intel/intel_bufmgr_gem.c
|
126673261de0dc5d64b05e3f76ced6801c28fffb |
18-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: you can have a single texcoord
rivers/dri/r300/r300_state.c
|
0910d9d4d68a3757f8777974ead2e4e34f48433e |
17-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_KIL.
rivers/dri/r300/r500_fragprog.c
|
c57b3b1d2c4344603763c8d200f111a132d3899f |
17-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Added OPCODE_DPH. Like DP4, but with one swizzle change.
rivers/dri/r300/r500_fragprog.c
|
6dd3c0ed962dd3c2d4db331d4c745b39b7dde8c3 |
17-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix FRC. This makes tri-frc work. (Remind me again why I'm allowed near a compiler, lawl.)
rivers/dri/r300/r500_fragprog.c
|
1de0af303acc4fb973bbfea6641ba62a2f24b266 |
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_format.c
|
16cc362f0ba9fb240f3d47f06e74ac215c4d6c27 |
16-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix SCS. Output instructions need to be marked OUT so they can write to the fifo. Also, negation doesn't work with SWZ yet.
rivers/dri/r300/r500_fragprog.c
|
c11a33fe76123abb19cfc1da7d3701a44fca2f23 |
15-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_SWZ. It's so easy!
rivers/dri/r300/r500_fragprog.c
|
d5aa42166152c4817d4fb06f183552efc135304b |
15-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Add OPCODE_SCS. It's disabled, though, because it doesn't work. I'll figure it out later...
rivers/dri/r300/r500_fragprog.c
|
405ee871c54d78e63cef1a570578a755250102c8 |
15-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Adding more opcodes. EX2, FRC, LG2, SIN, RCP, and RSQ, if you care. All of these except FRC are like COS. This pretty much rounds out the set of opcodes which can be done in one ALU inst.
rivers/dri/r300/r500_fragprog.c
|
0de02f1716edc16257339af78f198072da87539f |
15-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: First swing at OPCODE_COS.
rivers/dri/r300/r500_fragprog.c
|
d8529d9b008ede05165317b8ebb834525fd9835c |
15-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Unbreak MAX and MIN. Both of them had faulty copypasta.
rivers/dri/r300/r500_fragprog.c
|
5e075fb80968744c72dfaba062e0b591ac69fad0 |
17-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: set fragprog end to correct place
rivers/dri/r300/r500_fragprog.c
|
ba50c3fed38283968f622d7f47437f56033f09b7 |
17-May-2008 |
Alex Deucher <alexdeucher@gmail.com> |
r300: SC register naming cleanup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
791c95230cd399eaa5892d6e13d3ce08e6167e0c |
17-May-2008 |
Alex Deucher <alexdeucher@gmail.com> |
r500: write out the correct FP registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
b4219e35e2de783ca03e53c311a8a56f8b633aa1 |
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix glBitmap surface memleak in context tear-down
tate_tracker/st_cb_bitmap.c
|
87afc9bcad9a440352c6c3bda234cf089ff7e265 |
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: release textures during context tear-down (fix mem leak)
tate_tracker/st_context.c
|
f8dce51083042b4d3fabf48524835290b6725682 |
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: ref counting clean-ups
tate_tracker/st_cb_texture.c
|
fc0a48d587e3aaae4b0e1fc0b9652c7f3d8e1d4b |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring in fixes/changes from master
hader/shader_api.c
|
896c0cc8ec3c9489ba36876b8b580dedf85811c8 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring in fixes/changes from gallium-0.1
hader/shader_api.c
|
470f69950577e05e3dfd09653c268cf22c034d7f |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a program refcounting error, don't share program parameter lists. The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled.
hader/shader_api.c
hader/slang/slang_link.c
|
ffbd455a36f1d7600bd5b60e91768133d901d2f4 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an attr/src mix-up when setting-up/binding vertex arrays This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
a2e6beade196aef269bda6bb3efb68809f85a683 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an attr/src mix-up when setting-up/binding vertex arrays This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
f27c6f313955b737888ce80752ee9cd895562d40 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix merge collision
nl/t_vp_build.c
|
f2632212ad7735c659331b65d3bfe14aef0faccb |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning, new assertion
hader/shader_api.c
|
e291cf6f8d3423c2f1e123ec2a42f0568019da80 |
16-May-2008 |
Shunichi Fuji <palglowr@gmail.com> |
free(key) in _tnl_UpdateFixedFunctionProgram()
nl/t_vp_build.c
|
8bdf5b6e6465ff734a798efb193ab16cd33df36e |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a program refcounting error, don't share program parameter lists. The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled.
hader/shader_api.c
hader/slang/slang_link.c
|
a3e86d43e6c99af97c2931c883d552c9714006e8 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes to aid debugging
hader/program.c
|
eb4271ea8b29cff87f33d3ed9aee43d59986d2d9 |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove stray, left-over RefCount++
hader/program.c
|
6de6999edc41ed5cb8840bfb3265d025b2cbdfe7 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace/formatting
hader/prog_execute.c
|
1af2b14514146d5f0d48a45165a579e88cc7a867 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
init SamplersUsed bits in _mesa_parse_arb_fragment_program
hader/arbprogparse.c
|
885cc592dfcc3b46e1896d243f60c38cf18fa54b |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix assertion typo: s/=/==/
hader/slang/slang_codegen.c
|
e6cd9d88d345b998f8623f0f92c3c4cea8e66f54 |
16-May-2008 |
Shunichi Fuji <palglowr@gmail.com> |
Fix memory leak in _tnl_UpdateFixedFunctionProgram
nl/t_vp_build.c
|
0639998ee8750083b5e4ad90371c475cb2cca88f |
16-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix DRI build
hader/prog_instruction.h
|
d6333af7e9b01d0e878ddbb92b5f972c67f5350f |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: default rsunit swizzle like fglrx
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
9aa62c723807f569c55a8e0df069cb2eadad77ae |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: shift tex src properly
rivers/dri/r300/r500_fragprog.c
|
76f32499d20ac9ee12a1b7aafbd2493749364a86 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup r500 rs unit texture coordinate counting
rivers/dri/r300/r300_state.c
|
a0bc6d2fb21e47c5e659bc113c0c47b2288a9898 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: remove some debugging
rivers/dri/r300/r500_fragprog.c
|
73af48fff5502bc156160ce74896ffd156ee08ee |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: split output/pixel masks and emit in the correct places
rivers/dri/r300/r500_fragprog.c
|
c9d5d11d2da77fada77dca1e239accd126fa3300 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r3/500: emit RS state before VAP
rivers/dri/r300/r300_state.c
|
412c850eaba82a06532fcb6300234a63e7ae037b |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup the program allocations to be the correct sizes
rivers/dri/r300/r300_shader.c
|
350c80fa99c759d3080d3c3876e525ae130d1b04 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r300: set screen so that context init can find out chip ids
rivers/dri/r300/radeon_context.c
|
e1bffd03188479f85f09eba2b478d36d77a70264 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: add cmp support in theory
rivers/dri/r300/r500_fragprog.c
|
10e0a36a496a7032b15728343cf8ee2ca2df5cb3 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: some trivial fixups to get tri working. the counter was being used one instruction over the end
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r500_fragprog.c
|
375656440bd03d229701a1c97ef3f2ac61ba6712 |
15-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: we just need to emit a colour for clear drop tex instruction
rivers/dri/r300/r300_ioctl.c
|
5f6a726d9f2274df1a968e5f3cd3862894b47a38 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix parsing of state.texenv.color (bug 14931) cherry-picked from master
hader/arbprogram.syn
hader/arbprogram_syn.h
|
826218d386a0193f7c6d576b768c4427f09bb109 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidate texture fetch code and use partial derivatives when possible. picked from master
hader/prog_execute.c
hader/prog_execute.h
wrast/s_fragprog.c
|
887bfee6e3beeacb441b81ac225d99060d4b5dfc |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix InfoLog memleak, misc sync with master
hader/shader_api.c
|
23db6287d41494799a4d171bae628b0d2e9baf36 |
16-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Bug #13492: Only call ProgramStringNotify if program parsing succeeded. Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver.
hader/arbprogram.c
|
217e5b555189c1bd8213b439130944a18118d23b |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix swizzle error test (bug 11881)
hader/atifragshader.c
|
087fa7e39075228fcb238537ee251ab47f77a0cb |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix-up inlined/non-inlined function inconsistencies cherry-picked from master
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
|
7aed3751c7da47db0d2e5f7ebf58a915ee772bd3 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rm unneeded file
hader/slang/library/slang_version_syn.h
|
215a847e3fe98def292d929baecb3876abe5027a |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: prefix rm command with -
hader/slang/library/Makefile
|
753f979a32cdbbe76dfacf95cbc3b43545a7d1ad |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
rewrite some of the mat*mat, mat*vec intrinsics Also, remove obsolete matrix codegen code. cherry-picked from master
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
ade508312c701ce89d3c2cd717994dbbabb4f207 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated GLSL uniform/sampler handling from gallium-0.1 branch Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
ain/config.h
ain/mtypes.h
hader/prog_execute.c
hader/prog_execute.h
hader/prog_instruction.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_typeinfo.h
ources
wrast/s_fragprog.c
wrast/s_span.c
|
8cf38c7e6a42c66166549a2526f28d94b95b0c0a |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: regenerate slang built-in data (asin(vec4) fix)
hader/slang/library/slang_common_builtin_gc.h
|
a9997657b9d66b54d184a899e49e35885928ef80 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix missing w assignment in asin(vec4)
hader/slang/library/slang_common_builtin.gc
|
26988c170c61c21d0e76397689a270f485bc4086 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: use CALLOC_STRUCT()
hader/prog_parameter.c
|
afa4c792b00070a5c50730ba455df18629d4e550 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: sync up swrast/s_fragprog.c with master
wrast/s_fragprog.c
|
4f915b0f83861640e5e3f5ea62a70c0d6201a5a2 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comment
hader/slang/slang_link.c
|
05cacc06ccbbf088ab3fed0bf648f4f5fc61c154 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: minor bug fixes from master
hader/slang/slang_emit.c
|
fcb23d7db7339a2b1ca51d929fc1b5065f7e0f77 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: dead code removal
hader/slang/slang_compile.c
|
c4ceb4e4f3bea1d6464c847669d5f9e8353fd5d3 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: minor bug fixes, null ptr checks, dead code removal
hader/slang/slang_codegen.c
|
6c536b9924a46e3e6f4eb93369b2e7006182ba39 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix errors in LightModelProduct state, other misc error cases
hader/slang/slang_builtin.c
|
f84005c0a114837a0c7209a3c598e02fb5f47da1 |
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glUniform(location==-1) is not an error
hader/shader_api.c
|
c807c1a23fc918591e9d2f6f26c4e071a725bced |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new functions for managing list/index of uniforms cherry-picked from gallium-0.1
hader/prog_uniform.c
hader/prog_uniform.h
|
e0f160663e50d0481afd8a9e1ec90c334be489e1 |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up swizzle fields in fog code, fix NegateBase cherry-picked from gallium-0.1
hader/programopt.c
|
bff695b926249ead1944eef2aa05b2e0eaf9ba7f |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
sync up with gallium-0.1 changes New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
hader/prog_instruction.c
hader/prog_instruction.h
|
6ca948a303e1af7ae66ea7082af741f6880887f2 |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_combine_parameter_lists() cherry-picked from gallium-0.1
hader/prog_parameter.c
hader/prog_parameter.h
hader/program.c
hader/program.h
hader/programopt.c
hader/programopt.h
|
b2562736894b6a97e4f1be6c6861e250e9d0a765 |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some additional program refcounting bugs cherry-picked from master
hader/program.c
hader/shader_api.c
hader/slang/slang_emit.c
|
19ad9cf7741c641bd83d20485b32d11fe27ca8df |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _mesa_insert_instructions() Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1
hader/program.c
hader/program.h
|
450136d368ce7a08cf25992c79b51f51f8a9bb7c |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _mesa_free_instructions() cherry-picked from gallium-0.1
hader/prog_instruction.c
hader/prog_instruction.h
|
d791386b09682dbccc68cc3803b6d71a0362124e |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some additional program refcounting bugs cherry-picked from master
hader/program.c
hader/shader_api.c
hader/slang/slang_emit.c
|
57e222d6e5ef5744491d093475e1136aedf81810 |
14-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some additional program refcounting bugs
hader/program.c
hader/shader_api.c
hader/slang/slang_emit.c
|
4b7d301c94d33394550322768a9d2232087b2d64 |
14-May-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the source and target pointers after do the first 2 pixels. fix bug #15850
86/read_rgba_span_x86.S
|
f86baae1a7092533c7c3d56846e7bae97590951b |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: clean up GA registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
de3fc8b1c47eaa87917e1886d4a0988327438038 |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R3xx: clean up ZB registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
c5b7a1ee3cae26854c6a489ee2977e4134efabfd |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: clean up CB registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
cba90d4a778ab5202f2f7547ad7ffeb84216d07b |
13-May-2008 |
Eric Anholt <eric@anholt.net> |
[GEM] Actually include the presumed offset in initial relocations. This avoids kernel relocations for most batchbuffer relocs.
rivers/dri/intel/intel_bufmgr_gem.c
|
8d70181b031d7557dd4083dc041cc7c658fddfc4 |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: clean up Fog registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d09aa2138bdedf32569844fa14cf88f28d41020a |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R500: fixup r300EmitClearState() FP for r5xx
rivers/dri/r300/r300_ioctl.c
|
9ef4126d48153d4754b29bd4231d29dfb15fa73f |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: cleanup FS code and fill in missing details
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
0cc8ed5cccd3073670f3b77189177d44eae9b099 |
13-May-2008 |
Alex Deucher <alex@botch2.com> |
R3xx: more PVS cleanup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
e000f2ab6e8491bf8175c38c42fabb04833d5209 |
12-May-2008 |
Alex Deucher <alex@botch2.com> |
Merge branch 'r500-support' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r500-support
|
2a4d1085cb9d2d03e6aeb2c71a59888826c31afd |
12-May-2008 |
Alex Deucher <alex@botch2.com> |
R500: add support for 4k textures
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_texstate.c
|
145523ba3acb95a9ff390430a9e0a3fa958cae1b |
11-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks. Track DRM GEM name changes. Add driver hooks for bo_subdata and bo_get_subdata so that GEM can use pread and pwrite.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_bufmgr_gem.c
|
a1f95a8bf64f863289b6759caeec76d7e054400e |
09-May-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: depth textures have usage depth_stencil instead of render_target
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
|
0dbd5c864047ad2ad3d459493c9e82be57427f83 |
09-May-2008 |
Dave Airlie <airlied@redhat.com> |
intel: use new mipmap generation hooks in driver.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
86bd98c6aa0d1a8533699af911c7c40c549b3965 |
09-May-2008 |
Dave Airlie <airlied@linux.ie> |
swrast/dri: switch over users of generate_mipmap to new interface
rivers/dri/intel/intel_tex.c
rivers/dri/unichrome/via_tex.c
wrast/s_texstore.c
|
0449bab2f8722f277213e44da13de6a0b5ae7b5b |
09-May-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "mesa/intel: map/unmap texture objects around mipmap generation function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1
rivers/dri/intel/intel_tex.c
ain/fbobject.c
|
d4e1d85dba8ec4a37f68a284b5a2be15b4f2987a |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Remove unused texunit parameter to ctx->Driver.GenerateMipmap() (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
ain/dd.h
ain/fbobject.c
ain/mipmap.c
ain/mipmap.h
ain/texstore.c
|
a638676473bd7bf2d47275ed2fd708e5b9d47e0b |
09-May-2008 |
Dave Airlie <airlied@linux.ie> |
Added ctx->Driver.GenerateMipmap() driver hook (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c
rivers/common/driverfuncs.c
ain/dd.h
ain/fbobject.c
ain/texstore.c
|
c50ffc4cb89b67ae59208eb72cdb664c846ba987 |
09-May-2008 |
Dave Airlie <airlied@redhat.com> |
mesa/intel: map/unmap texture objects around mipmap generation function. This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow.
rivers/dri/intel/intel_tex.c
ain/fbobject.c
|
f763cc3cb54ee419902bdf24065e7c1948e92b67 |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: don't free shader.tokens in get_passthrough_fs()
tate_tracker/st_atom_shader.c
|
2a39dbe7364af5444b1eb43650dfc31ed09257dc |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix out of tex memory crashes
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
990e010394a2685c1daeaef61cf4f7e2a0ba419e |
09-May-2008 |
Kristian Høgsberg <krh@redhat.com> |
Add RS690M PCI ID.
rivers/dri/radeon/radeon_screen.c
|
f9e2f26df3c16eaa0c56db11cd94b5af7a361ee8 |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: re-enable call to init_renderbuffer_bits(), remove dead code
tate_tracker/st_cb_fbo.c
|
2f07e1caa02c9dcdddc673e61eb91b83b82d283b |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix render to depth texture
tate_tracker/st_atom_framebuffer.c
|
a7e8e31eeee320bbc563536389587520875c3b57 |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL)
tate_tracker/st_cb_drawpixels.c
|
f3ecd488ddb9ef0949466accbd7db686c8e4662e |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove dead code
tate_tracker/st_cb_bitmap.c
|
29d9f6b0d263b6ea2f89ea955d53d2671d9a6e43 |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: no-op st_Bitmap() if width or height is zero
tate_tracker/st_cb_bitmap.c
|
e93243cb80ee3ae834a50efe7bacd232d8846305 |
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up, minor fix
tate_tracker/st_cb_drawpixels.c
|
6548e9b0183d2ddfc8b57919d5be0e75ef79182e |
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: plug in dummy stage->destroy func
tate_tracker/st_cb_feedback.c
|
0cb006c1fdb75e1fe282120cc5455a4e8c59b1a7 |
08-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-gem] move domains to relocations. add set_domain to bo_map. Fix the kernel API to place the read/write domain information in the relocation instead of the buffer.
rivers/dri/intel/intel_bufmgr_gem.c
|
fda5687241f4ce5cab3bf2eac437b52d4b37dd10 |
08-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel] intel_batchbuffer_flush using uninit 'used' to check for buffer empty Make sure 'used' tracks the right value through the whole function. Also, use GLint for intel_batchbuffer_space in case we do bad things in the future.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
b4e75d6c41b2561ca86321fb775ca774c8af44eb |
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable debug printfs
hader/program.c
|
9508293e0186ded3be212a377b1fe39d68070da7 |
08-May-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Call RENDER_FINISH on the zero pixel case.
wrast/s_drawpix.c
|
a266af9200444a4f651e0ff0cf54e533be38d44d |
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program() From master: Set shProg->NumShaders = 0 after freeing program's list of shaders. Set _NEW_PROGRAM in _mesa_link_program() to fix a state validation bug.
hader/shader_api.c
|
5b5c9315275752add1215dba0f86d5f5068d856b |
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix refcounting bugs in tnl/tex program caches
ain/mtypes.h
ain/texenvprogram.c
hader/program.c
nl/t_context.h
nl/t_vp_build.c
|
1a82d9648b3db780e58e4966924157542d148c58 |
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix some render to texture bugs Before, we were sometimes rendering into a stale texture because st_finalize_texture() would discard the old texture and create a new one. Moved st_update_framebuffer atom after texture validation so that we can create a new renderbuffer surface if the texture changes. Also, split texture validation into two parts: finalize_textures and update_textures. Do finalize_textures first to avoid getting into the situtation where we're doing a pipe->surface_copy() mid-way through state validation. Some debug code still in place, but disabled...
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.h
tate_tracker/st_texture.c
|
ead798eb103e4cfe801704bc15eb4fe8df078fa8 |
07-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Remove already-disabled PIPE_CONTROL command. This existed to get the icache flushed. However, GEM handles this for us now for sure, and we had disabled it prematurely anyway.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
|
ab50ddaa9173ae108833db0edb209045788efc41 |
07-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags. The GEM flags are much more descriptive for what we need. Since this makes bufmgr_fake rather device-specific, move it to the intel common directory. We've wanted to do device-specific stuff to it before.
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/Makefile
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_bufmgr_fake.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_bufmgr_fake.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_fake.h
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_context.c
|
a6464b3cb08b86d5fc537a4907849546a63ae4da |
07-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Never fail `make clean' Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
akefile
rivers/directfb/Makefile
rivers/dri/Makefile
rivers/dri/common/xmlpool/Makefile
rivers/glslcompiler/Makefile
lapi/Makefile
hader/slang/library/Makefile
86-64/Makefile
86/Makefile
|
df8134c3cf53a2e4363f27e9a1266e685ca7f0e7 |
07-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Run `make clean' in drivers/xorg, too
akefile
|
8b2a7f08bc446deef497f2a0d3b54d9b70bdaf9c |
07-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.
rivers/dri/intel/intel_batchbuffer.c
|
ffe78987dc01864cdb8f8b74855c3e14cff1c0bb |
07-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces
|
3e1a4c286936abdb4ce1b62a9ebdd93db1777aff |
07-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: free shader program data before deleting shader objects. Picked from master. Fixes mem corruption seen when glean/api2 test exits.
ain/context.c
|
a56a59ce74b7f18f25a13992d2a2c1ae7cf973ce |
07-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... Picked from gallium-0.1
ain/context.c
ain/mtypes.h
ain/state.c
hader/prog_cache.c
hader/program.c
hader/program.h
hader/shader_api.c
hader/slang/slang_link.c
tate_tracker/st_atom_shader.c
tate_tracker/st_context.c
tate_tracker/st_program.h
|
e8c2b9967f22a672753b2662f7858734ec328b06 |
07-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Refactor installation targets Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
akefile
|
ec813878e4889be97535cf01bd2b49fd09467a47 |
07-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Ensure recursive makes always propagate errors There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
akefile
|
3d1528027889d67ca98002833dcb42b3f2f48067 |
07-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: cleanup r500 RS setup
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
53a7ccc08b286a02f5a276f213cfae31c8e6bf7c |
07-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: for rectangular textures set to unscaled coordinates.
rivers/dri/r300/r500_fragprog.c
|
79931e38abc62286151121a3f59127e296144551 |
07-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Revert "gallium: move setup of dest_surface in do_copy_texsubimage()" This reverts commit f7dbd18371f9cb6686b6a97642b3ca5577e83472. Looks like an accidental revert of commit 650c57f19398800dfdcf357b6e9ec7b68bfa34f1.
tate_tracker/st_cb_texture.c
|
1da094c9adf49c48a8b61ee7ab5336e8ba3f9e8d |
07-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix FP inputs. (For good?) FP inputs are now counted and mapped correctly, and temps are allocated tightly and correctly.
rivers/dri/r300/r500_fragprog.c
|
49c30ce958e5e95e9e6ab79d2308751705d0ff22 |
07-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix false error with DP3/DP4. DP3/DP4 only takes two arguments, but tried to load three, causing a false fallback to the dumb shader.
rivers/dri/r300/r500_fragprog.c
|
dc24fb51a31de8443e653655105d4e1c88847bcc |
07-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Index inputs and temps. This is not the same as r3xx indexing. It only tries to protect inputs on the pixel stack from getting clobbered by temps or texs. Texs don't need special treatment since they read from special input regs and write to the same temp regs as ALU/FC instructions.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r500_fragprog.c
|
df43fb661b2030d9b833a42dd47b8d7bf58d73aa |
07-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
ain/context.c
ain/mtypes.h
ain/state.c
hader/program.c
hader/program.h
hader/shader_api.c
hader/slang/slang_link.c
nl/t_vp_build.c
|
05370685fedab9608d6b5b5de7042dac4289e522 |
07-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: free shader program data before deleting shader objects. Picked from master. Fixes mem corruption seen when glean/api2 test exits.
ain/context.c
|
a2ec8570aeb838700fa97b8c5ba6d9d383e5606e |
07-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-GEM] partial support for memory domains. Doesn't deal with local modifications yet (need new kernel set_domain ioctl for that to work). Also, guesses what domains are affected based on the read/write bits set in the flags. Works for 915, probably not so much for 965.
rivers/dri/intel/intel_bufmgr_gem.c
|
103ae5d16fd9fef566096570f731bb634a8025d4 |
07-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed...
ain/context.c
ain/mtypes.h
ain/state.c
hader/prog_cache.c
hader/program.c
hader/program.h
hader/shader_api.c
hader/slang/slang_link.c
tate_tracker/st_atom_shader.c
tate_tracker/st_context.c
tate_tracker/st_program.h
|
10f6ae0355937615d137c79c060b9e5a923f0d65 |
02-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: comments, whitespace
ain/ffvertex_prog.c
|
40db59038cc62a5a8e4f94cb069eeb1d9b95a1a9 |
07-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: FP: Add OPCODE_TXB. Tex lookup with biased LOD. Should magically work.
rivers/dri/r300/r500_fragprog.c
|
20baf128ef39dca058636c1bff4c526a8879b3d5 |
07-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: FP: Make MOV/ABS look pretty. We can't really do anything like emit_alu, so we're doing emit_mov instead.
rivers/dri/r300/r500_fragprog.c
|
6b0fd0f1572cd6af1e931b70f75852de25d32649 |
06-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: re-enable temporarily disabled code in do_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
8eee0146f28285bdc778051afd89088685f2c3b6 |
06-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
|
9f948b8c335b099b305b55a2c176841a0354cdad |
06-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Prevent makedepend from running multiple times The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
akefile
|
c5e2b850ad53fcd1af62c838f8ee288e8ea9fb3d |
06-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Always cleanup the makedepend backup files Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
rivers/beos/Makefile
|
7f747204ea3b61e507b8bd48f33e8dd83f34705b |
06-May-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
Add support for ATI_separate_stencil in display lists.
ain/dlist.c
|
296378b6c8b205048244746e260739448c4ee590 |
06-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: create drawing surfaces as GPU_READ/WRITE only Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc).
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
973d0c014dba87308e358291de0730d38d50a733 |
06-May-2008 |
Michal Danzer <michel@tungstengraphics.com> |
gallium: create renderbuffer surface w/out CPU_READ/WRITE flags
tate_tracker/st_cb_fbo.c
|
f7dbd18371f9cb6686b6a97642b3ca5577e83472 |
06-May-2008 |
Michal Danzer <michel@tungstengraphics.com> |
gallium: move setup of dest_surface in do_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
1562dd2c26d43bffa8c6bd08ec6128c750ad58ff |
06-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Emit an OUT instruction at the end of execution. This should make TEX/TXP work right. (Note: "Should" is not "does.")
rivers/dri/r300/r500_fragprog.c
|
fa465fb2b1ce4119e4ae8f9b64721f385f361ad9 |
06-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: We update max_temp_idx now, so no need to hard-code it. This roughly doubles the speed of glxgears (GINAB) by allowing more pixels to run concurrently.
rivers/dri/r300/r500_fragprog.c
|
cba14d85a854df8b5f24342c072acf21813761b6 |
06-May-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
Error consistently when running recursive make When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
akefile
rivers/beos/Makefile
|
171ba1d0d154f7fdeb712fd411f19e1ebddd3b55 |
06-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix typo. Gotta be more careful with my cut'n'paste, lawl.
rivers/dri/r300/r500_fragprog.c
|
06e2e1b87ce7db9f48b9d198d71d46636f7e6fe3 |
06-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Use max_temp_idx.
rivers/dri/r300/r500_fragprog.c
|
537bbe6dec780f6f85838fe7e6036579c509f8a6 |
06-May-2008 |
Keith Packard <keithp@keithp.com> |
[intel-GEM] Add tiling support to swrast. Accessing tiled surfaces without using the fence registers requires that software deal with the address swizzling itself.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
|
66f703dca938f7749edc717fd8f690aba2d6e936 |
06-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: change calculate_first_last_level() to match gallium-tex-surfaces branch
tate_tracker/st_cb_texture.c
|
809dd9089bae70cf35cea6a75258e700e7455738 |
06-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: sync up texture/sampler changes with master
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_texture.c
|
d0279fc4b38c72356a341173317bcd45d9093f45 |
06-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Make sure to release texture surfaces (at the right time).
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
|
650c57f19398800dfdcf357b6e9ec7b68bfa34f1 |
06-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: glCopyTexSubImage improvement. Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only.
tate_tracker/st_cb_texture.c
|
17adf04e5c1da72a51815f3fdb9de2f3a8149c1a |
06-May-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
i965: fix googleearth in classic mode. In classic mode googleearth triggered a case where vbos weren't getting accounted properly.
rivers/dri/i965/brw_draw_upload.c
|
09e6be9b5782870f1f225653687e0d3e7be2a5a9 |
06-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
|
df4b49c2cedde60c02f869977ee426f280b2985b |
06-May-2008 |
Keith Packard <keithp@keithp.com> |
Dump buffer tiled status from intelPrintSAREA
rivers/dri/intel/intel_screen.c
|
113f5b14cbab2d62d5ca470f4b1f82989d3a50fe |
06-May-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: fragment.position input needs no blanking out, it's correctly handled in insert_wpos. fixes bug 15447
rivers/dri/r300/r300_vertprog.c
|
e9a2a67745d46509928263f0556f5c0a4211b94f |
06-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Allocate the right number of relocs, avoiding heap smashing.
rivers/dri/intel/intel_bufmgr_gem.c
|
1decab06d15f0dead0a544dbed2f10041caac844 |
06-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Include target buffer handle in relocation debug.
rivers/dri/intel/intel_bufmgr_gem.c
|
f77442fbd3b539aa3da927630c12c3a1a377f6da |
06-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix _mesa_ffs for alternative compilers
ain/imports.c
|
736374c1052be647bd7c377344acf8db0af4ddfc |
06-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
declare atoms as extern
tate_tracker/st_atom.h
|
01d1a292bf53ab949cf2075f18986b58fa468a61 |
05-May-2008 |
Eric Anholt <eric@anholt.net> |
GEM: Set validate index to keep the same buffer from being duped on the list.
rivers/dri/intel/intel_bufmgr_gem.c
|
be59d52ca0c0a5b93963297d596972fccb792b69 |
05-May-2008 |
Eric Anholt <eric@anholt.net> |
Print GEM handles instead of BO pointers in debugging. small integers are much prettier, and let me correlate to DRM debug output.
rivers/dri/intel/intel_bufmgr_gem.c
|
5290ec4756eb33ec27e06bb68d64c33472276ac3 |
05-May-2008 |
Eric Anholt <eric@anholt.net> |
Initialize bufmgr_gem->validate_array[i].offset. This is just cosmetic, to produce less scary values when the ioctl fails and doesn't return values there.
rivers/dri/intel/intel_bufmgr_gem.c
|
1f810b85b1e9393c8e606d2f28250cbb19cf916b |
05-May-2008 |
Eric Anholt <eric@anholt.net> |
Make intel_{batch,exec}_ioctl return an error code so we can recover better.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
|
87ccc03736166db9ef85f3eee3723b82f395d3cf |
05-May-2008 |
Keith Packard <keithp@keithp.com> |
Add intel_bufmgr_gem.c to i915
rivers/dri/i915/intel_bufmgr_gem.c
|
367b1e35dc1dbeda65709b0ab4f7983d0c7a6cc2 |
05-May-2008 |
Keith Packard <keithp@keithp.com> |
Temporarily disable intel pixel ops on i915 for GEM Instead of attempting to fix these for GEM, just disable until GEM is working.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
|
2ed0f7278e389ecc0cf568518799a9a8f33b1365 |
25-Apr-2008 |
George Sapountzis <gsap7@yahoo.gr> |
glcore: Set all external variables in configuration based on patch by Dan Nicholson <dbn.lists@gmail.com>
rivers/xorg/Makefile
|
66a49df9cba8f17059be420126346a4234e81cba |
05-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: consolidate tex instructions you cannot change a tex into an output so this means we have to actually do another instruction after this one to mov if its an output
rivers/dri/r300/r500_fragprog.c
|
697680d687544c4495f05d5baa83659fb877477b |
05-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: mov cleanup macros
rivers/dri/r300/r500_fragprog.c
|
3816ae9ce835691e690d68f37ff6b01207068870 |
05-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: make tri-param work This makes constant work which are 32-bit on r500 unlike r300. Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is likely to do the wrong thing..
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
1f420b008bd4bc7b5fe7809e7f7506ef5dcb7209 |
05-May-2008 |
Dave Airlie <airlied@redhat.com> |
r500: make sure we emit max temp atom. We don't appear to update max_temp_idx yet anywhere though
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
66a5562ce2906fbf5b96d1cee18f9a31a78c4360 |
05-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: fix swtcl texrect path properly. We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
|
2fa2dd3908c783663ca421134cde82e9b6a38a0d |
05-May-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Don't cast the result of brw_prepare_vertices to an unsigned value. Negative value means other errors, not aperture overflow. fix bug #15752
rivers/dri/i965/brw_draw.c
|
a7016949f27f7612ffba7a4d0c5e6280cb3e66ba |
05-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: fix swtcl texrect path properly. We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690 (cherry picked from commit 66a5562ce2906fbf5b96d1cee18f9a31a78c4360)
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_swtcl.c
|
2f0a75f0040b0de339c78448844a7b18ab995c46 |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards (cherry picked from commit 026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c)
rivers/dri/radeon/radeon_screen.c
|
acb47dee69a165f242d88f9eac60fc5646e33410 |
02-May-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Set correct VAP_CNTL per vertex program.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
ffde4e03cf178719c06c300939f8f469d7fc5e9c |
04-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix some BaseLevel, lastLevel bugs
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_texture.c
|
63503f284863530d628f26bea27f2390aca518e5 |
03-May-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Set correct VAP_CNTL per vertex program. adapted from Markus' patch on bug 15386 with updates for non-TCL and R500.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
b79a769b2d878d6e8e55f675209ffa7f3f2a6f68 |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix for loops. Thanks to dli in IRC for pointing this out.
rivers/dri/r300/r500_fragprog.c
|
4ef195a36946c8d587d129abd54683c73eecc304 |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fix dumb shader. For some reason, FGLRX doesn't actually set R500_US_INST_TEX. Let us not make that same mistake.
rivers/dri/r300/r500_fragprog.c
|
0f07e0aea3c5eb5bfb307aa50e04f088b889ddfc |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Merge branch 'r500test' of git://people.freedesktop.org/~csimpson/mesa into r500-support
|
a03e261193bdee1ae1cf3e12af3455cbf085fcc7 |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: remove debugging code
rivers/dri/r300/r300_swtcl.c
|
d3eb5df259698c6f4080f3e988fbdaaba9698636 |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: setup vte according to inputs
rivers/dri/r300/r300_swtcl.c
|
736f535b4f1c5e6912b5b2fe9415a3b44a678844 |
03-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix warnings
tate_tracker/st_atom_sampler.c
|
3837d401cc665eccf079eba5822b1a3eec565b81 |
03-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix sampler->max_lod computation
tate_tracker/st_atom_sampler.c
|
3668d20a9f382a174e002dc9b226710bdd983992 |
03-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix computation of sampler->min_lod The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod...
tate_tracker/st_atom_sampler.c
|
37924cf175b5f61ca85dab685ec5d7879519ebc4 |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: update r300 rs unit for swtcl need to fix r500 most likely
rivers/dri/r300/r300_state.c
|
cea4f1464b00e025859b3b5dc415ce135afebd92 |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: recombine the vap input route 0 code and clean This gets non-tcl cards working again on this branch.. at least texrect and glxgears
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_swtcl.c
|
026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c |
03-May-2008 |
Dave Airlie <airlied@linux.ie> |
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards
rivers/dri/radeon/radeon_screen.c
|
e081603850cb4e3839a76f0bfbb90cff922dff03 |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Merge branch 'r500-support' into r500test Bringing the FPS code up-to-date. Conflicts: src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/r300/r500_fragprog.h
|
81ec0545c93d57f72cff5099c6a34f04e9257a38 |
03-May-2008 |
Eric Anholt <eric@anholt.net> |
Don't forget to set handle of shared buffers. (And fix a nearby whitespace nit)
rivers/dri/intel/intel_bufmgr_gem.c
|
3d19a095cda30ac8abdbe26cd3b664a4b97c899b |
03-May-2008 |
Eric Anholt <eric@anholt.net> |
Fix GEM execbuf ioctl argument.
rivers/dri/intel/intel_ioctl.c
|
7349f218b47b21595a13103aaa45ddbfdc14dd13 |
03-May-2008 |
Eric Anholt <eric@anholt.net> |
Fix to use GEM execbuf instead of TTM.
rivers/dri/intel/intel_ioctl.c
|
ef33e76cebed39551aabce397d165d3990ba517c |
03-May-2008 |
Eric Anholt <eric@anholt.net> |
Minor fixups to get GEM to the point of execbuf ioctl.
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_ioctl.c
|
568d369d7747c6cc2a421a816c85d888ccfc9957 |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Merge branch 'r345-cleanup' of git://people.freedesktop.org/~agd5f/mesa into r500test Adding Alex's cleanup patches. This adds r5xx TCL! Whoo-hoo! Conflicts: src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_chipset.h src/mesa/drivers/dri/radeon/radeon_screen.c
|
92a0e93ac33ceb64a4e7e930223950d4529cef37 |
03-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Make radeon stuff build again. Yet more evidence that I am incompetent with git.
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
eb10cdc838fc31ea2cf59f556f6f7d8b072f5bae |
02-May-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix build for GEM. TTM is now disabled, and fencing is gone. Fencing was used in two places: ensuring that we didn't get too many frames ahead of ourselves, and glFinish. glFinish will be satisfied by waiting on buffers like we would do for CPU access on them. The "don't get too far ahead" is now the responsibility of the execution manager (kernel).
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/Makefile
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_bufmgr_gem.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
|
89bba44e969f15bf20da6d700c493237b095a588 |
02-May-2008 |
Eric Anholt <eric@anholt.net> |
Add intel_bufmgr_gem for new graphics execution manager.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i965/Makefile
rivers/dri/i965/intel_bufmgr_gem.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_bufmgr_gem.c
rivers/dri/intel/intel_bufmgr_gem.h
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_ioctl.h
|
3323ccb803282dddcf1e403df33d00eaa0fbd0f8 |
02-May-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Warnings fixes.
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_program.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_tex_subimage.c
|
6acb94f89e3314132190d235634a5e3423826757 |
02-May-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Merge intel_ioctl.h. Not sure how this slipped by in the .c merge.
rivers/dri/i915/intel_ioctl.h
rivers/dri/i965/intel_ioctl.h
rivers/dri/intel/intel_ioctl.h
|
ae09292a6e659eabc566a0fc2b1f6fa5e5fd8b36 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: fix rebase conflicts
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
|
9a82fde43aaaeab4370126d549aee8061b3a6937 |
02-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Merge branch 'r500test' of git://people.freedesktop.org/~airlied/mesa into r500test Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/r300/r500_fragprog.h src/mesa/drivers/dri/radeon/radeon_chipset.h src/mesa/drivers/dri/radeon/radeon_screen.c
|
9e7ae34da5aeb9a38c3f4280f6d9648faad48df5 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R3/4/5: fix TCL on r5xx, cleanup PVS code
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
a94cd0d77407a8cf5c151e1f5135eba5d11fdb2b |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: fix VAP_OUTPUT_VTX_FMT_1 defines
rivers/dri/r300/r300_reg.h
|
d5448ceb956d1884bf7aac4667b79a0905fa4166 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: cleanup VAP_CLIP_CNTL
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
e61dadf3de3084157f25ce0fbcc07990bb44aae5 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: clean up VAP_PROG_STREAM_CNTL* register usage
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_swtcl.c
|
2bd26f4afa4f87d3dd2a8b9715455fc3f5a05046 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
Update comment
rivers/dri/r300/r300_state.c
|
e3721a3b3fca5ad7d957ae95252405da0740fbf6 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R5xx: various updates - fixup VAP_CNTL setup - remove extra instruction in r5xx passthrough shader - add notes about pipe config
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
831fc138c1617f5cb49da589ea5126c8eda364a4 |
01-May-2008 |
Alex Deucher <alex@botch2.com> |
R5xx: Add R5xx pci ids
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
28904e54d2a1bae009cbb88088b81e8d5bbd15d5 |
16-Apr-2008 |
Dave Airlie <airlied@linux.ie> |
fixup r500 bits for renaming
rivers/dri/r300/r300_state.c
|
de9c1c3627de778671c0fa1215a2c5e24d4374dc |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup fake shader to keep gears going
rivers/dri/r300/r300_state.c
|
fbab11e9b08d107b04d53833286da1c1487c2708 |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: enable gb tiling for r5xx
rivers/dri/r300/r300_state.c
|
6864220c28c95991cf9577892156d670bd184007 |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup support for emitting fragment program to hardware. Also fixup the constant emission this breaks glxgears from what I can see but its another step to correctness
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
3b7c5bfb98cd4d3b675ac39ec62d0fa71a66a6dd |
21-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: setup fragment program constant emission atom
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
|
6443da0865a6ad8bdd7abc65a9621ba329fcb756 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: add rv530 pci id for the t60p laptop
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
c07534dc719f53c0e59d59f3bd7dd25d1d32747c |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: this code really shouldn't be here. For R500 just ignore it for now while I do something interesting like run glxgears.
rivers/dri/r300/r300_state.c
|
c0cb9bc84c1997d790d0b7efa8ed94fc601d7d19 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
mesa: cleanup state emission and rs for r500 trivial clear app now renders
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
a453b3154e063c3e934cb90a546e984a758dd14f |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500 RS unit setup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
ed1584aed892e9004a96b915c12a1adbc6b419f0 |
19-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
more r500 vs r300 kickin
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
|
5a143e91dcaf64d77694b85671c214f93e3e8512 |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
some basic r500 portage
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
|
8aa98a409b16cfd1a035c3f60208207eb1cc4d41 |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fragprog
rivers/dri/r300/Makefile
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
b15c49e59bdc149b978d2b35a4efcc99d15f16b2 |
02-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
r5xx: Fragprog shader now handles TEX/TXP correctly.
rivers/dri/r300/r500_fragprog.c
|
029cb1fd0f576dd7587bc306b126318fbfcdde2d |
01-May-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Start of TEX/TXP support. Still having problems with temps and consts, though...
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
|
b5246de562706aa2f423edaa060f4530da84f3a0 |
30-Apr-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Added OPCODE_ABS, slightly fixed ADD/SUB
rivers/dri/r300/r500_fragprog.c
|
6e96ea535a8fe4d2487fed27c06feaeef449470d |
29-Apr-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Initial r5xx fragment program compiler support. Includes fallback shader and a handful of working opcodes.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
c02d1863d1bfa87c8c4fdd0c36f90245613d5bbd |
29-Apr-2008 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
Add chip id 71D5 (RV530 M66) to radeon_chipset.h
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
d06e61aa80fcf6d9681d5112f0625b1602975aed |
16-Apr-2008 |
Dave Airlie <airlied@linux.ie> |
fixup r500 bits for renaming
rivers/dri/r300/r300_state.c
|
a3996ba2d1b43795c289d3e59e561e4fc84d9b7e |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup fake shader to keep gears going
rivers/dri/r300/r300_state.c
|
8e33a83b6820af84862c45c30829a8ef52578743 |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: enable gb tiling for r5xx
rivers/dri/r300/r300_state.c
|
70335540c68a35121979ac63d976fb5edc1d68ca |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup support for emitting fragment program to hardware. Also fixup the constant emission this breaks glxgears from what I can see but its another step to correctness
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
14c3bdb3f7de153d93eda13980275d2840d62016 |
21-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: setup fragment program constant emission atom
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
|
e46c3d7bcf000803e2a7d7339fe36db4fb97cf62 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: add rv530 pci id for the t60p laptop
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
99e75135ee5437e47bb64983dbb2deaef131f2d6 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: this code really shouldn't be here. For R500 just ignore it for now while I do something interesting like run glxgears.
rivers/dri/r300/r300_state.c
|
9d9f66cc8d57dc16bb94c092b3821b56afce6cab |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
mesa: cleanup state emission and rs for r500 trivial clear app now renders
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
a87914993d2d4a5ed32adfe16e2a2ac006d997c0 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500 RS unit setup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
55418dc87d132875feb50c2bd9531b5f5ed13334 |
19-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
more r500 vs r300 kickin
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
|
2ffa112ed32cf8123e5177a0fe2c12130c6f78c7 |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
some basic r500 portage
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
|
cd66f0e2d9e79b03b4773ccacf758fd3d141ccab |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fragprog
rivers/dri/r300/Makefile
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
1226aba119c46c09ec6620dc0be29b63fb3440a7 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R3/4/5: fix TCL on r5xx, cleanup PVS code
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
99df379b2c5b8e4e2ee7e5f2af864daf0a9eb1f7 |
02-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: set template.target = PIPE_TEXTURE_2D
tate_tracker/st_cb_fbo.c
|
25d9f2dd247f9d9cc4bb18032d10542fd67ccea2 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: fix VAP_OUTPUT_VTX_FMT_1 defines
rivers/dri/r300/r300_reg.h
|
b2021e7c06a9ec13b82eeeb352ad2408fe060518 |
02-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: identify depth-stencil textures And don't use the display-target path to allocate them.
tate_tracker/st_cb_fbo.c
|
734ef96d5f7dae620115f328296d7e560e624042 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: cleanup VAP_CLIP_CNTL
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
ce509401738e7073de94a2b7fc41461c52a73da0 |
02-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: minor code, comments clean-up
tate_tracker/st_cb_texture.c
|
479d19f5a2bca79104f3b7f94147e94a52a27fea |
02-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in st_finalize_texture() check texture dimensions Check dimensions in addition to target, format, etc. Fixes a bug where we failed to detect a change in texture image sizes and wound up using the old texture data.
tate_tracker/st_cb_texture.c
|
db1fc51ccc24745e83bd2f635bed97787873341b |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R300: clean up VAP_PROG_STREAM_CNTL* register usage
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_swtcl.c
|
a73ae3d5eb8419feab5aea26573aa41b72f941eb |
02-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Add texture usage flags, special-case allocation of display targets For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
d4074c509b5d28be0a2ec51d40329e1aed7047ef |
02-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Reallocate pipe_texture in st_TexImage if the texture object was used. Fixes problems with interleaved glTexImage and rendering calls.
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
|
be8a42b4fcad0e0c7803e63f9c4b488c2f618cef |
02-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
snprintf -> util_snprintf
tate_tracker/st_cb_strings.c
|
45077fc3232eebf2b657c552afa92b24e4770bb0 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
Update comment
rivers/dri/r300/r300_state.c
|
279ea105d8e91aa922ad946b66ee076e5e7e21c7 |
02-May-2008 |
Alex Deucher <alex@botch2.com> |
R5xx: various updates - fixup VAP_CNTL setup - remove extra instruction in r5xx passthrough shader - add notes about pipe config
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
4a159132082429d5492f5298c2ccb0df551c9f65 |
02-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove usage of winsys->surface_alloc_storage from state tracker Allocate a texture containing storage instead. Also clean up ACCUM buffer allocation slightly -- drivers will need some changes to texture allocation logic to accomodate the concept of a texture that will only as image storage by the CPU, but it's cleaner than it was.
tate_tracker/st_cb_fbo.c
|
c3a8a41faabed4c9b84a6fbaf7a86a089b8fcbba |
02-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
5e49037caa4cf9062efd0bbebf67b467684b633b |
02-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
revert mode change back to 644
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_constbuf.c
|
7e4bc84dfc6c05cea3d6fc52173708ddeb33cf45 |
02-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
inline -> INLINE
tate_tracker/st_program.h
|
54507125e735ffa595e252282eaabf38095c21e1 |
02-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Some changed for non-C99 compilers
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_fixedfunction.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_stipple.c
tate_tracker/st_atom_texture.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_clear.c
tate_tracker/st_draw.c
tate_tracker/st_extensions.c
|
4687272b20f92184a838fe2187857162a0a90a06 |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use screen->tex_surface_release()
tate_tracker/st_texture.c
|
6e19f82c37191dabcdd882d0edac98a2ca9c11e4 |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix conversion of GLfloat display list IDs Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE.
ain/dlist.c
|
f25b37c1da2c9f1109b9169b89216c2be4750f98 |
01-May-2008 |
Alex Deucher <alex@botch2.com> |
R5xx: Add R5xx pci ids
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
44791e2d78f894e62ab00b85277ee3ad4515519f |
01-May-2008 |
Alex Deucher <alex@botch2.com> |
Merge branch 'r500test' of git://people.freedesktop.org/~airlied/mesa into r345-cleanup
|
de7277f81a0f4330f11ec429bf46e93d0a748dfe |
01-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Set sampler->min_lod instead of always reallocating pipe_textures.
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_texture.c
|
bf1e120b318ba8cbda7316fb8862acd44a3b459f |
01-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: squash harmless warning
tate_tracker/st_mesa_to_tgsi.c
|
e97bedb302701e2e50cef664690b83a1fe6c95ed |
01-May-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix build problem with MSVC
ain/context.c
|
c9ed86a96483063f3d6789ed16645a3dca77d726 |
01-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: tex surface checkpoint
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
7584bcf3f746573fc379c7748acc0be96a3db7de |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove old files
tate_tracker/st_texobj.c
tate_tracker/st_texobj.h
|
21989edd55409d72ee55187f4f9062496ca3fbf8 |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix texture border removal bug
tate_tracker/st_cb_texture.c
|
54f94a790e4488445347abcff9a636a9c440d7f9 |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use the newer PIPE_FORMAT_x_UNORM format names
tate_tracker/st_cb_bitmap.c
tate_tracker/st_format.c
|
c32477742facd06c22befcd300e9fdfeafb6995b |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add support for GL_REPLACE_EXT texture env mode. GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
ain/texstate.c
|
5f0fa82f68e3f4f7086ed6cf5616ef94820e19ee |
01-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add support for GL_REPLACE_EXT texture env mode. GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
ain/texstate.c
|
99fba5466bfd14c4e052041c0571821be529e762 |
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use new buffer wrapper functions in p_inlines.h This allows us to remove most of the direct references to winsys in the state tracker.
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
7146a1a29d3897fc0bd46dd56f3b36f2351d0f88 |
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: consolidate the bitmap->texel conversion code
tate_tracker/st_cb_bitmap.c
|
d3b98330d800d347e3fccf80a40fa87453659c6c |
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: create a new texture each time we init/flush the bitmap cache
tate_tracker/st_cb_bitmap.c
|
eefb9d3b51e40867ac3fee43b6496a62b1888b3c |
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: simplify texture format selection
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.h
|
d12fa3511da23d8285f3ea1a51a1f328cdbb1462 |
30-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: test cpp to ensure mipmap tree matches texture image.
rivers/dri/intel/intel_mipmap_tree.c
|
4e0e02ae684c0286599309ae166cfc716db940d7 |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: adjust glBitmap coords by a small epsilon Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. Cherry picked from gallium-0.1 branch
ain/drawpix.c
|
6fb40092261b891b78e504f453fddf041f9efac6 |
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: flush pipe before updating bitmap texture Fixes duplicated text bug in progs/tests/texwrap.c
tate_tracker/st_cb_bitmap.c
|
4f474c7d1e1e6807af0f3db55f641fbd66be2e90 |
29-Apr-2008 |
Ove Kaaven <ovek@arcticnet.no> |
r200: fix state submission issue causing bogus textures (bug 15730)
rivers/dri/r200/r200_texstate.c
|
dd9dc7df80d208b884b4c090e4408c9a12aa6095 |
29-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added some assertions to st_render_texture() to check surface format Make sure we can really render to the texture surface given its format.
tate_tracker/st_cb_fbo.c
|
cc94863429d8a6cef8dbf861e78701a458d30f5a |
29-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix broken GL_DEPTH_COMPONENT case in fallback_copy_texsubimage() Also, make sure surfaces are suitable for blitting before calling util_blit_pixels().
tate_tracker/st_cb_texture.c
|
5fb774ab31b11f3a55d9dc47cee5eeaf5abc5981 |
29-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added _mesa_scale_and_bias_depth_uint()
ain/pixel.c
ain/pixel.h
|
acba9c1771d653126fd6f604cb80c050b9e8ffb3 |
29-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Change default of driconf "allow_large_textures" to announce hardware limits. The previous default these days served mostly to cause artifical problems with GLX compositing managers like compiz (see e.g. http://bugs.freedesktop.org/show_bug.cgi?id=10501).
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
|
216603348c399b58fadf39b972d3f708e82f253b |
29-Apr-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: set border color
tate_tracker/st_atom_sampler.c
|
62a32b0d689753e044016086a598766db671568b |
28-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fix for xorg driver
rivers/dri/common/dri_util.h
|
c2497879f127251994064a0e0c24901782adae9e |
28-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix incorrect level param in copy_image_data_to_texture() This fixes a weird conform test failure that depended on something that happened several tests earlier. This took waaaaaay too long to find/fix.
tate_tracker/st_cb_texture.c
|
7f5e9d3f07f6fbfa699bef4ffff85fe0b557584a |
28-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: check for PIPE_FORMAT_X8Z24_UNORM format
tate_tracker/st_cb_readpixels.c
|
44c79f88b8abbbcafe4e6e462d7f0d8505265e2b |
28-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace some code with a call to st_choose_format()
tate_tracker/st_cb_drawpixels.c
|
ee4434121c5ce556af8af899297d4249435c6d71 |
28-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: return enum pipe_format, not uint, for a few functions
tate_tracker/st_format.c
|
ca73488f48e3ee278f0185bb7dcc03d7bdedb62d |
26-Apr-2008 |
Keith Packard <keithp@keithp.com> |
[i965] short immediate values must be replicated to both halves of the dword The 32-bit immediate value in the i965 instruction word must contain two copies of any 16-bit constants. brw_imm_uw and brw_imm_w just needed to copy the value into both halves of the immediate value instruction field.
rivers/dri/i965/brw_eu.h
|
1cf164142768d8338527ee8cab8dee83af82af0b |
26-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->bitmap_texcoord_bias
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
|
332b77b852905224741084c5a4f5d2f4625dd119 |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use simple color pass-through fragment shader if textures don't exist If we run out of texture memory we may not have the texture needed by the fragment shader. If this happens, plug in a color passthrough shader. So instead of crashing, we just don't see the texture. GL_OUT_OF_MEMORY is raised, of course.
tate_tracker/st_atom_texture.c
tate_tracker/st_context.h
|
4c50969334844bc9aa622176c3ebcbc733394f78 |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added null ptr check
tate_tracker/st_cb_texture.c
|
9b44f5a7550d8ede2eda763770e927df4c15cc8e |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added a null ptr check
tate_tracker/st_cb_texture.c
|
1437b41d9068017dbe981a784285d5773c1d1ead |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
ain/bufferobj.c
ain/bufferobj.h
tate_tracker/st_cb_drawpixels.c
wrast/s_drawpix.c
|
149a4175fafdb4dfcf31b28377f83092c9edf335 |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: consolidate quad drawing code
tate_tracker/st_cb_drawpixels.c
|
b6d8b21cc8e36eb4f6fa72a067561f3fa8bd6ebf |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unused st_draw_vertices()
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
7dcbbdf353fe14401ba23e5b486658d2b46c550e |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use util_draw_vertex_buffer() instead of st_draw_vertices()
tate_tracker/st_cb_drawpixels.c
|
10d70e2f2c182d717698bf3c8a2c1622a04ea3e8 |
25-Apr-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
glcore: Respect DESTDIR
rivers/xorg/Makefile
|
3faea292e537b8fe8f86b03ae9147c73f17efc3b |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix the compressed texture hack in st_texture_image_copy() Actually, the hack is still there and needs to be revisited, but I get a bit further with compressed textures now.
tate_tracker/st_texture.c
|
658f5e721316f1983ae39b6b94b992baca0e2bc2 |
25-Apr-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
scons: A few fixes for building mesa on windows.
Conscript
|
3c0dc8242b64518d5635263ba65b39afa919dd86 |
25-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate.
tate_tracker/st_cb_texture.c
|
118de7a01369977d13f40bab2ad591320cc7f7ff |
25-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence warning
rivers/dri/common/xmlconfig.c
|
d7b523b46b833fd08c70850d7a6cc7b6fd714a8e |
25-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Tell the driver the texture is updated when we finish rendering to it.
tate_tracker/st_cb_fbo.c
|
b4c7a48d5c9ed2f9535a17d6c05cd55178c7880a |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix an edgeflags crash
tate_tracker/st_draw.c
|
fddb0f6e4fa67f3d6940e10519560941b59f5a5e |
25-Apr-2008 |
Pierre Beyssac <mesa-bugzilla@fasterix.frmug.org> |
enable GL_EXT_multi_draw_arrays (see bug 15670)
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
|
ef683014dd72612e6eb245e89e754b033acb3a49 |
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: initial edgeflags code
tate_tracker/st_draw.c
|
bceebffc178af89154b3b78f3afd97f0d93ca2f8 |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: disable the bitmap/texcoord bias Doesn't seem to be needed after fixing the float->int conversion problem.
tate_tracker/st_cb_bitmap.c
|
72c8d2f2449d54005eb721fe3853a6009e9b8d17 |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: adjust glBitmap coords by a small epsilon Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check.
ain/drawpix.c
|
a770d40c3d4977e2c134661b5d8facaea446b6ea |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use cso_destroy_vertex/fragment_shader() functions Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_program.c
|
7333578d2a5fa18f7f0101fc3fd3b03cf2f356bc |
24-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Initial support for pixel formats with unused storage components. Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
tate_tracker/st_cb_fbo.c
|
ba47aabc9868b410cdfe3bc8b6d25a44a598cba2 |
23-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix potential divide by zero in fog computation It's legal for Fog.Start == Fog.End and conformance testing does so.
hader/prog_statevars.c
|
f6f9f5e4814f95db1b71251d818da4fca2ec5e18 |
03-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
drop stray includes of glapi
ain/context.c
bo/vbo_exec_array.c
|
37be884875ed291c7cf378c570df1cd46b8c2fa1 |
18-Apr-2008 |
George Sapountzis <gsap7@yahoo.gr> |
glcore: drop outdated sources files intented for xorg
rivers/common/sources
rivers/x11/sources
lapi/sources
ain/sources
ath/sources
hader/grammar/sources
hader/slang/sources
hader/sources
wrast/sources
wrast_setup/sources
nl/sources
|
750f52169ccbd1aca217e7749f1ce6ae5828c2ac |
18-Apr-2008 |
George Sapountzis <gsap7@yahoo.gr> |
glcore: tree sharing for DRI and XMesa
rivers/x11/xm_api.c
rivers/xorg/Makefile
|
32a2a095f4d8e3be7fa2807cb436bd09e8eb5a75 |
18-Apr-2008 |
George Sapountzis <gsap7@yahoo.gr> |
glcore: build from mesa
akefile
rivers/x11/glxheader.h
rivers/xorg/.gitignore
rivers/xorg/Makefile
rivers/xorg/glcore.c
lapi/glapi.c
lapi/glthread.c
ain/glheader.h
|
33f3938d2d6340b31d758c96bd35f858c6c8267d |
23-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix some bitmap frag shader issues If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
1977fbff6010af0a5bd0bba7c0367b7713185a92 |
23-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: don't set buffer status to undefined in display_front_buffer()
tate_tracker/st_cb_flush.c
|
b3efd35f4bdd62cf36b6f59be602fa8781db9b89 |
23-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
revert part of the previous cleanup - it only applies to the 7.0 branch
hader/prog_statevars.c
|
b456f1374fc958e53efc80ee38ef343f580c1d6b |
22-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: st_translate_fragment_program() is void now The return value was never used.
tate_tracker/st_program.c
tate_tracker/st_program.h
|
936dba1de5ca0d4252061c4a93674fad2d66d202 |
22-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix error string
hader/prog_execute.c
|
c8666cfb0be7c36be66f7f14aa013c8afa1a9d38 |
22-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
correct the return value
hader/prog_statevars.c
|
eec20c359db9b48161902fea2a5ad014b09fd190 |
22-Apr-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
small cleanups
hader/prog_parameter.c
hader/program.c
hader/shader_api.c
|
fd4acd6fdaaad4871327d081f5501680ed9da2ed |
22-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: How about restoring shaders instead of saving them again...
tate_tracker/st_cb_bitmap.c
|
57b85e197b33d39063d431500016dffcce46ab7c |
22-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Don't link x86sse.c into libmesa.a. Otherwise we get a symbol clash with the copy in src/gallium/util .
Conscript
ources
|
6e620162a1b235ade227368b87fa993e844d7077 |
22-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix DEPTH_TEXTURE_MODE (bug #14220)
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_surface_state.c
|
c9c64a100d5d0661fd672af040a68bd4e7292940 |
22-Apr-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] This is to fix random crash in some maps of Ut2004 demo. e.g. bridge of fate. If vs output is big, driver may fall back to use 8 urb entries for vs, unfortunally, for some unknown reason, if vs is working at 4x2 mode, 8 entries is not enough, may lead to gpu hang.
rivers/dri/i965/brw_urb.c
|
f61e51ee98a2f43ad61e98353eae2cd8dc8a272f |
22-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: save the offset of target buffer after last execution, not relocatee buffer.
rivers/dri/intel/intel_bufmgr_ttm.c
|
01dfa6cde157321f565bab949f23f367ed20fa0e |
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
use cso fs/vs handle functions
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_program.h
|
c2afa182f31ed4a8be01078c2b8bedcd881cd157 |
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: remove st_cache.c
tate_tracker/st_cache.c
|
65efe807b9067aa07b382e3c4d9cea6222c5fc6b |
21-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Use CSO cache for shaders.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_gen_mipmap.c
|
7c2a3fced8bbf0915ee4160c23b1752917c1e69d |
21-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fix an assertion failure. fix bug #15575
rivers/dri/intel/intel_tex_image.c
|
33107357a1226b9218fac410a7502a981aac5cc5 |
21-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix #15574
rivers/dri/intel/intel_bufmgr_ttm.c
|
7d72607e142c0412b88183b849fd701e698b8f79 |
19-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: move incoming vertex state into draw->pt This state is effectively private to the vertex processing part of the draw module.
tate_tracker/st_draw.c
|
507fbe2d327efb8d608ce8e07436b97321560808 |
19-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: move some pipeline-specific code & state to draw_pipe.[ch]
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_rasterpos.c
|
39c06c4336ee44ad2c0ff12705a384dede050bee |
18-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: get rid of unnecessary surface mapping
tate_tracker/st_cb_drawpixels.c
|
073d9a28c2dc955956c940be6fcc4b3ab354cc6c |
18-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Always pass colour clear value to driver as A8R8G8B8.
tate_tracker/st_cb_clear.c
|
27e06a52342b94b4fb1d60a57c3bdaa2b30607cf |
18-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
i965: fixup depth buffer check
rivers/dri/i965/brw_misc_state.c
|
fda4895d26eec6d810da51a6c023a5459230ff6a |
18-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
i965: fix vb aperture space check
rivers/dri/i965/brw_draw_upload.c
|
e92e3848e7c8c1481e785973d8609072f2f5db21 |
18-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
965: fix vb upload size check
rivers/dri/i965/brw_draw_upload.c
|
e149e1b953bccdf735665547798574e06f989730 |
18-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
i965: fix gs_prog aperture check
rivers/dri/i965/brw_gs.c
|
f2a6404ef39b4985788aaf9ec8b540704e5aa92b |
17-Apr-2008 |
Dave Airlie <airlied@redhat.com> |
i915: check for depth region before accounting its buffer size fd.o bz #15573
rivers/dri/i915/i915_vtbl.c
|
008653ac55776d6b1c6d1627ad20937aa1c4dbda |
17-Apr-2008 |
Dave Airlie <airlied@redhat.com> |
i965: initial attempt at fixing the aperture overflow Makes state emission into a 2 phase, prepare sets things up and accounts the size of all referenced buffer objects. The emit stage then actually does the batchbuffer touching for emitting the objects. There is an assert in dri_emit_reloc if a reloc occurs for a buffer that hasn't been accounted yet.
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_blit.c
|
5af9a690b2afc4c8f0f1118dad891b5ab53db597 |
17-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add missing pipe_surface_unmap() call
tate_tracker/st_cb_accum.c
|
211170c192dfac5c2b39a6f34056255712fdfed6 |
17-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: plug in a select_destroy() function (fixes segfault on exit)
tate_tracker/st_cb_feedback.c
|
f2b3f6cbdfc4799a0f742c06d2ce0755582c50c4 |
17-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: reorder some of the destroy context code
tate_tracker/st_context.c
|
08f9b190a798c9c61ae07208345d0c2b37e54d39 |
17-Apr-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
Revert "[i965] renable regative rhw test" This reverts commit 3158e981f5f37768e9b04765704b9eaece8b899b. rhw issue has gone away on IGD.
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_vs_emit.c
|
8642dd30f927a113be0dcd75e4e93e59cf099431 |
17-Apr-2008 |
Andrew Randrianasulu <randrik@mail.ru> |
r200: accept PROGRAM_CONSTANT inputs due to mesa changes
rivers/dri/r200/r200_vertprog.c
|
4b822a101680532ce6df52904af91194b78a16ba |
17-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement RGBA pixel maps in the pixel transfer fragment program
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
dc5a853c85d2daa8b7b0e6d32e00c4976746d704 |
16-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: make choose_format() non-static: st_choose_format()
tate_tracker/st_format.c
tate_tracker/st_format.h
|
e38f677e8f5596d92a6756e13f41f6523de737c2 |
16-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: finish-up and fix support for GL_COLOR matrix on pixel xfer path
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_extensions.c
|
302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58 |
16-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added internal post color matrix scale/bias vars
hader/prog_statevars.c
hader/prog_statevars.h
|
eff6f1203222a776c5990b5d104b57a7f69b9aab |
16-Apr-2008 |
Dave Airlie <airlied@linux.ie> |
fixup r500 bits for renaming
rivers/dri/r300/r300_state.c
|
09df5eaff2ba2694b82d1211fd24410cb2997e25 |
16-Apr-2008 |
Dave Airlie <airlied@linux.ie> |
Merge branch 'master' into r500test Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_ioctl.c
|
b64448b3e4026d3f11f366515b7544a6581403f3 |
16-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
bufmgr_fake: disable debugging again
rivers/dri/common/dri_bufmgr_fake.c
|
96338dd1470bb088cbbe50d629cd30175245a784 |
16-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
intel: fix _mesa_error ctx I introduced at lsat minute
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
7cc7ff7051d427ff45b4d7d3664e2eecd13d0e13 |
16-Apr-2008 |
Dave Airlie <airlied@panoply-rh.(none)> |
intel/fake_bufmgr: Attempt to restrict references to objects in a batchbuffer > aperture size. So with compiz on Intel hw with fake bufmgr, opening 4 firefox windows at 1680x1050 and hitting alt-tab, could cause the batchbuffer to try and reference more than the 32MB of RAM allocated. Fix 1: Fix 1 is to pre-verify the list of buffers against the current batchbuffer and if it can't possibly fit in the aperture to flush the batchbuffer to the hardware and try again. If the buffers still can't fit well then you are hosed as I'm not sure there is a nice way to tell anyone. Fix 2: Next problem was that even with a simple check for total < aperture, we ran into fragmentation issues, this meant that half way down a set of buffers, we would fail as no blocks were available. Fix this by nuking the memory manager from orbit and letting it start again and relayout the blocks in a manner that fits. Fix 3: Finally the initial problem we were seeing was a memcpy to a NULL backing store. We seem to end up with a texture at some point that never gets mapped but ends up with data in it. compiz al-tab icons have this property. So I created a card dirty bit that memcpy's any buffer that is !static and is written to back to memory. This probably is wrong but it makes compiz work for now. Caveats: 965 support is still fail.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
bbb042f0b809ebb754547397b8f22a5751c275da |
15-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix multi-draw buffer regression
wrast/s_span.c
|
90b9a11a6d69f1cf6c837def0e8a9b598079ef1b |
15-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix semantic indexes for outputs
tate_tracker/st_mesa_to_tgsi.c
|
e4b3c13d7a7dbd716bdf4b4d2dda8c6e579bd2d1 |
15-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix multi drawbuffer fb state
tate_tracker/st_atom_framebuffer.c
|
b54225ccd6d3bc1b678e27c2f00ebddf5bf1046d |
15-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: set ctx->Const.MaxDrawBuffers
tate_tracker/st_extensions.c
|
5807c0242c38742d96c7ada3503f3198070aa208 |
14-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_ARB_texture_rectangle breakage
hader/slang/slang_preprocess.c
|
118c2bc860037f084166d3406039d82198ddf3d6 |
14-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
only use __x86_64__, not __amd64__ (bug 15503)
rivers/dri/sis/sis_context.h
ain/imports.h
ath/m_debug_util.h
|
8fd2b7d9ddbc3c832d0452eb32709d8c835fb193 |
14-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_ARB_texture_rectangle breakage
hader/slang/slang_preprocess.c
|
7be8d5664aa3005f5ec19dd48b0719ed94e8b252 |
14-Apr-2008 |
David Flynn <davidf+nntp@woaf.net> |
define #extension GL_ARB_texture_rectangle
hader/slang/slang_preprocess.c
|
78852986e6379a615a5742951f0fc6470e7c9d12 |
14-Apr-2008 |
David Flynn <davidf+nntp@woaf.net> |
mesa: define #extension GL_ARB_texture_rectangle
hader/slang/slang_preprocess.c
|
32134b5508495fbb1d9fc2f844e22fbb082dcda6 |
12-Apr-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r200: fix XPD vertex program instruction when using temps as inputs due to the two read ports limit into temp memory may need the MAD_2 instruction for the second instruction of the decomposed XPD. While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the temps aren't actually distinct.
rivers/dri/r200/r200_vertprog.c
|
16900515214912557dfd35e3b333e0e312b8bc61 |
11-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fix broken x86_call()
86/rtasm/x86sse.c
|
02250c855fbec5299a2d6118fefa0523ec73654c |
11-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Flush render cache at the beginning of fallback_copy_texsubimage(). It may get stale bits otherwise.
tate_tracker/st_cb_texture.c
|
d758479b9fbff803bdac15f3f39d32ef9064db71 |
11-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Fix glBegin-time test for invalid programs/shaders. Cherry-picked from master.
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
|
51ad219d6fbcdaa50e2f1b5854dfbbc4b8cab8fc |
11-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix failed assertion (parameter can be a PROGRAM_CONSTANT)
hader/prog_execute.c
|
3f4e80c06b5b6efcd540ca5daf734100fad19ff0 |
11-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
ain/getstring.c
|
7a8ad75c89b45520043693a37d9f0c7e0b24fc5d |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix readback of z16 values
tate_tracker/st_cb_readpixels.c
|
311e40268414649f047ee177ba22a17a2d437843 |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: more elaborate tracking of front color buffer state This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front.
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
|
54d7c399a888283711bdc00f93cb54a3ce0b30eb |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: more flush/finish changes New, separate is_front_buffer_dirty() function.
tate_tracker/st_cb_flush.c
|
4ecbd5a70fba3e7d5f8b56ede34867ea5964afc6 |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: reorder funcs
tate_tracker/st_cb_flush.c
|
aade2f41b0d5cf0fb44e094c0b10cfaf1f621aec |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: call_flush_front_buffer() from st_glFinish()
tate_tracker/st_cb_flush.c
|
574f964667c5ec35f4832c839a9dcc24f92e2aab |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fold st_gl_flush() into st_glFlush()
tate_tracker/st_cb_flush.c
|
9c86c0e88b09370584f767747c52b7f352844ac5 |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: refactor code, new flush_front_buffer() function
tate_tracker/st_cb_flush.c
|
a52faa9325db178601811f4bdad6d9747de5f238 |
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->haveFramebufferSurfaces field.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
f97c56e057f954cbc477df10ad767636f3fe83ce |
08-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Fix up scons build.
Conscript
|
985134211d9fbfe9b7885beeeb85fdcf2ab78f87 |
08-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: check ctx->DrawBuffer before flushing bitmap cache. During context unbind, we may not have a draw buffer. This fixes demos/tunnel2.c
tate_tracker/st_cb_bitmap.c
|
d28a2004b8a69d66595f2c6b5398085b73873533 |
07-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix the texture case in default_deep_rgba_format() Fixes glean pixelFormat test
tate_tracker/st_format.c
|
2b8b2420d48b1b9ce0ec4010ce3968a91a57a4c9 |
07-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: slightly improved accum clear/mad operations Instead of get/put_tile(), map the buffer and operate on values directly.
tate_tracker/st_cb_accum.c
|
0dd596fbc7f88b88467529a7f176aca70d70f731 |
07-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: accum buffer fixes If the driver can't create a PIPE_FORMAT_R16G16B16A16_SNORM surface, create an accum surface using a shallower format and taller height. Since only the accum buffer code accesses the surface the actual format doesn't really matter, just that there's enough memory.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_framebuffer.c
|
29b65a709cae779debc4bcdbfaa66cfe72f7074f |
07-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove stray comment
tate_tracker/st_cb_queryobj.c
|
2b2d0e05842691e715782a64845aeca12a428427 |
07-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up in st_renderbuffer_alloc_storage()
tate_tracker/st_cb_fbo.c
|
d945e8ddd7cc8f2882ea0a2336bc2e534a1bca78 |
07-Apr-2008 |
Jakob Bornecrantz <jakob@tungstengraphics.com> |
mesa: Pulled in glthread from i915tex
lapi/glthread.h
|
42a9218daa8f564ea1b992a48cc3c375fd1b815e |
07-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: call _mesa_remove_varying_reads() after compiling vertex shaders
hader/slang/slang_compile.c
|
48a25bdd3693ec4a2556efb3c387cc3eb8151cb5 |
07-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: new _mesa_remove_varying_reads() function We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed.
hader/programopt.c
hader/programopt.h
|
5d1e73028aabfa1470bfed02c705a2696706f857 |
07-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: added _mesa_insert_instructions() Also, use new _mesa_free_instructions() in a few places.
hader/program.c
hader/program.h
|
f3bd7bf5c913d2a58d424e995b4d441e402bd62b |
07-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: added _mesa_free_instructions()
hader/prog_instruction.c
hader/prog_instruction.h
|
da3e48186dc25f40925ca89b08baa5cd34143647 |
07-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Fix r300VAPInputRoute{0,1} for big endian platforms.
rivers/dri/r300/r300_emit.c
|
bc029247d9d886f4546a4c3a36737d09c488b7f9 |
05-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: no longer combine vertex/fragment shader parameters/uniforms GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_link.c
ources
|
b8cc9e88e067a5cd6a1acbae6d6a314e9165652f |
05-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: new functions for managing list/index of uniforms
hader/prog_uniform.c
hader/prog_uniform.h
|
b53d6ae4be955c701695e093ea4457ab1c9c0ed7 |
05-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: always pass size=4 to make_immediate() Mesa always packs 4 immediates into each parameter/const buffer slot. I think we were just getting lucky with this as it was.
tate_tracker/st_mesa_to_tgsi.c
|
74a6a46b749668032c17f8fb2312e927f214768c |
05-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: adjust the code in update_textures() to look more like update_samplers()
tate_tracker/st_atom_texture.c
|
f32c51277498887b348133ebcd947dbc8acce756 |
04-Apr-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: state tracker fixes for compressed textures
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
|
ac2ca39f8f6024b13b0ddbfe767f9dbc9a528e6c |
04-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add new call to st_flush_bitmap_cache() to fix recent regression
tate_tracker/st_cb_flush.c
|
72f2c55069f167a46560005931382e3b472f92ed |
04-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders.
hader/program.c
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
1d6877b32642d718fb7b29eca647f4d1dd0f99bb |
04-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Revert st_gl_flush() changes from when the **fence argument was added. As st_gl_flush() isn't used by st_finish() anymore, it doesn't have to make sure pipe->flush() always gets called.
tate_tracker/st_cb_flush.c
|
7b5303adbf5965510061a21f40d40c931add73eb |
04-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Call st_flush() instead of st_gl_flush() in st_finish(). This is enough for the current purpose of st_finish(), which is to wait for things to settle down before context teardown.
tate_tracker/st_cb_flush.c
|
9edac96d69b6f9942c170c573c9aba4c35550639 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Alias glStencilOpSeparateATI with glStencilOpSeparate.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/state.c
ain/stencil.c
ain/stencil.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
102f2ef4fc2d45c51926add6bdf51ef6fcb43b35 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Finish up ATI_separate_stencil Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/state.c
ain/stencil.c
ain/stencil.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
04097f558325eae35b5da1b72e6da938b433ad0a |
30-Oct-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
add missing _mesa_StencilFuncSeparateATI function
ain/stencil.c
ain/stencil.h
|
cf9b07ea3474cd33e797eeb10b3fd73ad54ae8d5 |
04-Apr-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: fix two-side stencil handling Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
tate_tracker/st_atom_depth.c
|
c07d3f6a9e62bd88e05d4ebf72430139b0531be8 |
04-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Always allocate new const buffers instead of modifying existing ones.
tate_tracker/st_atom_constbuf.c
|
1757acc293b936f0196e983ddea281c346952c45 |
04-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
rewrite some of the mat*mat, mat*vec intrinsics Also, remove obsolete matrix codegen code.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
1307eebfa07e3440554eb2871e5dbd94e98ed7a8 |
04-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: test if PIPE_FORMAT_YCBCR[_REV] is supported and enable GL_MESA_ycbcr_texture Update texture format selection code too.
tate_tracker/st_extensions.c
tate_tracker/st_format.c
|
124e1345c9ba4abe17bb04b8781ec0fe803eda7b |
03-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
|
ce5c867cbb17b2444ebc3db5c6a03cee5e2edb8a |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: streamline viewport/raster/shader state for clearing with quads Move init of these items to new st_init_clear().
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_clear.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
e8823bb7dfad7c6241da185cd0ac94ede42c33e5 |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: include st_cb_bitmap.h to silence warning
tate_tracker/st_cb_readpixels.c
|
c4f8c8b304a47b2490fe5b1d133e314b045854df |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove the temporary/test TEST_DRAW_PASSTHROUGH code
tate_tracker/st_cb_clear.c
|
4f67a3f7d3bdeaa8d16d877ce9b277c97bd2f6b4 |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use identity viewport fix broken clear_with_quad() path Since bypass_clipping is set and we're specifying quad vertexes in window coords, setup identity viewport.
tate_tracker/st_cb_clear.c
|
0bc2e2c9cd552e4187dd8a2250e350efcdc9aea1 |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: call st_flush_bitmap_cache()
tate_tracker/st_cb_readpixels.c
|
f07fe3c728aec5a715cf615822151e11a00cda44 |
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: set gl_rasterization_rules
tate_tracker/st_cb_drawpixels.c
|
dc836edf49a08a7fd77fc1f127818b0550558581 |
03-Apr-2008 |
Kristian Høgsberg <krh@redhat.com> |
Initialize GLX_EXT_texture_from_pixmap attributes correctly.
rivers/dri/common/dri_util.c
rivers/dri/common/utils.c
|
8e33194837dd206d920889851d9cf22190100c99 |
02-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add a flag to turn on gl rasterization rules Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
tate_tracker/st_atom_rasterizer.c
|
bc739440c29c551fcc44e9e12d0d9c170d8d24fb |
02-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add temporary facility for rasterization-time clamping of point sizes
tate_tracker/st_atom_rasterizer.c
|
28dfb0613b51c51d5f09010ea38d050a9ec817d7 |
01-Apr-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)
ain/state.c
|
9d287a184111693a1fbb9231b1d7a8afa56e9ae5 |
01-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: init ctx->Const.MaxTextureUnits
tate_tracker/st_extensions.c
|
f3a62372bf155d14876f98b1a085841607bb344c |
01-Apr-2008 |
Ben Skeggs <skeggsb@gmail.com> |
handle IsPositionInvariant flag
tate_tracker/st_program.c
|
5c4ca968fab1b0b993fabeb73e3a5d92cbaadaf1 |
01-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
added some missing calls to _mesa_enable_x_y_extensions()
rivers/fbdev/glfbdev.c
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
|
cc85573a9f3d976b70669a53403ce7355ad84394 |
01-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Fencing fix. Make sure the struct pipe_fence_handle* we point st_flush() to is initialized to NULL, so winsys->fence_reference() doesn't try to unreference a random struct pipe_fence_handle* pointer.
tate_tracker/st_cb_flush.c
|
6b0be38a6cfecd2babc7175b0877bed522ca9f72 |
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: used inverted bitmap texture to simplify the fragment shader. "Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0. Then use KIL -tmp to kill the off bits and keep the on bits. This shortens the fragment program by two instructions.
tate_tracker/st_cb_bitmap.c
|
3ea80c1128344a06b5d5c9cd45615a597047e402 |
31-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
fix parsing bug involving comments at the end of ARB v/f programs
hader/arbprogram.syn
hader/arbprogram_syn.h
|
9136747a2b232ae7023972e6611cb2c845a86886 |
31-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
fix parsing bug involving comments at the end of ARB v/f programs
hader/arbprogram.syn
hader/arbprogram_syn.h
|
e82dd8c6e1fa2fff5b960de26961080ba5e9651d |
27-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
DRI interface changes and DRI2 direct rendering support. Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
|
ddc0f91bfc571dcd05c13f094c179b4250e53bcc |
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use cso_save/restore_sampler_textures() functions
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
|
6a382250a10e7022e93b6be6fe4657445d85a568 |
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: set the bypass_vs flag now The glBitmap vertex shader is a no-op, but we still have to specify it in order to convey the number of inputs/outputs.
tate_tracker/st_cb_bitmap.c
|
e66cb602b79f52bd1f01b1c3f7af039eeff283a6 |
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: turn on clipping for bitmaps Bitmaps can extend beyond window edges so we need to clip. Also, move some state atom vars to st_context to be a bit more efficient.
tate_tracker/st_cb_bitmap.c
tate_tracker/st_context.h
|
63d8a8417d68365cd10c11178516378411c09f87 |
31-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Free all shader program data before deleting all shader/shader program objects to avoid memory access error.
ain/context.c
hader/shader_api.c
|
baab98a637d526871fb77ec6f313012f49c0e998 |
31-Mar-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Eliminate p_winsys::printf Not convenient and almost not used at all. Better replacements in p_debug.h
rivers/x11/xm_winsys.c
|
aef47c4dc87075fd63002b50c4b32b1049e5e4d1 |
31-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
Revert "mesa: separate shader program object from shader object." (bug#15244) This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
ain/context.c
ain/mtypes.h
hader/shader_api.c
|
d30d9e42b758db452bfdb482b619a5f4c6d01037 |
31-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: texture object's lod bias. fix bug #15192
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texstate.c
|
d9367842e54a234ee00ea100de45480527de5693 |
30-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Copy-and-paste error from the vertex program branch.
rivers/dri/r300/r300_vertprog.c
|
85e816882d8cd136e041c915698314ed1110e2f2 |
30-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Take PROGRAM_CONSTANT into account. This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_vertprog.c
|
3e0797f3b702a1363bf238eb4826385860346137 |
29-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesa
|
a52c0416d1f2105960b4646e2e268aed26814689 |
29-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: Set vertex state/buffers en-mass.
tate_tracker/st_draw.c
|
737e34aee598f32f8ff078ba823ed149b282ebc8 |
29-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: begin some bounding box code for bitmap cache
tate_tracker/st_cb_bitmap.c
|
f6908a766dce645d610ff04bb49eaa8c5ee9e65a |
29-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added an (int) cast in setup_bitmap_vertex_data() to fix a signed/unsigned arithmetic problem Negative values became very large uints.
tate_tracker/st_cb_bitmap.c
|
5a460c7391ef35b1dcf6ad7f5494fb23279b2e45 |
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: don't call st_flush_bitmap_cache() if the only change is _NEW_PACKUNPACK state
tate_tracker/st_atom.c
|
7292db2138001b48bba006cc08e9ff7091d16559 |
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: disable a debug hack
tate_tracker/st_cb_bitmap.c
|
c62b197b528293abb56b099503344e3cdd7d6c40 |
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement a glBitmap cache The bitmap cache attempts to accumulate a series of glBitmap calls in a buffer to effectively render a whole bunch of bitmaps at once. The cache can be disabled, if needed, by setting UseBitmapCache=GL_FALSE.
tate_tracker/st_atom.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
tate_tracker/st_cb_flush.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
635e96471218d5ada3fa7930fc1a746ec2aa4423 |
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix texture/renderbuffer mix-up in test_attachment_completeness()
ain/fbobject.c
|
13041da714106ae61b4184b79e847c2b382e07ad |
28-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
ain/fbobject.c
|
de3634fca8f93223647a54f49f066494447906bb |
28-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: re-work texture format selection code Use same code for choosing texture format and renderbuffer format.
tate_tracker/st_format.c
|
5615ab78b03cf1cb5fb19fc04fef52818f91b0be |
28-Mar-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: remove redundant compare bit in sampler state
tate_tracker/st_atom_sampler.c
|
184cf464f4183a664fa0358fe118735e6fd98afe |
28-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: depth offset on glPolygonMode(GL_LINE/GL_POINT)
rivers/dri/i965/brw_clip_unfilled.c
|
6054788f3620b4fc8ba386b38546ae2cc9dd24d2 |
28-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: finish conversion of RS_INST regs
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
a9802328cdb3042cc7504823f8bb910abab2c78e |
28-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: move to using RS_INST names
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
39038c11699bbc9baab744542e96d54e91cb452a |
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
tate_tracker/st_draw.c
|
bdf279b55543d0fd3e3a54e9a7a32fb6d90f5404 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
consolidate some parsing functions that were pretty much identical for vertex/fragment programs cherry-picked from master
hader/arbprogparse.c
|
7d2b6a0466038ebefa4ac4d139cec4987f60d585 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
consolidate some parsing functions that were pretty much identical for vertex/fragment programs
hader/arbprogparse.c
|
21454f86369e3290a4667037263399b1217d74b6 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
when negating scalar src args, use NEGATE_XYZW, not NEGATE_X This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1
hader/arbprogparse.c
|
978145a075255ae153ee05c2a037400e61558079 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Set param_var->param_binding_type = PROGRAM_CONSTANT cherry-picked from gallium-0.1
hader/arbprogparse.c
|
5052dabb44a419446922d1f0b39eade5ff874134 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: misc sync-up with master
hader/arbprogparse.c
|
d46ac956db8e4156f67b83b171569cb05d15c263 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
raise GL_INVALID_OPERATION if glProgramString compilation fails cherry-picked from master
hader/arbprogparse.c
|
4adee848a6ce6cdf9873aa29d284db640c8ab606 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix the compile of disabled DEBUG_PARSING code. cherry-picked from master
hader/prog_parameter.c
|
a072094bf01fbdac255fd6ffa3e0100f6fc7cb6d |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
make sure state token values are fully initialized cherry-picked from master
hader/arbprogparse.c
|
50a20d472956d54e3dc66e6501f1e5fb8581c84f |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
added program_error2() function for better error reporting cherry-picked from master
hader/arbprogparse.c
|
7b91d875401e039635718d1bc1e96d37ec66777c |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix state.texgen parsing error (bug 12313). Replace *(*inst++) with *(*inst)++ in a few places. Cherry-picked from master.
hader/arbprogparse.c
|
6f8286163c79a8187c2912a9b673a6f11f4f60c6 |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Update calls to the simple shader functions
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
89222ee49de340774279c9c0bf884649e66ad6df |
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix Element() macro redefinition warning
tate_tracker/st_texture.c
|
05004670448e1edd9166b8da614606e6f49c1fcf |
26-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Fix massively broken state cache dirty flagging. It was flagging a last_bo update even when last_bo didn't change, but another part was failing to update last_bo when it should have.
rivers/dri/i965/brw_state_cache.c
|
76430815a73559c55e2061ceb2634406d1284f03 |
26-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[intel] Use mesa texmemory functions to allocate teximage Data. Failure to consistently do so resulted in mismatched aligned versus unaligned alloc/free.
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
|
b4cbf6983e0e6d6502c1260f60c463841ab74590 |
26-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/lit This patch is a variant of a submission by Michal Wajdeczko to fix oglconform fpalu failures.
rivers/dri/i965/brw_wm_fp.c
|
13a6f73a64e23bad71d5e94d446e133b3cf634f7 |
26-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Correctly set read mask for OPCODE_SWZ in pass1. While OPCODE_SWZ has usually been optimized away in pass0, it may still exist if a SWZ with dst saturate was emitted in pass_fp. Fixes an error in oglconform fpalu.c.
rivers/dri/i965/brw_wm_pass1.c
|
5cc56cbad89d8d1b15d0dc67d41732a8883ae7bc |
25-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[965] Clean up whitespace and dead code from do_unfilled change.
rivers/dri/i965/brw_clip.c
|
1ecb2e4a7a5881d5a98679b421d78fd11c729ebc |
26-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: need to call st_validate_state() in Bitmap()
tate_tracker/st_cb_bitmap.c
|
4abe1eb980ed76d2b2d3383eaab520d0aa2ae6f4 |
26-Mar-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Change pipe->flush() interface to optionally return a fence. The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
e49ec6e2a4b5002ac9766c828807fb0a10d975f2 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented the vertex program code...
rivers/dri/r300/r300_vertprog.c
|
82770b8c835812dd04d93083a0ac6cc2b6250e46 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the default vertex program code with longer lines.
rivers/dri/r300/r300_state.c
|
a2c1aad27d2f9c88ba384f9861143c42c3c3eee7 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the last of the duplicate vertex program macros.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_vertprog.h
|
863ab98ac758355fa80f70f84bbd69c066713554 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added Copyright lines to the vertex program code.
rivers/dri/r300/r300_vertprog.c
|
d24a5254c2d4062017cad173eca15398cf4115bf |
26-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i915] don't use 4x4 filter for 1D shadowmap
rivers/dri/i915/i915_texstate.c
|
42a04ada10e894212ecc02dcca1c4e050275a368 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the Mesa opcode translation functions.
rivers/dri/r300/r300_vertprog.c
|
2ac29115542d81366a7d78571cc568976baf0251 |
26-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the destination-and-opcode/source macros to more appropriate names.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
7f56c8ea5fe6909291ba440221b270f5ef37366f |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: disable the selection/feedback draw module's options for wide lines, points, etc. Disable paths that would convert points/lines to tris as that upsets selection, feedback, rastpos.
tate_tracker/st_context.c
|
d3ebaa41f548d0123106e35b5fab0f62ea6c286c |
25-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
implement glGet/BindAttribLocationARB() for display lists More such shader functions are needed...
ain/dlist.c
|
070a7446221e26aee5ab6e6e12988ea9c1688ba6 |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added some debug code (disable)
tate_tracker/st_cb_drawpixels.c
|
cf7daba79101a2d2813f133a0f3d394316e66cce |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix some issues in _mesa_combine_programs() Use a temporay register to connect outputs of first program to inputs of second program. Also, fix bug in replace_registers(): didn't search/replace DstReg.
hader/program.c
|
c0ef16647424452ba60e165c82c59f5ff64f12d4 |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: append fog instructions after parsing if a fog option is set Drivers don't have to worry about it then.
hader/arbprogparse.c
|
bedb93e989340a2d65ed2fb28af7410983cb484d |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X This makes things easier on the back-end when generating GPU code.
hader/arbprogparse.c
|
0e34dcc6dfb466537f0e74d6c267d2f8bf795b66 |
25-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fix the issue "VBO: Cannot allocate memory for a BO" on 965 after merging intel_context.c from i915 and i965. fix bug# 15152.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/intel/intel_context.c
|
d453042bc67cc94bb215d229b60e8cd70a80ff8d |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: don't enable stencil test if no stencil buffer. Also, if not doing two-sided stencil, set back-face state = front-face state.
tate_tracker/st_atom_depth.c
|
816fbeaa813e5cdca314a39677c74c8dc700d35a |
25-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
ain/get.c
ain/get_gen.py
|
e27127a61c80c8da0ffc0273688ff79b5166e163 |
25-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: save/restore samplers in draw_textured_quad()
tate_tracker/st_cb_drawpixels.c
|
45cc35e77600af8628393475405160e26d56d421 |
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix a few texture border/mipmap glitches found w/ conform
tate_tracker/st_cb_texture.c
|
762e96c80454c94981cd0ccb4b342f192ba8f77e |
24-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: check SamplersUsed to determine if texture needed, as in st_atom_sampler.c Otherwise, we were sometimes setting texture state but not the corresponding sampler state.
tate_tracker/st_atom_texture.c
|
b469e9e93cfa3e11aab78dd8676635f976fe2ac1 |
24-Mar-2008 |
Alex Deucher <alex@samba.(none)> |
R300: fix typo r300 fog reg Noticed by pzad on IRC
rivers/dri/r300/r300_reg.h
|
22a3d022542fed267d48b48a44e10226d55c8afd |
24-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: free bitmap fragment shaders, misc clean-up
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_program.h
tate_tracker/st_context.c
tate_tracker/st_program.h
|
d246274b9c48c01b61490f0a76c22aebb8e64e1e |
24-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add missing cso_save_samplers() call
tate_tracker/st_cb_bitmap.c
|
110b63d00fa0a555a00f5b1560452323517eafe1 |
24-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: pass the filter mode to util_gen_mipmap(). Remove util_gen_mipmap_filter() when no longer used.
tate_tracker/st_gen_mipmap.c
|
74aee365e32defc910fd43301b6fcb651ad0568a |
24-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Merged the constant zero/one source macros.
rivers/dri/r300/r300_vertprog.c
|
c75ffff84a2a98f0f027a262db904aedae3a5d06 |
24-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Merged the Vector and Math Engine opcode macros.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
a35c1ca3ad4361fee30d21ef13d8d37ae91aee66 |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix a few more shader-related mem leaks
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_shader.h
tate_tracker/st_cb_program.c
tate_tracker/st_program.c
|
f8acc3965e3fa9ec40ca63f3ddd0cb33966e8c95 |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
use ctx->Driver.DeleteProgram() in a few more places
hader/program.c
hader/shader_api.c
|
dc6fab90b437ed7f03f5cb239d3251b5b4f2cd56 |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
use ctx->Driver.DeleteProgram() in a few more places
hader/program.c
hader/shader_api.c
|
731dec1bd52abbaf77f21fa37c9c192611dcd1a5 |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
delete default programs with ctx->Driver.DeleteProgram()
ain/context.c
|
0b60ade834dd09ba806f8b5dd2dfed25469a8c8e |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix a few mem leaks when deleting programs
tate_tracker/st_cb_program.c
|
f73cfd9e5cb0f47057f5b78b019787726798f238 |
22-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
delete default programs with ctx->Driver.DeleteProgram()
ain/context.c
|
9566cf0e2f326d8fe638748d0bc10626e8c0387e |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup fake shader to keep gears going
rivers/dri/r300/r300_state.c
|
4feac4e40e08d95c4549ef28ad89cc4d3d8f74a7 |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: enable gb tiling for r5xx
rivers/dri/r300/r300_state.c
|
583ed4bde3aa450f049ad893820aece9fb6b1a9a |
22-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fixup support for emitting fragment program to hardware. Also fixup the constant emission this breaks glxgears from what I can see but its another step to correctness
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
fb1f4e207d9becca4a83d4934ff6aebf8270e51a |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix const buffer update bug If only glUniform is called between two renderings, the const buffers weren't getting updated. Need to set the _NEW_PROGRAM flag in st_upload_constants() as that's the dirty flag set by glUniform. Fixes glean tapi2 test.
tate_tracker/st_atom_constbuf.c
|
c60b5dfde869c208a479ac273f4538d4d07574cf |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Avoid emitting dead code for DPx/math instructions. The pass1 optimization stage clears out writemasks and registers, but the instructions themselves are still being processed at this stage, and could have resulted in them still being emitted.
rivers/dri/i965/brw_wm_emit.c
|
bb419970ef465804c0e5369264314d9d92726c18 |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Improve pinterp performance by delaying reads of just-written regs.
rivers/dri/i965/brw_wm_emit.c
|
6c1a98e97affb2163e776551eb3a9e669ff99bbf |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Fix negating of unsigned value in emit_wpos_xy.
rivers/dri/i965/brw_wm_emit.c
|
5f10438f2d9c739964cf53f04fee3190991325a1 |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Add MVP code for position invariant vertex programs. This fixes the arbvptorus demo.
rivers/dri/i965/brw_program.c
|
31fe7cf5e3ca38441acb25215420afa6944226f3 |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[win32] Use native aligned memory allocation functions.
ain/imports.c
|
aa8a7ef823b2d8e43c4d0e37fdc457ad6930b737 |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
[965] Shuffle state flags to match the order we initialize them in.
rivers/dri/i965/brw_context.h
|
9f6e8e89c86d725fd0baa184af8a22f1f9032550 |
21-Mar-2008 |
Michal Wajdeczko <Michal.Wajdeczko@intel.com> |
intel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.
rivers/dri/common/dri_bufmgr_fake.c
|
a39091bc5b68e4d4f5302f1d3f1a138798f54b77 |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Refactor PBO validate/map code. We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
ain/bufferobj.c
ain/bufferobj.h
ain/drawpix.c
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
d933be6baf98624c609d422a9b083a08f67e8bdb |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Refactor PBO validate/map code. We always need to do PBO validation, so do that in core Mesa before calling driver routine.
ain/bufferobj.c
ain/bufferobj.h
ain/drawpix.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
f1626f0bfd2b14ad8ca2afaad2ea8afb539e6491 |
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement PBO operations for glDraw/ReadPixels and glBitmap At this time there are no optimizations for directly blitting between buffer objects and surfaces (always go through mappings). glean pbo test passes now
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
|
ff938bf059a41a9bdf4c2c93cebe4a3b8a89c201 |
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
add a number of PBO validate/map/unmap functions Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
ain/bufferobj.c
ain/bufferobj.h
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
3c9862d337244e305dc39bdd0a48e254c9766ec8 |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
include varray.h to silence warning
ain/attrib.c
|
a429a25cd55b8c16356a60452de92228bb6c71b0 |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
add a number of PBO validate/map/unmap functions Helper functions for (some) drivers, including swrast.
ain/bufferobj.c
ain/bufferobj.h
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
85ea7ff25cec703a00d79246df49a4ae6192c395 |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix some PBO breakage. In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
ain/drawpix.c
ain/teximage.c
|
c80a380ebb58c15db87309d466ef57fb006b40ae |
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix some PBO breakage. In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
ain/drawpix.c
ain/teximage.c
|
3600e7402c2a1824c8e5e2cc6ea189bcdeb4db6b |
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use is_format_supported(PIPE_FORMAT_DXT5_RGBA) to check if s3tc is supported The PIPE_CAP_S3TC token will be deprecated.
tate_tracker/st_extensions.c
|
13540d38d9d4ac4f71533ce239f0d9a2b950e6db |
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use is_format_supported() to determine if GL_EXT_texture_sRGB is supported
tate_tracker/st_extensions.c
|
23c98f618b4502222933e0f0aa8f43941f2ccfad |
21-Mar-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Update scons build for state tracker files added/removed.
Conscript
|
7936c614abc165270852bc5e7e316747a9cacdfb |
21-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] multiple rendering target fix
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
3eb8e5871f3b3e572ae5e281f55fb7282c82c47e |
21-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: setup fragment program constant emission atom
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
|
3b3774b1227743147159676795b542c0eb7c2bdf |
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: catch some out of memory conditions in the texture image code. st_finalize_texture()'s return code now indicates success/fail instead of presence of texture border (which we discard earlier).
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
|
3a4ece89a799a7c699be229a6d965d4820af0196 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: assign framebuffer width, height
tate_tracker/st_atom_framebuffer.c
|
f3d23aa787bb08bad7638540b128fa0e65110246 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: unused var silence warning
tate_tracker/st_debug.c
|
f6cd3778c54c0329c3f497a7368a158087d653d3 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: glBitmap code now separe from glDraw/CopyPixels code Also, glBitmap now re-uses the vertex buffer to avoid frequent allocations/ deallocations. And, use u_simple_shaders utility code.
ources
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
3ece9ace540447c4f0d340a6f9f27980b54f83fb |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: glBitmap code now separated from glDraw/CopyPixels code
tate_tracker/st_cb_bitmap.c
tate_tracker/st_cb_bitmap.h
|
3aa8c660ffa9763dbdfdf2d75e991a08e41c29b6 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Y-invert blit depending on framebuffer orientation
tate_tracker/st_cb_blit.c
|
c2044eaca96abfae153651ec609b5af2fd0b6fb0 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: in clear_with_quad() check fb orientation, invert Y if needed
tate_tracker/st_cb_clear.c
|
e1406c8d2366dccac0037e5329217d1c8c265eaf |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: create one vertex buffer and re-use, also enable bypass_clipping Quad clears should be a little more efficient now.
tate_tracker/st_cb_clear.c
tate_tracker/st_context.h
|
85e4ec6d118e340eaccd176aa622221642a2e754 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use the utility pasthrough shaders This avoids the Mesa->TGSI translation step.
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_clear.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
7233eabaf0072b7c50e4f26ec33738b5b89aad20 |
20-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i915] GL_DEPTH_TEXTURE_MODE fix
rivers/dri/i915/i915_texstate.c
|
ed18005a9940c26cafa5ed8ccadc46e2fbe63f9e |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: add rv530 pci id for the t60p laptop
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
d019f101e840e20b0f47799c17336599d829ae54 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: this code really shouldn't be here. For R500 just ignore it for now while I do something interesting like run glxgears.
rivers/dri/r300/r300_state.c
|
2b8e422b3173388075b010f10e935c735edcd9a1 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
mesa: cleanup state emission and rs for r500 trivial clear app now renders
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
9e6e4ae49a49c60f9b15d9276a44a1ad25865c81 |
20-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500 RS unit setup
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
bff94a91c6852157a8251652cb61dc699cd8e4f1 |
20-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: The span array is only populated in single-pixel point drawing function.
wrast/s_span.c
|
7183ccaa9df1b5591e7aca926ce4ea5aab4ffc86 |
20-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[965] Initialize region surface key structure padding. Fixes valgrind warnings, and potential performance loss from cache misses.
rivers/dri/i965/brw_wm_surface_state.c
|
7d5f713fa5c3d49425e984dc437926725ad4a8cc |
20-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing. It was harmless, as the only time we need to clear PRESUMED_OFFSET, the variable had been initialized already.
rivers/dri/intel/intel_bufmgr_ttm.c
|
e03dd83209929ca0925172c962bc41cab8268164 |
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix IEEE_ONE definition for ICC compiler (bug 15134)
ain/imports.h
|
4984487bc3338fc351a0631eaa4515e4adbb86a9 |
20-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add face, dirtyLevels params to pipe->texture_update() This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.h
|
11c34dc644fe58b8178ab9142929a6685e3c0848 |
20-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: need to set/save framebuffer state in st_context since we use it elsewhere
tate_tracker/st_atom_framebuffer.c
|
65c4ced1ccea7ff88123296b7f0587faa6f23eef |
19-Mar-2008 |
Alex Deucher <alex@cube.(none)> |
Radeon 9500 (0x4144) only has one pipe confirmed by Reid Linnemann <lreid@cs.okstate.edu>
rivers/dri/radeon/radeon_screen.c
|
7d95efde0a0e13e13c59444703bc47eb13926385 |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement CSO save/restore functions for use by meta operations (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
1213c7257335d577cf0217e34edafddf0451ba1b |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove old commented-out code
tate_tracker/st_draw.c
|
b5292b4d9967f3a3a35cd7f1909b46fab9179111 |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
x86_init_func_size() returns int to indicate success/fail (bug 15119)
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
29054676a094c59b70cfec8b05da11741e53722c |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
s/x86_init_func/x86_init_func_size (fixes bug 15119)
nl/t_vertex_sse.c
|
947312e464edf4257c06e9889c976e268d43dd97 |
19-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i915] arb point sprite only support in i965
rivers/dri/intel/intel_context.c
|
c62f504eb6030097b679233a75f87cca1b0e617d |
19-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i915] fix fragment.position
rivers/dri/i915/intel_tris.c
|
57028236c8b6ab0a56cba3a504d1d8ff12ab6c0d |
19-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
more r500 vs r300 kickin
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
|
b790b24ff9204eb6f305b14bd40bb903e65dd541 |
19-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[i915] Bug #13634: Fix bugs in 945 cube mipmap layout. The most egregious, and the one the bug report and failure in the cubemap demo were about was introduced with intel_mipmap_pitch_align(), where a "* 2" for the pitch calculation was lost. The base size < 32 case also failed to align, which may have caused problems with render to texture. Another bug would have broken 2x2/1x1 base mipmap levels by placing the data where the hardware wouldn't look for it. Other bugs remain with the layout of the small mipmap faces (hardware looks for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out X,-X,Y,-Y,Z,-Z).
rivers/dri/i915/i915_tex_layout.c
|
c2814f2a3fbfa0e4ba6c45347fcadd3722b005ff |
19-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[i915] Add comments about how cube texture layout works.
rivers/dri/i915/i915_tex_layout.c
|
45adf29ed0bd47e21bed824ab9afcc7b9dcbb60d |
19-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[i915] Move miptree layout code into separate functions per target. Also clean up some other miscellaneous formatting nits while I'm at it.
rivers/dri/i915/i915_tex_layout.c
|
e5f50f2fa32c50807da3a8f13733f0fbc7868f94 |
19-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Clarify miptree layout by using byte offsets to images.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
363d8785192e299963df520d53c221f494c8026c |
18-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[945] Remove conditional in 945 3D mipmap layout checking for cube layout.
rivers/dri/i915/i915_tex_layout.c
|
a3b5ae783e18040349f1736c2ad812e0ec24a7b8 |
19-Mar-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
set outputs_safe to 0 as it's possible for the code generation to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
nl/t_vertex_sse.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
ec890533c2852fa62366d449e6fbc899fb0498be |
19-Mar-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
set outputs_safe to 0 as it's possible for the code generation to slip over the allocated memory for the vb.
nl/t_vertex_sse.c
f/vf_sse.c
|
6a8bbdba188fc299c46e8d8f11777046737cd183 |
19-Mar-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove redundant init
nl/t_vertex_sse.c
|
0df877a0ee68359d106ba84e3dd3b7c42ae20d5a |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: plug in and init GL_EXT_framebuffer_blit function/extension
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
|
ecb873b2b5754adbd47cee4856a549e48e48505f |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added st_cb_blit.c
ources
|
84836ffce1ca322f91aaae25c4de2be20e55a4b5 |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: glFramebufferBlitEXT() implementation
tate_tracker/st_cb_blit.c
tate_tracker/st_cb_blit.h
|
320da13c87c683cbe6e8145a9258ea2b7ef674cd |
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix typos
tate_tracker/st_gen_mipmap.c
tate_tracker/st_gen_mipmap.h
|
bab9209e12ec16ef3b33d46be8e6154f8c8f182d |
18-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: restore additional state after clearing with quad
tate_tracker/st_cb_clear.c
|
f1cfb1e3676fc9e1fea6698ed5e8e79d2b094dae |
18-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use new color packing utility functions
tate_tracker/st_cb_clear.c
|
f7cfc51b057d9d2fa109b32796b992e8f4f3bfcc |
18-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP" There is no information in GS to determinate when to reset line stipple count, still fallback to software This reverts commit 5a0314b431ab147c6156c3011f4cb54161ba4b25.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_gs_emit.c
|
5a0314b431ab147c6156c3011f4cb54161ba4b25 |
18-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_gs_emit.c
|
48efb769e983bea6baf934eba8865ab3fa61a77a |
18-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r300: add new rs690 pci id
rivers/dri/radeon/radeon_chipset.h
|
3105bc1d885ea8ce083d2be85cbeac46d4d873a1 |
17-Mar-2008 |
Andrzej Trznadel <Andrzej.Trznadel@intel.com> |
[965] Fix fp temp reg release code to not usually release all temps. Also, use wrapped ffs() instead of native.
rivers/dri/i965/brw_wm_fp.c
|
e9809a36aaea3480cba5bd62360bf9d481ff9011 |
17-Mar-2008 |
Andrzej Trznadel <Andrzej.Trznadel@intel.com> |
Fix compat implementation of ffs() to return 1-based bit numbers.
ain/imports.c
|
088c6404fcae07dec6dcf16d2cb0777aa7b446ad |
17-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use new gallium utility code for generating mipmaps
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
22b9cc3f5f6c900559332f7a30c9cf869e3490d6 |
17-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST Plus, comments, clean-ups.
tate_tracker/st_gen_mipmap.c
|
a2ab6930df2c26e19a723b43a757718ecbc89bcd |
17-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after rendering each level
tate_tracker/st_gen_mipmap.c
|
f3c490634ffb8cd2c5329ba1ebfe9c738c2b7441 |
17-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
only set InputsRead bit if input is really used
hader/arbprogparse.c
|
f2b914298f677555d1e605cbcc2b7f73c0f0847a |
17-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
only set InputsRead bit if input is really used
hader/arbprogparse.c
|
d787850ae6d60f8287ff320d4da2adf4254589c3 |
17-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
mesa: Add vertex.attrib 0-15 to arb_input_attrib_string.
hader/prog_print.c
|
1c71ec4d45a8da2a5c83b09e2e39d4a7c2ecc99b |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
some basic r500 portage
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
|
c48212fe5861291efd134b35e67568c79b15f960 |
17-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Simplify r300VAPInputRoute1.
rivers/dri/r300/r300_emit.c
|
f0c8863dbb71b2c3605bb8eb9526c7d8d13793cf |
17-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: Simplify r300VAPInputRoute0, check for valid input.
rivers/dri/r300/r300_emit.c
|
8d5231a3582e4f2769ac0685cf0174e09750700e |
17-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] round pointsize to nearest int according to spec
rivers/dri/i965/brw_sf_state.c
|
5da8289e9cc086ac9c010ee41d0c06161c240dbd |
17-Mar-2008 |
Dave Airlie <airlied@redhat.com> |
r500: fragprog
rivers/dri/r300/Makefile
rivers/dri/r300/r500_fragprog.c
rivers/dri/r300/r500_fragprog.h
|
4a556bcb17b8b0dd9ba4ef6eccbb3cfb2ad6a025 |
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fix the error in commit 7ed1fd5d8438e55fe24091844cdfccb0881306bc
rivers/dri/intel/intel_mipmap_tree.c
|
4478926b3a6d15d079a44f6cebebc1db85d382f6 |
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: It is needed to allocating texture memory to accommodate a texture when calling TexImage with pixels set to NULL pointer.
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
7ed1fd5d8438e55fe24091844cdfccb0881306bc |
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: Remove an assertion from intel_miptree_create. TexImage call with zero width/height/depth matches GL spec.
rivers/dri/intel/intel_mipmap_tree.c
|
0819b25dfba326c3d32b3b0af5d77e53d1973890 |
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: avoid to unlock an unlocked array in _mesa_PopClientAttrib
ain/attrib.c
|
07ff7c2285d9cb10ca52d7de7a6b86fd00379d6f |
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Follow GL spec to draw DEPTH_COMPONENT pixels when there's no depth buffer. Fix bug #11580
ain/drawpix.c
|
b0f681b458ebebab370bbfd2a17699cd851aae8b |
17-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] fix wpos height 1 pixel higher
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
c2bf23b8372607a5507a44ea3654c8af1083529a |
15-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: clamp point size in vertex program when computing attenuated size
ain/ffvertex_prog.c
|
cbf42c45a15d6a132c7f7d4946c422ee3de35e6c |
15-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: if point size not computed per vertex, apply size clamp immediately. Fixes glean pointAtten failure.
tate_tracker/st_atom_rasterizer.c
|
e80a2888bb8930b19f278700d29bc7a2d6cab5f5 |
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
init tmpNode to zeros
hader/slang/slang_emit.c
|
a9aef5fccd0a71bc29845c5af9aacdab5e2234ea |
14-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: init tmpNode to zeros
hader/slang/slang_emit.c
|
868193d54efd6b181fdd3bacf6c88d5ef5a6bc4c |
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: fix emit_clamp() so that we don't use an output register as temporary IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
hader/slang/slang_emit.c
|
7dc449d406a88fbb92aedfacfa3869176ba2cb31 |
14-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: fix emit_clamp() so that we don't use an output register as temporary IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
hader/slang/slang_emit.c
|
c45a525cdc4bd5f9b35c4f6abae6a65f3279e2c4 |
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: revert fast-track glColor and similar calls when not immediate mode rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4.
bo/vbo_exec_api.c
|
ee55eaa609aee9ffd7ddbc839d7d6161727cee3a |
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: in st_program_string_notify() free shader tokens. When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes.
tate_tracker/st_cb_program.c
|
f94d317d7aea8043b179a0ba64308606375500d7 |
14-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: fix abort issue with shadowtex demo when use DEPTH_STENCIL texture. (bug#14952).
rivers/dri/i915/i915_texstate.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_fbo.c
|
5bae5871f03c96eb173cb55d7e8a846a2c4bd4a0 |
14-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to st_draw_vertices() When pass-through mode is fully supported we'll clean this up more.
tate_tracker/st_cb_clear.c
|
3e625ce18e35b2b0343962f93480abf4bf9b188a |
13-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: add some temporary code for testing draw module vertex passthrough Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor
tate_tracker/st_cb_clear.c
|
fa9e7e9a8debb68611909ac2ffab527c6c39a3e5 |
13-Mar-2008 |
Brian Paul <brianp@kemper.freedesktop.org> |
gallium: remove semantic info from pipe_shader_state Brian's patch to clean up the shader interfaces.
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
142fcd3a13bcac37b8b0124f68854d515f2596fc |
13-Mar-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix state.lightprod ambient/specular w value (bug #14983)
hader/prog_statevars.c
|
92523ad0fd11ff532f1e0642410d0a623fe53b06 |
13-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fix (harmless?) assignment in assert
hader/slang/slang_codegen.c
|
fcb7cb9e72ecac7c165a3a6ed7a033e2e6793a26 |
13-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] multiple rendering target support
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.h
|
d91e62e9c6ff81c91b83af883281c1e205c6bf35 |
13-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: in clear_stencil_buffer() check surface format to determine stencil clear value ... as we do for the Z and Z+stencil cases
tate_tracker/st_cb_clear.c
|
d1284d3be2bcf5e1607458cd9fb0d8c32fad13ea |
12-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: set SamplersUsed bitmask when parsing ARB fragment programs
hader/arbprogparse.c
|
0dd79011b9c407191e40c2697c68946f35bc557a |
12-Mar-2008 |
Brian <brian@poulsbo.localnet.net> |
gallium: pass NULL to cso_single_sampler() when the sampler isn't used. This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing.
tate_tracker/st_atom_sampler.c
|
a2b917c1cdb9cdd9b016e5cb9637e90c58fa911b |
12-Mar-2008 |
Brian <brian@poulsbo.localnet.net> |
gallium: use TXP rather than ExtDivide flag
tate_tracker/st_mesa_to_tgsi.c
|
98ae83d5cc73b61826823c915b5c59746c2e85c7 |
12-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Add TEX_FILTER_ANISO img filter Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
tate_tracker/st_atom_sampler.c
|
339e7ec6805e6de8794514c0a935081b5d36d38f |
12-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rework CSO-related code in state tracker Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
ources
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
tate_tracker/st_program.h
|
c813b545ab4726fc5030f123ec6255224d64ad82 |
11-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix Height2/Depth2 init problem when using texture borders
ain/teximage.c
|
7585b4ceb8fed862c07f50af8030a6f0eb8a8321 |
04-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: disable an unneeded assertion (hit with texwrap.c)
tate_tracker/st_cb_texture.c
|
d08cd68d3f5456b69ad504ede2b090c0bb6474db |
10-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: fast-track glColor and similar calls when not immediate mode rendering Often these are mixed in with draw arrays calls, etc. Try not to get the whole immediate rendering state machine going when we receive one of these on their own.
bo/vbo_exec_api.c
|
fe23dc5ecae87de73f7b5a581868065a4c4ac09b |
10-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
Move make install logic for libGL back into src/mesa/Makefile. This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
akefile
l.pc.in
|
dd0a9203e3c71286836f7600e99ee826ebce7a06 |
10-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix parsing of state.texenv.color (bug 14931)
hader/arbprogram.syn
hader/arbprogram_syn.h
|
dcbe215c015c8dc48440f578023c2b9d12b934e4 |
10-Mar-2008 |
Kristian Høgsberg <krh@sasori.boston.redhat.com> |
DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle. This fixes a problem where texturing from the same Pixmap more than once per batchbuffer would hang the DRI driver. We just use the region associated with the front left renderbuffer of the __DRIdrawable for texturing, which avoids creating different regions for the same BO. This change also make GLX_EXT_texture_from_pixmap work for direct rendering, since tracking the __DRIdrawable -> BO handle now uses the standard DRI2 event buffer. Of course, DRI2 direct rendering doesn't exist yet. Finally, this commit bumps the DRI interface version again, accounting for the change in the DRI_TEX_BUFFER extension and the change in commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 to pass in the event buffer head index on drawable creation.
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
180b41594c669574355b54ceb2c2ff96889bf336 |
10-Mar-2008 |
Kristian Høgsberg <krh@sasori.boston.redhat.com> |
DRI2: Drop DriverAPI.UpdateBuffer. __dri2ParseEvents() would determine the kind of event, but then call UpdateBuffer() in either case, and UpdateBuffer() would then have to figure that out again to dispatch to HandleBufferAttach() or HandleDrawableConfig(). Pretty pointless.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
|
2d5ea175f7fcd65de71b7589435b9a908f998d51 |
10-Mar-2008 |
Kristian Høgsberg <krh@sasori.boston.redhat.com> |
DRI2: Pass the context instead of the screen to __dri2ParseEvents(). Makes a lot more sense, since the screen is always implicit in the DRI drawable, but it may not be possible to track down a context from just a drawable.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_context.c
|
0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 |
10-Mar-2008 |
Kristian Høgsberg <krh@sasori.boston.redhat.com> |
DRI2: Add event buffer head as an argument to driCreateNewDrawable(). The DRI driver needs to know where in the buffer to start reading.
rivers/dri/common/dri_util.c
|
810e0549afad45469bef532c1f2d355f3fde0bbb |
10-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix botched test for clearing color buffers (should fix depth peeling regression)
wrast/s_buffers.c
|
29fbf72dbf158d766d3cac3b2db16d9fcbef0d0b |
10-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()
ain/varray.c
|
507da247679e061cef765b9d4cc37470c633cccc |
10-Mar-2008 |
Markus Amsler <markus.amsler@oribi.org> |
init vertex weight attrib to (1,0,0,0)
ain/context.c
|
882e0e01799cf99dd5ec97786239af4b269125a9 |
09-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)
ain/glheader.h
|
eecb3ab7c64764464d20a7c30279c9a3b26b0a7f |
09-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
replace // comment with /* */ (bug 14916)
ain/texenvprogram.c
|
020c64b2cf2973b5cb41e233d2bfbd85f1b699f7 |
09-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
Move DRI context functions into dri_glx.c. Also drop isDirect flag; if gc->driContext is non-NULL, it's direct.
lapi/glX_proto_send.py
|
47d563006de646b039c456ffc8379ca8ded3d5a5 |
08-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
Move libGL install target to the libGL Makefile.
akefile
l.pc.in
|
1e6943cf5592186c3721dfefbdcf1a519a79bd8f |
07-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
[intel] Only enable GL_EXT_texture_sRGB on i965. Fixes #14799.
rivers/dri/intel/intel_context.c
|
7676980d38cff417015bca8d23549d567d74228b |
07-Mar-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] fix fd.o bug #11471 and #11478 1. Follow EXT_texture_rectangle with YCbCr texture 2. swap UV component for MESA_FORMAT_YCBCR
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
5982d397990fd2ae4c729977cf8d22da5ef29987 |
07-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use RGB565 to render a bitmap if Depth is 16
rivers/dri/intel/intel_pixel_bitmap.c
|
d76545de5730f52328a81b8371d3b08cd7511e05 |
06-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Fix double free issue to pass glean/maskedClear test
rivers/dri/i965/brw_tex.c
|
771ba666290150dcebeefa5d6bbf4254f95c1c26 |
06-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965:fix segfault issue when clearing the window which is created with mode GLUT_SINGLE|GLUT_RGB|GLUT_DEPTH. This issue is introduced by 20b8bff49cba3e8246e29004c5ff38f231d589ff
rivers/dri/i965/brw_metaops.c
|
fe91c05b5494b889c8adda77ff562712116d2e59 |
05-Mar-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Add a driconf option to cache freed buffer objects for reuse. This is defaulted off as it has potentially large memory costs for a modest performance gain. Ideally we will improve DRM performance to the point where this optimization is not worth the memory cost in any case, or find some middle ground in caching only limited numbers of certain buffers. For now, this provides a modest 4% improvement in openarena on GM965 and 10% in openarena on GM945.
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
4528287e040415c2071012d02f20979ff995c754 |
05-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: michel's patch to rework texture/sampler binding interface Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
fc21e9cdd09db7a6759b82cb69cc42015d8a76de |
04-Mar-2008 |
Christoph Brill <egore911@egore911.de> |
r300: replace some hard coded mask by define in stencil area
rivers/dri/r300/r300_state.c
|
701ccf6f290cddfa09686c12f728dab150029f80 |
04-Mar-2008 |
Christoph Brill <egore911@egore911.de> |
r300: Fix some issues with masks in stencil buffer area
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
e2a91c294edb198d6ebedd30fb4a39d722c8ee9f |
04-Mar-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Add missing file for scons build.
Conscript
|
3d608c7a2d451b862ae19b1e01d7299b2c46fe78 |
04-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
[dri2] Add tail pointer to reemitDrawableInfo callback. When the DRI doesn't parse the event buffer for a while, the X server may overwrite data that the driver didn't get a chance to look at. The reemitDrawableInfo callback requests that the X server reemit all info for the specified drawable. To make use of this, the drive needs to know the new tail pointer so it know where to start reading from.
rivers/dri/common/dri_util.c
|
4f7a75cc8a6cee7763b2d92e3d34858c3de7bd4f |
04-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
[dri2] Optimize event parsing to skip obsolete events. This also fixes the problem where the X server does multiple resizes before the DRI driver gets the events. The obsolete buffer attach events then reference already destroyed buffer objects.
rivers/dri/common/dri_util.c
|
36c26d321b5d17902f0e8f531654dfb2fe2bdd2d |
04-Mar-2008 |
Kristian Høgsberg <krh@redhat.com> |
[intel] Silence unused variable warning when compiling for i965.
rivers/dri/intel/intel_mipmap_tree.c
|
f59d59a95f668b99fa51d25fe6e80ea59fc663ae |
02-Mar-2008 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: compilation fixes
rivers/dri/nouveau/nouveau_screen.c
|
47f08a9fb5ca3179ebf3c7a214b4062e27aead86 |
02-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a bug with the SUB instruction.
rivers/dri/r300/r300_vertprog.c
|
e239871d5b28c05eceae91a748d36ea3ff4e5f18 |
02-Mar-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a bug with the MAD instruction. The PVS_VECTOR_OPCODE macro should be modified to support macro instructions, too.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.c
|
c30cc5904dc61c27ea7a4ebf5928c53bca6a7b1d |
29-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the PVS_SRC_OPERAND documentation from AMD.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.h
|
3129d8b512d50335fc5c219b65e36fcaaffcd247 |
29-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the PVS_OP_DST_OPERAND documentation from AMD.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.h
|
9a3d4b14e968c1203b58d782f7ad60bfb61150d9 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a TODO comment for registers missing from AMD's documentation.
rivers/dri/r300/r300_vertprog.h
|
916a53088ed7e34ec7df967329a7d87b25197e3c |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved the vertex program shift/mask defines into the appropriate file.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.h
|
038e13b1ee04fe97191409b64c337f7bbe176b22 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented the vertex program code with longer lines.
rivers/dri/r300/r300_vertprog.c
|
5dcbdc09f354d96cef93a28215f7776a5e84dd1f |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved the PREFER_DP4 define near the position invariant function.
rivers/dri/r300/r300_vertprog.c
|
bbab0f97b83b07184bc7c5a736292c8558903855 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a TODO comment for the MAD opcodes.
rivers/dri/r300/r300_vertprog.c
|
2a8b6c62a7a2c807dc1b4a515da62fc8918101c1 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the VE_ADD hardware opcode for the SUB opcode.
rivers/dri/r300/r300_vertprog.c
|
a6d772ed16eddda85bae59e28eaab0d46debc30f |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode.
rivers/dri/r300/r300_vertprog.c
|
f80223d9ffac6c2c3a94ab7f896dad6a04da5c8b |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the XPD opcode temporary register usage.
rivers/dri/r300/r300_vertprog.c
|
b795e8db5f994f5bb6eabfe72ddc3f52e5bbc9f9 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up extra white space.
rivers/dri/r300/r300_vertprog.c
|
dda906fcdbc2c1daa6de12873998290a1486138e |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Prefer to use the VE_ADD for simple MOV style opcodes. The VE_MULTIPLY_ADD has further restrictions on reading temporary memory which may complicate things. See AMD's documentation.
rivers/dri/r300/r300_vertprog.c
|
7504981074c43f057176ffc6cc54754fae903a98 |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the (undocumented) MAD_2 opcode. This opcode is likely a mistake from reverse engineering. MAD_2 isn't included in AMD's documentation, and my testing reviles there is no problem using the documented MAD opcode.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.c
|
7e1878cdadcc98b18f926bb600dac10f0904327d |
28-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the MAD/MAD_2 opcode selection.
rivers/dri/r300/r300_vertprog.c
|
bb4188b85b175065ce627baca3ae87110079d44b |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed some misleading macro arguments.
rivers/dri/r300/r300_vertprog.h
|
fb0947ed33cb290ca0179c836abccc86eaff7600 |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the vertex program macros.
rivers/dri/r300/r300_vertprog.h
|
e3a0a8dc7def2e154048d2c327896e99561b53e4 |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed duplicate component selection defines.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
2fdd6d87f4923178f7f48c786853092c6a9e43bd |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed duplicate source register class defines.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
95604e88e72902fe70b34afe5aede0f1e2d4d14b |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the vertex program source register macro.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
9c742911970b5131ed08204165e04a59cd0d26bf |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the (obsolete) special source register macros.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.h
|
440a6fbf6e6b390b050e99b9c320a0fe8c9f798b |
27-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the special vertex program source register macros.
rivers/dri/r300/r300_vertprog.h
|
8c4d811295f89bc59c54160bcaf861b47514b458 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the vertex program swizzle (aka selection) defines.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.h
|
b2c02a4a7c2948f06fc2470d3c53b2292a9d482f |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted to the new src/dest register defines.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.h
|
b0e81fd19e7147927e9dbc3277886942f3b8c0f3 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed an obsolete comment from the vertex program header file.
rivers/dri/r300/r300_vertprog.h
|
41c3ae577894f1e577753a94cb87d6c93a8b1c63 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted to the new Math Engine defines.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertprog.c
|
0ced26099d3ff2e82ffd5fe7915504b13341c812 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the Math Engine opcode macro.
rivers/dri/r300/r300_vertprog.h
|
7c4add02f80c7f16241ddbae18117d7cb264079d |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the Vector Engine opcode macro.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
bd46a482c479e7ce765e45f444ba0f7e54432a4e |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted to the new Vector Engine defines.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
66952fa5aec04aa2abeefa0e949ce3812fae229d |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the duplicate dest register defines.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
8a646b80ef518fd36bc5643ee91c0339d4ccb2fb |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the duplicate "easy" vertex program macros.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.h
|
ea8299040f3a70b2912723bdea00778512da2897 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the vertex program src/dest register defines.
rivers/dri/r300/r300_reg.h
|
bccb56d5f395be994bcdb11a9f1007aca1dad1d8 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the Vector Engine and Math Engine defines from AMD's documentation.
rivers/dri/r300/r300_reg.h
|
e0a5194a5427442869ace6772d16bb687cc87ec4 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved the vertex and fragment program macros into the appropriate files.
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_vertprog.h
|
642d5ee8c51cdbab2b498c3413f29023f8ece929 |
01-Mar-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
state.depth.range alpha value should be 1, not 0 (bug #14733)
hader/prog_statevars.c
|
07d6347e8a51fc7bbd5c586a5739f17c68c5eafd |
01-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: change st->state.sampler_texture[] to store pipe_texture pointers This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs.
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
c8bca8d8a94b7bce532b40fd5c422063632b26c4 |
29-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix update_textures() bug in pipe_texture binding logic The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it.
tate_tracker/st_atom_texture.c
|
6cb3f5c4d8618a14bb7ad1d9df10ed7e648a7b2b |
28-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Use __DRIextension mechanism providing loader functionality to the driver. Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgaioctl.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
|
16242a8007f41ab63f9a28bb9a750857c8cdb8af |
26-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Reduce the versioning madness required to create a DRI2 screen. Right now the DRI2 screen constructor takes 3 different versions: DRI, DDX and DRM. This is mostly useless, though: DRI: The DRI driver doesn't actually care about the DRI protocol, it only talks to the loader, which in turn speaks DRI protocol. Thus, the DRI protocol version is of not interest to the DRI driver, but it needs to know what functionality the loader provides. At this point that's reflected in the __DRIinterfaceMethods struct and the internal_version integer. DDX: The DDX version number is essentially used to track extensions to the SAREA. With DRI2 the SAREA consists of a number of versioned, self-describing blocks, so the DDX version is no longer interesting. DRM: We have the fd, lets just ask the kernel ourselves.
rivers/dri/common/dri_util.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
5197a31b8e64a047d058c4cb174efb9c8b816652 |
29-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Set the lock flag early to avoid deadlock. Another regression from the intel_context.c merge.
rivers/dri/intel/intel_context.c
|
0b47eb4808aa47e2ab276ab60493e28774cef21a |
29-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed
tate_tracker/st_cb_drawpixels.c
|
de1e9880f8b239768293f7f434a9117dfab20162 |
29-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use _Current pointer instead of Current pointer. fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_vs_tnl.c
ain/texenvprogram.c
|
b39f15b88f4ef585f260db689294c12b1aee41f2 |
29-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix conditional sequencing to allow the frame_buffer_texobj case. Previously the frame_buffer_texobj case would have been bound as a normal texture, at best resulting in no surface data being associated with it.
rivers/dri/i965/brw_wm_surface_state.c
|
ec5ca6844bd52a3a17005314b615f1629f652686 |
29-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Bug #14575: Unmap buffers when deleting/dataing as required. Otherwise, we would assertion error when doing the final unreference of the buffer with an outstanding map (catching the memory leak).
rivers/dri/intel/intel_buffer_objects.c
|
981b7da8a7e263979ce68d39b122b4cc7adea8e3 |
28-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
r300: R5xx and R3xx use different registers for RS_IP and RS_INST These changes are taken from the xf86-video-ati driver. They update the header file accordingly and also remove some UNKOWN variables.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
9c8f27ba1366da07e20e86a0d48341ea97f5cda4 |
28-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Bug #9151: make fragment.position return window coords not screen coords.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
3f0301d7bc90b05914e201e366d7f3189d9248e3 |
27-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix serious copy'n'paste failure in brw state dumping.
rivers/dri/i965/brw_state_dump.c
|
70126588cf78b8a835dfced2b7ca7f1e05afeb67 |
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix surface/texture format conversion in st_CopyPixels If the src buffer's format isn't supported as a texture format, find a different texture format.
tate_tracker/st_cb_drawpixels.c
|
01e53be2b80d5bcb48102f7f1be507b6a5a5832a |
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added a texture format sanity check/assertion in st_texture_create() make sure the tex format is actually supported by the driver.
tate_tracker/st_texture.c
|
476cc931f2bba69d4075b7c44985b145c3999af5 |
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
galliums: s/uint/enum pipe_format/
tate_tracker/st_cb_drawpixels.c
|
9a264a056abc376a70e01f097934d590a36df887 |
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in GL_SELECT mode, update hitflag in rasterpos
tate_tracker/st_cb_rasterpos.c
|
3ffd11f71d021f672b9bc15b3c39c155a0e2fecb |
28-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: separate shader program object from shader object. Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects.
ain/context.c
ain/mtypes.h
hader/shader_api.c
|
10d83df3a9cb76a3db76ec9970d7108cf9255d77 |
28-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: State tracker cleanups wrt clears.
tate_tracker/st_cb_clear.c
|
0da03c0aa9ed120fe5ff781a365b503b8ed70e0c |
28-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[intel] fix compressed image height
rivers/dri/intel/intel_mipmap_tree.c
|
60159c1b09c73c19f798035a15d4ef3b434f2fa0 |
28-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Convert crlf->lf line endings. Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true
rivers/allegro/amesa.c
rivers/allegro/direct.h
rivers/allegro/generic.h
rivers/d3d/D3DCAPS.CPP
rivers/d3d/D3DHAL.H
rivers/d3d/D3DInit.cpp
rivers/d3d/D3DMESA.H
rivers/d3d/D3DRaster.cpp
rivers/d3d/D3DTEXT.CPP
rivers/d3d/D3DTextureMgr.cpp
rivers/d3d/D3DTextureMgr.h
rivers/d3d/D3DUTILS.CPP
rivers/d3d/DDrawPROCS.c
rivers/d3d/DEBUG.C
rivers/d3d/DEBUG.H
rivers/d3d/DbgEnv.bat
rivers/d3d/MAKEFILE
rivers/d3d/OPENGL32.DEF
rivers/d3d/WGL.C
|
2573f0e5d6f37f1a663bd472055babc97cfb3959 |
28-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Convert crlf->lf line endings. Windows/DOS users should enable core.autocrlf from now on.
rivers/allegro/amesa.c
rivers/allegro/direct.h
rivers/allegro/generic.h
rivers/d3d/D3DCAPS.CPP
rivers/d3d/D3DHAL.H
rivers/d3d/D3DInit.cpp
rivers/d3d/D3DMESA.H
rivers/d3d/D3DRaster.cpp
rivers/d3d/D3DTEXT.CPP
rivers/d3d/D3DTextureMgr.cpp
rivers/d3d/D3DTextureMgr.h
rivers/d3d/D3DUTILS.CPP
rivers/d3d/DDrawPROCS.c
rivers/d3d/DEBUG.C
rivers/d3d/DEBUG.H
rivers/d3d/DbgEnv.bat
rivers/d3d/MAKEFILE
rivers/d3d/OPENGL32.DEF
rivers/d3d/WGL.C
|
be2c419111b63f7e1a87a70f2714fdbff10d6c50 |
27-Feb-2008 |
Jose Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Convert CRLF -> LF. DOS/Windows users should not commit text files with CRLF line endings but use instead git config --global core.autocrlf true
tate_tracker/st_mesa_to_tgsi.h
|
308f11f9913d53944924e532e586d99070ccbe0b |
28-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
scons: Build mesa source with c99.
Conscript
|
6f715dcc219071e574e363a9db4365c9c31ebbd3 |
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: remove pipe_context->texture_create/release/get_tex_surface() These functions are now per-screen, not per-context.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
|
00bc91ac647296575efec1612a66385563a6ce54 |
27-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
r300: properly handle GL_POINT in glPolygonMode Until now the polygon mode was completely turned of when you used GL_POINT. For me it looked buggy to completely disable the polygon mode for FrontMode and BackMode if any of these was GL_POINT.
rivers/dri/r300/r300_state.c
|
364f8cad0f8f02fd39d9c51ea0774d349121b58d |
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: move is_format_supported() to pipe_screen struct
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
tate_tracker/st_gen_mipmap.c
|
8383f798b41df9a305e0a33afe8afa028d5d5dfb |
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: start removing pipe_context->get_name/vendor/param/paramf These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_strings.c
tate_tracker/st_extensions.c
|
60c0f09abb9421de359cd92e094a943d650fc7fa |
27-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Always use intelInitExtensions() for initializing extensions.
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_screen.c
|
8d94dabad8400cf65363d107a0605a013b542fd1 |
27-Feb-2008 |
Jerome Glisse <glisse@kemper.freedesktop.org> |
mesa: set input read only on success
hader/arbprogparse.c
|
e49905b57c8a8691c093dd5dd55be7f087517416 |
27-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Add copyright headers.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
dc2b6e2c33b44c1ffc0578b6bf52d05f7c68bb5c |
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: use pipe_texture_reference() instead of pipe->texture_release()
tate_tracker/st_cb_drawpixels.c
|
4da19dbcaa9f3e2d20fffd0145bf0bc756dd7542 |
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: remove pipe parameter from pipe_texture_reference() Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
tate_tracker/st_cb_texture.c
|
c34b024cf49f3fc06271d561a4069c77d7b65c48 |
27-Feb-2008 |
Markus Amsler <markus.amsler@oribi.org> |
r300: add artificial output to match fragment program input
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertprog.c
|
12a4a74e94cbea491a35e11bd7a9f809df5085dc |
27-Feb-2008 |
Markus Amsler <markus.amsler@oribi.org> |
mesa: set input read only on success
hader/arbprogparse.c
|
20b8bff49cba3e8246e29004c5ff38f231d589ff |
26-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
i965: Setup framebuffer texture in meta_draw_region. With DRI2 we there is no screen region until a drawable is bound to the context. Set up the framebuffer texture in meta_draw_region instead which should also handle the case where the draw region changes as a result of resizing a redirected window or resizing the screen.
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_tex.c
|
451bd1941e9791882f7931c8613643f152871e79 |
26-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.
rivers/dri/i965/brw_state_dump.c
|
09aa4b36902194646384cccbdee8a07832aebac7 |
21-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] remove dead brw_parameter_list_state_flags. This was replaced by Mesa core code.
rivers/dri/i965/brw_util.c
|
d5ab6507f7c368e86f653e76b759f2e71273469f |
26-Feb-2008 |
Brian <brian@poulsbo.localnet.net> |
gallium: #includes to silence warnings
tate_tracker/st_framebuffer.c
|
b93cf55f4ecd94f5e9d5dda49d9092e3b769d044 |
26-Feb-2008 |
Brian <brian@poulsbo.localnet.net> |
gallium: fix zero-sized viewport bug If st_create_framebuffer() is called with width=0, height=0 and the program never called glViewport, the viewport wasn't properly initalized. This fixes that.
tate_tracker/st_framebuffer.c
|
80efc5feb061a8ed9c1e91ad3711547927fa29e3 |
26-Feb-2008 |
Brian <brian@poulsbo.localnet.net> |
gallium: fix off by one rasterpos bug
tate_tracker/st_cb_rasterpos.c
|
6e3dde8a5409dce827e81200ca4ce8e01b1ee0ab |
26-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] fix wow-pinkness regression. Fixed by Markus Amsler
rivers/dri/r300/r300_state.c
|
bfb7cd653a05f868f9ce1c2c071d4bfdc31ca645 |
26-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document based on chapter 10.4 and 10.5 This commit adds most of the graphics backend registers and of the rasterizer registers. Again, some minor bugs were found and marked with TODO or even fixed.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
ecd50ef58b034e604ff6b2fedbb0815953e510ea |
26-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove input_map[] from pipe_shader_state
tate_tracker/st_atom_shader.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
bb68acbf8dceb3a228c0f1ac18bfabd89a327b14 |
26-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add missing copyright headers.
tate_tracker/st_atom_shader.h
tate_tracker/st_cb_program.h
|
9bd2cb7f90ac434ec5be7d388f899976bf902dc1 |
26-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i915] fix texture size exceed limit case when running celestia
rivers/dri/intel/intel_mipmap_tree.c
|
32879e14610906c23b3ca874ba7234370132d76c |
26-Feb-2008 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
[intel] Handle -EAGAINs correctly in execbuffer. Dont stop on fence creation errors.
rivers/dri/intel/intel_ioctl.c
|
e7985105695a18c29c13deb2b8f40c15eef72ee6 |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
add an explicit callback decleration and use it to silence warnings
tate_tracker/st_cache.c
|
6abb82da7e676384e7e2c9732307b23f8ed7157d |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement deleting of driver side cached state in cso's
tate_tracker/st_cache.c
|
f1c82bf9a4d248389ea5a558575e566d17dbd9d8 |
26-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
A few more fixes to the dlsym() fix. Argh, seriously, I did test that, I just forgot to amend the commit before pushing.
rivers/dri/common/dri_util.c
|
0a64ffb308bbe17fb67aad2829ff36044c9eab47 |
25-Feb-2008 |
Dave Airlie <airlied@linux.ie> |
dri2: dlsym requires some quotes..
rivers/dri/common/dri_util.c
|
129b9ad16f95421d12f77c1bd3eca915d8768b78 |
26-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Use dlsym() to avoid referencing __dri2DriverInitScreen. Sort-of a stop-gap workaround. There are a couple of nicer ways to do this that doesn't require dlfcn.h, but they're more invasive.
rivers/dri/common/dri_util.c
|
bcecea6ea6c2727e4071f5a43fab49673573e905 |
26-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings. Also, use -include to avoid error message when make initially fails to include the non-existent depend file.
akefile
rivers/dri/Makefile.template
|
7381ccab449c65d843580f76426f87ab6b1649ce |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Add missing include file to silence last couple of warnings.
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.c
|
54bd506c0fcfd7dffa31bea22f3c0175ec41b9b0 |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Initialize color and spec arrays in LOCAL_VARS macro. Avoids spamming compilation output with tons of warnings about use of possibly uninitialized variables.
rivers/dri/i915/intel_tris.c
|
61c3c2c36301671b8f913cf739e13d049ef91868 |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Change GetCompressedTexImage in dd_function_table to not take const pointers. They're changed by the intel driver implementation and thus not const. Fixes compilation warning.
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
ain/dd.h
ain/texstore.c
ain/texstore.h
|
6e8d21d72f35767e07081a8bee4323aaaf5e2aae |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Remove GetMSC DriverAPI function. The DriverAPI is internal to the DRI drivers and GetDrawableMSC obsoletes GetMSC. Also, since the DRI driver interface has not yet been released, just drop the getMSC function from the DRI interface instead using the ABI preserving version mechanism. Finally, using void pointer privates in the DRI interface is not allowed, always pass the actual types around (__DRIdrawable in this case) to enhance type safety and readability of the code.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/vblank.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
b49a8f805aec057d9d0b039531b373b6bd8330e2 |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Remove now unused setTexOffset from __DriverAPIRec.
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
|
09ba1dd4ccb0ed907510cb9403b1fb1fb0ab3658 |
26-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: clamp line width when creating raster state object
tate_tracker/st_atom_rasterizer.c
|
57f310b2c99ddd3d0cdf671647f8242f7cdd551a |
26-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a cache flush bug in r300EmitCacheFlush. Corrects commit 74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15.
rivers/dri/r300/r300_emit.c
|
40a3b16183186f6dabff6ace84b0078780cf5e61 |
25-Feb-2008 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved the state code into separate functions.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
0253357e1697078852e89e35a086276214ce3dd2 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] revert complete stupid changes
rivers/dri/r300/r300_cmdbuf.c
|
7d83618f99063a38e15e31b3f93e8112db20e0c4 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document registers completed 10.1 to 10.3
rivers/dri/r300/r300_reg.h
|
4cba59f8e7172bc85127265a0a74a172ee65cb70 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Add more register from the AMD spec
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
ed29d145f4017d601e458366b20d2b3c9cfbebe6 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document POLY_MODE and add some TODOs that might have triggered some bugs
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
090e2adaa85d66b22e06a36476f82c8b950d9932 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document some registers in the POINT area
rivers/dri/r300/r300_reg.h
|
a7fa3e093c4230eb185868895bce39bbac08a1bd |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Further document and add register definitions (found bugs in LINE handling)
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
60e1703727d7a84ae2dcd80f95b40c50e12cc06c |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Sync fog color register names
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
fa088bfe9de6a6fb482aa14715d9e9e05bc01586 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Sync fog register names to the AMD spec
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d08b1fe2a46308880828e4ced951ab9127b67d5e |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally add some information to R300_RB3D_DSTCACHE_CTLSTAT
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
f399ed7d557ac0c541750479e93781506994be5d |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
6087b00b279769e068589d4af5c5d8341ca24af4 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Add register definitions based on AMD spec starting with chapter 10
rivers/dri/r300/r300_reg.h
|
a195f7162a2183d58423954fdf10df6ddcead40e |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Add some more register from the AMD spec in the area of AARESOLVE
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Sync the names for Z-Buffer registers with the AMD spec This patch tries to get the Z-Buffer register names in sync with the AMD spec so that talking to AMD engineers is much simpler.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
1b51c135fc7bce2a801793139f72de7e57e33cfb |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Add more struct names for r300_hw_state
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
02926a297782579591fc6b2b5f29b9d7709814da |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] rename all unkown structs r300_hw_state to readable names
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
86039ae41303f8b96554e927247250c343c7d6a1 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
df344b171c82707653b1175cfa153ef011effedb |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Replace more magic number by register definitions from AMD
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
a3cee7cafb462aa0808703d044bcc76fc03b2750 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] clean some more magic registers based on AMD spec
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
6051e68a64729208092ca233d5eaf709e494d3d1 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Update some magic registers to real names
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
|
d1f2d56a759e6bcebea6cc46b270275c5dedcbce |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document Z-buffer related register ZB_BW_CNTL
rivers/dri/r300/r300_reg.h
|
091225eebb7983f8c5d0f9c41cca12a841479b31 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] document VAP_CNTL based on AMD spec
rivers/dri/r300/r300_reg.h
|
059aca86ba22a9f1496caa994b829371c3e5f840 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD spec
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
|
ff8bb004b19ddbf84c7d8793b176c4c7d6932010 |
25-Feb-2008 |
Christoph Brill <egore911@egore911.de> |
[r300] document type 3 packets to draw primitives based on AMD spec
rivers/dri/r300/r300_reg.h
|
45a800a2e7eb5d8d87820ef32d60ae912729cbb0 |
25-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Only enable GL_ARB_occlusion_query on i965.
rivers/dri/intel/intel_context.c
|
2d38d1b3005c02273abf3941df5dddc245a6b792 |
25-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove files of unsupported build systems.
akefile.DJ
akefile.mgw
escrip.mms
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
lapi/descrip.mms
ain/descrip.mms
ath/descrip.mms
hader/descrip.mms
hader/grammar/descrip.mms
hader/slang/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
bo/descrip.mms
|
1d14da9a89e8d7f49b754ca1f24cb062a261a7e7 |
25-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[intel] fix random ut2004 crash on some machine, for cubemap textures, image offset is already considered when map, add it again in StoreImage may lead to wrong result and crash.
rivers/dri/intel/intel_mipmap_tree.c
|
5b6ca237ee63fb85cff3bb942f5136f96f2c81ec |
25-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91.
rivers/dri/i965/brw_context.c
|
d7cf6a8a697a2fb4da171a36968f65aa0f108b27 |
23-Feb-2008 |
Dave Airlie <airlied@linux.ie> |
r300: fixup some more names
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
df6e9e40a90dfe97e9b04582c3add598b612785d |
23-Feb-2008 |
Dave Airlie <airlied@linux.ie> |
r300: some initial register info from doc drop
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
dd1d66fc4ab5d7064113a2017a431c3461598b91 |
23-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
intel: Merge intel_context.c from i915 and i965.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/intel_render.c
rivers/dri/i965/brw_context.c
rivers/dri/intel/intel_context.c
|
c99fa92ff84e927c82e1231d96921fda9a2b0852 |
22-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Merge {i915,i965}/intel_context.h as intel/intel_context.h
rivers/dri/i915/intel_context.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_context.h
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
1c718c0d78cf4eae9e02b03a0abbec384db948a6 |
22-Feb-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h
rivers/dri/i915/intel_context.h
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_ioctl.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/server/i830_common.h
rivers/dri/intel/server/i830_dri.h
|
a93d8bfaf2aba1b2fe3ecfbb5bc4b7ff113c305e |
21-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fill in some blend/rasterizer template fields to make sure they're all valid, even if not relevant
tate_tracker/st_gen_mipmap.c
|
25ea1901b44107a5bc5351487e18d52d75df8ffd |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace some ordinary assignments with pipe_reference_texture() This fixes at least one instance of dereferencing an invalid texture pointer.
tate_tracker/st_texture.c
|
d5640a2dbdc4454d0405f2cd5b18fc49b1ca7694 |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: new pipe->texture_update() function Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
tate_tracker/st_atom_texture.c
|
1d45787d4a70c55e7fa899d13b9139430e2fa3e2 |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: mark texture object data dirty in do_copy_texsubimage()
tate_tracker/st_cb_texture.c
|
3ccbaa977f96eaa849093875dd0944f744ee1e21 |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: re-enable GenerateMipmap calls
tate_tracker/st_cb_texture.c
|
58edb0683db45c449b219988a8715cf8fd69e42d |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: state tracker didn't always notify drivers of texobj data changes Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field.
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.h
|
4e9c8166b064de4eed38e385880cd491e6d8d9c4 |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix glBegin-time test for invalid programs/shaders.
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
|
3075f267cd8ea3d434ecd33357c45cd4b37be151 |
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
raise GL_INVALID_OPERATION if glProgramString compilation fails
hader/arbprogparse.c
|
ce865fd2fde0058f7a61620389ec17a9a04f1f40 |
19-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Added <size name="Get" mode="get"/> lines for point parameter tokens. See bug 11893. This allows GL_POINT_SIZE_MIN/MAX/etc to be queried with indirect rendering.
lapi/gl_API.xml
|
a52ce9de7d3ba1b244edaadbe976a0c794b0cc62 |
19-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
If parameter is a 'counter', raise GL_INVALID_VALUE if value is negative Fixes bug 10984.
lapi/glX_proto_send.py
|
d8c187fed78ef99bed47bf261464c8c31ed13302 |
19-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
fix compile for previous commit
rivers/dri/i965/brw_wm_pass2.c
|
689ff273d18528ec12817124cfbc6a8159cd8497 |
19-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] fix broken glsl texdemo1
rivers/dri/i965/brw_wm_pass2.c
|
b9da3791c934e05b82063a8c79c423a0a8e29a94 |
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove src/mesa and src/mesa/main from gallium source include paths.
Conscript
86/common_x86_asm.S
|
5d78212d752e021555356bbb9cc5993ad6d9e847 |
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Bring in ppc spe rtasm into gallium's rtasm module. Moving files since these are not being used outside gallium.
pc/rtasm/spe_asm.c
pc/rtasm/spe_asm.h
ources
|
90b2beb661f630966788a6e909dc759c99e38973 |
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Simplify makefile boilerplate code. Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
ources
|
f430d95a36d55141cd9ef911aab70364ce4a4108 |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Use gallium's rtasm module.
tate_tracker/st_program.h
|
ba38909be21e4b33121b87bb7ac8743886a4f706 |
18-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Install dri_sarea.h in 'make install'
rivers/dri/Makefile
|
0448dbd64a2ef217349f4ada4777d432bc82e46d |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Update for llvm -> gallivm rename.
akefile
|
33ceb6716a2166db75659fa66d85fb4cfb9633c7 |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Update scons build for new code layout.
Conscript
rivers/dri/SConscript
|
bfd5916eafb9a97ad10f1d4a8738e7dcb02e04f4 |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: split gallium and mesa makefiles. In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.
akefile
ources
|
7688791fc52f116eea421fda1d17aba5cf10977b |
16-Jan-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
glapi: Generate xserver glapi sources in the mesa tree Instead of generating the glapi sources for the xserver and commiting them to the xserver tree, we can keep them in the mesa tree and change the xserver build to use the files from the mesa tree. This makes the xserver glx build more robust as it reduces the chances for mismatches of the glX API used in the xserver vs. in mesa.
lapi/Makefile
|
15f0015df443025086ae810c0c0d07b4359b9e02 |
16-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915) Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
rivers/x11/xm_dd.c
|
6ffe45bfd4e9b67fc15f2b32353282ccbae458f5 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Fix path to minstall in last commit.
rivers/dri/Makefile
|
3f5a9a3a9e3626dc2baad8cdd3aad23418bc0758 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Install dri_interface.h in 'make install'.
rivers/dri/Makefile
|
c741d287ecce1bd95d4e024d60e274abfcfbe22f |
15-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Allow attIndex to be negative to avoid defeating the >= 0 check. Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
|
eed5e6f40f1728ae5ae346d44ce45ba767bbf24c |
15-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[915] Don't attempt our accelerated drawpixels if no color buffer is attached. Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when we try to emit the color buffer state during setup.
rivers/dri/intel/intel_pixel_draw.c
|
19420e6c2592e8a31e2ead4bccebc1a9ccca52b1 |
15-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[915] Revert broken context creation change from IS_915 commit. The IS_945 case was left to fall through to the 830 case, along with the not-recognized-at-all case, making that dead code.
rivers/dri/intel/intel_screen.c
|
1d0ddea92fc933d623caf1b9d3bda47b6f8296f8 |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix glBindTexture crash (bug 14514)
ain/texobj.c
|
37e45b9b789f2aeafbe7e192072b939d4fa5a1cb |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Fix parallel build by making symlinks before makedepend.
rivers/dri/Makefile.template
|
3ddd339ce32d0577bdc9955ca62cb5dd9ed4dd93 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Fix sis_dri on ia64.
rivers/dri/sis/sis_context.h
|
49a34837564a28587517bfe8bc7679c4e5e04f85 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Fix build on ia64.
rivers/dri/intel/intel_tex.c
|
cf0d91ae1d627381b632de63e5cb85494b277eb4 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Add IS_915(), simplify IS_9XX() a bit.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_screen.c
|
c51eb3ec401e78dd14ccd95304599909045b17b6 |
15-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
39bcbe0921e8a31b55ebee8726d2091fc5e0dd22 |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Add E7221 variant to i915.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
|
66611f2298539fa28a3667c02ca4013602634d3d |
15-Feb-2008 |
Adam Jackson <ajax@redhat.com> |
Trivial SELinux awareness. Enable with --enable-selinux. Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so.
ain/execmem.c
|
397b81bd1c7984b1667af7ef954e053263a7a661 |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Move cell_vertex_fetch.c for recent code reorg.
ipe/cell/ppu/cell_vertex_fetch.c
|
55e64b63adfca3cba5847601b1a68e885da725a4 |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Initial version of code gen for attribute fetch
ipe/cell/ppu/cell_vertex_fetch.c
|
2cc0c3b99703bb10e0b320001183acb728e5488e |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Correct the convert to and from float instructions
pc/rtasm/spe_asm.c
pc/rtasm/spe_asm.h
|
bf4a0fafc86bba8dc868cf30244a237e33645164 |
15-Feb-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bug with generated fragment programs if vertex shader is active When generating a fragment program from fixed function, checking texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too since the former also represents texture enables from an active vertex shader.
ain/texenvprogram.c
|
b29d8d27292c2ad956d3f0a307603f00ee01af28 |
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: subclass vertex shaders according to execution method Create new files for shaders compiled/executed with llvm, sse, exec respectively
ources
|
30d0bacf7aecfb6013ddd665d7385209899eeebd |
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.1
|
6ac2c1cc0cd1253ba2014d459010032127f185ec |
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.1 Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
|
66f22aa3bf7fa546e946b45156aa578e202982c9 |
15-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: s/aux/auxiliary/ -- update build.
akefile
ources
|
c04a7f8929d674971a472ffa4d3a31200c22aa5a |
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: reorganize fragment shader execution, unbreak sse This is probably going to get further reworked in the near future. Right now there's a new interface wrapped around each shader execution mode - exec, sse2, llvm. The llvm code was disabled already and has just been moved as-is to a new file, whereas the sse2 and exec code is actually enabled. The way the interfaces has turned out suggests to me that the correct approach is to actually have each shader include a pointer to a quad stage which will do a better job of encapsulating the execution environment than what I have here -- that's a second step however.
ipe/draw/draw_vertex_shader.c
ipe/softpipe/Makefile
ipe/softpipe/sp_context.h
ipe/softpipe/sp_fs_exec.c
ipe/softpipe/sp_fs_llvm.c
ipe/softpipe/sp_fs_sse.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/exec/tgsi_sse2.c
|
fa9c160389ffc6d7a20773b77c937193f30339d8 |
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
tgsi: disable dummy sse2 texture code
ipe/tgsi/exec/tgsi_sse2.c
|
6acd63a4980951727939c0dd545a0324965b3834 |
15-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: update build. Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
akefile
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_surface.c
rivers/x11/xm_winsys.c
rivers/x11/xmesaP.h
ources
tate_tracker/st_atom_shader.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
b642730be93149baa7556e5791393168ab396175 |
15-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: move files into their places. This is in a separate commit to ensure renames are properly preserved.
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/SConscript
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.h
rivers/dri/intel_winsys/intel_batchpool.c
rivers/dri/intel_winsys/intel_batchpool.h
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_reg.h
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/dri/intel_winsys/intel_winsys_softpipe.c
rivers/dri/intel_winsys/server/i830_common.h
rivers/dri/intel_winsys/server/i830_dri.h
rivers/dri/intel_winsys/server/intel.h
rivers/dri/intel_winsys/server/intel_dri.c
ipe/Makefile
ipe/Makefile.template
ipe/README.portability
ipe/SConscript
ipe/cell/Makefile
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
ipe/cell/ppu/cell_clear.c
ipe/cell/ppu/cell_clear.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_draw_arrays.c
ipe/cell/ppu/cell_draw_arrays.h
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_flush.h
ipe/cell/ppu/cell_render.c
ipe/cell/ppu/cell_render.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_blend.c
ipe/cell/ppu/cell_state_clip.c
ipe/cell/ppu/cell_state_derived.c
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_state_emit.h
ipe/cell/ppu/cell_state_fs.c
ipe/cell/ppu/cell_state_rasterizer.c
ipe/cell/ppu/cell_state_sampler.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/ppu/cell_state_vertex.c
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
ipe/cell/ppu/cell_texture.c
ipe/cell/ppu/cell_texture.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/ppu/cell_vbuf.h
ipe/cell/ppu/cell_vertex_shader.c
ipe/cell/ppu/cell_winsys.c
ipe/cell/ppu/cell_winsys.h
ipe/cell/spu/Makefile
ipe/cell/spu/spu_blend.c
ipe/cell/spu/spu_blend.h
ipe/cell/spu/spu_colorpack.h
ipe/cell/spu/spu_exec.c
ipe/cell/spu/spu_exec.h
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_render.c
ipe/cell/spu/spu_render.h
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
ipe/cell/spu/spu_tri.h
ipe/cell/spu/spu_util.c
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.c
ipe/cell/spu/spu_vertex_shader.h
ipe/cell/spu/spu_ztest.h
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/cso_cache/cso_hash.c
ipe/cso_cache/cso_hash.h
ipe/draw/Makefile
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_debug.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_stipple.c
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_validate.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vbuf.h
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
ipe/draw/draw_wide_prims.c
ipe/failover/Makefile
ipe/failover/fo_context.c
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/failover/fo_winsys.h
ipe/i915simple/Makefile
ipe/i915simple/SConscript
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_blit.h
ipe/i915simple/i915_clear.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_reg.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_state_inlines.h
ipe/i915simple/i915_state_sampler.c
ipe/i915simple/i915_strings.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_texture.c
ipe/i915simple/i915_texture.h
ipe/i915simple/i915_winsys.h
ipe/i965simple/Makefile
ipe/i965simple/SConscript
ipe/i965simple/brw_batch.h
ipe/i965simple/brw_blit.c
ipe/i965simple/brw_blit.h
ipe/i965simple/brw_cc.c
ipe/i965simple/brw_clip.c
ipe/i965simple/brw_clip.h
ipe/i965simple/brw_clip_line.c
ipe/i965simple/brw_clip_point.c
ipe/i965simple/brw_clip_state.c
ipe/i965simple/brw_clip_tri.c
ipe/i965simple/brw_clip_unfilled.c
ipe/i965simple/brw_clip_util.c
ipe/i965simple/brw_context.c
ipe/i965simple/brw_context.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_defines.h
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw.h
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_eu.c
ipe/i965simple/brw_eu.h
ipe/i965simple/brw_eu_debug.c
ipe/i965simple/brw_eu_emit.c
ipe/i965simple/brw_eu_util.c
ipe/i965simple/brw_flush.c
ipe/i965simple/brw_gs.c
ipe/i965simple/brw_gs.h
ipe/i965simple/brw_gs_emit.c
ipe/i965simple/brw_gs_state.c
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_reg.h
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf.h
ipe/i965simple/brw_sf_emit.c
ipe/i965simple/brw_sf_state.c
ipe/i965simple/brw_shader_info.c
ipe/i965simple/brw_state.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_state_batch.c
ipe/i965simple/brw_state_cache.c
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_state_upload.c
ipe/i965simple/brw_strings.c
ipe/i965simple/brw_structs.h
ipe/i965simple/brw_surface.c
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_tex_layout.h
ipe/i965simple/brw_urb.c
ipe/i965simple/brw_util.c
ipe/i965simple/brw_util.h
ipe/i965simple/brw_vs.c
ipe/i965simple/brw_vs.h
ipe/i965simple/brw_vs_emit.c
ipe/i965simple/brw_vs_state.c
ipe/i965simple/brw_winsys.h
ipe/i965simple/brw_wm.c
ipe/i965simple/brw_wm.h
ipe/i965simple/brw_wm_decl.c
ipe/i965simple/brw_wm_glsl.c
ipe/i965simple/brw_wm_iz.c
ipe/i965simple/brw_wm_sampler_state.c
ipe/i965simple/brw_wm_state.c
ipe/i965simple/brw_wm_surface_state.c
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/gallivm_cpu.cpp
ipe/llvm/gallivm_p.h
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
ipe/llvm/llvm_builtins.c
ipe/llvm/loweringpass.cpp
ipe/llvm/loweringpass.h
ipe/llvm/storage.cpp
ipe/llvm/storage.h
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
ipe/llvm/tgsitollvm.h
ipe/p_compiler.h
ipe/p_context.h
ipe/p_debug.h
ipe/p_defines.h
ipe/p_format.h
ipe/p_inlines.h
ipe/p_shader_tokens.h
ipe/p_state.h
ipe/p_thread.h
ipe/p_util.h
ipe/p_winsys.h
ipe/pipebuffer/Makefile
ipe/pipebuffer/linked_list.h
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_fenced.h
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_bufmgr.h
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
ipe/pipebuffer/pb_winsys.c
ipe/softpipe/Makefile
ipe/softpipe/SConscript
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_clear.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_flush.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_prim_vbuf.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_earlyz.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
ipe/softpipe/sp_query.c
ipe/softpipe/sp_query.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_state_vertex.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
ipe/softpipe/sp_winsys.h
ipe/tgsi/Makefile
ipe/tgsi/exec/Makefile
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
ipe/tgsi/util/tgsi_build.c
ipe/tgsi/util/tgsi_build.h
ipe/tgsi/util/tgsi_dump.c
ipe/tgsi/util/tgsi_dump.h
ipe/tgsi/util/tgsi_parse.c
ipe/tgsi/util/tgsi_parse.h
ipe/tgsi/util/tgsi_transform.c
ipe/tgsi/util/tgsi_transform.h
ipe/tgsi/util/tgsi_util.c
ipe/tgsi/util/tgsi_util.h
ipe/util/p_debug.c
ipe/util/p_tile.c
ipe/util/p_tile.h
ipe/util/p_util.c
ipe/xlib/brw_aub.c
ipe/xlib/brw_aub.h
ipe/xlib/fakeglx.c
ipe/xlib/glxapi.c
ipe/xlib/glxapi.h
ipe/xlib/glxheader.h
ipe/xlib/realglx.c
ipe/xlib/realglx.h
ipe/xlib/xfonts.c
ipe/xlib/xfonts.h
ipe/xlib/xm_api.c
ipe/xlib/xm_image.c
ipe/xlib/xm_image.h
ipe/xlib/xm_winsys.c
ipe/xlib/xm_winsys_aub.c
ipe/xlib/xm_winsys_aub.h
ipe/xlib/xmesaP.h
|
83068115e2104b1880431ada96fa37e632149a86 |
15-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: don't swizzle fogcoord if FogOption is FOG_NONE. fix #10788 issue on 965.
rivers/dri/i965/brw_vs_tnl.c
|
7eef52e975e852207ee840c74cd822c8f8c90a01 |
15-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915.
rivers/dri/i915/i915_fragprog.c
|
4593be34b2a6e494f0e476c8aa8e1d2633fffd47 |
15-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
vastly simplify indexing
ipe/llvm/instructionssoa.cpp
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
cf51d5c4210d3301c96947e6e80e71c252bc04d1 |
15-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
redo indirection make all load's respect indirection
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
|
f70cc89dbc8c0f3e58d6cf8eca92e2df1677c86e |
15-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
redo the way immediates are handled implement madd start implementing arl
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
ae3375987fe9968f822442a0ce49b97f5f0a4070 |
14-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
rename 'argument' to 'load' because that's what it does
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
d0364584bea6c57bb3ac8d616e677fb52b97ea98 |
14-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement swizzling on writes
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
13d9e616f6ee253ecf99dbb67572c87b5dc9270f |
15-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
a call was missed during the last rename
ipe/draw/draw_stipple.c
|
6d48779c7e5c9002d1bec4b1266ca05a474218ef |
15-Feb-2008 |
Kristian Høgsberg <krh@redhat.com> |
Add TTM buffer object based texture from pixmap implementation. Currently only implemented for intel hw.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_image.c
|
19780237ff0e6a89f31ecb9079781568bc2d3fdc |
14-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix memory leak.
ipe/draw/draw_vbuf.c
|
742c5d3e1ba1455e6aca8454f4b7e146b27fbbe3 |
14-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix memory leak.
ipe/draw/draw_stipple.c
|
6a7820d31f9b697888ce9f9b193bacc86e646fe1 |
14-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Use align_free() to free aligned memories.
ipe/pipebuffer/pb_buffer_malloc.c
|
d3cd39493c1e776c1e21045920744a27de2787f1 |
13-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on Windows.
ipe/draw/draw_wide_prims.c
ipe/i915simple/i915_surface.c
ipe/softpipe/sp_surface.c
|
3f1b712d0a47b440875e58429debd9a145192724 |
07-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Use MALLOC().
ipe/p_util.h
|
d8ae972fd067a2478d1b0b4a35fec47ac2c814f7 |
12-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Fix MSVC compiler warnings.
ipe/softpipe/sp_state_sampler.c
|
663f4aaae618a8f031fa1a6b5292ddc57698741c |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove some debug assertions in vertex format validation If a fragment shader references an input for which there's no vertex shader output (ex: texcoord3), use vertex output 0 by default. Basically, the attribute's value will be undefined. The shader writer should never rely on undefined fragment shader inputs anyway.
ipe/softpipe/sp_state_derived.c
|
3d81a956b9de709de17a98b93fead4d3307b2b99 |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rearrange vertex info/layout validation Delay validation until someone really needs the vertex layout (vbuf alloc vertex buffer or point/line/tri setup/rendering). This will allow the vertex size to change depending on whether we're drawing points, lines or triangles.
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
|
1b6540b4b17969e9838facf5248fce34c9ff5c34 |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: include draw_context.h to silence warning
ipe/softpipe/sp_flush.c
|
d2b14311d9da8d94056968173d6d5d11f1885d3b |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: minor function renaming
ipe/draw/draw_wide_prims.c
|
4c1403f667c6047a44ff494364725b3b7da82c68 |
15-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: new tgsi_transform_shader() function Used to apply transformations to TGSI shaders, such as register search and replace.
ipe/tgsi/util/tgsi_transform.c
ipe/tgsi/util/tgsi_transform.h
|
5e345a653b0adc59487d786050abd01d4cb8b4ca |
14-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: call draw_flush() in softpipe_flush() Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
ipe/softpipe/sp_flush.c
|
7a3e59d2363cba6dd2c1edc08d1afffd25b53ea3 |
14-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().
ipe/tgsi/exec/tgsi_exec.c
|
59cc1f4e62268cc73567d3e1cccbc5df9d116311 |
14-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace "interpolate" terminology with "eval" to better reflect what's being done.
ipe/tgsi/exec/tgsi_exec.c
|
4f32c532376bc3394f8fce70f95156b49fcc4fec |
14-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: changes to polygon mode weren't detected in draw_unfilled stage. Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the front/back state is picked up.
ipe/draw/draw_unfilled.c
|
b08102a8f3ef558743f5f952c726ba2c28b6e82e |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rename draw_free_tmps->draw_free_temp_verts, draw_alloc_tmps->draw_alloc_temp_verts
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_stipple.c
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_wide_prims.c
|
e9c6c31651a0c1884633168adfd3ea6797fbdc60 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
galllium: comments, minor clean-ups
ipe/draw/draw_vertex.h
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
|
bbd7aabe2bc5743d11c77dd94665045b09791048 |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
More name typeo fixes.
pc/rtasm/spe_asm.c
pc/rtasm/spe_asm.h
|
d4d9943b0144062e70372329ea46f5b41c6c270e |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
s/spu_/spe_/g Ugh.
pc/rtasm/spe_asm.h
|
18fd3b757166c1c63284dc08f6dfd9e2061770be |
15-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Cell: pass pointers to stored memory values Several routines use shuffle patterns that are stored in memory. For code gen, it is difficult to directly access the data segments. The routines have been modified to be passed a pointer to a global table of shuffle patterns. This *should* be the last change to this file before switching over to code gen.
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
c5c73c1b605611faf0f06df9b5d08d8984388238 |
21-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
Hook up i915 driver to new DRI2 infrastructure.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
7da5705b090d9c97a9b765d786c5e89afe9d1f25 |
15-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
Add new DRI2 infrastructure.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
f1257fd7944c5b62a07cecf0608e63ec7a947706 |
14-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Cell: Fix unintended breakage from commit 1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
ipe/cell/ppu/cell_texture.c
|
77a148862036bd6bf01f631ff44e455d50bcb8b9 |
14-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Real-time assembler for Cell SPE.
pc/rtasm/spe_asm.c
pc/rtasm/spe_asm.h
ources
|
dd07e154d26c2c3ec248b7143eb67b6b4410246a |
12-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Fetch routines convert and transpose all 4 vertices at once.
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
125451b9f024ea5845eb6c1b3056bc1f1995cc55 |
12-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Remove open-coded fetch functions
ipe/cell/spu/spu_vertex_fetch.c
|
ca1a2da645bceb4500f1782cdfcb686db24ecba7 |
12-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Initial pass at vertex cache, more vertex fetch changes This is just another step towards dynamic generate of vertex fetch code.
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
c2903679856856e3758ceb744cd7d91af9e2eb45 |
12-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Vectorize a couple fetch functions These C-coded vectorized functions are expected to be short lived. They're basically a proof-of-concept for dynamically generated fetch routines.
ipe/cell/spu/spu_vertex_fetch.c
|
0230c56ed0db16f007e4d1881554c7dbfa3ac3de |
14-Feb-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_winsys: Call st_notify_swapbuffers_complete() after buffer swap.
rivers/dri/intel_winsys/intel_swapbuffers.c
|
cf5ef20f436ac1d3efde2b7bff698decccb029e3 |
14-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Cleanups related to clears.
tate_tracker/st_cb_clear.c
|
18e94e15c0ca881309ac5784075a04160cc1eeb6 |
14-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Minor cleanups to bitfield sizes, etc.
ipe/p_state.h
|
f3f7ff257370ff72dbc7a0ba05ed0a99ce67ebac |
14-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
tgsi: partially unbreak sse fragment shaders. more to do.
ipe/tgsi/exec/tgsi_sse2.c
|
4813946d366a0d61e0be1dacec6d3077bc939b48 |
14-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use setup attributes as inputs when allocating registers for WM payload. fix #10767
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_wm_pass2.c
|
1202c434d91c56bccc4c918f8284f0602ef4ca0b |
14-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] flip point sprite
rivers/dri/i965/brw_sf_emit.c
|
08fd2488b011db78ebf7eafbf6ea61d5444ffe7c |
14-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] gl_FrontFacing support
rivers/dri/i965/brw_sf_emit.c
|
eb9da9706ee060a8e4bb5c4fa133ab06dc6b5a53 |
14-Feb-2008 |
Dave Airlie <airlied@redhat.com> |
i965: remove unused hal hooks These don't appear to have ever been used.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_hal.c
rivers/dri/i965/brw_hal.h
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_wm.c
|
85063f14ea431b586d710f249563fc73481552c7 |
14-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix ARB_occlusion_query from intel_screen.c merge. It wasn't being initialized at screen setup, so we were getting stub entrypoints even though it was exposed as enabled. Fixes arbocclude mesa demo.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
822b2481ffc0d3e2ca9d24e9443634af2760777c |
13-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965. The 965 path wasn't setting pClipRects for batch submission since it didn't want kernel cliprect handling before. The 915 path also grew the INTEL_NO_HW=1 option for testing just driver overhead.
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_ioctl.c
|
ee781a41af95a317f4f37182e0d614e917e0737d |
13-Feb-2008 |
Eric Anholt <eric@anholt.net> |
When mapping, wait on the buffer's fence, not hardware idle, in bufmgr_fake
rivers/dri/common/dri_bufmgr_fake.c
|
ee8dfa89646ea5aa5e5cf72e29b601cbe357e126 |
13-Feb-2008 |
Eric Anholt <eric@anholt.net> |
Remove O(n^2) debugging code from non-debug path of dri_bufmgr_fake.
rivers/dri/common/dri_bufmgr_fake.c
|
a856b399e6a46f2026006402bc6b9125bd23f9a9 |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
x86: fix assignment in assert typo
86/rtasm/x86sse.c
|
2e75f39bc4286cebb7330f54d7acf5b8f1d9777f |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
make swizzling on incoming arguments work
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
12d5b078e8390cb2c598def31fd75260a54ace1a |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
get rid of the terrible auto-generated entry point it's not used anymore.
ipe/llvm/Makefile
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/llvm/tgsitollvm.cpp
|
7e51d2a9986231f4ca44a3643628645923e4d468 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement immediates and make them work
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
|
c107d572104890c83647ad611d303fe1fae70e8f |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
try to load the consts correctly
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
|
66640c4b589db7b6b5edce7d297ae6623bfda9c1 |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
x86: remove debug
86/rtasm/x86sse.c
|
8162d317d2f6f2dcc31f31c0c2d663c33dfee053 |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
x86: emit absolute calls, as reallocating exec mem breaks relative ones
ipe/tgsi/exec/tgsi_sse2.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
a3534a27bfc9827a12d83f7b6464af98424cf8d4 |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
tgsi: fail gracefully when sse code can't emit shader
ipe/tgsi/exec/tgsi_sse2.c
|
6046c54cc40d32d4c1a47c061494a37fadefd947 |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
x86: reallocate exec mem when we run out
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
7f342a20d2c7f59b8dd8daed21f3b44f5215a05a |
13-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
tgsi: include more of the register info in debug dumps
ipe/tgsi/exec/tgsi_sse2.c
|
e922adbe1d6c1764968377658ea92ae6de0585db |
13-Feb-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: pipe->surface_copy can flip the contents vertically when necessary. Fixes gears being upside down on the box in demos/gearbox.
ipe/cell/ppu/cell_surface.c
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_blit.h
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_blit.c
ipe/i965simple/brw_blit.h
ipe/i965simple/brw_surface.c
ipe/p_context.h
ipe/p_util.h
ipe/softpipe/sp_surface.c
ipe/util/p_util.c
ipe/xlib/xm_api.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
|
4bb1a14d901fcddb25efeeff49c4dea8ca872f73 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
handle temporaries in llvm code generated paths
ipe/draw/draw_vertex_shader.c
ipe/llvm/gallivm.h
ipe/llvm/gallivm_cpu.cpp
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
|
e179d5bdd199e3747773f5b07efcf9a635c41089 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement add
ipe/llvm/instructionssoa.cpp
|
135d2329de7721b2083aa5f38f8d66beb20c1181 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement mul
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
|
e45e33854289222cabb491d4605bf381b1631054 |
13-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
_mesa_swizzle_ubyt_image: Don't use single swizzle_copy call if components don't match. fix #13508
ain/texstore.c
|
4c8456264ca9c826165c41810b20dfbfbfb322e3 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
get mov working
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_cpu.cpp
ipe/llvm/storagesoa.cpp
ipe/llvm/tgsitollvm.cpp
|
53c2963b84f7a8538d2a2c67e3fbb8a22f644c57 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
fix fetching input elements and generate a ret on end
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
ipe/llvm/storagesoa.cpp
|
9b6532f01b2e8a3ccc44d67d20a8f94f5de570e3 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
add functiontype for the llvm native vs entry point
ipe/llvm/tgsitollvm.cpp
|
8b054cd6eb0b64264d9cb8b61ce9df5135664368 |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
disable llvm code in fs
ipe/softpipe/sp_quad_fs.c
|
3c3c1ff5cd19af23033e080d8f0b9b5ae8363f2e |
13-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
stop generate llvm entry points entrypoints are useless because we use the same paths as all other code. also simplify llvm swizzling code
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_p.h
ipe/llvm/storage.cpp
ipe/llvm/storagesoa.cpp
ipe/llvm/tgsitollvm.cpp
|
cad7bc74d69ee053452aa4bd20740dc79ad6eab6 |
12-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
llvm ir code to fetch the elements
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
|
e20e89e48287808068086ec148920dd89495d813 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: initial code for wide/AA line drawing
ipe/draw/draw_wide_prims.c
|
9af687c53037afe57e765f705906e12a86865c03 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT). This fixes demos/reflect ('d' key) and tests/zreaddraw.c
tate_tracker/st_cb_readpixels.c
|
48e223a0db85e83e180a49f3c3c7ea4101a86f40 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: clamp min_lod so it's never negative
tate_tracker/st_atom_sampler.c
|
9365738c36f1f0288e2576edbc621b5ed4d8736c |
13-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Remove cached reloc data buffer now that it's not a BO. It's not worth the extra effort to avoid a free/malloc, and we'd rather auto-size the reloc data buffer at some point so we don't need to have max_relocs.
rivers/dri/intel/intel_bufmgr_ttm.c
|
4e2a0b6aa67da77d312ed74916624a43daf2101a |
13-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix type of some more flags variables for uint64_t flags. Harmless since we don't yet have any bits above 31 for flags.
rivers/dri/intel/intel_bufmgr_ttm.c
|
da428c709aa1acda0072c302f539670542bcfd2c |
11-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Note when BO map/unmap fail with TTM.
rivers/dri/intel/intel_bufmgr_ttm.c
|
7ea767f9faee2c6acbaccdd4fae863c2cad0da31 |
09-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups.
rivers/dri/intel/intel_bufmgr_ttm.c
|
1fd82451eb8a76f2df85720e8d9d607d9e37ab24 |
08-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Remove stale brw_state_cache.c comment and function export.
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_cache.c
|
508b73289de5c4e16b31ae7267140efbb0f319a5 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove dead code
tate_tracker/st_cb_texture.c
|
a34b43b3f4817268ef4b3f186203b5fbafc7214e |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added null ptr check
tate_tracker/st_cb_texture.c
|
9677336845511be4852520d2e50f91f1df362f58 |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rename st_fragment_program's fs field to cso to match st_vertex_program
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
6d53b8f42349c507e7184aa567a4b2a4fc7b037f |
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move gen-mipmap global/static vars into st_context This fixes potential problems with multi-context programs.
tate_tracker/st_context.h
tate_tracker/st_gen_mipmap.c
|
1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba |
12-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove unused first_level param from st_texture_create()
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
4da1cdf78fa3b954840650fa46cf72da5daf149f |
12-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: clean-up, simplification of mipmapped textures Remove pipe_texture->first_level (always implicitly zero). This means there's never any unused mipmap levels at the top. In the state tracker, we no longer re-layout mipmapped textures if the MinLod/MaxLod texture parameters change. It's up to the driver to obey the pipe_sampler->min/max_lod clamps.
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_sampler.c
ipe/i915simple/i915_texture.c
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_wm_surface_state.c
ipe/p_state.h
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
929b6d2ebf8128140fa2db413600f64a66148b5f |
15-Jan-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
glapi: Correct prerequisites for gl_and_glX_API.xml The indirect_dispatch.h and indirect_table.c source files use gl_and_glX_API.xml in their generation rather than glX_API.xml, but it wasn't listed in their prerequisites. In turn, gl_and_glX_API.xml uses glX_API.xml, but this is already listed in $(COMMON_GLX).
lapi/Makefile
|
fc67d47708eef27e129f4848896c6d10fbe32594 |
15-Jan-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
glapi: Use make automatic variables to clean up the commands Make use of the make automatic variables $@ (the target) and $< (first prerequisite) to clean up the commands for the glapi generation. This improves readability and guards against typos since words are repeated less frequently.
lapi/Makefile
|
817af9bec2f799b4b8449112d1a25aad70ca4d15 |
15-Jan-2008 |
Dan Nicholson <dbn.lists@gmail.com> |
glapi: Use variable for indent and flags Put the path to indent and the flags to call it with in configs/default rather than in the Makefile. This makes it easier to change the values globally.
lapi/Makefile
|
532828b1d3fdf5e9eed8d5ec72ada154b31f92cc |
12-Feb-2008 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: ddx versioning changed
rivers/dri/nouveau/nouveau_screen.c
|
b61b1a295b13a0ff2cf98c8d07e62147d71c08b9 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: take pitch/stride into account in mipmap generation
ain/mipmap.c
ain/mipmap.h
tate_tracker/st_gen_mipmap.c
|
3d0fd8a6cf294d58df2d2ec4139192416a1a4078 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: comments about mipmap gen
tate_tracker/st_gen_mipmap.c
|
c22d9152e33792ea58426c53bc9b96bf552b0b44 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
code refactoring, new next_mipmap_level_size() function
ain/mipmap.c
|
e4026167d70f0aa0bc0cd2546ef9b41f7b167735 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement software fallback for mipmap generation This is used when we can't render to the surface type of the texture (such as luminance/alpha).
tate_tracker/st_gen_mipmap.c
|
212b27d33f94eeb25ba9cbc58f9e41295a29d2c9 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: strip borders from textures passed to st_TexImage. Manipulate the unpack params to skip the border. Gallium drivers won't support texture borders.
tate_tracker/st_cb_texture.c
|
cfe9e66f2bc596c43760911e7c1604bb32cdee28 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use _mesa_tex_target_to_face()
tate_tracker/st_cb_texture.c
|
b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
added _mesa_tex_target_to_face()
ain/teximage.c
ain/teximage.h
|
789f2f15e867d6ef9f635d0ab59e213b35a2960c |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: update comment about buffer map flags
ipe/p_winsys.h
|
2e4077db16b5a55f1c3ee24ac7944bc05e0a7579 |
11-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix fragment/vertex typo
ipe/draw/draw_vertex_shader.c
|
3bae27fcc54187235a6962577580e838b012f9a5 |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
refactor code, export _mesa_generate_mipmap_level()
ain/mipmap.c
ain/mipmap.h
|
42eac65da45fb58bffdf94ab8f9860d8cee5b256 |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
move _mesa_format_to_type_and_comps() to texformat.c
ain/mipmap.c
ain/texformat.c
ain/texformat.h
|
9ddb7d794bac57e63f5eb247ad3c02ba6dfb87f9 |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
reorder cases in do_row()
ain/mipmap.c
|
30dff589a447529232016f3e792378fd8fa67820 |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
re-indent do_row()
ain/mipmap.c
|
ed6e72e8556a961ad31c80ae3c0582878ce64bf3 |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint- consolidation in do_row()
ain/mipmap.c
|
aa9d9d9c40ae34d61b113ffc54bffd702138f72f |
09-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint- remove dependencies on gl_texture_format to make code re-usable by state tracker
ain/mipmap.c
|
084e6c92e088b443eacf6bf649d4a6ce6ede2386 |
11-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
remove seperate llvm vs entry points they're not necessary anymore. we use the same paths as sse and tgsi code
ipe/draw/draw_vertex_shader_llvm.c
ources
|
e761161d014cde4e0a6e52631e9e4bc740b554f6 |
11-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
start genering soa type code in llvm paths
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/instructionssoa.cpp
ipe/llvm/instructionssoa.h
ipe/llvm/storagesoa.cpp
ipe/llvm/storagesoa.h
ipe/llvm/tgsitollvm.cpp
ipe/llvm/tgsitollvm.h
|
1712a5380a12fe66fa03a281394abeca034f1a7c |
06-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
disable llvm for fragment shaders for now
ipe/softpipe/sp_state_fs.c
|
137edf75335910c9f15daacaf0ce3f4cbd43080c |
05-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
rewrite the way cpu engine is handled
ipe/draw/draw_vertex_shader.c
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/gallivm_cpu.cpp
|
7d69090e272d0d429f0ef7a733cebe1363383447 |
04-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
rewrite the way we handle ir in llvm code introduce intermediate step gallivm_ir before compiling it down to the final llvm ir.
ipe/cell/ppu/cell_state_fs.c
ipe/draw/draw_vertex_shader.c
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/gallivm_p.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/llvm/tgsitollvm.cpp
ipe/llvm/tgsitollvm.h
ipe/softpipe/sp_state_fs.c
|
f625c6d1d07e3b285cf966a888aa534f33c36710 |
25-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
add a stub of a lowering pass
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/loweringpass.cpp
ipe/llvm/loweringpass.h
|
479b5e9b5d9e0e387332c6fbeaffffa7612a0c52 |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: include st_cb_drawpixels.h
tate_tracker/st_gen_mipmap.c
|
9f9c3b752a82d216d4655d6dcd07361f66f8a4c8 |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix comment typos
ipe/tgsi/exec/tgsi_exec.c
|
62abcb9aacc33218d0143a743c738435794b32a9 |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: initial implemenation of auto mipmap generation in state tracker Use hardware rendering to compute/render mipmap levels. The fallback path (which will be used for non-renderable texture formats) isn't working yet.
ources
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_gen_mipmap.c
tate_tracker/st_gen_mipmap.h
|
0b64ee6960f9e099bc1a6ca6fa10720fee875b3a |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added inClipCoords param to st_draw_vertices() to indicate coord system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
864abce57d3b81d0f92673472959b71e09c4f245 |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added draw_flush() call in softpipe_bind_sampler_state()
ipe/softpipe/sp_state_sampler.c
|
c3395f4473c8fdf75d04c0dd72e687bc8d8127a7 |
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
ain/dd.h
ain/fbobject.c
ain/mipmap.c
ain/mipmap.h
ain/texstore.c
|
21e9396e650d23084bfeae0d2670b5ffcf731a85 |
08-Feb-2008 |
Jerome Glisse <glisse@freedesktop.org> |
intel_winsys: remove leftover code
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
2b6a31bfda319975b728930f019175611145ebb9 |
08-Feb-2008 |
Jerome Glisse <glisse@freedesktop.org> |
failover: several fixes to failover pipe module
ipe/failover/fo_context.c
ipe/failover/fo_state.c
|
2c9fdaf7292423c157fc79b5ce43f0f199dd753a |
08-Feb-2008 |
Claudio Ciccani <klan@directfb.org> |
[directfb] Added RGB444 and RGB555. Also added color expansion for RGB16, ARGB1555 and ARGB4444.
rivers/directfb/idirectfbgl_mesa.c
|
70908a793b7755c973fe024844185ff9e14924ea |
07-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Flush icache on new batch, not just new context. This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit.
rivers/dri/i965/brw_misc_state.c
|
909c703bfbf7404414befaa0a94b76d78ba3cb4c |
07-Feb-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.
ipe/draw/draw_vertex_shader.c
ipe/tgsi/exec/tgsi_sse2.c
86/rtasm/x86sse.c
|
28ecb986d958d52c9a996453e53418d1f98d7f75 |
07-Feb-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
pipebuffer: Fix reversed assertion.
ipe/pipebuffer/pb_bufmgr_pool.c
|
700a77fb48f364f85e013cf5fb68c04eb83317e7 |
07-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[915] Fix COS function using same plan as SIN. The previous COS function failed badly outside of [-pi/2, pi/2].
rivers/dri/i915/i915_fragprog.c
|
2551a5ee80ab523006618c79766e2409b2a62d84 |
07-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[915] Use a quartic term to improve the accuracy of SIN results. This is described in the link in the comment, and is the same technique that r300 uses.
rivers/dri/i915/i915_fragprog.c
|
d98abcbef0bd4200fc0fd30fc0524bf452df3572 |
06-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[915] Fix fp SIN function, and use a quadratic approximation instead of Taylor. The Taylor series notably fails at producing sin(pi) == 0, which leads to discontinuity every 2*pi. The quadratic gets us sin(pi) == 0 behavior, at the expense of going from 2.4% THD with working Taylor series to 3.8% THD (easily seen on comparative graphs of the two). However, our previous implementation was producing sin(pi) < -1 and worse, so any reasonable approximation is an improvement. This also fixes the repeating behavior, where the previous implementation would repeat sin(x) for x>pi as sin(x % pi) and the opposite for x < -pi.
rivers/dri/i915/i915_fragprog.c
|
c4e0d725dc9f18aed2babed344bb4e42df9e481f |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: silence unused var warnings
ipe/cell/ppu/cell_state_fs.c
|
2ed6604f50bc06cfd44b429f476588381113db9c |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: #include p_debug.h since we use assert
ipe/p_util.h
|
c0235d0a24da82304f7f23936c71032c0a9a7ce1 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use mem_dup()
ipe/cell/ppu/cell_state_blend.c
ipe/cell/ppu/cell_state_sampler.c
|
f12d641ab2bafe20f876dddb90ada76c83732757 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use mem_dup()
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_sampler.c
|
c8af89cf722830ec16d594afd99d717aed71d44c |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added mem_dup()
ipe/p_util.h
|
31c98eafb043cbc82e5de206ceecc5888174b5e6 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: change pipe->texture_create() to operate like the CSO functions Now, pass in a template object and return a new object.
ipe/cell/ppu/cell_texture.c
ipe/cell/ppu/cell_texture.h
ipe/i915simple/i915_texture.c
ipe/i915simple/i915_texture.h
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_tex_layout.h
ipe/p_context.h
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
tate_tracker/st_texture.c
|
f52f5136e6eed23e55098681e5b082cc452136d6 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups in guess_and_alloc_texture()
tate_tracker/st_cb_texture.c
|
2440ff74d69a8caf49b05a960b4c7e282a96565e |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
plug in ctx->Driver.GenerateMipmap function
tate_tracker/st_cb_texture.c
|
4c2f3dbca940f289e67248682b84a3516d5a3031 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Added ctx->Driver.GenerateMipmap() driver hook
rivers/common/driverfuncs.c
ain/dd.h
ain/fbobject.c
ain/texstore.c
|
afc54983370033b65e3a7cbb29bd9c87156f0881 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups
tate_tracker/st_cb_texture.c
|
105b3596be6c0644e3aaa0823ab7e27aa76fa909 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
added comment
tate_tracker/st_atom_texture.c
|
a4fbf096734efca2100aff41e988cce26ced5f6f |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
comments, clean-ups, consts
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
71984d76aae937274f6dd08c24f995d3c0c06357 |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-up
tate_tracker/st_atom_texture.c
|
4650b35846e8e87fb0d74573a5f66452bb449b4b |
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: add bitmap/drawpixels texcoord bias support The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS) to get a bias factor for adjusting the texcoords used in bitmap/drawpixels. This allows us to compensate for small differences in rasterization from one device to another.
ipe/p_defines.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_extensions.c
|
af6b12cc76b40c86f3b144a7f5cd3ef1278863d0 |
06-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Bring latest fixes.
ipe/p_debug.h
ipe/util/p_debug.c
|
9791d7f64c5a58b9c1bf32d00c71e0e031f54f70 |
06-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
ipe/draw/draw_prim.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_state_sampler.c
ipe/i965simple/brw_cc.c
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_eu_debug.c
ipe/i965simple/brw_eu_emit.c
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf_emit.c
ipe/i965simple/brw_state.c
ipe/i965simple/brw_state_cache.c
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_urb.c
ipe/i965simple/brw_vs_emit.c
ipe/i965simple/brw_wm.c
ipe/i965simple/brw_wm_glsl.c
ipe/i965simple/brw_wm_sampler_state.c
ipe/p_compiler.h
ipe/p_format.h
ipe/p_util.h
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_fenced.h
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_tile_cache.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/util/tgsi_build.c
ipe/tgsi/util/tgsi_dump.c
ipe/tgsi/util/tgsi_parse.c
ipe/tgsi/util/tgsi_util.c
|
78bce9c2dcd45d1d8706bb9bab3b3a73943de990 |
06-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add forgotten return type.
ipe/util/p_debug.c
|
a31d289de6091987e6b9da6af1b2e56eb79a96fb |
06-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Cross-platform debugging helpers.
Conscript
ipe/p_debug.h
ipe/util/p_debug.c
ources
|
5e2d0517b1b42c6f94fa69bf4e32a19d00fd519f |
04-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Portability guidelines.
ipe/README.portability
|
e39fccc34c07a015d8713841a69037e32187dd6d |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove accidentally added OPT_FLAGS lines
ipe/cell/spu/Makefile
|
1730f7bad462ac7f29857b8b2347e38c1b6c9820 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: SIMD-ize tri_linear_coeff(), use vector float for vertex attributes in struct vertex_header
ipe/cell/spu/spu_tri.c
|
4da82fd5c5e0a7535e30aa81f08dcbe1a26358b7 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: re-enable inlined vertex buffers Vertex data must be on a 16-byte address/offset so SIMD operations will work properly in the SPU code.
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_render.c
|
2174890ed030bde8494b7f13b7090e27771695fa |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove dummy fields, update/add some comments
ipe/cell/common.h
|
b0974420f4dab55d398f4015cf71a62fa643f713 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added cell_batch_alloc_aligned()
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
|
c0e026c8090954ddb629a01cc1a93c61b2fc8298 |
05-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Bug 14314: assertion failure with with !AIGLX and depth=24 visual.
rivers/dri/intel/intel_regions.c
|
d14d36f9cc5be8b4c827653ee1245be00999357e |
05-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix TTM relocation caching overzealousness. The failure mode that was a available was: reloc 1 -> target_buf exec: PRESUMED_OFFSET wrong, buffer migrates, r1 entry updated. reloc 2 -> target_buf exec: suppose buffer migrates again. PRESUMED_OFFSET wrong. r2 entry updated. reloc 1 -> target_buf exec: suppose buffer doesn't migrate. PRESUMED_OFFSET right. no relocations performed. r1 has stale pointer at original location. Failures were reported with OGLconform's VBO test and SPECviewperf90, though I haven't confirmed that this fixes it.
rivers/dri/intel/intel_bufmgr_ttm.c
|
c9f98142b6a47825c49aea72a79c1be62c2b7d89 |
05-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Use _transpose_matrix4x4 from Cell SDK instead of my own version
ipe/cell/spu/spu_exec.c
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
45f4125fa83c4e43a01d44cb8eb2a4c97b72181f |
05-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Add some debug messages
ipe/cell/spu/spu_vertex_fetch.c
|
e8a80c8627972537c595f06fb28cd383569e7ea0 |
02-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
More semi-trivial vectorization in the shader VM
ipe/cell/spu/spu_exec.c
|
490a7b1c73babd528b6d883471a8636157c5853a |
02-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Vectorize vertex puller
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
8fc2355949b67cd99403c1184ce711a344877375 |
01-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Vectorize all micro ops Fold single instruction micro ops inline. Remove unused micro ops.
ipe/cell/spu/spu_exec.c
ipe/cell/spu/spu_exec.h
|
45b18c51c0f49731cb8fc0144d678da5fa814992 |
05-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Use align_free to free aligned memory.
ipe/draw/draw_context.c
|
89faa648a585a435d8a2ca6d3759891606d36a84 |
05-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: adjust the byte order of clear color. fix #14165
rivers/dri/i965/brw_metaops.c
|
fd776e10b327b6a49b76c5082e4cc48059c6ad2e |
05-Feb-2008 |
Eric Anholt <eric@anholt.net> |
Replace usage of DRM_BO_FLAG_MEM_TT in intel_regions.c with local/cached. In addition to potentially binding when it was about to be mapped anyway, failure to use CACHED_MAPPED means eating a full wbinvd on validate. Thanks to airlied for catching this.
rivers/dri/intel/intel_regions.c
|
5857e988be9317810cf713478195b4ed849eea4a |
02-Feb-2008 |
Eric Anholt <eric@anholt.net> |
Allow first != 0 in mesa CVA handling, and add more error checking.
ain/attrib.c
ain/varray.c
ain/varray.h
|
2abcc512a3ce81bc11ff2b45a2208d3400a2385d |
03-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert brw_draw_upload to managing dri_bos, not gl_buffer_objects. This helps us avoid a bunch of mess with gl_client_arrays that we filled with unused data and confused readers.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vtbl.c
|
0907c639c8509cda4507b28c1399813a09a81c5e |
02-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Remove dead structure in brw_draw_upload.c.
rivers/dri/i965/brw_draw_upload.c
|
7b8892f50482359625e36005c2b460a921ff796c |
22-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Move temporary vbo array storage into the function using it.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
c86ec87830dba86b257ccddc832b746af955eb05 |
22-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Remove dead brw_vertex_element members.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
|
4e13067d0f95b280da3fef2deb7e59466ea73818 |
22-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Add a wrapper around interleaved copy_array_to_vbo_array for profiling. If compiled with optimization, it shouldn't appear at all, and helps me for now.
rivers/dri/i965/brw_draw_upload.c
|
df44fefced61d35c302907cb716fa0f9337ae526 |
22-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Avoid overloaded use of the term 'input' for clarity.
rivers/dri/i965/brw_draw_upload.c
|
931685e243af52271d4cdc0ddc8ea153036dee42 |
22-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Replace VEP/VBP state structures with inline batch emits.
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw_upload.c
|
5db1593c78192b764ad2ef7bdc5182d8ec4aed7c |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fix some alignment issues by aligning commands to 8-byte boundaries Contributed by Ian Romanick. Also, temporarily disable inlined vertex buffers. They need to be 16-byte aligned...
ipe/cell/common.h
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_vbuf.c
ipe/cell/ppu/cell_vertex_shader.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.h
|
684d320ea2e7ec03d01275a544068cc6b45e1e9a |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
ipe/cell/spu/spu_texture.c
|
7cbe5cf212d296c19ccf8e1b74d3a5b1bcb2d9e9 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
ipe/cell/spu/spu_colorpack.h
ipe/cell/spu/spu_ztest.h
|
93d061b217e31d27a1c54e50a14538e94f1404d6 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move float4 typedef (temporary datatype)
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tri.c
|
1a75464cdc12a1e83f1452707cd624c53f808308 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fix small sampling error in sample_texture_bilinear()
ipe/cell/spu/spu_texture.c
|
efa8e03a6f3f7c27b019d20cca93bf7e624d7035 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: texture sampler functions always return vector float now Texture colors look the same now, regardless of X display/pixel format
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
ipe/cell/spu/spu_tri.c
|
5068b573c417bdb317e1938585bebfe931bda049 |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added spu_unpack_A8R8G8B8()
ipe/cell/spu/spu_colorpack.h
|
76c1a10eb121f040ef510124bf6aa24c4c5c3f8f |
05-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fix typo
ipe/cell/spu/spu_main.c
|
bc1ad6bcbd5c63da9c10d0276c9d7535b6139437 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: some basic blending code
ipe/cell/spu/Makefile
ipe/cell/spu/spu_blend.c
ipe/cell/spu/spu_blend.h
ipe/cell/spu/spu_tri.c
|
168247d1caee28ef577ad4c3c4308451f1193062 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: replace float 4 with vector float in eval_coeff()
ipe/cell/spu/spu_tri.c
|
7a1d01f2a0d8f0875a265e7d4e31e1348fd82677 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: emit blend state to SPUs
ipe/cell/common.h
ipe/cell/ppu/cell_state_emit.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
8f924e4df06a5d45dda338e7a0a87308e48df57e |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: choose bilinear vs. nearest filtering according to sampler state
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
ipe/cell/spu/spu_tri.c
|
ca1d2fc5f6fb138025f6848591e3494e4b881930 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: improved bilinear filtering avoid calling get_tex_tile() if all texels are in same tile
ipe/cell/spu/spu_texture.c
|
0a45f7594870cb7296100fb5f5d5dc82888a467d |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: implement basic bilinear texture sampler
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
|
9a5074217fd3be8feff2be597bb124a2a3637d0a |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added spu_unpack_color(), spu_pack_R8G8B8A8()
ipe/cell/spu/spu_colorpack.h
|
703a8691553386242bf3d6662c314fc35b617194 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: SIMD-ize more of texture sampling
ipe/cell/spu/spu_texture.c
|
18105195a86b8294b578462febf47692832e8705 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: checkpoint: start to SIMD-ize texture sampling
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
ipe/cell/spu/spu_tri.c
|
e967a5c746f340a76b27181b4ead1035101cece3 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move tile clear code to flush_spans()
ipe/cell/spu/spu_tri.c
|
6023311c7ce336f727d7aa6d5266e88a55b88d36 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: clamp txmax, tymax in tile_bounding_box() Also, added some debug printfs
ipe/cell/spu/spu_render.c
|
69cc19751dd0122116cab03d808d5a1f5d0ade84 |
04-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: insert some draw_flush() calls
ipe/cell/ppu/cell_state_blend.c
|
4dfcb09960e4775b5ca2038b7cc608f7720cec20 |
04-Feb-2008 |
Dave Airlie <airlied@redhat.com> |
r300: fix isosurf on rs690
rivers/dri/r300/r300_state.c
|
e36857d841c0c973abb8536a20e7d5a7e01223d3 |
03-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix potential NULL pointer dereference. The third region isn't created at all for 965
rivers/dri/intel/intel_context.c
|
30c9d96ebf038864485139064c47aeb0d0319598 |
02-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix indentation.
rivers/dri/i965/brw_state_upload.c
|
f85d34e425b14982cec6db9c7f5e91ea8d23ee30 |
01-Feb-2008 |
Eric Anholt <eric@anholt.net> |
Revert "intel: don't apply the relocation optimization if a target" This reverts commit e2cb905bc6e23eaafaeeb2abdc9480e70959ee3f. It was a reversion of an optimization hidden as otherwise. pre_target_buf_handle was always NULL, so the optimization was never enabled, rather than fixing the important optimization (resulting in 25-50% performance loss).
rivers/dri/intel/intel_bufmgr_ttm.c
|
7eca6be25f31cbbe5b72a70bf6b1e17c0e6df34d |
01-Feb-2008 |
Eric Anholt <eric@anholt.net> |
[965] Replace XXX comment about constant swizzle with an assert.
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm_fp.c
|
61760105df37c5a025150fedf6e2a51c738110e0 |
28-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix some indentation in brw_vs_tnl.c.
rivers/dri/i965/brw_vs_tnl.c
|
aa761b160520479efcf09d12ae4a161fc2f872f7 |
02-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: comment about emit_quad() mask
ipe/cell/spu/spu_tri.c
|
44d32693562e2fb83572bd10e4d489a7cb6f74f3 |
02-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move some tile get/clear code Also, we weren't marking the ztile as dirty after ztesting, fixes gears glitches.
ipe/cell/spu/spu_tri.c
|
8bd566a9cb8bb01ef5ce9c526047bafc0fbf0aef |
02-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use global color_shuffle to remove a switch stmnt
ipe/cell/spu/Makefile
ipe/cell/spu/spu_colorpack.h
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tri.c
|
d7c2eb0df47bd79291172727539b99331a3c6724 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: New color packing functions (A8R8G8B8 and B8G8R8A8)
ipe/cell/spu/spu_colorpack.h
ipe/cell/spu/spu_tri.c
|
42201d7574ebb1582563988820c248680081c42f |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: rename/move global vars Put tile-related globals into spu_global struct. Rename c/ztile fields to be more consistant.
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_render.c
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
17305489f0d2a0681d4c0d4952957af517019ab6 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: deprecate some use of struct cell_command - it should go away completely Also, remove ALIGN16_ATTRIB from structs that no longer need it.
ipe/cell/common.h
|
b1a472bfb7df5ba273574e1799c5b8e85ca5f2d9 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove commands from top-level while loop which should only appear in batch buffers
ipe/cell/spu/spu_main.c
|
0e9a370ae2fa7a6d8bbc7d236e63dae1e3dcac37 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move ztest before color interp/packing
ipe/cell/spu/spu_tri.c
|
c392cc8f1bcaaecc2cc723fc5550e5f6462602f3 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: rename fields of the tile_t union
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
59be082909de6021ec7d08476253bd4c9920e137 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: implement Z16 and Z32 testing with SIMD instructions.
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
ipe/cell/spu/spu_ztest.h
|
b108bea6b44c1abc6d61e3e47096e5122de89cd1 |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: store current tile status in cur_tile_status_c/z, add TILE_STATUS_GETTING
ipe/cell/spu/spu_render.c
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
ipe/cell/spu/spu_tri.h
|
ca8d91610f547b9c66f703e07356f6347a121516 |
01-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: re-define NEED_SECONDARY_COLOR. fix #14310.
ain/context.h
|
746db75cfbdd760cb19d2dfd18b628aeb2fc3054 |
01-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[intel] fix for previous fix
rivers/dri/intel/intel_tex_image.c
|
a9a483b43ec090408148d069bc184c0a21323654 |
01-Feb-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[intel] use _mesa_copy_rect for upload compressed texture, this fix bad texture issue in some games(UT and quake).
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
|
71f53a22d048b4d972c88a2ed49aa3bc4ff76a21 |
01-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Don't emit state if fall back to software rendering. fix #14116
rivers/dri/i965/brw_state_upload.c
|
20df285b14bc655d5429c7d2b82446204f9a1f2e |
01-Feb-2008 |
Ian Romanick <idr@us.ibm.com> |
Fix using "ccache ppu-gcc" for CC and fix parallel builds CC wasn't quoted in a couple places in src/mesa/Makefile. Also, the OSMesa link was missing a dependency.
akefile
|
635341ec5b06b3db453e88f44663d2ad711c3f7d |
01-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix typo
ipe/p_shader_tokens.h
|
633e1133aeed04df650b97c8d25a041014fd6f5e |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix problem in which texcoords and varying vars got mapped to the same slot This fixes the glsl/bump.c and glsl/texdemo1.c programs
tate_tracker/st_program.c
|
86787043fae59869133180474cb09dac4f2e619a |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem in mapping vertex program outputs (found with "spring" game engine) If the vertex program writes to an output that's not consumed by the fragment program, map the vp output to an unused slot.
tate_tracker/st_atom_shader.c
|
acb81374c1d476ebffbcfc8405db7fff6cc6d6c3 |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: comments about fragment Z computation
ipe/softpipe/sp_quad_fs.c
|
9536314a6c99d0acc249180034865b5cfb927e9d |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0
ipe/softpipe/sp_clear.c
|
c36cdc61561fee21108f0a68ca661f0d8c7f5d94 |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix get/put typo regression This came from commit f3aa4de034b0d791ce2e38e8aeb3b3abdb4e3b50 on 1/22/08. Fixes strange Z buffer glitches seen in progs/glsl/texdemo1.c
ipe/softpipe/sp_tile_cache.c
|
cd53eb0db19daf1c9aac94011a54e902eb10fe75 |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: SIMD-ize const_coeff()
ipe/cell/spu/spu_tri.c
|
256486829f0bc2be7a986a6bdc08df5fc16b77d8 |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: set GALLIUM_CELL_VS env var to enable SPU-based vertex transformation
ipe/cell/ppu/cell_context.c
|
e82c9b867cc18af5da7375871a685f98d1c1527d |
31-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
tgsi: Use ESI instead of EBX as temp reg on non-win32
ipe/tgsi/exec/tgsi_sse2.c
|
3158e981f5f37768e9b04765704b9eaece8b899b |
31-Jan-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
[i965] renable regative rhw test
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_vs_emit.c
|
e2cb905bc6e23eaafaeeb2abdc9480e70959ee3f |
31-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: don't apply the relocation optimization if a target buffer is used for a relocatee in the former relocation process then another target buffer is used for this relocatee at the same offset in the current relocation process.
rivers/dri/intel/intel_bufmgr_ttm.c
|
50d5f304ad9eba8fe95a6cedfc56cd7213b33fea |
31-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Portability fixes.
ipe/pipebuffer/pb_bufmgr_mm.c
|
c42e6254cffb8ef480868e9c1942f73129fc4f80 |
31-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add SCons as alternative build system for Gallium.
Conscript
rivers/dri/SConscript
rivers/dri/intel_winsys/SConscript
ipe/SConscript
ipe/i915simple/SConscript
ipe/i965simple/SConscript
ipe/softpipe/SConscript
|
62d11b98c4a4904b56fab153407f49619d6d331d |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
I don't know why using uint64_t for "base" doesn't work. Ugh.
ipe/cell/common.h
ipe/cell/spu/spu_main.c
|
5a6fd9393021b9476273b7831bcda2186c9324a1 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Use SPUs for vertex shader processing
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_vertex_shader.c
|
a89ee8a96db1ac7674a5ae82e518ce5c380d9195 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Add driver_private field for drivers that hook shader_queue_flush.
ipe/draw/draw_private.h
|
9ad986b88763f6baefa73830dcd5762156ab9b20 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Numerous small fixed to PPU-SPU vertex shader protocol
ipe/cell/common.h
ipe/cell/spu/spu_vertex_shader.c
|
de949a471ed66f0e6db0819bf55b2ec74b7e4048 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
cell_array_info should not be 16-byte aligned Forcing cell_array_info to be 16-byte aligned makes it more difficult to stuff that state in batch commands.
ipe/cell/common.h
|
10270fbe2d362fe8f27384b9a5423381e2882460 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Correctly read / write vertex header from / to main memory
ipe/cell/spu/spu_vertex_shader.c
|
193491cbd3ad2ad95243181c201da4640f3a29c2 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Handle CELL_CMD_VS_EXECUTE *only* outside batch commands.
ipe/cell/common.h
ipe/cell/spu/spu_main.c
|
fb348c2cb16d0bc216d29889474972d5c14d0980 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Set machine->Processor The default value is 0, which is TGSI_PROCESSOR_FRAGMENT...not correct for a vertex shader!
ipe/cell/spu/spu_vertex_shader.c
|
137cb72284a115d8f5ffadf2154b6f5eb5323a7d |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Elts are always ints, pass vOut pointers in-line in command
ipe/cell/common.h
ipe/cell/spu/spu_vertex_shader.c
|
334986114665df650649634b63184be6f1b9cd9b |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Implement micro_pow and micro_sqrt Unimplemented micro ops get assertions for now.
ipe/cell/spu/spu_exec.c
|
7b27d9fd660c122fb2ec50007129d67e78814587 |
31-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Fix size calculation in attribute fetch.
ipe/cell/spu/spu_vertex_fetch.c
|
708d699e0cebb2dfbca7b6639ee5b177dc8c4c61 |
30-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Fetch uniforms from main memory.
ipe/cell/spu/spu_exec.c
|
a0a707342a353024271f09cd52bd955d8df310a8 |
30-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Missing amperstand in previous commit. Oops.
ipe/cell/spu/spu_exec.c
|
fcf944177325cdf8bf6e4f1b70296c19476e2375 |
30-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Pass ptr to local memory copy instead of main memory to exec_instruction This was essentially a cut-and-paste bug when the instruction fetcher was added. Also, the test for TGSI_PROCESSOR_FRAGMENT was moved outside the loop for exec_declaration.
ipe/cell/spu/spu_exec.c
|
3d13605ee5fc92a1e3d82f1dbbcb8342066d8af0 |
29-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Provide mechanism to hook in custom vertex shader cache flush function
ipe/draw/draw_context.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
|
13eec106881b846538bef13d694c9d2d9cf1ae6b |
29-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Implement vertex fetch / vertex shader output write-back
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.c
ipe/draw/draw_context.c
|
33cac4824195337d9cf3dfda3fc1147c429ae43c |
29-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Initial pass at instruction / declaration fetch
ipe/cell/spu/spu_exec.c
ipe/cell/spu/spu_main.h
|
524bba17a75cee597f588da9c19f25d758aa237b |
29-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Initial pass at vertex shader on SPU using TGSI VM All of the code is wired in on the SPU side, but it is not called from the PPU yet. Instruction / declaration fetch still needs to be implemented in spu_exec.c.
ipe/cell/common.h
ipe/cell/spu/Makefile
ipe/cell/spu/spu_exec.c
ipe/cell/spu/spu_exec.h
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_util.c
ipe/cell/spu/spu_vertex_fetch.c
ipe/cell/spu/spu_vertex_shader.c
ipe/cell/spu/spu_vertex_shader.h
|
8fb73a59939ac9ec1e41abf89a4a8c8dde09b8df |
31-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: prototype SIMD code for z testing
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
01f59153b5f5a9426fece14b3f691e46be0a0111 |
31-Jan-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
regenerate glsl library functions
hader/slang/library/slang_common_builtin_gc.h
|
4cc06635641bd41c1b4ae4c3786913d54a135cdd |
31-Jan-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix w component of glsl vec4 asin
hader/slang/library/slang_common_builtin.gc
|
24f0e54c1b9ff43dcb75758c8e0faba355c0617c |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: start to SIMD-ize triangle attribute interpolation Using the spu_add(), etc intrinsics. About a 15% speed-up with some tests.
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
ipe/cell/spu/spu_tri.c
|
7b149449df3a7de62f79eb96d5b722cc9d3b5912 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fold setup_tri() into tri_draw()
ipe/cell/spu/spu_tri.c
|
022bf6dfa1ef1c18f0439553e39e473b678848e2 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: make 'setup' a regular var instead of passing around a pointer everywhere We'll never have more than one of these objects. Avoiding pointer deref improves performance a bit.
ipe/cell/spu/spu_tri.c
|
dcf41a0eed71a67060b4efa9ab4befc86eafc177 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: minor code refactoring, movement
ipe/cell/spu/spu_render.c
|
0d3f60ec64965a07ef26b551436f0d768154e4d3 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: check tile status before wait_on_mask()
ipe/cell/spu/spu_tri.c
|
41bdf4cf4c924e4c04c62dc144584cf7ead3cf44 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: make wait_on_mask() static/inlined
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
da6eac242d9b79ad77389b6ab579804bc0261005 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move CELL_MAX_SPUS
ipe/cell/common.h
ipe/cell/ppu/cell_context.h
|
2f7c80495250612c88adaa479f7335583dbc3ba2 |
30-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
check if fb->Delete is null (bugs 13507,14293)
ain/context.c
|
eb0e0d38eae02df17e2c11503dc047718c1244ad |
30-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Teach draw_vf about draw vertices. This reduces the emit overhead, which is significant since we're emiting one vertex at a time.
ipe/draw/draw_vbuf.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
|
ed0327980a73947cab0ae619cdcfa7455259bff2 |
30-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Remove draw_vertex_fetch::lookup. It is not being used, and would be dangerous to use given the possibility of constants.
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
|
17ef840af40c9228ee0f4f7453bc00e318d9e6c4 |
29-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on WinXP.
ipe/draw/draw_clip.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf_generic.c
ipe/pipebuffer/pb_buffer_fenced.c
|
7f2713a29ff46a608de0feac2f56f034dbc738cb |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use _pack_rgba8() from pack_rgba8.h to do float[4]->uint color conversion texcyl.c is twice as fast now in non-texture mode
ipe/cell/spu/spu_tri.c
|
1aaed3856878a39beb5aab0402d2adb8b277e812 |
29-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: weaken assert slightly
ipe/draw/draw_vf.c
|
80efe27560134510dce88a52729e5a3d93e8e275 |
29-Jan-2008 |
Alex Deucher <alex@cube.(none)> |
Add new RV380 pci id bug 14289
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
c81848210e744650724a63fbf5a5795fa4e019c5 |
29-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: streamline various unfilled & stippled paths
ipe/draw/draw_prim.c
|
c185c55aec8c6d0e47a2d7b84acf7d063acfce61 |
29-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: don't rely on assert(0) for error handling - may be disabled
tate_tracker/st_draw.c
|
f94425b316b57ad19ce067a449b20ebee50064f9 |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Emit point size as a constant.
ipe/draw/draw_vbuf.c
|
5022344c656c0e004222a0a77c98838e8ae0a1ac |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Emit constants.
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
|
6f75de06ff2ea899b43b94236dbfbfaee12ba88c |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Allow draw_vf usage to be controlled at runtime.
ipe/draw/draw_vbuf.c
|
3d3f7cf06e4ac25aeb604703cb8113db9fd2f8eb |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add extern keyword to global.
ipe/draw/draw_vf.h
|
8e444fb9e2685e3eac42beb848b08e91dc20c88a |
29-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: new integrated graphics chipset support
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_decode.c
|
64935c875128d2d1254b6b39ced72b9848d477fe |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move cmd_render() into new spu_render.c file
ipe/cell/spu/Makefile
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_render.c
ipe/cell/spu/spu_render.h
|
4bede9219be1f93844c5897216c6674b46a23a88 |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: add a few null texture tests
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_texture.c
|
e2406b47883d74933e74507af65695c8c7d7861a |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: compute min index referenced in draw command, use it to reduce size of vertex data payload
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
|
25105276b38451439516928d188e07f2eb3e250e |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: minor optimization for flat shading
ipe/cell/spu/spu_tri.c
|
425f270fcbfdbfce98adaf9da4b8eb7360f34447 |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: basic texture mapping Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works.
ipe/cell/common.h
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_state_sampler.c
ipe/cell/ppu/cell_texture.c
ipe/cell/ppu/cell_texture.h
ipe/cell/spu/Makefile
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tri.c
|
c2372cc7481bf3985a6a3126952ab9d5dab4bf77 |
29-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial texture cache/sampling code
ipe/cell/spu/spu_texture.c
ipe/cell/spu/spu_texture.h
|
41899c70a72cd6206acec6c4c41953fea17d4ecf |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: emit state in cell_clear_surface() if dirty. Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state.
ipe/cell/ppu/cell_clear.c
|
043fc00a60377f8cd1878e0d0e5157dfb4567289 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: re-enable bounding boxes The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug.
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
|
1cc0b0dda7eaf6bdf891d6915b36e7b2ff41133c |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use GALLIUM_ prefix for env vars.
ipe/draw/draw_vf.c
|
93d727eea75812ecb21706804033a33d2e761eb8 |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use CALLOC for pb_buffer to ensure that all fields of pipe_buffer are initiallized.
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
f3d0882c0218612a91a6feac91d23b34f6447d8e |
29-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Remove direct dependencies to mesa internals. _mesa_exec_free is still being called. More invasive refactoring is necessary to clean it out.
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
|
1e2d6b1b82aaa8bc57535e56c5e6eac9387e22e6 |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove dead vars, code
ipe/draw/draw_vf_sse.c
|
c50ba44095ceef6395727769663ed46c63a1a514 |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix typos in hardwired fetch path
ipe/draw/draw_vertex_fetch.c
|
3d1b0f4c57edaf5707e4952617dcd6c57dfbdc65 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: additional assertions
ipe/cell/spu/spu_main.c
|
a8590e097e965c01ede7df47ff752b0e7adabace |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: make sure state commands aren't split across batches
ipe/cell/ppu/cell_state_emit.c
|
3f8a8eada693c9501b3e52d47986e46028c172b0 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove unneeded flush(), dead code
ipe/cell/ppu/cell_clear.c
|
5b5ec94663d566b4840975c4ef4740abb138bb12 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: clean-up of render path Finally removed a number of unneeded flush commands. Vertex buffers are allocated from the general buffer pool, freed by SPUs when done. Still an occasional failed assertion (invalid batch buffer command)...
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
7024019d4e6e2a1618e910a127bea8c3b7661a54 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: checkpoint commit: always inline prim indexes into batch buffer Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place...
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
200dcb4760960f0d9c74a7053de63337e93dd85b |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: If flushing for swapbuffers, wait for frame completion
ipe/cell/ppu/cell_flush.c
|
aaea9a121bc739db87e539214c23f76d4cd5bf49 |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: additional debug code, misc clean-up
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
|
2194675196260c0a5d44242d698b85c86f84074b |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: generalize the batch buffer code for vertex buffers...
ipe/cell/common.h
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_spu.c
ipe/cell/spu/spu_main.c
|
16ed55c6412d2bdc5bff78e99114490223fb4afe |
28-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: check if surface has defined status in check_clear_depth_with_quad() This was part of Keith's patch from Friday.
tate_tracker/st_cb_clear.c
|
82d9063708539d53c7670b2ab732bed24230b94d |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: handle flatshading explicitly in clipper stage We can do a better job in the clip stage than just relying on the brute-force approach of copying colors to all incoming vertices applied in the flatshade stage. At very least, it is only necessary to do this in the clipper when a primitive is actually being clipped.
ipe/draw/draw_clip.c
ipe/draw/draw_validate.c
|
88858e046888d0bcb763537adc74a64e564678df |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add a couple of hardwired vertex fetch functions
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
|
99f297651198c3424aab202595064d6f5596b2fc |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: only call vertex/prim queue flush when there is something to flush
ipe/draw/draw_prim.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
|
a46181044fd5573895180ee5f1a016c4c1e4a653 |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: explictly cast double to float in vertex fetch
ipe/draw/draw_vertex_fetch.c
|
4141ebdf59cddbb412b388c7f38f50e5e80c49d2 |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fill in missing formats for vertex_fetch
ipe/draw/draw_vertex_fetch.c
|
5abc8d9e23b1b8cde9c4183b73bfced3d4f01c87 |
28-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove dead code from draw_vf*
ipe/draw/Makefile
ipe/draw/draw_vbuf.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
|
09059259bed779360158664625e41a67f7496a74 |
28-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
First stab at hooking draw_vbuf & vf. Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow).
ipe/draw/draw_vbuf.c
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
|
19caf4e4f0eae82ff5f36e5bc99463b6677467e6 |
28-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Clone vf module.
ipe/draw/draw_vf.c
ipe/draw/draw_vf.h
ipe/draw/draw_vf_generic.c
ipe/draw/draw_vf_sse.c
ources
|
c3f10aef386e0af90f8735d8b9598959c17a590f |
28-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Simplify prototypes of draw_vbuf's internal functions.
ipe/draw/draw_vbuf.c
|
3b93c74a8d6e36039b79ddf38c11e27aa0bd3b9b |
28-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Cache the vinfo in vbuf_stage.
ipe/draw/draw_vbuf.c
|
dac124081d4bbc9d7527661e4a96aa78077b9f52 |
27-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Do refcounting trhoughout all buffer objects, since it is now a base requirement.
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
e6c8278c04518b8b8b0960a9e21b48b6816fcc20 |
27-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions.
ipe/pipebuffer/Makefile
ipe/pipebuffer/pb_buffer.c
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_client.c
ipe/pipebuffer/pb_winsys.c
|
87a8a339d7c8973168ffb5e5506f7ec4b3a524ba |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added support for inlined vertex buffers. Small prims are now self-contained in batch buffers when space allows.
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
|
419a5cca34d931e61587eaeb8d32a44b415c43ad |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added ROUNUP4
ipe/cell/common.h
|
3bfef648000e544a3505feea5bda7aa9f184f304 |
26-Jan-2008 |
Dave Airlie <airlied@linux.ie> |
r300: add initial rs690 support to Mesa The rs690 has an rs4xx style vertex-shader less 3D engine. It uses the new r500 output engine though. It also needs a new drm with rs690 support, which is just getting cleaned up.
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
1bab5bd24e09b6e11cd99f989bb00c587119aed2 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added support for inlined indexes If there's room in the batch buffer after the rendering command to accomodate the indexes, put them there rather than in a separate buffer.
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
|
8dc597290813f58e2f2b7ddcb4ad762ea379c1f7 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added cell_batch_free_space()
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
|
651e8e9a73b4f0c3424a78b978f710d098f47ae2 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices()
ipe/draw/draw_vbuf.c
|
b717de3238a028a3fdfbaf13eb02dbde262f03e7 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove some old tile code
ipe/cell/ppu/cell_surface.c
|
ffeae750314b918839c118896a645d4f4f15d230 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: s/GLuint/unsigned/ to work with gallium when THREADS not defined
lapi/glthread.h
|
9ef61b98087603617702043c07633282148883e3 |
27-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix a few segfaults/assertions that can happen during context init
ipe/draw/draw_vertex_fetch.c
|
856db7dee69083733a1d6e02a33bec4189387f60 |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fix a recursive flushing bug
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_flush.h
ipe/cell/ppu/cell_vbuf.c
|
d4bd6ca8162be0684e4bff06a17b9dea1a02d217 |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: add check to catch recursive batch flushing
ipe/cell/ppu/cell_batch.c
|
7f4bec264e8180609846379da6f63555fc2eafef |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move ASSERT macro into common.h
ipe/cell/common.h
ipe/cell/spu/spu_main.h
|
65df0241465b2dae4979d71cad17b83cfd1fda11 |
17-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Aggregate all buffer allocation info into a single struct. Obey requested alignment.
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_bufmgr.h
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
ca01ed45e8dee7970c6eefb528b7576ce6717459 |
25-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Make mm buffer manager more portable.
ipe/pipebuffer/pb_bufmgr_mm.c
|
0afe449bfc568c4bc6fa69afa5de6edae93b27a9 |
25-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Remove unneeded headers.
ipe/pipebuffer/pb_bufmgr_pool.c
|
8ee1452e184e030eb7cc865a7828c8a5ea08d6f7 |
24-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix linux build
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
9387784fbf22495898abe3dc41cfcd42397792cd |
23-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on Windows.
ipe/pipebuffer/pb_buffer_client.c
ipe/pipebuffer/pb_buffer_malloc.c
|
0fe428f1dfafe6bfb8896e0a08cbe12d569497d7 |
23-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
d3d: Fix build on Windows.
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
b8dc2956df0f534924fc45287cccc04499e70959 |
20-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on WinXP.
ipe/pipebuffer/pb_buffer_client.c
ipe/pipebuffer/pb_buffer_malloc.c
|
1d6c98651f73b2f110d26c906c6626d5b750d38b |
21-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use directory name in include.
ipe/pipebuffer/pb_buffer.h
|
6c3d12e374939d36a23af7c9c502de18ce02f423 |
20-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build for WinXP.
ipe/p_thread.h
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
7411a84c2bd6f4dd4f027c6c6a647822cbb4c061 |
25-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Define MALLOC_STRUCT.
ipe/p_util.h
|
9cbff50cb8d8c727bb0da1c60813fffe66f390e7 |
24-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on Windows.
ipe/softpipe/sp_prim_setup.c
|
337ebdd8f987a76579498d84bdea76a3ee819fcf |
24-Jan-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on Windows.
ipe/draw/draw_vertex_fetch.c
|
027983f5850afea753381be454122166c6d56777 |
24-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: restructure vertex fetch code slightly
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
|
c3e4e9260d7527bb0369650b861cba43834f7106 |
24-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Fix MSVC float/double conversion warning.
ipe/draw/draw_wide_prims.c
|
2bca9f6457d8f766ef12891657fc2d10ea72ef54 |
24-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Complete integer types.
ipe/p_compiler.h
|
f3aa4de034b0d791ce2e38e8aeb3b3abdb4e3b50 |
22-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: minor cleanups to pipe interface - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
ipe/failover/fo_context.c
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
ipe/p_context.h
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tile_cache.c
ipe/util/p_tile.c
tate_tracker/st_texture.c
|
1e9e4341e08a45c93e7caa90c2cca844469f4629 |
21-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add PIPE_FLUSH_SWAPBUFFERS flag
ipe/p_defines.h
|
6d2d41294ce7de78d56051261bb4fc345517bf9b |
21-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add notify_swapbuffers_complete, use it to set surfaces to undefined state
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
596a92ee7590cd3819aad0139cf779d28e57874d |
21-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: specialize glFlush vs other flush semantics
tate_tracker/st_cb_flush.c
tate_tracker/st_framebuffer.c
|
a97b3f64b36aa8d5905a7ed8b7c9f00324661060 |
18-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove makefile whitespace
ipe/pipebuffer/Makefile
|
0b958e3b7c34ffdd63fb1cd1b4c9084640ed9a78 |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: updates to match pipe_buffer changes
ipe/cell/ppu/cell_draw_arrays.c
ipe/cell/ppu/cell_state_fs.c
ipe/cell/ppu/cell_texture.c
|
b5618330c64d8bdb260c258e0b47c8047ce41112 |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: typedefs need semicolons, Ian :)
ipe/cell/spu/spu_main.c
|
4d534124e77109a0405bf68dc3fa1a370f5ea014 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: emit framebuffer state like other state Plus misc clean-up. Window resize sometimes works now.
ipe/cell/common.h
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/spu/spu_main.c
|
42d38ac02fff63406cd59914a3eb1e5ad27134d0 |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace loop w/ memset in draw_vertex_cache_invalidate()
ipe/draw/draw_vertex_cache.c
|
1603a33fb276d7e78a2e872dfa05aa0093d1329a |
26-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: better flush logic in draw module This is the other half of Keith's draw/flush patch. There are now 5 flush flags to control what's flushed (post-xform vertex cache, prim cache, vbuf, etc). The gears slow-down in this part of the patch was due to the cull stage not getting invoked. It was unconditional before, but is now gated by 'need_det'. But it also needs to be gated by draw->rasterizer->cull_mode. Gears uses back-face culling.
ipe/draw/draw_context.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_validate.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_shader.c
|
0bfd085e2866fbbd40209dcee23f0e6240583fe8 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace prim pipeline begin/end() functions with flush() This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch.
ipe/cell/ppu/cell_draw_arrays.c
ipe/draw/draw_clip.c
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_stipple.c
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_validate.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_wide_prims.c
ipe/i915simple/i915_prim_emit.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_rasterpos.c
|
bd8bf60b6f2402895e7159a4df644f8a4a307cf5 |
25-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Work around parameter differences for main in different SDK versions
ipe/cell/spu/spu_main.c
|
1e0d30a515e4cac891b6c590f12a33e0e8a8e295 |
25-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface.
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/x11/xm_winsys.c
ipe/cell/ppu/cell_draw_arrays.c
ipe/cell/ppu/cell_draw_arrays.h
ipe/cell/ppu/cell_texture.h
ipe/failover/fo_context.c
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_blit.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_texture.c
ipe/i915simple/i915_winsys.h
ipe/i965simple/brw_blit.c
ipe/i965simple/brw_blit.h
ipe/i965simple/brw_context.h
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw.h
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_surface.c
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_winsys.h
ipe/i965simple/brw_wm_surface_state.c
ipe/p_context.h
ipe/p_inlines.h
ipe/p_state.h
ipe/p_winsys.h
ipe/pipebuffer/Makefile
ipe/pipebuffer/pb_buffer.c
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_client.c
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_fenced.h
ipe/pipebuffer/pb_buffer_handle.c
ipe/pipebuffer/pb_buffer_handle.h
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_buffer_null.c
ipe/pipebuffer/pb_bufmgr.h
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
ipe/xlib/xm_winsys.c
ipe/xlib/xm_winsys_aub.c
ipe/xlib/xm_winsys_aub.h
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
756d52ec12c41ee90ee9598dc9028cc134806bd2 |
25-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Simplify winsys buffer interface. The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_texture.c
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_tex_layout.c
ipe/p_defines.h
ipe/p_inlines.h
ipe/p_winsys.h
ipe/pipebuffer/pb_buffer_handle.c
ipe/pipebuffer/pb_buffer_handle.h
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_texture.c
ipe/xlib/xm_winsys.c
ipe/xlib/xm_winsys_aub.c
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
7a207682aafc05c62cbc5851cc6c98c43aa3d9bd |
10-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: add asserts to catch batch overrun
ipe/i965simple/brw_batch.h
ipe/i965simple/brw_winsys.h
ipe/xlib/xm_winsys_aub.c
|
59d66bf9df3a6b964f177a8aff286cac63476add |
10-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: cope better with range decls for temps, immediates, etc
ipe/i965simple/brw_vs_emit.c
|
c344bda34dcbc1731573edc94de0c20549557adf |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: include p_state.h, replace PIPE_MAX_SHADER_OUTPUTS with PIPE_MAX_SHADER_INPUTS
ipe/draw/draw_vertex.h
|
235da629dceb23bfddea1eadfcf771d2794d6119 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: propogate vertex info to SPUs, use it for attrib interpolation
ipe/cell/common.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_derived.c
ipe/cell/ppu/cell_state_emit.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tri.c
|
4c4f691069411c77b33a6bfca64766f861cbc823 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: batch_buffer_size should be uint, not ubyte
ipe/cell/ppu/cell_context.h
|
78bff07f73a546363b737b33958311efa7b3ce53 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: new ROUNDUP16() macro
ipe/cell/common.h
ipe/cell/spu/spu_main.c
|
a148cc51fbe56266199057cfde2abb2b59eb8713 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: optimizations to flatshade, two-side prim stages
ipe/draw/draw_flatshade.c
ipe/draw/draw_twoside.c
|
48355538a65fe9c0be234c61080edd70f6a86736 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added rastpos_destroy()
tate_tracker/st_cb_rasterpos.c
|
da60fd1291c9ab3bd898c80d9583d2041df6d0b7 |
25-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: valid message length includes message header.
rivers/dri/i965/brw_clip_util.c
|
fc81f428176c8914fd2ea8691390c9171a125618 |
25-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: re-define the type of reg.loopcount. avoid some issues such that 1 + (-2) gets a big positive value.
rivers/dri/i965/brw_clip_tri.c
|
547e52f4a04f39d5a96bf5b1ebe97c83b9219dab |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: insert dummy field into cell_command_render struct to work around apparent compiler bug Without this dummy field, it seems the SPU code in cmd_render() gets a bogus value when dereferencing render->num_indices, sometimes. This showed up as missing tries in gears.c in the first frame rendered. Using spu-gcc version 4.1.1, Cell SDK 2.1
ipe/cell/common.h
|
fa82d863684a89ff8c56c3b0196488c15024f743 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: send actual vertex size in the render command
ipe/cell/common.h
ipe/cell/ppu/cell_render.c
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/spu_main.c
|
0673c571c79d00d05328bf41e9c6a52bfb0f7324 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: rewrite compute_vertex_layout()
ipe/cell/ppu/cell_state_derived.c
|
95ff06d610b976dbd88f78a0d209916c463dda91 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: fix asst. warnings
ipe/cell/ppu/cell_batch.h
ipe/cell/ppu/cell_clear.c
ipe/cell/ppu/cell_clear.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_flush.c
|
c753e7adde9a7a2c8ff772fe8e2a42084c5966e0 |
25-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added rastpos_destroy()
tate_tracker/st_cb_rasterpos.c
|
f0310f76363712dcd6c5b89373330aef50b07efb |
24-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Bufmgr cleanup from intel-batchbuffer branch of 2d driver.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/intel/intel_bufmgr_ttm.c
|
5f0d76204df30de7af9608cf21ddc3cf50eff7b1 |
24-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Clean up comments/dead code from relocation buffer change.
rivers/dri/intel/intel_bufmgr_ttm.c
|
6c29be9f41470b22c87ef571e10b5a9824800608 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs proper handling...
ipe/i915simple/i915_fpc_translate.c
|
47b3afc53f25b1374afe38664c90404bce42ec22 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use Cell driver by default if linux-cell is built To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
ipe/xlib/xm_winsys.c
|
6e2c3b3a494f7dd44e7718ee1c006848cd835100 |
24-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
disable usage of llvm in fragment shaders it produces wrong results because it hasn't been adjusted to some new changes and it will just be in the way while changing llvm code to a different vector layout
ipe/softpipe/sp_quad_fs.c
|
bac991d6452a12a9c6cb85293a17448540761ca7 |
24-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
change the name of the shaders to reflect what they do. remove stale code and do some general cleanups.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/Makefile
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvm_entry.c
|
11349b6a5f648bbad8765bf744a8e42b0f5e5f50 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: s/FORMAT/EMIT/
ipe/cell/ppu/cell_state_derived.c
|
2549d79ae5342a2b97c06e3b0db9da6eb7821d2e |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex as-is in vbuf code
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
|
6000dcc973cdc1bd61621b432aed27d21059ae5d |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: improved vertex layout and interpolant setup in softpipe
ipe/draw/draw_vertex.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_state_derived.c
|
a018abd446dc454b6950de8701dc44c5170e5933 |
24-Jan-2008 |
Dave Airlie <airlied@redhat.com> |
i915: move to using copy from user for relocations
rivers/dri/intel/intel_bufmgr_ttm.c
|
dc1abc393206c3eb00e7cca60ce3499c993bc1f6 |
04-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Specify linker instead of letting mklib use gcc This is the final bit required to get Cell builds on x86 working. Without this, mklib tries to link using the x86 gcc instead of ppu32-gcc.
akefile
|
b3492a2052a8877739ddf430922ed48ae30d84da |
04-Jan-2008 |
Ian Romanick <idr@us.ibm.com> |
Use HOST_CC for programs that will run on the build host
86/Makefile
|
f5d2c1eef943bcd1c4c42dcb2b2634cdf6e243e0 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove old test code
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
|
f19b2d72214fe4354d1e123ebe892255a11525c3 |
24-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: asst. updates to sync up with today's earlier gallium changes
ipe/cell/ppu/cell_clear.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_state_derived.c
ipe/cell/ppu/cell_state_surface.c
|
8de2331e432e2ea6f978acb6c80666da99c6c4a1 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove support for separate depth/stencil buffers. Always combined now.
ipe/i915simple/i915_state_emit.c
ipe/i965simple/brw_misc_state.c
ipe/p_state.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state_surface.c
ipe/xlib/fakeglx.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_drawpixels.c
|
1cf3c77e086d3f8b01921aae9b7309aa62b3d15e |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes progs/redbook/stencil.c
ipe/softpipe/sp_tile_cache.c
|
336e2cb9ec52e5cf8b2fac3142d5a67e3dcd55c4 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rework compute_vertex_layout() to intelligently map vs outputs to fs inputs Some follow-on simplification in prim setup is possible...
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_state_derived.c
|
2d37e78e636e5e1e7d5d00230e50a00f7a71e868 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: restore/rewrite vbuf code for softpipe Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_prim_vbuf.h
ipe/softpipe/sp_state_derived.c
|
cd3643698eafa0869a8317b002e5b066de0172e7 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: overhaul usage of vertex_info in draw module. Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_flatshade.c
ipe/draw/draw_private.h
ipe/draw/draw_stipple.c
ipe/draw/draw_twoside.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_state_derived.c
tate_tracker/st_draw.c
|
b3f081999f8eb904370df7492e39184268c77c13 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with progs/samples/select.c
tate_tracker/st_draw.c
|
2444f6c6a4c2f54c3198882c2256419628ca49d1 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix computation of raster.point_size_per_vertex flag
tate_tracker/st_atom_rasterizer.c
|
46a787ad979e16b827caad5a123b41f8f59327f1 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: multiply vertex point size by 0.5
ipe/draw/draw_wide_prims.c
|
2a077500a84819d1e6ac62e84ded130aa655c5e9 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix some issues with glDrawBuffer(GL_NONE), bug 14198 Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
rivers/x11/xm_dd.c
ain/framebuffer.c
wrast/s_blit.c
wrast/s_drawpix.c
wrast/s_triangle.c
|
286380020b146d600ac86d519ddfbf765a5965b2 |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use temp reg for storing color to avoid reading 'result.color'
tate_tracker/st_atom_pixeltransfer.c
|
59e8f3e5e91f27c5d12b810375247fb1ddea68fe |
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Don't allocate a vertex buffer until after setting the prim type. The vertex size may depend on whether we're drawing points, lines or triangles.
ipe/draw/draw_vbuf.c
|
52264ec53d8d3b20ed7575e2ce09856cb15ab461 |
23-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
added stipple_destroy()
ipe/draw/draw_stipple.c
|
f1fb69a6e52260193ec16a9820a66e3e4bb03edd |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Added FORMAT_1F_PSIZE to insert constant point size into vertices Also, added draw_convert_wide_points/lines() so a driver can tell the draw module whether to convert wide points/lines into triangles, or just pass them through.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_validate.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
|
46eb02b60920a920b782bacb15f01b44e18f888d |
22-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[intel] Clean up references to screen buffer metrics. The screen wide info such as pitch and cpp are obsoleted by the FBO changes, so clean up the last few references to those, except for setting up the legacy screen regions.
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_format.c
|
7049ff53f640aeccc9523a103468183ffda996fd |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: silence warnings
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_rasterpos.c
|
cfeda4165b2845d2253d3082aa771a2346bac6a0 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial support for sampler state
ipe/cell/common.h
ipe/cell/ppu/cell_state_emit.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
0c085717cbb63f00223dc1df3d514f1ef2aaeda1 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: s/cell_init_surface_funcs/cell_init_surface_functions/
ipe/cell/ppu/cell_context.c
|
13189412d93cd7ce5863aaf21b8c91d21bd535c0 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: Added cell_surface.[ch] files
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
|
a1799ecd82c5a04123d1f06ef7a2e18c6b719f96 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove unneeded protos, #includes, etc
ipe/softpipe/sp_surface.h
|
b91de8a6e7d74d38698b6dad9f34040e484e69af |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: include sp_headers.h
ipe/softpipe/sp_tex_sample.c
|
8538da0d7a3a4fc0cffa700d5fa220895688e44e |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: renamed cell_surface.[ch] to cell_clear.[ch]
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
|
c27c3529845b535826f56c16fb0e9a258e5d5841 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: rename cell_surface.[ch] cell_clear.[ch]
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_clear.c
ipe/cell/ppu/cell_clear.h
ipe/cell/ppu/cell_context.c
|
1811965091341fb2c5c94ac0e3bb3c2ca4de161e |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: Add initial texture functions
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_texture.c
ipe/cell/ppu/cell_texture.h
|
fd9c03fc428b325103051d4543e464def71d0b53 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: add cell_set_sampler_texture()
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_sampler.c
|
4211d2d4618ace01c70b86f69d8d0d297f83d74d |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move softpipe_get_tex_surface() prototype
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_texture.h
|
c14773b06be1229ada36be8c1a2b3a2dad846285 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: add license comment
ipe/softpipe/sp_texture.h
|
e2612f4aa057ef20cc6eaf37337239bfc580d328 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move softpipe_get_tex_surface() into sp_texture.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_texture.c
|
5a57ffafd623a04b86aea19c000ff4a64c47fd43 |
22-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: added asmfiles rule
ipe/cell/spu/Makefile
|
be92796eb9b0ef35ad84c59ad183863ed2dbe002 |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: prototype draw_linestipple.c replaced by draw_stipple.c
ipe/draw/draw_linestipple.c
|
ea3a2b440207f319438fe76d9a451e78f0e575d4 |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove per-fragment line stipple code
ipe/softpipe/sp_prim_setup.c
|
329a8479b69a800b5fc6485767fb676c3eae26db |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: new 'draw' stage for line stipple Stippled lines are converted into a series of shorter line segments
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/draw/draw_stipple.c
ipe/draw/draw_validate.c
ources
|
7f21d04a518ac24348934961646501d6ed029466 |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix broken point rendering in sp_vbuf_render()
ipe/softpipe/sp_prim_setup.c
|
382b86e90f69fa0493fae3c7e5c9cd482984af8f |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: add a src_index[] array to draw's vertex_info for mapping post-xform vertex attribs to hw vertex attribs
ipe/cell/ppu/cell_state_derived.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
|
f4b89be70111793a6b5eb511e1c92be72bb6b3d9 |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use tile_t for color tile
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
f0be276c2e84716856ae87b4b0f0411700ed5be4 |
21-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: clean-up/re-org tile code Also, support 16 or 32-bit Z buffer at runtime.
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
661be1ae7b1cd5837d8e7224a5ebe1b8d428137e |
20-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use depth/stencil state to enable ztest Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values.
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
|
45b5d3b1fc996e0f460ea163e4f4b3e750e8914f |
20-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
enable call to cell_emit_state()
ipe/cell/ppu/cell_state_derived.c
|
d0774eae304a9e109f2bdbb361fe0c1ef0cf6691 |
20-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix WM unit cache keying that broke line stipple and polygon offset.
rivers/dri/i965/brw_wm_state.c
|
a1f4a5e802ad62c88fca6834b9de1c83672230a6 |
19-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: improve "finished copying batch buffer" signalling. When the SPU is done copying a batch buffer to local store, use an mfc_put() to write a "done" message back to the buffer status array in main memory. We were previously using a mailbox message for synchronization.
ipe/cell/common.h
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_spu.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
|
06b019d16bc20d772a8aed2a68d1c5d37a402a81 |
18-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
s/varible/variable/
hader/arbprogparse.c
|
7cbfe8c51dfa8ef1f4671e817759edc7a79ce17a |
18-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
set param type to PROGRAM_CONSTANT when parsing immediates
hader/arbprogparse.c
|
fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8 |
18-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating immediates/literals
ain/ffvertex_prog.c
ain/texenvprogram.c
|
02d5ba849197e19843dad164239b51f18fb16faf |
18-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Fix memory leak with fake bufmgr.
rivers/dri/common/dri_bufmgr_fake.c
|
2afe5344dfb7b19563046d7b2f522d91335aac66 |
18-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Do a little bit rotation in state hash to reduce collisions. This was around 3% improvement in OA.
rivers/dri/i965/brw_state_cache.c
|
e44bdcf9789caf9971c3c94605fbff7ce66af7ba |
18-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Unify copy_rect helpers. Some of the copies were buggy.
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
ipe/p_util.h
ipe/softpipe/sp_surface.c
ipe/util/p_util.c
ources
|
8c56418f979f4b8c79c80738b35ac03470c25fea |
12-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Use a static array for the validation list instead of a linked list. Around 10% of a CPU was being wasted to create the linked list which we threw out immediately after passing it to the kernel.
rivers/dri/intel/intel_bufmgr_ttm.c
|
a0e453a5eca7ed4b57a7f4c1e418d368815e3957 |
17-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
8517079cbcbbf31291b05420f3b776df712dfd47 |
14-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[i915] Fix driver from cliprects changes, and clean up state emission. The fix for pageflipping with cliprects ended up causing a batch flush at an inopportune time, which is fixed by moving it up. Additionally, the recovery code for handling batch wraps at bad times is replaced by just checking for the space up front, and using a no_batch_wrap assert like on 965 to make sure that we weren't wrong about how much space that was.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
|
faeb1bc9f9c5935ecbd32c17d81507d5061a6270 |
17-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix whitespace in c9b1fef0c9c5018efd825c42782f19ad0618696a
rivers/dri/i965/brw_clip_state.c
|
e747e9a072c826f803407c03932adcee7f16cb83 |
17-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix potential segfaults from bad realloc. C has no order of evaluation restrictions on function arguments, so we attempted to realloc from new-size to new-size.
rivers/dri/i965/brw_vs_tnl.c
|
25e2b8d669e01aac551276af7f34d8708d8cb9d0 |
17-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Revert "temporarily don't emit TGSI immediates, use the constant buffer" This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128.
tate_tracker/st_mesa_to_tgsi.c
|
271f9dac79a9247de9a57f4d248e404bf1652a13 |
17-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Back-port miscellaneous fixes from internal branch (mostly portability fixes). These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
ipe/Makefile.template
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_texture.c
ipe/p_compiler.h
ipe/p_format.h
ipe/p_shader_tokens.h
ipe/p_util.h
ipe/p_winsys.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_stipple.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_tile_cache.c
ipe/tgsi/util/tgsi_build.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_public.h
|
b016f0adba8278f3744d3aaa207a1b586d51756d |
17-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data.
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
c04f4174923cda7beed1945f8ab77fd5cea1b50c |
17-Jan-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Handle TGSI_OPCODE_END on sse2.
ipe/tgsi/exec/tgsi_sse2.c
|
310e7ca44b33558a9aa22f43024d1bfb63642128 |
17-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
temporarily don't emit TGSI immediates, use the constant buffer This allows a few more programs to run and not crash. Need to get constant buffer uploads working...
tate_tracker/st_mesa_to_tgsi.c
|
bf3bdb3b42632e7621e1cbae0d24e60b05ce16e0 |
18-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Fix cut-n-paste error.
ipe/pipebuffer/pb_bufmgr_mm.c
|
3eaf882a662f719845ead1017e28a121cbce86fb |
18-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Alternative mm_bufmgr_create_from_buffer constructor for mm pool managers.
ipe/pipebuffer/pb_bufmgr.h
ipe/pipebuffer/pb_bufmgr_mm.c
|
39b8303d4af97235b4daeba5a9ee0e12640e0be5 |
18-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Detect if a null buffer is passed.
ipe/pipebuffer/pb_buffer_fenced.c
|
c9b1fef0c9c5018efd825c42782f19ad0618696a |
17-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: always call dri_emit_reloc when creating clip unit state This fix ensures it gets the starting location of the clip program if a clip unit state is same as a unit which is created when metaops is actived and it doesn't impact metaops because the clip state offset isn't emitted when metaops is actived.
rivers/dri/i965/brw_clip_state.c
|
af51d188c3e894c2ac3d261831320f178d1bd6fe |
17-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix warning
ipe/softpipe/sp_winsys.h
|
7771519862ade53bbd29dd25987c51e3c444e364 |
17-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix warning
ipe/i915simple/i915_debug.h
|
66719dc63a169d5bec5e56fa5ad46853121a8dc0 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: hardwire reset_temps functionality
ipe/draw/draw_context.c
ipe/draw/draw_linestipple.c
ipe/draw/draw_private.h
|
83417a8b37211e290cfdb06530533cd7215500c4 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: whitespace changes
ipe/draw/draw_context.h
|
5ea37f591a06073611b8276a87cc7c745e8b3fcb |
17-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
use NEGATE_X/Y/Z/W tokens
hader/prog_print.c
|
846969917e164bc85b56c8d61d9549114b1321eb |
17-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-up swizzle fields in fog code, fix NegateBase
hader/programopt.c
|
bdc38254618d5f984e206b5ddb484c3cbc55c3bb |
17-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix broken fog. Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
ipe/softpipe/sp_prim_setup.c
|
ecc9cf43af658413f91818fe90fdb0c2eaad9a46 |
17-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix incorrect [0,1] clamping in store_dest().
ipe/tgsi/exec/tgsi_exec.c
|
9bae03a583fc6d2d0b916961279abe9156078d1e |
17-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix inversion of SLT/SGE results in vertex programs. The WM code had this right, so copy its behavior. This reverts a flipping of the arguments to SLT in brw_vs_tnl which came in with the GLSL code that probably occurred to work around the flipped results, and brings the code back in line with t_vp_build.c.
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_tnl.c
|
13bfa87b09294607e73d3993878956d5b344bbb3 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
tweaks to quad drawing, set UsesKill in bitmap shader
tate_tracker/st_cb_drawpixels.c
|
27cff4402e9582fed8152e88a2c36e488bf76198 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
copy UsesKill state in _mesa_combine_programs()
hader/program.c
|
6a5e86b3444b4228c5232bf5a297159e66f02077 |
16-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Rename depth_mask in CC key to depth_write, since it's a boolean enable.
rivers/dri/i965/brw_cc.c
|
93ec89e565cbdc9dab010d1a1d259f2348ac7459 |
16-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix the type of alpha_ref in CC key, fixing ppracer rendering.
rivers/dri/i965/brw_cc.c
|
d11fd189ff84ec24df0fb988e5c3e1a9260e038c |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
vbuf updates/fixes (KeithW) Plus, update i915 and Cell drivers for latest vbuf->draw() params.
ipe/cell/ppu/cell_vbuf.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_vbuf.h
ipe/i915simple/i915_prim_vbuf.c
|
0e6b78c7eb7ebee9074489664416be489a27c742 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
s/DBG/DRAW_DBG
ipe/draw/draw_vertex_fetch.c
|
1b5f20c665d1174a52f5d1ec96b23a343ce0ac09 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
remove useless assertions
ipe/draw/draw_twoside.c
|
85cfe029b958c1954aefe0279eb2388bb272ec5c |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
init front/back color attrib indexes to 0, not -1
ipe/draw/draw_context.c
|
dd235ff1db6a2839607931cc07f9ba6e602ac3d4 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix a two-sided lighting bug (fixes samples/wave.c)
tate_tracker/st_atom_rasterizer.c
|
587e2becc237bc1c900a1c0ba114a1a0192690ff |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
ipe/p_util.h
|
62ef6376bef7dcc7f23c676519683e99cd9f7717 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.
ipe/p_context.h
ipe/p_util.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_query.c
|
5a185ca09ae9d0774c99a187463d975a40ce9770 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
replace _mesa_printf() with fprintf()
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf_emit.c
|
0cec2e18d5a11244f1b2c989b3f17161a95ee416 |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
remove redundant llvm subdir
ipe/Makefile
|
14a1e5908dc204f033eaff88e6b3f5cbc9793c0c |
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
include pipe/draw/draw_context.h
tate_tracker/st_cb_program.c
|
b039b785e23abb78342fa0febffa0cdbb49e7ef4 |
16-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Fix the compile of disabled DEBUG_PARSING code.
hader/arbprogparse.c
|
185320ae13163995ea61e38104ab5aeaeb28d8e5 |
16-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Bug #13492: Only call ProgramStringNotify if program parsing succeeded. Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver.
hader/arbprogram.c
|
dd5a8d234b95c6f85d0a6ecb18db8aadefb71dbd |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Add surface status/clear_value fields, PIPE_SURFACE_STATUS_x tokens
ipe/p_defines.h
ipe/p_state.h
|
4652e351a2e617838e4a75ba7857b644211f03d5 |
15-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Increase max relocation count, fixing assertions by blender.
rivers/dri/intel/intel_bufmgr_ttm.c
|
bb73cf9ec093d734cbed956d843ef6c2982141ef |
15-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[i915] Prevent recursive batchbuffer flushing. Workaround for recursive batchbuffer flushing: If the window is moved, we can get into a case where we try to flush during a flush. What happens is that when we try to grab the lock for the first flush, we detect that the window moved which then causes another flush (from the intel_draw_buffer() call in intelUpdatePageFlipping()). To work around this we reset the batchbuffer tail pointer before trying to get the lock. This prevent the nested buffer flush, but a better fix would be to avoid that in the first place.
rivers/dri/intel/intel_batchbuffer.c
|
3ad9ca8240ffa32a8dfbfffd0cfb1d0384e04a9f |
15-Jan-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: fix an assert fail in brw_new_batch
rivers/dri/i965/brw_draw.c
|
d280206c7f74c6c0fc22798b5945db3bf369364e |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
free stvp->draw_shader
tate_tracker/st_cb_program.c
|
ac95fee4fffee77bb7bd798d094ed2e3a7c4019b |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix problems with vertex shaders and the private draw module. The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_debug.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
b4e4fafb4157d416077e985c03204ed5bbe0f2e1 |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
disable debug printf
ipe/softpipe/sp_prim_vbuf.c
|
f20cb1d81b120c8de9b00e2fb523e2367b25e875 |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: after sending a batch, wait for a DMA completion signal. This fixes sporadic rendering glitches. Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar is found to work.
ipe/cell/common.h
ipe/cell/ppu/cell_batch.c
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_tile.c
|
c28b112ce37022aa6e00ac4557ad6fe5a57ae578 |
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
clamp colors during float->int conversion
ipe/cell/spu/spu_tri.c
|
ffa8b18c7cce5041d2006e669fe633156a6b2d05 |
15-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[i915] Fix recursive lock hang in intelContendedLock handling.
rivers/dri/intel/intel_context.c
|
d42400db87f38aee3647e87a9622689519c6b553 |
12-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Delay unmapping of driver-private buffers to reduce map/unmap thrashing. Good for a 10-15% improvement to OA.
rivers/dri/intel/intel_bufmgr_ttm.c
|
7fec1eb21ba2121f530cb5412f658303b683e1d3 |
12-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Force a new vertex upload buffer at new batch time. Otherwise, we could choose to upload into the temporary VBO that we just fired off to the hardware. Good for a 60% OA performance improvement.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
|
eff70f67c558c90c5419b43729a6dc8a9a8c47ec |
14-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: update surface map code to match recent changes in pipe_surface struct
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/ppu/cell_surface.c
|
2014e0bacbd2661bf98d084120a109b1c0bf0df2 |
14-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove pipe->get/put_tile_rgba. pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
ipe/p_context.h
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tile_cache.c
ipe/util/p_tile.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
c76efb96b405e43e3261d1dc9e8812fdb2cfbac8 |
10-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove mapping fields from struct pipe_surface. It's now the responsibility of surface users to keep track of their mappings.
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
ipe/p_context.h
ipe/p_inlines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
ipe/util/p_tile.c
ipe/xlib/xm_api.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
a511200e5f0c384e68258879bab76563d8e01f01 |
13-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove fb parameter to get/put_tile()
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
|
8b1bfd1d27989c9a880ce269d56ea1dfd88a5811 |
13-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: disable cell_emit_state() for now
ipe/cell/ppu/cell_state_derived.c
|
d53e1c255aad83ee6c183f6e144d309327898669 |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: collect vars in a spu_global struct
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tri.c
|
dae719a68173bddedbb531c030cd4a12bcb0435b |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: first state object (depth/stencil/alpha) emitted to SPUs
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_state_blend.c
ipe/cell/ppu/cell_state_derived.c
ipe/cell/ppu/cell_state_emit.c
ipe/cell/ppu/cell_state_emit.h
ipe/cell/spu/spu_main.c
|
68f5a6f74335e252e6a04dd6ae9ef7ae1482be97 |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: whitespace/cleanup
ipe/cell/ppu/cell_state_blend.c
ipe/cell/ppu/cell_state_rasterizer.c
|
2e469775b3f52adf496802f286e46ac4a31cdba1 |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: prefix SPU files with spu_
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tile.c
ipe/cell/spu/tile.h
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
|
a9a84674726a58c183fe8983321208a32cdf940e |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: prefix SPU sources with spu_
ipe/cell/spu/Makefile
ipe/cell/spu/spu_main.c
ipe/cell/spu/spu_main.h
ipe/cell/spu/spu_tile.c
ipe/cell/spu/spu_tile.h
ipe/cell/spu/spu_tri.c
ipe/cell/spu/spu_tri.h
|
07276d676c757d3be2e3090d6c67fbbb2f9768eb |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: sketch out needed rasterizer state
ipe/cell/ppu/cell_state_rasterizer.c
|
1c22b5955953973c2c7988bef998f336493e11bc |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
s/int/uint/ to silence warnings
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_winsys.h
|
50eb29ed9492a34db4ba53f1f28a2868b808955a |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
whitespace, comment changes
ipe/p_state.h
|
8dd678208e4dcd90e07dc271d11d73d87465e0fd |
12-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: basic batch buffer working
ipe/cell/common.h
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
|
08c2571fb48d41731c81cc402acabf709523c831 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial work for a hw-like batch buffer system
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_batch.c
ipe/cell/ppu/cell_batch.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/spu/main.c
|
7db94ba03173f345a47fd727e8d866a87a484415 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove obsolete cell_prim_buffer struct and code
ipe/cell/common.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
|
6b5d674f915b67f3b51c331e3a6ba02e9f82473f |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: debug code, comments
ipe/cell/ppu/cell_vbuf.c
|
21b282e9347d06272e5dfc795aa7c0b861c240e1 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
vbuf_flush_vertices() instead of vbuf_flush_indices() in vbuf_end()
ipe/draw/draw_vbuf.c
|
f313a1ece297e2a3bea5b611082f8cc0012c64b8 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: reformattting
ipe/cell/ppu/cell_draw_arrays.c
|
d4c806302e96a0fd97a4613bc29f4c9863ae89fe |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
s/int/uint/ to silence warning
ipe/draw/draw_context.c
|
45230b4e082473f7e1f0c0a18dd0e2fc9e5508e1 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix malloc size buf, silence signed/unsigned comparision warning
ipe/draw/draw_vbuf.c
|
544ab209e75ec3646d7edbafd736dcf4c93738cc |
30-Dec-2007 |
Dan Nicholson <dbn.lists@gmail.com> |
Allow osmesa to be enabled or disabled The conditional in src/mesa/Makefile currently hardcodes the cases where libOSMesa can be built on libGL. Likewise, the xlib case always includes libOSMesa in the stand-alone target. This changes the conditional to a loop over the DRIVER_DIRS variable. This means that any driver configuration can enable or disable osmesa. The current "stand-alone" rule is changed so that DRIVER_DIRS=x11 and DRIVER_DIRS="x11 osmesa" are both respected. The configure option is changed to --enable-gl-osmesa as this change allows libOSMesa to be built upon any of the libGL-enabling drivers.
akefile
|
1217d5cca3503103cc40221ea8287960236e3734 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: Remove the pre-vbuf rendering code
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/main.c
|
299dffce4fafa2ed03a6e1f7ca7a5357c147477e |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: wait_on_mask_all()
ipe/cell/spu/main.c
|
aee5f471ce30f0511769c02a24160e9bb5047792 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove unneeded #includes
ipe/cell/spu/main.h
|
71caa922e0bf9f6378bd02374402eaea2990b493 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: compute bounding box in cell_vbuf_draw()
ipe/cell/ppu/cell_vbuf.c
|
ea190f4b41d8959aa3edfd46503a3077201cdefd |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove unused color field
ipe/cell/spu/tri.c
|
6059ecaabefc273f39353825dde568d1a2e2ba19 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove unused code
ipe/cell/spu/tri.c
|
c56b20971bfe554f2b9ba74c40b350f950bb31ff |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: make vertex_header and prim_header types private to tri.c
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
|
44f4b9b9ea81974a8e7de444280e471ca05e9261 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: avoid copying vertex data
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
|
02f6f9f8d47fc36c8edf4661c4e78c9c1a1941fc |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: move tile-related code into new tile.[ch] files.
ipe/cell/spu/Makefile
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tile.c
ipe/cell/spu/tile.h
ipe/cell/spu/tri.c
|
6c11485405700865895b7c5f14e08bc5bede2a35 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: use new ASSERT macro instead of standard assert The later doesn't seem to work properly in SPU code.
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
b3247225423213c156ce4f428d1d246758a96d50 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: enable vbuf path by default
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_vbuf.c
|
152f1d84d4d942d9e912b116c5fc67ba96ed9859 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: checkpoint: draw_vbuf code in place and works, but not enabled by default yet.
ipe/cell/common.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
|
cac8892ddb24ddb92b6f367689712925ee6c2d86 |
11-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Additional parameters to vbuf_render->draw() Pass complete information about vertex/index buffer location, size, etc.
ipe/draw/draw_vbuf.c
ipe/draw/draw_vbuf.h
ipe/i915simple/i915_prim_vbuf.c
|
540faf5f91057ef311999afc5a6366bebe7dec33 |
11-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Remove an open-coded memcpy.
rivers/dri/i965/brw_draw_upload.c
|
9bf91229257c8b26710a23795ae1094aa98db8a8 |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Remove gratuitous (batchbuffer) flush before doing buffer clears. Increases OA performance by about 3%.
rivers/dri/intel/intel_buffers.c
|
3d273ae44e85480fcd7798c7b5b75f949906a78e |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Report buffer size when allocating with INTEL_DEBUG=bufmgr and TTM.
rivers/dri/intel/intel_bufmgr_ttm.c
|
609ad99a1a4b3a59436c520b355f482dff64b34a |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Improve performance by allocating CURBE buffers a page at a time. Since each one is only 64b, and kernel allocations are a page anyway, this lets us reduce buffer allocation by packing many CURBEs into one buffer, for each batchbuffer submitted. Improves openarena performance by around 10%.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_vtbl.c
|
763e30748e99064fafeb0d9b34de8d732732689c |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial implementation of vbuf code. The draw module's vbuf stage builds buffers of post-transformed vertices and issues draw-elements calls to render them. We'll pass the vertex and index buffers to the SPUs...
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_vbuf.c
ipe/cell/ppu/cell_vbuf.h
|
2da5afbd3ffd50409fc729e166fe5133c7a7e7a8 |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: call draw_compute_vertex_size()
ipe/cell/ppu/cell_state_derived.c
|
4e5b3626a1fc42ff7a88264ded8f0997b0fcd22e |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Remove a gratuitous flush at the end of ClearWithTris.
rivers/dri/intel/intel_buffers.c
|
ab2933df65628d8f1f0a3f49129442bc8d2c3a2b |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Only flush batch when changing draw buffers, not every cliprect update. The previous code would reference freed memory on window moves.
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_buffers.c
|
a04b632350e5d0e9994fc667afc59407a39da0ba |
10-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Add more cliprect modes to cover other meanings for batch emits. The previous change gave us only two modes, one which looped over the batch per cliprect (3d drawing) and one that didn't (state updeast). However, we really want 4: - Batch doesn't care about cliprects (state updates) - Batch needs DRAWING_RECTANGLE looping per cliprect (3d drawing) - Batch needs to be executed just once (region fills, copies, etc.) - Batch already includes cliprect handling, and must be flushed by unlock time (copybuffers, clears). All callers should now be fixed to use one of these states for any batchbuffer emits. Thanks to Keith Whitwell for pointing out the failure.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
|
cd89fe2d390d2e8cdf7039c8405fd34d28419b5e |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: s/free/align_free/
ipe/cell/ppu/cell_context.c
|
d07b86dedfd87ed7c301fa81242314c891031693 |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: clean-up cell_spu_exit() code
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
|
e6b33b6f35ab2f7b240ac902cc748d8e1a2fd4ef |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
bump CELL_MAX_VERTS to 240
ipe/cell/common.h
|
3d9c84c1b88d30115682763d2762a3c2bf4e5ff3 |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
comment about vertex data in emit_vertex()
ipe/softpipe/sp_prim_vbuf.c
|
fd8b5ede950eb809165c783db2844130fb4c072d |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-up comments, code
ipe/softpipe/sp_context.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
|
ede7b00b59b37f078de0663918c0c84d572c27e8 |
10-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
softpipe: Simplify texture memory layout.
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
|
51ea675745f4212c0bd859a940350faf466df102 |
10-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Add glapi/ path for inclusion of glapioffsets.h. Not sure why this is only needed now...
86/glapi_x86.S
|
7086df58688dc375ffd4c0fb9a9884eae05a6e46 |
10-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix bug #14002
rivers/dri/i965/brw_wm_sampler_state.c
|
c30392f187dc45412e579283989992ed4dd2fed8 |
10-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix segfault caused by commit e131c46b20241737ceba4856dbe01dcca6dd2c03.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_span.c
|
e131c46b20241737ceba4856dbe01dcca6dd2c03 |
09-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[intel] Simplify intelCreateBuffer() a bit. Drop a bunch of unused arguments from intel_create_renderbuffer() and introduce intel_renderbuffer_set_region() to set the region for a renderbuffer.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_screen.c
|
33c42c126272a4db879315127ef0fff711f1db8a |
10-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[intel] Prepare intelCopyBuffer() for private back buffers.
rivers/dri/intel/intel_blit.c
|
d23869a88a1e9e41c9ebbd5f918ede16a8ee838f |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial implementation of tile status optimizations Tiles are marked as CLEAR, DEFINED or DIRTY to avoid making unnecessary get_tile() and put_tile() calls.
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
18b0f345212a5950bddebe00edc3ec5f54781456 |
10-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: start using DMA tags in a more sensible way, move waits() later when possible.
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
c7a22c39792d6ff430af84502d578824081dbd3f |
09-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
move cliprect bounds, do trivial rejection triangle clipping
ipe/cell/spu/tri.c
|
d48c6e7b21839791ff53308187cc2aeed9fb618c |
09-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: remove some debug printfs, predicate others with Debug boolean
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_render.c
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
|
abee68a7220e5ee16216caf22841ad934fb37334 |
09-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: implemement basic Z testing Also, improve some surface clearing code
ipe/cell/common.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
934468296c33a04125e42e5d0f8747f65405a393 |
10-Jan-2008 |
Jerome Glisse <glisse@freedesktop.org> |
softpipe: map only once in softpipe_map_surfaces softpipe_map_surfaces get call several time but softpipe_unmap_surfaces get call only once. So to make sure stuff are properly unmap when softpipe_unmap_surfaces get call we map surfaces only one time in softpipe_map_surfaces.
ipe/softpipe/sp_context.c
|
24e7e457680d700e986fd0b0e0f046fadf67caf4 |
10-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
Factor out code to do the DRM_I830_GETPARAM ioctl.
rivers/dri/intel/intel_screen.c
|
f1139e4c662c47357ee054c2e004b13c9f74ffe1 |
09-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
Fold DoBindContext() helper function into driBindContext().
rivers/dri/common/dri_util.c
|
4225876bf03dfe6d4b291eed9c00e37e949f8148 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Re-allocate backing buffer objects on BufferData. This may allow better concurrency (noop in openarena performance now), but is also important for the previous commit -- otherwise, we may end up with BufferData, draw_prims, BufferData and the draw_prims would use the new VBO data instead of old. This could still occur with user-supplied VBOs and poor use of MapBuffer without BufferData.
rivers/dri/intel/intel_buffer_objects.c
|
7da98d7ebaf4475812f2ce44062d50bee393faf7 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Allow more than one draw_prims per batchbuffer. The comment about (vbo)_exec_api.c appeared to be stale, as the VBO code seems to only use non-named VBOs (not actual VBOs) or freshly-allocated VBO data. This brings a 2x speedup to openarena, because we can submit nearly-full batchbuffers instead of many 450-byte ones.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_vtbl.c
|
dc1608ae9d90a490ce32aa005488e3591a6d8369 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Replace the always_update dirty flag with BRW_NEW_BATCH. This allows us to avoid re-emitting some state when validate_state happens multiple times per batchbuffer. Even though we flush batch per primitive currently, that may still happen already if the primitive changed (this should probably be fixed as well).
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vtbl.c
|
5f86ae057a645c03dc1e0c51c2fb1b2628a50e0a |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Rename lost_hardware vtbl entry to new_batch. Both drivers have ended up relying on lost_hardware being called after each batch buffer, so update the name. This removes one of the calls on 965 whic h was outside of the batchbuffer handling code and just duplicating what had already happened through batchbuffer handling.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
|
d9edd8e90588417e3d549f25132dab2f21445792 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Remove drawing rect upload, which is handled (better) by the kernel.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_upload.c
|
beddf653a914903156712aa472b5deaddb7bbaed |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Clean up cliprect handling in intel drivers. In particular, batch buffers are no longer flushed when switching from CLIPRECTS to NO_CLIPRECTS or vice versa, and 965 just uses DRM cliprect handling for primitives instead of trying to sneak in its own to avoid the DRM stuff. The disadvantage is that we will re-execute state updates per cliprect, but the advantage is that we will be able to accumulate larger batch buffers, which were proving to be a major overhead.
rivers/dri/i915/intel_tris.c
rivers/dri/i965/brw_draw.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_buffers.c
|
7ce12b0863f1cc03bdd7c65c0c0733b2ff903e40 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Remove the dead intel->need_flush member.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
5a49e84fcd858a1ad9c0ad839ccbe93504593cd0 |
09-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Clarify a bit of index buffer upload code.
rivers/dri/i965/brw_draw_upload.c
|
8c4806ccc4d24b78fe2a2a7119333b965572e948 |
09-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix bug 13978: glDrawBuffersARB() didn't set all necessary state
ain/buffers.c
|
c0fd6a09031a07e7c1dd51d1073f2e37f188757e |
05-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Add TTM bufmgr debug for type or offset migration of buffers.
rivers/dri/intel/intel_bufmgr_ttm.c
|
3369cd9a6f943365242d7832e69788d4aede9a8f |
07-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Keith Whitwell's swizzling TEX patch. fix #8283
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
|
601a6b872c33bfe3cb4ea03a5a8ba5ebe92dedaf |
07-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_metaops.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgastate.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
rivers/glide/fxdd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/buffers.c
ain/framebuffer.c
ain/mtypes.h
|
ff73c783cc47361ff0dd819c82d067b4b85870dd |
06-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/buffers.c
ain/framebuffer.c
ain/mtypes.h
wrast/s_accum.c
wrast/s_blit.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_fragprog.c
wrast/s_span.c
wrast/s_triangle.c
|
9f6022d0567dc1288888212d7128acc48795b306 |
05-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
fix depth/1 typo in glTexImage3D proxy code
ain/teximage.c
|
48aa35a8b28e2cd5dab994c2cc0d728275b9aad2 |
04-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
check if span length > 0 before calling _swrast_write_rgba_span()
wrast/s_points.c
|
1c5f27a18b775b3784fcd265d60e0affa0b31581 |
04-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Make texture target an enum for better debuggability. Also make enum pipe_format used in a couple more places.
ipe/i965simple/brw_wm_surface_state.c
ipe/p_defines.h
ipe/p_state.h
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
6f012904318311207a20bbf586f1a9f9f8b7fc20 |
04-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
llvm: if llvm is enabled don't even try to use sse for vs
ipe/draw/draw_vertex_shader.c
|
9789c301b476b1127f847144fd5c8313e6ba8be8 |
04-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
llvm: we need custom rules so had to redo the build a little bit also don't use sse when llvm is enabled
akefile
ipe/Makefile
ipe/Makefile.template
ipe/llvm/Makefile
ipe/llvm/llvm_base_shader.cpp
ipe/softpipe/sp_state_fs.c
ources
|
3385f3d250df1ad6899c0ac59a8f6b845cc5d504 |
04-Jan-2008 |
Zack Rusin <zack@tungstengraphics.com> |
llvm: update llvm sources the latest svn
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/llvm_base_shader.cpp
|
e7044d552c6d16389447880b8744a51de1cf0199 |
04-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: don't validate PS program when falling back to software rendering. fix #12786
rivers/dri/i915/i915_vtbl.c
|
15356376bdee4aa4c5d57b61496cadd5ac19ce60 |
04-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: some initialization for dri_bufmgr_ttm
rivers/dri/intel/intel_bufmgr_ttm.c
|
b1e67c5d840a2c07c4ccf73bf1d3200b8531efa3 |
03-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix various refcount issues
ipe/xlib/xm_winsys_aub.c
|
f54012650eebd940a6a7006ebcc0b9160c0368cf |
03-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: use correct offset for constants vs immediates
ipe/i965simple/brw_vs_emit.c
|
65426b144e9c3f6c8c1e6d0c0dce0ae955f7d1c3 |
03-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: always perform SF parameter setup for position Match behaviour of DRI driver. Fix fragment shader to find the other parameters one slot further on. Will need more work to cope with FP's that actually reference position.
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_wm_decl.c
|
25c9728644becd6342d025bdf355f311d00d5cb5 |
03-Jan-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
965: scan fs inputs to work out interpolation in setup program
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf_emit.c
|
62842e7145aa6e39b1fffc2dba8e2631bcc35b37 |
04-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Add a single-entry relocation buffer cache. By avoiding the repeated relocation buffer creation/map/unmap/destroy for each new batch buffer, this improves OpenArena framerates by 30%. Caching batch buffers themselves doesn't appear to be a significant performance win over this change.
rivers/dri/intel/intel_bufmgr_ttm.c
|
8abffada70fcd62e3c2dcbcdc6d00d258805326b |
03-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Convert relocations to not be cleared out on buffer submit. We have two consumers of relocations. One is static state buffers, which want the same relocation every time. The other is the batchbuffer, which gets thrown out immediately after submit. This lets us reduce repeated computation for static state buffers, and clean up the code by moving relocations nearer to where the state buffer is computed.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
0ff3eb637bac9e100aab0a109a46e81bea9203a3 |
03-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Fix some missing initialization in WM keys.
rivers/dri/i965/brw_wm_state.c
|
4e62fbbfc5bcf368c3f11d4384008e64aad06ec8 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups, silence warnings
ipe/draw/draw_vertex_shader.c
|
2b40838972bb84a0dff8f8a3c933b0d2b8384f10 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
rename vars, clean-up formatting
ipe/softpipe/sp_state_fs.c
|
aa7f2333675f3e005f3eb6a40ac55d2fb55ea36e |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
replace void * with struct draw_vertex_shader opaque type
ipe/draw/draw_context.h
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_state.c
ipe/softpipe/sp_state.h
|
5e00ae3fea51afd5de14d559f693645837b3903b |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: initial work for getting/putting Z tiles
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
3ffef8de825f843ed504a8177fd08af9196be696 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
disable bbox code until glitches are fixed
ipe/cell/spu/main.c
|
4ff6367295bc266cf1e3390570c9aee50fe716a0 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: improve surface state code to replace some temporary code.
ipe/cell/common.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
9b598df95ebe99d9aaf2043ce8786847978de4aa |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
asst changes in bbox code, dma tags, etc
ipe/cell/spu/main.c
|
bb55835fc07e4d29e94c7db1e3854a5bd37c8aeb |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
insert a temporary flush to fix missing triangles artifact
ipe/cell/ppu/cell_render.c
|
5cd96f7684adc7ba52a216fb676c7eb88ba3f66a |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
pass surface format in cell_command_framebuffer struct
ipe/cell/common.h
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
|
7aee3eff18decd6ce46f63a44c9a531414565265 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
better debug code
ipe/cell/ppu/cell_surface.c
|
15653b5d88c0f88f49c2d5497b4fb9e045f53560 |
03-Jan-2008 |
Zou Nan hai <nanhai.zou@intel.com> |
fix fd.o bug #13761 MRD computation is now changed in mesa core
rivers/dri/intel/intel_context.c
|
f6b7e2d3bf9af34704e9624246614c1583b655da |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
make use of prim bounds box info
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_render.c
ipe/cell/spu/main.c
|
54090bd841b302c6d48e7f130dbe07c8fd5a0a96 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
only fetch as much vertex data as needed
ipe/cell/common.h
ipe/cell/ppu/cell_render.c
ipe/cell/spu/main.c
|
d55c4ec9d2c0a8cd9ba75985962297381e6c0364 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
remove previous triangle test code
ipe/cell/common.h
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
|
de9f8e8b717aa4b4ab94af73be5aa70088cd6b81 |
03-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Cell: basic triangle rendering works. The cell "render_stage" (last in the "draw" pipeline) emits vertices into a buffer which is pulled by the SPUs in response to a "RENDER" command. This is pretty much temporary/scaffold code for now.
ipe/cell/common.h
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_render.c
ipe/cell/ppu/cell_render.h
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
ipe/xlib/xm_winsys.c
|
9e9f6f105c81436cecfe55a8a80d2efe45bc0d72 |
03-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert WM unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_state.c
|
03b59edbb53a3887779b0eb9d0f07b93ec747764 |
03-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert VS unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_vs_state.c
|
77e6cf8c1758c6b3091adf95ead96fbe9a996a17 |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert SF unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_sf_state.c
|
3149119cad6137fee967054c38c1060a30bfc52d |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert GS unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_gs_state.c
|
114b802e87bca5edbc2c59fc2c5caad3ec90bca6 |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert clip unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_clip_state.c
|
b35811e1b38e8fd454f369aefc0b3b3c50ecb8bc |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert CC unit to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_cc.c
|
a95b48d55bdeed85df8b4fdd6699ef9f0d3c7a45 |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert surface state to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_wm_surface_state.c
|
3e3644c6e8f3559fd5bcd862d5edb627aceb3eca |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Convert sampler state to use a cache key instead of brw_cache_data.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm_sampler_state.c
|
a099461fa31db1ed8935bb409c321dc46c54ce8d |
03-Jan-2008 |
Eric Anholt <eric@anholt.net> |
Revert "[intel] Use the memory type mask containing the caching flags." This reverts commit 8bb9ae3693362a302206255c61f512d942df9bbf. Validating our kernel buffers with the caching off in flags but on in mask means that the kernel migrates the buffer to be uncached, which is undesired.
rivers/dri/intel/intel_bufmgr_ttm.c
|
8bb9ae3693362a302206255c61f512d942df9bbf |
02-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Use the memory type mask containing the caching flags.
rivers/dri/intel/intel_bufmgr_ttm.c
|
a3c435b342e467020e349061ce656c68258a8576 |
17-Dec-2007 |
Keith Packard <keithp@keithp.com> |
Set correct flags mask when validating buffers. The 'mask' value used in the validation operation specifies which of the 'flags' bits are being modified. Buffer validation wants to pass the memory type and access mode (rwx) to the kernel so that the buffer will be placed correctly, and so that the right kind of fence will be created (read vs write). That means we actually want a constant mask for these operations, and not something computed from the bits coming in. The constant we want is DRM_BO_MASK_MEM | DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE | DRM_BO_FLAG_EXE.
rivers/dri/intel/intel_bufmgr_ttm.c
|
4cc02fb9387dbeeea56de3a34854f6739dc97a80 |
01-Jan-2008 |
Eric Anholt <eric@anholt.net> |
[965] Improve performance by including reloc target buffer pointers in keys. Without this, the WM binding tables would all collide, for example. Improves openarena performance by around 2%.
rivers/dri/i965/brw_state_cache.c
|
de427742b89bc04fd1f59cf6ebab893e14ee8ad4 |
02-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
additional stub functions
rivers/windows/gdi/wmesa.c
|
7d6d6652d58c542be07707c9a9becb8163f1ba8a |
02-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
ain/buffers.c
|
60d762aa625095a8c1f9597d8530bb5a6fa61b4c |
02-Jan-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Needn't adjust pixel centers. fix #12944
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_state.c
|
da92ac01e80e8a83233b1d4a881503bfc2806a1a |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Plug in more infrastructure for actual rendering. Track vertex/fragment shader state. Plug in pipe->draw_arrays(), pipe->draw_elements(). Plug render stage (a stub) into end of 'draw' pipeline. Specify a hard-coded vertex format for now.
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_draw_arrays.c
ipe/cell/ppu/cell_draw_arrays.h
ipe/cell/ppu/cell_render.c
ipe/cell/ppu/cell_render.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_derived.c
ipe/cell/ppu/cell_state_fs.c
|
57a711f7275993e75aa00918065b876776618a17 |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
hack/fix pack_color() for correct ps3 format
ipe/cell/spu/tri.c
|
52659e3c238d961de1f25bed9254747f2f931547 |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Clean-up, re-org some vertex/fragment shader state code.
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
|
292bbd4a7250b96c4edadc2da5ebb7fc72b6159f |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
move SP_NEW_ #defines into sp_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
|
524304c9b8b85dd32ea8c90aafa79229e928f250 |
01-Jan-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "r300: fix bug with maniadrive rendering" this is correct, there is another issue with sw fallbacks This reverts commit cc50edbca2fd3111f9987d4117fa6656599d79dc.
rivers/dri/r300/r300_emit.c
|
520a455f55f6c6c529dc6b725a5225793c0b4b01 |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix vbo display list memleak upon context destruction
bo/vbo_context.c
bo/vbo_save.c
|
678db26b9d2db0c76e7676b5499d8d55a5619a94 |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
unref buffer after drawing, fixes rastpos mem leak
tate_tracker/st_draw.c
|
c37d2c9325a39287e29c22ab0e6838e7e35c7175 |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix single-sided stencil test bug
ipe/softpipe/sp_quad_stencil.c
|
6656864135411d379c06e071c5a5e73b4e4baea5 |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix leak, fix refcount error
ipe/softpipe/sp_tile_cache.c
|
6883e02a5cab528623e11ad7717f1052ab2e031d |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix a mem leak, document another existing leak
ipe/cso_cache/cso_hash.c
|
4fabee9d4d217bb18411b6c481416775aead029e |
26-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
unref const buffers during context destroy
ipe/softpipe/sp_context.c
|
6128c938650f3937ba54dd7225d258d753e16ade |
26-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
unref const buffers during context destroy
tate_tracker/st_context.c
|
1631a9513d32ddcc5467225ad25d0e7a154af895 |
26-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
free program caches
hader/program.c
|
f44e2f14d24b6d2730e7ff85e96695867ee96cbe |
26-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix mem leaks
ipe/xlib/xm_api.c
|
573b4414b926bb86e9a1e8f3ffad64426aa4bda4 |
26-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix mem leak (free key)
ain/ffvertex_prog.c
|
171a9674c4caf32303a8d09ce48db18cde1d3e7e |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
free surface caches in softpipe_destroy()
ipe/softpipe/sp_context.c
|
aec6009ece010f334f5777d727620cc042746e31 |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix a memleak
hader/prog_cache.c
|
57a5421d658df0ef330fc2c9c34ff9fa0923867e |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
free tgsi machine state
ipe/softpipe/sp_quad_fs.c
|
f6136f993a2f06e1d4719b3e9a76187222e9a927 |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
free tgsi machine state
ipe/draw/draw_context.c
|
eba2e044a04da99fea2214ba10ca5981f596702e |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added tgsi_exec_machine_free_data()
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
552907d8a497d42f6693ca0f9324f003cfe3a66d |
25-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
free Default1D/2DArray objects
ain/context.c
|
a5c84de3a7c937bb8b1cca3e6f17329e7d35c20d |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded conditional
ain/context.c
|
f0676cc4223fe05d84cee9d16f1094a7bfa181d4 |
28-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix vbo display list memleak upon context destruction
bo/vbo_context.c
bo/vbo_save.c
|
9b3162b1d21ccd5b0b25b45696c6106dae4c3357 |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
ain/buffers.c
|
2bf2a8cc6dbf8cd4561bfc45886d5317beda098b |
21-Dec-2007 |
Bruce Merry <bmerry@users.sourceforge.net> |
Convert to 0/1 when setting boolean uniforms Also add some extra tests to the shader_api regression tests
hader/shader_api.c
|
3f948025dbbff665ed41ad771e459472cc069e8b |
21-Dec-2007 |
Bruce Merry <bmerry@users.sourceforge.net> |
Make use of count in _mesa_uniform_matrix
hader/shader_api.c
|
89b80327ae9d74729f7eb57f338f6b20837ceb05 |
21-Dec-2007 |
Bruce Merry <bmerry@users.sourceforge.net> |
More fixes to shader_api - return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad - correct the type-checking of uniforms from my previous commit - accept location of -1 in _mesa_uniform_matrix
hader/shader_api.c
|
eeb03faadc7e677f69aaf82aef2786c39faa4b76 |
21-Dec-2007 |
Bruce Merry <bmerry@users.sourceforge.net> |
Fix several bugs relating to uniforms and attributes in GLSL API - fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type - fix size returns in _mesa_get_active_attrib - fix out-of-bounds array access to vec_types in _mesa_get_active_attrib - fix queries of matrix uniforms in _mesa_get_uniformfv - fix _mesa_get_uniformfv to only return one base, even from an array - allow location == -1 in _mesa_uniform - validate types in _mesa_uniform - allow array overruns in _mesa_uniform
hader/shader_api.c
|
8349073561738d444345ea795efb81db9cd16cb8 |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
added 'get' info for framebuffer object tokens
lapi/EXT_framebuffer_object.xml
lapi/gl_API.xml
|
76387dec7667161251ea7c9981b0085ac77d2d71 |
01-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811)
lapi/gl_API.xml
|
d3033cad7c8a077b093fc5b0c423950473aed9e7 |
01-Jan-2008 |
Hans de Goede <j.w..r..degoede@hhs.nl> |
t_vp_build: fix temporary register allocation to minimise the allocations
nl/t_vp_build.c
|
2290ea7fe694dd74a88f4480326e9470fb9e945e |
01-Jan-2008 |
Hans de Goede <j.w..r..degoede@hhs.nl> |
rx00: fix off by one error in tempreg check
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_vertprog.c
|
cc50edbca2fd3111f9987d4117fa6656599d79dc |
01-Jan-2008 |
Dave Airlie <airlied@linux.ie> |
r300: fix bug with maniadrive rendering I've no idea why I added this so I'll have to spend time tracking it down
rivers/dri/r300/r300_emit.c
|
d0ebdca4fa70506107a318e6cfd03f0fb4297897 |
29-Dec-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix fd.o bug #13847
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_vs_emit.c
|
3956597962dcf6c8082541199ebac58e0d84f6bc |
29-Dec-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
Bug #13839: Fix 3D texture offset miscalculation with pixels versus bytes.
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
|
aac2d99dc316c069faa46dd43ff034155754c6b3 |
27-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: reset swrast state after calling swrast DrawPixels. In order to optimize DrawPixels, the i915 texenv program isn't applied to swrast DrawPixels in the i915 driver. This causes this program isn't applied to any following swrast functions. Resetting the swrast state fixes this issue. Fix #13614
rivers/dri/intel/intel_pixel_draw.c
|
b422e5ad3716d32f2434ca38819f4a877c7eeeeb |
25-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: apply commit a0a5e8cfc04c14873441b50f7d594ef11806b9a8 from 965. fix #11925
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_state.c
|
cf46aee14a9df86ce336823fd02da650e262f77e |
25-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: fix a bad cast in put_values_z24. The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543
ain/depthstencil.c
|
166a828ddfecf7fab110102783faa756081bf28a |
25-Dec-2007 |
Adam Jackson <ajax@redhat.com> |
__driConfigOptions must be PUBLIC.
rivers/dri/radeon/radeon_screen.c
rivers/dri/unichrome/via_screen.c
|
0b7e0f81591c0b70452ff9250af9b145e8c15adf |
24-Dec-2007 |
Alex Deucher <alex@botch2.(none)> |
R300: RV410 SE chips have half the pipes of regular RV410 This fixes 3D rendering on x700 SE chips. Reported by Kano.
rivers/dri/radeon/radeon_screen.c
|
f9e0e2b3efbc45a290f0a84a1beb63cd8c4f8428 |
24-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: a little better way of handling immediates
ipe/i965simple/brw_context.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_vs_emit.c
|
26473140b9c5e6aa962961c836f79fd5aa6cd246 |
22-Dec-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527) primitive needs to include the begin/end flags (broken since vbo-0.2). Should fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon, s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527.
rivers/dri/gamma/gamma_render.c
rivers/dri/i810/i810render.c
rivers/dri/i915/intel_render.c
rivers/dri/mga/mgarender.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/s3v/s3v_render.c
rivers/dri/savage/savagerender.c
rivers/dri/unichrome/via_render.c
|
2f3e939ae719f522fc26bfd62997fa8b7940c8ed |
21-Dec-2007 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
Silence compiler warnings from XML error macros.
rivers/dri/common/xmlconfig.c
|
9136e1f2c80ce891fb6270341a4316f219c89d49 |
21-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Fix and enable separate stencil. Note that this does not enable GL_EXT_stencil_two_side, because Mesa's computed _TestTwoSide ends up respecting only STENCIL_TEST_TWO_SIDE_EXT (defaults to GL_FALSE), even if the application uses only GL 2.0 / ATI entrypoints.
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_wm.c
rivers/dri/intel/intel_context.c
|
9e68e191ac9d32f2f93e840a66127e724b442756 |
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move some pixel path support from drivers to shared.
rivers/dri/i915/intel_pixel.h
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel.h
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
|
f8830a1bf788909a18b6089eb159a38c19bf48d6 |
21-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: cast a pointer to unsigned long, avoid potential error.
rivers/dri/i915/intel_ioctl.c
rivers/dri/i965/intel_ioctl.c
|
bea6b5fe5aa3138cec8d057766ae48da4aa57dee |
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Enable EXT_framebuffer_object. To do so, merge the remainnig necessary code from the buffers, blit, span, and screen code to shared, and replace it with those.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_depthstencil.c
rivers/dri/i965/intel_mipmap_tree.h
rivers/dri/i965/intel_screen.h
rivers/dri/i965/intel_span.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_reg.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex_copy.c
|
106f3982203377949bd1a232008e4e0f0b9275db |
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Actually enable SGIS_generate_mipmap.
rivers/dri/intel/intel_context.c
|
101abee6c4fc2c9284ff2ba6f9f9138327d6963d |
19-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix and reenable (software) SGIS_generate_mipmap The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images.
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
ain/mipmap.c
ain/mtypes.h
|
4fa7afabc966a3d37324f2f9b03e1cc466db7773 |
20-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: very crude and hacky way of handling immediates
ipe/i965simple/brw_context.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_vs_emit.c
|
b2f62609d02b91cc42c786200fa0c123e1fd2dcb |
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Allow driver hooks to be NULL in intel_buffers.c and just update flags. The 965 driver relies on flag checking instead of these hooks, and will be using this code soon.
rivers/dri/intel/intel_buffers.c
|
fcd1e9dad6949e02380593a166432dbac311c80e |
20-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Move meta_draw_quad into the vtbl with other meta operations.
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_screen.c
|
2761cfce462af4fee0d67068c09f7f188677e7cf |
20-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
return correct size from glGetActiveUniform (bug 13751)
hader/shader_api.c
|
a85535b7cb0886f23e5686e37d1fa54394cdece4 |
20-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: make state tracker explictly ask for rendercache flushes
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_framebuffer.c
|
9e41d547db6669ff669f1d60cb35df9edf306370 |
20-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: respect pipe flush flags Now we emit way too many flushes instead of none at all.
ipe/i965simple/brw_batch.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_flush.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_urb.c
|
21c67b70d4bcffad8f0f07c0423c18e59f4259ea |
20-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: translate ARB fp/vp immediates consistently to tgsi immediates
tate_tracker/st_mesa_to_tgsi.c
|
ebf78c0dcccbe2c458b945e014f2bd53ab137e91 |
20-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
965: fix the constant buffers
ipe/i965simple/brw_curbe.c
ipe/xlib/xm_winsys_aub.c
|
e54329233522591bbe8aad8a3fd6bcdc1e430f03 |
20-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: avoid dead lock in intel_meta_draw_poly. fix #13696
rivers/dri/i915/intel_tris.c
|
e9207430cefd44beb1a16cfb5879a7ace475e2f5 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add some prototype code for converting RET to END for main(). Disabled for now.
tate_tracker/st_mesa_to_tgsi.c
|
4a1776a763f2c3b3d1d5bdb5720cafad3ac932c6 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
temporarily defeat an assertion
ipe/tgsi/exec/tgsi_exec.c
|
c664302c3e34a29b4bbb02fd3789dd3f7d92849c |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem with initial viewport/scissor size. If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
rivers/dri/intel_winsys/intel_screen.c
ipe/xlib/xm_api.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
1575763a6f57d1f13c707b709f188b0617c8955a |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET
tate_tracker/st_mesa_to_tgsi.c
|
127ab73b380d9c26974d19062e3e16758005bd80 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove obsolete TXP, add some sanity checks
ipe/tgsi/util/tgsi_dump.c
|
cedf6892e7cc29aab404b142012eec0b0603a414 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
special-case PSIZE too
tate_tracker/st_atom_shader.c
|
dbf6eced87c16eae0834d38d86a60b4f643ee3b7 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
move st_make_current() before buffer size check so renderbuffer alloc storage works
ipe/xlib/xm_api.c
|
c61b32777b5b3b138c8bf5fac7e7e70ec084c8c1 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
new assertions
tate_tracker/st_program.c
|
d24a9b26fc44b586a19d46e731e61a5d133868d9 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: dump curbe contents to stderr
ipe/i965simple/brw_curbe.c
|
5ff69cfd68970ef67ecf3fc10f9abd31356e793f |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: handle BRW_CONSTANT_BUFFER data type
ipe/xlib/xm_winsys_aub.c
|
a65f39f918f3a28c3c4e38036099d4ce97fcfac7 |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
consts
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_vs_emit.c
ipe/xlib/xm_winsys_aub.c
|
dc461d8c8764e2bd8303c1955f244bacab4467fa |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: count grf allocation correctly for wm prog, first aub triangle
ipe/i965simple/brw_wm_decl.c
|
86ddaa9d0e3c80e0fd7b7c99b66e46e0bcbdb04d |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: hardwire correct behaviour for vp-tri setup (for now...)
ipe/i965simple/brw_sf_emit.c
|
ae280f1ce90a7d95bf761efdfebc91ae5b379079 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: align buffer allocations to 4k
ipe/xlib/xm_winsys_aub.c
|
65f67baa425af71fc52639d22c1683da3b386a1b |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: make sure stipple state gets uploaded
ipe/i965simple/brw_context.h
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_state_upload.c
|
2e3dfe97ee514a9ef8bd0a862360854d9be392d3 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: allocate buffer space to hold batch commands
ipe/xlib/xm_winsys_aub.c
|
f13a200c8367c58fc962bdad9bcb22263d385886 |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
actually set the max_index. useful in the driver
tate_tracker/st_draw.c
|
f367c57802f3800f695acae975fdc30ece6a63b3 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fill unused surface pointers with zero
ipe/i965simple/brw_wm_surface_state.c
|
bc1fc7d6739476748c902a79dcf1676b0ddc17fd |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: emit fb write on RET for now (until we get END back)
ipe/i965simple/brw_wm_glsl.c
|
a0ce71b51dd7aac4e219a023bae6fc9771d64c03 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: pitch is in bytes not pixels
ipe/i965simple/brw_wm_surface_state.c
|
05ec043d1ca01f0be94e8b8ceaeb730475b308f9 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix off-by-one in scissor rect
ipe/i965simple/brw_sf_state.c
|
2f53713beb9aa425d8248bae6a3c388a7de189de |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix off-by-one in surface dimensions
ipe/i965simple/brw_wm_surface_state.c
|
1f37b4d87e798690ed080e5da356366906ff55cd |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: respect surface width when dumping bitmap
ipe/xlib/brw_aub.c
|
38de4c5715209171bc168454f7a6dc6c43b341b8 |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: actually detect whether a sampler is enabled/disabled
ipe/i965simple/brw_wm_sampler_state.c
|
aba4ee24cf1de8e1ec9a7f02c2d97c3156d87eef |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: disable clipping more, and restore drawing rect packet
ipe/i965simple/brw_misc_state.c
|
e03982475795f19a674b79940c135584b13fd79a |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: disable clipping for now
ipe/i965simple/brw_clip.c
|
94c2ab2895f220d5d5156db71197446b3b89f52b |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix vertex pointsize state, match default cull mode
ipe/i965simple/brw_sf_state.c
|
4fd2a2ac6f6593487d59fac2d8c0365179509ae5 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix colormask state
ipe/i965simple/brw_wm_surface_state.c
|
9791c16b317d1536ba5c2d67398d17b80da2f015 |
19-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: populate fp_input_count in setup key
ipe/i965simple/brw_sf.c
|
93d90c6b570298ea96c5952af1acb31b0a89362c |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: stuff the outputs into mrf registers when possible
ipe/i965simple/brw_vs_emit.c
|
4e1a4458662e1766e9de7ce0e23de0766dcb1b9e |
19-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: be smarter about register allocation
ipe/i965simple/brw_vs_emit.c
|
d2d82f8a29d3698313956739a7d20704a62c6925 |
19-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[915] Set cliprects in the drawbuffer software fallback case as well. Otherwise, we may violate cliprect asssertions on clearing the buffers, which isn't affected by the fallback.
rivers/dri/intel/intel_buffers.c
|
4cca760a9b7fe120ed92257a6a6c4a3a6e929ba8 |
19-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: allocate GRF registers before building subroutines, it ensures there are sufficient registers for all subroutines.
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
|
e3a1ae0fcbd7582eb6fbd02384410d786c2b671b |
19-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: restore the flag after building the subroutine of the GS thread. fix #13240
rivers/dri/i965/brw_sf_emit.c
|
256115bd5e6bb59f3019b52120ca804b7a5c00c0 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify update two-side lighting test (follow-on to previous front/back-face changes)
wrast_setup/ss_triangle.c
|
441bab8f171b0678303ff46fc79f236c349aafdb |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix NEED_SECONDARY_COLOR for vert/frag progs
ain/context.h
|
d0a63de37888966591735a190d69b0333d31bef5 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
turn off TGSI_DEBUG
tate_tracker/st_program.c
|
52da6b559a47eca2c1a8ec1b713e188f38e1d16a |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path
tate_tracker/st_atom_rasterizer.c
|
8c20747834c2ea7006f127e974560534ab279da2 |
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
setup the frontface register (fog.y, ATM)
ipe/softpipe/sp_prim_setup.c
|
fb4eb8c91b7e76bf66d92da91c1e6d994b6e7e3e |
18-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some semantic info mix-ups in calculate_vertex_layout()
ipe/softpipe/sp_state_derived.c
|
9efa1029e5a2ee90e3265d9959730685ce841b66 |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths.
wrast/s_drawpix.c
wrast/s_readpix.c
|
4878f12189c52e1cafe9240183d0e371a1f287d3 |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[915] Free dri_bufmgr after mesa context data. Fixes a crash when buffer objects are left around until context destroy.
rivers/dri/intel/intel_context.c
|
a856da63247a4b403f6350914f732e14d1530ed1 |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[915] Make polygon stipple use pre-unpacked pixel data. This fixes a crash when stippling using data from a PBO.
rivers/dri/i915/i915_state.c
|
0dc2c68ffc379aa04247eb48b84b2fac69949bbd |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[915] Fix clear color when clearing with triangles. The diffuse color format is always ARGB32, regardless of the destination surface format.
rivers/dri/intel/intel_buffers.c
|
dd1a868b74ac47ac26f600f2f1eb0dc3f535f31b |
18-Dec-2007 |
Keith Packard <keithp@keithp.com> |
[INTEL] Fix 965 to use new centralized mipmap pitch function
rivers/dri/i965/brw_tex_layout.c
|
a183efc132c8db1bb42525ac177ffff96f69a59b |
18-Dec-2007 |
Keith Packard <keithp@keithp.com> |
[Intel] Centralize mipmap pitch computations. mipmap pitches must account for the device alignment requirements, which used to be fairly simple; just align to a 4-byte boundary. However, to allow textures to be drawn to under TTM, they now need to be aligned to a 64-byte boundary. Placing all of the alignment constraints in a single function allows this new constraint to be applied uniformly. There was some pitch constraining code in intel_miptree_create, but that was modifying the pitch long after the miptree had been layed out, so it only served to wreck the mipmap and cause rendering errors.
rivers/dri/i915/i915_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
c31416971e4eac148f8e82d6c4392bd6f9cbc05d |
18-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: rationalize vertex_element state packet Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope.
ipe/i965simple/brw_context.h
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_state.c
ipe/p_state.h
tate_tracker/st_draw.c
|
208b2ad8ab51c472886388fdd872e3a86e2c1c5c |
18-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: give userbuffers some storage in the aub buffer pool
ipe/xlib/xm_winsys_aub.c
|
9d4ab42f4be3a26f702729cc79ef67f8afc2eca5 |
18-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
vbo: unmap and remap immediate vbo before/after each draw. Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
bo/vbo_exec_draw.c
|
7cef9237ae663f107dce82a688e8e0a9ce8193bc |
18-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: don't treat swz differently and upload vertex buffers
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_vs_emit.c
|
e2a669aed4bc6f9c94b6b664bf667777078e02c0 |
18-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
obsolete
ipe/softpipe/sp_rgba_tile.c
ipe/softpipe/sp_rgba_tile.h
|
6f1bfdc4bf5b72ac705b8cbb2dc431e133dcb5b8 |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Remove redundant set_draw_region code (like the comment says).
rivers/dri/intel/intel_buffers.c
|
33487c15ba8324bf0b635293214cad246661915e |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Improve INTEL_DEBUG=blit description of clearing.
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
|
c24300f93731f8777309bec4ce2439d05895001a |
27-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix copy'n'pasteo in decoding of the blit clear packet.
rivers/dri/intel/intel_decode.c
|
9a8819e7677cac709c681d8b16b717d069f205f2 |
27-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[965] Add decode of 3DSTATE_DRAWING_RECTANGLE.
rivers/dri/intel/intel_decode.c
|
146030aad2c41eb8303935a13333c93fdc7c4a58 |
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Allow draw or depth regions to be NULL. With FBOs, we end up wanting to do 3D metaops against one or the other without having to find the other one to fill in if we're not going to draw to it.
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
447facfcd6d807128ebf6ba3efc894180b447494 |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Simplify scissor handling by using DrawBuffer values.
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_structs.h
|
8336f3ffb7e4033337a1d0eafef43cbf3329f499 |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] fix bad conflict resolution in debug code.
rivers/dri/i965/brw_state_dump.c
|
2c9e515d8607fb91f08c500a841cdf7f32bda346 |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Replace our own depth constants in intel context with GL context ones.
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
|
98d43552408045e34ba937913cfbad7aadee8213 |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Fix software fallbacks with region-backed textures.
rivers/dri/intel/intel_span.c
|
c1d6b874b35dd353b2f9862b47aadb52a812a4aa |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Cleanup of */intel_blit.c to bring the two closer.
rivers/dri/intel/intel_blit.c
|
04a5a8b3bcba64c506ee5646a3a8b737e124a66a |
17-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
updates for depth/stencil/alpha state
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_blend.c
|
b3169a9c35ae2d943d1e84dfa6cc99e94f782ca7 |
17-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Output the buffer type in INTEL_DEBUG=bat surface state decode.
rivers/dri/i965/brw_state_dump.c
|
8978627ad0e236796758d4912822b3428a649987 |
17-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Emit declarations for constants (references to the const buffer)
tate_tracker/st_mesa_to_tgsi.c
|
aeb53622814d340323c766dd33e1dd9a25f33e7a |
17-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: index the destination offset with regards to the current index
ipe/i965simple/brw_state.c
|
531efbab75ea7d05e1af4640814f19cb5594374e |
17-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: return false when the function fails, not succeeds
ipe/i965simple/brw_draw.c
|
bfe79babf99e6b9435195178d1ea64687c60d161 |
17-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: incorporate alpha state into depth_stencil state object.
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_blend.c
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_immediate.c
ipe/i965simple/brw_cc.c
ipe/i965simple/brw_context.h
ipe/i965simple/brw_state.c
ipe/i965simple/brw_wm.c
ipe/i965simple/brw_wm_state.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_derived.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_alphatest.c
tate_tracker/st_atom_depth.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
1e0413230648f5ed18bfbdfcb87bf63473ed91b2 |
17-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Fix issues with glDrawBuffer(GL_NONE). Don't dereference NULL renderbuffer pointer, and make sure the software fallback sticks. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13694 .
rivers/dri/intel/intel_buffers.c
|
556e247cee905f84d639b4a292e891c24b36bea1 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove dead state atom decls
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_urb.c
|
3be91c5a493a219dacf12b4cc279e37f26420cbd |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix for non-indexed draw path
ipe/i965simple/brw_draw.c
|
95adfb9fec808fff1e72c3feb407be13a96397f9 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix/hack check for NULL texunit in state upload
ipe/i965simple/brw_wm_surface_state.c
|
b52e4477f81b8ab7e0db6a73a8f1358b88cf3ea0 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: fix ExtDivide check
ipe/i965simple/brw_wm_glsl.c
|
ae858511d00b99070f95e1c22b447d76db9b76c0 |
14-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: put brw_constant_buffer atom directly in update list
ipe/i965simple/brw_state_upload.c
|
d859a60dc3b8aa7d8405c5839a21850c0838f07f |
17-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: check NULL pointer
rivers/dri/i965/brw_wm_surface_state.c
|
d913a15898fc8edc68ee673e2ae038cf2d7e8af9 |
16-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Fix missing symbol from 965 changes.
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_mipmap_tree.c
|
1daf5b3ad6460f33870b9f016a6615c5f1f8aa5e |
16-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Fully initialize the texture surface key data (padding around GLboolean)
rivers/dri/i965/brw_wm_surface_state.c
|
cbed2e4adde58815650e5f1397a6fbfe7923a664 |
16-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Enable ARB_pixel_buffer_object, and disable broken imaging extension. While I haven't tested the imaging extension, this matches what 915 does.
rivers/dri/intel/intel_context.c
|
c0b4257aa9ba783674ccf7162799385734dff211 |
16-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Move to using shared texture management code. This removes the delayed texture upload optimization from 965, in exchange for bringing us closer to PBO support. It also disables SGIS_generate_mipmap, which didn't seem to be working before anyway, according to the lodbias demo.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_mipmap_tree.h
rivers/dri/i965/intel_tex.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
41b1aa51096e844c0b06f950b1891dc7e5256db7 |
16-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
switch on cpp instead of format
ipe/softpipe/sp_tile_cache.c
|
47b5138d2d6533ac1cd818713fd0678ec3c7aa1b |
16-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename some 'mesa' functions
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
|
263e8f057290961c9dd603ffa69f25a7a253301a |
16-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use tile functions in new p_tile.[ch] This removes quite a bit of code duplicated in the drivers.
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
ipe/softpipe/Makefile
ipe/softpipe/sp_surface.c
ources
|
bccc4c5c0116987041dec2327ddb43eff1bcfadf |
16-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Re-usable tile get/put functions
ipe/util/p_tile.c
ipe/util/p_tile.h
|
659baa3f25275b622dad626992af60f3c9ea6d66 |
15-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Whitespace and comment changes to bring intel_mipmap_tree.c closer.
rivers/dri/intel/intel_mipmap_tree.c
|
3fe9d5cbb7c680c6fb88a2eba678b28a2a06949e |
15-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Merge intel_buffer_objects to shared. 965 gains fixed TTM typing of the buffer object buffers and unused PBO functions, and 915 gains buffer size == 0 fixes from 965.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_regions.c
|
f5b3cd46202517c21fcfcec0102732411df1af18 |
15-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Use shared intel_regions.c. This adds (so far) unused PBO functions, and holding the lock while writing to regions (which may be shared static screen regions).
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_regions.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
|
de1201a0ba05068ccdc731f0a79395ce58b9121a |
15-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack overflow
ipe/softpipe/sp_tile_cache.c
|
5e3ef623ee8a6f7ea25242908b76bd47e48f4781 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix uninitialized data in screen-region buffer objects.
rivers/dri/intel/intel_bufmgr_ttm.c
|
55539f6b2a7a15b48e1c1ba37d08ce03e6fa11e2 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Remove excessive validation debugging.
rivers/dri/intel/intel_bufmgr_ttm.c
|
b8b49529b329dc10584c91c56223a5c7a04a9795 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Initialize debug flag for dri_bufmgrs
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
c5456a6b24525e9307e58fc2a02a6f62ca507730 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Remove useless intel_region_idle. The idling it was trying to ensure was covered by the intel_miptree_image_map()->intel_region_map() that immediately followed it.
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
84a076079d3a038115a39b1c283b46a574591e07 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] warnings cleanup
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
507d43f95bc1623f413603e7f8c134553d11c184 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix polygon cull regression
wrast/s_context.c
|
017f862de1f857bca29f09794539aaf411014f13 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added origin_lower_left field to pipe_rasterizer_state This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple.
ipe/p_state.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_stipple.c
tate_tracker/st_atom_rasterizer.c
|
6f7d35318df592ec42a37ad0d42890118c02a6b8 |
12-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Remove the relocation buffer lists and just cache one per buffer. Each buffer object now has a relocation buffer pointer, which contains the relocations for the buffer if there are any. At the point where we have to create a new type of relocation entry, we can change the code over to allowing multiple relocation lists, but trying to anticipate what that'll look like now just increases complexity. This is a 30% performance improvement on 965.
rivers/dri/intel/intel_bufmgr_ttm.c
|
38bad7677e57d629eeffd4ef39a7fc254db12735 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Replace the state cache suballocator with direct dri_bufmgr use. The user-space suballocator that was used avoided relocation computations by using the general and surface state base registers and allocating those types of buffers out of pools built on top of single buffer objects. It also avoided calls into the buffer manager for these small state allocations, since only one buffer object was being used. However, the buffer allocation cost appears to be low, and with relocation caching, computing relocations for buffers is essentially free. Additionally, implementing the suballocator required a don't-fence-subdata flag to disable waiting on buffer maps so that writing new data didn't block on rendering using old data, and careful handling when mapping to update old data (which we need to do for unavoidable relocations with FBOs). More importantly, when the suballocator filled, it had no replacement algorithm and just threw out all of the contents and forced them to be recomputed, which is a significant cost. This is the first step, which just changes the buffer type, but doesn't yet improve the hash table to not result in full recompute on overflow. Because the buffers are all allocated out of the general buffer allocator, we can no longer use the general/surface state bases to avoid relocations, and they are set to 0 instead.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
|
f3b3ea9742e6511fa46332c2c6d2433f96cc5c10 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
update_samplers() didn't respect the sampler->texunit mapping. This fixes the glsl/texdemo1.c program.
tate_tracker/st_atom_sampler.c
|
fce4612f8a29ee1798c9326a431a139d856c7a04 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
set SamplerUnit[] entry in load_texture() just to be safe
ain/texenvprogram.c
|
814d4ff83a515fe161cfb86c8b1492e2218051fe |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
emit tgsi declarations for texture samplers
tate_tracker/st_mesa_to_tgsi.c
|
1e3b07f363e6bf512ab1a5c620656985aece40fd |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
set program->SamplersUsed bit when using a texture instruction
ain/texenvprogram.c
|
e785f190f0d49f0367f7468c22b77962d0f14ea0 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Don't always declare frag shader INPUT[0] as fragment position. We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out.
ipe/p_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_earlyz.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
tate_tracker/st_atom_shader.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
|
23e36c2dfb1f9501a6a1023afc1d0c151f2e99c3 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comment for TGSI_TOKEN_TYPE_IMMEDIATE case
ipe/i915simple/i915_fpc_translate.c
|
0037ad4186c11267d85fcde378be79eb6acf74f3 |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Remove broken mutex protection from dri_bufmgrs. Now that the dri_bufmgr is stored in the context rather than the screen, all access to one is single-threaded anyway.
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
dbfe05ca24d3b111482c079cc7a40da160b6074c |
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Enable INTEL_DEBUG=bufmgr output in TTM mode as well as classic.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_context.c
|
9f7d6b72108d9d8bec5f567bcaf33714ffe3ebc2 |
13-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] assert that buffers are not mapped at last unreference. bufmgr_fake doesn't care about it, but with ttm we would end up with the buffer remaining referenced until application exit.
rivers/dri/common/dri_bufmgr_fake.c
|
a2b4d4a8db77443b834daf811802a909768fa926 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
add missing code for PIPE_FORMAT_S8_UNORM renderbuffer
tate_tracker/st_cb_fbo.c
|
e2d7107cc2427a0e61949ead50cf0ac2c2bc6f11 |
14-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused var
ipe/softpipe/sp_context.c
|
7a2d3ac5bcad87d139f97eaa9ca2aa90d174240a |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: get brw_wm_surface_state compiling again
ipe/i965simple/brw_state.c
ipe/i965simple/brw_wm_surface_state.c
|
568fcf64c774f5f8e9f65bb86c121f5d550b1632 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: get fragment shader compiler compiling Don't think that it will run though.
ipe/i915simple/i915_texture.c
ipe/i965simple/Makefile
ipe/i965simple/brw_batch.h
ipe/i965simple/brw_cc.c
ipe/i965simple/brw_clip_state.c
ipe/i965simple/brw_context.c
ipe/i965simple/brw_context.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_eu.h
ipe/i965simple/brw_eu_emit.c
ipe/i965simple/brw_gs_state.c
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf.h
ipe/i965simple/brw_sf_emit.c
ipe/i965simple/brw_sf_state.c
ipe/i965simple/brw_shader_info.c
ipe/i965simple/brw_state.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_state_cache.c
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_state_upload.c
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_vs_state.c
ipe/i965simple/brw_wm.c
ipe/i965simple/brw_wm.h
ipe/i965simple/brw_wm_decl.c
ipe/i965simple/brw_wm_glsl.c
ipe/i965simple/brw_wm_sampler_state.c
ipe/i965simple/brw_wm_state.c
ipe/p_util.h
ipe/softpipe/sp_texture.c
|
c605a55e9f771a2f0e85d69ff60059f7ea95320f |
13-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: make the wm_surface compile
ipe/i965simple/brw_wm_surface_state.c
|
c4d71c719c0648909ae98bd7cbfadc590b064b13 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: implement magic buffer offset callback
ipe/xlib/xm_winsys_aub.c
|
a6ae4ea854c62d7d96060ba7044b5e2b73f761f5 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: magic callback to get buffer offset
ipe/i965simple/brw_winsys.h
|
81c9058ea90615cd0c819da6e51c3a539a540a7e |
13-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi interpreter. The tgsi linear/perspective attribute code now uses these values rather than input[0]. Need to update SSE path to take quad x,y as function params. Then, we can remove additional code.
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
8cd608d5ba538cdebea7e9bb51c1458ce7eb5137 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: missing code from last commit
ipe/i965simple/brw_context.h
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_state.c
|
559750298a40ac845262365aa0d3d69e6dca0ced |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove dead code
ipe/i965simple/Makefile
ipe/i965simple/brw_vtbl.c
|
0c2e87d565ced28594156e71ecd387227746e2e3 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove dead code
ipe/i965simple/Makefile
ipe/i965simple/brw_vs_constval.c
|
19025605e9a01c6970651b01b76150a00d956f92 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove dead code
ipe/i965simple/brw_wm_fp.c
|
7abe2bfefadfdf6dbce44395ab0d206652f5bff4 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove dead code
ipe/i965simple/brw_wm.c
|
54f1ce3b273d81c19aea5cc060cfc9d088b003ef |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove reference to metaops
ipe/i965simple/brw_vs.c
|
1f1506ec94f3d44091de88d8bcd7ab9c20a6e7b2 |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: use state atom array directly
ipe/i965simple/brw_state_upload.c
|
4844b9fb9d24b119935d540dd345707dd81d9f4a |
13-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: calculate nr enabled vbos on the fly
ipe/i965simple/brw_draw_upload.c
|
da89104c576b5b7a0c581a018a8b1c2d770e13c2 |
13-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Actually allocate the output registers. In tgsi the output's will (hopefully) consecutive so this check (besides not being currently implemented) is not necessary.
ipe/i965simple/brw_vs_emit.c
|
417c2953339bc281f0ac486777afbbd00a385294 |
13-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added r5g5b5_put_tile_rgba()
ipe/softpipe/sp_rgba_tile.c
|
4416514aa82e59eae559b59e49846931fdf85f56 |
13-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove get/put_tile_rgba() functions. Temporarily, use the functions from sp_rgba_tile.c
ipe/i915simple/i915_surface.c
ipe/i965simple/brw_surface.c
|
034476fc78b626915e0c597b08df437ea59e22c8 |
13-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #include
ipe/softpipe/sp_rgba_tile.c
|
37406c2038c418a1d6f26b5ac5691586c9f05631 |
11-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Assert against conflicting relocation emits in bufmgr_fake.c
rivers/dri/common/dri_bufmgr_fake.c
|
a4ca2591f67a5d088fb7acc56d3d6d98aede753a |
13-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move float/rgba tile get/put functions into new file. This should be moved into a gallium util lib (location tbd) so it can also be used by the state tracker. Then, remove the pipe->get/put_tile_rgba() functions.
ipe/i915simple/i915_surface.c
ipe/softpipe/Makefile
ipe/softpipe/sp_rgba_tile.c
ipe/softpipe/sp_rgba_tile.h
ipe/softpipe/sp_surface.c
|
708251558c4eb1719a0f73d83c233c7a492f2297 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
PIPE_SCREEN_SURFACE no longer needed
ipe/cell/ppu/cell_context.c
ipe/i915simple/i915_context.c
ipe/i965simple/brw_context.c
ipe/p_defines.h
ipe/softpipe/sp_context.c
|
20eae595faa20dba8a59d8a4bfd01aa6b458cecd |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Re-org of st_create_framebuffer() and renderbuffer format selection. st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too.
rivers/dri/intel_winsys/intel_screen.c
ipe/softpipe/sp_surface.c
ipe/xlib/xm_api.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
a51d0e419a285c5445061a38fdaf3aca02ad2c3c |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
move some code to avoid deref of NULL ptr
ipe/softpipe/sp_tile_cache.c
|
5ad260246bbcd3f40f9f7f64fac82f1fb2aa3efb |
12-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Bug #13600: Fix assertion failure with SRGB textures. I broke this with cherry-pick resolving on 93c98a466947570e0589b662df49095b2f4bc43c.
rivers/dri/intel/intel_tex_format.c
|
06036bc8c4d31d36f2e143f5d7f2db866f44b342 |
12-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove complex compiler for simple fragment programs. Keep the simple compiler for complex fragment programs...
ipe/i965simple/Makefile
ipe/i965simple/brw_wm_debug.c
ipe/i965simple/brw_wm_emit.c
ipe/i965simple/brw_wm_pass0.c
ipe/i965simple/brw_wm_pass1.c
ipe/i965simple/brw_wm_pass2.c
|
ea7c533d40f78a1f62c7b7129a2ad6b33f810da4 |
12-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: sketch changes to brw_wm_surface_state.c
ipe/i965simple/brw_wm_surface_state.c
|
216de6ab5bd87dece8e68055018e5b91ff549089 |
12-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: delete dead files
ipe/i965simple/Makefile
ipe/i965simple/brw_tex.c
|
5978289df1ea406c684b7193e5f4694eac6c00fb |
12-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: delete dead files
ipe/i965simple/Makefile
ipe/i965simple/brw_regions.c
ipe/i965simple/brw_regions.h
|
20e6a9b86d715c38f64828d6a306c048571499a6 |
12-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: delete dead files
ipe/i965simple/Makefile
ipe/i965simple/brw_metaops.c
ipe/i965simple/brw_program.c
|
69292a0067ef77cde607183f1719bae61ef0f3a5 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old assertion
ipe/i915simple/i915_surface.c
|
829099210ba442e7035659e8db3c2e059e059c24 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types
ipe/i915simple/i915_context.c
|
b22287d0972ab37c822457a31609adfc4fb98573 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
update format param type
rivers/dri/intel_winsys/intel_winsys_softpipe.c
|
d7aa44636988941d5d09ba943104033dd1912c80 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request.
tate_tracker/st_format.c
|
77baacbab156cd3859fe50e05c2ff55fe8e27926 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some mistakes in the _PIPE_FORMAT_x #defines
ipe/p_format.h
|
7c71ef3a3d0cf2620525f468960cdc76a0fb0d33 |
12-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move bufmgr back to context instead of screen, fixing glthreads. Putting the bufmgr in the screen is not thread-safe since the emit_reloc changes. It also led to a significant performance hit from pthread usage for the attempted thread-safety (up to 12% of a cpu spent on refcounting protection in single-threaded 965). The motivation had been to allow multi-context bufmgr sharing in classic mode, but it wasn't worth the cost.
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_ioctl.h
rivers/dri/i965/intel_regions.h
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
|
a308a3e3f8f3eb6ad459c79c36a988c1e33c3f56 |
12-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i965: compile vertex shaders and emit hardware instructions impossible to test because fragment shaders haven't been done yet and it crahses in the fragment shading code. but given that i'm infallible (and highly dillusional) i'm sure it's correct.
ipe/i965simple/brw_vs_emit.c
|
94e19777c9db476e930147346fe9217bfc879b1e |
11-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
i915tex: remove. it's deprecated and causes merge problems we did some small changes in the beginning of the gallium3d lifecycle in i915tex which is not in master anymore and just causes problems when doing merges. getting rid of the headache by just nuking it here
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i830_context.c
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_reg.h
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i830_tex.c
rivers/dri/i915tex/i830_texblend.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i915tex/i915_metaops.c
rivers/dri/i915tex/i915_program.c
rivers/dri/i915tex/i915_program.h
rivers/dri/i915tex/i915_reg.h
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_tex.c
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_batchpool.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_buffer_objects.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_depthstencil.c
rivers/dri/i915tex/intel_depthstencil.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_ioctl.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel.h
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_render.c
rivers/dri/i915tex/intel_rotate.c
rivers/dri/i915tex/intel_rotate.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_span.h
rivers/dri/i915tex/intel_state.c
rivers/dri/i915tex/intel_structs.h
rivers/dri/i915tex/intel_surface.c
rivers/dri/i915tex/intel_tex.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_copy.c
rivers/dri/i915tex/intel_tex_format.c
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/i915tex/intel_tex_layout.c
rivers/dri/i915tex/intel_tex_subimage.c
rivers/dri/i915tex/intel_tex_validate.c
rivers/dri/i915tex/intel_tris.c
rivers/dri/i915tex/intel_tris.h
rivers/dri/i915tex/server/i830_common.h
rivers/dri/i915tex/server/i830_dri.h
rivers/dri/i915tex/server/intel.h
rivers/dri/i915tex/server/intel_dri.c
|
00e10a1385bfd376f5f45ad94e3543ac87f15de8 |
12-Dec-2007 |
Keith Packard <keithp@keithp.com> |
Block in kernel waiting for fence
rivers/dri/intel/intel_bufmgr_ttm.c
|
aeca22f97c5650108a315063ea76ad2204bb2ef5 |
06-Dec-2007 |
Keith Packard <keithp@keithp.com> |
Use previous buffer offsets to compute proposed relocations This takes advantage of the DRM_BO_HINT_PRESUMED_OFFSET change and allows the kernel to avoid mapping and re-writing buffers when relocations occur.
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
1029c00a269d7f98ed659bb48727a17ef5dea9e5 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove more -I paths
ources
|
5dcc894ea2d926d4845e805298b79c514f58687d |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
prefix some #includes
ain/dispatch.c
|
6f467e57376e94a6da0e3d363ecaecc52ca8a3c8 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
trim down #includes
ipe/xlib/glxapi.c
ipe/xlib/xm_api.c
|
68caa076a94c28c1c9e62b9831d5f31c1bb008ce |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
trim down -I options
ources
|
3d9bdaa80b9faaefcb896580717f4854e034410b |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.
ipe/draw/draw_vertex_shader.c
|
b2ad30d57197c2167789e4f3f5b34af6df56dde2 |
12-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Cell: draw smooth-shaded triangle
ipe/cell/common.h
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
|
9828310a1bba1c1c2dffa7ae8866b648e26c2039 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Collect some global vars in a single struct.
ipe/cell/common.h
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/main.h
|
fda387988c24fad4e0a743f16173dc3c71cbe084 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove temporary cell_create_surface()
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
|
457a96e7773fb148136af76a8cf746e72c2ef722 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
SPU function prototypes, etc.
ipe/cell/spu/main.h
|
9a0fe23d493dc9307d76f0a35cbe4f410ee3df28 |
11-Dec-2007 |
Ian Romanick <idr@us.ibm.com> |
Port to libspe2 libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0. This patch ports the existing libspe-based code to libspe2. Some error checking (eh-hem) would be nice.
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/ppu/cell_surface.c
|
f3789748d4b8f38bfea2f30ef93e9ff3e3888af4 |
11-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM. The packedpixels test runs with the xlib winsys, though not all cases look correct yet.
ipe/softpipe/sp_surface.c
tate_tracker/st_format.c
|
88723b2fc84628c1bc1e0008b88602b85e8668be |
11-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove internal_format field from struct pipe_texture. It's state tracker specific / not really necessary anyway.
ipe/p_state.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
13699463a33c1adf44005125c488e886e074a05b |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rework gallium and mesa queries a little. Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries.
rivers/common/driverfuncs.c
ain/dd.h
ain/queryobj.c
ain/queryobj.h
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_query.c
ipe/softpipe/sp_query.h
tate_tracker/st_cb_queryobj.c
|
b247ab036327d66b8b9b1aff2dbcf4520ed0284f |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
965: remove duplicate brw_draw functions, make init a bit cleaner
ipe/i965simple/brw_context.c
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw.h
|
ecb5e14e8688e31446fdcbdea59d25ea628fb211 |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove clear values from depth, stencil state
ipe/p_state.h
tate_tracker/st_atom_depth.c
|
4a4543f5360b5f0a3350d9db770f1325cc3a9e84 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix align16() function to work with 32/64-bit pointers on big-endian.
ipe/p_util.h
|
23ca30e24bbc8390127910c64da4a321ae63ce3a |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
change align_malloc() alignment to uint
ipe/p_util.h
|
5b8b542cb2f10c5c39b9db18cd95e553ad06061b |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move align_malloc(), align_free() to p_util.h
ipe/p_util.h
ipe/xlib/xm_winsys.c
|
9f0e5642d80d746aa757a1e67dec15b0fd404e5d |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
use ALIGN16_ATTRIB from p_compiler.h
ipe/cell/common.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
|
1bc303283e85ac15e74af1a2297166d87986e15e |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove obsolete clear_color, tex sampler state
ipe/cell/ppu/cell_context.h
|
6465c78049c07e4f97dd3e6494aca395ff357b0e |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove obsolete clear_color, tex sampler state functions
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_state_sampler.c
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
|
f9562ff85dd3ace60550110598687c3e728b0e6e |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0) We're hitting this with quite a few Mesa demos.
ipe/tgsi/exec/tgsi_sse2.c
|
a0dacbf369b1b0496f7cd2df2f7b7ecb621a024c |
11-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Adopt llvm to some of the latest changes.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/gallivm.cpp
ipe/llvm/storage.cpp
|
63a9d835ce3f446fe2cf69e7623d228bcc6ee91c |
09-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redo the fragment program examples to match vp's we just load text files instead of compiling tons of small binaries
ipe/llvm/gallivm.cpp
|
6dc4e6ae15676cf4acdebb9c798bfa4083ad1e14 |
07-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redo the way we pass arguments to the llvm. simply pass aligned arrays, they should cast to vectors without any problems. also remove unnecessary memset
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/p_compiler.h
ipe/softpipe/sp_quad_fs.c
|
9d6e6e86d9592afbdbaa83fc89891e6813fc3f2f |
07-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
number of outputs is nr_attribs - 2
ipe/draw/draw_vertex_shader_llvm.c
|
1f30efb7365075de0ae119a40ab70a16bc547670 |
06-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement kilp and make it work
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_builtins.c
ipe/llvm/llvm_entry.c
ipe/llvm/storage.cpp
ipe/llvm/storage.h
ipe/softpipe/sp_quad_fs.c
|
8681deddd7a7e749adaf43c7df4313ea54922e62 |
05-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Rewrite argument passing to prepare for handling of the kil instruction. Pass the inputs/outputs pointer in the structure instead of infinitely expanding arguments to the functions.
ipe/llvm/gallivm.cpp
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
c3af68dc5022715cc8f126b7df12f3f5248aefe7 |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove set_sampler_units interface The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_sampler.c
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i965simple/brw_state.c
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_context.h
|
8dc188485be27dee7a3f2d1cc47527e183d7ee17 |
29-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
make sure state token values are fully initialized
hader/arbprogparse.c
hader/prog_parameter.c
|
94cadef31f9d4ee9fce1bfa66fabb0a403a6f049 |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove redundant clear_color state.
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i965simple/brw_context.h
ipe/i965simple/brw_state.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_clear_color.c
tate_tracker/st_context.h
|
48731280d08bef51c406703e82986643e17b4757 |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Remove feedback interfaces from pipe driver. Something similar will return when geometry shaders are added, but for now this interface is not required.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_feedback.c
ipe/draw/draw_private.h
ipe/draw/draw_validate.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_feedback.c
ources
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.h
|
89afc929f4e18165f1043c36844150e78f300cd5 |
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove dead pbo zcopy code
tate_tracker/st_cb_texture.c
|
60b8900b13a591e4a761baa0d6d40bcaca0c36d8 |
11-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Hmm, missed these two files. Sorry.
ipe/xlib/xm_winsys_aub.c
ipe/xlib/xm_winsys_aub.h
|
c474f1fb9088528af998168717783b52e5c2f0a2 |
11-Dec-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Port i965 driver to Gallium3D. This is a squashed commit of i965 branch on ssh://people.freedesktop.org/~zack/mesa Because of the porting the branch often didn't compile so squashing it makes more sense. The port is still far from complete.
akefile
ipe/Makefile
ipe/i965simple/Makefile
ipe/i965simple/brw_batch.h
ipe/i965simple/brw_blit.c
ipe/i965simple/brw_blit.h
ipe/i965simple/brw_cc.c
ipe/i965simple/brw_clip.c
ipe/i965simple/brw_clip.h
ipe/i965simple/brw_clip_line.c
ipe/i965simple/brw_clip_point.c
ipe/i965simple/brw_clip_state.c
ipe/i965simple/brw_clip_tri.c
ipe/i965simple/brw_clip_unfilled.c
ipe/i965simple/brw_clip_util.c
ipe/i965simple/brw_context.c
ipe/i965simple/brw_context.h
ipe/i965simple/brw_curbe.c
ipe/i965simple/brw_defines.h
ipe/i965simple/brw_draw.c
ipe/i965simple/brw_draw.h
ipe/i965simple/brw_draw_upload.c
ipe/i965simple/brw_eu.c
ipe/i965simple/brw_eu.h
ipe/i965simple/brw_eu_debug.c
ipe/i965simple/brw_eu_emit.c
ipe/i965simple/brw_eu_util.c
ipe/i965simple/brw_flush.c
ipe/i965simple/brw_gs.c
ipe/i965simple/brw_gs.h
ipe/i965simple/brw_gs_emit.c
ipe/i965simple/brw_gs_state.c
ipe/i965simple/brw_metaops.c
ipe/i965simple/brw_misc_state.c
ipe/i965simple/brw_program.c
ipe/i965simple/brw_reg.h
ipe/i965simple/brw_regions.c
ipe/i965simple/brw_regions.h
ipe/i965simple/brw_sf.c
ipe/i965simple/brw_sf.h
ipe/i965simple/brw_sf_emit.c
ipe/i965simple/brw_sf_state.c
ipe/i965simple/brw_state.c
ipe/i965simple/brw_state.h
ipe/i965simple/brw_state_batch.c
ipe/i965simple/brw_state_cache.c
ipe/i965simple/brw_state_pool.c
ipe/i965simple/brw_state_upload.c
ipe/i965simple/brw_strings.c
ipe/i965simple/brw_structs.h
ipe/i965simple/brw_surface.c
ipe/i965simple/brw_tex.c
ipe/i965simple/brw_tex_layout.c
ipe/i965simple/brw_tex_layout.h
ipe/i965simple/brw_urb.c
ipe/i965simple/brw_util.c
ipe/i965simple/brw_util.h
ipe/i965simple/brw_vs.c
ipe/i965simple/brw_vs.h
ipe/i965simple/brw_vs_constval.c
ipe/i965simple/brw_vs_emit.c
ipe/i965simple/brw_vs_state.c
ipe/i965simple/brw_vtbl.c
ipe/i965simple/brw_winsys.h
ipe/i965simple/brw_wm.c
ipe/i965simple/brw_wm.h
ipe/i965simple/brw_wm_debug.c
ipe/i965simple/brw_wm_emit.c
ipe/i965simple/brw_wm_fp.c
ipe/i965simple/brw_wm_glsl.c
ipe/i965simple/brw_wm_iz.c
ipe/i965simple/brw_wm_pass0.c
ipe/i965simple/brw_wm_pass1.c
ipe/i965simple/brw_wm_pass2.c
ipe/i965simple/brw_wm_sampler_state.c
ipe/i965simple/brw_wm_state.c
ipe/i965simple/brw_wm_surface_state.c
ipe/xlib/brw_aub.c
ipe/xlib/brw_aub.h
ipe/xlib/xm_api.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
ources
|
12363674e5aa39b780020339038186b7715bd4b2 |
11-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Add surface storage allocation function to winsys interface.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/i915simple/i915_surface.c
ipe/p_winsys.h
ipe/softpipe/sp_surface.c
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_fbo.c
|
609538f57c93c6b6166777a329d80c46fef86f0b |
11-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Add inline funtion to comput format size based on code in st_format.c. Including state_tracker/st_format.h from pipe drivers is not an option since it uses GL* types and pipe/p_util.h will clash with main/imports.h.
ipe/p_format.h
|
7d1894c6558c5cc7f503142cda11b8a12ea24e65 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Cell: first triangle. This is a feeble first step, but it works. The cell_clear_surface() function has been hijacked to set up a "draw triangle" command and send it to all the SPUs. The Gallium softpipe triangle code was copied to the SPU module and modified. Only the progs/trivial/clear.c program runs.
ipe/cell/common.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
ipe/xlib/xm_winsys.c
|
c9f9c5098042e4f200efc3d25447a5a8b7e69b36 |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
XXX comments about some hard-coded values that need to be fixed
tate_tracker/st_cb_fbo.c
tate_tracker/st_draw.c
|
5d41a71392bd2d52ac83619a01b2b2e7cb8a2fed |
11-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor clean-ups, comments
ipe/softpipe/sp_prim_setup.c
|
ffee86f69711e96c5a9ae68376aaf8a044c73dc8 |
10-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Hook up DEBUG_BUFMGR output for bufmgr_fake.
rivers/dri/intel/intel_context.c
|
0a79c65073db7dbeb9a83e40a4516edcb4f25ee5 |
10-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: use hardcoded cliptest code for fixed planes
ipe/draw/draw_vertex_shader.c
|
f2feb2e4c7304b1c57af2f77f00766cb529822da |
10-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: disable assert(0) in xmesa_surface()
ipe/xlib/xm_winsys.c
|
7c306afdaad534cc4b474f07b4970bbf3ea46ff9 |
10-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove unnecessary guards on qs->next
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_earlyz.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
|
e53303ba3b69c2c82cefd58e90d06132c2af2bb7 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Cell driver state-setter functions, basic tile get/put, glClear. The state setting code was mostly just copied from the softpipe driver. The SPUs can now get/put framebuffer tiles from/to main memory and clear them to a given color. Lots of debug code in effect. Tiled framebuffer is displayed in X window via the xmwinsys layer. To enable Cell driver, export GALLIUM_CELL=1
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_flush.c
ipe/cell/ppu/cell_flush.h
ipe/cell/ppu/cell_spu.c
ipe/cell/ppu/cell_spu.h
ipe/cell/ppu/cell_state.h
ipe/cell/ppu/cell_state_blend.c
ipe/cell/ppu/cell_state_clip.c
ipe/cell/ppu/cell_state_fs.c
ipe/cell/ppu/cell_state_rasterizer.c
ipe/cell/ppu/cell_state_sampler.c
ipe/cell/ppu/cell_state_surface.c
ipe/cell/ppu/cell_state_vertex.c
ipe/cell/ppu/cell_surface.c
ipe/cell/ppu/cell_surface.h
ipe/cell/ppu/cell_winsys.c
ipe/cell/ppu/cell_winsys.h
ipe/cell/spu/main.c
ipe/xlib/xm_winsys.c
|
e248f940506a678acc0cad1c925c0b11cca09672 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove ~ backup files
ipe/cell/spu/Makefile
|
4f58d9af9addb1506a1b2abc7dd8012147772b78 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add 'type' parameter to is_format_supported() to specify texture vs. drawing surface, etc. Additional types may be added in the future.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/p_defines.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_winsys.h
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_format.c
tate_tracker/st_format.h
tate_tracker/st_framebuffer.c
|
f26936b35253b697f1ccb5c2898a8607564bdcfe |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable assertion in sp_tile_cache_set_surface() for now
ipe/softpipe/sp_tile_cache.c
|
4ccd3124f611b33c062c4b0004616171934f1908 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement i915_put_tile_rgba() - temporary code though
ipe/i915simple/i915_surface.c
|
1b20b2d53b0aa4c81291e1ffd888b59fb9f1fb02 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't use get/put_tile_rgba() for accum buffer accesses
tate_tracker/st_cb_accum.c
|
37484a387495f1241e5e1220243d6355f5333aca |
10-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. intel_winsys works again.
ipe/i915simple/i915_texture.c
ipe/softpipe/sp_texture.c
tate_tracker/st_cb_fbo.c
|
41ce1f8fb30c9a918d85d4016ce82fe2a3d2c72c |
10-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Link fewer common objects into Gallium winsys layers. These are useless or even harmful due to referencing symbols no longer available in the Gallium build.
rivers/dri/Makefile.template
rivers/dri/intel_winsys/Makefile
|
f7195b32323d50e9541a5c5cb3143e83d05bd8d8 |
10-Dec-2007 |
Ben Skeggs <skeggsb@gmail.com> |
Correct user VBO size.
tate_tracker/st_draw.c
|
913703d4b822a794853e566d4ab2bfef01ca5099 |
10-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove stray references to struct pipe_region.
rivers/dri/intel_winsys/intel_context.h
ipe/p_winsys.h
tate_tracker/st_texture.h
|
63e2ab83f6f3955c230bf71662136b34ff46dfe2 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
use quadColor local var
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_output.c
|
98848382731b71a51e4a80f1820f009e70f06a25 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix looping for multi-color buffer writing.
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_output.c
|
04e88f469cf6c338ba04640738865b59e160c3d4 |
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added null ptr check in draw_destroy() for rasterizer stage
ipe/draw/draw_context.c
|
f8f9580a2a1c89af1dc0e169b62440053d9d7e81 |
09-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Adapt for winsys interface changes.
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/x11/xm_winsys.c
ipe/draw/draw_vertex_fetch.c
ipe/i915simple/i915_texture.c
ipe/softpipe/sp_texture.c
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_fbo.c
|
de7e51ff9854605cd0bbbe5829d6d987ea0a5fca |
05-Dec-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: use SSE by default
ipe/draw/draw_context.c
ipe/softpipe/sp_context.c
|
6cdcebe8017b56e2f823dd3f6d805e55056f7e9b |
28-Nov-2007 |
Michal <michal@tungstengraphics.com> |
Allow tgsi_dump print-out to stderr or a string buffer. Handle source register complement modifier in exec and dump.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/util/tgsi_dump.c
ipe/tgsi/util/tgsi_dump.h
|
273f6e769897032b15a8739394669fd11f76f145 |
25-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Remove buffer_unfence and buffer_finish. These interfaces have been deemed useless by Keith.
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_fenced.h
|
b47836225185c8d2e2ccf3e191230304709d0a57 |
23-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Reusable pipe buffer library. This is an optional library that winsys drivers can use to simplify memory management, and help meet the winsys interface requirements.
ipe/Makefile
ipe/pipebuffer/Makefile
ipe/pipebuffer/linked_list.h
ipe/pipebuffer/pb_buffer.c
ipe/pipebuffer/pb_buffer.h
ipe/pipebuffer/pb_buffer_client.c
ipe/pipebuffer/pb_buffer_fenced.c
ipe/pipebuffer/pb_buffer_fenced.h
ipe/pipebuffer/pb_buffer_handle.c
ipe/pipebuffer/pb_buffer_handle.h
ipe/pipebuffer/pb_buffer_malloc.c
ipe/pipebuffer/pb_buffer_null.c
ipe/pipebuffer/pb_bufmgr.h
ipe/pipebuffer/pb_bufmgr_fenced.c
ipe/pipebuffer/pb_bufmgr_mm.c
ipe/pipebuffer/pb_bufmgr_pool.c
|
708582f6d5bec57716a894a18491078c40448dea |
23-Nov-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: fix ordering of arguments to pack_ui32_float4
ipe/p_util.h
|
bbecce52f8f9db729810ed70ba1c4112d45cc583 |
23-Nov-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: initialized draw element buffer to NULL
ipe/draw/draw_context.c
|
da47ad07ef8cf69a74f4414f7957e0749fa6f7ad |
23-Nov-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: add support for aliased 4ub format
ipe/draw/draw_vertex_fetch.c
|
73a05942766cee4e3cc200725e9760c5a9b67bb4 |
23-Nov-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: support the full range of possible vertex types
tate_tracker/st_draw.c
|
d75454840672f462de933724daae24a839aac48e |
23-Nov-2007 |
Michal <michal@tungstengraphics.com> |
gallium: add draw_stage::destroy().
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_cull.c
ipe/draw/draw_feedback.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_linestipple.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_validate.c
ipe/draw/draw_vbuf.c
ipe/draw/draw_wide_prims.c
ipe/i915simple/i915_prim_emit.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/tgsi/exec/tgsi_exec.c
|
74fe189b2e1d8f661a1678e65d21da788b3b4435 |
23-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.
ipe/p_winsys.h
|
6e876d1d32e1b08ded161bfbd7abf2d3fb422fa0 |
21-Nov-2007 |
keithw <keithw@keithw-laptop.(none)> |
temporary _mesa_printf symbol
ipe/p_util.h
|
e87efe74073938e6dea5f30654f6afb931da1e2c |
21-Nov-2007 |
keithw <keithw@keithw-laptop.(none)> |
[pipe]: add Offset() util macro
ipe/p_util.h
|
79ad82477adab2c234370623c48c35316e94ad02 |
20-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Document return types.
ipe/p_winsys.h
|
cd1eefee8404ae69ea5b604971b8be78abf588e6 |
19-Nov-2007 |
keithw <keithw@keithw-laptop.(none)> |
add fence interfaces and buffer create flags to pipe_winsys
ipe/i915simple/i915_prim_vbuf.c
ipe/p_defines.h
ipe/p_winsys.h
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_draw.c
|
f83d4e7bde28d6f73a0de96781da506ddb338714 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Try to reduce the frequency of calls to pipe->get_tex_surface() Save the surface info in the tile cache and re-use whenever possible.
ipe/softpipe/sp_tile_cache.c
|
a110789f3ecc883fbd0f39758c40a6adc5118aff |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
shorten loops over color bufs
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_flush.c
|
5d4b53b3afcb6014200faad8712bbb13af30469e |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
code re-org in softpipe_clear()
ipe/softpipe/sp_clear.c
|
d1d9156831d390eaffefbceb8b56916b21fb6dbc |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups
ipe/softpipe/sp_surface.c
|
127a493fe2a2f7fd8515b278185322dfacdad357 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Tile clearing optimizations. Clear using int values rather than floats when possible. Better performance now.
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
51537e0b6efec61e10db522ba2c0c66b407d7f26 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable, remove tnl module from the Gallium build since no longer used.
ources
|
c885775cae8feabe5431ba7867fac99332f5ee8e |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
tate_tracker/st_cb_feedback.c
tate_tracker/st_draw.c
nl/t_context.c
bo/vbo.h
bo/vbo_context.c
|
e3a6e60040b7f6ea7965e52f8f9881ed31e0347c |
08-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Convert the driver to dri_bufmgr interface and enable TTM. This is currently believed to work but be a significant performance loss. Performance recovery should be soon to follow. The dri_bo_fake_disable_backing_store() call was added to allow backing store disable like bufmgr_fake.c did, which is a significant performance win (though it's missing the no-fence-subdata part). This commit is a squash merge of the 965-ttm branch, which had some history I wanted to avoid pulling due to noisiness and brokenness at many points for git-bisecting.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/intel_context.h
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_dump.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/i965/intel_bufmgr_ttm.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_ioctl.h
rivers/dri/i965/intel_regions.h
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_validate.c
|
40e9c57d318c1d4a1e75fe0c88374182050d7f48 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable swrast, swrast_setup and driverfuncs in the build. The gallium/state tracker no longer uses them and this speeds up the build a bit.
ources
|
2d2bb35f96de6a2c498a2309a4f924acd256c317 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move _mesa_init_glsl_driver_functions() into shader_api.c This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
hader/shader_api.c
hader/shader_api.h
tate_tracker/st_context.c
|
54fc80ab31f89520d3119196bfa9c6332b35fe2f |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_sampler.c
ipe/p_context.h
ipe/p_format.h
ipe/p_state.h
ipe/p_winsys.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_tile_cache.c
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
3ecdae82d751f9f404d10332f030e3280949ce4e |
08-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Remove dead code in upload_wm_surfaces.
rivers/dri/i965/brw_wm_surface_state.c
|
e34a183d870e393187b2c26e37ea1e900c2ab1f7 |
08-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Move brw_surface_state stack allocation into the function using it.
rivers/dri/i965/brw_wm_surface_state.c
|
6070a0eb2ba9ba29b861153a10e91c5b463a2ffc |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
include tgsi_dump.h
tate_tracker/st_program.c
|
d3e05111c8c8f87db7f577eb7096d65479a7e481 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace "duplicate" formats
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_format.c
|
2067eed9d30bb5b260920a5650655579c1988202 |
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Get rid of "duplicate" formats. For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
rivers/dri/intel_winsys/intel_winsys_softpipe.c
ipe/draw/draw_vertex_fetch.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_sampler.c
ipe/i915simple/i915_surface.c
ipe/p_format.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tile_cache.c
ipe/xlib/xm_api.c
ipe/xlib/xm_winsys.c
|
099bf3ffe932f4a8c1ddae064bce901555af35ce |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Enable the tile clear "optimization" Not really faster yet because we're using the float-valued put/get_tile() functions so we're doing quite a bit of float/int conversion. That can be fixed though...
ipe/softpipe/sp_tile_cache.h
|
872caf6089e325cf3a0cee877f5119cac560edac |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Make sp_tile_cache_flush_clear() static. Also, misc clean-ups, comments.
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
c69c7a6054ad038f9da85c1e0d0af39094ae443e |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Convert the clearValue back to floats for sp_tile_cache_clear() It might be nice if sp->clear() took the color/value as floats...
ipe/softpipe/sp_clear.c
|
57df347bb8a119e1d00fe808e30a0623e0ae8563 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Some tile cache improvements, clean-ups. Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet.
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
dd87c43a44871e6cf7c3328120c50447bd69c26c |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't dereference pt after realloc - fixes valgrind error
ipe/softpipe/sp_texture.c
|
e6b5cf342e8a66869d25b68d5a63f3d3600b8aad |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
add some whitespace
ipe/softpipe/sp_context.c
|
4c90dc7027a42e046662d52c7300f0eb68a6cf3f |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move struct softpipe_texture definition into sp_texture.h Also, added softpipe_texture() cast wrapper.
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
|
94a3cb078db2e09716604923c02e3a975ae318ae |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor code movement
ipe/softpipe/sp_context.c
|
da3dfe58b2c2dda38eb7c276a4ae94a4d6a1abc7 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format(). Also, rewrite/simplify default_rgba_format() and default_depth_format().
tate_tracker/st_format.c
|
0d1669f5303e37980170169687e1dfa5f74c4c00 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
byteswapping fixes in choose_pixel_format()
ipe/xlib/xm_api.c
|
9772bb7f71cf114f463e4a9383202846da071363 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove stray ;
ipe/xlib/xm_winsys.c
|
e920f367ede4e275c25c5fa1929c943af3baef46 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove obsolete xlib driver files
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
|
749d723287df348bd36ee43f96de6892a3eba09f |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Overhaul the Xlib winsys layer. Front/back color buffers are now allocated with ordinary malloc() via the winsys buffer functions. To display surfaces in SwapBuffers() or flush_frontbuffer() we create an XImage that wraps the surface, then use XPutImage to copy to the window. Shared memory transport disabled for now.
ipe/xlib/fakeglx.c
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
ources
|
f77ce9e4fa6430fd6f4aaf07c58ed12569dec481 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added ST_SURFACE_DEPTH
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
ee6b39cfe602bd88a88bedc5af672832d9157105 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
move surface pitch calculation so it always gets updated
tate_tracker/st_cb_fbo.c
|
5823f99d0fbc054b87aeb1bc15d413d3eadd27a8 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix void pointer arithmetic warnings
tate_tracker/st_cb_texture.c
|
b9300f16c40e1fecf6237ca06888e42da85c55b5 |
07-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence void ptr arithmetic warning
ipe/p_inlines.h
|
b859cdf6f191b4d8b56537c8dc30082a7e2d94b3 |
07-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Eliminate struct pipe_region. Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/failover/fo_context.c
ipe/i915simple/Makefile
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_texture.c
ipe/p_context.h
ipe/p_inlines.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_region.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
e2ca788ae700aae75bf8d024c1374c38cc5574f9 |
07-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: fix the error in the previos commit.
rivers/dri/i915/i915_vtbl.c
|
c1a3ac0e45d6b69d5567f80b76815b2e6997128d |
07-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: Check the program size when uploading a program. fix bug 13494
rivers/dri/i915/i915_vtbl.c
|
987d59bb83e9e08192563e5f1b52949c5511053c |
06-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove remnants of 'intel' from active state tracker code.
tate_tracker/st_cb_texture.c
|
d492b388c96d98825ce9c6a9567ad83b3dee14b9 |
06-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.
tate_tracker/st_format.c
|
753db0d8407147393a7b0622ae3fa28f68d0353d |
30-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Hide texture layout details from the state tracker. pipe->get_tex_surface() has to be used for access to texture image data.
rivers/dri/intel_winsys/intel_screen.c
ipe/failover/fo_context.c
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/i915simple/Makefile
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_sampler.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_tex_layout.c
ipe/i915simple/i915_tex_layout.h
ipe/i915simple/i915_texture.c
ipe/i915simple/i915_texture.h
ipe/llvm/llvm_entry.c
ipe/p_context.h
ipe/p_inlines.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tex_layout.c
ipe/softpipe/sp_tex_layout.h
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_texture.c
ipe/softpipe/sp_texture.h
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
ipe/tgsi/exec/tgsi_exec.h
ources
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_context.h
tate_tracker/st_mipmap_tree.c
tate_tracker/st_mipmap_tree.h
tate_tracker/st_texture.c
tate_tracker/st_texture.h
|
125bd4cae51c6deaacd2e90f14931c2052f146ab |
06-Dec-2007 |
Eric Anholt <eric@anholt.net> |
Revert "[965] Add missing flagging of new stage programs for updating stage state." I had forgotten part of brw_state_cache.c that made this fix not relevant for master (last_addr comparison and flagging based on cache id). This reverts commit a4642f3d18bdaebaba31e5dee72fe5de9d890ffb.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
a4642f3d18bdaebaba31e5dee72fe5de9d890ffb |
06-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Add missing flagging of new stage programs for updating stage state. Otherwise, choosing a new program wouldn't necessarily update the state, and and an old program could be executed, leading to various sorts of pretty pictures or hangs.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_wm.c
|
259eacfa94a1086e4c99db83516989cc27832ef4 |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix endianness bug in _mesa_texstore_argb8888() On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res Also, clean-up nearby code to match. picked from gallium-0.1 branch
ain/texstore.c
|
59356268187470c5fda9e9a1a7058607f938fb3b |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add dependency checking for Cell driver sources.
akefile
ipe/cell/ppu/Makefile
ipe/cell/spu/Makefile
|
ce30f0550f02b28219c84851d71e0713aa315ee3 |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence warning
tate_tracker/st_draw.c
|
146483d5412e14d6be63a9b9116ff683956ee294 |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value()
tate_tracker/st_cb_clear.c
|
3eadbe64bf027b7e90167d4980e880c8a01c889f |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix endianness bug in _mesa_texstore_argb8888() On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results. Also, clean-up nearby code to match.
ain/texstore.c
|
9df0a6dd9c43be0ee5c300e161a20b2f98acef2d |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added B8G8R8A8 support and improved pixel format selection when doing remote display to X server of different endianness.
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xmesaP.h
|
04516cfcaf15589768c973231d8c317e851a78cb |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added tile funcs for B8G8R8A8 format
ipe/softpipe/sp_surface.c
|
fa3fc81f2c23f6ae7e4962cebee4356ca5e4383d |
05-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added B8G8R8A8 format
ipe/p_format.h
|
2407e48f2805e27e76e2e1d7083926c4077d9032 |
05-Dec-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Don't Swap buffer if a DRIDrawable is entirely obscured by another window.
rivers/dri/common/dri_util.c
|
02afd45d3b2eccff5d566cdeb32b3211803bd500 |
04-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix span->facing computation and gl_FrontFacing initialization
wrast/s_fragprog.c
wrast/s_tritemp.h
|
2ee7035886d9f857677776f84e55f92153318832 |
04-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix gl_FrontFacing compilation problem
hader/slang/slang_codegen.c
|
3a90679400e50fb5d319deee51e03a298735aa17 |
03-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[965] Change constant buffer from state structs to plain batch emission. Reduces diff to branch which has a relocation in this state emit.
rivers/dri/i965/brw_curbe.c
|
454043c4ae20a92ff0a56f41fdb6aa7a75af00c8 |
03-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix DD_TRI_LIGHT_TWOSIDE bug (#13368)
ain/enable.c
|
b1416c2137d6f7973e65f07ca9859970bead25b6 |
03-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
added missing quote char
akefile
|
2af613e0b8e6f89cc7528ff5a969e18f077e61fc |
30-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Fix up state changes for i8xx.
rivers/dri/i915/i830_vtbl.c
|
88b715b049efa81f4021d642a963b58113a875cf |
02-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial Cell driver infrastructure. No real code yet. Just stand-ins and make/build infrastructure.
akefile
ipe/Makefile
ipe/cell/Makefile
ipe/cell/common.h
ipe/cell/ppu/Makefile
ipe/cell/ppu/cell_context.c
ipe/cell/ppu/cell_context.h
ipe/cell/ppu/cell_surface.c
ipe/cell/spu/Makefile
ipe/cell/spu/main.c
ipe/cell/spu/tri.c
ipe/cell/spu/tri.h
|
556cf9abff75eaa56c3ea11f1c59cb04d30c0b92 |
01-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move batch bo_unmap from TTM code to shared, and add more asserts.
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
d388cad74675b6ac9bde4aa1dbdd3f4b0138942d |
01-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add failure path printfs to relocation code and some comments.
rivers/dri/intel/intel_bufmgr_ttm.c
|
700468b8bc37a26bb5a229ab8fa0478aaa7a049e |
01-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Simplify TTM relocation code by passing around bufmgr struct.
rivers/dri/intel/intel_bufmgr_ttm.c
|
ddd92ee9a173bbb087ef67b4a36ac231e30c941f |
30-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix the type and naming of the flags/mask args to TTM functions. The uint64_t flags (as defined by drm.h) were being used as unsigned ints in many places.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_bufmgr_ttm.c
|
6f8dee03aaeab67532bbadef27f9e2a91e0022d8 |
30-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] intel_bufmgr_ttm style sanity
rivers/dri/intel/intel_bufmgr_ttm.c
|
b0b882b666da0673b5f2aa7676e54438538c6a7f |
30-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix-build: remove ctx->_Facing assignment
nl_dd/t_dd_tritmp.h
|
fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb |
30-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix broken two-sided stencil
ain/context.c
ain/mtypes.h
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_linetemp.h
wrast/s_points.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
a11b6f025cd31d63c061129fd7272a928184f808 |
30-Nov-2007 |
joukj <joukj@tarantella.(none)> |
Updates of some OpenVMS makefiles.
nl/descrip.mms
|
86f3135fbd9db9ca08a6c0bfc620345c8a8e3f04 |
30-Nov-2007 |
joukj <joukj@tarantella.(none)> |
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
|
d2540e6d4bdcfcda195f6dcf43f75b810001c227 |
29-Nov-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: if source depth to render target is set, it should be handled in fb_write.
rivers/dri/i965/brw_wm_glsl.c
|
6bc1d3856712f5298d9ecd55807025ebd5344660 |
30-Nov-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use uncompressed instruction to ensure only Pixel Mask Copy is modified as the pixel shader thread turns off pixels based on kill instructions.
rivers/dri/i965/brw_wm_emit.c
|
1df7a82688c4f41b06ef04d997654afb4e05071b |
29-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/intel/intel_context.c
|
11a80160fd60d1eb1541b49128c659526a5d8ac8 |
28-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Move dimensions from struct pipe_region to struct pipe_surface.
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/failover/fo_context.c
ipe/i915simple/i915_clear.c
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_surface.c
ipe/p_context.h
ipe/p_state.h
ipe/p_winsys.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_surface.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
tate_tracker/st_mipmap_tree.c
|
61fbc816570820757afdbc3cd04cd475b337ad4f |
29-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
rivers/common/driverfuncs.c
ain/config.h
ain/dd.h
nl/t_vb_program.c
|
a2ab143b751b85ecb6b9807982ef6dab254f4b93 |
28-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
cleanups, comments
nl/t_vb_program.c
|
a7e1b4456a08d84c976bd260d018ca88f35867e4 |
28-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c
hader/prog_statevars.c
hader/prog_statevars.h
nl/t_vb_program.c
nl/tnl.h
|
dc88a96631c21c2bc2cdffefc8947e8924d77c91 |
28-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r200: Fix texture format regression on big endian systems. See https://bugs.freedesktop.org/show_bug.cgi?id=13324 . Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets called for MESA_FORMAT_RGB888.
rivers/dri/r200/r200_texstate.c
|
d8fcb504a4d88dc1c4d63fb572fdb7393b8a33aa |
28-Nov-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: update RefCount when using Vertex/Fragment program. It makes quake4-demo works well on 965.
rivers/dri/i965/brw_context.c
|
5c64e6885dd3810a8ac5a49a55f807c5994c30fb |
28-Nov-2007 |
Delle <delle@ciaoweb.it> |
use DEFAULT_SOFTWARE_DEPTH_BITS
rivers/windows/gdi/wgl.c
|
4fe3bf2d77aeb289d2f1c7c695206c2e7889c5ed |
27-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
set fp->UsesKill when emitting OPCODE_KIL
hader/slang/slang_emit.c
|
74cd0b459f4eafd4b4bc63532b1c3cb6f26153ed |
26-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
improve 24-bit Z to 32-bit Z conversion
wrast/s_readpix.c
|
46e03d584a18b89fef956fed3d52e15775846250 |
27-Nov-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: The jump instruction count is added to IP pre-increment, and should point to the first instruction after the do instruction of the do-while block of code
rivers/dri/i965/brw_eu_emit.c
|
a8fee3a498c8c4966d57a5273408477f3aa3ce73 |
15-Nov-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
i915: Catch cases where not all state is emitted for a new batchbuffer. This could lead to incorrect rendering or even lockups.
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_screen.h
|
63e6bfe8db10313c7f48de0b8ddbcd6b47f7e327 |
09-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Some additional blit fixes and assertions.
rivers/dri/intel/intel_blit.c
|
7dd5ced962e78df68cb902b88b95b7a842a310ab |
25-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intel: Fix relative symlinks.
rivers/dri/i915/server/intel_dri.c
rivers/dri/i965/server/intel_dri.c
|
7043db677f457ae9a46f2585a5ef52bf69a4e8ea |
24-Nov-2007 |
Michal Krol <michal@tungstengraphics.com> |
Cleanup PIPE_FORMAT names. Add a function that builds a display name of a given format token.
ipe/p_format.h
tate_tracker/st_format.c
|
999b55663a09d9669a9d14c5aadfa84e6dcba288 |
23-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Consolidate texture fetch code and use partial derivatives when possible.
hader/prog_execute.c
hader/prog_execute.h
wrast/s_fragprog.c
|
ba162438841ecc6f0227b149ded66916911d9acf |
23-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes.
hader/slang/slang_builtin.c
hader/slang/slang_emit.c
|
c14d969a69d7b9a060c6701d3f18c51eabc56635 |
23-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
wrast/s_texfilter.c
|
b3dee0185ec0202d454075de4e4011e3ac093df8 |
23-Nov-2007 |
Michal Krol <michal@tungstengraphics.com> |
gallium: remove sp_headers.h references.
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_state_derived.c
|
abd5e8e41d54f7f491f91af9354f19c8d24d3572 |
23-Nov-2007 |
Michal Krol <michal@tungstengraphics.com> |
gallium: reorg tgsi directories.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_wide_prims.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state_derived.c
ipe/p_shader_tokens.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
ipe/tgsi/deco/Makefile
ipe/tgsi/deco/deco_caps.c
ipe/tgsi/deco/deco_caps.h
ipe/tgsi/deco/tgsi_deco.h
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_build.h
ipe/tgsi/exec/tgsi_core.h
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_dump.h
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_parse.c
ipe/tgsi/exec/tgsi_parse.h
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/exec/tgsi_util.c
ipe/tgsi/exec/tgsi_util.h
ipe/tgsi/tgsi_platform.h
ipe/tgsi/util/tgsi_build.c
ipe/tgsi/util/tgsi_build.h
ipe/tgsi/util/tgsi_dump.c
ipe/tgsi/util/tgsi_dump.h
ipe/tgsi/util/tgsi_parse.c
ipe/tgsi/util/tgsi_parse.h
ipe/tgsi/util/tgsi_util.c
ipe/tgsi/util/tgsi_util.h
ources
tate_tracker/st_atom_shader.c
tate_tracker/st_debug.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
44519be0f5cd70d767c8e29317ebe33a7fb9903e |
23-Nov-2007 |
Michal Krol <michal@tungstengraphics.com> |
gallium: back out winsys interface changes
ipe/i915simple/i915_prim_vbuf.c
|
0fd679a1903d997b53fe20b86821a58c1a66262f |
22-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Consolidate point size computation, clamping in get_size(). Also, apply user-defined clamp limits to point size even when not using attentuation or program-computed size.
wrast/s_points.c
|
9924f208cf3f45424b6464d2cca9698da206816e |
20-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Use the new vertex buffer draw stage.
ipe/i915simple/i915_prim_vbuf.c
|
1a8daf0627dde44aaa7c40786782618d4d5a6a36 |
20-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
New vertex buffer stage.
ipe/draw/draw_vbuf.c
ipe/draw/draw_vbuf.h
ources
|
45f658f172b4a3fe6e5190fdba5c00e7f332845c |
19-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Fix build.
ipe/i915simple/i915_debug.h
|
369ff9786d88d813fb8cd07607b5c1088399a702 |
19-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
The right include was mtypes.h.
tate_tracker/st_mesa_to_tgsi.h
|
c5841425433f003af76f03435de719c40635005a |
19-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Fix build errors.
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
|
0e31e24659a1e691bdfa213fcd073bbfaa4ed6e9 |
18-Nov-2007 |
Michal <michal@tungstengraphics.com> |
Fix compatibility issues between gcc and msvc.
ipe/draw/draw_prim.c
ipe/draw/draw_vertex_fetch.c
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_strings.c
ipe/tgsi/tgsi_platform.h
|
5961732c1b59403b4e736fa354a64d4a0e5d8af2 |
17-Nov-2007 |
Michal <michal@tungstengraphics.com> |
Make it compile under Win32.
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_tex_layout.c
|
4541ee5343df7c3ca937e088a85ec3f62970d318 |
22-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Remove fences from the i915simple winsys interface. Fences will be part of the pipe winsys interface, so remove this to avoid merge conflicts later on. This reverts commit ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d. This reverts commit dec60d33b2570cf2bdce72a00a1539ee93133f91. This reverts commit 90dd0cb822f2fe14258c786e5c37da69472b7d17.
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.h
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_winsys.h
|
3d51c7900105a99fc30a4318080fd4cc373c8eec |
22-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix z buffer read/write issue with rv100-like chips and old ddx
rivers/dri/radeon/radeon_screen.c
|
2112191d452bd76d99ca48f8da17bb49eca595aa |
22-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
more simplification, clean-up in draw_set_vertex_info()
ipe/draw/draw_vertex.c
|
9f0b5bba707d6c36896b4b8afad4e6b459da5e99 |
22-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info(). Just pass in the vertex_info object and make a copy of it.
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
tate_tracker/st_draw.c
|
fbe68bf6b286056bb03f44907a078918d04cbdfd |
21-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Simplify draw module's vertex_info. No longer store the vertex header and clip pos info in the draw module's vertex_info. The vertex_info just describes the data[] elements. This simplifies the code in several places.
ipe/draw/draw_clip.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
|
93c98a466947570e0589b662df49095b2f4bc43c |
05-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[965] Replace 965 texture format code with common code. The only functional difference should be that 965 now gets the optimization where textures default to 16bpp when the screen is 16bpp.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_tex.c
rivers/dri/i965/intel_tex.h
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_validate.c
|
e962997429aceae8286e09c6ca07bcd52f588f05 |
09-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[965] Remove dead exec vfmt code which was replaced by generic vbo code.
rivers/dri/i965/brw_exec_generic.c
|
5a6017d496ccce94d7e3cf9a6cfe1db886dcc767 |
20-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
add PIPE_FORMAT_Z24_S8 support to softpipe patsh
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tile_cache.c
|
0191570f024ba787799ca2bccd46549a8af74aa9 |
20-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial support for PIPE_FORMAT_Z24_S8
ipe/p_format.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_format.c
|
827e72de7537e62cac9652f8b7344ff356de9bb1 |
19-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
clamp lambda to Min/MaxLod
wrast/s_fragprog.c
|
c4f9fbb57f6e941a3b896b52c69665f7dced2350 |
20-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
optimize earlyz_quad(), add comments, remove unneeded #includes
ipe/softpipe/sp_quad_earlyz.c
|
0204cbb4f17ef24a3c1ae1e426d5da3dd3744f92 |
20-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
optimize linear_interpolation(), perspective_interpolation() functions
ipe/tgsi/exec/tgsi_exec.c
|
3821d15e06a62231b4a946d097d1455d7b0c5834 |
19-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[965] Add INTEL_DEBUG=fall debugging output.
rivers/dri/i965/brw_fallback.c
|
27674c41352dc78ad79f67cebca16d7896cd2093 |
20-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_regions.c
|
87373e30729b29d949ee71cf76d3cb9213ff1333 |
19-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some texture format assertions, etc
wrast/s_texfilter.c
|
22a374fc3fdf97a9cc50e9fdc24049c997e6896e |
19-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix out-of-bounds array index (ix=-1)
wrast/s_aatritemp.h
|
7f718f047676e88b660618784f256a96f7e8ed58 |
18-Nov-2007 |
Michal Krol <michal@tungstengraphics.com> |
Implement early depth test. Early depth test is enabled when depth test is enabled and alpha test is disabled and fragment shader does not write depth. The early-z is implemented by moving the depth test stage just before the fragment shader stage and prepending it with an earlyz stage, introduced with this commit. The earlyz stage prepares the quad->outputs.depth for the following depth test stage by interpolating Z position, just as the fragment shader would do.
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_earlyz.c
|
ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d |
17-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Fix typo
rivers/dri/intel_winsys/intel_winsys_i915.c
|
dec60d33b2570cf2bdce72a00a1539ee93133f91 |
16-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Proper fence reference counting.
rivers/dri/intel_winsys/intel_winsys_i915.c
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_winsys.h
|
f00a64999c197e6a96e65fd00f64224a6f22c9fa |
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add 965 support to shared intel_blit.c This requires that regions grow a marker of whether they are tiled or not, because fence (surface) registers are ignored by the 965 2D engine.
rivers/dri/i915/Makefile
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_image.c
|
9b461d4d029497dd6f71e60220849e1b66bb8cf5 |
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Pass static region names in so debugging says more than "static region".
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
|
34a00276c7b2ee8ab88a56905352023f8a435a53 |
17-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
more convenient debug code
ipe/draw/draw_vertex_fetch.c
|
aa880bdfa05d8ff2486ef8266f93dea983b7c6fd |
17-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Reimplement glRasterPos using the private 'draw' module.
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.h
|
6a1154bab0d296b60f889bdc13254568f4051104 |
17-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
adjustments so st_feedback_draw_vbo() can be used for glRasterPos
tate_tracker/st_draw.c
|
5ef6803b7a902e7faa0e77408a43eabc408ff547 |
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move additional code to be shared from intel_context.h to intel/.
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_depthstencil.h
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_tex_obj.h
|
5cdf3972ded710b8638a0090ade4e3dd408e4845 |
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move intel_tex.h into place, forgotten in the previous commit.
rivers/dri/i915/intel_tex.h
rivers/dri/intel/intel_tex.h
|
8775bf475bcb3273681eec3067a5c893bbb06194 |
26-Oct-2007 |
Eric Anholt <eric@anholt.net> |
[965] Add batchbuffer decode for several more packets.
rivers/dri/intel/intel_decode.c
|
a66413874dd50512daf10ce6254bbafd14b61ac7 |
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix typos in intel_chipset.h macros.
rivers/dri/intel/intel_chipset.h
|
3bd07ba0d4f759e3a17e2a5ed51086b44705a482 |
16-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
|
f7e0513d700167a7eff39e40c855027096f1db1d |
25-Oct-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.
rivers/dri/intel/intel_batchbuffer.c
|
152aa6350d473128422991342c0a4509f4b37bc6 |
15-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add some doxygen notes on what the bufmgr_fake block members mean.
rivers/dri/common/dri_bufmgr_fake.c
|
c29e9e534ee2138d0fb26d5b1cf215bfcf5fc9ef |
16-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add a simple relocation cache to the fake buffer manager. This is required for 965 performance, as it avoids a lot of repeated data uploads of the state caches due to surface offsets in them.
rivers/dri/common/dri_bufmgr_fake.c
|
4bc625e378dfc290af89ccc353e8b90ae734ccd0 |
16-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Assert against 0-sized buffers in dri_bufmgr_fake.c. They shouldn't be created, and this often helps catch stupid issues.
rivers/dri/common/dri_bufmgr_fake.c
|
00eb5635c6e0a41524c55f450a6a9ce8ba5d6be8 |
16-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add support for multiple levels of relocation in bufmgr_fake. This is required for 965 support, which has relocations in other places than just the batchbuffer.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
|
df3c530bedd0ee59e0ae5c18a916f78fd3f7559a |
10-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Push locking in intelClearWithTris down inside meta_draw_poly. The lock coverage and checks for cliprects were unneeded since the batchbuffer will have INTEL_BATCH_CLIPRECTS anyway. It appeared to be a leftover from intelClearWithBlit. This makes the locking requirements of i915 meta_draw_quad match i965 meta_draw_quad.
rivers/dri/i915/intel_tris.c
rivers/dri/intel/intel_buffers.c
|
95f066fc54ed351a93350b99b584987b88524e71 |
16-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
note problem with fragment coord Y orientation
ipe/softpipe/sp_quad_fs.c
|
f361edae5d495254f4bc27473bf24b1ac7d5af06 |
16-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added a clip-bypass flag to rasterizer state
ipe/draw/draw_validate.c
ipe/p_state.h
|
90dd0cb822f2fe14258c786e5c37da69472b7d17 |
15-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Include fences in the i915simple winsys interface.
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.h
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.h
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_winsys.h
|
96ba38a450b77d56730fd293499cbeaa1f511507 |
15-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bogus assumption if ddx has set up surface reg for z buffer this is wrong since even if ddx has not set up a surface reg to cover the z buffer we should pretend it has on those rv100 chips since they presumably do not do z buffer tiling if not using hyperz, so we can use linear addressing just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug almost certainly broke newer non-tcl chips.
rivers/dri/radeon/radeon_screen.c
|
dab7c810e99e8fd2a7c8ba5cdbdc2fb6502647b3 |
15-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix position invariant vertex programs for sw-tnl do the same math as for fixed function pipe, including user clip planes. (mostly resurrected from the dead t_vb_arbprogram.c code)
nl/t_vb_program.c
|
9bf5da906fee80ae51c6c20ba59e297f74d77bd9 |
12-Nov-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730
rivers/dri/intel/intel_reg.h
|
9724dc1ac7ddd6f547a8aa6d57fa51ed1040db3a |
10-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Remove old frontbuffer rotation hack. This was replaced in previous releases of xserver/dri/libGL by reporting the damage to the frontbuffer so that the server and driver could handle it appropriately.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.h
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_rotate.c
rivers/dri/i915/intel_rotate.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
|
7d4b89a2b35c30fd3f6991992e1f4e51556e80b3 |
07-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] By default, output batchbuffer decode to stderr like other debug info.
rivers/dri/intel/intel_decode.c
|
38c616260a4c14bf5a1d7831e6349c3e8817d14b |
08-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.
rivers/dri/intel/intel_screen.c
|
77a5bcaff43df8d54e0e0ef833726e4b41d7eb36 |
07-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move over files that will be shared with 965-fbo work.
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_blit.h
rivers/dri/i915/intel_buffer_objects.h
rivers/dri/i915/intel_buffers.h
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_bufmgr_ttm.h
rivers/dri/i915/intel_depthstencil.c
rivers/dri/i915/intel_depthstencil.h
rivers/dri/i915/intel_fbo.h
rivers/dri/i915/intel_mipmap_tree.h
rivers/dri/i915/intel_regions.h
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_span.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_blit.h
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffer_objects.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_buffers.h
rivers/dri/intel/intel_bufmgr_ttm.c
rivers/dri/intel/intel_bufmgr_ttm.h
rivers/dri/intel/intel_depthstencil.c
rivers/dri/intel/intel_depthstencil.h
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_fbo.h
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.h
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_regions.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_screen.h
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_span.h
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
8b36166d295beb472ed7cedf1989894665233b98 |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for texture and renderbuffer in check_end_texture_render()
ain/fbobject.c
|
4e91ad8c0ec277d9df48ccdd8500bfb156073adc |
09-Nov-2007 |
Benno Schulenberg <bensberg@justemail.net> |
code clean-ups, reformatting
rivers/dri/unichrome/via_tris.c
|
d540e8e9dfc18063f98a31cb3d078d183cf8fce6 |
09-Nov-2007 |
Benno Schulenberg <bensberg@justemail.net> |
remove commented-out code
86/read_rgba_span_x86.S
|
193c85ec7a1aec44eebc67c6224fb6ecbb4607a5 |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, assertions
ipe/draw/draw_context.c
ipe/draw/draw_private.h
|
50a56cd755d17e4b754fc019badbda0f113c3065 |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor simplifcation in vertex_fetch()
ipe/draw/draw_vertex_shader_llvm.c
|
7b3ab451a81c6558a00c9c19022e9493fd70b6d9 |
09-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
recreate from changed gl_API.xml
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
86a4810b09097714942bf2b889e6c62357bba931 |
09-Nov-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) these should be the same functions (as per spec).
lapi/gl_API.xml
ain/config.h
ain/dlist.c
ain/state.c
hader/arbprogram.c
hader/nvprogram.c
hader/nvprogram.h
|
33cf20bb458ed736d4404d4e3340a117c7d07f63 |
09-Nov-2007 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove duplicate init func
f/vf_sse.c
|
d34caddb4e62296f80792998ce0a42b07f919361 |
09-Nov-2007 |
Ian Romanick <idr@us.ibm.com> |
Prevent loss of vectorequiv information when an alias follows the function being aliased.
lapi/glX_XML.py
|
64469863212dcc41995c473032856096c4af12b3 |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Reorganize user-space vertex fields in draw_context into 'user' group. This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
ipe/draw/draw_context.c
ipe/draw/draw_feedback.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
|
990fe4c0bf735206c3cc7346d84adc782595bc3a |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded #includes, added assertion in draw_compute_vertex_size()
ipe/draw/draw_vertex.c
|
ec0c5e59c2c3470cc59d25383854d12a76dca70a |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove unneeded header, draw_prim.h
ipe/draw/draw_prim.h
|
1574611faf9d9106cf167d277238b8c2662beabb |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix minor logic error in get_queued_prim() which caused flushing when there was still room in the prim queue.
ipe/draw/draw_prim.c
|
48863cdd0a912f34d54bdc312485241a970a9fba |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
new comments
ipe/draw/draw_private.h
|
03f4a487dd53f7d76830665e98fdbc9313d7c9b2 |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded #includes
ipe/draw/draw_debug.c
|
03484d0aaefce84bc304c9d87f28edd77e10844a |
09-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, remove unneeded #includes
ipe/draw/draw_prim.c
|
f66fed57e65c518c751dc71ca26439ac76313ce9 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow compare mode is enabled.
ipe/tgsi/exec/tgsi_exec.c
|
3d8c05f7320151898dd224c1daaf3118e1f7ea34 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement shadow comparisons.
ipe/softpipe/sp_tex_sample.c
|
a7be1c5ac25fe86c4b217625976af1eb37e48a25 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
use pipe_surface_reference() in sp_tile_cache_set_surface()
ipe/softpipe/sp_tile_cache.c
|
c0b27149458c1c70b8664cdedb2be842229f4359 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify depth_value(), return proper value for Z16 format
tate_tracker/st_cb_clear.c
|
cee1d1328aadc501935f60f32cc2c8f8199ff57c |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bad width/height code in softpipe_clear()
ipe/softpipe/sp_clear.c
|
ae9fe0f981377cb25bc3fe6f23a6ee7e3b73d0c2 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove TGSI_OPCODE_TXP Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
ipe/i915simple/i915_fpc_translate.c
ipe/tgsi/exec/tgsi_token.h
|
fa63d6d32c93a5d8cd88c0c7d4a8ac4c1c1c1a9d |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for divide by W flag when translating TGSI_OPCODE_TEX (fixes projected textures)
ipe/i915simple/i915_fpc_translate.c
|
02f7f46fa15c7d31d774c638684d4f5b81e360ec |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
new init_renderbuffer_bits() helper
tate_tracker/st_cb_fbo.c
|
89b7b187dda26f7c7cc5e80360d49fa32f89b6fd |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
tweak anisotropic filtering code
ipe/i915simple/i915_context.c
ipe/i915simple/i915_state.c
|
548eddc964c99e24f45ce88cd69f3d9af5aeab1a |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)
ipe/i915simple/i915_context.c
|
dca71c40ea6ae70c6af380653df5b1073dfc9475 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove translate_compare_func(), use i915_translate_compare_func()
ipe/i915simple/i915_state.c
|
8ce6d6b97e6e90451e7372fe3d94e7e31b0ea569 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move EXT_shadow_funcs assignment
tate_tracker/st_extensions.c
|
a736670219c67a45483f58b07ab9d55095efdbbd |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
set sampler state for shadow test
tate_tracker/st_atom_sampler.c
|
b18763141d651ae1112e80bb7ef3e813c8ce1d18 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace gl_stencil_func_to_sp() and gl_depth_func_to_sp() with st_compare_func_to_pipe()
tate_tracker/st_atom.h
tate_tracker/st_atom_depth.c
|
2c1184626879cb349bcdc87eebb82da87f1a9f85 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix some issues hit when rendering to a depth-only renderbuffer (shadowtex). Added 16bpp case to translate_depth_format(). Added framebuffer_size() to determine framebuffer size.
ipe/i915simple/i915_state_emit.c
|
98c539d337fec8b4e21d9788b52ff551462e90d6 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
in check_end_texture_render(), test for presence of a renderbuffer and texobj
ain/fbobject.c
|
e2593bb1632cee65af9ef5fe1f9b67928caa25a0 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded #include
ipe/i915simple/i915_context.c
|
44254b92480115e5c8a2d5cf78f99195c03701eb |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added pipe->get_paramf() to query float limits. So far max point size, line width, texture anistopy and lod bias.
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/p_defines.h
ipe/softpipe/sp_context.c
tate_tracker/st_extensions.c
|
95128c1d4c88238a79ead6e36215a646f83bbdd3 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for fence==NULL in intel_batchbuffer_finish(), fixes glxinfo crash on exit
rivers/dri/intel_winsys/intel_batchbuffer.c
|
1dfec88e72c92647b779286bbc8e6ee313d6f1f6 |
08-Nov-2007 |
Benno Schulenberg <bensberg@justemail.net> |
fix Unichrome/Blender crash, bug 13142
rivers/dri/unichrome/via_tris.c
|
3871d2882a5e3ae8aafe3206603e095cc90761b5 |
08-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Rename struct field 'private' to 'priv'. This broke the LLVM build because 'private' is a C++ keyword.
rivers/dri/intel_winsys/intel_context.c
ipe/p_context.h
tate_tracker/st_cb_flush.c
|
6400658d7154f33b8fe2e7d638ebb317ac6bfff8 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix warning
ipe/xlib/xm_winsys.c
|
74df1f4adbbc4fe6027265625cd248c3add154f5 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
update flush/fence comments for i915_flush()
ipe/i915simple/i915_flush.c
|
3fe055ec9218a8745d9a53f75f4abd4760fcce28 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove winsys->wait_idle(), subsumed by pipe->flush(). Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_winsys.h
ipe/p_winsys.h
ipe/xlib/xm_winsys.c
|
ae44a81d1bd40852a7cea9b8025dfa3821adc785 |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
New PIPE_FLUSH_WAIT flag for pipe->flush(). The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
rivers/dri/intel_winsys/intel_context.c
ipe/i915simple/i915_flush.c
ipe/p_defines.h
tate_tracker/st_cb_flush.c
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
10c62bf0683437672c83339138a6802d56aeca8f |
08-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove context dependencies in winsys layer. The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/p_context.h
ipe/p_winsys.h
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_flush.c
|
03cfeb31af7834c2b2701ad25ec39f8375df6c96 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
enable GL_ARB/NV_point_sprite together
tate_tracker/st_extensions.c
|
ed6e591270a583956c6407ae6536c3110a86397a |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
cosmetic fix to driFenceFinish() call
rivers/dri/intel_winsys/intel_batchpool.c
|
51653cd551aeed9b1e5b3edd17172c8906d989e5 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace magic number 3 with DRM_FENCE_TYPE_EXE | DRM_I915_FENCE_TYPE_RW in driFenceFinish() call
rivers/dri/intel_winsys/intel_batchbuffer.c
|
0852cf8611dd77b564db1df9b61e035d9ea4b280 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
just reorder a few members of pipe_winsys, update comments
ipe/p_winsys.h
|
c712d092a178096d8d95e58bd1bd20a33045cd7b |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove DriverCtx=intel assigment/hack
rivers/dri/intel_winsys/intel_context.c
|
2611703b363ced1ad267d120ed89677299a36d9c |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Pass winsys as a parameter to intel_create_i915simple(), intel_create_softpipe()
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_softpipe.c
|
f40f45ceea7a827059b7b533f2160f98774c8a77 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
var renaming: s/sws/winsys/
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
237429aa3b8c2025e11aaa23d04e7107cf6a838f |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
more dead code removal
ipe/i915simple/i915_state_sampler.c
|
7a9c129a0a171bf0b52f477cfca72591c21ac09a |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
re-enable PIPE_FORMAT_U_Z32 support
ipe/xlib/xm_winsys.c
|
fc6172bc9abfc24836c6701f3bfcd791907ca9a7 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
better depth buffer selection
ipe/xlib/xm_api.c
|
187b631b6b3c504fa334e33f4b1af433b6232bac |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Float->uint conversion for PIPE_FORMAT_U_Z32 resulted in overflow in depth_value(). Special-case it.
tate_tracker/st_cb_clear.c
|
7e884c6f86621ca07ed31fc7ee3f4d891f0873da |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable/remove dead code
ipe/i915simple/i915_state_sampler.c
|
182e861eeae479c85191fcd6ccb41bf10f43507b |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable the call to driBOReference() in i915_update_texture() It doesn't seem to be needed and disabling it fixes a big memory leak with some programs like xdemos/wincopy.c
ipe/i915simple/i915_state_sampler.c
|
5d9021554ee78699933ddf79e5231cded6f9c641 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
redo xm_surface_release() to match i915
ipe/xlib/xm_winsys.c
|
c3e7bb4127b74db0037d5a25340793273f5c3183 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bad varname
ipe/xlib/xm_winsys.c
|
601a9ea9a79603763651db8dd93351691594b444 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
init glsl functions in st_init_driver_functions()
tate_tracker/st_context.c
|
6c4447e6a8ecfcfb094ab2ad8b7371dfa2b7d7bb |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix typos, re-enable some extensions to get back to GL 2.1 level
tate_tracker/st_extensions.c
|
7d1a04e499564212a2a9aace12b05f424a357d3f |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add winsys->surface_release() to complement winsys->surface_alloc(). pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/p_inlines.h
ipe/p_state.h
ipe/p_winsys.h
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
tate_tracker/st_cb_fbo.c
|
52236661653169140d07a500facd65185b6b3666 |
07-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Check the right ammount of free space in vertex buffer.
ipe/i915simple/i915_prim_vbuf.c
|
3e22180fc893bb09bf6b990bc4e858fd85f522ab |
07-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Reset temporary vertices ids.
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/i915simple/i915_prim_vbuf.c
ipe/softpipe/sp_prim_vbuf.c
|
c28fdf309607ec2994ef9a1109931a8389854300 |
07-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Use a consistent number to identify undefined vertices.
ipe/draw/draw_clip.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex_cache.c
ipe/i915simple/i915_prim_vbuf.c
ipe/softpipe/sp_prim_vbuf.c
|
3922baede207c64ce07ec2ac19ffab04f7035483 |
07-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Reuse the vertex buffer until the vertex size changes.
ipe/i915simple/i915_prim_vbuf.c
|
f39a520892259bc3ff13b47423fb86cd7714c70a |
06-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Track hardware vertex buffer state changes.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
|
85c7683f1f5f1d0d9e95eb59270705a2975fa437 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Improved logic for setting up depth/stencil buffers in st_create_framebuffer()
tate_tracker/st_framebuffer.c
|
b0e7da86abba5fc9040332a4b8ca81628a343956 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
restore dispatch/extension code (without, dynamic entrypoints aren't added)
rivers/dri/intel_winsys/intel_context.c
|
a895910d8813a56d8fe3861e97c9b9a2a6b01589 |
07-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable PIPE_FORMAT_U_Z32, doesn't work ATM
ipe/xlib/xm_winsys.c
|
2b0d1b6eda6b2a6c2df66a1e1a0dfd3aa762ece5 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update xmesa_is_format_supported()
ipe/xlib/xm_winsys.c
|
3470d819fd7e3d3dd259d6fb2d4b963a514f0520 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
realloc surface if format changes, remove dead code
tate_tracker/st_cb_fbo.c
|
a151ad21bb5f5b52f1c1f28f2f09d5c5f5915028 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename xmesa_create_softpipe() xmesa_create_context()
ipe/xlib/xm_api.c
ipe/xlib/xmesaP.h
|
54b43da7e9ae08c9078ba2ca4f8c242dd6aa3bff |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename xmesa_create_softpipe() xmesa_create_context()
ipe/xlib/xm_winsys.c
|
5fb6ebf85d778aa68df96ccf71fcaba8cf691b32 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable finish_or_flush() for now
ipe/xlib/xm_api.c
|
d35cb1a121c272bf5be29fc62d59f4f71724201a |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code in softpipe_is_format_supported()
ipe/softpipe/sp_context.c
|
db01ff6a19fb2365d4185321654bdfa09dae653f |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
document flags param to region_alloc()
ipe/p_winsys.h
|
37624458e4e35569d9ca1d0452114a4c976682ec |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove more dependencies on Mesa types/functions
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
|
4cf56a418399c142335e0cab3fe3b8e54bfc703c |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement context sharing code
rivers/dri/intel_winsys/intel_context.c
|
5e24e3c4266779704fc30737ac5e005ba71fd797 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
code clean-up
rivers/dri/intel_winsys/intel_batchbuffer.c
|
ea286d4df270897ca2a8f9e5e41b82cea419bdae |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
need to call pipe->flush() in finish_or_flush()
ipe/xlib/xm_api.c
|
da3994988b95d145a98cd9130d719b36c0940406 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
init luminance/intensity_bits to zero in st_get_format_info()
tate_tracker/st_format.c
|
fa44b74f4ec1a51fcbe656c5da94b0635defa992 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
define CLIP_TILE as in sp_surface.c
ipe/xlib/xm_surface.c
|
0862df21545df4cac56f0c182e8818573131f951 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug abort() call
ipe/xlib/xm_api.c
|
2e784848e68c0c5252631e6f2a6b021fe008f53a |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Call xmesa_init_driver_functions() to install xmesa_viewport() function. Fixes failed assertion in glxgears.
ipe/xlib/xm_api.c
|
26eb608a352ec017b534579e1c81c2d1fedf3d1b |
06-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Handle the corner case of 24bit depth buffer with 0bit stencil buffer.
tate_tracker/st_framebuffer.c
|
7b358e8ea9d894470097824b3dda3d60ef232abe |
06-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix build error: dereferencing pointer to incomplete type
ipe/i915simple/i915_prim_vbuf.c
|
badc061a65b8e8b3d92eb4a45bd9eb4191eaaf62 |
06-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r200: Re-expose SetTexOffset functionality. This seems to have been mismerged with the DRI interface changes.
rivers/dri/radeon/radeon_screen.c
|
5a322bc1b4b6d64ba2994e2b32abc0fdb466a81d |
06-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r200: Fix SetTexOffset format for 16 bit pixmaps/textures. Use symbolic array indices to clarify.
rivers/dri/r200/r200_texstate.c
|
eef6783537c3bf3a454b2c56b1cf71d0c73e45ee |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove use of Mesa/GL types/functions (s/GLuint/uint/ etc)
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.h
|
c80d17b68dfbee091b43588f19acc2e8bf1e1522 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't include mtypes.h
rivers/dri/intel_winsys/intel_batchbuffer.h
|
0800342296fb9eeb6bac8f24965441dff0e71812 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove last of core Mesa dependencies in intel_swapbuffers.c Use the "dummyContext" pointer (for now) instead of GET_CURRENT_CONTEXT().
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
e2feb80a90f3e9300c70a4a4eb3e966131f5c313 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove pipe->max_texture_size(), use get_param() instead. Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/p_defines.h
ipe/softpipe/sp_context.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_extensions.c
|
24ac9c30ebfd2edabdd21bfc9cf4e9db21cd10df |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for __i386__ or __386__ instead of USE_X86_ASM
ipe/tgsi/exec/tgsi_sse2.c
|
a06dcfd75b1591bc1db568798f82be721dcc807e |
06-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Allow custom pipe driver buffer usage flags.
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_winsys.h
ipe/p_defines.h
|
fa1a66d7fc4fd7854de7958a48e4992edd154489 |
05-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Supply buffer usage hints to winsys. Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/x11/xm_winsys.c
ipe/i915simple/i915_prim_vbuf.c
ipe/p_defines.h
ipe/p_winsys.h
ipe/xlib/xm_winsys.c
tate_tracker/st_atom_constbuf.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
|
4f79dbd5aa6b8a955ac9dcc43cf0852acd89a320 |
06-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Convert format bitfields to shifts and masks. The memory layout of bitfields depends on the ABI.
ipe/p_format.h
tate_tracker/st_format.c
|
0ab2c84ce95cea5c72aa4e9680862bf82d31259d |
06-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix non-x86 build.
ipe/tgsi/exec/tgsi_sse2.c
|
c6499a741c99394e81d1d86ffd066f3d9749875c |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Determine GL extensions/limits by making pipe queries. The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
ain/extensions.c
ipe/i915simple/i915_context.c
ipe/p_defines.h
ipe/softpipe/sp_context.c
ources
tate_tracker/st_context.c
tate_tracker/st_extensions.c
tate_tracker/st_extensions.h
|
01e716553001d57462e75aa7d76d05df92da8e87 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean ups
rivers/dri/intel_winsys/intel_lock.c
|
d31d93f4776fd19738a607eda337f9d3e88c5c93 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
change includes, minor simplification in intelDisplaySurface()
rivers/dri/intel_winsys/intel_swapbuffers.c
|
cadaa4330e9472be07d07fc994dfb9c5107202d7 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
include mtypes.h (temporary)
rivers/dri/intel_winsys/intel_lock.c
|
ced9c0f8c4246c055aee85f428af705f232702bc |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't include mtypes.h in st_public.h
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
9b0f71e37f2ed129997b247d58f8d5e9004f4935 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move st_invalidate_state() prototype to st_context.h
tate_tracker/st_context.h
tate_tracker/st_public.h
|
91564eedcc5e98e28d749267ac81ffd4082b4147 |
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove some temporary state tracker context/framebuffer_create functions.
rivers/dri/intel_winsys/intel_context.c
ipe/xlib/xm_api.c
tate_tracker/st_context.c
tate_tracker/st_public.h
|
e39f1b4cbea6d41dc09430bd3d811cb7bbdea5f8 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update xlib driver to use newer state tracker context/framebuffer functions. XMesaContext has an st_context * which contains a mesa context.
rivers/dri/intel_winsys/intel_screen.c
ipe/xlib/fakeglx.c
ipe/xlib/xm_api.c
ipe/xlib/xmesaP.h
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
9a563d5e696a7c8fc09f7da5a0d33a9675b00e4c |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
no-op glCopyPixels if width or height is zero
ain/drawpix.c
|
cd59600c7b6cba42baba208e74d783fbade93356 |
05-Nov-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
35d28ce12e59526cb66e82d7d5469e50196a8ccd |
04-Nov-2007 |
Dave Airlie <airlied@linux.ie> |
r300: initial user clipping for TCL paths I've no idea if this code might break something or how it should interact with vertex shaders, it makes the clip demo work for me
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
c9ce3e8fd2a8db93c833bfd9a06d31843145657b |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Check for NULL VB->EdgeFlag array. There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
wrast_setup/ss_tritmp.h
|
a49e0726e3c3cfbf0d784ba4e9a485af02a7b4dd |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix mmx code (bug 12614)
86/read_rgba_span_x86.S
|
f4d51d8923db9fd71e5f9fe965769625bd0d1240 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
asst clean-ups
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_winsys.h
|
e4bad270998e0b97bd97e8e38b08826ed45e2f5e |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some GL types, mesa includes
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.h
|
3f80be3cb5dcd1378316c0330446a72a2095d9ca |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move intel_context_mesa() into intel_swapbuffers.c (the only place it's used now)
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
6ad4656cc475b170f419627ff6c4a43ebab09b7c |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move driBatchPoolInit() into new intel_batchpool.h header. Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi Maybe rename files for re-use in the future.
rivers/dri/intel_winsys/intel_batchpool.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
|
b17675d70976bd40ff58ea49226292f49cffbe13 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move driBatchPoolInit() into new intel_batchpool.h header. Note that intel_batchpool.[ch] have no intel-specific dependencies at this point. Maybe rename files for re-use in the future.
rivers/dri/intel_winsys/intel_batchpool.h
|
adf3761fbd193e4467b0637340709e57bdae0111 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove intelScreenPrivate typedef and use cast wrapper function to be like intel_context and intel_framebuffer
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
736baf22e98a28ed714c31650d1cee78b5b381f4 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove driScrnPriv field from intel_screen
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
|
cd360b7d60721883390215ac33623636a222cde2 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_winsys_i915.c
|
1bbc86e6514a80cba6d48b8dc8615e7dc1be7afa |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix typo, formatting
rivers/dri/intel_winsys/intel_batchbuffer.h
|
f8f1c4a02205da3fb95d68049c9a9cfd6b0c751d |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused intelScreen->texPool
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
|
6a95fe87350ed504cdf47dea2331f679db1ba3b4 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
add missing free() in intelDestroyContext
rivers/dri/intel_winsys/intel_context.c
|
897428c4265de7212ee1fc345e8689b775b287e8 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, clean-ups, assertions
rivers/dri/intel_winsys/intel_swapbuffers.c
|
413688415ca14b8b58922c99d450507a012cd42d |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rewrite/simplify intelCopySubBuffer()
rivers/dri/intel_winsys/intel_swapbuffers.c
|
81c1993daa57ef0fc1fc6993aa832f3b4005154b |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rewrite/simplify intelSwapBuffers()
rivers/dri/intel_winsys/intel_swapbuffers.c
|
74866737db739bef8b7593d5060e4f80d91ff33a |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_notify_swapbuffers()
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
9fc03fed01e3988f6cf07bb9c041328232b7bacf |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace get_color_surface() with st_get_framebuffer_surface()
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_swapbuffers.c
|
616bf3556939d94852b1dfe73f92ef94b10782c4 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_get_framebuffer_surface() and ST_SURFACE_x tokens
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
f221ea658b8aabefb419ad19826906a3afa3e806 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, tweaks
tate_tracker/st_context.c
tate_tracker/st_public.h
|
29c1fdd0ce57a7a69e4d90eaacff7102b69bca9c |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
better use of intel_context() cast wrappers
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
2edc87eb3d7283274c3d0714e90078736f8d985e |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up/re-org of intel_framebuffer code
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
1f17d845ff7a221a01de721aed81754175ab0a54 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused intel_fb decls, code
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
|
32f05c35d2814269dfd72c020c06e2cbcba68ad2 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move intelCopySubBuffer() decl
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.h
|
c1933ed23fa72e0d5bffd156c5c52558cc6b3190 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code in intelCreateBuffer()
rivers/dri/intel_winsys/intel_screen.c
|
bac76b71f1fed705fb5ee68bec88b82ad74de920 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove intel_context cliprect code
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
|
1cb81470b78f22708e9b83a40acb470744575ff3 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused var
rivers/dri/intel_winsys/intel_batchbuffer.c
|
5d8e3833801d161e47b05f3eed13f0584f156d2e |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove cliprect code
rivers/dri/intel_winsys/intel_batchbuffer.c
|
4e0b38958d5227a20653fb37da8f7621afe6402c |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove mesa includes
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_winsys_softpipe.c
|
131330994aed8ff63360a9fb54d498a3d3641e5f |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
use st_unreference_framebuffer()
rivers/dri/intel_winsys/intel_screen.c
|
44dfed15e0c5113d42d781e3937a2f619284454a |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_unreference_framebuffer()
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
fc73b216065325fc4ce2c500be5a5fa2072db0b3 |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename intelWindowMoved() to intelUpdateWindowSize()
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
02a1c8f5690a82dc77db7af381d1b6e4aea67e29 |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
pass __DRIdrawablePrivate to intelWindowMoved(), rather than context ptr
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
cb62b64e33278f599fca62d928433f6b6989317e |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify the window moved/resized code a bit
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_swapbuffers.c
|
ed8774e920706acb3445471833709dcaa691cb0c |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
set stfb->Base.Initialized
tate_tracker/st_framebuffer.c
|
e9d2156edfba222d6aa56d94c041fc2017c240fd |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove intelUpdateFramebufferSize(), use st_resize_framebuffer().
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
3d14b2c01e12823877ae9270c7a79da65681f25c |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_resize_framebuffer()
tate_tracker/st_framebuffer.c
tate_tracker/st_public.h
|
ecb41279d6c9f7fd0b2dc44309fd71fad5db33a9 |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
use st_make_current()
rivers/dri/intel_winsys/intel_context.c
|
c4a9c49cdb6740da7a7bda8804ffe04fe04c0b0e |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
restore dummy card_extensions extensions array, needed for dispatch setup
rivers/dri/intel_winsys/intel_context.c
|
2085cc9ac7cc2efb681f8ac824686390e83e2475 |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
use st_create_framebuffer()
rivers/dri/intel_winsys/intel_screen.c
|
e49efdab4a05d41f4b2f0bf989cdf036ab25879c |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
st_create_framebuffer() working
tate_tracker/st_framebuffer.c
|
bffed01e272b9a848aa7980ae72ae291d2677d05 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move st_create_framebuffer() to new st_framebuffer.c file
ources
tate_tracker/st_context.c
|
01b71b8f7a77b3eb5ccc009342c1ebdc7b3dda80 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
new file for st_framebuffer stuff
tate_tracker/st_framebuffer.c
|
794e03d3926614036d285f2033d8708c7667814a |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_public.h
|
7edf6304687a05f34e3f1e471451f54e7c8a5d47 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
more dead code removal, clean-up
rivers/dri/intel_winsys/intel_context.c
|
5ff1ff2b551821ccd90e85c4b8e7f32f60177adc |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move intelScreenContext() to intel_swapbuffers.c and make static
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
070aad3a9d8433fb29f687f500ed6ba2336ab72f |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove mesa extension code
rivers/dri/intel_winsys/intel_context.c
|
35924a34e5a405bc84459229abb477b2cb01409b |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old mesa context creation code
rivers/dri/intel_winsys/intel_context.c
|
e8f1006081f9cf638d9f3869da24f6c96d227eba |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code, unnecessary #includes, etc
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_swapbuffers.c
|
798658cc81ca0d0ecb6d5c0aa9539e4d0996ec6d |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove INTEL_FIREVERTICES
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
|
cf30d377ac9b4242e5ba8d617e6d594105db0709 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove refcount, fboRect fields
rivers/dri/intel_winsys/intel_context.h
|
ca96ee421a40b8ab640a717baf12542869f1264a |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove intel->pipe field
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_screen.c
|
a50d2feadd345c492a9a4710145f19df05e45edc |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some struct decls
rivers/dri/intel_winsys/intel_swapbuffers.h
|
0452eb9086ff24508099deae9f98885f918c76db |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/intelDisplayBuffer/intelDisplaySurface
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
d04938331a15a94682ee7909de0f073314171cde |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify intelSwapBuffers()
rivers/dri/intel_winsys/intel_swapbuffers.c
|
d083cbb4db3801f82f6bbcf0a6306013498b5a3a |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove useless code
rivers/dri/intel_winsys/intel_context.c
|
2beb872e3bac49c9e132cbab0548d4276531c123 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove disabled vblank/sync code
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
488326b0b9c559511e3282f4dee6027db6fcae2f |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable vblank/sync code
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
a5df4239c2a1b91e36e7d1191c19a078e6b74a22 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
added check for fb==NULL
tate_tracker/st_cb_flush.c
|
29feee2c02a7a558a5448434904991c1dd6eb19f |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead pageflip code
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
b8897d7481bb27974ccaedbe96d96fce77c1cfc8 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable page flip code
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
0ff447e7c4ae26a1c0ae6f92265dee4561816832 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
include context.h
tate_tracker/st_cb_flush.c
|
156e490699144bc6f3a8706a3a1b2d1f3c35f029 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace IntelFlush(), FLUSH_VERTICES(), etc. with st_flush() call
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
08f88cbbc9a5da5667d02d5eeafac79d2de1ee95 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
call FLUSH_VERTICES() in st_flush()
tate_tracker/st_cb_flush.c
|
4019277f09448a0f7ffb7dd620e9bc5613f9b758 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
public st_flush()
tate_tracker/st_cb_flush.c
tate_tracker/st_public.h
|
f6427e35572f857567f4459ad0501babbecef2f7 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove extern decls for non-existant functions
rivers/dri/intel_winsys/intel_context.h
|
09771f8c708ceab5956a8caf1483c5d3d30f9020 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
#include clean-ups, fixes
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
381b68d80413dba7e88f03057f720c0fe2b0ac2e |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
comment about renderbuffers vs. surfaces
rivers/dri/intel_winsys/intel_screen.c
|
00a133ad19a64e15c78314157a1a7102529441b3 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some dead code, clean-ups
rivers/dri/intel_winsys/intel_swapbuffers.c
|
17d044ec019039e1470004a213584c014ba30c62 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
more clean-up in intelDisplayBuffer()
rivers/dri/intel_winsys/intel_swapbuffers.c
|
fda91cfa4b7b7868172a563da49cb0d7ba6cf5e0 |
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Check if the user/texenvprogram is just a pass-through program and skip program concatenation.
tate_tracker/st_cb_drawpixels.c
|
417cb2c1829f2119f6674987edac09c61d633b45 |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch)
nl/t_vertex_sse.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
d9276cbb29807cbca5d7be9a0cedfeb1dcbfbd9c |
03-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix typo
rivers/x11/xmesaP.h
|
db9514394996065d44c6b8c870085727849999d2 |
03-Nov-2007 |
Dave Airlie <airlied@linux.ie> |
r300: move more vap registers out of non tcl paths
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
bf4feb73936d703d18d83df8beb1acd488d0b60d |
03-Nov-2007 |
Dave Airlie <airlied@linux.ie> |
r300: fix misnumber register
rivers/dri/r300/r300_reg.h
|
59efbb412fa0552a104283e7f4c1d721f42c6148 |
03-Nov-2007 |
Dave Airlie <airlied@linux.ie> |
r300: fix texwrap border color
rivers/dri/r300/r300_tex.c
|
7a7899a2476592e846b908a557a738a49fa9a948 |
03-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Allow batch buffer debugging without calling i915_winsys->batch_start so often.
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
|
5fa6ea68586e906a984291dd4c20f664924157eb |
03-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Do something sensible when failed to reserve space in the batch buffer.
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_state_emit.c
|
5c1606a2b3e951c32f028e0b328e6c06e9424e28 |
03-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Detail i915 winsys interface comments.
ipe/i915simple/i915_winsys.h
|
3c393b8df302493c4f48a750bfd7bd1c6aadbabb |
01-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Render primitives using indirect vertices in a vertex buffer.
ipe/i915simple/i915_prim_vbuf.c
|
16fe6a0f2d53e63884dcecaf8ba61e0105a92c99 |
02-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cleanups. Remove some debugging output and try to make sure that Mesa compiles when configured without LLVM
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_fs.c
|
a2debc2704b9126d92d947c0407a0fbd709ab932 |
02-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement sin opcode. Seems to have similar rounding border problems as cos.
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_builtins.c
|
e0e91e7ceb50f0e23311788559a8547dd24c7a80 |
02-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement scs opcode
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_builtins.c
|
5c7bfb06e087ce4162590359ad75d1fca98f3549 |
02-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement COS and CMP opcode. There's some weird rounding issue with COS that I can't figure out.
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_builtins.c
ipe/softpipe/sp_quad_fs.c
|
cf363ba30746ee0fd46b97986ea9fd753e093039 |
02-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Add debugging ifdefs to make it less verbose
ipe/softpipe/sp_quad_fs.c
|
45003b0bb920fe701304acb1599185f4dc92c89b |
01-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Get fragment shaders working on top of LLVM. Redo the entry points, get the output propagation correctly, interpolate the inputs before feeding into llvm for now.
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/softpipe/sp_quad_fs.c
|
2af2f7e419c1b6d796822a049f019afe3dfc6021 |
01-Nov-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Change the fragment shader signature to better match actual arguments that we need there.
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_entry.c
ipe/softpipe/sp_quad_fs.c
|
25d91c23ff834a129e537891ec3ad63197d37da5 |
31-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Add basic entry points for fragment shaders.
ipe/draw/draw_vertex_shader.c
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvm_entry.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_fs.c
|
7ff0df6c2bf11a36bc6101e361484bde57595a79 |
31-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Renaming llvmtgsi to gallivm. Taking first steps on the way to supporting fragment shaders through llvm.
ipe/Makefile.template
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/gallivm.cpp
ipe/llvm/gallivm.h
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
ources
tate_tracker/st_program.c
|
d8e66aca8443c6802ecd8f1a353024ed1d0f32c3 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Start re-working SwapBuffers. intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface in the on-screen window. Added a pipe_surface parameter to winsys->flush_frontbuffer(). Front buffer rendering/flushing actually works now. But, we should only allocate the front surface on demand...
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/p_winsys.h
ipe/xlib/xm_winsys.c
tate_tracker/st_cb_flush.c
|
28bed6d355e7ea3acbc4dbef0490e269d560f89e |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use new state tracker context/destroy funcs with wrap Mesa context.
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_swapbuffers.c
|
80d2658e129d097f30c84fe57e07daeb81bcc790 |
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Sketch out new create/destroy context functions which create/wrap a Mesa context.
tate_tracker/st_context.c
tate_tracker/st_public.h
|
7cafaff0ebb7c3fb7461573442aa44b354682d81 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable the driverContext assertions
ain/context.c
|
64988ff7fe4deb2d439bddf4475bec6c2fbf1b8e |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence the finalize_mipmap_tree msg
tate_tracker/st_atom_texture.c
|
15c565b018f90df80493eaa0e713f1cf3eb10a38 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't call _mesa_init_driver_functions()
ipe/xlib/xm_api.c
|
ca123a69faa377571c3b22167f7d444a26a3f776 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove _mesa_init_driver_functions()
rivers/dri/intel_winsys/intel_context.c
|
f8549e8f4f8bdfebcb4e0a2754df59b3fe4fdff7 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug in _mesa_test_proxy_teximage, temporarily
tate_tracker/st_cb_texture.c
|
2072a9c6d0eec55b5fa6f8229287c8f8225c6d2e |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code
tate_tracker/st_context.c
|
308bc50dc2048f28c48d68efd083c72bd501088c |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded tnl stuff
tate_tracker/st_context.c
|
b1ed405cfcafb59b7b65af5937bdef5768cf2578 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old comment about tnl/vf
ipe/i915simple/i915_state.c
|
54be3a7added5b6675a78f6df711d3bebc4c6cd5 |
01-Nov-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Reserve the right number of dwords for hardware state, and handle the case where it fails.
ipe/i915simple/i915_state_emit.c
|
c4e9bfedbc78e4e38d3ca47d6e5a756f9a07416f |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete file
ipe/xlib/xm_span.c
|
ea50025c76f20259cc6c79bceacd8945f305b738 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove xmesa_set_renderbuffer_funcs()
ipe/xlib/xmesaP.h
|
a00bd3fc2f85997d0573ea0e4773ef1e290e1128 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable/omit renderbuffer span code
ipe/xlib/xm_buffer.c
|
618089555353070f73dc8ad3b52578db3bedc294 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable/omit renderbuffer span code
ources
|
1c8d064c39468c8b1ae1e56074a8e470375bd1e0 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused funcs, macros
ipe/xlib/xm_surface.c
|
b2fabbc1970ad84074fa9c90b44c6943bdcec4d4 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
xget_image() wrapper to catch BadMatch errors
ipe/xlib/xm_surface.c
|
ea816fd6dbba878c74e1b428b3f8180020b4c214 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move dither kernels to xm_surface.c
ipe/xlib/xm_span.c
ipe/xlib/xm_surface.c
|
ef35f664ca243529577c1b5f232f9ef8575621f5 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some tile clipping bugs
ipe/xlib/xm_surface.c
|
cd132354dd5a6b778402a2e81d54910ac6c7fb8d |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move CLIP_TILE, add comments
ipe/xlib/xm_surface.c
|
d0dde6e26c142c27408a0b52c153b571b8737d29 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
rewrite xmesa_get_tile_rgba() to not use span funcs
ipe/xlib/xm_surface.c
|
ba0b1bdc332295743874c2e1fa3a2fc0528c70ac |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
reimplement xmesa_put_tile_rgba() w/out span funcs
ipe/xlib/xm_surface.c
|
a33308898666e89f2443e7eb4f1d09ae792b620a |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement get/put_tile() for xlib driver
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/xlib/xm_surface.c
|
0d6608ee6855e5605efc3bd9fec51ada59e208d9 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement surface clearing w/out dependency on XMesa/Mesa stuff.
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
|
351a83163a9536dc91014cc59bb406a10cd26df4 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code in _mesa_new_program()
hader/program.c
|
ee793281b221415f794af6aadaa9764023612e0b |
01-Nov-2007 |
Dave Airlie <airlied@ppcg5.localdomain> |
nouveau: ppc, swap fragment programs on big endian systems. Thanks to the PS3 RSX project for figuring this out.
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nv30_fragprog.c
|
b7611770ea2988d800c7e39cf9299a98cc5d260c |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
make winsys objects singletons, comments
ipe/xlib/xm_api.c
ipe/xlib/xm_winsys.c
|
4c7be3faa353aace2237b1f565bd42612002b65a |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Clean up xmesa winsys stuff Plug xmesa_is_format_supported() into the softpipe_winsys object.
ipe/xlib/xm_api.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
|
1103e9c3d0c3ba636837250eea3d50956a3b1e02 |
01-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comments for pipe_context
ipe/p_context.h
|
1b880c7e3c216a4f5417aacb702e5a0124d12110 |
01-Nov-2007 |
Dave Airlie <airlied@redhat.com> |
i915: make i915 use the cached mappings for batch/buffer objects. This should restore gears speed on 9xx hardware
rivers/dri/common/dri_bufmgr.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
|
1e3651569b3395d38e1d343f894844c043a66a6f |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some extension #defines
ipe/xlib/xmesaP.h
|
3feca9b5fc0577fc81eef822c5e4e8ee500203af |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
ipe/xlib/xm_dd.c
|
b60f88aec62da7c12f8e93b339826967733e0b9c |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove xm_dd.c from build
ources
|
869318db646e8a1e040cc56f271936f0c94762dc |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
move few remaining bits of xm_dd.c into xm_api.c
ipe/xlib/xm_api.c
ipe/xlib/xm_dd.c
ipe/xlib/xmesaP.h
|
3023756684eb54642477802757eeb9fb5da433cc |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
move dither kernels/tables to xm_span.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_span.c
|
a778d60076f0255caff5237fb40dadfaa9e406e4 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove xmesa_update_state(), which was called by ctx->Driver.UpdateState()
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_span.c
ipe/xlib/xmesaP.h
|
8d0d6f04a15f31c4491966767c547fe1ffbeb362 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
move surface clear functions to xm_buffer.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_dd.c
|
30fb4c43b02f4105944453e48d7a0f878746595d |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up includes
ipe/xlib/xm_buffer.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_span.c
ipe/xlib/xm_surface.c
|
e5ff772523e73dcc8b79270d680a8de1a7bad7bc |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove HPCR support
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_span.c
ipe/xlib/xmesaP.h
|
017d08a5e040ee476b19d672c17090eaca7fa918 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
get rid of xmesa_clear_buffers()
ipe/xlib/xm_dd.c
ipe/xlib/xm_surface.c
ipe/xlib/xmesaP.h
|
4411614fed938ba9495f43c01de1c3099febd860 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't pass x,y,width,height to clear functions
ipe/xlib/xm_dd.c
ipe/xlib/xmesaP.h
|
c1f11891dfc5df6ea0bcbb809f3f4ad2b81a1f6e |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove get_string, test_proxy_teximage
ipe/xlib/xm_dd.c
|
b345c9258b91d8a1eb86dc4c109964e060ad3ee9 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove timer_query, s3tc extension bits
ipe/xlib/xm_api.c
ipe/xlib/xm_dd.c
|
f36372f0b27bdb7f99c3e5615eaf156b492dbd1d |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Start removing old driver funcs like ColorMask, ClearColor, etc.
ipe/xlib/xm_api.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_surface.c
ipe/xlib/xmesaP.h
|
4a13a550e0f0fc12072f117229230175af30de24 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove FX/glide stuff
ipe/xlib/xm_api.c
ipe/xlib/xmesaP.h
|
7398272d4b43a42a57fd28a68194c5f6058696b3 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove tnl/swrast code
ipe/xlib/xm_api.c
ipe/xlib/xm_span.c
ipe/xlib/xmesaP.h
|
751d7a74ca00df44dbefee628b2a305e68638479 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
ipe/xlib/xm_line.c
ipe/xlib/xm_tri.c
|
68a38b58537280dada02f4451d56268f064e59bb |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead swrast/tnl code
ipe/xlib/xm_dd.c
|
e0e8cf1346513eb52771924e7efd8f19e935dd0a |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable swrast/tnl stuff
ipe/xlib/xm_api.c
|
5d6b314bcf64d3949038bdd5845793ce7dd0ecd0 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove Draw/CopyPixels functions
ipe/xlib/xm_dd.c
|
12f3f6cb2ac012c111d046e77772acd5561ebbf6 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
omit X point/line/triangle routines
ipe/xlib/xm_api.c
ipe/xlib/xm_dd.c
ources
|
87560bc10f57fd523d3317dfa1ff98d40099eb39 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
switch to Xlib driver in pipe/xlib/
ources
|
ef25c496d52f4f6c45816b64b4c0999321476cd7 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Copy of xlib driver. This will get trimmed down a lot for Gallium.
ipe/xlib/fakeglx.c
ipe/xlib/glxapi.c
ipe/xlib/glxapi.h
ipe/xlib/glxheader.h
ipe/xlib/realglx.c
ipe/xlib/realglx.h
ipe/xlib/xfonts.c
ipe/xlib/xfonts.h
ipe/xlib/xm_api.c
ipe/xlib/xm_buffer.c
ipe/xlib/xm_dd.c
ipe/xlib/xm_image.c
ipe/xlib/xm_image.h
ipe/xlib/xm_line.c
ipe/xlib/xm_span.c
ipe/xlib/xm_surface.c
ipe/xlib/xm_tri.c
ipe/xlib/xm_winsys.c
ipe/xlib/xmesaP.h
|
f4a5ea2ccb472958a4635c606e9510011bceaa3d |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update texenvprogram.c code to use prog_cache.c routines.
ain/mtypes.h
ain/texenvprogram.c
ain/texenvprogram.h
ain/texstate.c
|
a35a2fc0d3aaa795a0088bfc390b98a033fc28de |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead program cache code
nl/t_context.c
nl/t_context.h
nl/t_vp_build.c
nl/t_vp_build.h
|
8db4acc5547370761a9a489c947e9621adc8f945 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
No longer need st_update_tnl atom
tate_tracker/st_atom.c
tate_tracker/st_atom.h
|
d4dfe3e0b43cc2bab1f15175e6e296702733e1af |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
No longer need st_update_tnl atom.
ources
|
68ab379be09de775244bb787f0d30e562fc21038 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
more flags for MaintainTnlProgram case, update #includes
ain/state.c
|
8d9afa76eb090ff58ca9a8a7a86a0b23ffc56857 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use ffvertex_prog.c code instead of t_vp_build.c code.
ain/ffvertex_prog.h
ources
tate_tracker/st_draw.c
nl/t_context.c
nl/t_vp_build.c
nl/t_vp_build.h
|
4990695f1b197b270a4e3d98dd6bcd2bb4e89b4a |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some breakage from lifting vbo/tnl code
rivers/x11/xm_api.c
|
cf3f601682297d94482a1448eff3f36b26514ab1 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Lift fixed function vertex program generation up from tnl module.
ain/ffvertex_prog.c
ain/ffvertex_prog.h
|
287d573f5d992416e8355b597224e817c137387b |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix type for Samplers field
hader/prog_execute.h
|
b26aae67f5fe4194b48a5d3ddf704797b804b58c |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
alloc caches for fixed-func vertex/fragment progs
ain/mtypes.h
hader/program.c
|
3798395af5106c2100ea56b23762ad76890c6351 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
move a few lines of code
rivers/dri/intel_winsys/intel_context.c
|
8984a283389a13f9b4315aa7b7df1eaaa612ba28 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Lift VBO/tnl stuff up out of drivers
rivers/dri/intel_winsys/intel_context.c
rivers/x11/xm_api.c
tate_tracker/st_context.c
|
b31e37f14d75231724a1cbb0c7fe7031a2315671 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove intelInvalidateState
rivers/dri/intel_winsys/intel_context.c
|
d775509fb7736aac2d4c7903a93c0d7cb8015a91 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug st_invalidate_state() into ctx->Driver.UpdateState Start lifting Mesa stuff up out of winsys/driver code.
tate_tracker/st_context.c
|
2860f609949ced58caeb4828e7d2a34439d767da |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
re-enable fb size assertions which were previously disabled
rivers/dri/common/drirenderbuffer.c
|
5cb203433ab5c4e54a7386a816263a237c716aa2 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for count==0 in _mesa_validate_DrawArrays()
ain/api_validate.c
|
fe55eab8fa976fdf3d30b1d8160e4bb10e754e2d |
31-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Hold the vertex buffer handle.
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_winsys.h
|
44e6944e9dda3b78f2f4a9bdd583a4feeae1dcba |
31-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Handle TGSI_OPCODE_RET.
ipe/i915simple/i915_fpc_translate.c
|
af60ebc4eedcfec2090e1ddd7630137948c26866 |
31-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Allow more verbose error output.
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
|
13acc263859a4b4689f519be8b5519c784baf3ba |
31-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Chain vertex buffers into the batch buffer.
ipe/i915simple/i915_prim_vbuf.c
ipe/i915simple/i915_reg.h
|
d1414da8f9dbf3c27cf05509be51e8c70ed1185d |
31-Oct-2007 |
Jouk <joukj@tarantella.nano.tudelft.nl> |
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
|
520c71161ad0929a4b43e8e1e75067e10920f596 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement shader concatenation for glBitmap.
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
fb9cf48259a4534219c7b8dff5ceaed7afde56ad |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix InputsRead bug in _mesa_combine_programs()
hader/program.c
|
c1b2b97b8a7f2c9ff0f19c5bba352dfae11de4b2 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
special-case KIL/KIL_NV
hader/prog_print.c
|
2dfe0c4a24feef8b7ffc5951d9d1867661493bf2 |
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
combine shaders for glCopyPixels
tate_tracker/st_cb_drawpixels.c
|
d6a739f6b0658414a81715bf690159f7cfdb4961 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use program serial numbers to avoid re-generating fragment programs for glDrawPixels.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
ee70c02b62f7692de6293045928c47168652bd1c |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Before calling texformat->StoreImage() set _ImageTransferState=0 since we'll do pixel transfer in the fragment program.
tate_tracker/st_cb_drawpixels.c
|
4836217850114e0972900a68fd7d93e2e241819b |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
color matrix
tate_tracker/st_atom_pixeltransfer.c
|
0abd1fca91b5807a4906ec4b520e68594db5b36c |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
more additions for COLOR_MATRIX, etc
hader/prog_statevars.c
|
068c7bd912283e051a55b2fd5c4568685d10f3ed |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add state vars for color matrix, pixel transfer scale&bias
hader/prog_statevars.c
hader/prog_statevars.h
|
8aa42546add1fef4949e2d4ceded62e2d1dd0215 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
start using program cache
tate_tracker/st_atom_pixeltransfer.c
|
df174bdb818d4e21652d49c73ff17722e34a38b9 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pixel_transfer_cache
tate_tracker/st_context.c
tate_tracker/st_context.h
|
3e317996400778c3197bdaa7d95f8712205e589b |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added prog_cache.c
ources
|
0ee15e050bddad45ef6424e67c2ce75095d90745 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Program cache functions. Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs.
hader/prog_cache.c
hader/prog_cache.h
|
2f496ff9574ad99f8d85b5d63e97b15faf5aee39 |
30-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.
tate_tracker/st_mesa_to_tgsi.c
|
ab3f6015aa7227da3137b60456deb3905680f95f |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable debug code. Basic code for PixelTranslfer ops and glDrawPixels works now. A pixel transfer program is generated and combined with the current fragment shader.
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_cb_drawpixels.c
|
cbdff56f8cbb0560ca5eeb6e4b96eb3996e67fd1 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove obsolete files
tate_tracker/st_atom_pixeltransfer.h
tate_tracker/st_pixeltransfer.c
tate_tracker/st_pixeltransfer.h
|
7ce99a11037e577e36480f3e29b2685b853f0330 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename file since it's now a state atom
ources
tate_tracker/st_atom_pixeltransfer.c
tate_tracker/st_atom_pixeltransfer.h
|
de38d9c498b999d80b51679ece6b4caccd80a2b8 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: combine pixel transfer and user shader for glDrawPixels
tate_tracker/st_cb_drawpixels.c
|
b8042fb7fb15a4f99a10f9d9e48d43301622c2bf |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
make st_upload_constants() public
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_constbuf.h
|
0be546fa53753119a770d6368ced380bdf69c69b |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pixel_transfer_program field
tate_tracker/st_context.h
|
088e80f6dbdaa8bdcac2d9a46e8d5f387c116371 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_update_pixel_transfer atom
tate_tracker/st_atom.c
tate_tracker/st_atom.h
|
64a97680a714eed17968dbe16589bfbc6c8a62a7 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
bug fixes, implement state atom for pixel transfer
tate_tracker/st_pixeltransfer.c
|
8234935b658c99b829564f75a2c7840a1301ca36 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for NULL ptr in _mesa_print_parameter_list()
hader/prog_print.c
|
ba0fcc47d61be6caa2f4a5f4eb0c36eba9e2cb59 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Set _NEW_BUFFERS in glRead/DrawBuffer(). Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
rivers/x11/xm_dd.c
ain/buffers.c
ain/state.c
tate_tracker/st_atom_framebuffer.c
|
b19a93393043371776af6d50662a3eb0a9a965ce |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
comment unused 'cb' field
tate_tracker/st_context.h
|
cc9b4df5cbcb4e77cd5ee06e97e450fc0d78006e |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comments, fix typo
tate_tracker/st_context.h
|
1203f54686896ed21bb4e2e57880e0e034091b14 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
make _mesa_combine_programs() params const
hader/program.c
hader/program.h
|
bcc026893b4719122711d6dd3a391cca10820665 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_pixeltransfer.c
ources
|
cf56a99fb03e2c6e2739a6a9dbd6230c607813dc |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial version of st_get_pixel_transfer_program(). For generating fragment programs which implement pixel transfer ops.
tate_tracker/st_pixeltransfer.c
tate_tracker/st_pixeltransfer.h
|
9ffd88911f69babaa2214fb27f1ab66abd282639 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added _mesa_combine_programs() for concatenating two programs.
hader/program.c
hader/program.h
|
4b30d177b47953023b77494ef31fb1399beb7405 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added _mesa_combine_parameter_lists()
hader/prog_parameter.c
hader/prog_parameter.h
|
d2f19a554a9089fddb5e978e3a732bbf71d77f93 |
30-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix some build warnings, mostly with XCB.
lapi/glX_proto_send.py
|
a7f64635a640f49011cf78af766f90ae6588989a |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Alias glStencilOpSeparateATI with glStencilOpSeparate.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/state.c
ain/stencil.c
ain/stencil.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
f70ca96ba9eaeb380861fb657fca99f129b7f232 |
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Finish up ATI_separate_stencil Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/state.c
ain/stencil.c
ain/stencil.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
4c53635aab587e1d832b602b88aaf17bc5c8301e |
30-Oct-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
add missing _mesa_StencilFuncSeparateATI function
ain/stencil.c
ain/stencil.h
|
449562cde0008c755d20b3de83cbd3266bc001ac |
30-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Switch to using LLVM builder. Instead of creating all the instructions by hand, switching to using LLVMBuilder.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
3177b4e2cf7d2fff7428cb6057bebbe60ff5cc6c |
30-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
More vblank cleanups. * Fix crash at context creation in most drivers supporting vblank. * Don't pass vblank sequence or flags to functions that get passed the drawable private already. * Attempt to initialize vblank related drawable private fields just once per drawable. May need more work in some drivers.
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/i965/intel_blit.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
|
c97c03da46292abe72f94747fe527eb4e4623248 |
30-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Refactor vector extraction.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
|
dfd774318d1549c1e52364870a2c16a220dcd64c |
30-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Export true C based builtins to a file of its own.
ipe/llvm/gallivm_builtins.cpp
ipe/llvm/instructions.cpp
ipe/llvm/llvm_builtins.c
|
a01341a762baf7d5e18bd1a55950da7958958927 |
30-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Rename to better reflect what it's really doing.
ipe/llvm/llvm_builtins.c
ipe/llvm/llvm_entry.c
|
ea2c74a25ef4d8bd0cb6fab21913c6a32bcee26f |
30-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Code cleanups.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
|
a94251d081b202e81bcd51db0dd35f1aec82b0c5 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cleanup constant vector handling a bit.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/storage.cpp
|
75a9018fb90c93033ee5cbade9dd2febdc195d11 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Dump only relevant functions when in the debugging output.
ipe/llvm/llvmtgsi.cpp
|
fd908ce234d1f553b59d65afb7e4243ffee24018 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Change the way we handle temporaries in LLVM translation. TGSI uses TEMP, among others, as a way of passing arguments from one function to another. Instead of trying to figure out which temp's a function needs and trying to dynamically adjust its signature just pass the whole array of temporaries to them.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
b0f3b5910ebd0737600ab7b1fdc135d74f2617f4 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Enable immediates in TGSI and work with them in LLVM code. Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
tate_tracker/st_mesa_to_tgsi.c
|
8b2f997af572dd3aca00c4888adf2b0a60656331 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor code simplification
ipe/softpipe/sp_surface.c
|
64ffc9540ba9c0208f8eca98996d03d632c33064 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix memcpy bugs
ipe/softpipe/sp_surface.c
|
1553eba50c7a2577bce069a3400a29e4d49c0f31 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().
ain/state.c
|
f18d4e058ed979c6e42e868c7febde4fa62c5810 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx field from texenvprog_cache
ain/mtypes.h
ain/texenvprogram.c
|
9946012949ad294b2255f914fee4c80cff5e0040 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
refactoring to begin removing dependency on tnl context
nl/t_vp_build.c
|
783cedcdc14feda9c8ad0ca754752254bfa589eb |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify getting of current frag prog
nl/t_vp_build.c
|
27153bf02dab57d11565fa7730de4767618ce62d |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Refactor _tnl_UpdateFixedFunctionProgram(). New _mesa_get_fixed_func_vertex_program() function...
nl/t_vp_build.c
nl/t_vp_build.h
|
83ce6c51d7189094cf2a13fdcc0882a051a3bd41 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Refactor _mesa_UpdateTexEnvProgram() Will be replaced by _mesa_get_fixed_func_fragment_program().
ain/texenvprogram.c
ain/texenvprogram.h
|
dc1264970e585c0939606922b3e964db4b9c28b3 |
29-Oct-2007 |
Eric Anholt <eric@anholt.net> |
[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.
rivers/dri/intel/intel_regions.c
|
b0edb9c38a6c63175e4fafdbb54102c4f4a94e2c |
29-Oct-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'origin'
|
918ea5168baaecdf70f5ea37e5815cacf9558163 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Rename 'mms-config.' to 'mms.config'. It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
lapi/descrip.mms
ain/descrip.mms
ath/descrip.mms
hader/descrip.mms
hader/grammar/descrip.mms
hader/slang/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
bo/descrip.mms
|
38fdb47d26055e19d50cd407266b56ed4317ae0a |
29-Oct-2007 |
Jesse Barnes <jesse.barnes@intel.com> |
Refactor and fix core vblank support Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i915/intel_fbo.h
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_screen.c
|
f33ced441c934b625b9c126d054439855e822215 |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Update intel_is_format_supported.
rivers/dri/intel_winsys/intel_winsys_softpipe.c
|
da9815e17f42b5f07beb47a08146e44c367c1ac2 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Add detailed comments.
ipe/p_format.h
|
7de874ec2c7b9e3aff7f81b7e30045b45381fbad |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Make it compile under linux. Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
ipe/i915simple/i915_surface.c
ipe/p_context.h
ipe/p_inlines.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tex_layout.c
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tile_cache.c
ipe/tgsi/exec/tgsi_exec.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
|
ee295fccdd0c94cb6b8af4dfb30283e39f548223 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Make gallium compile in win32. Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
ipe/draw/draw_context.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_wide_prims.c
ipe/p_context.h
ipe/p_util.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_vbuf.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tex_layout.c
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tile_cache.c
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_parse.c
ipe/tgsi/exec/tgsi_sse2.c
|
d37eb130c090abc413a54e57e0d3800ac4cd59f4 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code
tate_tracker/st_format.c
|
ebe1642d7a65acd5e41632b3b23655f67de85cfc |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for signed vs. unsigned in st_get_format_info() - fixes accum buffer failure
tate_tracker/st_format.c
|
40133487dbdd14456a8a4f6a5716f57a36eb1ea7 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable ctx->Driver.NewProgram() call in _mesa_new_program() This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program().
hader/program.c
|
b58b64f361bef38a76b199427a4e248b1fab9f65 |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bad fragment shader pointer assignment
ipe/softpipe/sp_state_derived.c
|
cc0b55c242e9f53a8e45c5d4392f964af44f396e |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify code which access the current vertex/fragment shaders
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_shader.c
|
2a3f3679eba802dcb4b46f90c66326c9195cdbcb |
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable the else clause which assigns the default fragment program to ctx->FragmentProgram._Current The _Current field should either point to the fragment program which is to be run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional fixed-function code is to be used. Matches TNL program code.
ain/texenvprogram.c
|
a6a3d8cb755c36d4ae1dc4dbfb310f06862a37b4 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Remove conditionals from the makefiles.
ipe/llvm/instructions.cpp
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ources
|
a70c5e37f1c2e43738469e4799ad2b9e7c604782 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Remove typedefs from enums. typedefs are rather evil, remove them and use the enum keyword explicitely.
ipe/draw/draw_flatshade.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
tate_tracker/st_draw.c
|
25b17b213b7ba0d1b93ec37211504ee489944ce8 |
29-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Refactor the LLVM code a bit. Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
tate_tracker/st_program.c
|
abe8cd19171def0de000e58b9f71c43adf4c6336 |
27-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make sure the swizzling vector is being recreated for each function. This makes GLSL bricks work.
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
3b25ce9eca9643a7a008735ec69c4e7ffddbe742 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Add SSE dump facilities. Wrap x86_, sse_ and sse2 rtasm calls in emit_ calls. Those emit_ calls, if required, dump instructions to stdout. SSE dumping disabled by default.
ipe/tgsi/exec/tgsi_sse2.c
|
1eabc29ed126649f0de4a4f26166489bdcb9c01d |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Code re-org. Add comments.
ipe/tgsi/exec/tgsi_sse2.c
|
bd922c6437fb2081082bb164bcb0304559f6d7c4 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Implement RET opcode.
ipe/tgsi/exec/tgsi_sse2.c
|
e15ca7963e8b2e80eb79f6352f0761d0c1581fb5 |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Remove TGSI_INTERPOLATE_ATTRIB.
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_token.h
tate_tracker/st_mesa_to_tgsi.c
|
242b8659e40416f893157c7a0919964dabc957cf |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Fix i915simple build.
rivers/dri/intel_winsys/intel_winsys_softpipe.c
ipe/softpipe/sp_winsys.h
|
1039a755142e2fd45dc291d891c514fdfa7e033c |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Reuse hardware vertice representation.
ipe/i915simple/i915_prim_vbuf.c
|
a9e1fcf98a871b182f82dc37c15d0f69bf1a3187 |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Enable the vertex buffer stage according to the I915_VBUF environment var.
ipe/i915simple/i915_context.c
|
46aeff5814ae16544874ceafa5bd1e9d6577ca9d |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Get vertex buffer stage in a minimally working state.
ipe/i915simple/i915_prim_vbuf.c
|
02091e0f9c041250ea5abea6a5aa739d8e19c852 |
29-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Reserve the accurate number of dwords in the batch buffer.
ipe/i915simple/i915_prim_emit.c
|
dbb33a9710e64243ba8c69f44a149376300da2aa |
26-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Start a vertex buffer constuction stage for i915 based on Keith's draft done on softpipe.
ipe/i915simple/Makefile
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_vbuf.c
|
af5061cf5aced1d59d0a051c44ca5f8d633ddb7f |
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Fix newlines.
tate_tracker/st_mesa_to_tgsi.c
|
b59dbd822f353cbf0db404f14c2721c79cde79fc |
28-Oct-2007 |
Alan Hourihane <alanh@tungstengraphics.com> |
Only set R_MODE with NV_point_sprite
ain/attrib.c
|
c1b9f0eb7a4a0feb549218cdec3b7964d4c91bc9 |
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Remove unused static functions.
ipe/tgsi/exec/tgsi_sse2.c
|
2bbd714fda7b0fb21184bea8ed0c08f155cba528 |
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Update comments.
tate_tracker/st_mesa_to_tgsi.c
|
3c8121967224f91bfcd5431b4069d66eecbc5952 |
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Replace supported_formats with is_format_supported interface. The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
rivers/x11/xm_api.c
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_winsys.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_format.c
|
b85cd7b70096cf7c922aed56ae8255fb4b8f0709 |
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Use FREE and MALLOC instead of free and malloc.
ipe/p_util.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_quad_fs.c
|
2953415223fc61e92305453d60714c7e919b604d |
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Rework sse-utility function calls.
ipe/tgsi/exec/tgsi_sse2.c
|
c5ad88e9f1d6a915d9464df0b8fa4de65a3513d2 |
28-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Declare temporaries in a more compact fashion. The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
tate_tracker/st_mesa_to_tgsi.c
|
e420e9d48577de57f912ab39d59c2d1d4d14b8f6 |
28-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Declare temporaries in a more compact fashion. The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
tate_tracker/st_mesa_to_tgsi.c
|
80ab2ab335717db4f3b9593ff1e111cc2191d83f |
28-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Control FS TGSI dumping with GALLIUM_DUMP_FS env variable.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state_fs.c
|
90e47c8c7bd72c751b9d478fa583d758aa26b06d |
28-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Fix newlines.
ipe/softpipe/sp_context.c
|
f93b9dc09a8f9289d7bd5c0f99c935f28016691e |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Use FREE instead of free. Fix newlines.
ipe/p_util.h
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
|
a846d7d0273e879371b69f1bbcb8a6698a24a903 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Enable SSE path.
ipe/softpipe/sp_quad_fs.c
|
f16f23b3ab4caf6588ce713fc682aac6e9f808fb |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Use PIPE_FORMAT in state tracker. Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
ipe/p_format.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
d8b59ba1775ea730130fa0e2a1f054161d948820 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Refactor supported format queries.
tate_tracker/st_format.c
|
205d4e49001123ea0bb10139aa3236cc1f2141d0 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Respect use_sse flag.
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_fs.c
|
9dfc27edf11b3fd00c364894578f5a3a05c4ca54 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Fix SSE bug.
ipe/draw/draw_vertex_shader.c
|
478b5692de2d9be0ff96b5a61a79f18c8ff64bb6 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Add #ifs.
ipe/softpipe/sp_quad_fs.c
|
b23350700e476e397fefefa45f77d2a5a33c111a |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
vertex_element::src_format needs 32 bits.
ipe/p_state.h
|
f27dcb51f70d6a2efab39770ddeff3d5603deaaa |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Respect use_sse flag.
ipe/draw/draw_vertex_shader.c
|
e9ce69b1c9cb6a84e4c0403cf3090653e125c91d |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Remove PIPE_FORMAT_COUNT references.
tate_tracker/st_format.c
|
1ab8f6e69615c4f39110cf9202ae4b52238c0bf2 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Enable SSE2 for fragment shaders.
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
|
31b4b261083e546998eba37178ac196049e4e501 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Enable SSE2 for vertex shaders.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
|
7362fe5d163a32cb8ba76de907ccf53dc69ff066 |
27-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Fix YCBCR macro. Fix line endings.
ipe/p_format.h
|
bf229cb6f1aa01ae005afd2d90b3563ff495eaaa |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Fix alignment problems. Remove NOP opcode. TEX opcode returns solid white (a hack for D3D state tracker).
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
|
9053fcabcbf1b1c969a9a52585d232bb778eba63 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Remove GL dependencies.
ipe/tgsi/exec/tgsi_util.c
|
6961769cb23c8b9ed2fb56d8ce6e649848412357 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Define destroy method called by softpipe's destructor.
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
|
dee9406e4847f98b346f0fff72d16df46e9584a4 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/softpipe/sp_prim_vbuf.c
|
187c164bb6fa794f59181df89e72ff8c543238c6 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/softpipe/sp_prim_setup.c
|
3755840e005dd11db0a51effa420672ac4f119d4 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Call quad stage destructors.
ipe/softpipe/sp_context.c
|
21b5ff5dccd448cd581203ff177244c835e407a8 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Remove llvm and sse2 dependencies.
ipe/p_state.h
|
26df9d1a304f03e9692e7bac0a3bc83330f30c6a |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Move format definitions from p_defines.h to p_format.h. PIPE_FORMAT is not an ordinary enum -- it encodes its format description in the value that defines it.
ipe/p_defines.h
ipe/p_format.h
|
bc99ea96fbde347aa4cad13477d5e3c30cb8069e |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Add sse2_program to draw_vertex_shader.
ipe/draw/draw_private.h
|
11a19866f6e425d23f0a1dd404ae836b3c9f190b |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/draw/draw_context.c
|
0e96a53aec7a4eb0236fa31f4682734b9310cb80 |
26-Oct-2007 |
michal <michal@michal-laptop.(none)> |
Remove llvm dependencies.
ipe/p_context.h
|
79d8e78442c08082083261d517cdf260e0bd309f |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
New comments, replace //-style with /* */
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
d75ff8447cd0b993be36f399ccd360aaf412b1f3 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
indentation fixes
ipe/tgsi/exec/tgsi_exec.c
|
d7c189b85484cb15570edc09862ed848bdd4c7d2 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/GLbitfield/uint/
ipe/tgsi/exec/tgsi_exec.c
|
e807b1900ff0a5661246d8eeff8b8e230231ad60 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #define MESA stuff
ipe/tgsi/exec/tgsi_exec.c
|
88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/256/TGSI_EXEC_NUM_IMMEDIATES/
ipe/tgsi/exec/tgsi_exec.c
|
0c2bcedf9a1c924d672f4ec1b0f7d8af7a9df876 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
indentation fixes
ipe/tgsi/exec/tgsi_exec.c
|
6ada4e3a69476ed086955fe4060b894559e1eb95 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Comments about texture instructions and the src regs
ipe/tgsi/exec/tgsi_exec.c
tate_tracker/st_mesa_to_tgsi.c
|
f6a73c3f2815c4c84563c186bba6c8e67bb42ae9 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove remnants of softpipe_surface. This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
rivers/x11/xm_surface.c
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
4f24568dc7d7cc0de56928b99684b602091e4218 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
ipe/tgsi/mesa/Makefile
ipe/tgsi/mesa/tgsi_mesa.h
|
ef6940f17220f1149dce6daf548bd0103d91a281 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move mesa_to_tgsi.[ch] to state_tracker
ources
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
tate_tracker/st_program.c
|
3cf6644c00ad0b265c64645d0b14de9dc90ba851 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move mesa_to_tgsi.[ch] into state tracker.
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_mesa_to_tgsi.c
tate_tracker/st_mesa_to_tgsi.h
|
bafbfb4dce7a10fe91c8e0564750e69358ac9461 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix up handling of immediate values for TGSI shaders. Still disabled pending LLVM updates.
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
19710c95da683097372aa54b7538eaa2de778aa5 |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
turn off debug output
hader/slang/slang_link.c
|
8fed2466e4056668a76a87cf935b5fbff8ae15ca |
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Re-implement GLSL texture sampler variables. GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
ain/config.h
ain/mtypes.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
hader/prog_execute.c
hader/prog_execute.h
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_print.c
hader/program.c
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_typeinfo.h
tate_tracker/st_atom_sampler.c
wrast/s_fragprog.c
|
789d248558061fe4d65f664d6770a12b90fa2e34 |
27-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Hold a stack of temporaries so that we can redeclare them for all defined functions. Fixes crashes in function calls.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
78c1f8b2decf168d183c52e7b414adb29dd18988 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
convert OPCODE_END -> TGSI_OPCODE_RET
ipe/tgsi/mesa/mesa_to_tgsi.c
|
f92083c338069c5c22d200e4696d8cd908258492 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
if we hit RET w/ empty call stack, halt
ipe/tgsi/exec/tgsi_exec.c
|
6b30f3888e46c3981f1e4fc34c155c7539275420 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial support for immediate values in TGSI programs. These can be evaluated at compile time. Code disabled pending clarifications of TGSI immediate data structures.
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
67e4b8299620db2e2f33795621b23e9827604bb1 |
26-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Get basic function calls working in the shaders.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
56da35ef76b062f2d37f37a4d3d986e333c4954d |
26-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. Shorten the swizzle coding in LLVM compilation using it and fix some warnings.
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvmtgsi.cpp
ipe/tgsi/exec/tgsi_util.c
|
61d998c966d10e7a44b06d378c54b5f21ad69b53 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make ret part of the instruction block instead of implicitely closing at the end of parsing.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
e4f6f0ec02133e9297c3f2db787dee14bf0ae6e1 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
surface_alloc() is now a winsys function. This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/x11/xm_api.c
rivers/x11/xm_surface.c
rivers/x11/xm_winsys.c
rivers/x11/xmesaP.h
ipe/failover/fo_context.c
ipe/i915simple/i915_surface.c
ipe/p_context.h
ipe/p_winsys.h
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
tate_tracker/st_cb_fbo.c
|
f7be1b419aab80c4e011183611964eb4d7c023c2 |
26-Oct-2007 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Actually move region_alloc() and region_release() to intel_winsys.
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
6ef27b88e6f767cd476676b33cb7c4ea6922234e |
26-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Merge branch '965-glsl' Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
|
ec854674577dc8162fd336e2a5369ec274271929 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up, simplify some tile code, more to come
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
|
f684120417c6b3ca9e7486ffeb24fe88e428834d |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move region_alloc() and region_release() to pipe_winsys. This allows regions to be allocated w/out a rendering context.
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/x11/xm_buffer.c
rivers/x11/xm_surface.c
rivers/x11/xm_winsys.c
ipe/failover/fo_context.c
ipe/i915simple/i915_regions.c
ipe/p_context.h
ipe/p_winsys.h
ipe/softpipe/sp_region.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_mipmap_tree.c
|
616112ea2e0eefea356be228bff8754ee955d8b3 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence warning
tate_tracker/st_cb_clear.c
|
ee80e0b620c5b9af62dac8ad64a84042b46f5264 |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move the get/put_tile() functions to pipe_context. The _rgba versions are temporary until the state tracker is updated.
rivers/x11/xm_surface.c
ipe/i915simple/i915_surface.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_texture.c
|
afd19177e4e6571858fc94ab6be1b12bb54a04ed |
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
tex comments
ipe/tgsi/exec/tgsi_exec.c
|
aaac436c6c06232e383d5cee3c6dfc69eb820c83 |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added some comments
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
3dde3715db671e32261bfb8b11fb599e5a0e6c5a |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update TILE_TOP/BOTTOM_* values to match softpipe
ipe/tgsi/exec/tgsi_exec.c
|
86f09fd1a78c5ea060b62e6b657fd693a2d688a8 |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/GLfloat/float/, s/GLint/int/, etc
ipe/tgsi/exec/tgsi_exec.c
|
18a22a43024474cb63a8bb26d5136b4f38db213b |
12-Oct-2007 |
José Fonseca <jfonseca@pegasus.(none)> |
Briefly describe the buffer management interface.
ipe/p_winsys.h
|
ff042bfdeeeb0a3d658d5ab1dbdcac7b67aac0f8 |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use grep -q
akefile
|
6dcf65ff0d6fcea9c7e3ae51d51eac6f9a030e47 |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify/fix the ASM_FLAGS tests (bug 12931)
akefile
|
8568fadaf22787bc1652bb6f818b9c5c1ec81318 |
25-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
LLVM requires linking with the C++ compiler. It's basically luck if it works with the C compiler on some platforms...
akefile
|
4a4e6f2cabdf39e9032e3e513f9966f471454077 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement loops
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
1d17cb721afaa53317614af90488a45c26e083e3 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix nested swizzles. Actually fetch the destination contents instead of input.
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
1d26e9c447fd9746b2219edbf65b1991521bcfe7 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix nested conditionals
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
7073ef96824242669735a8681519e1a0cee14309 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement else ops.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
731352f03ee998050331104d90abb47ee1377b3f |
25-Oct-2007 |
keithw <keithw@keithw-laptop.(none)> |
set vcache.referenced bit always
ipe/draw/draw_vertex_cache.c
|
5022ee43fc7916f16bdce8b076bad78fca262a62 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make branching work :) Simply allow output variables as valid operand inputs when they've been assigned already.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
1c5fec714d30c02d6d00d95215c2e302c4c65cc3 |
25-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Simplify branch handling. Prepare for proper decleration extraction.
ipe/llvm/instructions.cpp
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
26479fa3b3a7c911617192c56e54fbe298fdd7f3 |
25-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't build x86, x86-64 dirs if not needed
akefile
|
7636aac54bb357ce907ae6cc2c41f32957faecf3 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix glDrawElements + VBO rendering when ptr/offset is not zero. When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
tate_tracker/st_draw.c
|
40a0b053f78acd0a08f6876518b8e9301480431f |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Revert "Undo indexOffset change (I think, git???)" This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
tate_tracker/st_draw.c
|
11ce6244a79106c592364b30434b6ddade3fd6bb |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Undo indexOffset change (I think, git???)
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
tate_tracker/st_draw.c
|
3733b1f2e95642b47218604aee6a34eacb0c7293 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add to git
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
|
5e9272c748fba836c716346f1c527e7d139083a4 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add to git
hader/slang/library/slang_builtin_120_common_gc.h
hader/slang/library/slang_builtin_120_fragment_gc.h
|
f68fce1f1f61997f284b77cca5b5765cd7443240 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement gl_PointCoord attribute for GLSL fragment shaders. Contains the normalized fragment position within a point sprite.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_points.c
wrast/s_span.c
|
3a345e000350c1590367f01be5db6f0f10701283 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
print CAL label
ipe/tgsi/exec/tgsi_dump.c
|
e506514dbbaf6850f477125f89068afa967fa9b4 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bug in RET code
ipe/tgsi/exec/tgsi_exec.c
|
4eafe69a2ac27e8e92ce0fc503a5d6cc24b8f257 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
better debug output
ipe/draw/draw_vertex_shader.c
|
76a4fd098f44ae4f226d4747b9fdaf9db5d40270 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
a bit more work for optimizing clears in tile cache (not enabled yet)
rivers/x11/xm_surface.c
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
b78e90807abc31f58492992cdfe5e01bfd53e68b |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
flush pipe in draw_stencil_pixels()
tate_tracker/st_cb_drawpixels.c
|
47f2e97019d367e544439d0604b824b7bd2643c7 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel (for depth texture sampling)
ipe/softpipe/sp_surface.c
|
af960431675ddb51c24da29ac183399401b62362 |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added a pipe->flush() call in xmesa_clear()
rivers/x11/xm_surface.c
|
e48f0b09abe42aa3393a492af07e53b76ad0ff3c |
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement gl_PointCoord attribute for GLSL fragment shaders. Contains the normalized fragment position within a point sprite.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_points.c
wrast/s_span.c
|
02cf317ed69c67c672c852451c45986d7798413e |
24-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Add copyright headers and do some cleanups.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/llvm/storage.cpp
ipe/llvm/storage.h
tate_tracker/st_program.c
|
9d4b51aab8f5a0c0a4a0c14886d1c87828d9eeb0 |
24-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Remove the silly function and remove the bogus comment.
ipe/llvm/llvmtgsi.cpp
|
d76a7b61bb2de2425289f462e07a678cf3c4ba59 |
24-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cleanup some code.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/softpipe/sp_quad_fs.c
ources
tate_tracker/st_program.c
|
5040eefbb758fb0e02125ad3a6bfb3dba13cb7fa |
24-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement arl, lerp opcodes and do a first stab at if/endif handling and branching support.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
ba823b3ded1b6ec47b8a0e26ed08a229fe1a9140 |
23-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement cross product and abs opcode
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
1248b9776bfeec1f61962604b21212d2cf336283 |
22-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement extended swizzling.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
743e96eec5f89cf55873b82ee58b4a06d094c0e9 |
22-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement SGE and SLT
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
b04430efd963ca541c435c6c1007feccf5474040 |
22-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Introduce linux-llvm target. Remove the llvm code from the default build for now. Cleanup some of the debugging output.
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
|
ba887517160ab2b5a70e01723ee649db1554775b |
22-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Align the load/stores. Reduce the amount of debugging output.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/llvm/storage.cpp
|
6815a9af6c98934e3537507ccbf077d69a5d5320 |
21-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cleanup some of the debugging output code
akefile
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/instructions.cpp
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
3b772a277fe032c94654648d0671ff42fd3fdce6 |
20-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make lit work but in a very lame way - will have to be rewritten.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
d4d8d7c468c8ba45e302e163dd87b4e45426e1da |
20-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Muchos fixos. gears kinda works. and cases don't crash. glorious
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/llvm/storage.cpp
ipe/llvm/storage.h
|
e9a623d6a69718e3a9cc46dbb54cb4e7bd79f09c |
18-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
implement min and max
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
3ae767dd073e8c24fc159cb86f89e61ea7a0e85f |
18-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix some warnings and implement lg2
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvm_base_shader.cpp
ipe/llvm/llvmtgsi.cpp
|
c6a1beb18fa5c556c3889f3a5ebdffe51981ad85 |
18-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement frc and floor
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
1c955171c84f5d062f5f0be983de636a1817c6f7 |
18-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement ex2 opcode
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
bd38f4d92125e648b276344ebb2ab9d517b3e7a5 |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement dst opcode
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
3c558e17f03a9813d905e7dc38b59ff0ad142ee9 |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement dph opcode
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
7abe3364b2c463fd3e96c2bc9d07aaa91bcfbc2c |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement dot4 opcode
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
e20294be114c2593035afaf6fe0726e0ce628ed0 |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement pow/rcp and sub opcodes
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
|
fcbde5e9f44ee7254b6618b6fe2be98a1c803ed2 |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Add the "add" opcode and assert one vp if an opcode isn't supported
ipe/llvm/llvmtgsi.cpp
|
b0f80693434cb203f63d8fbab56c1522000ed88f |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Refactor the tgsi->llvm storage translator
ipe/llvm/llvmtgsi.cpp
ipe/llvm/storage.cpp
ipe/llvm/storage.h
ipe/llvm/tgsillvmbuilder.cpp
ources
|
3975f34fd36f8b04d499bb6b3d48eaeef5cab24e |
17-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement basic opcode translation and storage translation.
ipe/llvm/instructions.cpp
ipe/llvm/instructions.h
ipe/llvm/llvmtgsi.cpp
ipe/llvm/tgsillvmbuilder.cpp
ources
|
fa2962d14833480e154e8478e57758f18cc1442e |
16-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Draw first triangle. Start on the llvm builder.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/tgsillvmbuilder.cpp
|
5e0205023e8e6a08b0eb61286e15eb095f32ab3d |
16-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cleanup some of the testing code. Implement first pass at actually running shaders in llvm.
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
|
5ffdada717466a78b5b148764ba23c7a95098887 |
15-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Execution engine is a singleton, for now keep it in the pipe.
akefile
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/p_context.h
tate_tracker/st_program.c
|
9e6d58fac26a12246e9e560f3802ebcbce2423bc |
15-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Generate the base shader.
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
|
2dbba8b024720c11cb2d812b5ccb61ecb9887faa |
12-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implement the conversion and do the initial execution pass.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/draw/draw_vertex_shader_llvm.c
ipe/llvm/llvm_builtins.c
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/softpipe/sp_quad_fs.c
ources
|
11bc1f015a781760c419bdd53b326132b5146971 |
10-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Stub out some conversion.
ipe/llvm/llvmtgsi.cpp
|
b2e529982eb702ea039f6436c9dece39401a4c9c |
08-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Initial stab at LLVM integration.
akefile
ipe/llvm/llvmtgsi.cpp
ipe/llvm/llvmtgsi.h
ipe/p_state.h
ipe/softpipe/sp_quad_fs.c
ources
tate_tracker/st_program.c
|
4664261f8d8fefa347bf38a224f6584d0fdeebfc |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix vertex cache bug that allows multiple vertices to fall into the same slot. Need to set the slot's bit in draw->vcache.referenced even when there was a cache hit since flushing the primitive buffer will have cleared the bitfield but not the cache's vertex indexes. Fixes a bug found when drawing long triangle fans but could be hit by other prim types as well. An alternate fix would be to call draw_vertex_cache_invalidate() from draw_vertex_cache_unreference().
ipe/draw/draw_vertex_cache.c
|
3df65af849280863a15fefcb11f8304b83c9ffa0 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added comment
ipe/draw/draw_private.h
|
40e46d0727920dffdcc23aba150aa3c37c6ecf65 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
In get_vertex(), slot was computed using & 31. Replace with % VCACHE_SIZE. Also, assert that index is not too large before indexing array.
ipe/draw/draw_vertex_cache.c
|
be049999829d21a1c9ec9a2c616e99186208266b |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
adjust coords in wide_line() to be conformant
ipe/draw/draw_wide_prims.c
|
c9d495c6f064aacd1e072033b9c17a83b8c37fa1 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
properly init dst reg's CondMask/Swizzle fields
ain/texenvprogram.c
nl/t_vp_build.c
|
112a1580f658948e553fe04399a20958dca67c16 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
properly init dst reg's CondMask/Swizzle fields
ain/texenvprogram.c
nl/t_vp_build.c
|
2a8e9bb00f8cf830783cbc20a2a57f31b19491ea |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions
ain/texenvprogram.c
|
e69943e6dda102df8418a8261b95155350181a2f |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions
ain/texenvprogram.c
|
5c79c088cd0a2c512891b87b67a3c4f810595658 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Don't pad renderbuffers to multiple of two pixels anymore. This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist.
tate_tracker/st_cb_fbo.c
|
2667e5642ffb2081450a167af1213899280da42d |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't apply ColorMask to main gc
rivers/x11/xm_dd.c
|
588c91eb0a93bdb1ae2819db63b081c9d78833d1 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't apply ColorMask to main gc
rivers/x11/xm_dd.c
|
455a08d87d6f838a92bb9260c9f27757e3740593 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix masking bug, memory leak
tate_tracker/st_cb_accum.c
|
0a3eaeadb96b313df0ac1e45eba07d39f432db72 |
23-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't use GL types for get/put_tile() params
rivers/x11/xm_surface.c
|
beefc6011bce9e99cb46430186de1c13f027cb05 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
new flag to control psize (from vertex shader or fixed size)
ipe/draw/draw_wide_prims.c
ipe/p_state.h
tate_tracker/st_atom_rasterizer.c
|
1b4852345954af9b582b03a91a3d8399b8fb0e92 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add support for sprite texcoord modes
ipe/draw/draw_wide_prims.c
ipe/p_defines.h
ipe/p_state.h
tate_tracker/st_atom_rasterizer.c
|
22e5c4f0f09cff64039b171c5cee6def07395e1f |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement point sprite mode
ipe/draw/draw_validate.c
ipe/draw/draw_wide_prims.c
|
cd4d732773e06e462e78b8f5bc9f3f1552a198ac |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add point_sprite flag to rasterizer state
ipe/p_state.h
tate_tracker/st_atom_rasterizer.c
|
34abb93ea10855840a86695a97ccbc89e6d2b9f8 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused var
ipe/softpipe/sp_quad_fs.c
|
8d244159870d6f8d67b844e3c84b0d32a387e59c |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
tweak point corners to pass conform test
ipe/draw/draw_wide_prims.c
|
e3444deec5a369e4ffabfeb9f6c257dd6b8e5a30 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug the wide prims code into the pipeline
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/draw/draw_validate.c
ources
|
80d2bb7c643092e489dba77e4bd02a8684fcc42b |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update to working condition
ipe/draw/draw_wide_prims.c
|
70eb7996f265f3634dabda078f13d1be3533cc65 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Finish unifying the surface and texture tile caches.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
ipe/tgsi/exec/tgsi_exec.h
|
ec3bd21c465f27d0a8e313e00338109d21019fc0 |
19-Oct-2007 |
keithw <keithw@keithw-laptop.(none)> |
pull clip/ module wide and stippled lines/points code
ipe/draw/draw_linestipple.c
ipe/draw/draw_wide_prims.c
|
b3204c2aff3f3d442ada04f241f352155a3af205 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Start implementing cache routines for textures. First step to consolidating surface/texture caching...
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
c2322333b8d1732f4c6d4b71ff5ee2ea772d3cb5 |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename some vars
ipe/softpipe/sp_quad_blend.c
|
cae640eae63544211710a2848e23f6d1d74f827f |
22-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence warning
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_flush.c
|
49848208cf1faba49a83fb8872a29f6fa910127d |
21-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove obsolete read/write_quad() functions
rivers/x11/xm_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
|
03145d864ce21094592ae847fbe8da57c419374e |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
init sp->sbuf_cache to avoid possible segfault
ipe/softpipe/sp_context.c
|
f9aa75718708076e50033287fde993799878ecf6 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Call softpipe_unmap_surfaces() in softpipe_flush(). This fixes a DRM BO failure upon swapbuffers caused by the color buffer still being mapped. This is a bit heavy handed since we don't always need to unmap buffers when flushing. Need to pass a flag to flush() or design a new function.
ipe/softpipe/sp_flush.c
|
7c8b2f7ce33a672a90de8000bcbf15ec764e9d85 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
In region_unmap(), check if region is mapped before decrementing refcount.
ipe/i915simple/i915_regions.c
ipe/softpipe/sp_region.c
|
bb3d61551c8bb3fc60ca48bd2394d4ba7ba004d2 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
flush the pipe before accum ops
tate_tracker/st_cb_accum.c
|
a1633c07164e8bc9630f1fa77769e7ceee585a59 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
unmap regions when reallocating renderbuffer storage
tate_tracker/st_cb_fbo.c
|
fd3876e9e3fb17df61dbf45d400796d682a8fbe0 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
renderbuffer tweaks in update_framebuffer_state()
tate_tracker/st_atom_framebuffer.c
|
46e2d2bb0a7423122412e3f119fdd89fedd9aef6 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use combined depth/stencil buffer when possible
rivers/x11/xm_api.c
|
7e8396399824108d62dc3e02b2af0422e98aab8e |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Convert Z/stencil ops to use cached tiles like colors. Also, quite a bit of re-org of the tile caches and surface mapping/unmapping. Leave surfaces mapped between primitives now.
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
832e73bc098fa8fd680d70cb495f495b33769630 |
20-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added case for TGSI_OPCODE_END
ipe/tgsi/exec/tgsi_sse2.c
|
c492725abfab8df545a5adea3cd124cba3ba5c4c |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
get/put_tile_raw() funcs for 16/32bpp surfaces
ipe/softpipe/sp_surface.c
|
d4a9d4bdefb0670554c2e8ee35129d40c06b64ad |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added get/put_tile_raw() methods
ipe/p_state.h
|
ffd37b1fda1c880028f2c353edbf4807d55b6844 |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't alloc region in xmesa_surface_alloc(), fixes a mem leak
rivers/x11/xm_surface.c
|
257f0da6a2e9cc687c0cdc76c0fb326eab9e9ac9 |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable debug printf
ipe/softpipe/sp_tile_cache.c
|
96b06ac557b721f0b1b9cc05b1d2b3a289701ae5 |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
call Driver.Flush() in _mesa_notifySwapBuffers()
ain/context.c
|
2b2f761e2b0dc160793be2f48e811d2d455e1e22 |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial implementation of surface tile caching. Instead of using read/write_quad() functions, do framebuffer accesses via get/put_tile(). A cache of tiles is used to avoid frequent get/put() calls. Only implemented for color buffers right now.
ipe/softpipe/Makefile
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
|
46c3cf18315345effd15a69987294c1195843e2a |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Tile cache functions.
ipe/softpipe/sp_tile_cache.c
ipe/softpipe/sp_tile_cache.h
|
5cf4fc5832cef855158337c2bb71ebcc4e3caa1d |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
clamp/clip in put_tile(), move softpipe_init_surface_funcs() call
rivers/x11/xm_surface.c
|
b57f573b9907df351ccc9a7853e94b0efdf35218 |
19-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old comment
ipe/softpipe/sp_context.c
|
0007cd7ba0a61fcbcf9c9d19e014408be25ae496 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Alternate CopyPixels path based on get/put_tile(). For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday...
rivers/x11/xm_api.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
5d39f4f9fdba4cd3333a39af583a73b85eb6bb74 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bug in copy_rect(), use temp vars in sp_region_copy() to aid debugging
ipe/softpipe/sp_region.c
|
874b6b9960ee3778182cf331f6faf59d477eb214 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix off-by-one error in CopyPixels src position
tate_tracker/st_cb_drawpixels.c
|
d44e515fd77d088862c5f19ef9a7aa92b04b5f13 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix upside down CopyPixels image
tate_tracker/st_cb_drawpixels.c
|
68b88fab882d882abbdc555ddd2c6df37a7e125e |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix function name
tate_tracker/st_cb_readpixels.c
|
563584a4ee853c45b7a4b60c68ac8dea4d92942d |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: code refactoring for glCopyPixels
tate_tracker/st_cb_drawpixels.c
|
bdc574c5bd3cf1a493d70863436b773d0a8a73a7 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
start implementing glCopyPixels (stencil works)
tate_tracker/st_cb_drawpixels.c
|
8f3fb395ff9bec371942e0769763daa4c59f876b |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
make read_stencil_pixels() non-static
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
|
447c93dd1b3bb31fe19fa81b32d1c3c62ab65c54 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Change type of shader->executable field from void * to generic function pointer. Fix warnings in draw_create_vertex_shader()
ipe/draw/draw_vertex_shader.c
ipe/p_state.h
|
b21f4ac15fc190b474e1686d50a6992caed9c388 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added const qualifiers
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
|
2ae9f53c9d56ca1898d30cbd359c1fd31027ae6c |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
better debug code, silence some warnings
ipe/draw/draw_vertex_shader.c
|
54c5262eaff45bea8fa01305fa423341998fdc4e |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
print vertex input mapping
tate_tracker/st_debug.c
|
5bd119f9438b680f5e42458ef0b250662af36235 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
handle fogcoord/raster distance
tate_tracker/st_cb_rasterpos.c
|
66586762f1d2a3a310cf83e177d3c659a93486c8 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_debug.c
ources
|
958c92e0c74f8cd4b303e7a7485a1c8b8cfde2cb |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
debug functions
tate_tracker/st_debug.c
tate_tracker/st_debug.h
|
376fb1c23efd437109da88cd2e53fca9d1c77bf2 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix logic error in stipple_quad() (point/line fragments were getting dropped)
ipe/softpipe/sp_quad_stipple.c
|
a22fafbb4b6b772c531651ada53661749cd1f29e |
18-Oct-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Corrected the file permissions in src/mesa/pipe.
ipe/p_util.h
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_tex_layout.c
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_build.h
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_parse.c
ipe/tgsi/exec/tgsi_parse.h
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
|
950fff0f9a330c50a627ced2e8cff2fb4689bee0 |
18-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Add some sanity checks to blit command debugging code.
rivers/dri/i915/i915_debug.c
|
d16b844ff64082b62ad481f543fcef587a1c1612 |
18-Oct-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
pipe/draw/draw_context.c:47: error: 'false' undeclared (first use in this function)
ipe/draw/draw_context.c
|
7cd58433fa59fe9db38b515a48feeef23405630e |
18-Oct-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
sp_context.c:255: error: 'false' undeclared (first use in this function)
ipe/softpipe/sp_context.c
|
a663e846b63c33685a9e88c8904f5e3a225f6e85 |
17-Oct-2007 |
Ian Romanick <idr@us.ibm.com> |
Framework for supporting z24_s8 and z32 depth textures on r300.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_texstate.c
|
42a4386a4c18932221c59607e6d22b864a2577fb |
17-Oct-2007 |
Ian Romanick <idr@us.ibm.com> |
Initial support for ARB_depth_texture Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texstate.c
|
374158b0440b24b71389d06fdf306b176c1186e7 |
17-Oct-2007 |
Ian Romanick <idr@us.ibm.com> |
mga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATE
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgadd.c
|
366b2c690295ed4bd4dda429be945db814a069d6 |
17-Oct-2007 |
Ian Romanick <idr@us.ibm.com> |
mga: Enable (trivial) support for GL_EXT_gpu_program_parameters.
rivers/dri/mga/mga_xmesa.c
|
17c2f56dc3f2f58ba89d8e305e7d9b423e3cae16 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix interpolation bug in nearest-image/linear-mipmap filtering
ipe/softpipe/sp_tex_sample.c
|
f953c223df26293f955f7d0621a6f917e9cc9768 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #include vf.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_rasterpos.c
|
52111366cc34e367993b5ec785fe331891a3da5e |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable the NeedFlush assertion for now
hader/prog_statevars.c
|
49adf51eeec31c9f3c995a70acc5008522689708 |
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add some FLUSH_CURRENT() calls. Without these we can find ourselves in _mesa_load_state_parameters() computing derived lighting/material values whhen the current material properties haven't been updated from the VBO. This may be a somewhat wide-spread problem that needs more attention...
ain/buffers.c
ain/drawpix.c
|
420c062cb68e4e313ef34bd879852a003101169e |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Assert that there's no outstanding current state that needs to be flushed from the vbo in _mesa_load_state_parameters(). Several of the state parameters use current state (such as materials). Need to make sure those values are not stale.
hader/prog_statevars.c
|
5cb0d749b07be4ecbf4d4d7cde18aecdfe2dba38 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
formatting fix
tate_tracker/st_cb_texture.c
|
e48ea925105fb74312f6e2f608b909f897a834e8 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix addressing error in read_stencil_pixels()
tate_tracker/st_cb_readpixels.c
|
ad053d90f01852ee27e36a21402543562bf46ad6 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace repeat_remainder() with a simpler macro that just casts args to unsigned.
wrast/s_texfilter.c
|
906768316d9521a32d9a7eebc9edaf76c06a98a7 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace repeat_remainder() with simpler macro that just casts args to unsigned.
ipe/softpipe/sp_tex_sample.c
|
df4410a59784482fcbd48f82788dd0a9f5a62c15 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
reorder params to get_texel()
ipe/softpipe/sp_tex_sample.c
|
3d6f9d904f07b7676cc971eb3faf9dd8e7c58e50 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement 3D texture sampling
ipe/softpipe/sp_tex_sample.c
|
7392dac9621ae2e87485d24d17845558a165519d |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
When in GL_FEEDBACK mode, make sure we emit color and texcoord registers.
nl/t_vp_build.c
|
38743e2ef1091304a7059c04c157fde80bd977ec |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
generate selection hit if in selection mode and pos is not clipped
tate_tracker/st_cb_rasterpos.c
|
4338f0f709255cc4d69d01b9aca579bca31ac269 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)
tate_tracker/st_atom_framebuffer.c
|
2dd27cfdd981b3b2c973066082b1168c4cb6f42c |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix viewport Z scale/bias to get the right Z values from drawing the quad.
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
4f23468bd0d14b8ed687a641003d587b91ad39a7 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't crash if texture border is used (unsupported for now)
ipe/softpipe/sp_tex_sample.c
|
863cc0af74f8c02711e09cb78bf2c24d8783daae |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix square point rasterization
ipe/softpipe/sp_prim_setup.c
|
86b81ef5aa14a2fa7be6e5c319c00324028a1761 |
17-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Don't call the driver clear hook when the effective scissor rectangle is empty.
ain/buffers.c
|
b4531121330fa85a072f129d11e8432b5294c789 |
17-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Don't emit 'empty' blit rectangles. The hardware seems to interpret them differently and produce unexpected results...
rivers/dri/intel/intel_blit.c
|
7db3cf8c48a3fb73cd742dbc02394f10027db9ed |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1
ipe/softpipe/sp_surface.c
|
45700ac280ddd5e23c57763129257d7fba171d9d |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use new st_clear_accum_buffer() function
tate_tracker/st_cb_clear.c
|
2de9477feea4b2d3996a2118b36924fe8474a7d5 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
New st_clear_accum_buffer() function (can't use pipe->clear() since it doesn't handle negative color values) Also, remove unneeded clamping in the accum ops.
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_accum.h
|
495961716430b1ff99078abe1a7ac9bc07dd6116 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
front/back determination was wrong
ipe/draw/draw_unfilled.c
|
29cfec1581769c1bf25a221dbc89623722d422c2 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug assertion
tate_tracker/st_cb_drawpixels.c
|
efdacc90b4f8262706715f4bf918cf11378922be |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update mask calculations for point drawing.
ipe/softpipe/sp_prim_setup.c
|
bd35c53143560177a045b314c9b4196c229f4a4c |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix broken polygon stippling (see comments for details).
ipe/softpipe/sp_quad_stipple.c
|
0edd490a96a53f83d2fb18a570cf20a4a0c5ee40 |
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout.
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
|
919f617d08a34d01dd916b08ca4f315bae84f21c |
16-Oct-2007 |
Eric Anholt <eric@anholt.net> |
Replace symlink generation from i915 with files in intel/ and symlinks there.
rivers/dri/i915/Makefile
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i915/server/intel.h
rivers/dri/i915/server/intel_dri.c
rivers/dri/i965/Makefile
rivers/dri/i965/server/intel_dri.c
rivers/dri/intel/server/i830_common.h
rivers/dri/intel/server/i830_dri.h
rivers/dri/intel/server/intel.h
rivers/dri/intel/server/intel_dri.c
|
63b0b5b6c74fcca7d84ac13b893a1f1f5becf39d |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix perspective-interpolated attribs for points, liens
ipe/softpipe/sp_prim_setup.c
|
ce0f2e88e3f71427dabf0dc37900ce0b47ae8003 |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix blend term translation bug, rename some funcs
tate_tracker/st_atom_blend.c
|
3feefeeb35c73ba6a8e0d81506891988bfcda5ef |
16-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Make sure extensions that require TTM actually work.
rivers/dri/intel/intel_screen.c
|
70eb456a7626b7315e787f6019a405db359e0b5e |
16-Oct-2007 |
Dave Airlie <airlied@linux.ie> |
i915: fixup TTM interfaces to follow drm changes
rivers/dri/i915/intel_bufmgr_ttm.c
|
9c4d104e98bb2cc8d5719d00445db0617c8f5de1 |
16-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Re-enable __DRItexOffsetExtension. This seems to have got lost somehow during the recent DRI interface changes.
rivers/dri/intel/intel_screen.c
|
c838d4c8763135a912616eceb6b6ced09f5762e0 |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
finish remaining blend modes
ipe/softpipe/sp_quad_blend.c
|
cab0dce6766c9ac728bc9f88dc94b8651fc257fb |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix fog, rescale_normals bugs (from gallium branch)
nl/t_vp_build.c
|
cd54414b75476b793867b863da0cbb9f079f613c |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix incorrect register in get_eye_normal() for rescale_normals case
nl/t_vp_build.c
|
b2605d5f803f51f216fd815374b59dfc616f7e13 |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
GL_UNSIGNED_BYTE indexes
tate_tracker/st_draw.c
|
7abc78a9678cf09e7a39869549ed369802c43d58 |
16-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement logicop
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_blend.c
|
566c11254f09259311f64816786375eeeee9e61b |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove commented out #include
ipe/i915simple/i915_clear.c
|
ce8988018ca2d838c93df904271b2afc62d6b021 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for width or height = 0 before calling driver Bitmap func
ain/drawpix.c
|
b1f136dba21c688a2fa347a56ab8bf8c784dd51f |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix useabs logic in build_fog(). We always need to compute the absolute value of the fogcoord if we're passing it through for per-fragment fog.
nl/t_vp_build.c
|
b4deb73fabf8aa545ba6ac25ca08f5d05ede2178 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove feedback hack
nl/t_vp_build.c
|
0585b4e746f35efbc8577311eab6679951217ac3 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Undo prev changes.
tate_tracker/st_cb_feedback.c
tate_tracker/st_draw.c
nl/t_vp_build.c
|
65b1f6947f0d4d83a942478383d27ba84a02b20f |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
setup vertex format for GL_FEEDBACK mode
tate_tracker/st_cb_feedback.c
|
520ad5f854723955c89584e4fa0bd172d0969e09 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
GL_SELECT mode works now
tate_tracker/st_cb_feedback.c
tate_tracker/st_draw.c
|
230225c5d746e4f62d71dda8c2832cc25eb28afe |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
formatting
ipe/i915simple/i915_context.c
|
8630e5edb36f00de30117d56c1691363d471c0cc |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
call pipe->set_vertex_buffer() after drawing/unreferencing. This fixes potential a stale reference to vertex buffers. Fixes cubemap demo on i915.
tate_tracker/st_draw.c
|
e3a729a681cfdc9733c833c9574459f577058bbf |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix logic for printing extended swizzles
ipe/tgsi/exec/tgsi_dump.c
|
369eefc34c8d7acdb881ea5b0516406d71344fc4 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add 'normalized_coords' field to pipe_sampler_state This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit.
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_sampler.c
ipe/p_state.h
ipe/softpipe/sp_tex_sample.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_cb_drawpixels.c
|
c8bf63e992f902f1bef0c20e5b50f397c4d219a7 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
feedback/rasterpos fix-ups
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
|
3eeef8aabe399a404d5c86dcc23066d9b5453a7f |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Change 'drawing' field to boolean.
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
|
66ea4b7c7c6c61cfacb3640cfc264cae575062cd |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused includes
ipe/draw/draw_vertex.c
|
583c11d38375c535d3835d89012fa5318bbd34ce |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify KIL usage for bitmap fragprog
tate_tracker/st_cb_drawpixels.c
|
41b3fcbf0404bc4a4f6588c0feef553bb65d4440 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for extended swizzles, added TGSI_OPCODE_KILP
ipe/i915simple/i915_fpc_translate.c
|
29db69e222b04b5a616942b06bd118c9ac75ec41 |
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added print_texkil_op()
ipe/i915simple/i915_debug_fp.c
|
157eeb5c3b1ed16d67247f41e83dad3cda6e31ef |
15-Oct-2007 |
Andreas Micheler <Andreas.Micheler@Physik.Uni-Augsburg.de> |
faster write_rgba_span_front()
rivers/windows/gdi/wmesa.c
|
e7af94416240f79ac609ff096690a1929664944e |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement accum ops
tate_tracker/st_cb_accum.c
|
a7611dce40e532f6c768ed7011725fcfb6424883 |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement put_tile()
rivers/x11/xm_surface.c
|
90f7ae2370630c45acb9287465806e5fcac44033 |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
accum buffer support
rivers/x11/xm_api.c
rivers/x11/xm_surface.c
|
7b0b694406e4043cb163f9832c9c02934fa54568 |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
16-bit rgba surface/format for accum
tate_tracker/st_cb_fbo.c
tate_tracker/st_format.c
tate_tracker/st_format.h
|
d45fdc3f1f8200c1f1703bdcd5a74a153c74b1c4 |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
16-bit RGBA surface format for accum buffers
ipe/softpipe/sp_region.c
ipe/softpipe/sp_surface.c
|
9f797d8cb323f5f61ac8cffcba3329b6f42721aa |
14-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added accum function/files.
ources
tate_tracker/st_cb_accum.c
tate_tracker/st_cb_accum.h
tate_tracker/st_context.c
|
f33e1a440309d7dd04c0e86a67a2bdc8a38f962f |
14-Oct-2007 |
George Sapountzis <gsap7@yahoo.gr> |
typo
lapi/glX_API.xml
|
d0b68b215d7f172fb76f02745208fb9c5024f23d |
27-Aug-2007 |
Kristian Høgsberg <krh@redhat.com> |
Uncomment GLX_SGIX_pbuffer definition.
lapi/glX_API.xml
|
69466c60a5286328d140a5100580c90e9bf62327 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
GL_STENCIL_INDEX support
tate_tracker/st_cb_readpixels.c
|
fa1d442879f1279cf510a52a1002367b904d35ad |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
GL_STENCIL_INDEX support
tate_tracker/st_cb_drawpixels.c
|
12f41c8884616b8b0c0e445a8bd3f0587a970d1a |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
format info for Z16/Z32
tate_tracker/st_format.c
|
1e2770e2e6244a0decbf077dfd34a3763428a2c0 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
inequality tests were backward
ipe/softpipe/sp_quad_stencil.c
|
a2c8b0e861e7c84d927b636663ac39f8cdc504a3 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
glDrawPixels support for GL_DEPTH_COMPONENT
tate_tracker/st_cb_drawpixels.c
|
d75acc8ffa47dbd85d864b2f6ab028652e45044d |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Check texture format in get_texel() to handle depth textures.
ipe/softpipe/sp_tex_sample.c
|
eb389aaf720a08045bc2492dd6cf50f1a2e44e87 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
get_tile() of Z surfaces returns floats now
tate_tracker/st_cb_readpixels.c
|
a1e332950bf5f6460af81ad29f5917c84649f249 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ignore stencil
ipe/softpipe/sp_surface.c
|
f9c6dfc4d12451c21f39f38b048758cbee5723cf |
13-Oct-2007 |
Kristian Høgsberg <krh@redhat.com> |
Merge branch 'dri2' Conflicts: src/mesa/drivers/dri/i915/intel_screen.c
|
89414d951d329cd70f947a3b85dee714c518dcc8 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use KIL in glBitmap shader to cull the fragments for 0 bits.
tate_tracker/st_cb_drawpixels.c
|
47fc06753ec4319a3ac6470060a4582975daceda |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added assertion to be sure we don't exceed bitfield size
tate_tracker/st_draw.c
|
2a699038dc2412311f89f9fd843522e784ad8fa3 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added code to print extended swizzles
ipe/tgsi/exec/tgsi_dump.c
|
4becfdfdd871bba5304d87159892a0ff9df222b8 |
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
change exec_kilp() to only touch lowest four bits in kilmask
ipe/tgsi/exec/tgsi_exec.c
|
e552b9bd099b9fce1cd58ce7922a0c9f74cad034 |
12-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial use of KIL for glBitmap rendering
tate_tracker/st_cb_drawpixels.c
|
bf805d3bf5bf191aa669b6155316a78917cf9b0e |
12-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
Merge branch 'master' into i915-superioctl
|
9e06cf00cfb24528653913fc90eded4d370c1149 |
12-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: only enable TTM path if drm minor is > 11 for superioctl
rivers/dri/intel/intel_screen.c
|
ea2278bc793670d4b7922131d1638f2446c896e0 |
12-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
dri: remove ttm common code since superioctl is device specific
rivers/dri/common/dri_bufmgr_ttm.c
|
7fc5c0307af98e1a0ff7e9081b07f940d1e3f916 |
12-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: fixup reloc header defines
rivers/dri/i915/intel_bufmgr_ttm.c
|
3fb88639af09af2f77203fd633c19ea736a7c0e5 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Init draw->prim = ~0 We weren't rendering correctly if the first thing drawn was a point (PRIM_MODE_POINT=0).
ipe/draw/draw_context.c
|
a2494462cb7d557a7643452c720e0ab8fa9f4f63 |
11-Oct-2007 |
Kristian Høgsberg <krh@redhat.com> |
Drop no longer implemented MESA allocate extension from i915.
rivers/dri/intel/intel_screen.c
|
f05c76ec1a5d8444c75f059d4e6f7e5bcd8c6644 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded cast
hader/prog_statevars.c
|
afd6bd3cb0036089f7fe01eb140b5d9ee2654ce9 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename some vars, updated comments
tate_tracker/st_draw.c
|
3ab326e1d7ef0ae9bd03dbce33e791449b865ba1 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused tgsi_attrib_to_mesa_attrib()
tate_tracker/st_draw.c
|
55dd7d794719ebdbf62b58cc15e022ce1e430873 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update st_feedback_draw_vbo()
tate_tracker/st_draw.c
|
4d79f2c4a2ef87595558051b3bdaeb54b4bd0339 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
streamline st_draw_vbo() a bit more, free user-space buffers at end
tate_tracker/st_draw.c
|
ccff0cb26378ce370fc8697a2a2ada138d2e119e |
08-Jun-2007 |
Kristian Høgsberg <krh@redhat.com> |
Add a version field to __DRIextension.
rivers/dri/common/dri_util.c
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
|
f29f0ae8383888a6493b615edc3bab254cf6df39 |
22-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move new texOffset extension to the new extension mechanism.
rivers/dri/common/dri_util.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
ecdb45cb29e3209287cc297081596126e955ff2b |
17-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Convert a left-over private void * to __DRIcontext *.
rivers/dri/common/dri_util.c
|
f968f67e6214416f04b8875ce59a94a02f464c81 |
17-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Add a DRI_ReadDrawable marker extension to signal read drawable capability.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
106a6f29bbdc71982afd629bdf89369cefd1459e |
17-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move media stream counter entry points to new extension.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
71efb6cf69724da2f1e783a13c3074d4e8645c64 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up, streamline st_draw_vbo()
tate_tracker/st_draw.c
|
a7a0a2beb54dcb78d7e0ab64cf2f5a6ede8191a4 |
16-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
98e638aa8df9f5b789b68a7a742666a4b06b6cb3 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement intel_user_buffer_create()
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
cdc156d52f4ac33898b4a0e4930a1a9ebe3c81cf |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial support for user-space buffer objects. Basically, add userBuffer/Data/Size fields to _DriBufferObject, check those fields in driBOMap/Unmap(). New driGenUserBuffer() function.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
|
78a6aa57a0155d72280dd91c05513c847bf76f3b |
16-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move GLX_MESA_allocate_memory related functions to new extension mechanism.
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
453ac4b1ebc70aeabb182f2b336c6abb3324323e |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use winsys->user_buffer_create() to wrap user-space vertex arrays and element buffers. Now client-side vertex arrays and glDrawElements work. More testing/debug/clean-up to come...
tate_tracker/st_draw.c
|
66ab569590f3bb9232eb7a04988ed477fe7fe2c5 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement the user_buffer_create() function
rivers/x11/xm_winsys.c
|
fcdd34de4b169dc12991f7894266ee834e9bf768 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added user_buffer_create() method This is used to wrap user-space data in a pipe buffer object to allow more uniform treatment of various things. For example, wrapping client-side vertex arrays so they look like VBOs.
ipe/p_winsys.h
|
3f226d4bafcc7b174ee42e4b5a2a4fb3756758ad |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added SSCALED cases in fetch_attrib4()
ipe/draw/draw_vertex_fetch.c
|
efaf90b03e8b69e04909bce071f8ef6b65cc0e9d |
15-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move swap_interval to new extension mechanism.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/vblank.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
ac3e838fa748c8c8a6ffc04d1ab13da71f75f103 |
15-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Move the copySubBuffer extension over to the new mechanism.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_screen.c
rivers/dri/radeon/radeon_screen.c
|
178beffd35c886894c5d213bbe3bdde9fa47e863 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comments (s/softpipe/gallium/ etc)
ipe/p_winsys.h
|
f616a263a25eda135800bea7d3a863c569b93e30 |
15-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Implement new screen extension API. This new API lets the loader examine DRI level extensions provided by the driver in a forward compatible manner. Much of the churn in the DRI interface is adding support for new extensions or removing old, unused extensions. This new extension mechanism lets the loader query the extensions provided by the driver and implement the extensions it knows about. Deprecating extensions is done by not exporting that extension in the list, which doesn't require keeping old function pointers around to preserve ABI.
rivers/dri/common/dri_util.c
|
295dc2d225ccac1951c0fcc2c08119f31d1b575c |
14-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Stop passing in unused fbconfigs to createNewScreen.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
64106d0d9aeefa6974317042b6bc3e5eaabac5a2 |
14-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Pull createNewScreen entry point into dri_util.c. This pulls the top level createNewScreen entry point out of the drivers and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point. The change moves more logic into the common/ layer and changes the createNewScreen entry point to only be defined in one place.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
|
babdd1f6516a21d774a15432290358640aa099d8 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor optimization for color/z results
ipe/softpipe/sp_quad_fs.c
|
efd03a278ae55b454509e9659c42899133983ebd |
14-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Replace open-coded major, minor, and patch version fields with __DRIversionRec.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgaioctl.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetex.c
|
d37e048cd1e24952214267a2c33cbaf346c10b26 |
11-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable some assertions which pop up during window resize, but can be ignored for now
ipe/softpipe/sp_surface.c
|
5987a03f994af2bb413d1cf984ab01aa095c0943 |
11-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Convert all DRI entrypoints to take pointers to __DRI* types. The entrypoints take a mix of __DRIscreen * and void * (screen private) arguments (similarly for contexts and drawables). This patch does away with passing the private void pointer and always only passes the fully typed __DRIscreen pointer and always as the first argument. This makes the interface more consistent and increases type safety, and catches a bug where we would pass a screen private to DRIdrawable::getSBC.
rivers/dri/common/dri_util.c
|
aac367f48afc62176faf67aa6f329fbeae2004b4 |
11-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Remove screenConfigs from __DRIscreen. The screenConfigs field of __DRIscreen points back to the containing __GLXscreenConfigs struct. This is a serious abstraction violation; it assumes that the loader is libGL and that there *is* a __GLXscreenConfigs type in the loader. Using the containerOf macro, we can get from the __DRIscreen pointer to the containing __GLXscreenConfigs struct, at a place in the stack where the above is a valid assumption. Besides, the __DRI* structs shouldn't hold state other than the private pointer.
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
d0bca086ab6d032909e9a429720fea297c536f97 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix get_result_vector() since fp output slots are not fixed anymore
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
|
9f8cfa75ca0882a8015a714887b41f8a7a10fd19 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix softpipe_clear() to handle ps->offset!=0 (such as when rendering to texture and level!=0)
ipe/softpipe/sp_clear.c
|
8ed5c7ca0572a09375bdfd411c3804456dac78d6 |
11-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Drop createContext and destroyContext from DRIinterfaceMethods. As for createDrawable and destroyDrawable, these functions immediately upon entry to driCreateNewContext and immediately before exit from driDestroyContext. Instead of passing function pointers back and forth just obtain the drm_context_t prior to calling DRIscreen::createNewContext and pass it as a parameter. This change also lets us keep the DRI context XID in the libGL loader only.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
4ff95e78e19e5902352ea3759d32d9f013255f42 |
10-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Drop createDrawable and destroyDrawable fron DRIinterfaceMethods. All the DRI driver did was call the createDrawable callback immediately upon entry to DRIscreen::createNewDrawable to get the drm_drawable_t. We can just call that before calling into the DRI driver and pass the returned drm_drawable_t as an argument to the DRI entry point. Likewise for destroyDrawable. Also, DRIdrawablePrivate::draw isn't used anywhere, and since the driver no longer needs the XID of the drawable we can now drop that.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/mga/mgastate.c
|
b068af2f3b890bec26a186e9d0bdd3d44c17cd4d |
10-Oct-2007 |
Kristian Høgsberg <krh@redhat.com> |
Key drm_i915_flip_t typedef off of the ioctl #define instead.
rivers/dri/intel/intel_buffers.c
|
8b68104b90b1d136b5f67a196c6cbdf9fe4dbfe1 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
free/unreference pipe_surface in get_texel()
ipe/softpipe/sp_tex_sample.c
|
2b31b413f97c73816a2845782aee9a49e22d2e0b |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use correct mipmap level in st_render_texture()
tate_tracker/st_cb_fbo.c
|
aceccda56b08338e217991e54607f1c9f18fc3e6 |
10-May-2007 |
Kristian Høgsberg <krh@hinata.boston.redhat.com> |
Drop __DRInativeDisplay and pass in __DRIscreen pointers instead. Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_screen.c
|
e23a7b2ea4a311af6b661f10747716e28fa451db |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use pipe_region_reference() in softpipe_get_tex_surface() to fix refcount error
ipe/softpipe/sp_surface.c
|
500e3af175cf8ef66bad23ae3b9e440670421ecd |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix width/height padding that caused failed assertion upon window resize
tate_tracker/st_cb_fbo.c
|
fa7a5898761fc106c9dbef6f640ce4654eae5136 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Size of input_to_index array should be VERT_ATTRIB_MAX. This fixes an out of bounds array write that was causing the glsl/bump demo to render incorrectly.
tate_tracker/st_program.h
|
44200421e8e15e603464e4a3e9d10f46787fc737 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge tgsi_mesa_compile_fp_program() and tgsi_mesa_compile_vp_program() into tgsi_translate_mesa_program().
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_program.c
|
013ce15595df19005996046ed4f9f42771299d14 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused var
tate_tracker/st_cb_program.c
|
de3073d377ee3a0c58fec4b1611cbf893a543c5b |
10-Oct-2007 |
Mrc Gran <mrc.gran@gmail.com> |
fix force_s3tc_enable option
rivers/dri/intel/intel_context.c
|
d4c3f26662c48235462ae25b84c7b63e48af1c22 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
start on a unified vertex/fragment program translation function
ipe/tgsi/mesa/mesa_to_tgsi.c
|
11a46c61e0552c055513050ef3ec28050a143f91 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Generate DCLs for temporaries.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
578962d6240252567cb9725a71e9854ad0dc72a0 |
10-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Finish up decls for packed fragment program outputs.
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_program.c
|
bc139a19b00f8686caa8db7c56af2087f26e369a |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Pack fragment program outputs to be consistant with vertex programs. Previously, output[0] was always Z and output[1] was color. Now output[0] will be color if Z is not written. In shade_quad() use the semantic info to determine which quantity is in which output slot.
ipe/p_state.h
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/mesa/mesa_to_tgsi.c
tate_tracker/st_program.c
|
342bc50c3d8765ea4ab50aa7d77df5c86c478c61 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update some comments
ipe/tgsi/exec/tgsi_exec.c
|
aec1f8e4f8315df23dc51a0b5a5fad90a03be851 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
More work on flow control for CAL/RET.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
31bd01f93b0f5795e290897e79c3f16d90e1f202 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
New ATTRIB interpolation type for vertex program inputs/declarations.
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
47ff9428ee09a948e6b412f7e3e46ed1305881a1 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Don't emit semantic info for vertex program inputs.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
94490f63c8294efbce8822cf2be6da9be67c8789 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use linked fragment shader inputs (if present) to determine which outputs are needed.
nl/t_vp_build.c
|
9509afe97cd7d9f58c9b344242171952990abfc8 |
09-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
de803f538c16096c9e241cfdddc092ac2aa2504e |
09-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Non Square Matrix
rivers/dri/intel/intel_context.c
|
ae5aa1f90651a2a6168f687c95a069e78a0231bb |
09-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix for prev commit
rivers/dri/i965/brw_wm_glsl.c
|
e2dff35f9589dd5616933654a2136584cb30ed18 |
09-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
INT support
rivers/dri/i965/brw_wm_glsl.c
|
82d4aa40551fe86a04346c3eea944f8ce7ae8d28 |
09-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
shadow sampler fix. 1. spec requite result (0, 0, 0, 1) instead of (0, 0, 0, 0) 2. support shadow sampler in simd8
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
8909f1131ab4d9d117d79aee617eceabf3ea60c8 |
09-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: workout max relocs from batch buffer size
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_bufmgr_ttm.h
rivers/dri/intel/intel_screen.c
|
7e83c15fa01c04c12b7aab9dd2e7ab0ae193b1c3 |
08-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: fixup up bufmgr to pass num buffers to kernel remove unneeded entry points
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/intel/intel_batchbuffer.c
|
4599683b480d295e407725e0fe99c357a0086092 |
08-Oct-2007 |
Sergio Monteiro Basto <sergio@sergiomb.no-ip.org> |
i915: Fix undefined ALIGN symbol from 77e0523fb7769df4bf43747e136b1653b2421b97.
rivers/dri/intel/intel_tex_layout.c
|
ac985708f4820173bdc4509d032bdabeb93a0590 |
08-Oct-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Only vertex program fix, bypass tnl vertex program
rivers/dri/i965/brw_context.c
ain/texenvprogram.c
|
32699696e31234c8d4e4b08f255ba2134ec12db5 |
07-Oct-2007 |
Jerome Glisse <glisse@freedesktop.org> |
r300: fragprog tex instruction now take writemask into acount.
rivers/dri/r300/r300_fragprog.c
|
d85e8b088bda9a118494dd86464c4a495475e407 |
06-Oct-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: move nv10 clear command, for usage by other gpu
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nv10_state.c
|
0ba57d02cd4a9e37bb5367a5c345c5f41038eb27 |
05-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: drop complex list handling for now If this proves a win later we can add it back but at the moment I don't think it's required yet
rivers/dri/i915/intel_bufmgr_ttm.c
|
4611b9398e6164ea419bf587e759a354be4c58b4 |
05-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: clean up lists on teardown also fix a use of uninitialised pointer
rivers/dri/i915/intel_bufmgr_ttm.c
|
4a22ae8d446855d839cc199df8eb1b057045cb88 |
07-Jan-2007 |
Kristian Høgsberg <krh@redhat.com> |
Remove XIDs from DRI interface (see #5714).
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i810/i810screen.c
|
4e1c76de0bf767857737116a0ec908cb8d35083e |
04-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: add copyrights to new files
rivers/dri/i915/intel_bufmgr_ttm.c
|
8e21bb516f87bfdde90d0f469ede4192435b9235 |
04-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: increase batchbuffer back to 16k
rivers/dri/i915/intel_batchbuffer.h
|
77e0523fb7769df4bf43747e136b1653b2421b97 |
04-Oct-2007 |
Eric Anholt <eric@anholt.net> |
[965] Replace various alignment code with a shared ALIGN() macro. In the process, fix some alignment issues: - Scratch space allocation was aligned into units of 1KB, while the allocation wanted units of bytes, so we never allocated enough space for scratch. - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
rivers/dri/i915/intel_context.h
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_tex_layout.c
|
0fc9efd8f0b1b6c4e3525a50e3478e5aef72531a |
04-Oct-2007 |
Eric Anholt <eric@anholt.net> |
Replace bmBufferOffset usage in batchbuffer setup with OUT_RELOC. This is in preparation for 965 TTM.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
|
6bac9478c39fbe7955d10a21a2d7743697427a56 |
04-Oct-2007 |
Eric Anholt <eric@anholt.net> |
Replace duplicated intel_reg.h with a shared header.
rivers/dri/i915/i915_reg.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_reg.h
rivers/dri/i965/intel_reg.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_reg.h
|
1f7378ee465eba8d82d224a7bf835e38c5ab6ee2 |
04-Oct-2007 |
Eric Anholt <eric@anholt.net> |
Replace some structure-based batch preparation with plain OUT_BATCH. OUT_BATCH is far more amenable to the upcoming relocations being done for TTM support.
rivers/dri/i965/intel_reg.h
rivers/dri/intel/intel_blit.c
|
10cc229dc2ef61c51f7e242ac2d497916793d265 |
04-Oct-2007 |
Maarten Maathuis <madman2003@gmail.com> |
nouveau: Replace removed device classes with their proper labels.
rivers/dri/nouveau/nouveau_card_list.h
|
c4a9a708884c2f790e04aaaa4a4cb2993ff33089 |
04-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: add superioctl support to the ttm codepaths. gears now runs for about 10-15 seconds with some artifacts before falling over.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_bufmgr_ttm.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
|
1a69db9d2dfae16df5aa606ada7d631d98944449 |
04-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use different temps in exec_tex() for bias
ipe/tgsi/exec/tgsi_exec.c
|
68c4254d757012cbb5994d3b55769eb250747fce |
04-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
updated comments
ipe/tgsi/mesa/mesa_to_tgsi.c
|
635c4c41bdf111462939da292d65328595d314e8 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add outputs_written bitfield to pipe_shader_state, use it to determine if fragment shader writes Z.
ipe/p_state.h
ipe/softpipe/sp_quad_fs.c
tate_tracker/st_program.c
|
db0f050582e73d64b7d260275ff0c1eed912b35d |
03-Oct-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
minor fog calc cleanup
nl/t_vb_fog.c
|
65996f27f48e2212bf36e515aba82b6876398bfd |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move XSTDCALL definition to p_compiler.h
ipe/draw/draw_vertex_shader.c
ipe/p_compiler.h
ipe/softpipe/sp_quad_fs.c
|
5356ba250c078c861f3a31a587b79570308cfc23 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
handle frag progs that write Z
ipe/softpipe/sp_quad_fs.c
|
a9f0330061471ba47beb2369884d7661b715722e |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
basic support for reading GL_DEPTH_COMPONENT
tate_tracker/st_cb_readpixels.c
|
e6f4af6b236fcf077cef2ea74346fa9b97106b95 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added s8z24_get_tile()
ipe/softpipe/sp_surface.c
|
76e61556e7b69b6ce11be4bd600590a049bfbbef |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix eq/neq bugs
ipe/tgsi/exec/tgsi_exec.c
|
df235f33a6e851e0487755e9ad5f9d5cfd041c18 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix f/u mix-up in micro_trunc()
ipe/tgsi/exec/tgsi_exec.c
|
1a18ebc6b31ebb8e950b84790744dd5e3113f014 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
move TEX code into exec_tex()
ipe/tgsi/exec/tgsi_exec.c
|
e9df20c2fa7df8458a9f0781f31de51c4944d41f |
03-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Some minor cleanups.
tate_tracker/st_cb_clear.c
|
86a03e43ced13e7c00f16d037b27faddfbcb2333 |
03-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Double amount of memory allocated for generated shader code. The code generated for the glxgears vertex shader didn't fit, causing a crash.
86/rtasm/x86sse.c
|
344464bf2e4e151968cfb101c2477e440508b1f0 |
03-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Track fragment and vertex shader code generation via pipe shader state objects. Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_cb_program.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
ce765a7fb77e12ff083a9068ec232a15bcf41f66 |
02-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_winsys: Adapt to DRM changes (again). It was decided after all to stick to 'pipes' here, even though the actual meaning is now 'planes'.
rivers/dri/intel_winsys/intel_swapbuffers.c
|
07cd46d111b063ed37391ad7c316db9d7927ad03 |
03-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
In vertex shaders also expect the template to be stack allocated structure so allocate a private copy of it.
ipe/softpipe/sp_state_fs.c
|
b46926c4beff4ac14ac0cf2e3bc52f8118ed4d2a |
03-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Unify the definitions of the 4 component dot product into one location.
ipe/draw/draw_clip.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
|
cdd38d487a311e6c71b76382d428f5dc26caf067 |
03-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Unify handling of userplanes and regular planes to simplify the clipping code. (really done by Keith)
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
|
a7e997cfc5d909eebbc16ba5b0362e9778f01561 |
01-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAM which is being hit all the time. Done by Keith really.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
|
b263435a98173645fa3f4a5dce4566e53470f38f |
03-Oct-2007 |
Jouk <joukj@tarantella.nano.tudelft.nl> |
Update of OpenVMS makefiles for the use of "new" include file convention
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
ain/descrip.mms
ath/descrip.mms
hader/descrip.mms
hader/slang/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
bo/descrip.mms
|
5e4309ee92560caed70ff6975c4a59aaa5d86542 |
03-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Explain a little better what we're doing here.
tate_tracker/st_cache.c
|
51345cb3c4d85a9e88ac35b59e938b0692df6205 |
03-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make softpipe behave more like a real driver by always allocating something in the state functions.
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_sampler.c
|
58cdd1dc520d211b65f05fd06b5ba472f552853c |
03-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Only align texture pitch to 64 bytes when textures can be render targets.
rivers/dri/intel/intel_mipmap_tree.c
|
1bc84102ad4df377df6c8bf5734b886b7683b939 |
03-Oct-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Work around texture pitch related performance drops on i915 at least.
rivers/dri/intel/intel_mipmap_tree.c
|
fa031c8914d685e153b4ab886f43fdbfbbd0a30b |
03-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915: add superioctl initial support inside bufmgr ttm
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/i915/Makefile
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_bufmgr_ttm.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
|
4cd3ef58a989f61ff22669648e4117426c6e603c |
03-Oct-2007 |
Dave Airlie <airlied@redhat.com> |
i915/drmbuf: attempt to push relocations into buffer manager This moves the relocations into the buffer manager in prepration for a superioctl move.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915/Makefile
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/intel/intel_batchbuffer.c
|
4b6cc36b2b4892c3ce0862789c3b294c52356805 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups
ipe/tgsi/exec/tgsi_exec.c
|
355f8f7eedf9ddfac7edd2244f09c5a47fd8af86 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement/use fragment kill results
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
ff9949d05caa5543f4e57d831e603cba52f62e8b |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement TGSI_OPCODE_SNE with micro_ne()
ipe/tgsi/exec/tgsi_exec.c
|
066ccec49485f0b6d314ef555e4b2a68f68c3804 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Separate TGSI_OPCODE_KIL and TGSI_OPCODE_KILP (predicated). These correspond to the NV and ARB-style fragment program KIL instructions. The former is really supposed to examine the NV condition codes but Mesa's GLSL compiler always emits unconditional KIL instructions.
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
ca34912bf7e57a01b180a3bb3b6e36331f442558 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
assert that program length > 1 (some code, plus END)
tate_tracker/st_atom_shader.c
|
ae28d19bbf527e50be9ff9e52cb69f6afdf1d506 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean
tate_tracker/st_format.c
|
d781cdc8fadc802a1f2edbeb13ccb1ee768ce803 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Generate a texenv fragment program if there's a GLSL vertex shader but no GLSL fragment shader. This allows Glean glsl1 test to get pretty far.
ain/texenvprogram.c
|
2dbd905ab0265b520efccce24ce9de66b6fc5fb0 |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix comment: s/branch/kill/
hader/slang/slang_emit.c
|
c9dceb17c0bf255252f58a4c947522b958fe015c |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Push mask stacks upon CAL, pop upon RET. Still need to handle conditional RET statements...
ipe/tgsi/exec/tgsi_exec.c
|
4d155a32d2c44af4d85715fcc982ad4bc18d38fa |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added license and interpreter comments
ipe/tgsi/exec/tgsi_exec.c
|
53a6a55c7c56c6811a9e627c8624c05e83d4e04b |
03-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement CONT statement.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
fe1d15acc7b0ed5d6eb22829f2d8547a36a852a9 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added micro_trunc(), re-order some code
ipe/tgsi/exec/tgsi_exec.c
|
8955bc34581ac716cf5cabb02fde5260ab3ae207 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Minor optimization: no-op CAL when ExecMask==0x0.
ipe/tgsi/exec/tgsi_exec.c
|
6aab3e3d269b71e8306928088e3603daf082223f |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added TGSI_FILE_OUTPUT case in fetch_src_file_channel(). GLSL output variables (such as vertex varyings) can be read (they're not write-only).
ipe/tgsi/exec/tgsi_exec.c
|
4ad80ad5cfdb9bc23eee15938645a334d227cd72 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement CAL/RET and a call stack for subroutines. The glsl/brick.c shader demo runs now.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
5e49ec339df1d23b1f1790c49c9f102098f42c0d |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added TGSI_OPCODE_END Halt program execution when we get to END instruction. The GLSL compiler puts subroutines after the end instruction so we have to stop before then.
ipe/i915simple/i915_fpc_translate.c
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
4726489248283380c0693ebf4eddbe3015caf8a3 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fold expand_program() into tgsi_exec_prepare()
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
e2009d0871ac230e4b0c84a23eabef4cd37d81e2 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
no more need for tgsi_exec_machine_run2(), remove dead code
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
9ac03856f563e0e830f6cdeef321875682f79943 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code
ipe/draw/draw_vertex_shader.c
|
0d13ade0cdd38759936a74824efbd6ac8b563aed |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move tgsi machine state init/allocations so they're done less frequently. This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so.
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
57d3770f35730bef17e5d93bd424a59eb6daec4c |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: unpack all instructions before interpretation. Actual looping works.
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
584b84256b07e106cd7295495355eb21226465d7 |
02-Oct-2007 |
Jouk <joukj@tarantella.nano.tudelft.nl> |
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
|
cdf99a9fad0fcb080244faa7d32b33b1cfaf6ff7 |
02-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments/code for min/max_lod - revisit someday
tate_tracker/st_atom_sampler.c
|
4c19f95a3997be7ca27c314952478790a63aeeb7 |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
use i915_miptree_layout when using an i915
ipe/i915simple/i915_context.c
|
f8b2148a2b0c28ea5970be275f1bd678aa32094d |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
avoid updating vertex format when it doesn't really change
ipe/i915simple/i915_state_derived.c
|
a24031d50c6b4c584aae08316dc3c00e18e24b58 |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't crash in RasterPos if feedback not implemented yet
tate_tracker/st_cb_rasterpos.c
|
3c41589420c90fa3f81da75c1c90be39f68915e9 |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable debug printf
ipe/i915simple/i915_state_sampler.c
|
726060680ba69aaec659f78e24f2db58acd780cb |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't crash when fog enabled, still not rendered correctly though
ipe/i915simple/i915_state_derived.c
|
dab288b9821572b7fd3d6c9ceb4b8b3a83cd15bf |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove specular color assertion (the path works)
ipe/i915simple/i915_state_derived.c
|
b13618c3167002a823e9bb1e744a0a316fd0e2bf |
01-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix a few vert/frag program items to get i915 driver going again
ipe/i915simple/i915_context.c
ipe/p_defines.h
ipe/softpipe/sp_context.c
tate_tracker/st_atom_shader.c
tate_tracker/st_program.c
|
3d6c4109902b555a3f8076170d572c7caeb6cbfe |
30-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fragment shader function call fix, gl_FragCoord fix
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_wm_glsl.c
|
f8ee72d98f2d23e034e90870ff6a760659a462a5 |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix VBO-split infinite loop (bug 12164)
nl/t_draw.c
|
78f3cd1e08d68111a2db308c000b94cc580b3cad |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial conditional execution support for loops and BRK instruction. Also, instead of passing cond mask to each micro op, just apply it in the store_dest() function.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
4f96000e294fa0d6ba6f5915ff508017d9c26d50 |
29-Sep-2007 |
Chris Rankin <rankincj@yahoo.com> |
r200: Implement SetTexOffset hook. Implementation guidance by Michel Dänzer, final testing by Timo Aaltonen.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_screen.c
|
91550f0a17488f41da4829a627db90f0081250dc |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused tgsi_exec_cond_* types
ipe/tgsi/exec/tgsi_exec.h
|
b0b48798c7e854d2e36e0317bf94b7385e815242 |
29-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
support continue, fix conditional
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_wm_glsl.c
|
fc38c827716d333c92017348add1e80ea78af948 |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial implementation of IF/ELSE/ENDIF using conditional masking. mach->CondMask controls writing to each of the 4 components in a quad. mach->CondMaskStack handles nested conditionals. Only a few of the micro ops (add/sub/mul/store) have been updated to obey CondMask at this time.
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
|
ae7f200788947cdde15b279ea3a4558f6abd9922 |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bug causing unnecessary translations
tate_tracker/st_atom_shader.c
|
2a3e33865dd9a3d064a3c0af94ef11d4aa4a6ce4 |
29-Sep-2007 |
Dan Nicholson <dbn.lists@gmail.com> |
add support for LDFLAGS env var
akefile
rivers/beos/Makefile
rivers/dri/Makefile.template
rivers/dri/glcore/Makefile
|
bbcbd362a94386f2a19570dc09ec74c9ef4db067 |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old debug code, fix warning
tate_tracker/st_atom_constbuf.c
|
78876bf61c6f6e3c3fec471431f91307f51c107a |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix st_use_program()
tate_tracker/st_cb_program.c
|
6775c1e8ccc2c543d97eb273a342140a62d99aee |
29-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove test for EXT_blend_logic_op in glGetString when determining GL version. EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland.
ain/extensions.c
ain/getstring.c
|
636480cc9c7836daf879cb45644900922cf31f47 |
28-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Instead of linked program pairs, keep a list of vertex programs translated for each fragment program.
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_program.c
tate_tracker/st_program.h
|
f14ece2d2c9add5ebf21171746f34ce60ff0df3b |
28-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use texture->first_level, not 0, when not mipmapping. Fixes crash when GL_BASE_LEVEL!=0. Also, remove old assertion.
ipe/softpipe/sp_tex_sample.c
|
d99f6c4a2aa8207a2fbacd9b3a5ec87dd25ba496 |
28-Sep-2007 |
Jesse Barnes <jesse.barnes@intel.com> |
Go back to using old drm_i915_flip_t field name This field shouldn't have been renamed in the first place. Go back to using the old name so that the tree is backward and forward compatible again.
rivers/dri/intel/intel_buffers.c
|
8731e391f5a8bb45adb53242b0a473707c0c024c |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Use sse only if GALLIUM_SSE is defined
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
tate_tracker/st_program.c
|
a1a989f0be8dc34082b52bb3b3a6eacb36d9e75e |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redoing the way we handle vertex shaders for the draw module.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_state.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_cb_program.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
|
f78193f444dad2a1aee219f538bc0da3f040c2e1 |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Remove gl dependency from the x86 assembler code
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
901577e07fcab0cf90a272fee900cb0831ae84c3 |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Revert "Redoing the way we handle vertex shaders for the draw module." This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_state.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_cb_program.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
f2a33a63f1f41681375baa2a9ad261cb60db2a85 |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Revert "Use sse only if GALLIUM_SSE is defined" This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
tate_tracker/st_program.c
|
57b5d3605745c96ddc2b6de7d50c93db65ba1257 |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Use sse only if GALLIUM_SSE is defined
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_shader.c
tate_tracker/st_program.c
|
6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e |
28-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redoing the way we handle vertex shaders for the draw module.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_state.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_cb_program.c
tate_tracker/st_draw.c
tate_tracker/st_program.c
tate_tracker/st_program.h
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
e75ae0dc792b9fe599b68d7a9ea0ab22413da424 |
28-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix
rivers/dri/i965/brw_wm_glsl.c
|
4087c90effecdf2f466e2ddcf88ec2faf0db034f |
28-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
support nested function call in pixel shader
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
7966e479dca22bf2d2b844d50ac5bef70614e15a |
28-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
set miptree pitch to region pitch after allocating the region in st_miptree_create() This fixes rendering with small (4x4) textures with softpipe. Haven't yet tested with i915.
tate_tracker/st_mipmap_tree.c
|
28b315dc1aed36bebadfacbd55e481e7baacfcb5 |
28-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
tate_tracker/st_cb_texture.c
tate_tracker/st_mipmap_tree.c
|
35331a511fcd023a7b6f0eb298098d872b856a9f |
28-Sep-2007 |
Eric Anholt <eric@anholt.net> |
[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.
rivers/dri/i915/Makefile
rivers/dri/i915/intel_decode.c
rivers/dri/i915/intel_decode.h
rivers/dri/i965/Makefile
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_decode.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_chipset.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_decode.c
rivers/dri/intel/intel_decode.h
|
e886ae4c58bc98897d6901e3f30deea008bc7f8a |
28-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Revert "WIP 965 conversion to dri_bufmgr." This reverts commit b2f1aa2389473ed09170713301b042661d70a48e. Somehow I ended up with my branch's save-this-while-I-work-on-master commit actually on master.
rivers/dri/i915/Makefile
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_regions.h
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_validate.c
|
b2f1aa2389473ed09170713301b042661d70a48e |
27-Sep-2007 |
Eric Anholt <eric@anholt.net> |
WIP 965 conversion to dri_bufmgr.
rivers/dri/i915/Makefile
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i965/Makefile
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_regions.h
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_batchbuffer.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_validate.c
|
38c30a81844214b030c9c637f9cf97bd2bf19cde |
26-Sep-2007 |
Eric Anholt <eric@anholt.net> |
[965] Remove AUB file support. This code existed to dump logs of hardware access to be replayed in simulation. Since we have real hardware now, it's not really needed.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_aub.c
rivers/dri/i965/brw_aub.h
rivers/dri/i965/brw_aub_playback.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_regions.c
|
ed6d5ff6f8fdd34aaaa126119dbd8e1e321859d8 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
ain/enable.c
ain/light.c
ain/lines.c
ain/mtypes.h
ain/points.c
ain/polygon.c
ain/state.c
|
4f9d29cd4e876cd202a7d3e81f6d91fc7f9625a2 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
tweak point rast to fix conform failure
wrast/s_points.c
|
e0271e16da6427436ed755f170e9b402ada5dd7c |
27-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove dead code
tate_tracker/st_cb_texture.c
|
48385cd13ac9410e07856924a3cd113b78f198db |
27-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
reduced debug
ipe/softpipe/sp_prim_vbuf.c
|
b1e549d1762536ebb3f7c11461c4554d4613c37a |
27-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
handle INT op, still require high level handle of integer to be correct
rivers/dri/i965/brw_wm_glsl.c
|
3ee6a77e97f7d2996f8fffdbb4787a9589189b39 |
27-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: handle all unfilled mode in clip stage. fix bug #12453
rivers/dri/i965/brw_clip.c
|
6254be9b7144821e044d3fbade514fa0358db693 |
27-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: make sure the gotten value isn't greater than the max depth buffer value on 64bit system. fix bug #12095
wrast/s_span.c
|
35a0634e358baac832d6e5a76630fcae57a948a7 |
27-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix issue when only fragment shader or vertex shader is used
rivers/dri/i965/brw_context.c
|
82e2d3226893487d33152f15763516473187c07d |
26-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some compiler warnings with -pedantic
ipe/tgsi/exec/tgsi_sse2.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
65e3af51efc9d688ef8face0a44429a90c5dd4c9 |
26-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Enable codegen based whenever __i386__ is defined.
ipe/draw/draw_vertex_shader.c
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_sse2.c
tate_tracker/st_cb_program.c
tate_tracker/st_program.c
tate_tracker/st_program.h
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
035a824730ae3804b2bfaadec94015aac5c6ebcc |
26-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
fix merge
ipe/draw/draw_feedback.c
|
c5cfa639880d5309a2276dc0c47a73ca0752d696 |
26-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
disable debug
ipe/draw/draw_prim.c
ipe/draw/draw_vertex_shader.c
|
e078f910dcdba2081a52b74308ca3d330115e912 |
26-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
restore primitive trimming in sp_draw_arrays.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_prim_setup.c
|
08589f71051e588b0bb7d0c8b529976c85398dd1 |
26-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Make flushing more lazy in the draw module.
ipe/draw/draw_arrays.c
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_debug.c
ipe/draw/draw_feedback.c
ipe/draw/draw_prim.c
ipe/draw/draw_prim.h
ipe/draw/draw_private.h
ipe/draw/draw_validate.c
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_prim_setup.c
ources
|
7770acf8d4360ecfcaeece6e366f5adc6c0c9dee |
26-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
Use Gallium in the renderer string
tate_tracker/st_cb_strings.c
|
aa88d11e7d881f0dd4c02fcefceb4085bdb3cf8a |
27-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix ppracer and bzflag issue with clip optimization
rivers/dri/i965/brw_clip_tri.c
|
67f6449743d006084df85693085eca79a966ad17 |
27-Sep-2007 |
Dave Airlie <airlied@linux.ie> |
i915/i965 merge serer directories along lines for radeon/r200
rivers/dri/i915/server/i830_common.h
rivers/dri/i965/Makefile
rivers/dri/i965/server/i830_common.h
rivers/dri/i965/server/i830_dri.h
rivers/dri/i965/server/intel.h
rivers/dri/i965/server/intel_dri.c
|
5c83f1371978472fbe4bba8f686733c6b519874a |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Do image flipping in do_copy_texsubimage() and GL pixel transfer ops (except convolution).
tate_tracker/st_cb_texture.c
|
c6717a86420d7141013165f7acd50b3c3f751756 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fallback_copy_texsubimage() basically works now (at least w/ Xlib driver). Have to map regions before calling get_tile()/put_tile(). Need to invert srcY of glCopyTexSubImage() depending on renderbuffers up/down orientation. Still need to invert image in fallback_copy_texsubimage() when needed.
tate_tracker/st_cb_texture.c
|
78008dbcaaf74cac3b66dae103f631de94df6137 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
added a8r8g8b8_put_tile()
ipe/softpipe/sp_surface.c
|
fcd4eeb743c717d48166e38a57fcd4a1752e32ab |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't use scissored bounds in _mesa_clip_copytexsubimage()
ain/image.c
|
038cb561eb094af2f2ba06e18e61246fc0c87c3c |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
More work on glCopyTexSubImage. Start sketching out a fallback path based on surface->get_tile(), put_tile() which will do format convertion and GL's pixel transfer ops.
tate_tracker/st_cb_texture.c
|
b27498c7cad7dae4e3b3ef9517b9c0aef58f73f6 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: glCopyTexImage work
tate_tracker/st_cb_texture.c
|
b3bb1e3ebf260f18a2097a9a8fe8ab52f104dab1 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/_mesa_copy_rect/copy_rect/
ipe/softpipe/sp_region.c
|
324ecadbfdf9b944e059832f146451e4151dcb21 |
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in the drivers. This should probably be pulled into main-line Mesa...
ain/image.c
ain/image.h
ain/teximage.c
|
bad4e10af746ce16b730a3e7a4e2ff53ecb6d0f6 |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for _NEW_PROGRAM mesa state (fixes arbfplight)
tate_tracker/st_atom_shader.c
|
715e5edff6ade0a1ef02c8f8d9e4d61316113721 |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
better debugging
tate_tracker/st_atom_constbuf.c
|
175db68db59c6b917306adff98442d590df9af06 |
26-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: The cube map texture coordinates must be devided by the component with the largest absolute value before they are delivered. fix bug #12421
rivers/dri/i965/brw_wm_fp.c
|
395b3bf6f95b35a84a74d4baf7e04bc67cf3771c |
26-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix a bug in 965 ARB_occlusion_query, fd.o bug #12132
rivers/dri/intel/intel_context.c
|
960fe21008eb00bf778f82476e3d00df0a5c34db |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, null ptr checks, etc.
tate_tracker/st_cb_drawpixels.c
|
b28f4a27d586b3ba3a7e87db761b6d624dd3e672 |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't apply pixelzoom to bitmaps
tate_tracker/st_cb_drawpixels.c
|
0dfa5506a318b202ac955a59cc7c9b22b5ff3867 |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
st_draw_vertices() no longer needs attribs[] array parameter
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
ccff14de0d6291aa0866ce5d207af416caec69e7 |
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Simple implementation of glBitmap rendering. Create a texture matching the bitmap image and use a fragment program to modulate current raster color by the boolean-valued texture. Need to eventually use fragment culling (see comments in code).
tate_tracker/st_cb_drawpixels.c
|
02ea8b81414b50936b8b6b7b8031511e12ef55cd |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
re-org/prep for glBitmap
tate_tracker/st_cb_drawpixels.c
|
b5051bf6bbe54269c78f4dd545791e51bc7ce9e0 |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up #includes
tate_tracker/st_program.c
|
38504011c8dc55cbcfdf16e39eb7a1473e1bdfbd |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
better debug output
tate_tracker/st_atom_constbuf.c
|
83fad68ec1989c719646a76f4cc5e0b3d23537ed |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
include programopt.h
ain/texenvprogram.c
|
3bf8d2ac7108a7f0f1722e411161e013bb8573f0 |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable vertex shader fog, compute fog in fragment shader.
ain/texenvprogram.c
tate_tracker/st_context.c
|
07f31a29b41be572c48fc1b440eaeb6a6b010cc8 |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
some clean-up of ST_NEW_ shader flags
tate_tracker/st_atom_shader.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
|
1201eb852966a64742645a4cd3a2879bed81e29d |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable TGSI_DEBUG
tate_tracker/st_program.c
|
6b1d2fa8154e04eea7fa55e07b951aef3b23993f |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
replaced by st_atom_shader.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
40c543eb71368c646259afb87d5c76551f6b45b7 |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Translate mesa vertex/fragment programs to TGSI programs at same time to do proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs.
ipe/draw/draw_feedback.c
ipe/tgsi/mesa/mesa_to_tgsi.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_program.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
f9ed2fdaace0d4d7f091a4423a8638945e920b0d |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)
tate_tracker/st_program.c
|
07ef3e42451daa26fa5426026bcc4c89729644e0 |
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
vertex/fragment shader state and linking
tate_tracker/st_atom_shader.c
tate_tracker/st_atom_shader.h
|
ff08c7b032fb17e4ffcda7497488dc5e263a7d6e |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
test for presence of both front and back color vertex slots
ipe/draw/draw_twoside.c
|
608914aeb068a0d59da5c239fb5ff28b522e064d |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused lookup array
ipe/draw/draw_twoside.c
|
a37e0daeb97bb36ba10038b12a909e22e08b52c4 |
25-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
First attempt at building vertex buffers post-clip. Build a buffer of contigous vertices and indices at the backend of our software transformation/clipping path. This will become the mechanism for emitting buffers of vertices to rasterization hardware. This is similar to but not the same as the post-transform vertex cache. In particular, these vertices are subject to clipping, culling, poly offset, etc. The vertices emitted will all be used by hardware. TODOs include the actual transformation to hardware vertex formats, moving this out of softpipe to somewhere more useful and allowing >1 primitive to share the generated VB.
ipe/draw/draw_clip.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_shader.c
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_prim_vbuf.c
|
45b37dc078130b64e110d1a965960c60c56f0e60 |
25-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
turn off shader debug
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
0940059f8b2dceb817e9b1778e78baf1ccc4c438 |
25-Sep-2007 |
keithw <keithw@keithw-laptop.(none)> |
test against -1 for front/back attrib
ipe/draw/draw_twoside.c
|
f388d62b39e9273dd8aac425da54015af91192d8 |
25-Sep-2007 |
Dave Airlie <airlied@linux.ie> |
drm: update bufmgr code to reflect changes in drm interface
rivers/dri/common/dri_bufmgr_ttm.c
|
919709af6ba19eb30d293a161d89a0b8fccb9ec7 |
24-Sep-2007 |
Roland Bär <roland@verifysoft.de> |
[i965] Bug #11812: Fix fwrite return value checks in AUB file code.
rivers/dri/i965/brw_aub.c
|
c8cb87d35686c155143ed3e511e1ea674d8371a3 |
24-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Remove leftover code for i915_texprog.c noticed in crossbar review.
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_program.c
rivers/dri/intel/intel_context.c
|
8cf9085bc7b96819d2bec1e749e15af58eefb2f3 |
24-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Move i915tex driver into place as just i915.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_debug.h
rivers/dri/i915/i915_debug_fp.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_tex_layout.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_blit.h
rivers/dri/i915/intel_buffer_objects.h
rivers/dri/i915/intel_buffers.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_decode.c
rivers/dri/i915/intel_decode.h
rivers/dri/i915/intel_depthstencil.c
rivers/dri/i915/intel_depthstencil.h
rivers/dri/i915/intel_fbo.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/intel_mipmap_tree.h
rivers/dri/i915/intel_pixel.h
rivers/dri/i915/intel_reg.h
rivers/dri/i915/intel_regions.h
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_rotate.c
rivers/dri/i915/intel_rotate.h
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_span.h
rivers/dri/i915/intel_structs.h
rivers/dri/i915/intel_tex.h
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i915/server/intel.h
rivers/dri/i915/server/intel_dri.c
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i830_context.c
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_reg.h
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i830_tex.c
rivers/dri/i915tex/i830_texblend.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_debug.h
rivers/dri/i915tex/i915_debug_fp.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i915tex/i915_metaops.c
rivers/dri/i915tex/i915_program.c
rivers/dri/i915tex/i915_program.h
rivers/dri/i915tex/i915_reg.h
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_tex.c
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_buffer_objects.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_decode.c
rivers/dri/i915tex/intel_decode.h
rivers/dri/i915tex/intel_depthstencil.c
rivers/dri/i915tex/intel_depthstencil.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_ioctl.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel.h
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_render.c
rivers/dri/i915tex/intel_rotate.c
rivers/dri/i915tex/intel_rotate.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_span.h
rivers/dri/i915tex/intel_state.c
rivers/dri/i915tex/intel_structs.h
rivers/dri/i915tex/intel_tex.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_copy.c
rivers/dri/i915tex/intel_tex_format.c
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/i915tex/intel_tex_layout.c
rivers/dri/i915tex/intel_tex_subimage.c
rivers/dri/i915tex/intel_tex_validate.c
rivers/dri/i915tex/intel_tris.c
rivers/dri/i915tex/intel_tris.h
rivers/dri/i915tex/server/i830_common.h
rivers/dri/i915tex/server/i830_dri.h
rivers/dri/i915tex/server/intel.h
rivers/dri/i915tex/server/intel_dri.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_fbo.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_pixel_draw.c
rivers/dri/intel/intel_pixel_read.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_copy.c
rivers/dri/intel/intel_tex_format.c
rivers/dri/intel/intel_tex_image.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_subimage.c
rivers/dri/intel/intel_tex_validate.c
|
8fba8d2018643444fc17c590f3e8732e1a76c6b8 |
24-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Remove the old i915 driver now that i915tex works without TTM.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/intel_reg.h
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_rotate.c
rivers/dri/i915/intel_rotate.h
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_span.h
rivers/dri/i915/intel_tex.h
rivers/dri/i915/intel_texmem.c
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/i915/server/intel.h
rivers/dri/i915/server/intel_dri.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
c0dd02219d47f45ce469abbef8044431f6d85d0a |
24-Sep-2007 |
michal <michal@michal-laptop.(none)> |
Enable SSE2 for FS.
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
tate_tracker/st_atom_fs.c
tate_tracker/st_cb_program.c
tate_tracker/st_program.h
|
c0afc92f00e5153a168fb6df518b7a2e6b3b9406 |
24-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
In here we actually do want to assign it. Fix compilation.
tate_tracker/st_atom_vs.c
|
439fa7957874d564b30a92345e74ee57b388ebec |
24-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix fd.o bug #12217, recalcuate urb when clip plane size change
rivers/dri/i965/brw_curbe.c
|
ef5935bc94a1439eb8f1731732a3eabd0e360407 |
23-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix DrawRangeElements error msg
ain/api_validate.c
|
39c709c0f6a9b2c910265390b31ce233a991ab68 |
22-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'i915-unification' This branch replaces the DRM pool interface used by i915tex with a "dri_bufmgr" interface in dri/common which may be set up to use either TTM or traditional static memory management according to what is available. The i915tex TTM code now requires an updated DDX which provides proper buffer objects for the static front/back/depth, instead of using fake buffers. The driver is now built as i915_dri.so, and should replace the old i915 driver shortly.
|
d0350dadaa52064f67e4e9001145af14478b2849 |
22-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Fix buffer/fence reference counting due to Destroy vs Unreference difference. While here, remove the unnecessary fence type saving for the wait ioctl, as a 0 argument for type means "use your other saved copy".
rivers/dri/common/dri_bufmgr_ttm.c
|
1ae7373ac520c277d9aa7b915526bb0e1567b9a5 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
invert draw_vertex_cache_check_space()
ipe/draw/draw_prim.c
|
ac394414fcf244186557fbfa18e7962fa05dc39a |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PSIZE
ipe/tgsi/exec/tgsi_dump.c
|
890125d3adc4c5011e9241210c44d40dfdd6c4eb |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some post-transform vertex layout issues (bcolors, psize emitted last
ipe/softpipe/sp_state_derived.c
|
da45890818ab5ae94592208e3581b5c2febaa6b4 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix up some point size breakage. Start on fogcoord too.
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_token.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_rasterpos.c
|
46f606e9715145218331a04f0d1f66fb9f8531d6 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
reenable some clear code that was temporarily disabled
tate_tracker/st_cb_clear.c
|
440a5c7c24e65dd19689ba2d2ce231a7ea7e4704 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug printfs
ipe/tgsi/mesa/mesa_to_tgsi.c
|
a3a8887e5742bc18476deafcf45f220de89c1c1d |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
tate_tracker/st_atom_fs.c
|
1ce50d8bd9a3bc64552c55a235a947de9e6f776c |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
use VERT_ATTRIB_MAX for loop limit
tate_tracker/st_atom_vs.c
|
11996050883ade4439a4a1e3192a02ba6f6aaa14 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove SEMANTIC_TEXCOORD
ipe/tgsi/exec/tgsi_dump.c
|
e9259ad0d7f674a1f2f9156ba0baeedc0e7d0d54 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_token.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
97b81eb98f57e9405ce3665df24eedd1a1af39fc |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
8d987d3c4edf489880e5e852e31b6883a15b6a14 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor renaming
ipe/tgsi/mesa/mesa_to_tgsi.c
|
9f96c5d619a478a61c809e88ef53e59005471054 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
pass vs output semantics to tgsi_mesa_compile_vp_program() to generate output DECs
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_vs.c
|
f38881c542a6e96ba45f185e372940cbb183647d |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix in/out typos
tate_tracker/st_atom_vs.c
|
ed10ece932162ac7c3c5ee125a0ca35c805240ad |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to produce DCLs.
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_vs.c
|
562c9410630c7faeb3b04bd8b4fa8d29c9193eaa |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix 1/i typos
tate_tracker/st_atom_vs.c
|
42df29d3b9139f7b8bb757893bb8bf930585cc33 |
21-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert i915 to use cso semantics of alpha_test.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_immediate.c
|
6cb87cf26f904b891faa42268f373864fa33541d |
21-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make the alpha test state a cso.
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_immediate.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_alphatest.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
b0fa489eba9170c4b102bf0feb1b1c3f02a34e4e |
21-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Silence a few warnings.
ipe/i915simple/i915_context.c
ipe/i915simple/i915_state_sampler.c
ipe/softpipe/sp_context.c
|
154335d53f9eb3a2ae46b46858ffcaa6e144e821 |
21-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove :5 form format field in pipe_surface, makes no difference at this time
ipe/p_state.h
|
1bf93fccdfcef80619852e36db4f2a516a43ae49 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old code in src_vector()
ipe/i915simple/i915_fpc_translate.c
|
a5467fbdd9ca599c9512433ece30f90fd67f15e3 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fixes for bluegene-xlc-osmesa config
ain/glheader.h
|
f69b5c56feb60791bad27d491ee9592238d4efb0 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes. Still need to produce decl instructions for vertex shaders...
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state_derived.c
ipe/p_state.h
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
478d1e2c9c73fc29542375c44d01ab964ce8eccf |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old/used code
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_state_derived.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
064daf319cf1868575c794f2380d54ea5b8358af |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove lots of dead code related to program input/output mapping
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
a8834a75a5b469775a983234f9d4bc8925630740 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
obsolete
ipe/tgsi/exec/tgsi_attribs.h
|
c231a9d020bdec8e0749a5547971c79de64f73d8 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #includes of tgsi_attribs.h
ipe/draw/draw_vertex.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/mesa/mesa_to_tgsi.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
|
674d0130693f827ae9ea8e902a38c46d64444384 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: TGSI_ATTRIB_x tokens no longer used
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_attribs.h
tate_tracker/st_draw.c
|
086734502a614e7778533018846ee66a66df9821 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: vertex attribute clean-up. Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
ipe/draw/draw_clip.c
ipe/draw/draw_feedback.c
ipe/draw/draw_private.h
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_fetch.c
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
745f0cbe0528ac925096f5c1b85de7280fee7fbc |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Always update st->state.vs, not just when the program is dirty. This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
768302c53971ad0405ee6e2a30db96fc5f51913b |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused lookup[]
ipe/draw/draw_twoside.c
|
b5908a7671b408835777931e7180b8264f150bbd |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix input/output typos
tate_tracker/st_atom_vs.c
|
c1ecc383204914567c6de1587d7b9559ec72ce6e |
20-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Uniquely validate the batchbuffer-referenced buffers. Otherwise, for multiple references by the batchbuffer, the kernel would see the buffer already on the unfenced list and wait for it to leave the list before continuing, leading to hanging and eventual -EBUSY.
rivers/dri/i915tex/intel_batchbuffer.c
|
75912596741d1afe5827dab6913c3d810eda8788 |
20-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Add disabled-by-default tracing of TTM bufmgr operations.
rivers/dri/common/dri_bufmgr_ttm.c
|
742e32a40bf5ef1bd90b23aa0f7d451b7b7f0ba3 |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Cache the i915 sampler state.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_sampler.c
|
b7fd06a871893d8ed482d16207136e324bb7d85c |
20-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Fix flipped sign to strerror.
rivers/dri/common/dri_bufmgr_ttm.c
|
4f1c9f7e510122b32c82ee9adbdb4987dae27afe |
19-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'master' into i915-unification Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
|
cc2629f5912d1c608f830ab63f6c4e0875d2fcef |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make the rasterizer state in i915 use the cso semantics.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
|
893f9cda7601fb937138629042dd9f6507eb6b5f |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Allow drivers to cache the template in case they want to fallback through softpipe which will require the template.
tate_tracker/st_cache.c
|
1d8c31b47bd34a43e1f78a9f21a0c02c57c58479 |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Rewrite the depth_stencil state handling in i915. Done to match the new cso semantics. translate in create, use in bind and later delete.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
|
7a06c026ad24b74048f6d125383faf25deb1dfbb |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix failover state binding and convert the sampler to use the new state constant state object semantics.
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
a6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert depth_stencil state to the new semantics.
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
tate_tracker/st_atom_depth.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
daf5b0f41baa50951e7c2f9ea5cd90b119085a7f |
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Switch fragment/vertex shaders to the new caching semantics. Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_program.h
|
2c88bfeaa47bf464b02275e10e6c348e5172a0a1 |
20-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix an error in brw_vs_tnl.c if the state of TEXMAT is changed, the VS isn't updated.
rivers/dri/i965/brw_vs_tnl.c
|
8fc1a6808d88bd1dd641751f2f50c867a05dcc07 |
20-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix memory access error in vbo_bind_vertex_list
bo/vbo_save_draw.c
|
6f2ca13f903508e50946f525fc01d862cd8bd1f5 |
20-Sep-2007 |
Dave Airlie <airlied@redhat.com> |
nouveau: add GeForce 7300 SE to card list
rivers/dri/nouveau/nouveau_card_list.h
|
37cf13ed9a429c755f121daa1776b1b30a985ab3 |
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics. TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
ipe/draw/draw_vertex_shader.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state_derived.c
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
tate_tracker/st_program.h
|
0759e0999b087028cc2d76c725c5f97374dac503 |
19-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : nv1x use OUT_RING_CACHE_FORCE for NV10_TCL_PRIMITIVE_3D_PROJECTION_MATRIX as strange results appear when the matrix is partialy updated.
rivers/dri/nouveau/nv10_state.c
|
3b582dff8c72870fb4d0b3641015365ea9026022 |
19-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : add OUT_RING_CACHE_FORCE* to add stuff in the cache even if the value didn't change
rivers/dri/nouveau/nouveau_fifo.h
|
a0e948f3aaadf56ab206a6b3e597825f2085f6d1 |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix a really stupid mistake that Michel hit. Return proper hash.
ipe/cso_cache/cso_cache.c
|
c9a5ef1a1cdee94fe091cb65ea34e9a9bb8b2190 |
19-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix window resizes. The memcmp is insufficient for eliminating redundant framebuffer state changes.
tate_tracker/st_atom_framebuffer.c
|
617b39ce9811b0998ceb746c935cc50cacf8a9bc |
19-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Pad surface dimensions to multiples of 2. Avoids an assertion failure with softpipe if requested width or height is odd.
tate_tracker/st_cb_fbo.c
|
b8ecec7abefcd1f0720e448c05e901af0224806a |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Adding proper includes often helps with the warnings, or so i hear..
tate_tracker/st_draw.c
|
c8650b087440c7ba5ad0d8652dc916852e55bc1d |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Avoid redundant reallocation of the template. cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind.
ipe/softpipe/sp_state_blend.c
tate_tracker/st_atom_blend.c
|
fe555c39bb7fd530298b5be4a8f06bff41726c86 |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert the rasterizer cso to the new semantics. Basically make cso hold the driver specific struct, while managing the template.
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_rasterizer.c
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
1310f02dee336048a0d3f94a9b34575c3f6e00a6 |
19-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : add GL_FOG_COLOR + fix a compil error
rivers/dri/nouveau/nv10_state.c
|
b91791a85c1098e7a0210d7b9f186db20106ba3b |
19-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Replace i915tex batchbuffer printout with a pretty-printed version.
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_decode.c
rivers/dri/i915tex/intel_decode.h
|
f843dcb844c4b1000f3b98a85f622b6929c19eea |
19-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Enable building the debug (env INTEL_DEBUG=list) code by default.
rivers/dri/i915tex/intel_context.h
|
9070e6b9970a6aeabfff07b259e0e1660980cc59 |
20-Jun-2007 |
Eric Anholt <eric@anholt.net> |
i915: Quiet valgrind by initializing the seq value the kernel writes into. Also, add a couple of comments to the wait/emit IRQ functions.
rivers/dri/i915/intel_ioctl.c
|
b6d50abd7d483029469a0faaa28e8e2f2f742c6d |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert the i915 driver blend state to the new semantics.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
|
c0bf7322088715bb411068c3d631b0c4be8cdff5 |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redo the cso cache to map driver data in a lot more pleasing way. Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics.
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
tate_tracker/st_atom_blend.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
3800599bd4f6185c1eefc5d44794525ec4a3e406 |
19-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: color logic op only for nv11+
rivers/dri/nouveau/nv10_state.c
|
b3cc74aa448f42340cbd01578a51f94eb2949618 |
19-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
grab vertex program pointer after state validation
tate_tracker/st_draw.c
|
bcc13fd3f8cc1c235ef5114472b0f919a38c096b |
19-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Only generate vertex shader code when necessary.
tate_tracker/st_atom_vs.c
|
f22e920f478d8732695913ec0d1f7244b451a8f5 |
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Finish up conversions of shaders to immutable objects. Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/softpipe/sp_context.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
bb611c5f1f6aec7ac51d4fa3301422b47f6de795 |
19-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: rework shader input/output register mapping. This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ipe/p_state.h
ipe/softpipe/sp_prim_setup.c
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_draw.c
tate_tracker/st_program.h
|
63be96bdc7e9f388a5c49295bd7e150462fd003a |
19-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled
ain/texenvprogram.c
|
e3745dac59602a9d21b49d602646de5aef95075f |
19-Sep-2007 |
Eric Anholt <eric@anholt.net> |
Add some error reporting and a couple of assertions to TTM bufmgr.
rivers/dri/common/dri_bufmgr_ttm.c
|
3f0e04e0e62b853382a018cb6a69eea14e85712d |
18-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_winsys: Disable scheduled buffer swaps for now. They don't work with private back buffers yet. This gets vsync working.
rivers/dri/intel_winsys/intel_swapbuffers.c
|
d39dde6ed4ab1927d5b9992d6cc7414e7fa236e8 |
18-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix linux-dri-x86 target.
tate_tracker/st_atom_vs.c
|
2a460f6185199bad8b2bca4d0bac319377f801fa |
18-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix some issues with perspective-corrected interpolation. In mesa_to_tgsi.c, use TGSI_INTERPOLATE_PERSPECTIVE by default (to match post-transform vertex info convention). More to be done there... In sp_quad_fs.c, interpolate W in addition to Z. This fixes the divide by zero happening in perspective_interpolation() tgsi_exec.c As it was, we were only getting perspective correction of texture coords used by the TGSI_TEX instruction since it does a homogeneous divide. Other coords/varyings were incorrect.
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
72b0a57cfa99e55ad6e1b4ddcd486c202ee1f22d |
18-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
additional comments for tri_persp_coeff()
ipe/softpipe/sp_prim_setup.c
|
ccd63b54cfbb6bb241d55f7ac95afcd14819f469 |
18-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert shader to an immutable state object.
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_program.h
|
de69fc1703f79e5c97e66b654de7a93b7abce8f0 |
18-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Finishing up rename of the setup state to the rasterizer state.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_state.c
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state_rasterizer.c
ipe/softpipe/sp_state_setup.c
ources
tate_tracker/st_atom_rasterizer.c
tate_tracker/st_atom_setup.c
tate_tracker/st_cb_feedback.c
tate_tracker/st_draw.c
|
fbb2f840aef9a540401575b032edb4dfdabd10bb |
18-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
move cso cache to the pipe directory
so_cache/cso_cache.c
so_cache/cso_cache.h
so_cache/cso_hash.c
so_cache/cso_hash.h
ipe/cso_cache/cso_cache.c
ipe/cso_cache/cso_cache.h
ipe/cso_cache/cso_hash.c
ipe/cso_cache/cso_hash.h
ources
tate_tracker/st_cache.c
tate_tracker/st_context.c
|
29789ca026c03dff64b6286e202561faf111fde9 |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix a silly bug on setting samplers. Bind when the currently bound state is /not/ the one we just found/created.
tate_tracker/st_atom_sampler.c
|
294401814d1d89cc731de1c22c25333aa5d59374 |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
converting the setup state to immutable object and renaming it to rasterizer state
so_cache/cso_cache.c
so_cache/cso_cache.h
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_setup.c
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_setup.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
d6ac959833a8e40a27907940969c622692f749b1 |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Combing depth and stencil objects and making them immutable. Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
so_cache/cso_cache.c
so_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_derived.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_stencil.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
56edb98d975041cca2e4a3712126b151d80a045a |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix the warning. The const is there to enforce the immutable state of the object, which is in reality owned by the pipe so just cast away the constness.
ipe/softpipe/sp_state_blend.c
|
f117327a3f246713abfd4dc4320d4a1a7f1b811a |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make sampler an immutable state object. Switch the sample to be an immutable state object.
so_cache/cso_cache.c
so_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_sampler.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
e16c045b83f5c5b4f4064df67623bb76b46b6619 |
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Implementing a better hash, removing state_tracker dependency from the cache. Replacing mesa's main hash with one that handles collisions, moving state_tracker related caching to the state tracker to keep cso cache independent of it. Cleanups.
so_cache/cso_cache.c
so_cache/cso_cache.h
so_cache/cso_hash.c
so_cache/cso_hash.h
ources
tate_tracker/st_atom_blend.c
tate_tracker/st_cache.c
tate_tracker/st_cache.h
tate_tracker/st_cb_clear.c
tate_tracker/st_context.c
|
9780327c5d95586a88fce94d7b47342355ead118 |
14-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
First stab at immutable state objects (create/bind/delete) We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
so_cache/cso_cache.c
so_cache/cso_cache.h
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_immediate.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ources
tate_tracker/st_atom_blend.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.c
tate_tracker/st_context.h
|
ec9e7bc753316cebed9c9ce12aa5513486c6b8d0 |
17-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branch
rivers/dri/intel/intel_context.c
|
25bda451bbdbc51a7a4346e2c809f335fb46db72 |
18-Sep-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix double free in 965-glsl branch
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/intel/intel_context.c
|
e21d2c6ef300c7661f49c50b4c68b4f205795f4a |
18-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: Always use the original mask to update stencil buffer in stencil_and_ztest_pixels. fix #12263
wrast/s_stencil.c
|
ffacb1c12a77d71613e8171e31ffc348959881e4 |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_* Must have missed this a while back. This fixes cube mapping.
tate_tracker/st_mipmap_tree.c
|
b4bacd1fca336f043d1ee3c3a346fbd42a3b02eb |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Plug in selection/feedback code. Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit...
ources
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
2a40c71fed9461a6ecd17788b17b35655262aec6 |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
selection/feedback support
tate_tracker/st_cb_feedback.c
tate_tracker/st_cb_feedback.h
|
060a6380270b511fd1e100c1caaa28f43943eb52 |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/bugmgr/bufgr/
ipe/p_winsys.h
|
72d7d2bcc34e3d26f1c4de92f1508c9ddffb3421 |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
5578f8ce3bf349107b04fb0ebb8b8d505bd9424d |
17-Sep-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove non-meaningful region_idle() interface This is already handled by the semanics of map(), etc.
ipe/failover/fo_context.c
ipe/i915simple/i915_regions.c
ipe/p_context.h
ipe/softpipe/sp_region.c
tate_tracker/st_cb_texture.c
|
f48e055c1072ca0f3ce3096606a8d892a559c599 |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
silence warning
tate_tracker/st_atom_constbuf.c
|
9ea91974e153858d7c0397bd78448b4be1c10c4c |
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
update begin/end_query() functions
rivers/x11/xm_dd.c
|
bf92350b5b2c8e14515fb8bbfacd8c06502dfb98 |
17-Sep-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix linux-dri-x86 build.
tate_tracker/st_atom_vs.c
|
c29886718ac8389b526b3eb5947c286b7fe00a88 |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : avoid vertex_size / 4 for each vertex ops
rivers/dri/nouveau/nv10_swtcl.c
|
7cc4d31ed9ff0e7f428b9ab05fc69b4e037c0a3a |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : use GLfloat instead of uint32_t. After all, our vertex attributes are float.
rivers/dri/nouveau/nv10_swtcl.c
|
7356dac1b69ca76706439bb7c51ef37fee6588a2 |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : implement nv10_render_points
rivers/dri/nouveau/nv10_swtcl.c
|
2616b206895d0e4e3ba1a5b981708ce3d37670ef |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : fix nv10_render functions use _tnl_RenderClipped helper functions that will call the right driver callback clean nv10_render_generic_primitive_elts to match nv10_render style
rivers/dri/nouveau/nv10_swtcl.c
|
e605f2828fb2e5d38a1f68ed78300f441c86dfa5 |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : opps I introduce a bug when cleaning vertex pos attribute swap patch
rivers/dri/nouveau/nv10_swtcl.c
|
3d17cdf55acc2b452b9f2b57a9823595615c4806 |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
revert a956184f70733bd22e2bbee515386da12302963f
nl/t_vertex.c
|
d42d5fdba0431f33ee0b7713f0782942095dd587 |
16-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : nv1x pos vertex attribute need to be the first in mesa. Swap it latter in order it match hw format.
rivers/dri/nouveau/nv10_swtcl.c
|
8d9d990cb2d20074e188df4ddaa8e4e235e87b0e |
15-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : use new nouveau_reg.h with correct Bracket in macro
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv10_swtcl.c
|
5e7835625912e5b64c1c0f76c7614367bec40039 |
14-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : check for nmesa->state_cache.atoms overflow
rivers/dri/nouveau/nouveau_fifo.h
|
63147344e422aa2b00b6b22d76fdea801c38b2ea |
14-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv10_state.c
|
032707eeca2e6a0fd931ebd9ef4831bf30baf183 |
14-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix copypixels overlap test bug (#12417)
wrast/s_copypix.c
|
d59c95bfae0402813a6b9a1242cdd971624c127a |
14-Sep-2007 |
Michel Daenzer <daenzer@localhost.(none)> |
intel_winsys: Fix intel_buffer_reference. Correctly clear the pointer to the old buffer (not sure how this could build at all before...) and only reference the new one when its pointer is non-NULL.
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
c01a5ec3d63a2f414e2b6c5b31c80367943189b4 |
14-Sep-2007 |
Michel Daenzer <daenzer@localhost.(none)> |
intel_winsys: Adapt to recent drm changes (s/pipes/planes/).
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
|
e04c58e06842e5157231f1bd4ba79ccbbaad8f1c |
14-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: bind VBO_ATTRIB_XXX to correct input array when executing a display list. fix #10604
bo/vbo_save_draw.c
|
ea07a0df9a2f689b8f5acaf92c40bbbd602cab3c |
14-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: align the address of the first element within the index buffer. (fix#11910)
rivers/dri/i965/brw_draw_upload.c
|
3a2559a1e9989655591b7faf93ea6bfa21dbff1b |
13-Sep-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : diable broken light enable on nv10
rivers/dri/nouveau/nv10_state.c
|
ab31a3a7647ca1b1567dbc58c6093c523173c988 |
13-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
added program_error2() function for better error reporting
hader/arbprogparse.c
|
d799b7a7ecbe3e773decfcc2ebd1b23f53fc48a7 |
13-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix state.texgen parsing error (bug 12313). Replace *(*inst++) with *(*inst)++ in a few places.
hader/arbprogparse.c
|
ba5290e836d5fd6e80dc460f75f6b032e2510382 |
12-Sep-2007 |
Jesse Barnes <jesse.barnes@intel.com> |
Remove unused plane->pipe mapping fields from SAREA private.
rivers/dri/i915/server/i830_common.h
rivers/dri/i915tex/server/i830_common.h
|
94617bc6d505b056b028dc0978ef4a94ee47fa7d |
12-Sep-2007 |
Dan Nicholson <dbn.lists@gmail.com> |
pkg-config support
akefile
l.pc.in
|
f5557c3a528fbad3750aaa18595dc3548b600609 |
12-Sep-2007 |
Dan Nicholson <dbn.lists@gmail.com> |
DESTDIR support.
akefile
rivers/dri/Makefile.template
|
a0a5e8cfc04c14873441b50f7d594ef11806b9a8 |
12-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: translate shadow compare function into correct internal function to match the EXT_shadow_funs spec. fix bug#11925
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_state.c
|
ae078e1a0abae58e325ed3ebcb1884867847826b |
12-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: revert commit 1a15b2169ba6cb100627eb525a20a00537cfb6f0, and keep the instruction state unchanged after calling brw_emit_tri_setup/brw_emit_line_setup when building setup thread for SF_UNFILLED_TRIS.
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf_emit.c
|
09fbb3837b6aa5dfc6c94f41ab5443820177c569 |
12-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement query object interface. This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
rivers/common/driverfuncs.c
ain/dd.h
ain/mtypes.h
ain/queryobj.c
ain/queryobj.h
ipe/failover/fo_context.c
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad_occlusion.c
tate_tracker/st_cb_queryobj.c
|
9944174abc546fe1845c26ce496edd747ad34347 |
11-Sep-2007 |
root <brian.paul@tungstengraphics.com> |
prefix some include filenames with shader/
rivers/common/driverfuncs.c
|
acfeb3b6ea93bcb5b18e6f51a0727e39da608d76 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix-up #includes to remove some -I options. eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
rivers/dri/Makefile.template
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.h
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_swtcl.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/radeon/radeon_context.c
|
a614877592e8526d997242ce336fb455dd3f5bdb |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
In _mesa_make_current(), don't unbind FBOs from the old context. This fixes the X server crash reported by KeithP on Aug 29. The old context's FBOs will be unreferenced during context destruction so there's no memleak with this change.
ain/context.c
|
995e01a6bcfe280149a2a076b5ea66ee94d0721c |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update depth test state when binding new framebuffer object
rivers/dri/i915tex/intel_buffers.c
|
0c43ab6fbcd43f611170885f2068dd3a06bc6cea |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix comment
rivers/dri/i915tex/i915_metaops.c
|
7f6decf3e4c0fe17e149a97cbf2b56b86559d409 |
11-Sep-2007 |
Jesse Barnes <jesse.barnes@intel.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
|
78b7e49c846c535f6907c18a9982d07c9e9feabb |
11-Sep-2007 |
Jesse Barnes <jesse.barnes@intel.com> |
intel: disentangle planes & pipes This is the Mesa portion of the pipe & plane disambiguation. Mesa needs to use the new assumptions about plane vs. pipe mappings and should use the new SAREA field names to avoid confusion.
rivers/dri/i915/server/i830_common.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/server/i830_common.h
rivers/dri/intel/intel_context.c
|
0aedb9a2042bef9c13358500f93acaf8459a74cb |
11-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: take the secondary color into account when drawing bitmap. fix#10688
rivers/dri/intel/intel_pixel_bitmap.c
|
241b7bc0a3e6277e15bb45887ad5533ffe692428 |
11-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: limit on LOD Bias, fix#11987
rivers/dri/i965/brw_wm_sampler_state.c
|
5620d66e362acff99dbc748feec1da1e0f997288 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
vertex feedback functions
ipe/softpipe/sp_state_feedback.c
|
6275b40063d7d06e0b05767ebca3963ce7e9c34e |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
merge buffer_unreference(), buffer_reference()
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/x11/xm_winsys.c
ipe/i915simple/i915_regions.c
ipe/p_winsys.h
ipe/softpipe/sp_region.c
ipe/softpipe/sp_state_fs.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_draw.c
|
051a2a3028370da66c15c44fa49fa9474b23d668 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups, comments
rivers/x11/xm_winsys.c
|
c3f7f3124a04ba4e02c9c81eb7901e5715940c44 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/xm_softpipe.c/xm_winsys.c/
ources
|
b06641eb4a2465dac69467bc436df9e4df56b2f0 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename
rivers/x11/xm_softpipe.c
rivers/x11/xm_winsys.c
|
d56a3adc30c19c8f00cb7dc585e86babfd3a79a7 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
More work on vertex feedback / glRasterPos. Basic rasterpos works now.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_feedback.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
|
b2dfe2be6cc91c330e7fe21ea663cacfc220582d |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_cb_rasterpos.c
ources
|
bee148cb7d5c974a1b5534a0307b2c082eea27e2 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug in rasterpos/feedback code
tate_tracker/st_context.c
tate_tracker/st_context.h
|
bb193c6d22125f1af62e81c1251acd2a68939608 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
glRasterPos function
tate_tracker/st_cb_rasterpos.c
tate_tracker/st_cb_rasterpos.h
|
21c925f49191df46ed8788ac09bbb3bd4a437c99 |
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
move FLUSH_CURRENT
ain/rastpos.c
nl/t_rasterpos.c
|
63a51aee86f76ae54fb1ce572d584fb0f01aaec5 |
07-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial work for post-transformed vertex feedback buffers. This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/p_context.h
ipe/p_state.h
ources
|
41ddd76b98e9e236a796f1bb9480ea0b2fb18010 |
07-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial work for post-transform vertex feedback buffers. This will be used for: GL_NV_transform_feedback, or GL3 equivalent. RasterPos GL select/feedback modes
ipe/draw/draw_feedback.c
|
4c01d498fac14bba751dd87bff235efb5409dca9 |
07-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move guts of glRasterPos down into T&L module.
rivers/common/driverfuncs.c
ain/dd.h
ain/rastpos.c
ources
nl/tnl.h
|
249ca55555beea76c63a5f5dd09d35aa45efa180 |
06-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: check NULL pointers
rivers/dri/nouveau/nv10_state.c
|
15a6bf9118937e1e705e64e36fbceafbb3ad70ed |
06-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: init depth range
rivers/dri/nouveau/nouveau_state.c
|
f2f168d0f8a1427e07133eceae290fa2e845f95f |
06-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move guts of glRasterPos into tnl module, called via new ctx->Driver.RasterPos() function.
nl/t_rasterpos.c
|
7307ff80c9141aa9730c17f500e99d3d983840b8 |
06-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: replace macros by loop to set vertex attributes
rivers/dri/nouveau/nv10_swtcl.c
|
8f9b9ac387b1ffcecdca749b22d59eef5604bc6f |
06-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: need parenthesis around macro params, generator should be fixed
rivers/dri/nouveau/nouveau_reg.h
|
a956184f70733bd22e2bbee515386da12302963f |
06-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x
nl/t_vertex.c
|
db9f97e2aeeee31f8a015b3f5f4fa80d9c0bfd2e |
05-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: emit vertex data in proper order for nv1x hw
rivers/dri/nouveau/nv10_swtcl.c
|
1a15b2169ba6cb100627eb525a20a00537cfb6f0 |
05-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: only take non-varying attribute into account when compiling sf_prog. fix bug#11378 (which is introduced by commit d619cceea47dc3070ebb7f7ea4f8b6b31a672d38)
rivers/dri/i965/brw_sf.c
|
8752a20decab59de4dd5feb9672b8299126eb7eb |
04-Sep-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: who needs nv03 ?
rivers/dri/nouveau/nouveau_card_list.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_state.c
|
ece08b7fd9af5ba67afa0a5d8e0a11f688ab4b0f |
04-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: need to transpose mesa model+proj matrix for hw
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_state.c
|
2f8ff58c0e8fbb60974be9c2412db8610b2152e2 |
03-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: forgot function to set modelview matrix
rivers/dri/nouveau/nv10_state.c
|
c45bb05b3c0b65981b6ddeaf1bb043b9a6f7f3fc |
03-Sep-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: separate modelview and projection matrix updates
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv50_state.c
|
cb7da3f09655f9c66eabb6a38f581c9176980cd2 |
01-Sep-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Correct build_lighting in i965 driver according to commit 6dd98e9853a6984150aa47467112e016c40a4ab4.
rivers/dri/i965/brw_vs_tnl.c
|
6dd98e9853a6984150aa47467112e016c40a4ab4 |
01-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem introduced in previous commit in which a state variable (uniform) is written to. (see bug 12239) Also, added some assertions to the emit_arg() and emit_dst() functions to catch this kind of error in the future.
nl/t_vp_build.c
|
47768ce0e59a76cbe367fe3b66be4150cd4ea3a8 |
31-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: remove setting projection matrix when scaling viewport
rivers/dri/nouveau/nv10_state.c
|
b0a1e81887a831f72ffbec4fe005e1837c81018c |
31-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: add hw-dependent function to update modelview*projection matrix
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv50_state.c
|
9a11a4a8b4b66201aeeb9a7057aeb08ef47536e1 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move some protos from draw_vertex.h to draw_private.h
ipe/draw/draw_private.h
ipe/draw/draw_vertex.h
|
2e21058e3d2c484b282cbc0bb5e7169b9a8d4fc7 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Define attrib_format and interp_mode enum typedefs and use where appropriate.
ipe/draw/draw_context.h
ipe/draw/draw_flatshade.c
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
|
214347fdb4c30dc8bac5d4b9a823458709bc53ea |
31-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Calculate the positional light in homogeneous coordinates. fix bug#11009
rivers/dri/i965/brw_vs_tnl.c
nl/t_vp_build.c
|
b47c9f8c915ae4ca8c7fa5ee3b6b64f17c38b569 |
31-Aug-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
optimize 965 clip 1. increase clip thread number to 2 2. do cliptest for -rhw
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_util.c
|
22bc3cdd49eb81d48ad4b8f06be0b9a9de624c91 |
30-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Take the upper limitation on LOD into account.
rivers/dri/i965/brw_wm_sampler_state.c
|
898d68a3762f84f0d435cda2f6aafddd356d1788 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Consolidate vertex-related code in new draw_vertex.c A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size()
ipe/draw/draw_arrays.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_vertex.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
ources
|
963b8a74493a474560447080b23407bfe4c707c5 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_state_derived.c
|
c9e133eab450870c8804e1d3d1e7a44f509454a0 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix breakage from prev commit
ipe/draw/draw_flatshade.c
|
8f1a0decad6baabed55371415fa4f75309c4c559 |
31-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix unhandled switch/case warning
ipe/softpipe/sp_prim_setup.c
|
1dd94a63ace0c6133f80191ba3b3e5f56f86c8fe |
30-Aug-2007 |
David Moore <dcm@acm.org> |
Bug #10571: Fix 965 line clipping when neither vertex needs clipping.
rivers/dri/i965/brw_clip_line.c
|
942b9bc5bc13d959baa86779a7c669cf96659b9a |
30-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors to cpy. One less dependency on the TGSI_ATTRIB_x flags. This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
ipe/draw/draw_arrays.c
ipe/draw/draw_context.h
ipe/draw/draw_flatshade.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_state_derived.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
|
aaf03b94861cbf5a602863e4542dd1c2e54ba365 |
30-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix lost edge flags problem when clipping. In emit_poly() we need to compute header.edgeflags from the vertex edge flags. Also need to set header.det so later stages can determine front/back orientation.
ipe/draw/draw_clip.c
ipe/draw/draw_unfilled.c
|
2d187672b7e38fcd8f6caa93f35dceb6fa11aa7f |
30-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Sketch out per-vertex point size. The code is all in place, but mostly disabled for now: In t_vp_build.c, write the VERT_RESULT_PSIZE register In sp_state_derived.c, need to emit vertex point size if drawing points. In setup_point() use the point size from the vertex.
ipe/draw/draw_twoside.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
nl/t_vp_build.c
|
74e1d0996d109ce6426507f9ca64cf38d3b83acf |
30-Aug-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix another occurence of movaps which might not be aligned
86-64/xform4.S
|
3b7df51eb5f5e2f980248f5e8c547869ea93ac78 |
30-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/movaps/movups/ (see bug 12216)
86-64/xform4.S
|
e62b9241d288da7d9bed28fb85ea17bbb617aa28 |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add p_compiler.h.
ipe/tgsi/tgsi_platform.h
|
a6e2b76fb570dea8f4a1384e4a9df36f6b81ca84 |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break GL dependencies.
ipe/tgsi/exec/tgsi_parse.h
|
6468e68466bfdf93cafafc78d37a156e96af229c |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break GL dependencies.
ipe/tgsi/exec/tgsi_parse.c
|
86fe5f235b174e2aedd02bc14a94df818bc3ea74 |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break GL dependencies.
ipe/tgsi/exec/tgsi_build.h
ipe/tgsi/exec/tgsi_dump.c
|
529c411e4095eeb9be501a6fe657a3a196c3e448 |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break GL dependencies.
ipe/tgsi/exec/tgsi_build.c
|
5c337508feedfa35ba3f534bf212f08265db2022 |
29-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Fix ffs().
ipe/p_util.h
|
bad6e175cf59cce630c37d73f6e71f3a4de50ae6 |
29-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: store read drawable info in intel_context. Some OpenGL operations are based on read drawable. fix bug#10136.
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_copy.c
|
f6a89e1884535a6136900febc163ee930c1d2179 |
29-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: check NULL pointer. fix bug#12193
rivers/dri/intel/intel_pixel_bitmap.c
|
410d8f7cdb40889e66f5c6794878ad9a5f572ee7 |
29-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: samplers group in fours in WM_STATE. fix bug#9415
rivers/dri/i965/brw_wm_state.c
|
500193dca8cee7d8b609bd20cb60d20c96d77de3 |
28-Aug-2007 |
Keith Packard <keithp@koto.keithp.com> |
Add register defines for hw binning
rivers/dri/i915tex/i915_reg.h
|
c235cc71a296e63f65cafcc95839119cf3cf2a63 |
28-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: flush batch buffer when getting the maximum. This makes some 3D programs such as pymol work well.
rivers/dri/i965/brw_draw.c
|
874b9265601fcc05b1e32e2be029f3ac6a966c97 |
27-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Split out vertex shader/cache/fetch functionality from draw_prim.c
ipe/draw/draw_arrays.c
ipe/draw/draw_prim.c
ipe/draw/draw_vertex.h
ipe/draw/draw_vertex_cache.c
ipe/draw/draw_vertex_fetch.c
ipe/draw/draw_vertex_shader.c
ources
|
c28ea5573d1e0249083c90d53890c2ec4e61f08c |
27-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: set total stride of vertex array for POS attribute
rivers/dri/nouveau/nv10_swtcl.c
|
b0455958cc5fbb303cd5cd394c7945f357cc9663 |
25-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
add missing files
tate_tracker/st_atom_constbuf.c
tate_tracker/st_atom_fixedfunction.c
|
3f8b5e3951cfa4d568f571a3073a78b81040f7fb |
25-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
fix frag vs vertex typo
tate_tracker/st_atom_fs.c
|
4185da4681405f3cc4d0cc601d428f2f44d0dda8 |
25-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
add names to tracked state atoms to improve debug
tate_tracker/st_atom.c
tate_tracker/st_atom_alphatest.c
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_clear_color.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_setup.c
tate_tracker/st_atom_stencil.c
tate_tracker/st_atom_stipple.c
tate_tracker/st_atom_texture.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_atom_vs.c
tate_tracker/st_context.h
|
07d97e80e616d9fdc437d3b41055c347d5c54932 |
24-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
checkpoint in constant tracking rework
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_cbuf.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_program.h
nl/t_vp_build.h
|
599ba515f979a343febbaf684a744ff525554727 |
24-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove unneeded dirty flag
tate_tracker/st_atom_vs.c
|
24967c8646b496b0e6f2735374528fe93ac3e0a4 |
25-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: also set modelview0 matrix to identity
rivers/dri/nouveau/nv10_state.c
|
40ecc4a359fb587627fee44a13192a0c20b03b8e |
25-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: add a scissor func, do not cache viewport settings
rivers/dri/nouveau/nv10_state.c
|
1a911aad0a31b2d043a524e5d6f766fbb38142d7 |
25-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: properly set viewport and projection
rivers/dri/nouveau/nv10_state.c
|
def8bb784cf403474eea3b4d25a3262155dc38f2 |
25-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
code re-org, minor improvements
tate_tracker/st_cb_clear.c
|
b4a8175da08f950196047a22d0c8428498ecbe97 |
25-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/==/=/
ipe/i915simple/i915_state_derived.c
|
703140bbd58931046c00b43e52a7c4e9235875ca |
25-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix fragment program color output mapping (0=depth, 1=color)
ipe/i915simple/i915_fpc_translate.c
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
29dc25bcfebfcb1764382bee960851ab051e6bbe |
25-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for USE_X86_ASM or SLANG_X86 in st_delete_program()
tate_tracker/st_cb_program.c
|
b7de64c46cc76abea99ec3fbe80d6b29a0645b56 |
25-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv
ipe/i915simple/i915_state_derived.c
|
59e7bfa1de77ab03ca174bdf82fe33ab36050ce7 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add support for more surface types in sp_surface.c replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
ipe/i915simple/i915_state_sampler.c
ipe/p_defines.h
ipe/softpipe/sp_surface.c
tate_tracker/st_atom_vs.c
tate_tracker/st_format.c
|
4fd7bc00f06a98e1db2ad886a13566f19895e3c0 |
24-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Hook-up SSE2 to VS.
ipe/draw/draw_prim.c
ipe/p_state.h
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/exec/tgsi_sse2.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_program.c
tate_tracker/st_program.h
|
2c7b74725bfbd0a022ebfada4736d6cb8ac28047 |
24-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Indent. Remove GL dependencies. Simplify. Add rtasm instructions.
ipe/tgsi/exec/tgsi_sse2.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
b5c14b36addc46d8cc02e1e7d1ac85ea3ce82e8e |
24-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add tgsi_sse2.
ipe/tgsi/exec/tgsi_core.h
ipe/tgsi/exec/tgsi_sse2.c
ipe/tgsi/exec/tgsi_sse2.h
ources
|
cd9368253011e00c2b5838e0f1dbb440f04b7f3a |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove deleted i915_state_fragprog.c
ipe/i915simple/Makefile
|
57394f344653f4eaec2de521a9a300a69e3bc71d |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix a tracking of changed lighting state
tate_tracker/st_atom_vs.c
|
6ef1bdbdaaf1d30d891475f3dbf27ec791ff40eb |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
add some warnings about bitmaps/copypixels
tate_tracker/st_cb_drawpixels.c
|
e648a86601a7cf7a6ddfa7afa69e8c141efc45ad |
24-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
disable debug
ipe/i915simple/i915_batch.h
|
d36e01aa940cfd48fcdbc7d57d356c4d4c7cfc9c |
24-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove dead file
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state_fragprog.c
|
7a1027cd4098c25dc59be889f4d00cdb47550b44 |
24-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
have to check I915_HW_SAMPLER when emitting MAP state, because of sampler_enable_flags.
ipe/i915simple/i915_state_emit.c
|
b4d8be235b018594a79258d36e70880ab9019b72 |
24-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
sampler state tweaks
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_sampler.c
|
f9a77a3080598d03c484fa5d04c213b8a06d43d3 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix user-defined clip planes. They seem to work properly now. The bits for the N user-defined planes are now set in the vertex_header->clipmask. See some detailed comments about this in the clip_line() function. CLIP_USER_BIT no longer exists.
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
|
6a13caec093dc86fbce80c9f78426d39e9b4276b |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
re-enable compute_clipmask() call
ipe/draw/draw_prim.c
|
6998402016e146d6afe06549ce2fb5941d6b03c7 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed
ipe/i915simple/i915_state_derived.c
|
c89502bb4e6d80182e4977ab084639850e1eba68 |
24-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixup include paths after rename
ipe/draw/draw_prim.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_fpc_translate.c
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_tex_sample.c
ipe/tgsi/deco/tgsi_deco.h
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/tgsi_mesa.h
ources
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_draw.c
tate_tracker/st_program.h
|
f93a360319fb35f9bac571931fc81afb9e0a8ab8 |
24-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename tgsi "core" directory
ipe/tgsi/core/Makefile
ipe/tgsi/core/tgsi_attribs.h
ipe/tgsi/core/tgsi_build.c
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_core.h
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_dump.h
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
ipe/tgsi/core/tgsi_parse.c
ipe/tgsi/core/tgsi_parse.h
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/core/tgsi_util.c
ipe/tgsi/core/tgsi_util.h
ipe/tgsi/exec/Makefile
ipe/tgsi/exec/tgsi_attribs.h
ipe/tgsi/exec/tgsi_build.c
ipe/tgsi/exec/tgsi_build.h
ipe/tgsi/exec/tgsi_core.h
ipe/tgsi/exec/tgsi_dump.c
ipe/tgsi/exec/tgsi_dump.h
ipe/tgsi/exec/tgsi_exec.c
ipe/tgsi/exec/tgsi_exec.h
ipe/tgsi/exec/tgsi_parse.c
ipe/tgsi/exec/tgsi_parse.h
ipe/tgsi/exec/tgsi_token.h
ipe/tgsi/exec/tgsi_util.c
ipe/tgsi/exec/tgsi_util.h
|
f8e4cf716a3656faa08086ee80d04b36a5266d65 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove CallDepth++/-- accidentally removed in prev commit
ain/dlist.c
|
c50e054bd43882778aa8972d2444e5c3178f4c74 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
track more vertex-related state changes
tate_tracker/st_atom_vs.c
|
7fe09341489ff61dc1a3a771fd3e75b3f866d6a9 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added GL_STENCIL_INDEX8_EXT
tate_tracker/st_cb_fbo.c
|
17598ad591a1eebe66cdefa332600f2952de92a0 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix-up stencil buffers
rivers/x11/xm_api.c
|
ac8249d0ed382c547a2219449fa6dea328b19193 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for null ptr in xm_buffer_unreference()
rivers/x11/xm_softpipe.c
|
440e794b05511c1854c22956e6e306d1b1d8682d |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use vertex_info struct for softpipe - lots of clean-up.
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
|
d4883ee24c52b7af0193561b51fbb8023d5eb5e3 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code
ipe/draw/draw_prim.c
|
e967b246ecdc665d9f974d1e35380cb1cd11d61e |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Vertex shader outputs are now tightly packed into the output slots. Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
ipe/draw/draw_prim.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/mesa/mesa_to_tgsi.c
tate_tracker/st_atom_vs.c
|
30236573dadd83714220b72b0c04f1bbce69fbd6 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Need to copy header->edgeflags to tmp when creating new prim_header. Edge flags were random/undefined otherwise.
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_twoside.c
|
c998ce1df09f2d9dc834ebdf9484673d8084db34 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor improvement to get_vertex() in-use flag setting
ipe/draw/draw_prim.c
|
38091ef42a647b0be20e0462b065cb9d88f0784b |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix an edgeflag logic error, see comments
ipe/draw/draw_prim.c
|
eef2e35981b2e4c6f2be6fc6868672888719d4b6 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix incorrect vertex index for POLYGON drawing
ipe/draw/draw_prim.c
|
d6d995d20c7a5d8ce03829fe8f5edfaf7a6ea2b3 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
get rid of VERT_RESULT_ usage
ipe/draw/draw_prim.c
|
7d5e7f03191673a02f8d3b9d5e4b95c074c5acdd |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
map Mesa vertex attribs/arrays to TGSI attribs
tate_tracker/st_draw.c
|
d8b16d416de95daa4f0ede9b839bdbf0fa6bf1b1 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: new vertex/fragment attribute naming Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
ipe/draw/draw_arrays.c
ipe/draw/draw_clip.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_vertex.h
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state_derived.c
ipe/p_state.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
tate_tracker/st_atom_fs.c
tate_tracker/st_cb_clear.c
|
83547d1dca7281ffe03424d12316b26bb07b89c9 |
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
TGSI_ATTRIB_ tokens
ipe/tgsi/core/tgsi_attribs.h
|
074f07176a3c916573d9e2b4cb20316591c1e99e |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation functions
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
ba50b6958ab69e5e3ee190126bb08aad6118c607 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comment about code duplication
ipe/draw/draw_arrays.c
|
399077d760b4c98ab38d48d17f2480114e70dfc6 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up comments
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_prim_emit.c
|
6d88515190ed7500e201706cc14d30072ba42d6f |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead/debug code, misc clean-up
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_immediate.c
|
d3eb25c575464bed7dbfc8be4717d85cb2928ec1 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint commit: i915 texture works, use new vertex_info struct Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
ipe/draw/draw_arrays.c
ipe/draw/draw_clip.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
ipe/softpipe/sp_state_derived.c
|
690a9de40b20092ae9027dc52d7b26a48995bbff |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Define a re-usable vertex_info structure to describe vertex layouts. This also includes legacy #defines for VF_ATTRIB_*, FRAG_ATTRIB_*, etc tokens. Those will go away eventually, but at least we no longer need vf/vf.h
ipe/draw/draw_vertex.h
|
ef7c25090074cb02f18acc905bca5f25a56bd021 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
For the time being, interpolate Z in shade_quad() rather in the shader. This was causing trouble for the i915 driver.
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
4b654d41da08b3b5475144c027e97a3ae7ab5696 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett)
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
ain/bufferobj.c
ain/bufferobj.h
ain/context.c
ain/texstate.c
ain/texstate.h
hader/program.c
hader/program.h
|
dbef6158c6c19a28dc96a96357c9ed9bd9422b88 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded CallStack array
ain/dlist.c
ain/mtypes.h
|
c990d0fd57a05301429b3af75b7fed0337621941 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: texture image and sampler state handling, plus better vertex format code. Texture image/sampler state code should be working, but is disabled for now. Need to fix outstanding issues with vertex formats and texcoords first...
ipe/i915simple/i915_context.h
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_state_sampler.c
|
ace2b98dd3511ea6959980a2ae2ee90fa7c28748 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix assertions in swizzle()
ipe/i915simple/i915_fpc.h
|
69ab4b23f5a67451e262b75f4a1a40949fc5868c |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more debug output
ipe/draw/draw_prim.c
|
fa8cbc45e883762f3c3f1f11497a035c217f8d65 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Need to store vendor and renderer strings in the context. As it was, we always returned the same pointer. So glxinfo, which calls glGetString() before printing anything, was printing the same string for both vendor and renderer.
tate_tracker/st_cb_strings.c
tate_tracker/st_context.h
|
e9190ec534abb817d4f5d1660c84a0ace3376c84 |
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old draw_vertices()
ipe/draw/draw_context.h
|
e94ea99254a5f160d115a53abace7a6f159a0749 |
22-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add deco_caps.c.
ources
|
89c0d32b458aa467987a42f2c634900729b4df36 |
22-Aug-2007 |
michal <michal@michal-laptop.(none)> |
First pass on tgsi deco.
ipe/tgsi/deco/deco_caps.c
ipe/tgsi/deco/deco_caps.h
|
6b6cc4c0fe04884b22f6f0010be9dcee2b4efa9f |
22-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Include headers.
ipe/tgsi/deco/deco_caps.h
ipe/tgsi/deco/tgsi_deco.h
|
fa8c74fcc93717da7a2e409d7e1a4ff593a35d53 |
22-Aug-2007 |
michal <michal@michal-laptop.(none)> |
New file.
ipe/tgsi/deco/Makefile
|
d866e648aee69f06c59ecd65e101dd3d618bbd58 |
22-Aug-2007 |
michal <michal@michal-laptop.(none)> |
New file.
ipe/tgsi/deco/tgsi_deco.h
|
be673e9719593ee22c16e289fe4d154db3fb7805 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Sampler state code now compiles and is built. Not tested yet.
ipe/i915simple/Makefile
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_sampler.c
|
d45dd5672ae60f1f49648725974693bf4ebf4bf8 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added border_color to sampler state
ipe/p_state.h
|
8a868919b50bdca4dc697d61e220a8fb50764f8e |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Improved pipe_region/surface_reference() functions Now dereferences the old object first. Target object may be NULL to clear the pointer.
ipe/p_context.h
tate_tracker/st_cb_fbo.c
|
c0bb4ba9e665e40a325d82aa2ee48d7b8abd603b |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rework of shader constant buffers. They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
ipe/draw/draw_context.h
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_emit.c
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
d1fbf621dc48a488c0f860c5851332d269e6d637 |
22-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Import some sampler state code. Doesn't compile, isn't built.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_sampler.c
|
5ac22877c98f4934cced4d42b9ec87245f266967 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
code movement, null ptr checks, etc
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
|
e7f814e0340454346933f4c8450c07a6c784d87a |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded include
ipe/i915simple/i915_state_immediate.c
|
4ed87bf2291e4873e94cefe44ddf2b590b09cc42 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded includes
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_tex_layout.c
ipe/i915simple/i915_winsys.h
|
0e8761725536388603b15b093c0293892bd72635 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete.
ipe/i915simple/i915_fpc.c
|
c8c616d33c2d0b9076a625fdee7f257a042df62f |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't need i915_fpc.c
ipe/i915simple/Makefile
|
2154d1c5ac0bb37614ef00bed766e49635b519e8 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement negation for src operands
ipe/i915simple/i915_fpc_translate.c
|
a3750c989b7330cc08942c9e0959ebfcdfcb9306 |
22-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: set projection matrix from viewport size
rivers/dri/nouveau/nv10_state.c
|
24746d0e3219b333fdbbb0026191fc735036ac8c |
22-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: initialize more of nv10 tcl engine
rivers/dri/nouveau/nv10_state.c
|
d021381d4e17d0c802b6e6b1c11de04563274dea |
22-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Clear all the dirtyflag words
ipe/failover/fo_state_emit.c
|
9606cb15e7d5821b60fd4413e3c79afb745c0e16 |
22-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove duplicate i915 shader disassembler
ipe/i915simple/Makefile
ipe/i915simple/i915_fpc_debug.c
|
5c086518f15c2587a4e81c889edb37363015dd0c |
21-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Headers. Fix alignment issues. Silence compiler warnings. More debugging code.
ipe/draw/draw_prim.c
|
eb51761b825018bf89080855d0fa3fcb84b9c215 |
21-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/draw/draw_clip.c
ipe/draw/draw_twoside.c
ipe/softpipe/sp_clear.c
|
044c19e6b347d13df70dbc9980cec8a464afe214 |
21-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Define __MSC__. Make ALIGN macros more error-proof.
ipe/p_compiler.h
|
af3d6c83d245c3a5b2af3bddfc261c3678afb7d1 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
temporarily call _mesa_enable_sw_extensions() so we can run more test progs without failing the extension checks
tate_tracker/st_context.c
|
88e12872fa3e1d1d2aa33653b3bf2b6982b2fafd |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
ipe/tgsi/core/tgsi_token.h
|
0d9bcdbeb11ad1ce7e5257f652ccf9ebf1aa59a7 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fragment shader translation seems to basically work now. More testing needed.
ipe/i915simple/Makefile
ipe/i915simple/i915_context.h
ipe/i915simple/i915_fpc.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_translate.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
|
d70d41eefc1045bd2f8ddf2cb701d7789c671012 |
21-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
fix cut and paste
ipe/failover/fo_state_emit.c
|
ce4659e92acfbb0ff8a93a6e619c44b839505ca9 |
21-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
First pass at a fallback concept for pipe devices. Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
ipe/Makefile
ipe/failover/Makefile
ipe/failover/fo_context.c
ipe/failover/fo_context.h
ipe/failover/fo_state.c
ipe/failover/fo_state_emit.c
ipe/failover/fo_winsys.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_fpc_translate.c
ipe/p_context.h
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
|
93c7173ed2fbe2bc47ee6879af89366cafd90ba5 |
16-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add missing #include
ipe/i915simple/i915_debug.c
|
d97f90b93e5a60bdb3aa4ee6714fdf187675e231 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added fpc sources
ipe/i915simple/Makefile
|
3af1f3b9220733f5e3a76fe38fbc397974678234 |
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial check-in of i915 fragment program translation (from tgsi).
ipe/i915simple/i915_fpc.c
ipe/i915simple/i915_fpc.h
ipe/i915simple/i915_fpc_debug.c
ipe/i915simple/i915_fpc_emit.c
ipe/i915simple/i915_fpc_translate.c
|
3d508a5d7bd67c915f9f9403570189d1a60ded5f |
21-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: Move some initialization stuff
rivers/dri/nouveau/nv10_state.c
|
a6d35694c4570368f718f78bd85a21a626b7cdc9 |
21-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: Use proper notifier object
rivers/dri/nouveau/nouveau_object.c
|
c6e729377cd1b1e7b5a1a22c40cee80b15a799f7 |
21-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: Remove commented, unsupported by hw command
rivers/dri/nouveau/nv10_state.c
|
d640198b2d52c104c707522e79d53a36f708ccd0 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Set viewport state so viewport matches window dims. trivial/readpixels.c works again.
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
3cb6fc3f9aaa94236be611bad04125c17e01ad6c |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move vertex transformation/shader code into draw_prim.c to avoid need for vs_flush() function pointer.
ipe/draw/draw_arrays.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
|
3772441c498b997947f68e98830f72649bbc8442 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move ALIGN16-related macros into p_compiler.h
ipe/draw/draw_arrays.c
ipe/p_compiler.h
ipe/softpipe/sp_quad_fs.c
|
79b8f97457a9634df28ba0def4623dbe2b142f09 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
include draw_context.h
ipe/softpipe/sp_state_fs.c
|
d054331c4788b0a5f13f4d7a9b497d274d267acb |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update glClear and glDrawPixels code. Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords.
ipe/draw/draw_arrays.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
c1fbd72adcbe1aa3a627e8f9a7a0803740c0a008 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor clean-ups
ipe/softpipe/sp_draw_arrays.c
|
3239532795a027ddc578261f556e13e2c80f9676 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use new draw_arrays() code. The i915 driver now uses the software-based vertex shader interpreter and draws everything through pipe->draw_arrays().
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
|
766fa51537dabd978eb04fb4c3f29b5dfeacd9fb |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some of the #ifndef MESA stuff
ipe/draw/draw_arrays.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/softpipe/sp_prim_setup.c
|
ddf8ba2d1b4f85498613f7ace1ffda70bb9d9e92 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
ipe/draw/draw_vb.c
|
9d9e838974d1b9ab35235387bdfda5d99cb19d38 |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code related to vf module
ipe/draw/draw_context.c
ipe/draw/draw_private.h
|
8175eaa3b49f3b62f7ab251c4e0fbd14dd9f7e2b |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: remove more of the old draw_vb() code.
ipe/draw/draw_arrays.c
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state_vertex.c
tate_tracker/st_draw.c
|
51da8ee85eccf0df3721cbd863cd174382d1ddfd |
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Start to remove the temporary draw_vb() and draw_vertices() code. new st_draw_vertices() utility used by glClear and glDrawPixels
ipe/draw/draw_arrays.c
ipe/draw/draw_vb.c
ipe/i915simple/i915_context.c
ipe/softpipe/sp_context.c
ources
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
0a262998ef2813d19e9fee01d3e5808416e9cb04 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move guts of vertex array drawing into the 'draw' module.
ipe/draw/draw_arrays.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_prim.c
ipe/draw/draw_prim.h
ipe/draw/draw_private.h
ipe/draw/draw_vb.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_vertex.c
ources
|
a83b72a67263faf21bf16ff879c9718660684aed |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement DrawElements, still some rough spots
tate_tracker/st_draw.c
|
1dd55a77c87bd4e057d689163efd070a2dfe3454 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement draw_elements()
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state.h
|
730df7662f57a46dee892733afc9a55f37d2ab03 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't map element buffer in _mesa_validate_DrawElements() unless necessary
ain/api_validate.c
|
7d14c3e538f9582e2f5fb0ff827af2ecce9b0f40 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug printf
ipe/softpipe/sp_draw_arrays.c
|
98d30cb2d4e17c288ef5f0fd41c09b372832d783 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
call draw_trim()
ipe/softpipe/sp_draw_arrays.c
|
904163e4e94dbf3ea9a24738077e9916e97191f8 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix cache overflow bug in get_vertex()
ipe/draw/draw_prim.c
|
07b7e97fb49585d18beaacc12063127501e5407b |
20-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
Use correct object for GART
rivers/dri/nouveau/nv10_state.c
|
f252974121febc6a1a59793d932b32b798f90fc6 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix VBO clean-up in vbo_exec_vtx_destroy()
bo/vbo_exec_api.c
|
df1df82f1660996d09fa272e6129c194afde3ece |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
d8c6719f95b1543296ac954f95d13b048ae48634 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
refactor bounds checking code
ain/api_validate.c
|
a3c3bc9ece7e7c55c8832dbc8c50ab1c34f5bfe9 |
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't map buffer in _mesa_validate_DrawElements() unless needed
ain/api_validate.c
|
ef71a0fd4536363e578c49a05b6f1161f907c150 |
19-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: only one color buffer atm
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_state.c
|
14327705fd53e984b74f8e9adb053df03fba7aff |
19-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix some draw_arrays issues. We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code.
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_private.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw_arrays.c
|
53cf87be1b93c760228e6a9af8115d2a9ff99337 |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
some fixes for compressed cube maps (bug 11986)
ain/mipmap.c
ain/teximage.c
|
95e84a09ce3f35f59465be28026e83c1bc40ae8a |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues
ain/buffers.c
ain/buffers.h
ain/context.c
ain/fbobject.c
|
0453760a0bf139f113792d22e65ce6904f06f28b |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more work on vertex shaders, now using vertex shaders instead of TnL module by default
ipe/softpipe/sp_draw_arrays.c
ipe/softpipe/sp_state_derived.c
|
1f026d98dd77b6d26cc76946d92f69a9e6091b8e |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[] Used when the vertex shader references attributes which aren't present in VBOs.
tate_tracker/st_context.h
tate_tracker/st_draw.c
|
b3f067e8593b9fda0474041f32479b20cd64e728 |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added tnl state atom
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_vs.c
|
7274e14d4ada04d150f1115252cebd7a3ada797a |
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix xm_buffer_data
rivers/x11/xm_softpipe.c
|
8339ca7d1e9a3fe90f46e6e81f7ec8574d121072 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace memcpy() with assignment, better type safety
ipe/draw/draw_context.c
|
74e58c5b82a15d250f42c9695e3ed61f64faedaf |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added CLIP_x_SHIFT vals
ipe/draw/draw_context.h
|
48b09322ee1b701558e1f223320cd2a9259bb37f |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
write outputs according to vs.outputs_written
ipe/softpipe/sp_draw_arrays.c
|
a2805a81658fd4a4b9732167f24f334630549fa6 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added outputs_written field to pipe_shader_state
ipe/p_state.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
4973136e2062fe6930cee1a44f97aefa6b423295 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
load machine.Inputs based on vs.inputs_read
ipe/softpipe/sp_draw_arrays.c
|
a30939714cdc73cb633672cad7d86b425781526d |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pipe ptr to draw_context
ipe/draw/draw_private.h
ipe/softpipe/sp_draw_arrays.c
|
e3647578d159dcb93799023eacba0c2d3c7fbd18 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
compute clipmask
ipe/softpipe/sp_draw_arrays.c
|
7668e53c8c64570d66a626c96302a953164f319e |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
define CLIP_LEFT/RIGHT etc
ipe/draw/draw_clip.c
ipe/draw/draw_context.h
|
83f428e799d598732494f60601c5984e09829a81 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
shade four vertices at a time
ipe/softpipe/sp_draw_arrays.c
|
cd3162f57831fd0b8d9af6bfcd08a521ab352386 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added align16() function
ipe/p_util.h
|
2fc54f5bb56a7714c843fc5a6a3bb6895af9babc |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added uint64 type
ipe/p_compiler.h
|
dcfdb63b9fde8134562cb3a4e779a36e0abb4ae5 |
17-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Brian's fix for bug9829
ain/texenvprogram.c
|
00b86ecf6f2f936bad6d628622ea5546c780ab8d |
17-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: align width/height for volume texture
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_mipmap_tree.c
|
8e4ed6323dff7c021b0f7d7711a89379e26ddb25 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added null VB->AttribPtr[i] check
nl/t_vp_build.c
|
bc3f87683a25803fde6e69eddccc7e0a1c59df17 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix edgeflag bug
ipe/draw/draw_prim.c
|
c5004c7db6991a11ffbc76cd4a7a0ce940f8b54a |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
pack output vertex attributes in sequential slots
ipe/softpipe/sp_draw_arrays.c
|
1e6d1ab6fc85ff928c629627991a60f515b73857 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
tell vbo module to use bufferobjs
tate_tracker/st_context.c
|
305b83a4153442e53f54cd5b817238c95161f7db |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added call to _mesa_load_state_parameters()
tate_tracker/st_atom_fs.c
|
5568a7d30120d830c93494a7b3382bfa8b4d2800 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vbo_use_buffer_objects() to specify that immediate mode data should be put into bufferobjects
bo/vbo.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
|
89cda7bdc85b10526987321214965f21b148735f |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace assertion w/ conditionals in xmesa_clear()
rivers/x11/xm_surface.c
|
5b59e6116db5241dc9a08b98e5eb8f0c770c05ea |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use simple st->pipe->clear() in more cases for depth/stencil clears.
tate_tracker/st_cb_clear.c
|
ae64d5c173a4525800383668cc91c176a1bd7a15 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix buffer clearing problems
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_softpipe.c
rivers/x11/xm_surface.c
|
93efcf50fae7bdd9ee9468f4f4049ecb4c06e2df |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
assertions
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_region.c
|
04f2078860d0649b016e9281f86725cb42e15b42 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added assertions, disable debug output
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_fbo.c
|
3e168a0ec840af65863e197f4a884aae905b213e |
16-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Convert TTM code to require the server provide buffers for front/back/depth. This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/server/i830_common.h
|
b6ad5e7de8dc84ee42eeeb62d2112f096413b335 |
16-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Move i915_disasm to later so we can use the hardware offset.
rivers/dri/i915tex/intel_batchbuffer.c
|
64297acf9e96353fe724362248246acaf0be8cb8 |
16-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Fix bad printf on TTM fence_wait failure.
rivers/dri/common/dri_bufmgr_ttm.c
|
2b77a8696b14bc36be359bf858189ade5fab8511 |
16-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Don't forget to update buffer offset after validation.
rivers/dri/common/dri_bufmgr_ttm.c
|
327e6551197e6069150200878b4e6e7a595e2bee |
16-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.
rivers/dri/i915tex/i915_disasm.c
|
b902a223c461c804cee5cabd6440a934835803bd |
16-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: clear a buffer
rivers/dri/nouveau/nv10_state.c
|
a60695ebafcdf048ce13d5195e74f8b7d1fff8d8 |
16-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: add function to clear a buffer
rivers/dri/nouveau/nv10_state.c
|
fe789805801cbbc2c97847c159cfd470232cc1f4 |
16-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: store render buffer pointers in context, to access them when clearing buffer
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_state.c
|
f5ed049655d214a8828d5ce68651741c3dff0c66 |
16-Aug-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: create objects needed to clear buffer
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
|
24b2f3041090820b926b5902f0c6c65922874d68 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break mesa dependencies. Silence compiler warnings.
ipe/softpipe/sp_state_derived.c
|
f692cdb544bf42eb36154f6a132d9e144dbae858 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/softpipe/sp_prim_setup.c
|
1b19aa522abc3dc4e38666b4a98337a33a82a946 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Break mesa dependencies. Silence compiler warnings.
ipe/softpipe/sp_draw_arrays.c
|
2f559606dc3a27104199226ccf6568a222797055 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence compiler warnings.
ipe/draw/draw_offset.c
|
546f1fa01920aeb777a03c4d2c72405d038dd96e |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Define ffs() for __WIN32__ & __MSC__. Break mesa dependencies.
ipe/p_util.h
|
bef9b40c3904fdffea6cc426c5c82ed3ab70a902 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Define __WIN32__.
ipe/p_compiler.h
|
32d86eb28aedd01a03ceab746214a8db2a4cbbab |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did. Basically, in update_framebuffer() (which should be called after an FBO is bound with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO. If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state. Old code still in place but disabled with #if 0 / #endif.
ain/buffers.c
ain/buffers.h
ain/context.c
ain/fbobject.c
ain/framebuffer.c
|
00b7a915084067cef85c25cedcec257ce4eb25f0 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Move VS code from st_atom_fs.c to st_atom_vs.c.
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
|
a279b221bf9e64349b722449443d25db45f5a6df |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Cosmetic changes.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
3fc926f3740da9ec27853d158243055f3cb43d43 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove many dependencies on mesa headers. To build with mesa, need -DMESA in makefile/config file.
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_prim.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
ipe/p_util.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_prim_setup.c
tate_tracker/st_draw.c
|
e3bdd66bf69fb12fa02d161989755944077b280d |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
misc changes to support vertex shaders (disabled by default)
ipe/softpipe/sp_context.c
tate_tracker/st_atom_fs.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
bf55f32c6fd74b8eb0b31dce0ebd8f4c52f57743 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
run real vertex shaders, a total hack for now
ipe/softpipe/sp_draw_arrays.c
|
78d6d5e8fe7281f67b7ce8d9911e4f280435b1f5 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
make pass-through vertex shader
tate_tracker/st_cb_clear.c
|
9ba4311e71f510797e1b446ab7dc6b6d4dc55dd5 |
17-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for null swrast (pipe work-around)
wrast/s_context.c
|
de653b4c9bddcec46f3ddf411ec082dd178d7b38 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Begin added vertex shader state/support. Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_state.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_fs.c
tate_tracker/st_atom_fs.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
ebe510766927315ec6dcd846a980cb851b5331d4 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable Z value scaling - it's done in sp_quad_depth_test.c
ipe/tgsi/core/tgsi_exec.c
|
717cc0f214b741bc9ef679dd372654d8e2192f25 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move the draw_alloc/free_tmps() functions to draw_prim.c
ipe/draw/draw_prim.c
ipe/draw/draw_vb.c
|
fd0a6d6b4774c8cfbfccd8baa6c0ccd99a3214b9 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove GL/mesa types, rearrange things into more logical groups
ipe/draw/draw_private.h
|
c033ccc36d08c669dcdfbfc1cf89e472e8211c5f |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comments, etc related to Read/DrawBuffer state
ain/buffers.c
ain/framebuffer.c
|
c5a5d12743b4921ab9c01ee69fa6a06b6b4d716a |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove reference to ctx->Color.DrawBuffer
wrast/s_span.c
|
4fb2f09fdd61cc15db097bc7cbb6a410df075383 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add missing inlcude directory.
ipe/Makefile.template
|
cbef86a6ea7fa2901d2a123544591932114ae603 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Copy fragment z if the fragment shader does not write depth on its own.`
ipe/tgsi/mesa/mesa_to_tgsi.c
|
59bd1e260bf40e4d2b1662cc4e68eff8235739e4 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Drawing code refactoring. Move code duplicated between draw_vb.c and sp_draw_arrays.c into draw_prim.c draw_vb.c will eventually go away, but this seems like a good step anyway.
ipe/draw/draw_private.h
ipe/draw/draw_vb.c
ipe/softpipe/sp_draw_arrays.c
ources
|
926323df8692f48134a65322d5790d3f950b67dd |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
point/line/polygon drawing (factored out of draw_vb.c)
ipe/draw/draw_prim.c
ipe/draw/draw_prim.h
|
76f9f3ee832a5e47a321afb01ccac38fe6696196 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence warnings.
ipe/softpipe/sp_tex_layout.c
|
4fcfab33477a0b01ef2f5b1fb2658f244b91e03b |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence warnings.
ipe/softpipe/sp_surface.c
|
e36b27cf86fb767a4a9754480abe9e299c746cf7 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence warnings.
ipe/softpipe/sp_quad_fs.c
|
830169414e2886c2224d62a1a601cc951dcd4b08 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Silence warnings.
ipe/softpipe/sp_quad_blend.c
|
9982044a8de79d927a2921126c1684e04f18c170 |
16-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Use 'f' for float suffix.
ipe/p_util.h
|
09867b53a9add9c1a392ad46f850d40d50bbc536 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace Proxy1D/2D/etc fields with ProxyTex[] array
ain/mtypes.h
|
fe469007037d9d5cdbe1677d8ff7368b276e9e7c |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. Simplification in colortab.c too.
rivers/dri/tdfx/tdfx_tex.c
ain/colortab.c
ain/mtypes.h
ain/teximage.c
ain/texstate.c
|
0135ff512d25b221d1a4cf9a5d344420d4ad3341 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace separate 1D/2D/etc fields with an array indexed by texture target
ain/attrib.c
|
b3e3e72e25247a48c4f154e2971eff48ecb9d9ef |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old Saved1D/2D/etc fields
ain/mtypes.h
|
145d762044f795bf9d68f28079cc5e5d3056920e |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Bring over the texobj refcounting changes from mesa_7_0_branch
ain/attrib.c
ain/attrib.h
ain/context.c
ain/texobj.c
ain/texstate.c
|
2193c4de83acfc3268ccca7b54b00543307e0baa |
16-Aug-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Unreference texture buffers on context destruction. Not doing this could cause the buffers to leak under some circumstances.
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_vtbl.c
|
b0b871429daabfb6a8788444283021fab79e2d0f |
15-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove mesa include directories, be stricter about include paths.
ath/m_vector.h
ipe/Makefile.template
ipe/draw/draw_context.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
f/vf.h
|
5390a43ce06b27f6d54bc5f237aa305b6948f2af |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
translate GL texture targets to PIPE_TEXTURE_x values
tate_tracker/st_cb_texture.c
tate_tracker/st_mipmap_tree.c
|
94a4910c9a1ef48470f45c01c379254cb033119f |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PIPE_PRIM_x tokens (matching GL), use in a few places
ipe/p_defines.h
ipe/softpipe/sp_draw_arrays.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
d9a230f30a98eb677bba869a6f7bb9a840e36354 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Hook in new draw_arrays() code, disabled for now.
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_derived.c
|
2de99586246d758da14e281718d85c499d1969d6 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
softpipe_draw_arrays() function Also includes: Temporary stand-in for vertex program execution. draw_prim() code post-transform vertex cache
ipe/softpipe/sp_draw_arrays.c
|
ab0b040b6023f2e6c0eb7c12f085b4f24a847851 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added new draw_arrays()
ipe/p_context.h
|
181cf1d52a9fe0ad8be9d48aa69775f575336d3d |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
convert vbo->draw_prims() to pipe->draw_arrays(): works in very limited cases, disabled for now
tate_tracker/st_draw.c
|
3e2be1ce4ab0a2d61519f47b1eb78626c710b378 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vertex array info fields
ipe/draw/draw_private.h
|
293cc252616543d36aeb8a432441006bf65e3330 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added draw_set_vertex_array_info()
ipe/draw/draw_context.c
ipe/draw/draw_context.h
|
24083f4e4702f4e9b8cc1679139d45ee771a0f16 |
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comment
ipe/draw/draw_vb.c
|
058b978a5ae2a56e09fed6335b686c654444f4ac |
15-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add UsageMask to DECLARATION in TGSI. Interpolate FS attributes in the shader. Do not copy WPOS in FS.
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
ipe/tgsi/core/tgsi_build.c
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
b9eeb8dccff3b440a299f19a0868a3ff1cda1e09 |
15-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add declaration_semantic token to TGSI. Cosmetic changes, GLuint -> unsigned. Preserve mesa gl_fragment_program DEPTH and COLOR semantics.
ipe/tgsi/core/tgsi_build.c
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_parse.c
ipe/tgsi/core/tgsi_parse.h
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
6504dc31782ae8087a21607a84283ebe93c1c344 |
15-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Declare fragment shader output registers.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
477ab9c1969e9d4cb42215c7e5a1eb4f93bbbddd |
15-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Cleanup, do not use fp_attr_to_slot[] mapping array.
ipe/softpipe/sp_quad_fs.c
|
bff0411c5a1a9fdfff7f8a5128af4d496b89fa0d |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
sketch out vbo drawing function
tate_tracker/st_draw.c
|
f30093418928dce5872ea179ed5d21d3b24b7c82 |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added state funcs for vertex buffer/element info
ipe/softpipe/Makefile
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
|
3f70b504386e5d0b67cbd719769e44f33db0ae87 |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
softpipe vertex element/buffer state funcs
ipe/softpipe/sp_state_vertex.c
|
6e02b4c7c3c6efc05ead2ffd46b0928f7c9316bf |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
ipe/p_state.h
|
c431a22f520c9685e9da37bfdd6b6b2b0af03800 |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added some const qualifiers
ipe/p_context.h
|
8038d5b68ca06e8ae4db4c999d7194593426d3bb |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, minor clean-ups
ipe/draw/draw_vb.c
|
ab999608582534bb5187a786b2ea437167f2d8a4 |
15-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER to implement GL_CLAMP
rivers/dri/i965/brw_wm_sampler_state.c
|
c2ac825e67f0c2da4385eadb3e01eeb295ccc8a2 |
15-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Use half the notifier block for query objects.
rivers/dri/nouveau/nouveau_query.c
|
ecfa3e4d0aa93ca597a19693c30532655795e9d8 |
15-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Keep drm channel alloc struct around.
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_sync.c
|
3cc4e9815d4962e5f5e7b23bae1cf9b82092bb52 |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: reindent nouveau_span.c
rivers/dri/nouveau/nouveau_span.c
|
fcbd06d201754bf4f69a0262dcd04b4c287a173b |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Remove ALLOW_MULTI_SUBCHANNEL hack Irrelevant, since we depend on working context switching now.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_sync.c
|
fef3dcbee60b041df64a12511c8aa3c304a04652 |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Always render offscreen, emulate front buffer rendering.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_span.h
rivers/dri/nouveau/nv04_state.c
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv50_state.c
|
b7c93de6d798d7ccfc7bfa12b9c8f474de955d55 |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fbo
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.h
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fbo.c
rivers/dri/nouveau/nouveau_fbo.h
rivers/dri/nouveau/nouveau_mem.c
rivers/dri/nouveau/nouveau_mem.h
rivers/dri/nouveau/nouveau_span.h
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
40e8ce700b0e1711e08e9f33c297d495c43598b1 |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: reindent nouveau_buffers.h
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.h
|
386a70eeb5982976239a2d37b63cde307cfbc22c |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: reindent nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.c
|
553f5759a6587d7fe77a62d4d1159ad786b336ee |
13-Aug-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: Lets only do private buffers.
rivers/dri/nouveau/nouveau_screen.c
|
681b1ebd5e1a94961a1d38b3018af97a10d2d5b0 |
15-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
use regular malloc/free instead of macros
ipe/draw/draw_context.c
ipe/draw/draw_vb.c
|
9623683dfcb03ce42746765ba3e706b6a7085d39 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
267052c735f25dda7b49ded7b46cc59cb84ecaaa |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added glCopyPixels stub
tate_tracker/st_cb_drawpixels.c
|
b7316e4732e6930c118c7034166b47bd096a0046 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix typo
ipe/softpipe/sp_tex_sample.c
|
d16b4bc32a731cb6ae320e8c187af3bc751d4138 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor hack to allow 1D textures to work
ipe/softpipe/sp_tex_sample.c
|
a34b8594b7b2d00404bb639621ec1ce918ba0786 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
refactor some code - cube map textures work now
ipe/softpipe/sp_tex_sample.c
|
a13de2464dd034ff117f9314df5757d068cae8e5 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement texture cache with multiple, direct-mapped entries.
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_tex_sample.c
ipe/tgsi/core/tgsi_exec.h
|
c7722edcfdf36e0d0bfdc51013ecb199fc7fa9f6 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Consolidate filter and mipmap level selection in choose_mipmap_levels().
ipe/softpipe/sp_tex_sample.c
|
f9e331a574cc4eba60e0de5a29a4aed4bb40520c |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement remaining mipmap modes for 2D textures. Also, add lodbias param to get_samples()
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
|
b4480285ed5098f1c862690ee105dd46f5e6cd1e |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
tgsi_sampler->get_samples() now operates on a quad (returns 4 colors). Lambda/level-of-detail is also computed in get_samples() now.
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
|
4bb213423941fb12801a734ad2d952a6d8f2347e |
14-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Beginnings of a demand-filled post-tnl vertex cache. Probably breaks a bit of stuff, eg unfilled clipping, edgeflags, etc.
ipe/draw/draw_context.c
ipe/draw/draw_private.h
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
|
8269bc48d8fafaa432b58f4adf5e0dddd81d979d |
14-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add structs and set-functions for vertex buffer, element state. Not currently used.
ipe/p_context.h
ipe/p_state.h
|
2691b187473ddb9c96541cd154dde19c35cbaabe |
14-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add surface formats to be used for specifying vertex element layouts.
ipe/p_defines.h
|
70af238b494ed1b6da4841c2065c33ee0f0f37c9 |
13-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Continue reducing dependencies on core mesa include files. Mainly down to the support for legacy TNL processing now.
ipe/p_util.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tex_layout.c
ipe/softpipe/sp_tex_layout.h
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_dump.h
ipe/tgsi/core/tgsi_exec.h
ipe/tgsi/core/tgsi_parse.h
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/core/tgsi_util.h
|
dc73217294efcba83c46183ed2f208250217486f |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix a few more problems with freeing FBOs/textures during context destruction. Free FBOs before textures since the later may be referenced by the former. Need to bind the context we're destroying if there isn't a current context so that ctx->DeleteTexture() etc can be used.
ain/context.c
ain/texobj.c
|
2f605fd457ccd8763ce5b0acc8d2906a59ea22bc |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
set renderbuffer Width/Height = texture size
tate_tracker/st_cb_fbo.c
|
4698483f849ba8dfde20a5d649f1ea099291f241 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added st_fb_orientation() function to determine the up/down orientation of the framebuffer.
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_readpixels.c
tate_tracker/st_context.h
|
cd308dfa794a1be5d933a4b89539d53929537f88 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
map stencil buffer too
ipe/softpipe/sp_context.c
|
612cfb749c3526eeb446bbc631bf24716522f373 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added assertion to check that texture width is non-zero
ipe/softpipe/sp_tex_sample.c
|
5e1bfe426f3e2bc7a13b3814f1fa732141f15a9a |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix up some render-to-texture code ... almost there
tate_tracker/st_cb_fbo.c
|
8571c4babf82b2fe78dba06458070eb4010cfc18 |
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added an assertion
tate_tracker/st_cb_clear.c
|
393a6255381f019586bd9acc49fbf2fd431e534e |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
free any render/framebuffers left in hash tables when freeing shared state
ain/context.c
|
b7a9222dc7492181588cedd62b94482fab8e9c95 |
13-Aug-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Make sure pitch is aligned properly for render-to-texture. Just always align texture pitch to multiples of 64 bytes for now, pending a more sophisticated scheme to do it only when really necessary.
rivers/dri/i915tex/intel_mipmap_tree.c
|
76818b67092579585d9fcb7df1a8c133e6c94a6c |
13-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Missing files
ipe/p_compiler.h
ipe/p_util.h
|
40a86b20478024ca7c55400019c536cb5ff631d1 |
13-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Start breaking the #include dependencies between pipe drivers and mesa. Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_blit.h
ipe/i915simple/i915_clear.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_fragprog.c
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_state_inlines.h
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_tex_layout.c
ipe/i915simple/i915_tex_layout.h
ipe/i915simple/i915_winsys.h
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_clear.h
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_tex_layout.c
|
d46779103b38aeab61701759ed7a0b30cc71c0ef |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
check if we have a zbuf before enabling depth_test stage
ipe/softpipe/sp_quad.c
|
8cc668a4a8d67af21af6883e18fe7423f28999f9 |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some issues with texture/mipmap_tree state tracking
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_context.h
|
c271078048770a31028836eda684a6dbffc13cf5 |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
with Y=0=top, front/back determination is negated
ipe/draw/draw_cull.c
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
|
faa14a9ded2ddb784302b4634f0ca40c51ec1c4b |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for ctx==NULL in st_renderbuffer_delete()
tate_tracker/st_cb_fbo.c
|
21b9b8b74ec0975296d22493254875c0deb7b6da |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fill in the get_tile() function so ReadPixels can work
ipe/i915simple/i915_surface.c
|
eb450bbb40bd9cccde74b1e2d660908e154f9cc0 |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
flush pipe before reading image
tate_tracker/st_cb_readpixels.c
|
9e01b915f1243a3f551cb795b7124bd1e52ca15f |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement mutex/locking around texture object reference counting. Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
ain/attrib.c
ain/context.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
6f4725088842fbc0069aeb51f41907b87e0a8f08 |
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added some missing Default1D/2DArray texture code
ain/context.c
|
88451b04e9cd39db9cc9315aaf69e074614f22f9 |
13-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix projtex_mask projtex_mask is only an 8bit field, and wm.input_size_masks includes other attributes' information, therefore right shift is needed.
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_fp.c
|
c9e4aa2b303f9056564724ece0e2733a54d9f569 |
13-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i915: satisfy certain alignment restrictions for small compressed texture
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_tex.c
|
21b37b9687b078297935062e3ad9f379b6f36519 |
12-Aug-2007 |
Dan Torop <dtorop934@gmail.com> |
fix spantmp2 READ_RGBA inline asm (#11931)
rivers/dri/common/spantmp2.h
|
0095be534d633848bc12d73ed9dcc1b9aa41f00a |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Change/fix surface allocation functions. Use xmesa_new_color_surface() for front/back renderbuffer surfaces. Use xmesa_surface_alloc() for everything else (textures, other renderbuffers)
rivers/x11/xm_buffer.c
rivers/x11/xm_softpipe.c
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
|
5d42fdb9b70a53938cd29d7ebeaa4b9cedd2e8e3 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
mt->pitch must be at least 16 because of 64-byte alignment in sp_region.c (fix that someday)
ipe/softpipe/sp_tex_layout.c
|
e209ca866dc1787b9eeece6ae3b53e1e47811d5f |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
do clipping in get_tile()
ipe/softpipe/sp_surface.c
|
498c9e9782186a572885ff9927114706c3d93a22 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added Bitmap() stub, call st_validate_state() in DrawPixels
tate_tracker/st_cb_drawpixels.c
|
24e21301e0cc16f0a3a81bfd7ac7ae8765174da8 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some temp pipe hacks
ain/queryobj.c
|
24864741c58f9e40450f1ea05f7fc50d06050441 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_cb_queryobj.c
ources
tate_tracker/st_context.c
|
01efb1dd8f5e14e8c034e0100f76472d89f811af |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Begin/EndQuery functions
tate_tracker/st_cb_queryobj.c
tate_tracker/st_cb_queryobj.h
|
bf383d1f5496f6c2ce318bbe1c02e7c7953a9153 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
repair breakage from recent pipe_winsys re-org
rivers/x11/xm_buffer.c
rivers/x11/xm_softpipe.c
rivers/x11/xm_surface.c
|
37fdc69a99a7692d337fb4efaea97df842490f21 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix invalid usage of buffer_unreference() Need to pass the address of the buffer ptr, not the buffer ptr. Before, the region->buffer type was void * so it wasn't effectively type-checked. Changing the type to pipe_buffer_object* allows the compiler to detect the error. Fixing this solves a segfault.
ipe/i915simple/i915_regions.c
ipe/softpipe/sp_region.c
|
83521ee66ad3f3cd3ec8212d6f746caecdc6c407 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
notes/asserts for get/put_tile()
ipe/i915simple/i915_surface.c
|
bec2230514ad2e8e52625ecb339fcadfabffd4df |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move pipe_buffer_handle definition to top of file, use it in pipe_region
ipe/p_state.h
|
0b13336540b887601d5d9c3106aeece848bf589f |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #include mtypes.h
ipe/p_winsys.h
|
91c2216165e87c7dee665808ac175b186c7c5c9b |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename intel_buffers.[ch] to intel_swapbuffers.[ch]
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_buffers.h
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_swapbuffers.c
rivers/dri/intel_winsys/intel_swapbuffers.h
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
8c4409690d30b5fc5c048b90351c14522119fa9c |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some build failures. Move intelScreenContext to intel_context.c
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_lock.c
rivers/dri/intel_winsys/intel_screen.c
|
a0e48b1ff9884ed66a156bd2d11b475ff177f166 |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Pull in improved debug from master
ipe/i915simple/i915_debug.c
|
6ea55d35254b7769c65f064170d8965c0bf34a27 |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Make it easier to compare against the pipe driver debug code.
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_debug_fp.c
|
c60113cd41ac84f8737005ca1d7a1114e3725ae5 |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Improve debugging further. Pull apart some key packets into individual fields and print sanely.
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_debug_fp.c
rivers/dri/i915tex/intel_batchbuffer.c
|
2eb839ce1dc9a7737925d69d7b628fc839fa752d |
11-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
make it easier to compare debug code with non-pipe version
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug_fp.c
|
4a789e408dbba7891f1436b2f42e7c0824e5ba7a |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Better debugging
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_debug.h
rivers/dri/i915tex/i915_debug_fp.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
|
eada74dc543348e03ef4eaf557c9b84afec7824a |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
add intel_lock.c to build
rivers/dri/intel_winsys/Makefile
|
37863c3c426da5069c3cba977634b6d9c2aa6714 |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove intel_ioctl.c
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_blit.c
rivers/dri/intel_winsys/intel_blit.h
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_buffers.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
4bc932ab292d505700e830520de7f9c9eb385086 |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
move batch ioctl to intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_ioctl.c
rivers/dri/intel_winsys/intel_ioctl.h
|
20995b74c9bc12a157f9ab13e70dd22ab39c8bbf |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove unused irq functions
rivers/dri/intel_winsys/intel_ioctl.c
rivers/dri/intel_winsys/intel_ioctl.h
|
acff996c447cf3502bf5f287d661d15b22325304 |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
move locking to new file
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_lock.c
|
ecea02fd705b8029b4ac79e638dc6af4a33bddcf |
11-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove intelGetString()
rivers/dri/intel_winsys/intel_context.c
|
39407fd85467141fceafbedf52d9e55e008eb011 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Move string functions to state_tracker, add queries to pipe, winsys.
rivers/dri/intel_winsys/intel_winsys_pipe.c
ipe/i915simple/Makefile
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_reg.h
ipe/i915simple/i915_strings.c
ipe/p_context.h
ipe/p_winsys.h
ipe/softpipe/sp_context.c
ources
tate_tracker/st_cb_strings.c
tate_tracker/st_cb_strings.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
1c8bcc733d695732ca704565b3a10ac5f4172ea3 |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Y invert, clean-up
tate_tracker/st_cb_clear.c
|
717831ea712c07e18f2c2e797c49754bf2500e5e |
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
invert Y for scissor
tate_tracker/st_atom_scissor.c
|
fb4ff8a2a8c0adbe1925d42eaaedfa52707c7ffb |
10-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
use winsys supported_formats() query
ipe/softpipe/sp_context.c
|
5b301132364dd78f5477cc2028bbde36f524fcf1 |
10-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
add missing printf
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
03a9994280c14e18be4bae14f4a9b667f8444d67 |
10-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
move dri_bo() to a header file
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
|
8fbd81b4ed59e371aa616b87296e4263d8992bff |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pipe->max_texture_size() query, use it in st_drawpixels()
ipe/i915simple/i915_context.c
ipe/p_context.h
ipe/softpipe/sp_context.c
tate_tracker/st_cb_drawpixels.c
|
47fc2c4349746997704a7f81dffadd22363e0ff1 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Lift common winsys functions into pipe's new p_winsys.
rivers/dri/i915tex/intel_render.c
rivers/dri/i915tex/intel_tris.c
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_pipe.h
rivers/dri/intel_winsys/intel_pipe_i915simple.c
rivers/dri/intel_winsys/intel_pipe_softpipe.c
rivers/dri/intel_winsys/intel_winsys.h
rivers/dri/intel_winsys/intel_winsys_i915.c
rivers/dri/intel_winsys/intel_winsys_pipe.c
rivers/dri/intel_winsys/intel_winsys_softpipe.c
ipe/i915simple/Makefile
ipe/i915simple/i915_buffer.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_winsys.h
ipe/p_context.h
ipe/p_winsys.h
ipe/softpipe/Makefile
ipe/softpipe/sp_buffer.c
ipe/softpipe/sp_buffer.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_flush.h
ipe/softpipe/sp_region.c
ipe/softpipe/sp_winsys.h
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_flush.h
|
12e3bb1a65bbff82dabc64110249c57a711501c1 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix image orientation
tate_tracker/st_cb_drawpixels.c
|
04ee3cecdf8ef39695bdc66120a4e3bbb9f40aca |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
readpixels handles any format/type/packing/transfer ops now
tate_tracker/st_cb_readpixels.c
|
bc4aa83794c6336358793c5f428973fb22184050 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
setup sampler state, computed wincoords with pixel zoom factors
tate_tracker/st_cb_drawpixels.c
|
6ccdd5bb15d03b7eadc0f1e3ddba8848de4f146e |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't hardcode cpp
tate_tracker/st_cb_drawpixels.c
|
ce02b16dac0891a570a3a42f26463ea5c68f1618 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_sizeof_format()
tate_tracker/st_format.c
tate_tracker/st_format.h
|
e51aa572934c39fe3c99470343f776be4e783f42 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
basic texture-based glDrawPixels path works
tate_tracker/st_cb_drawpixels.c
|
9cf9aa1ea2c3f40a09316975410a4b0e202e82ba |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
use st_mesa_format_to_pipe_format()
tate_tracker/st_cb_texture.c
|
24e510ea3796d3136c5eacf2c96a1dddded12aa2 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_mesa_format_to_pipe_format()
tate_tracker/st_format.c
tate_tracker/st_format.h
|
da9178c73088982b9f422187cf782ae5ab6b64ce |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
alignment/pitch/width clean-ups
ipe/i915simple/i915_regions.c
ipe/softpipe/sp_region.c
|
48f853f73f7bb46e8c977e551fd66a39e50935ee |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor clean-ups
tate_tracker/st_cb_bufferobjects.c
|
5c2c05600081f811e001a81a600778de0fcab85d |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Handle glFlush/glFinish through the state tracker.
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_pipe_i915simple.c
rivers/dri/intel_winsys/intel_pipe_softpipe.c
ipe/i915simple/i915_flush.c
ipe/i915simple/i915_winsys.h
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_flush.h
ipe/softpipe/sp_winsys.h
ources
tate_tracker/st_cb_flush.c
tate_tracker/st_cb_flush.h
tate_tracker/st_context.c
tate_tracker/st_context.h
|
9ac1a8d416c2bd50ca10186ca09f5e86f6fa4ce6 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
pipe->region_alloc() now takes width instead of pitch, plus a flags param
ipe/i915simple/i915_regions.c
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_region.c
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_mipmap_tree.c
|
519aacef031e3271e16693308ca462346a8a160c |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix asst glitches
tate_tracker/st_cb_drawpixels.c
|
80e8538a5d7f99b59f4577defdb7023e39dc5f69 |
10-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add SGT/LT/GE/LE/EQ/NE opcodes for ps/vs_2_x.
ipe/tgsi/core/tgsi_token.h
|
9cad4dde9745d2342e0694879a84e1a7006b9b0d |
10-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Support predicates. Predicates, as per D3D9 spec, are a complete subset of NVIDIA's condition codes. However, due to its broad support in non-NVIDIA hardware, it is being exposed in TGSI to ease hw driver development. Two decomposition functions are expected in the future. 1. GetRidOfPredicates() - predicates are implemented with condition codes. 2. There is no second function, it's just this pesky VI that does not allow me to move with arrow keys and so I cannot edit previous paragraphs.
ipe/tgsi/core/tgsi_token.h
|
900b0807b80dc79c99afbd063fa014d76c8e7692 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_cb_readpixels.c
ources
|
6f27aabe49f45d1c4915d4d5e12723774c6bbdeb |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
use st_cb_readpixels.c
tate_tracker/st_context.c
|
c943dab9a36ac1b48a3da570d44128caa67c9f51 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
glReadPixels
tate_tracker/st_cb_readpixels.c
tate_tracker/st_cb_readpixels.h
|
9879ca019b1ed99ca37e7b485ef4daae0fded066 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
add missing break stmt
ipe/softpipe/sp_surface.c
|
3738606a52b585108d709ce6be8565fc6144cbc7 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more render to texture work
tate_tracker/st_cb_fbo.c
|
137ec509946bba39940d3a7932bf196450cb951e |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
sketch out some render-to-texture code
tate_tracker/st_cb_fbo.c
|
6349bd3112116841326885550188224af87ec15c |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some temporary hacks
ain/renderbuffer.c
|
0aa8b1643b6b32860a38285e886d60c6f38fccf5 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pipe_surface_unreference()
ipe/p_context.h
|
3cc5b1645b6f04f546b8535ba46bb418b8199f49 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
include surface.offset in address calculations
ipe/softpipe/sp_surface.c
|
30e506eb04ec9d82dbb879f27547475a875d50d7 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Clean up / sanitize debugging
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_blit.c
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_ioctl.c
|
a27c0db260fb289ec7994a8c66b002443bc8a96b |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Missing files
ipe/i915simple/i915_tex_layout.c
ipe/i915simple/i915_tex_layout.h
|
c26d635e225c150af400be085754f4230524ea44 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead include line
rivers/dri/intel_winsys/intel_context.c
|
07fd9ad7bbd6de8d2beaa5202daecb7dac861899 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix merge issue
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_pipe_softpipe.c
|
fa6815f0566339eb0879842369d3aea25dc6233f |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Give softpipe a native texture layout of its own. Basically the same as the 945's for now.
ipe/softpipe/sp_tex_layout.c
|
938c307e4526298d2703818d5fa848a31b076905 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add printf handlers, pass pci id and move texlayout code to driver.
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_pipe_i915simple.c
rivers/dri/intel_winsys/intel_pipe_softpipe.c
rivers/dri/intel_winsys/intel_tex_layout.c
rivers/dri/intel_winsys/intel_tex_layout.h
ain/imports.c
ipe/i915simple/Makefile
ipe/i915simple/i915_context.c
|
c12b71ef93ed71a78473568025d2b4d8d8fd2003 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Pass pci_id to i915_create()
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_winsys.h
|
cb2d95ba68affe665619cc0ec7b74fd0aaae7fc2 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a printf method to winsys and use for all debugging.
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
ipe/i915simple/i915_state_fragprog.c
ipe/i915simple/i915_winsys.h
|
af25ca6e69cef93e19bfb118111ffbaedf354f03 |
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a printf method to winsys. Not currently used.
ipe/softpipe/sp_winsys.h
|
6e3c01578e8669ce4ede85d5c7b94b784d136625 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
obsolete files
rivers/dri/intel_winsys/intel_surface.c
rivers/dri/intel_winsys/intel_surface.h
|
0643ea07caf72663a4620f254a5b60344810ce7f |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
no longer need intel_surface.c
rivers/dri/intel_winsys/Makefile
|
8639a543193b65ef5b39da2cce843431bb77a618 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move intel_supported_formats() into intel_context.c
rivers/dri/intel_winsys/intel_context.c
|
12b0aa129e95920774a46583cf7e40236d380007 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
we can now just rely on softpipe for surface creation, quad_read/write, etc
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_surface.c
rivers/dri/intel_winsys/intel_surface.h
|
3654922b333faf07a0543b2b4d2b19a3d4e4f1fd |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
flesh out w/ more formats, y=0=top convention
ipe/softpipe/sp_surface.c
|
db928291dcbda2a820dbb1668c43d2fb4266be7c |
10-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: roland's DXTn format texture patch(bug10347)
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_wm_surface_state.c
|
8ea66fa2ec9eeb6a7e869ff08d713f5e77d795e0 |
10-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965/i915tex: applying right alignment to compressed texture, which make small textures(4x4,2x2,1x1) work well.
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
c7dd9bf870c7d3002524abab58981f89b8f434a8 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
return (softpipe) in GL_RENDERER string - temporarily
rivers/x11/xm_dd.c
|
f8ab24760d0d3f07e9ee81c98207ddf92dfe74da |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename st_cb_teximage.h st_format.h
ources
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_texture.c
tate_tracker/st_format.c
|
1463c00d4e436b1904011001cea288d03be8226f |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename (file contains surface format-related functions)
tate_tracker/st_cb_teximage.c
tate_tracker/st_cb_teximage.h
tate_tracker/st_format.c
tate_tracker/st_format.h
|
a25dd4d407a9ed797d4b9841c62f33efdfa07847 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
code movement
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_teximage.c
tate_tracker/st_cb_teximage.h
tate_tracker/st_cb_texture.c
|
d2bfdae860022b2cef2fff2de25440ba0e8f1d2b |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
invert Y axis
rivers/x11/xm_surface.c
|
2cafd749b8e4fa44863c176389f7201c7f74eca9 |
10-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: set mt->cpp differently with compressed texture
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_tex_validate.c
|
3a9eca5cc0a3a0c7f6198b37f61cc0d0ad45da1d |
09-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
asst changes to get softpipe rendering again (no zbuf support for now)
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
|
6883930f61c67924789f2c7cbc274627407cc784 |
09-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
init strb->Base.DataType appropriately, clean-ups
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
2f4f703af1f1d99f84adc9d8db30f3725eacd77f |
09-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
export softpipe_init_surface_funcs()
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
|
ac36cdbcc1ce4d78df50150117b11861c6ea672b |
09-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added null ptr checks
ipe/softpipe/sp_context.c
|
78b1a29a0da8d1877408421df5012d37084a96de |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Split texfilter enums to match common hardware usage.
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_tex_sample.c
tate_tracker/st_atom_sampler.c
|
00677fb67c44a671f866cbd351fc6f183bcd83bb |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
silence warning
tate_tracker/st_cb_program.c
|
1ac106eefd148fa47a1a77f652089bfe5ed92824 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
silence warning
rivers/dri/intel_winsys/intel_screen.c
|
c19a95510f89401125ac3641725749c957f35d96 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more work toward texture-based glDrawPixels
tate_tracker/st_cb_drawpixels.c
|
be57c1aac46e6af2f1dd8ce1f10334d034ac7464 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
tate_tracker/st_cb_clear.c
|
3d31252d44fb5983a089b9f3488745757772adea |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move viewport Y inversion to state tracker
ipe/i915simple/i915_state.c
tate_tracker/st_atom_viewport.c
|
7c9a1357beabd6d0df88142d31cd5d77a012e85a |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add more i915 state packets. These correspond to the dynamic indirect state, though they are currently just pushed straight to the batch buffer.
ipe/i915simple/Makefile
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_dynamic.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_immediate.c
|
b3efc75f1a3496cbd0b93b5eff497a92fa31dc3b |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused file
ipe/i915simple/i915_regions.h
|
f1637e89ded7312a97dc0a8fdac74886d70766c0 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
invert Y axis with the viewport transformation to put things right side up
ipe/i915simple/i915_state.c
|
584c0762010a467e391d7dcdb48aae4d7809f6b5 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
vertex colors are ARGB
ipe/i915simple/i915_prim_emit.c
|
debb4884e3bdf1e632ff79e728a59c1920cc2d15 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Missing files
ipe/i915simple/i915_state_immediate.c
ipe/i915simple/i915_state_inlines.h
|
e23966f3de81342f7bd11f1e79c04022b5f0193f |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Some basic state - blend and ztest sort of work.
ipe/i915simple/Makefile
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
|
3bf25e5516c3c2688d5e1b3b1e120c970b8076c2 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove references to fallbacks from this directory
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
|
df338be6d7c26fdef184d97fee726d32cb1c04a1 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, assertions, etc
rivers/dri/intel_winsys/intel_surface.c
|
ef5d99e08386b19bb7e693ebd4970fe2412783de |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
rivers/dri/intel_winsys/intel_read_draw_buffer.c
|
e24c696ca8035bc867899ee6f8ab39f5f276ac82 |
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
dead code removal
rivers/dri/intel_winsys/intel_context.c
|
94fda5695e3e05d93dfa20e8d193c2a784c2ae65 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Emit drawrect command as we no longer ask the kernel to do this.
ipe/i915simple/i915_state_emit.c
|
bb142746bdf2c08a924471c53c660b1dea60cd8b |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused blit functions.
rivers/dri/intel_winsys/intel_blit.c
|
277e4989f348913e3852f3d8c4efb82ba1380fcb |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't reemit hardware state *every* primitive.
ipe/i915simple/i915_context.h
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
|
fb8caffea8ac9a8f8e2ee63959264abe8eb36c59 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
fix merge conflicts
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
|
0c4c86cf2ce65d1284819dd14c649ac4c33cae33 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
don't use intel_read_draw_buffer.c anymore
rivers/dri/intel_winsys/Makefile
|
3c07bbb1982da5629685f569285529f02b35e48c |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
assertions
tate_tracker/st_cb_fbo.c
|
807ecbd344853288f4cadff95445d5677b28c93c |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
*numFormats = 3
ipe/i915simple/i915_context.c
|
3e930c3f1fe1deebd0cb976070155f5c55d55b6f |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
minor clean-ups
rivers/dri/intel_winsys/intel_screen.c
|
a4517215ca98066c70155432ebfc578e6412d6de |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove intel_depthstencil.c and intel_fbo.c
rivers/dri/intel_winsys/Makefile
|
a47c387793bf99ad533a36082c262aadab7e322a |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
Obsolete files
rivers/dri/intel_winsys/intel_depthstencil.c
rivers/dri/intel_winsys/intel_depthstencil.h
rivers/dri/intel_winsys/intel_fbo.c
rivers/dri/intel_winsys/intel_fbo.h
|
3a035d0d23d2ee7edd48be144c6619d56fbd5469 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
don't include intel_depthstencil.h
rivers/dri/intel_winsys/intel_buffers.c
|
74b5cb0e6fd0cdb6306fa7dd32e5be1aa4e3fb69 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove some includes
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_surface.c
rivers/dri/intel_winsys/intel_surface.h
|
f5713c7d2e7ba8e1170fd9b1dd95379662ab6117 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
Checkpoint intel_renderbuffer removal. Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
rivers/dri/intel_winsys/intel_blit.c
ain/mtypes.h
ain/renderbuffer.c
ipe/p_state.h
tate_tracker/st_atom_framebuffer.c
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
36fc648ddd937962e659d6215ed6cfb864fb9f05 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove dead code, remove intel_fbo.h includes
rivers/dri/intel_winsys/intel_blit.c
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_buffers.h
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_fbo.h
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_surface.c
|
01ee12cc5faa447d5542d00970e8bc3867bd5c60 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
surface-related prototypes
rivers/dri/intel_winsys/intel_surface.h
|
64da7515009f3551796c90acc74eb0a2ffdb68a0 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: no longer using intel_fbo.c
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_fbo.h
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_surface.c
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_context.c
|
b6e4efb451061a4e124f6bf575e528cbbff551c2 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove color_rb[] and lots of dead code
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_fbo.c
rivers/dri/intel_winsys/intel_fbo.h
rivers/dri/intel_winsys/intel_screen.c
|
0481f22fdbed715dea9e36dad871606d5fd285bb |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
disable intel_get_rb_region()
rivers/dri/intel_winsys/intel_fbo.c
|
334d3650a95786a7f4e8212eb84fe9cf70206d8f |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: more intel_renderbuffer removal
rivers/dri/intel_winsys/intel_blit.c
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_fbo.c
|
d177a00e5bcf6bffb3fc0810b720d8534995c752 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: intel_renderbuffer removal (intel_renderbuffer now == gl_renderbuffer
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_fbo.c
rivers/dri/intel_winsys/intel_fbo.h
|
4ab52c412d738bd26164236e69935c2f82035b1f |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: intel_renderbuffer removal (move vbl_pending field into intel_framebuffer
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_fbo.h
|
3614a9a8ae2badceca40f626c4a80f386c5d0177 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: intel_renderbuffer removal
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_fbo.c
rivers/dri/intel_winsys/intel_fbo.h
rivers/dri/intel_winsys/intel_screen.c
|
ba75e41e41f70d8a4ab01399fe2cd0ab15f09b39 |
09-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Update opcode list.
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_token.h
|
81e595dfe2b9e2d7a27d49da365907bcea850f14 |
09-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Further opcode list reorg. Add TXP opcode. Alias SGN to SSG. Alias EXPP to EXP.
ipe/tgsi/core/tgsi_token.h
|
5279b267688ecf0eb8a9b9873d80aa399538303e |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Quieten TGSI
tate_tracker/st_atom_fs.c
|
17dde8dbb131a07f4a1109615fa80b60a7857a60 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Quieten TGSI
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
4e517f9b0aed27b49c6050a3d7c279efc625f352 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Supporting batchbuffer changes for 1st hwpipe triangles...
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_pipe_i915simple.c
|
13eaf04b56218506bb7967df9aa37b692c44338f |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unreferenced file.
rivers/dri/intel_winsys/intel_tex.h
|
93b6e8aeac8ee410ee49cecd28a785efe5c2b1e3 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Tweaks to state emit, acheives first hw triangles from a pipe driver.
ipe/i915simple/Makefile
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_fragprog.c
|
c046174eb047c95e25f31390019f04f310ae2b8e |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Pull in debug code for human-readable batchbuffer dumps.
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_debug_fp.c
|
9526f7445e9acea8553769bf8f86e3c95655cca1 |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
The pipe version of these files. Can probably relocate to pipe/i915simple.
rivers/dri/intel_winsys/intel_tex_layout.c
rivers/dri/intel_winsys/intel_tex_layout.h
|
dc2c20b6250915548c7fbfd369fdc890bae2b98c |
09-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Put back the old versions of intel_tex_layout.* in this shared directory. Unbreak the original i915, i915tex drivers. We will have our own version of this functionality in the pipe driver and not attempt to share with the older code.
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
b0e57f789c2ae266fc51874c480d033309075468 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Hook up pipe flush functionality
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_context.c
|
93d5cfd8b7c641c5656aed38ad2f9559e09502f0 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add flush/finish functionality to pipe. Not sure if finish() is the right interface yet.
ipe/i915simple/Makefile
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_flush.c
ipe/p_context.h
ipe/p_defines.h
ipe/softpipe/Makefile
ipe/softpipe/sp_buffer.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_flush.c
ipe/softpipe/sp_flush.h
|
d0521ebd516617f4471279e69af5dc0f4e4992af |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Split swapbuffers and read/draw buffers functionality into two files.
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_read_draw_buffer.c
|
64f4268e85db54bae213d758b7ede676550d8185 |
09-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Declare missing opcode aliases. Declare SGN opcode.
ipe/tgsi/core/tgsi_token.h
|
48c37a29fa527aabcec76731de0bee508869e835 |
09-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix byte swap bug for GLint stencil indexes (bug 11909)
ain/image.c
|
562fdca12de5bbba491fafc7a26d86b23b5f7c93 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
update lod bias, limits
tate_tracker/st_atom_sampler.c
|
5671bba1cb103c00b44905dfa015c3338cb4af56 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
clean-up
ipe/softpipe/sp_tex_sample.c
|
8140642f5335eba5a524a7782fa40e6d095b5ada |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
use surface offset value in get_tile()
ipe/softpipe/sp_surface.c
|
09a1b912605ff48c8782dcc5aae55ac77e27037b |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
initial lod/mipmap texture supported
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_tex_sample.c
ipe/tgsi/core/tgsi_exec.h
|
7faa3542f062dfa32e1596f5ce2b531cb8b4eeef |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
setup frag shader state: color pass-through program
tate_tracker/st_cb_clear.c
|
ed227b7b8ddc3aad6ed764124e94caae6b98d182 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
added assertion
ipe/softpipe/sp_surface.c
|
6dc212ce49bd2939e905ea0bb8f2fa162cd67df6 |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
print_vertex func for debugging
ipe/softpipe/sp_prim_setup.c
|
31132546891e0fd0f0fc889506fb5e46c0075c4c |
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
new assertions
rivers/dri/intel_winsys/intel_surface.c
|
960bf97c9f9cd98c0a26f26a2fa23960ae96aa6e |
08-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add D3D9 opcodes up to ps_2_x and vs_2_x.
ipe/tgsi/core/tgsi_token.h
|
6a78221a10d1c97f84e4c47e10b721aa4777d761 |
08-Aug-2007 |
Carlos Martín Nieto <carlos@cmartin.tk> |
nouveau: Missing notifier -> notifierobj migration I missed this in the original migration.
rivers/dri/nouveau/nouveau_context.h
|
65f7b3834b62f3ab7e83a9f290cc6a66cda60c05 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't use hardware driver by default, until its working a bit better.
rivers/dri/intel_winsys/intel_context.c
|
715acc7622255f7cc99d632c57aac14af4bac89a |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
The i915simple driver now runs well enough to lock up hardware.
rivers/dri/intel_winsys/intel_pipe_i915simple.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_emit.c
|
cf3fb4e3ef16ec1ab08fdbe418afe15c48df73fc |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Call init_state_funcs
ipe/i915simple/i915_context.c
|
7bf2e9e38329a332281011520413de720906447c |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo so that i915simple actually gets used.
rivers/dri/intel_winsys/intel_context.c
|
c28d2e6702f8ea165309b999388b9e34253ceb29 |
08-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove unused file
ipe/i915simple/i915_state_vertex.c
|
db068269fcba8febf92be9d6cd54a9315e6bbf04 |
08-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
remove unused file
ipe/i915simple/i915_state_draw.c
|
7f74538173b78281b69f8b18a975e64d2c934245 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused code, definitions.
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_pipe_softpipe.c
rivers/dri/intel_winsys/intel_reg.h
|
267cf16e066f548a33c7b5f7c73deb59039d9b3d |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
very simple texture cache implementation
ipe/softpipe/sp_tex_sample.c
ipe/tgsi/core/tgsi_exec.h
|
c8cc1e86f68a54198e3136dcd198a252f6d7e8f2 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
fix qs->next tests
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
|
e4eb97318cbce238c5aaaf11af42c33229274859 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
add quad_stage::begin() funcs
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_occlusion.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_quad_stipple.c
|
f00179f9b47e17087d546940e1d57ffb2e2a8e42 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers).
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_fs.c
|
8daa738cf95a771d2217fe3dd9de9334143348e0 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove more dead files.
rivers/dri/intel_winsys/intel_mipmap_tree.c
rivers/dri/intel_winsys/intel_mipmap_tree.h
|
173e2c6a678ff35cde8057caf15aa8a0056dfdf8 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead files.
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_tex.c
rivers/dri/intel_winsys/intel_tex_copy.c
rivers/dri/intel_winsys/intel_tex_format.c
rivers/dri/intel_winsys/intel_tex_image.c
rivers/dri/intel_winsys/intel_tex_subimage.c
rivers/dri/intel_winsys/intel_tex_validate.c
|
ef8b68a8a84eeac238fffa98f729d4809b6e2de4 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Pull in i915simple.a
rivers/dri/intel_winsys/Makefile
|
dbb297fac6a9637cc7ee7ab2cf40f196048ba626 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Hook up i915simple. Doesn't compile.
akefile
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_pipe.h
rivers/dri/intel_winsys/intel_pipe_i915simple.c
rivers/dri/intel_winsys/intel_pipe_softpipe.c
rivers/dri/intel_winsys/intel_softpipe.c
ipe/Makefile
ipe/i915simple/i915_buffer.c
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_winsys.h
|
7e78b9e4d0117d7438fa1a07dff2bc261a9100d9 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
rewrite texture sampling code (smaller, simpler)
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
|
e12810d92ffb3547680b227bf88937c03018112b |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
add lambda param to get_sample()
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
|
34a48abd5ff82ce9748fc29191e35a0985d47c5f |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
sketch out 1D/3D/cube texture sampling
ipe/softpipe/sp_tex_sample.c
|
eb147ed775bedec9d849cdc817f208b5fe5eade3 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
added PIPE_TEX_FACE_*
ipe/p_defines.h
|
40bc47f5780333e75c35a16bfec1f9670b2a646a |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
replace draw_offset w/ 0 for now
ipe/i915simple/i915_state_emit.c
|
7523f490b0166b00e24429c33f8958c3be72ccb5 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
define i915_surface struct
ipe/i915simple/i915_surface.c
|
8a475cb791a0e66fcdc3fcd12c517fcb98d75957 |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename drivers/dri/i915pipe --> drivers/dri/intel_winsys. This is appropriate as this is not a "pipe driver for the i915" as the old name would suggest, but rather a dri driver that can provide "winsys" backends to softpipe/i915/i965/etc pipe drivers, running under the intel DDX, drm, etc. It also frees up the i915pipe name for something more appropriate, ie mesa/pipe/i915pipe.
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_batchbuffer.c
rivers/dri/i915pipe/intel_batchbuffer.h
rivers/dri/i915pipe/intel_batchpool.c
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_blit.h
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_buffers.h
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_depthstencil.c
rivers/dri/i915pipe/intel_depthstencil.h
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_fbo.h
rivers/dri/i915pipe/intel_ioctl.c
rivers/dri/i915pipe/intel_ioctl.h
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/i915pipe/intel_reg.h
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_screen.h
rivers/dri/i915pipe/intel_softpipe.c
rivers/dri/i915pipe/intel_surface.c
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex.h
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_format.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_layout.c
rivers/dri/i915pipe/intel_tex_subimage.c
rivers/dri/i915pipe/intel_tex_validate.c
rivers/dri/i915pipe/server/i830_common.h
rivers/dri/i915pipe/server/i830_dri.h
rivers/dri/i915pipe/server/intel.h
rivers/dri/i915pipe/server/intel_dri.c
rivers/dri/intel_winsys/Makefile
rivers/dri/intel_winsys/intel_batchbuffer.c
rivers/dri/intel_winsys/intel_batchbuffer.h
rivers/dri/intel_winsys/intel_batchpool.c
rivers/dri/intel_winsys/intel_blit.c
rivers/dri/intel_winsys/intel_blit.h
rivers/dri/intel_winsys/intel_buffers.c
rivers/dri/intel_winsys/intel_buffers.h
rivers/dri/intel_winsys/intel_context.c
rivers/dri/intel_winsys/intel_context.h
rivers/dri/intel_winsys/intel_depthstencil.c
rivers/dri/intel_winsys/intel_depthstencil.h
rivers/dri/intel_winsys/intel_fbo.c
rivers/dri/intel_winsys/intel_fbo.h
rivers/dri/intel_winsys/intel_ioctl.c
rivers/dri/intel_winsys/intel_ioctl.h
rivers/dri/intel_winsys/intel_mipmap_tree.c
rivers/dri/intel_winsys/intel_mipmap_tree.h
rivers/dri/intel_winsys/intel_reg.h
rivers/dri/intel_winsys/intel_screen.c
rivers/dri/intel_winsys/intel_screen.h
rivers/dri/intel_winsys/intel_softpipe.c
rivers/dri/intel_winsys/intel_surface.c
rivers/dri/intel_winsys/intel_tex.c
rivers/dri/intel_winsys/intel_tex.h
rivers/dri/intel_winsys/intel_tex_copy.c
rivers/dri/intel_winsys/intel_tex_format.c
rivers/dri/intel_winsys/intel_tex_image.c
rivers/dri/intel_winsys/intel_tex_layout.c
rivers/dri/intel_winsys/intel_tex_subimage.c
rivers/dri/intel_winsys/intel_tex_validate.c
rivers/dri/intel_winsys/server/i830_common.h
rivers/dri/intel_winsys/server/i830_dri.h
rivers/dri/intel_winsys/server/intel.h
rivers/dri/intel_winsys/server/intel_dri.c
|
f62b573922dd5274c01250fa941f9b1a151e6c45 |
08-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more get_tile() work
ipe/softpipe/sp_surface.c
|
08f33a025100dea2d951e6d628891fe294b18082 |
08-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fully support all texcoord wrap modes
ipe/softpipe/sp_tex_sample.c
|
01c35b52a1fccbe4253a96b9c0506ef6c991e44f |
08-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Checkpoint of a super-simplified i915 driver in the pipe model. Doesn't yet compile, but when it does, it will only draw gouraud tris and even those will be as simple as possible. Needs some 'winsys' support also before that can happen.
ipe/i915simple/Makefile
ipe/i915simple/i915_batch.h
ipe/i915simple/i915_blit.c
ipe/i915simple/i915_blit.h
ipe/i915simple/i915_buffer.c
ipe/i915simple/i915_clear.c
ipe/i915simple/i915_context.c
ipe/i915simple/i915_context.h
ipe/i915simple/i915_debug.c
ipe/i915simple/i915_debug.h
ipe/i915simple/i915_prim_emit.c
ipe/i915simple/i915_reg.h
ipe/i915simple/i915_regions.c
ipe/i915simple/i915_regions.h
ipe/i915simple/i915_state.c
ipe/i915simple/i915_state.h
ipe/i915simple/i915_state_derived.c
ipe/i915simple/i915_state_draw.c
ipe/i915simple/i915_state_emit.c
ipe/i915simple/i915_state_fragprog.c
ipe/i915simple/i915_state_vertex.c
ipe/i915simple/i915_surface.c
ipe/i915simple/i915_winsys.h
|
ddd30d8160dc7db5f24a5ac823fd1c64c43b50be |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
clean up tgsi_sampler-related bits
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
|
e4b5265487c3d912ea84511064681e02f3e2a5ba |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
use new tex filtering code
ipe/softpipe/Makefile
ipe/softpipe/sp_quad_fs.c
|
0dc4eea64f56cc93e5359372b08b99a2d600273c |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
initial texture filtering code
ipe/softpipe/sp_tex_sample.c
ipe/softpipe/sp_tex_sample.h
|
283ed438b6357f6152d7ee002380e049724ffed4 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
include p_state.h
ipe/softpipe/sp_surface.h
|
85675db0fc7fcc9151f47ab7a5ca8643569d2d1d |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
added a get_tile() func
ipe/softpipe/sp_surface.c
|
11c557d3cab41e15a5b03715feffc7f920e4b661 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
map/unmap textures
ipe/softpipe/sp_context.c
|
204d35c0efa2e1e96cc318185acfe01c4a8edfbb |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove dst!=src assertion
ipe/softpipe/sp_region.c
|
b4784862b4d03727d1d50408837961c776c53481 |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
debug info
tate_tracker/st_atom_texture.c
|
b245840b86cf877c9b8d666edf229364a84f1dea |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
set mt->format
tate_tracker/st_cb_texture.c
|
6cdff693a7feb51492451f4a04f3736842d2268b |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
added pipe_mipmap_tree::format
ipe/p_state.h
|
14b98343309fdcff3514f05020303f7b40e83a4a |
08-Aug-2007 |
Brian <brian@i915.localnet.net> |
s/intel/st/
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
|
3973d1ad3353cd66c69e5170908a9e9ae03477fb |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move free() after dereference (bug 11878)
rivers/dri/i810/i810screen.c
|
90cc31f31bbc9039fcd9acab7d6e72f2c9a186bb |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix potential NULL dereference (bug 11879)
rivers/dri/unichrome/via_context.c
|
237b985356b4d791ee2f184a201de9704614b9b1 |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix potential NULL dereference (bug 11880)
hader/shader_api.c
|
872d1791414cd39df03f35330c1e7e9d88f229b3 |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix swizzle error test (bug 11881)
hader/atifragshader.c
|
4a470f63c9c3f5aeef1e10ae42eee24c772f74fc |
07-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Naive implementation of IF/ELSE/ENDIF. Handle TGSI labels correctly. Enhance MESA opcode info queries.
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
ipe/tgsi/mesa/mesa_to_tgsi.c
hader/prog_instruction.c
hader/prog_instruction.h
hader/shader_api.c
|
adf5560ea5f6955425939df7e75ce9d11ea36511 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint new tgsi_sampler_state struct
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
|
ab80be0df126066c441cef5e2042b77fa6e0bdde |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove pipe_surface_sampler
ipe/p_state.h
|
d805d46a5fe1d163b299ea5934308e9264a57a29 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
added st_atom_texture.c
ources
|
d78dab126724e6e9d475289a086fb6f85adc3985 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
plug in texture/sampler state update
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_sampler.c
tate_tracker/st_atom_texture.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
|
28d64d398bb3e04d20a9c03c9a0b92c0a7b9d6d4 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
texture image state handling
tate_tracker/st_atom_texture.c
|
b23f358cbc36a2b6a9e7609290a7458fa48f7ccb |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
sketch out new pipe surface/sampler types
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/intel/intel_tex_layout.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
|
281dad225947b4f00bfc5e785d92d2a7c2f06afe |
07-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Handle labels for IF/ELSE correctly
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
f141399031981d6af19a32025ae7c1b947196480 |
07-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Enable compact TGSI dump.
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
c7e6a2eb83bbf86aa6d558aeb3f58cbc76a3983f |
07-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Dump tokens in more compact form.
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_dump.h
|
cec49ee954287b7f34664ea9e8137c674c26dcf1 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
ources
|
c61927a0cbbedc2fd77c151ef81a3600c2e64d53 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
don't include non-existant intel_buffer_objects.h
rivers/dri/i915pipe/intel_context.c
|
90ee7a41443a971d6ff2e0a6e90997806c28d11b |
07-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Gutsy oopses on touch of existing file. Workaround.
rivers/beos/Makefile
rivers/dri/Makefile.template
rivers/dri/glcore/Makefile
|
87a8f5643dc228b0e98e15dd42db20d54bc65a62 |
07-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove old intel_buffer_objects code - there is a state_tracker version now.
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_buffer_objects.c
rivers/dri/i915pipe/intel_buffer_objects.h
rivers/dri/i915pipe/intel_context.c
|
285c7d593170506409ef78adb40f3bb849c93e5d |
07-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Labels are always label targets. Translate label for GLSL IF, ELSE.
ipe/tgsi/core/tgsi_build.c
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
958a1ad4200521f4fefa87196ee56be0f0c61613 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
prototypes
rivers/dri/intel/intel_tex_layout.h
|
e43bc8da7a03462f1f3027fa308f7577fdb10156 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
get rid of temp write_mono_row_ub() function
rivers/x11/xm_surface.c
ipe/softpipe/sp_surface.h
|
0ed3ff5011442facdaccdb84518d7712833f9dab |
07-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix even-sized point positioning (bug 11874)
wrast/s_points.c
|
d05b72154319041dad38f24696638396753e0da3 |
07-Aug-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix vbo_split_copy related bug 9962
bo/vbo_split_copy.c
|
75a88e908242c555b3916bbf61d371e83e6a6dd0 |
07-Aug-2007 |
Carlos Martín Nieto <carlos@cmartin.tk> |
nouveau: update to DRM API patchlevel 10 Finally let DRI build for nouveau.
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
647afc3179b6c2b3f35a9c4d388f7e0289a86404 |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
call st_init_driver_functions(), make intelInitDriverFunctions() static
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
|
34ff87e46af23919cf53e9a4cf551fa154535f0b |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
call st_init_driver_functions()
rivers/x11/xm_api.c
|
4a60b94701a54a7110766a184b048106f8fe4628 |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added softpipe_mipmap_tree_layout
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
|
07633371ff4987d3149e78a1f0791da720af4e60 |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
need a softpipe func for texture layout
ipe/softpipe/sp_tex_layout.c
ipe/softpipe/sp_tex_layout.h
|
6da9234fd437f97267e7831f034c78b31156d939 |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
New st_init_*_functions() to initialize the driver functions table. We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects.
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_clear.h
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
tate_tracker/st_cb_program.c
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
8ebf91d15eeb6f19d19580f6319477aaad4df3fd |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
new header
tate_tracker/st_cb_program.h
|
a2e3def40c0750db158e2cc0e1e90bfb30bd5a5c |
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix asst. warnings
tate_tracker/st_mipmap_tree.c
|
3f26f6167874ba59a132cc12d77a2548c8d1d309 |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add GLSL opcodes.
ipe/tgsi/core/tgsi_dump.c
|
2cd6291c624625368050d7c6104e11f01c605ebb |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add GLSL ops.
ipe/tgsi/core/tgsi_exec.c
|
76478a470660becaceb09c7217b8c73601b1e92a |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Make SGE, SGT, SLE working.
ipe/tgsi/core/tgsi_exec.c
|
10fd2742c698d8f4a43b3a7b9506e8d95bf56f4f |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Remove garbage text.
ipe/tgsi/core/tgsi_token.h
|
555ff452602fc572420b590eac690d2e3849ca3c |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Use fp_attr_to_slot[].
ipe/softpipe/sp_quad_fs.c
|
1d45082f6e8fb2416fd37f6f1fa48fc21576cd1d |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Reorder opcodes.
ipe/tgsi/core/tgsi_token.h
|
2f35238394f366156e0ba413df5b757ad89e3c8d |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Translate the remaining ops.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
073d25eca0161e140115979e00649056527783b8 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
8929c90a7173262fa74f1efcdc639a644da514c6 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
added xm_softpipe.c
ources
|
b1ad6289f83ce5c91da2ebc64d07506c25efa7e2 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
use new xmesa_create_softpipe()
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
a96d20eac81964cae98202c18e8368f04ec213d3 |
07-Aug-2007 |
Brian <brian@i915.localnet.net> |
softpipe/winsys interface
rivers/x11/xm_softpipe.c
|
f79b90bc1962c6c40f806540c0bd1f867a9b80c7 |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Translate MESA GLSL opcodes to TGSI opcodes.
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/mesa/mesa_to_tgsi.c
|
f2034954a7ba360e742a325fe7eb4c2d7c9f9ea5 |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add path for GL includes in mesa tree.
ipe/Makefile.template
|
ddece00faaf293602b3e0e1b28066b1bb9b91bb1 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
added st_cb_texture.c
ources
|
9ee61c97003ed78579d1238f552a3d815738c211 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
clean-ups
rivers/dri/intel/intel_tex_layout.c
|
1cc774f8da4ce9d7defb5419b07e1bdb8b8275a1 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
switch to new texture functions in state tracker
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_tex_subimage.c
|
4435baef18ccd86ebb9797bf271b6b7182cc777e |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
use new texture funcs
tate_tracker/st_context.c
|
0790d9a074ee3c161d5e4395093d62f4d573f39b |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
clean-ups
tate_tracker/st_mipmap_tree.c
tate_tracker/st_mipmap_tree.h
|
24df8f895fe8807aa2ba058e71bd40adfc01d21e |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
new texture functions
tate_tracker/st_cb_texture.c
tate_tracker/st_cb_texture.h
|
3e147fe8e73519074de5ba6f5bc8eaea7c788968 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
comments
ipe/p_state.h
|
fe52cce0e8e72fcf4c11c226246ea7c24015fef6 |
06-Aug-2007 |
michal <michal@michal-laptop.(none)> |
Add GLSL opcodes.
ipe/tgsi/core/tgsi_token.h
|
2dd4506de35fbf41b656fbdda65fe7f8585158cd |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
disable/remove intel dependencies
rivers/dri/i915pipe/intel_tex_copy.c
|
d49cee1a748c513325249a4cbaa982a60897fa77 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
more intel_context removal
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex_subimage.c
|
f42feca07569213e24a09f640311b93937d0bd9e |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
disable some PBO code, remove intel dependencies
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex_image.c
|
e3ad58975be8599ef557988ffd18ca0236dd58ec |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove timing code
rivers/dri/i915pipe/intel_tex.c
|
b9f4b0ce4e4465f149b64a0188e304f73dfa6e94 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
Replace intel_texture_object with st_texture_object, intel_texture_image with st_texture_image
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex.h
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_subimage.c
rivers/dri/i915pipe/intel_tex_validate.c
|
bc3b608317fcda659e7d910b4fab06426ae5f334 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
minor renaming
tate_tracker/st_mipmap_tree.c
tate_tracker/st_mipmap_tree.h
|
307fe0702edb8fb79bc8f7f8830af440f2779a10 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
Lift intel_mipmap_tree.c to st_mipmap_tree.c
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_subimage.c
rivers/dri/i915pipe/intel_tex_validate.c
rivers/dri/intel/intel_tex_layout.c
ources
tate_tracker/st_mipmap_tree.c
tate_tracker/st_mipmap_tree.h
|
bdd3ccf95982e4043f2b57b42fd5d63ff8de4b08 |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
More code movement, removal of intel dependencies
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
24ddf1169dc2dc2438934957b0fd858042cef9cb |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove more intel dependencies
rivers/dri/i915pipe/intel_tex.h
rivers/dri/i915pipe/intel_tex_validate.c
|
681f04f6d3d4f5a01a9fa0886bc6caecf4657aef |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove intel dependencies from intel_mipmap_tree.c
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_subimage.c
rivers/dri/i915pipe/intel_tex_validate.c
|
e6c8691b1a3b8bd44206b9aaa8d75c7c5ea819ed |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
checkpoint: move some texture layout code
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
|
d9605cdf7cbbd3c81c506d01eb8e88a11ccfc09b |
06-Aug-2007 |
Brian <brian@i915.localnet.net> |
Checkpoint lifting of intel_mipmap_tree (intel_mipmap_tree -> pipe_mipmap_tree and move some code)
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/i915pipe/intel_tex.h
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_validate.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
ipe/p_context.h
ipe/p_state.h
|
95794abec4bdc5cda9f2e7d139a70c3acf372fe3 |
06-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add pipe buffer managment functions. The state_tracker driver needs these to implement, eg. pixel buffer objects, vertex buffer objects.
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_softpipe.c
rivers/dri/i915pipe/intel_surface.c
rivers/dri/i915pipe/intel_tex_image.c
ipe/Makefile.template
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/sp_buffer.c
ipe/softpipe/sp_buffer.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_winsys.h
ources
tate_tracker/st_cb_bufferobjects.c
tate_tracker/st_cb_bufferobjects.h
|
1d1b9e6be45e75ad12a01c82e3c0d55ff9da4183 |
05-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a new interface between softpipe and the window system / buffer manager. This interface is defined by softpipe and any window system (eg i915pipe) wishing to use softpipe is required to implement the interface. Currently the interface is all about buffer management. Generalizing, each pipe driver will advertise an interface in a similar spirit to this, and again any window system driver wishing to use that rendering pipeline will have to implement the interface it defines. It clearly isn't a one-way street however, as softpipe could just do its own buffer management with malloc. The interaction with a buffer manager is desired to allow us to exercise the hardware swapbuffers functionality of the i915pipe driver, and also to get a feel for the way hardware drivers which really need a buffer manager will work.
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_regions.c
rivers/dri/i915pipe/intel_regions.h
rivers/dri/i915pipe/intel_softpipe.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_region.c
ipe/softpipe/sp_winsys.h
|
5e7921b77874ce0142f0ab032c710a379d86ff09 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove intel_pixel.c
rivers/dri/i915pipe/Makefile
|
16682fee0a582ace8aa101704280d6839e9f0f23 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
added st_cb_fbo.c
ources
|
fdedc4fec035b9dd474a7966be60d2ab85b316e3 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
more work on st_choose_pipe_format()
tate_tracker/st_cb_teximage.c
tate_tracker/st_cb_teximage.h
|
4b87d37e90b6d2d9562a192540833b599bda5a35 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
framebuffer object functions
tate_tracker/st_cb_fbo.c
tate_tracker/st_cb_fbo.h
|
ec471e9f0723c2823d1fb882cde72ad1265c0916 |
03-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead files
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_pixel.c
rivers/dri/i915pipe/intel_pixel.h
rivers/dri/i915pipe/intel_tex_copy.c
|
db70498462344680ff884e7ed576543175833fc0 |
03-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rip out more dead drawing-related code.
rivers/dri/i915pipe/intel_batchbuffer.c
rivers/dri/i915pipe/intel_batchbuffer.h
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex.h
|
7d5c25c8a70f42a16b682f4366247cdb8457a631 |
03-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove "static region" support. The frontbuffer/driBufMgr interactions are handled as a special case in the intel_screen code.
rivers/dri/i915pipe/intel_regions.c
ipe/p_context.h
|
b8846a5be9443ed5d4027ca164c159f93e707824 |
03-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify frontbuffer / sarea / rotation management. Remove lots of old cruft.
rivers/dri/i915pipe/intel_batchbuffer.c
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_screen.h
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_format.c
|
389b1d1a3fe742004165d7dcb381314dd9c6806f |
03-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Workaround wierd oops on gutsy when building mesa.
akefile
|
c358a39af5968faf27c5fdc85bf64ac76fa2486b |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
added pipe->supported_formats()
ipe/p_context.h
ipe/softpipe/sp_context.c
|
61d0215d7b35bff980acbf1d61c764f8b80c0e71 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
hook in teximage bits
ources
tate_tracker/st_context.c
|
66ae07854e7e6e9f56e0beb6b56a8c1429bfa3c6 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
more formats
ipe/p_defines.h
|
fc9ff31298952f0a7e4cdfae95059144a5be6e1b |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
trim #includes
tate_tracker/st_cb_clear.c
tate_tracker/st_cb_drawpixels.c
|
4ab3bbba295a5b39aacae8015130a9098954ad68 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
beginings of teximage functions
tate_tracker/st_cb_teximage.c
tate_tracker/st_cb_teximage.h
|
101563a838a9ed1f9cad5f99fcbf598cbdfba0df |
03-Aug-2007 |
Eric Anholt <eric@anholt.net> |
Don't try to use kernel BO flags in dri_bufmgr_fake internals.
rivers/dri/common/dri_bufmgr_fake.c
|
47fdaf0ed9ef2f89cdaa97d0d48b1f1194d710c6 |
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
pipe->clear() now takes a surface, rather than color/depth/stencil flags. pipe->clear() only used to clear whole buffers (no scissor) w/out masking. Draw a colored quadrilateral in all other cases.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
ipe/p_context.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_clear.h
tate_tracker/st_cb_clear.c
|
184b6a1f04e060e73858438561a0261d32eeb506 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
call st_init_cb_drawpixels
tate_tracker/st_context.c
|
4df8e90a01b395801c47ea897b80637a749c246b |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
added st_cb_drawpixels.c
ources
|
d09f4e2007b3043ceb9dd3cb9cfab0dcd0226ba6 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
initial work for textured-quad glDrawPixels
tate_tracker/st_cb_drawpixels.c
tate_tracker/st_cb_drawpixels.h
|
566ae9196b267492d9fcfb2be9065fb8017702f9 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
remove st_draw.h include
ain/buffers.c
|
406da44da31f71afd98fc45e2bbfbf41deff1d12 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
setup more state for clear_with_quad()
tate_tracker/st_cb_clear.c
|
7b274b4318f7390b0bc8a7f20a0326881d4df2c9 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
3ab0210c3152e101ebb5af586c837978919f49d0 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
get rid of accum param
rivers/x11/xm_dd.c
|
877478e6fc659e2e40b8ba6bb7d78ee512c7c0d5 |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove all references to swrast. The one place the functionality continues to be needed is as last-ditch implementations of TexCopyImage, etc. TBD what to do about that, but that will be an issue for state_tracker, not for here.
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_ioctl.c
rivers/dri/i915pipe/intel_pixel.c
rivers/dri/i915pipe/intel_tex_copy.c
|
d878bdc7a107991075080f9d6d2f1489b966981f |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix make recursion. Unfortunately means you can't just type make in softpipe any more.
akefile
ipe/softpipe/Makefile
|
55314f8f311bff065f609ff17c8421a8d5216b84 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
ipe/draw/draw_context.h
ipe/draw/draw_vb.c
ipe/p_context.h
ipe/softpipe/sp_context.c
tate_tracker/st_cb_clear.c
|
0e067f1fb20094417e84e1b18f2302251cece2ca |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove references to accum buffers in softpipe. Also some minor clear fixes.
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_clear.h
tate_tracker/st_cb_clear.c
tate_tracker/st_draw.h
|
3dfe125861df183fcc325c516639f80b86bfbc19 |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove intel_state.c, intel_rotate.[ch]
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_rotate.c
rivers/dri/i915pipe/intel_rotate.h
rivers/dri/i915pipe/intel_screen.h
rivers/dri/i915pipe/intel_state.c
|
107206bbbe6f110e5d280ecb306bec0f764c834d |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
New header file.
tate_tracker/st_cb_clear.h
|
51b300c54da63199103c2d7caaf27760d7243621 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
include st_cb_clear.h
tate_tracker/st_context.c
|
e415dced44bd716185e63df0c8c17f57de2b29e2 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
sketch out clearing with quads
tate_tracker/st_cb_clear.c
|
5936b439e88308a2eabb8a5570e91dd8fff89397 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
add PIPE_MASK_RGBA
ipe/p_defines.h
|
a6dd731656c7daa9a3d2a020f13001ac4d391a44 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
comment follow-up
rivers/dri/i915pipe/intel_context.c
|
d747bf14dded3650da454d418912c921e65f2b9b |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
2c3cb693ccb760b7b1b7bb9f37491d1499c97938 |
02-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix stencil value masking bug 11805, and fix sizeof() bug
ain/image.c
|
e2556b7487cb383e285f6b21c5513edd8c5d37e6 |
02-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unnecessary null check (bug 11814)
rivers/dri/r300/r300_texmem.c
|
6e6a02261a7c0fcfdf9fbf17199aff4278c8e5b7 |
02-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)
rivers/dri/sis/sis_tex.c
|
6dae3f8c881ae90664fa826032402efb6de1bb8b |
02-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
move code to prevent NULL ptr dereference (bug 11810)
rivers/dri/i915tex/intel_span.c
|
c3e6bfc9e27038172fff47f9cc5a8a53ff7038a3 |
02-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove some code that was never hit (bug 11811). Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX. In the unlikely event this ever changes, maybe restore the code.
bo/vbo_context.c
|
a4a0189ed6dcf232f544e2ca3ea0fc7f71a68862 |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove intelClear() hack. Have added intel_batchbuffer_flush calls to the blit functions. We still shouldn't be calling back into this remnant intel code from the softpipe driver, though, so that will go too at some point.
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_buffers.h
rivers/dri/i915pipe/intel_context.c
|
d2bffbb7b5a0b6fe4af17a82cf3e58cce34394b0 |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove remnants of i915 texture-from-pbo code.
rivers/dri/i915pipe/intel_buffer_objects.c
rivers/dri/i915pipe/intel_buffer_objects.h
rivers/dri/i915pipe/intel_regions.c
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_state.c
rivers/dri/i915pipe/intel_tex_image.c
ipe/p_context.h
ipe/p_state.h
|
4f442d9ef5db42867c99a7288b4114a0340f73e6 |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Reroute some clear functionality. Still require the intelClear() call to flush batchbuffers. That will be removed later...
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_context.c
ain/buffers.c
ipe/softpipe/sp_clear.c
ources
tate_tracker/st_cb_clear.c
tate_tracker/st_context.c
tate_tracker/st_draw.c
|
46ac4531966e0edf802919def935c4125342e8bf |
02-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in logic for unalias2()
rivers/dri/i965/brw_vs_emit.c
|
505453a04e8ba5e394c34401bd9ec320ffce2423 |
02-Aug-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix fd.o bug #11804 glPolygonMode with point sprite on i965
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
|
246d1d2522858a1bcf525d64ad165f9af11a2b4d |
02-Aug-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix previous commit
rivers/dri/i965/brw_tex.c
|
6bf81a5edfa287a396f30188b107ff1761039f3f |
02-Aug-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
EXT_texture_sRGB support on i965
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/intel/intel_context.c
ain/texcompress_s3tc.c
ain/texformat.h
|
1b0e92b91a66c0188a870fb3ed6c20a8466b6ae9 |
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
implement masking in sp_region_fill()
ipe/softpipe/sp_region.c
|
1ecc648398a51f734ef1e3b729595f41cedf29f9 |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
rearrange things in xmesa_clear() a bit
rivers/x11/xm_dd.c
|
54135597b8a23a7349f5fa3193642758c229777e |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
get cliprect bounds after softpipe_update_derived()
ipe/softpipe/sp_clear.c
|
0c4acfe15a0555a6f3da02ab17e58cc379df11fd |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
Re-implement intelClear() in terms of softpipe_clear(). Pretty simple/small now. Note: softpipe_clear() should really be renamed to something like pipe_clear_with_blits() and put into a driver-indepedent module...
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_context.c
ipe/softpipe/sp_clear.c
|
0eb02a1963a25f6994b730147d0613b03424c11e |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
More work on glClear. Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_blit.h
rivers/dri/i915pipe/intel_regions.c
ipe/p_context.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_region.c
|
cddce60e7b14171f7afb204be5c131ce73ce01c5 |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
s/Z24_S8/S8_Z24/
rivers/dri/i915pipe/intel_surface.c
|
5fd46065915d3958569ebb590104b69886352157 |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
s/Z24_S8/S8_Z24/ (stencil is in the high byte)
ain/renderbuffer.c
ipe/p_defines.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_surface.c
|
fb206809ba2a131fd9034e10a00592f2d0d81fce |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
Checkpoint: glClear changes - working, bug very rough.
akefile
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_buffers.h
rivers/dri/i915pipe/intel_context.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
ain/buffers.c
ipe/p_context.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_region.c
|
e99b673cb062a2fead92d1d7d373926d148ade71 |
01-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Build libsoftpipe.a Each pipe driver will build to a .a library, as these will optionally be included in the various DRI drivers (this will make more sense once there is at least one hardware driver...). Not strictly necessary for softpipe, but want to minimize the differences between it and actual hw implementations.
rivers/dri/Makefile.template
rivers/dri/i915pipe/Makefile
ipe/Makefile
ipe/Makefile.template
ipe/softpipe/Makefile
ipe/softpipe/sp_context.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_quad_fs.c
ources
f/vf.h
|
f761c99d25aa71c4c761c1f876782a81c795fd5c |
01-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix mem leak (bug 11793)
rivers/dri/common/dri_drmpool.c
|
028a08f563ea9b9039986bafbfaf095fd4a72818 |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused file intel_render.c
rivers/dri/i915pipe/intel_render.c
|
e5df28f39a776442d8aeb9530e7cfcfe351d675f |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused file
rivers/dri/i915pipe/intel_structs.h
|
c5802911df668fb15cbe550219a8f361fbc83b82 |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove intel_span.[ch]
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_span.c
rivers/dri/i915pipe/intel_span.h
rivers/dri/i915pipe/intel_surface.c
|
a6dad044e24358af9fe5764ca7b342f4ed4804db |
01-Aug-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix fd.o bug #11788, max point size
rivers/dri/i965/brw_sf_state.c
|
d28661870a92f0beccd018855030146e01efb02e |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
sp_z_surface.h is dead
ain/renderbuffer.c
|
18fbf48a1e71cc26bd2d82a7c26275cf4a81c020 |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
Obsolete.
ipe/softpipe/sp_z_surface.c
ipe/softpipe/sp_z_surface.h
|
20adf45c23dd9ec86a1439ad87c1473395bbb1a7 |
01-Aug-2007 |
Brian <brian@i915.localnet.net> |
Redesign pipe_surface in terms of pipe_region. struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_surface.c
rivers/x11/xm_buffer.c
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
ain/renderbuffer.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_region.c
ipe/softpipe/sp_region.h
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_z_surface.c
ources
|
2f245bce420c7a6c6928c4927d0f9a5701cde17f |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
Lift region-related functions up to the pipe interface. Some of these functions probably should be driver-private. Note: intel_buffer_object is in p_state.h and should be fixed/removed. There are just a few i915 dependencies in intel_region.c
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_buffer_objects.c
rivers/dri/i915pipe/intel_buffer_objects.h
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_buffers.h
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_depthstencil.c
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_fbo.h
rivers/dri/i915pipe/intel_ioctl.c
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/i915pipe/intel_pixel.c
rivers/dri/i915pipe/intel_pixel.h
rivers/dri/i915pipe/intel_regions.c
rivers/dri/i915pipe/intel_regions.h
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_screen.h
rivers/dri/i915pipe/intel_span.c
rivers/dri/i915pipe/intel_state.c
rivers/dri/i915pipe/intel_surface.c
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_subimage.c
ipe/p_context.h
ipe/p_state.h
|
33891b64a9a00ddfd7b9c57a2020e83449af62e5 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
re-fix stencil addressing bug
rivers/dri/i915pipe/intel_surface.c
|
58c1297b22c61d2c9d9c0ae7a6caf97545fe520e |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add missing files
rivers/dri/i915pipe/server/i830_common.h
rivers/dri/i915pipe/server/i830_dri.h
rivers/dri/i915pipe/server/intel.h
rivers/dri/i915pipe/server/intel_dri.c
|
43d07d8697a0392a57a676d8e70a0b126b124899 |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove references to intel_tris.h
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_screen.c
|
280cb3713064ccc17417e1a25398ad615dfc53c8 |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
A version of the i915tex driver with all drawing code removed. This is intended to support the softpipe development work. More code will be removed and pushed into softpipe until this basicially becomes the DRI/GLX interface for that driver.
rivers/dri/i915pipe/Makefile
rivers/dri/i915pipe/intel_batchbuffer.c
rivers/dri/i915pipe/intel_batchbuffer.h
rivers/dri/i915pipe/intel_batchpool.c
rivers/dri/i915pipe/intel_blit.c
rivers/dri/i915pipe/intel_blit.h
rivers/dri/i915pipe/intel_buffer_objects.c
rivers/dri/i915pipe/intel_buffer_objects.h
rivers/dri/i915pipe/intel_buffers.c
rivers/dri/i915pipe/intel_buffers.h
rivers/dri/i915pipe/intel_context.c
rivers/dri/i915pipe/intel_context.h
rivers/dri/i915pipe/intel_depthstencil.c
rivers/dri/i915pipe/intel_depthstencil.h
rivers/dri/i915pipe/intel_fbo.c
rivers/dri/i915pipe/intel_fbo.h
rivers/dri/i915pipe/intel_ioctl.c
rivers/dri/i915pipe/intel_ioctl.h
rivers/dri/i915pipe/intel_mipmap_tree.c
rivers/dri/i915pipe/intel_mipmap_tree.h
rivers/dri/i915pipe/intel_pixel.c
rivers/dri/i915pipe/intel_pixel.h
rivers/dri/i915pipe/intel_reg.h
rivers/dri/i915pipe/intel_regions.c
rivers/dri/i915pipe/intel_regions.h
rivers/dri/i915pipe/intel_render.c
rivers/dri/i915pipe/intel_rotate.c
rivers/dri/i915pipe/intel_rotate.h
rivers/dri/i915pipe/intel_screen.c
rivers/dri/i915pipe/intel_screen.h
rivers/dri/i915pipe/intel_span.c
rivers/dri/i915pipe/intel_span.h
rivers/dri/i915pipe/intel_state.c
rivers/dri/i915pipe/intel_structs.h
rivers/dri/i915pipe/intel_surface.c
rivers/dri/i915pipe/intel_tex.c
rivers/dri/i915pipe/intel_tex.h
rivers/dri/i915pipe/intel_tex_copy.c
rivers/dri/i915pipe/intel_tex_format.c
rivers/dri/i915pipe/intel_tex_image.c
rivers/dri/i915pipe/intel_tex_layout.c
rivers/dri/i915pipe/intel_tex_subimage.c
rivers/dri/i915pipe/intel_tex_validate.c
|
973985b7ef19cd69c6bd5b85cd22e953d21aa8ae |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
simplify clear.x1,y2,x2,y2 setup
rivers/dri/i915tex/intel_buffers.c
|
f0b4d9cb24506d637a2e8ed06626277726afb321 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
In i915/i830_emit_state(), check if state->draw_region is non-null. This fixes a problem hit by glClear in the samples/stencil.c program.
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_vtbl.c
|
6490c7d4aadac7d240d62e2d5c02d8973d69b71f |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
fix stencil addressing bug
rivers/dri/i915tex/intel_surface.c
|
da2b82059f56d37893a318d0f7a7f2479db99c59 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
remove obsolete xmesa_get_stencil_surface() stub
rivers/dri/i915tex/intel_surface.c
|
00afb6719938095bbf7daff3062127e4462bacc9 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
fix comments and param names for intel_miptree_image_map()
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
|
616c329e81f03183924b57cb19f027b22c9307f8 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
fix value returned by intel_new_renderbuffer_fb()
rivers/dri/i915tex/intel_fbo.c
|
9c61925da0f24dfc5f4cb1ee5d50e18bfe3f39ce |
31-Jul-2007 |
Eric Anholt <eric@anholt.net> |
bufmgr_fake: eliminate the referenced list, which is now just on_hardware.
rivers/dri/common/dri_bufmgr_fake.c
|
5e2acfee78c9e72d67d822974e9986fe99920ccf |
31-Jul-2007 |
Eric Anholt <eric@anholt.net> |
Don't initialize extensions we can't support when !ttm.
rivers/dri/i915tex/intel_context.c
|
8410b3f8f9d7041440db0f178c31a5819b16495c |
31-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix failure caused by undeclared variable (bug 11783)
hader/slang/slang_codegen.c
|
59b1233e7075ff54a2cd183234f2a092eef5cc75 |
31-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
glGetAttribLocation always returned 1 (bug 11774)
hader/slang/slang_link.c
|
e66757c8babe6968ea2e506d1214c8063cbd0760 |
31-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix bad casts in do_blit_bitmap to support WindowPos correctly
rivers/dri/intel/intel_pixel_bitmap.c
|
ed83159ff46ed6593a367ab93ce8b310dce91b77 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
fix assertions
tate_tracker/st_atom_framebuffer.c
|
9273150f9a8394f4ef630a96f0089ad8cad607f5 |
31-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'i915tex_privbuffers' into softpipe_0_1_branch Conflicts: src/mesa/drivers/dri/i915tex/intel_buffers.c src/mesa/drivers/dri/i915tex/intel_context.c src/mesa/drivers/dri/i915tex/intel_fbo.c src/mesa/drivers/dri/i915tex/intel_pixel_draw.c
|
9bc1c92a0b809c6b60d5e4a2c8909f5f98528919 |
31-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
32 and z24s8 softpipe buffers
ain/renderbuffer.c
ipe/p_defines.h
ipe/softpipe/sp_z_surface.c
ipe/softpipe/sp_z_surface.h
|
69337ed098bdf0def6820ccdb121b08c0e139085 |
31-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: Use I16_UNORM instead of L16_UNORM (bug 11742)
rivers/dri/i965/brw_wm_surface_state.c
|
42c817269a4af535225217d09ec416efb085a94e |
31-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some obsolete xmesa remnants
tate_tracker/st_atom_framebuffer.c
|
f884f6886eb043ea2e2e2b5471afbc58639f3a81 |
31-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
4576d754c98e3fb5d413e294d48fb70a893defcf |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
Lots of improvements to the surface-related code. Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_surface.c
rivers/x11/xm_buffer.c
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
ain/mtypes.h
ain/renderbuffer.c
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_z_surface.c
ipe/softpipe/sp_z_surface.h
ources
tate_tracker/st_atom_framebuffer.c
|
6558af67d380f2855b112ea3ce4dded9215c7cf7 |
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
compute scale for Z24 buffers
ipe/softpipe/sp_quad_depth_test.c
|
09574bee850edec46d967b7cdbc2073f92b8223d |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
implement read_quad_f_swz()
rivers/dri/i915tex/intel_surface.c
|
7baa0865b114776cc1672c5e97e63c282e25285f |
30-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
3a35ce336458352653329426c550bfce1ffc3f66 |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
implement surfaces for softpipe rendering
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_surface.c
|
f1569bf0d5fcfd4430e13d6d1bd9c60fb44e9535 |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
map/unmap surfaces before/after rendering
ipe/softpipe/sp_context.c
|
1c8905790be301da6d18d2397fd3bbe4a47f987c |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
remove old comments
ipe/softpipe/sp_prim_setup.c
|
737f6e7eb1f90133c81cff83444191df84754e77 |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
disable ProgramStringNotify assertion
tate_tracker/st_cb_program.c
|
a548d3cb71116f93d6cd9bc818c57b70ac9d9504 |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
call st_invalidate_state()
rivers/dri/i915tex/i915_context.c
|
f38d26fd83a2193c6cba9ce72d912f579b25f5fe |
30-Jul-2007 |
Brian <brian@i915.localnet.net> |
added map/unmap() stubs
rivers/x11/xm_surface.c
|
982dcb74fd19b88208d127b8019e2a2af979cac2 |
30-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Fix an error in _save_OBE_DrawElements In the case that a buffer object is bound to ELEMENT_ARRARY_BUFFER, it is invalid to directly dereference indices passed to glDrawElements.
bo/vbo_save_api.c
|
2394d20dafdfa308d494fc739c63c6a4e91c8185 |
30-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Fix an error in _mesa_validate_DrawElements The field 'Data' in an obj is NULL in some dri drivers(such as i965). Use mapped pointer instead.
ain/api_validate.c
|
baac66cb0519cb85373fb079696d44e42d382577 |
30-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old comment, minor formatting fixes
ain/dlist.c
|
501b5305b939ac38177dcd73ec72f4a39296e0c4 |
30-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
handle LSB_FIRST in _mesa_pack_bitmap by the way used in _mesa_unpack_bitmap
ain/image.c
|
775ebb696dffaf6fddc170862ecb375e6cdfcb9c |
30-Jul-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Fix an error related to glPolygonStipple. As glPixelStore(GL_UNPACK) affect the bits into a stipple pattern, hence 128 bytes used to store the pattern in a display list aren't enough sometimes.
ain/dlist.c
|
60179434d15989b81e2d4757f34033009184a678 |
30-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
ARB sprite point support on i965
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/intel/intel_context.c
|
eefb04a2b8599d4c5ec033539c1348cbe46154f9 |
30-Jul-2007 |
Jan Dvorak <jan.dvorak@kraxnet.cz> |
fix glPointParameteriv bug 11754
ain/points.c
|
ab02552cdddf9322bfaf874f85d74e7c174a0f3b |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix cos/sin range reduction for i915 driver too
rivers/dri/i915/i915_fragprog.c
|
dde814776c1feee30e986858782c14d9b0feeaea |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix range reduction for sin/cos in i915tex (#11609)
rivers/dri/i915tex/i915_fragprog.c
|
7aefdd518578687f961bb512a2b408857f0b9824 |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix range reduction for sin/cos in i915tex (#11609)
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_fragprog.c
|
10f5a6ac85fb5f78069b7314e40a2a23e2636192 |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix fallback crashes when driver can't handle frag prog for i915 driver too (untested)
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_render.c
rivers/dri/i915tex/i915_context.h
|
a188ba4bf9364df24842d8727f4c7ddb2f894a2c |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
Fix crashes when the frag prog can't be handled in hardware (#11131) Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.)
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_render.c
|
9d2d34b5eabfb7855081ad56fa00b3e0f6b8e631 |
29-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
Fix crashes when the frag prog can't be handled in hardware (#11131) Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.)
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_render.c
|
35f35294cd5cc3ca32354b1de0e398ad73c70716 |
27-Jul-2007 |
Zhang <zxpmyth@yahoo.com.cn> |
more Mingw32 fixes
akefile.mgw
|
75b8a396e5b29e2ee86ab3a5c9590e6db5d28155 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
renaming, comments, clean-up
ipe/softpipe/sp_prim_setup.c
|
05ba76757b7349f0c3de2d9ce42c543fa7e931c2 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Clip triangles against softpipe->cliprect which includes scissor and surface bounds. This prevents rendering out of bounds when the viewport is partially outside the surface bounds.
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
|
05bde092f39e16463dfbbe038f22f17da4346527 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove obsolete comments
ipe/softpipe/sp_prim_setup.c
|
a0c1d591ab8d19377c7ab784a0472fac00f9fcd3 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Maintain cliprect (scissor) info in sp_state_derived.c. The cliprect depends on the scissor rect (if enabled), otherwise the drawing surface bounds.
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
|
78ea9cee0d7fd424238ec25f9939d2c955694c0a |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement point/line quad clipping. Not quite as efficient as it probably could be, but sufficient for now.
ipe/softpipe/sp_prim_setup.c
|
6abdad28f6f6c69158b942fe420a55f12c71fb08 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
check scissor state
tate_tracker/st_atom_setup.c
|
df23ebbb9fe6aca7263371efc6ab6e6f4c1cf423 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/SP_TILE_H/SP_QUAD_H/
ipe/softpipe/sp_quad.h
|
e1a19781ddd855540aa65142891b23769e6da0f9 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
init quad.coverage values to 1.0 in case line AA is enabled so that we see something
ipe/softpipe/sp_prim_setup.c
|
87555946478f58111013554e5af5c8844f944420 |
27-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Avoid unnecessary input attrib copy by aligning exec_machine attribs.
ipe/softpipe/sp_quad_fs.c
|
e0a26b046764ae80748b347395ab1b27de83651e |
27-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
0fb0d9715c9bcdcc3437a64a0f03c1c1153e9f29 |
27-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix-up inlined/non-inlined function inconsistencies
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
|
e3cef5887540016a6d198598cb50bebe09e3f4cf |
26-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
9ed040c3c9afe06a8f6b28bc223751e3b2d65fe3 |
26-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
generate error upon writing to varying var in fragment program (bug 11733)
hader/slang/slang_codegen.c
|
51b728cf9aff383142a2a1e220a7d8963d1ca189 |
26-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix color interpolation for CHAN_BITS==32
wrast/s_span.c
|
efda5cb6263631175aa2efe46df9322b3c5775ee |
26-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't use rgba_line() if CHAN_BITS==32
wrast/s_lines.c
|
0360b49afbcd839f99ba0745d01cf9dc5be4d122 |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement line stippling. Also added draw_stage::reset_line_stipple(). There may be a better way of doing that though.
ipe/draw/draw_clip.c
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
|
1f6b4b0f75d7cd7306e6aa24c27fd478f6b6c52d |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename some vars
ipe/softpipe/sp_quad_fs.c
|
8b2955b736086103ac0d184a4b3f89d8ab8baab1 |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement DDX, DDY instructions
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/mesa/mesa_to_tgsi.c
|
be8725321ccbc4ca5f52afc9a3e257c91f43a119 |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix pinterp() to compute 1 / FRAG_ATTRIB_WPOS.w Update comments too.
ipe/softpipe/sp_quad_fs.c
|
d24e60a6b10ab3cb365e9c8f9dc0b36864bd485d |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
patch things up enough to allow texture sampling to work
ipe/tgsi/core/tgsi_exec.c
|
9a4cc2e90595a41d3d3cb6a752e4b5a089a213d2 |
25-Jul-2007 |
Eric Anholt <eric@anholt.net> |
Add notes about bufmgr initialization failures.
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915tex/intel_screen.c
|
eb9a5b6d5127858b01ec12672c999e7d25cd7aed |
25-Jul-2007 |
Jouk <joukj@tarantella.(none)> |
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
|
03ec41ddc51e539c989a546f33d22daa2af69095 |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused MAX_3D_TEXTURE_SIZE, reformattting
ain/mtypes.h
|
a502c08a255391311c64fa4c39d5026005206d2b |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
use consistent indentation
ipe/tgsi/core/tgsi_exec.c
|
2eb9061f73523c3cfc2d77db789afa804c68ee7f |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
check return value of tgsi_parse_init()
ipe/tgsi/core/tgsi_exec.c
|
ed52adc64ed13583162a997f13f3bc4624feb5ee |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PROGRAM_NAMED_PARAM in map_register_file()
ipe/tgsi/mesa/mesa_to_tgsi.c
|
3ffd30638a3be1fafc976cc5d640022c734b0458 |
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added GL_FRAGMENT_PROGRAM_NV in st_new_program()
tate_tracker/st_cb_program.c
|
496ee38b7130c55cbdddb1456f8ad618897bd711 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add VF_ATTRIB_VAR0..7 for varying variables. The demos/fslight.c demo runs now.
ipe/softpipe/sp_state_derived.c
f/vf.h
|
5c2cff44d22c09e018a4b43a51cf6781ce4ca5b9 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PROGRAM_UNIFORM to map_register_file()
ipe/tgsi/mesa/mesa_to_tgsi.c
|
6a235d3fe5ccaa8cd0d4a2f3356c1513006dadcb |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
ipe/tgsi/mesa/mesa_to_tgsi.c
|
8c99f7ba61fcc95ef22d8ccd8cce3e31eaa67757 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/GLuint/GLbitfield/
ipe/p_state.h
|
1475d74cfba634cf24da30e48fe66de9c2d75d55 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Compute need_z and need_w properly and use the correct const/linear/perspective interpolation in shade_quad().
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_state_derived.c
|
2de4c7573efe7bdccea48448c37a9f28124b8df7 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix a typo (i << i) that was fouling up the vertex layout info.
ipe/softpipe/sp_state_derived.c
|
67b61520ce1fabe2256e606ea73729f44d57fa99 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added missing OPCODE_ARL to TGSI_OPCODES[], added sanity check assertion
ipe/tgsi/core/tgsi_dump.c
|
43d7c1fe9d2544b851afa2f1c1e245a63860e670 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Basic fragment programs run now. Handling of constants might change. For now, the st_fragment_program struct contains a pipe_constant_buffer (not a pointer).
ipe/p_state.h
ipe/softpipe/sp_quad_fs.c
tate_tracker/st_atom_fs.c
tate_tracker/st_program.h
|
ef3849ffa0af7f2aad8a69a7d04a4dd780fa247b |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
rebuild quad pipeline when framebuffer changes too
ipe/softpipe/sp_state_derived.c
|
47fafcf06f04c0db2d9908f30cfce6cd564d8973 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
use enabled/linked fragment shader in preference to a fragment program
tate_tracker/st_atom_fs.c
|
4477a01372c87b84e859c7522501d55a62f11b88 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
call ctx->Driver.NewProgram() instead of _mesa_new_program()
hader/program.c
hader/slang/slang_compile.c
|
5b6858c023fca9d8eefce78121aabd9aad108e09 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
call ctx->Driver.NewProgram() instead of _mesa_new_program()
hader/program.c
hader/slang/slang_compile.c
|
5b737b7df21b418c71f71af987a20c495b1133f8 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
c702a7100e2aa83241e89850a97bcc23e1c6fedb |
24-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
DDX DDY support, not very accurate
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
|
da2f1e88bc63403a95b89706905c070b7c894863 |
24-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix GLX_STEREO handling (bug 11705)
rivers/x11/fakeglx.c
|
98eaf5503d0d7c4f18fab6910a08aba7a3d08639 |
23-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Execute fs tokens. Fix align128 bug.
ipe/softpipe/sp_quad_fs.c
ipe/tgsi/core/tgsi_util.c
|
76fb8089103e9dba9aaa7232c86d864d5874a08f |
21-Jul-2007 |
Zhang <zxpmyth@yahoo.com.cn> |
Fix a number of MINGW32 issues
akefile.mgw
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
ain/glheader.h
ain/imports.c
ain/imports.h
ain/shaders.c
ain/texcompress_fxt1.c
|
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 |
21-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx->Point._Size and ctx->Line._Width. The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
rivers/dri/i810/i810state.c
rivers/dri/i810/i810tris.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mga/mgatris.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/savage/savagetris.c
rivers/dri/tdfx/tdfx_tris.c
ain/lines.c
ain/mtypes.h
ain/points.c
ain/state.c
wrast/s_aalinetemp.h
wrast/s_lines.c
wrast/s_points.c
nl/t_vertex.c
nl_dd/t_dd_vb.c
|
36fce66034887009749c3d52587c293da2457820 |
21-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
set the _BaseFormat for window-framebuffers, could hit some assertion otherwise
rivers/dri/i915tex/intel_fbo.c
|
82fceba231a03b3b7284d5356d7bc1d10c366026 |
20-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bogus recently introduced function param comments
ain/buffers.c
|
118bd626b10d213eb022ac2618bf2efc5fe734d1 |
20-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bogus recently introduced function param comments
ain/buffers.c
|
97cd87ef74eb06aa8da52be42871120cca145269 |
20-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
minor cleanups, disable debugging
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_state.c
|
4824c342c864e870251a7d343c95e51274e50d23 |
19-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Trigger tgsi compilation for fragment programs. Not sure the generated program looks correct though...
ipe/p_state.h
ipe/softpipe/sp_state_derived.c
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/mesa/mesa_to_tgsi.h
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_vs.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.h
tate_tracker/st_program.h
|
e0850e52eed52ff4e2acac6b31a7c456eb9716a0 |
19-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove some more really old ifdefed out code...
rivers/dri/i915tex/i915_state.c
|
a1bc0d0f51c2aa248a349283c3b86ae2c72af4aa |
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mesa's handling of fbo's / window fb (again) Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/fbobject.c
ain/framebuffer.c
|
6075df53b5435ddada989d776d989132def363a6 |
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
more fixes for mesa's fbo handling (fixes tests/fbotest1/2)
ain/buffers.c
ain/context.c
ain/fbobject.c
|
f9ac01eac511aa9ea0b8b48774022a08d0fc2f3b |
19-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix up mesa's probably bogus framebuffer updates with different read/write fbs Conflicts: src/mesa/main/framebuffer.c
ain/framebuffer.c
|
dbfb375805d94cb80262b8816c67a8adc778bec5 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mesa fb binding Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
rivers/dri/i915tex/intel_fbo.c
rivers/dri/nouveau/nouveau_buffers.c
ain/dd.h
ain/fbobject.c
|
b9f2cf9a4e0a5ec89b27371210846942c93cb412 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape)
rivers/dri/i915tex/intel_batchbuffer.h
|
79ddb7f9a27421089efea090de6c41d2d630bb8f |
19-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
more cleanups (looks pretty reasonable now) remove some already ifdefed out, no longer functional and used code. Don't do our own scissor clipping in the pixeldraw/copy paths, as meas already does that for us...
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
|
da21eff86be088852457cdcb725aed5337c4519d |
19-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix drawables not getting freed if context is made current with new drawables
rivers/dri/common/dri_util.c
|
131a03631208afb1fce90292eb27115511f58257 |
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mesa's handling of fbo's / window fb (again) Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/fbobject.c
ain/framebuffer.c
|
3f318c2eb98cf7216ae7033806fa764ac40192bf |
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
more fixes for mesa's fbo handling (fixes tests/fbotest1/2)
ain/buffers.c
ain/context.c
ain/fbobject.c
|
ccb713cdb8831617880ac71ac357361b586d05c6 |
18-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
swapbuffers with non-current contexts, cleanups manywin got broken (when intelPageflip got no longer called). Make sure that intelFlush is getting called when a context gets unbound, to handle later swapbuffer calls on that context's drawable better. Related, fix non-current cliprects getting used on unbound drawables.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
|
0b48ce450eef91a9fcf6681260beb1090e0ef9d1 |
18-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Oops, made a mistake on commit fb4e071beda6e3b9e68a21bbc7649b6c4733c485.
rivers/dri/r300/r300_vertprog.c
|
86ece0a920d8afa870608a25745be8d03b7cccb6 |
18-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up vertprog construction. Construct the vertprog instruction in the 4 DWORD parts... DWORD 0: Opcode and Output. DWORD 1: First Argument. DWORD 2: Second Argument. DWORD 3: Third Argument. Allow the opcode translation functions to generate more than one instruction; useful for when an instruction must be emulated. FLR, XPD, etc.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
fb4e071beda6e3b9e68a21bbc7649b6c4733c485 |
18-Jul-2007 |
Tommy Schultz Lassen <mesa3d@krynn.dk> |
r300: Corrected texcoord start when BFC1 is enabled.
rivers/dri/r300/r300_vertprog.c
|
c5a8bc712542d24a035aa8fe58cf3c28c7c6fbd1 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
get rid of checks for old ddx
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_screen.c
|
7664105fc2a27ae0862edff66a0a5a33e4111fe1 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove some more old stuff
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
|
881d71495b893516d685e3c68b60c0aa2742d2a7 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
get rid of more pageflip/rotation code.
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_screen.h
|
a8bf93e00e28031d7e2444f79df2686f262b4420 |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix up mesa's probably bogus framebuffer updates with different read/write fbs
ain/framebuffer.c
|
d9499a151df85fef6bb6f31b58657e44cadba50a |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix mesa fb binding Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
rivers/dri/i915tex/intel_fbo.c
rivers/dri/nouveau/nouveau_buffers.c
ain/dd.h
ain/fbobject.c
|
04d49ff24d0f9c7c3a99c45b50f62aa32b0a28ed |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove old code, remaining bits of static handles, disable (no longer functional anyway) rotation code
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
ain/framebuffer.c
|
4dd8e2648d7ec8634d1005aae2da562b57b0267f |
17-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
increase MAX_RELOCS so never run out before batch buffer is full (fixes xdemos/shape)
rivers/dri/i915tex/intel_batchbuffer.h
|
6101fe641cd506422d0b2735dfcaa61174684ec4 |
17-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'origin' into softpipe_0_1_branch
|
bb1b01616b6cb9b0a1cab74e10940ce346cb8a3d |
17-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'i915tex_privbuffers' into softpipe_0_1_branch
|
c6d042acc94411b63f922ef68f24aa5426c0a69e |
17-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix SOP in fragment shader, brick is ok now.
rivers/dri/i965/brw_wm_glsl.c
|
3c00cdc5f37856f303a6256677364ae89200c509 |
17-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa into 965-glsl
|
719cf0b7958d0dedf8727c97eaddb6a1f31977e1 |
17-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Use ProgramStringNotify
rivers/dri/i965/brw_context.c
hader/program.c
|
7b410f366fa117a03a7e838562215d2dca3f8cbc |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected some progs/fp/* regressions from the BFC patch. I'm not completely sure this is correct; it restores the old behaviour.
rivers/dri/r300/r300_vertprog.c
|
8a016d213029ff4714a79e03a3b4922d70f54e80 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use _mesa_num_inst_src_regs for number of arguments.
rivers/dri/r300/r300_vertprog.c
|
f66775184b0be00cd0ac1163d2e9d4d656746af2 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected vertprog FLR and XPD instruction regression.
rivers/dri/r300/r300_vertprog.c
|
3eba764df8b2b61588244e1e5457926062df065d |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added code for vertprog opcode ARL.
rivers/dri/r300/r300_vertprog.c
|
611674ed692c219baeb6005373fe0fbf3c111ab4 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Don't need vertprog scalar flag anymore; it's handled explicitly...
rivers/dri/r300/r300_vertprog.c
|
b89a5c6e064d42e54c8748a35069b46460e4a6a9 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed broken RCC vertprog opcode.
rivers/dri/r300/r300_vertprog.c
|
15f1609922d727f722a6d319c7df579b3ef77ed2 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: More vertprog rework; give each opcode it's own function.
rivers/dri/r300/r300_vertprog.c
|
cc9cf90b090b80e51ac03af6fe113287e083accd |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix resize bugs (fb size updated too late), fix typos, cleanups...
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_screen.c
|
5fc7973d5493039e4b3037eae10e9a005d4cf717 |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
small cleanups
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.h
|
39766010cd35b1c58ce8f03b3679b20398eacb1b |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Revert "r300: Gracefully exit after GART memory is exhausted." This reverts commit 9457bf62bbba3b9226ebbbea5dc7798ca22485f6. Causes the X server to die with Compiz and Beryl.
rivers/dri/r300/r300_mem.c
|
cc85860ccb44ac0a5a08217b9c9ba3fcef3b3a52 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Reorder the vertprog code to the ARB specification.
rivers/dri/r300/r300_vertprog.c
|
cbfe29cdee5d338a25f13abbbb191b80428d05c8 |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bogus fb/drawable information the framebuffer objects attached to drawables can have invalidate state associated with them, since for the window framebuffer this is per-context state and not per-fbo state. Since drivers rely on that information (otherwise would need to check if currently the window-framebuffer is bound in a lot of places) fix it up in _mesa_make_current (ugly). (Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy when switching to front buffer rendering.)
ain/context.c
|
fb3b9060d48934ca4faa72e966c00aee627ce96d |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix segfault with i915 drivers in swrast drawpixels path when resizing windows
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/intel/intel_pixel.c
|
d895c5a08f18c8b550631f7c735c2dafaf8ec785 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the R300_PVS_UPLOAD_* defines.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
894557d625b6813dfb23602b96fde6a59d3db54e |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
get rid of more cliprects...
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_pixel_draw.c
|
4013382ea2ab08b7904ad908f7b66d2a737b59da |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the clip plane upload defines.
rivers/dri/r300/r300_reg.h
|
56cbdfd7d541e5d99b7e7c4fb7b03ac6ac1536a1 |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
more cliprect elimination (swrast span)
rivers/dri/i915tex/intel_span.c
|
6104044f6bd9464b5972234f95801ca6ba5db510 |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
get rid of more fake cliprects (drawpixel), and enable blit draw with scissor
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
|
81c333adbcb5c853d2f9e864f701080279977ac6 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Enable the vertprog point size again.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_vertprog.c
|
8b93d9238e4dd51acaf95c4744d5f6a795d9d35c |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
get rid of more cliprects (readpixel)...
rivers/dri/i915tex/intel_pixel_read.c
|
03105d7b3edb5ab7c77925fdfce832882a7191ab |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected position bug with position invariant option. Bug #11594.
rivers/dri/r300/r300_vertprog.c
|
d69cae95a072d3641bd8340a5216662e0365ed6f |
16-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
allow blit path for read pixels if pack->alignment isn't 1. pack->alignment doesn't matter usually if the image is sufficiently aligned anyway. Speeds up some tests/readrate cases by a factor of 100 (since the pack->alignment default which noone ever bothers to change is 4).
rivers/dri/i915tex/intel_pixel_read.c
|
aa9d77ca3c89c2b8119149ff3d49eec226dc80d1 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed Vim modeline I left in the file by mistake. :-)
rivers/dri/r300/r300_vertprog.c
|
72581241a85081d6103158c484c18d356935b46c |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Make sure the modified value of u_temp_i is respected.
rivers/dri/r300/r300_vertprog.c
|
87855fb32cf7df0162720fc71976d3d23c0dbba6 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a function for vertex program default opcode translation.
rivers/dri/r300/r300_vertprog.c
|
ddb74cb443913a159ec800891710f18d4700d398 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Clean up the vertex program maximum length check.
rivers/dri/r300/r300_vertprog.c
|
d0b3f3ce817700286e059bb24caa12b09e7ec954 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected indenting in r300_vertprog.c.
rivers/dri/r300/r300_vertprog.c
|
79773ba13ac75fcdf12f187eead41ff35d75d6c0 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Major vertex program code clean up and rework.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
b0f0b4044cae50af3443e1bfeb87b2d7d6042913 |
16-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Replaced the ugly VERTEX_SHADER_INSTRUCTION typedef.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
99c7e38d8363eafe2fc079ed6e7bad289d65e965 |
15-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
change back driver change from previous commit
rivers/dri/i915tex/intel_context.c
|
a1ec23a30f3ff9583b32428c2c357b9ef66f3a50 |
15-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix bogus fb/drawable information (fixes xdemos/wincopy) the framebuffer objects attached to drawables can have invalidate state associated with them, since for the window framebuffer this is per-context state and not per-fbo state. Since drivers may rely on that information (otherwise would need to check if currently the window-framebuffer is bound in a lot of places) fix it up in _mesa_make_current (ugly).
rivers/dri/i915tex/intel_context.c
ain/context.c
|
8172f50419b370c4608d1bbc6cac4d77e3e45804 |
15-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix the texture copypixels path
rivers/dri/i915tex/intel_pixel_copy.c
|
cd3afa2a952a9ec05fb9fa959dfe90d620bd2d88 |
15-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
begin getting rid of fake clip rects (copy_pixel)
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_pixel_copy.c
|
9457bf62bbba3b9226ebbbea5dc7798ca22485f6 |
15-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Gracefully exit after GART memory is exhausted.
rivers/dri/r300/r300_mem.c
|
393558a933670705f9d3482fd976393a2baca957 |
14-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Disable vertex program point size; it's almost certainly wrong. See the conversation between myself and Tommy Schultz Lassen on mesa3d-dev.
rivers/dri/r300/r300_emit.c
|
491f646c798ec2f20ba5a6adc600bc7ea92ddf24 |
14-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Clean up the vertex program output assignment.
rivers/dri/r300/r300_vertprog.c
|
24f85f047b8b9e9b465bd3f9af2cc113582bfc0d |
14-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10 and nv11,15 are different
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv10_swtcl.c
|
a04056d313a8346dc9e6e1b062762a6f115d1b46 |
14-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix assertion, z/stencil swarst readback, (still looks suspicious) copyTexSubimage
rivers/dri/common/drirenderbuffer.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_tex_copy.c
|
5a0f02a394cec0603fe48de55f4cbe323d2357e0 |
14-Jul-2007 |
Jan Dvorak <jan.dvorak@kraxnet.cz> |
fix shader/info string length queries (bug 11588)
hader/shader_api.c
|
f0636d9653d142bdf71475d2d2066f5c7c436978 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix setup.light_twoside determination. When a vertex program is used, use value of GL_VERTEX_PROGRAM_TWO_SIDE. Otherwise, if FF lighting, use value of GL_LIGHT_MODEL_TWO_SIDE.
tate_tracker/st_atom_setup.c
|
dc313b578386dc07f4916fba98da061af3ab18e5 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix more polygon winding, culling confusion. If the determinant of the triangle is positive, its winding is CCW (right-handed coord system).
ipe/draw/draw_cull.c
ipe/draw/draw_twoside.c
tate_tracker/st_atom_setup.c
|
f022bff5aa828cfdbb4749f672fc51c345f9cb33 |
13-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
bugfixes (wrt fb updates), cleanups move drawable validation back to where it was now that the driDrawable information isn't used directly anymore. Fix bogus fb updates (the context we get for SwapBuffer processing may not have the drawable being processed attached!) glthreads behaves a bit better but still not correct.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_screen.c
|
2bf4a500de24347476ce96cdd48d68ddeecbb019 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix for-loop in interp() so we don't go out of bounds. Improved comments for that loop. Added some sanity check assertions regarding vertex layout.
ipe/draw/draw_clip.c
|
5810b40d6e9aae6b184879a99c67f83107fc6637 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
set INTERP_CONSTANT when appropriate Not really signficant now since draw_flat stage copies the provoking vertex color to all prim verts.
ipe/softpipe/sp_state_derived.c
|
a47b5764c0d801fb9fc23ee80c698ff042006cb6 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
ipe/softpipe/sp_quad_fs.c
|
a6eccf9e4f4d4815e004db9c8c61c5cdac63bbfd |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Enable Keith's branch-less stipple code - it works.
ipe/softpipe/sp_quad_stipple.c
|
80362a90d8ad1fca14d7276169fc962f953d936d |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add 'prim' field to quad so that stipple and aa coverage stages can do the right thing.
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_coverage.c
ipe/softpipe/sp_quad_stipple.c
|
46bba80a54afbcabc0f064433cc2194473661c30 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement AA points and AA coverage application in quad pipeline.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_coverage.c
ources
|
563479552e2f491fb94e7fac5772f3c72cee962a |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added basic occlusion counting
ain/queryobj.c
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_occlusion.c
ources
tate_tracker/st_atom_depth.c
|
676fcf0de270651311a6b812e98f2e71d7dae925 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor rename
rivers/x11/xm_surface.c
ipe/p_defines.h
|
8fcfaa3238599f5a9b28794b748b8417e042c597 |
13-Jul-2007 |
Ben Skeggs <skeggsb@gmail.com> |
Play "nuke the typedef"
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_lock.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
aa0f415c8d5d79d0763fca49d91b1963bf0975f6 |
13-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add conditional-free implementation (disabled, not tested)
ipe/softpipe/sp_quad_stipple.c
|
60a21f6c54788c0f22fd1cf4a4a13e1af389f3e6 |
13-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify slightly. Don't bother trying to save a small memcpy.
ipe/softpipe/sp_quad_bufloop.c
|
5ec66cf62dab00a50499bc8d2a666146a334a3cb |
13-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Revert "r300: Corrected off-by-one error in r300_vertprog.c." This reverts commit 07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc.
rivers/dri/r300/r300_vertprog.c
|
07ac2386f5c0ab9c2432d4b5e3490b1e13d033fc |
13-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected off-by-one error in r300_vertprog.c.
rivers/dri/r300/r300_vertprog.c
|
42dcdb9372f541f35c06920368946ebe24696fc4 |
13-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved some hardware initialization into appropriate functions.
rivers/dri/r300/r300_state.c
|
08a005e076d4520f564881e4c7e54b47cc7e20c3 |
13-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use a switch statement in r300UpdateCulling.
rivers/dri/r300/r300_state.c
|
4b08b9c3e9da922d80aaff4720ed2dec026c012e |
13-Jul-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Setup the back facing color bits correctly. Apparently for back facing color to work you must set all 3 color bits; I guess the hardware cannot handle them separately.
rivers/dri/r300/r300_emit.c
|
7c4c82fc6d5301e27643868517aeb23fcb5c40e6 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix width/depth mix-up (bug 11577)
ain/teximage.c
|
f0f9a22609ccf2b8edc5760480f1a7a78cb504d7 |
13-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
minor changes, comments about multiple color buffers, MRT.
ipe/p_state.h
ipe/softpipe/sp_quad_bufloop.c
|
f5eb25e9c7b09612766255f2e2059f3df2bf2095 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix swizzle-related bug 11534
hader/slang/slang_codegen.c
|
a48d767cf2ec82d0c0f893a22d22e8593901b206 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add a quad 'bufloop' stage to handle glDrawBuffer(GL_FRONT_AND_BACK). This removes the notion of multiple color buffers from all other stages. Will need a bit more work when shaders with multiple render targets arrive.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_bufloop.c
ipe/softpipe/sp_quad_colormask.c
ipe/softpipe/sp_quad_output.c
ources
|
8b6517abfc20dc508c2a4cb1f6f22f34a8a70805 |
12-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
don't use driDrawable information directly, don't resize at makecurrent driDrawable information now isn't used in most parts of the driver. makecurrent only updates fb information when the context is new (driDrawable is still updated by the dri common code).
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_tex_copy.c
|
e8ceb5a2eb174f5444eaf5f52925fa161ea7d0a9 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
XXX comment about skipping stipple for points/lines
ipe/softpipe/sp_quad_stipple.c
|
c78f372b1720cf17b0112d7c3296020044bef97b |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/prim_setup/sp_draw_render_stage/, new comments
ipe/softpipe/sp_context.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
|
4f218958cc0bc57196a748cb005f94aeeace037c |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove dead code
ipe/softpipe/sp_state_setup.c
|
ea470eec86715cd2bc9aa86d36e6ea803d0d4017 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename prim_stage -> draw_stage
ipe/draw/draw_clip.c
ipe/draw/draw_context.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_state_setup.c
|
86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added colormask, dither, multisample state. Implement colormasking stage.
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_colormask.c
ources
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_setup.c
|
bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
front/back-face determination was wrong
ipe/draw/draw_twoside.c
|
9e94e9b7980b08038d7d4c6b76b8f184d70ba163 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
culling was inverted
ipe/draw/draw_cull.c
|
62f5f18b3e5b80b6d9592442dc3c994d590c782d |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
handle edge flags for GL_POLYGONs
ipe/draw/draw_vb.c
|
5b06424a1507dadad8832d557e79f68a3b68b9c2 |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix MIN/MAX mix-up
ipe/draw/draw_clip.c
|
e5dd38942989475f7fd8936a98738bbd57de6b50 |
12-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
nv20 also don't support viewport_origin, like nv10
rivers/dri/nouveau/nv20_state.c
|
cd8613e59d2d27b5f41d23d978afe8e33d206447 |
12-Jul-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: match drm 0.0.9 interface
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_screen.c
|
3ffa09b09dfd55c64cb98bd8e7bab0370f93cdbd |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-up of stencil code
wrast/s_stencil.c
|
b755a2d9de5b7977c410a904a8adb7c07c88f82a |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Minor clean-up of polygon offset logic. Properly compute _MRD field.
ain/framebuffer.c
wrast_setup/ss_tritmp.h
|
2371ed36f7761c4fa452e51a41947ed34f2b661b |
12-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused hw_data_offset
ipe/draw/draw_offset.c
|
46d75518fa4d0cb59dd73a9cd22bfd128ecb2c79 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable debug printfs
ipe/softpipe/sp_prim_setup.c
|
aac212966314852936352b024bfd897485aa5e83 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix broken depth offset. The edge vectors were totally wrong. Need to multiply bias units by the min resolvable depth delta.
ipe/draw/draw_offset.c
|
9870f7bccc55f9b1728fa8b9ed78a72ab15d7f4f |
11-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
restrict blitted area to size of rendered area
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffers.c
|
ee7fece05462e3cc00b4f24069748c1401fcacef |
11-Jul-2007 |
Tommy Schultz Lassen <mesa3d@krynn.dk> |
r300: Added support for Back Facing Color.
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_vertprog.c
|
4bd04c9851097ff4dfbfd73f6c62e1bc4143fc0d |
11-Jul-2007 |
Tommy Schultz Lassen <mesa3d@krynn.dk> |
r300: Corrected r300UpdateCulling; would only set font face if culling was set.
rivers/dri/r300/r300_state.c
|
bc4dd63f12059813f6de832e335521eb766f4afb |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete file.
tate_tracker/st_atom_point.c
|
e89bd0fbc56ecfb96f3aff926c5891c45221dd37 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement polygon stipple state tracking, application.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_stipple.c
ipe/softpipe/sp_state_derived.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_stipple.c
|
922dadf422440e120c7123a728454e517289e430 |
11-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv20 does not support hw scissors
rivers/dri/nouveau/nv20_state.c
|
20cf13e03b1703937b4228aba8355b34d664aafb |
11-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix screen corruption on resize. Move buffer resize check to immediately after swapbuffers. Update cliprects inside the locked region of swapbuffers.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
|
300e97081e7e752c0ff9133149d15935baac7a46 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
need to clamp floats to [0,1] in write functions
rivers/x11/xm_surface.c
|
d6aa360eddec0463f3563eff07b06c5d60037826 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix stencil logic error, use proper front/back face value
ipe/softpipe/sp_quad_stencil.c
|
0ac0fb91bd711ec80a058ab23bfe8011baa0a487 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Compute quad.facing from prim->det and polygon winding. Updated comments/questions about area vs. prim->det.
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
|
fb67b1609e211ed16828e10ffc1c36e54f655112 |
11-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove bogus assertion, change drawable updates don't update driDrawable information until later at all (blit needs fixing).
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
|
eb2a896f68e5402764955a30b949d8408d435e73 |
11-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
drop some more code no longer needed
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_screen.c
|
43e24ff50773575d28763d899a4f25bb430418b5 |
11-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
some fixes, fake frontbuffer still doesn't work quite right (resize). Fake frontbuffer doesn't copy in real frontbuffer. Don't even think about doing rotation/page flip/triple buffering for now... More cleanups needed (fake cliprects etc.)
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_state.c
|
73daa688541ec88119804ad190ce5b429e50ea44 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: stencil roughly working, some bugs to fix...
rivers/x11/xm_surface.c
ipe/p_defines.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_surface.h
|
a8ec5dac3c8c564b1c405798f7703e0d8e650f2d |
11-Jul-2007 |
Arthur Huillet <arthur.huillet@free.fr> |
bumped nouveau DRM interface version number
rivers/dri/nouveau/nouveau_screen.c
|
e6eca5c37e13fd0f9100de127075b1bbed0821c0 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Begin hooking up stenciling.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_stencil.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ources
|
227c95737bcf373f934bb96aa0777c45c8575074 |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups
ipe/softpipe/sp_quad_depth_test.c
|
d015d2e0f45ad8e79ccb256b612597ef8ed51d4a |
11-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fill in remaining switch cases. Only call next stage if quad->mask != 0.
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_depth_test.c
|
093d1b42d0d867dae1bcb59d36f3f309994badff |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug printf
rivers/x11/xm_api.c
|
a49a23efc5e320d8c9aa6f4f39be855632aa5cb8 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix line clipping bug. New comments. Need to use a new prim_header for the post-clipped line. Otherwise, we were changing the header passed to us from the vb code. That messed up the vertex pointers for the next line primitive.
ipe/draw/draw_clip.c
|
13aa51de41a93fff1aa5050cebec2a6e0985b45a |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
clamp after offsetting, new comments
ipe/draw/draw_offset.c
|
6aa9c8ebc19ffa4425669862caeb99b22c079090 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded casts, added comments
ipe/draw/draw_cull.c
|
1deafdb1dec24c2920ab92098f1433273b2ccbdd |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Do depth testing with integer values. Using floats (and float->ushort->float conversion) introduces errors. Only GLushort depth buffers work for now...
rivers/x11/xm_surface.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_surface.h
|
f6dffd6ee70473dcbf65420a9c635049199f7a4e |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix problems with polygon offset
tate_tracker/st_atom_setup.c
|
5e4379b5a430bcaf7dea4814341830fce0820cb1 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, clean-up
ipe/draw/draw_context.c
|
1278514ff48b262ee0a4f2ac698c6df648b326a0 |
10-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
copybuffer/cliprect fixups
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.h
|
720c0eb71db9908c5ecef15263c2ae638d61d07b |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added comments
ipe/draw/draw_cull.c
|
1fe4cf83cd929a0ecc1119d3bb541e80618d3987 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix front/back mix-up. added comments.
ipe/draw/draw_unfilled.c
|
17b86cfa4e9403b2d887d832556dc4f1a1271ce0 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Comments, minor clean-up.
ipe/softpipe/sp_state_derived.c
|
e7a208514812506eeb9862b91258392da646b618 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments
ipe/softpipe/sp_context.h
|
57a53856522b749dbe9f88f5887933c253524212 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added comments, assertions.
ipe/softpipe/sp_prim_setup.c
|
8c1fa904edf991159a53b0f4bba04e2f5e326437 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array. Note that attribute index has to be biased by two, since vertex->data[] starts after the header and clipcoord fields. See comments for details. Added a bunch of comments/docs.
ipe/draw/draw_vb.c
|
d68ea4e23fd0cf1fedabb667a8067bfdc3fb308c |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some dead/disabled stuff
ipe/softpipe/sp_prim_setup.c
|
d348a48ac353d7c646a0c4f976f23a764990e779 |
10-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
First attempt at using private back/z buffers. Allocate and use private back and z/stencil buffers. This is still very broken.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
|
7c42222111d3697ea8d76e3d94d7455c69c7f2d1 |
10-Jul-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Better procedure for dropping batchbuffer on virtual resolution change. The previous procedure would often result in a GPU lockup.
rivers/dri/i915tex/intel_context.c
|
f1e1b2ed167b63409a88ba489418e407fce68f21 |
10-Jul-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Only wait for vblank when really necessary. This avoids superfluous waits for vblank timing out under some circumstances.
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
|
a903749b246fce26038c66d06fe7eb77daf815ab |
10-Jul-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Clear pointers to freed cliprects. Not doing this could lead to double frees under rare circumstances.
rivers/dri/common/dri_util.c
|
f4053ce858739167fe57a36aebe1da7110d1a04e |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove softpipe includes
ipe/draw/draw_vb.c
|
ebafc193fac22c4d1d8d4f1c5a129d5dbe1679a2 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/G_/SP_/
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_surface.h
|
a380f98b6cc1da78d0845746ab86c3490a800126 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename G_NEW_* tokens to SP_NEW_*
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_state_setup.c
ipe/softpipe/sp_state_surface.c
|
546eff6ba81e0fc8f15038de6db2a2a5fe228e01 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete file.
ipe/softpipe/sp_state_point.c
|
279ffe3f163fd6a5e7bfa108db14c81acbb06ece |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
New 'draw' module for primitive drawing (clipping, culling, etc).
ipe/draw/draw_clip.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_sampler.c
ipe/softpipe/sp_state_setup.c
ources
|
9fbdf500788e78d63247a17226a75f7a079ae315 |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
New 'draw' module for handling the various stages of primitive drawing (clipping, culling, etc).
ipe/draw/draw_context.c
|
10f4b37bd70c12c8caaa85ff5b94aec532788abd |
10-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename/move some files to modularize the primitive/draw code.
ipe/draw/draw_clip.c
ipe/draw/draw_context.h
ipe/draw/draw_cull.c
ipe/draw/draw_flatshade.c
ipe/draw/draw_offset.c
ipe/draw/draw_private.h
ipe/draw/draw_twoside.c
ipe/draw/draw_unfilled.c
ipe/draw/draw_vb.c
ipe/softpipe/sp_draw.c
ipe/softpipe/sp_draw.h
ipe/softpipe/sp_prim.h
ipe/softpipe/sp_prim_clip.c
ipe/softpipe/sp_prim_cull.c
ipe/softpipe/sp_prim_flatshade.c
ipe/softpipe/sp_prim_offset.c
ipe/softpipe/sp_prim_twoside.c
ipe/softpipe/sp_prim_unfilled.c
|
aa328291c5b015e74ebfd9c5cdb39227265b3000 |
08-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix size test bug in _mesa_test_proxy_teximage(). width/height/depth == 0 is a legal texture size (no error generated). Later, the texture will be considered incomplete, however, and texturing will effectively be disabled. See bug 11309.
ain/teximage.c
|
37ece4df7c654b30b6720044b35a83694d7e5bb3 |
08-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Check if 'indices' parameter is NULL (bug 11314)
ain/api_validate.c
|
25cfb68f0b3baf0e74d1f6a37afab46370f6711b |
08-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.
ain/image.c
ain/image.h
ain/texstore.c
wrast/s_drawpix.c
|
64359af07188c06dcc6a9a95ba05f7e8209a7379 |
08-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
check depthScale value for optimized ushort->uint case (fixes bug 11474)
ain/image.c
|
a164d3aee063580503e5e9a77980059d52c486d7 |
07-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
In _swsetup_Translate(), update dest->attrib[FRAG_ATTRIB_COL0]. Also, check if we're in RGB vs. CI mode. This fixes a problem with incorrect rendering color seen with the redbook/polys demo.
wrast_setup/ss_context.c
|
0bf2479aef5def4d01bfc55b08992f41664f1431 |
07-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add case for GL_QUADS in i915_reduced_primitive_state(). The t_dd_tritemp.h code can emit GL_QUADS primitives. We need to catch that case to determine if polygon stipple should be enabled. Fixes bug reported by Carlos Diógenes on 4 July 2007.
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915tex/i915_vtbl.c
|
f0aa6654e27b279ecb29e9fd19c140cb1ac7946f |
07-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa
|
69501d76fc6a45da48bf4c416ac9e15edd44e7a9 |
06-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
NV_17 is different from NV_10
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv10_swtcl.c
|
2adcd5bdd2ac4931bbbfd16140800330d3fd14f8 |
06-Jul-2007 |
Patrice Mandin <pmandin@caramail.com> |
NV1X don't support VIEWPORT_ORIGIN in hardware
rivers/dri/nouveau/nv10_state.c
|
d086f7ab2e38fc2b5398aed6823453ae53e5dcb8 |
06-Jul-2007 |
Eric Anholt <eric@anholt.net> |
bufmgr_ttm: hook up destroy function, track buffer names.
rivers/dri/common/dri_bufmgr_ttm.c
|
9b32c33e9d87e4571e85efdbb14c6a98a090cae6 |
06-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Fix function names.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
6d8fb1a54301e846c5ff5185ec0aa3b5d4cba823 |
06-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Indent. Fix function prototype.
ipe/tgsi/mesa/mesa_to_tgsi.c
|
3b8bc1f46758d4da9155419fcf558a493e729501 |
06-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
f7643b96e9e526a7610dec51650546e4b916ccd2 |
06-Jul-2007 |
Eric Anholt <eric@anholt.net> |
bufmgr_fake: Keep the bufmgr lock held while freeing a block.
rivers/dri/common/dri_bufmgr_fake.c
|
23e0ca2ebb0d123c7a40bb8b3687adb407c95504 |
05-Jul-2007 |
Eric Anholt <eric@anholt.net> |
Fix copy'n'pasteo that broke display lists.
rivers/dri/i915tex/intel_buffer_objects.c
|
3cf20ddbfc9d3a1dad4c058050595c54589257d3 |
05-Jul-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'i915-unification' of git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
|
ffe58739da9eee2e99682747cc8f26e412c87430 |
05-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Softpipe: import TGSI tree. Not hooked-up yet.
ipe/tgsi/Makefile
ipe/tgsi/core/Makefile
ipe/tgsi/core/tgsi_build.c
ipe/tgsi/core/tgsi_build.h
ipe/tgsi/core/tgsi_core.h
ipe/tgsi/core/tgsi_dump.c
ipe/tgsi/core/tgsi_dump.h
ipe/tgsi/core/tgsi_exec.c
ipe/tgsi/core/tgsi_exec.h
ipe/tgsi/core/tgsi_parse.c
ipe/tgsi/core/tgsi_parse.h
ipe/tgsi/core/tgsi_token.h
ipe/tgsi/core/tgsi_util.c
ipe/tgsi/core/tgsi_util.h
ipe/tgsi/mesa/Makefile
ipe/tgsi/mesa/mesa_to_tgsi.c
ipe/tgsi/mesa/mesa_to_tgsi.h
ipe/tgsi/mesa/tgsi_mesa.h
ipe/tgsi/tgsi_platform.h
ources
tate_tracker/st_cb_program.c
tate_tracker/st_texobj.c
|
ffa2659204121f703208782ff225a22e0c21b173 |
05-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475
ain/image.c
|
575f3e918f00bdc0faa4a173820015b24175696f |
05-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
support "discard";
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_glsl.c
|
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_noop.c
ain/arrayobj.c
ain/context.c
ain/context.h
ain/dlist.c
ain/execmem.c
ain/hash.c
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
ain/varray.c
ain/vtxfmt_tmp.h
ath/m_eval.c
ath/m_eval.h
ath/m_translate.h
ath/m_xform.c
hader/arbprogparse.c
hader/prog_execute.c
hader/shader_api.c
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_label.h
hader/slang/slang_link.c
hader/slang/slang_preprocess.c
hader/slang/slang_typeinfo.c
hader/slang/slang_vartable.c
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/swrast.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_vb_program.c
nl/t_vp_build.c
nl/tnl.h
bo/vbo.h
bo/vbo_context.c
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_exec_eval.c
bo/vbo_rebase.c
bo/vbo_save.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
bo/vbo_split.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
9aa8223605989eec99bc58a7e69ef2f7a9f7f15d |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
assorted clean-ups
rivers/fbdev/glfbdev.c
|
bd9db5eed2cca6cd394c88adf09c70204be9da33 |
04-Jul-2007 |
Eric Anholt <eric@anholt.net> |
fix LogicOp/bitmap problem, bug 11133
rivers/dri/i965/intel_blit.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_pixel_bitmap.c
|
5657fc5b4c6581166430f1a5144f1f8b7e4e78eb |
04-Jul-2007 |
Dave Airlie <airlied@linux.ie> |
r300: only init swtcl on tcl-less cards
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_swtcl.c
|
fb9ee9b323bff93973a39560b2bc007aace4bddd |
04-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa into 965-glsl
|
285b326c606e9b2f90e4fe177b15b3fa23239b86 |
04-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fix issue with output as src register.
rivers/dri/i965/brw_vs_emit.c
|
ac5523a9c31efbb89e58ef99da47b0d81a21409c |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
SIMD comments
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_quad_depth_test.c
|
284efcfc27aaeb447e0898ae3342e9fee20c584a |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
hook in state tracking for blend color
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
tate_tracker/st_atom_blend.c
tate_tracker/st_context.h
|
d378a2c0b87dfc0bee0e8310312fec566148cb63 |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added blend_color
ipe/softpipe/sp_context.h
|
111880798a7b67b79af3f7986e3297268c4b778a |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Blend MIN/MAX modes are special: the src/dest terms are always one.
tate_tracker/st_atom_blend.c
|
f6d4f5e1e9d626356311e1868b35b79d355af739 |
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rewrite blending in terms of SIMD operations.
ipe/softpipe/sp_quad_blend.c
|
7ff4359a3be1278b26950f96ab23014a667af838 |
03-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
added vec2(vec4) constructor, bug 11404
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
a36b5c6d4700a0eaa8c2430f1121babafe9294ed |
03-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
add code for stpq, rgba writemasks in make_writemask(), bug 11404
hader/slang/slang_codegen.c
|
a813f654872380547faf67fba75fa30792f87ea6 |
03-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
clarify that line_stipple_factor is in [0,255] corresponding to GL's range of [1,256].
ipe/p_state.h
tate_tracker/st_atom_setup.c
|
3d04682b7a729ff4471528a57a6bdf64d235a43e |
03-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix StepX/StepY typo
wrast/s_tritemp.h
|
f9b53f648d12ef7e4505d8303e14b90ebd444872 |
03-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
wrast/s_drawpix.c
|
9a45176dd85a1cd523498efeebd0481950a1bf58 |
03-Jul-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030)
ain/texenvprogram.c
|
4fc02ad000a0948ab77306980492924f5beebc0a |
03-Jul-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix a nasty bug...
rivers/dri/i965/brw_vs_emit.c
|
ea92566ed9cabf5eb5d0993b39c4372d5bfcf3f1 |
02-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename a few structs (use _state suffix consistantly), reorder/sort fields in some structs
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_setup.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_context.h
|
9220255d75f14e8bea0c4e677d138f002aec55eb |
02-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
add const to wglSetPixelFormat() to match .h declaration
rivers/windows/gdi/wgl.c
|
06542019a86d4b9e4f4dfb7a73aa131910465230 |
02-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
avoid unnecessary clamping of depth values (bug 11448)
ain/image.c
|
6257ed8663eddb4ebdf99ba69cfe2ced82182ed3 |
02-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: fix compiz crash on swtcl - doesn't fix compiz though. Compiz for some reason looks like ass, everything with textures looks like it has a 2x width/height multiplier on the texture coords...
rivers/dri/r300/r300_swtcl.c
|
33da6cb133dfcfa434a1360123ecf683af329fa0 |
01-Jul-2007 |
Claudio Ciccani <klan@directfb.org> |
Fixed initialization of render buffer and deinitialization of context.
rivers/directfb/idirectfbgl_mesa.c
|
ad1903808037b21eda002857a478c68399ba4519 |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: oops wrong logic for swtcl
rivers/dri/r300/r300_render.c
|
0caee6b006aa2982f743bd60391d2c5406e167b7 |
01-Jul-2007 |
Dave Airlie <airlied@linux.ie> |
r300: oops turn back off cmd buf debugging
rivers/dri/r300/r300_cmdbuf.c
|
f556b7f84c47d9b32d7daa3e1559c92e47305eb2 |
01-Jul-2007 |
Dave Airlie <airlied@linux.ie> |
Merge branch 'r300-swtcl'
|
646ed82e6b2c092c6db364bf87d6881f39e83eec |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix tabbing
rivers/dri/r300/r300_swtcl.c
|
6564e4bffac60a500ac55b6b5ff01919fa28ca0b |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: add authorship
rivers/dri/r300/r300_swtcl.h
|
2d5313db72354ef52e5d041c8c2efac52efc12a9 |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: remove some unused code
rivers/dri/r300/r300_swtcl.h
|
b691d460465f992dc3febde06593341f192be970 |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: cleanup some of the swtcl code
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
|
8f7478e5cb28912f81ec302a3c1b80733a3a6df3 |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: fixup manytex, we needed to emit the vic/vir/vof every time
rivers/dri/r300/r300_swtcl.c
|
885c1326c3ae10b7196d2f7e95f1b6400fe29e12 |
01-Jul-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: fix tabbing
rivers/dri/r300/r300_ioctl.c
|
f4b103dc993491355ec3e3640d9cb060138175c2 |
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify INIT_SPAN code
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_bitmap.c
wrast/s_buffers.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_linetemp.h
wrast/s_points.c
wrast/s_span.h
wrast/s_tritemp.h
wrast/s_zoom.c
|
fcc77d3ece160743e3f0f034ce2e130030c6386d |
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
wrast/s_buffers.c
|
9dca42a4a10acbf1980c0f2eafb3e28e11ca1bf3 |
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors were overwritten by interpolating attributes. Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure we don't overwrite the values in interpolate_active_attribs().
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_zoom.c
|
fb4f4e2d186fac24cafa5e637461042706d4a123 |
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Obsolete
wrast/s_pointtemp.h
|
fc5bf536440efeb9766cc1fd6e69642bc27afbd8 |
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
overhaul point rasterization, no longer use s_pointtemp.h
wrast/s_points.c
|
d523a04853fe9924d8dbf86da08019d17d4f58ef |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
added buffer_data(), buffer_sub_data() to pipe_buffer
ipe/p_state.h
|
e62cf5c69ab605b78324639f5455ac9921e68dba |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
more work on tex objects, surfaces, mappable buffers
ipe/p_state.h
|
48076dc784c910dfee1ebaa6970375495209b839 |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
added texture types and mapping types
ipe/p_defines.h
|
34cbcf92af902ac96553a0578badac5140417daa |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
texture object construction
ources
tate_tracker/st_texobj.c
tate_tracker/st_texobj.h
|
16fdae16b6c34dd93867e98320152fbaac71139e |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/G_CONTEXT_H/SP_CONTEXT_H/
ipe/softpipe/sp_context.h
|
5e4a0f42f243cd5fbc8718660d78705e8c70808f |
09-Jun-2007 |
Ben Skeggs <darktama@nisroch.keine.ath.cx> |
nouveau: match drm changes (0.0.7)
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_query.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
rivers/dri/nouveau/nv30_state.c
|
17e81bda6ed1d2cc4e5c0fad895030911b4fa53c |
08-Jun-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: NV30_TCL viewport/scissor fixes
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv30_state.c
|
767cac149441ee0a8423713a9817c7ac154cbf9e |
29-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add a few missing GL 2.0 entrypoints, regenerate related files. Specifically: glVertexAttrib4bv glVertexAttrib4iv glVertexAttrib4ubv glVertexAttrib4uiv glVertexAttrib4usv
rivers/dri/common/extension_helper.h
lapi/gl_API.xml
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
37aca21129d87946d2dc6b45fa5bacd514921550 |
28-Jun-2007 |
zhang <zxpmyth@yahoo.com.cn> |
a variety of fixes for MingW
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
ain/glheader.h
bo/vbo_exec_api.c
bo/vbo_save_api.c
|
2233d4c1ee53f1cfd016b68d8249b8d934ef17ee |
28-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove obsolete t_save_api.c
nl/t_save_api.c
|
1a55e97c9c1734f0808e4ed570be3826dba24417 |
28-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
increase MAX_POINT_SIZE to 60
ain/config.h
|
3156854c25cb41d7651a992cf30d42bfce04d593 |
28-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
XXX comment about point clamping
ain/points.c
|
369d6654d4cdac7bf964918b2412c71d977bcbf5 |
28-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
added comment, remove dead code
wrast_setup/ss_context.c
|
1be17dc446aa6b0770d76a3eccf79d0faf6608c0 |
27-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
consolidate point/line state into pipe_setup_state
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state.h
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_setup.c
tate_tracker/st_context.h
|
192f9ab81b3e2c88812f540c7a5c820e3783ff8a |
25-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix logic error in updating of quad's Z values. Basic depth testing works now
ipe/softpipe/sp_quad_depth_test.c
|
363e6020429f31d6b923fcd05407d7f3e36bc9ba |
25-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
clean-ups
ipe/softpipe/sp_quad_depth_test.c
|
0717daf4f9861647ae486e0231a56df529630c76 |
25-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
emit quad->outputs.depth[], hack need_z
ipe/softpipe/sp_quad_fs.c
|
8f6d06d037524f012416da5b56889e74bcf09f8f |
25-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
code for functional Z buffer surface
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
tate_tracker/st_atom_framebuffer.c
|
e92903e24c245df80245776ed9423bd933a97740 |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Initial work on merging the real and generated vertex program functions.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
43e601206d9618eb5f9ec9660d9a7e0fa22feff0 |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT.
rivers/dri/r300/r300_state.c
|
62b83638a5ffe4df25994ce5f36c493d51da046e |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: The vpi, vpp, and vps counts are already initialized; don't do it twice.
rivers/dri/r300/r300_state.c
|
b41ef5506153fc2cd471341b4ad1eda2338f2438 |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Clean up the vertex program state code slightly; still needs lots of work.
rivers/dri/r300/r300_state.c
|
252fc61e4860f6a539faaf48f7d657d7d2242fbe |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Vertex program position end bits are known. Possibly performance may improve by setting it to the last instruction that writes result.position, rather than the last instruction in the vertex program.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
27c8488526c5b3b0606cb5a3fbfac7a82246c0bd |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed unused vap_param structure.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
804d3a8f6eaa0beee1504c3e6fbda5dae9f79299 |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up long lines in the vertex functions.
rivers/dri/r300/r300_state.c
|
909091b7dc2ee2875807a1d3ebcb9732fdfeaab3 |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Setup the default state for polygon offset point/line. I believe there are still bugs with all polygon offset types. The point and line types may need to be handled specially, too. This shouldn't break anything because it just enabled the occlusion control bits for polygon offset.
rivers/dri/r300/r300_state.c
|
bf334d852d60b9a5ea21234a816d0acb03f1b48c |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the r300SetupVertexShader function.
rivers/dri/r300/r300_state.c
|
204f9e3fdb83fa9ef94c6e94a5fbd0dfa8d3b3dc |
20-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the r300SetupPixelShader function.
rivers/dri/r300/r300_state.c
|
381b86329e827ea81e4a7e8a99c4aaa21c5ec8ac |
17-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Trivial clean up in radeon_lock.h.
rivers/dri/r300/radeon_lock.h
|
c2577bb1a0a2381789759420576af7b4c8acdfeb |
24-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Restructure z test code slightly. Make the logic slightly closer to an eventual SSE or SPE implementation.
ipe/softpipe/sp_quad_depth_test.c
|
5eb2015a966e52dc0dabfe2c2e923bb5b354ffce |
24-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: 2288 is a tcl only reg
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
5d69aeb0028f44d06093faede5c545908b0df89a |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial texture object, texture format code
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
|
13682d959ddacde1ce65843aa8c5b43dc9017b32 |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
more texture sampler work
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_sampler.c
ources
tate_tracker/st_atom_sampler.c
tate_tracker/st_context.h
|
8754b59667f8196eb884113ef1427b0792de47fd |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
added blend comments
ipe/p_state.h
|
f79c225d9e5adee6287a9bba35f014c3fe00d3f9 |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Assorted token renaming/removal, minor state changes, etc.
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/sp_prim_cull.c
ipe/softpipe/sp_prim_twoside.c
ipe/softpipe/sp_prim_unfilled.c
ipe/softpipe/sp_quad_alpha_test.c
ipe/softpipe/sp_state_setup.c
tate_tracker/st_atom_setup.c
|
1d52b6aaf41b32aaf8d1cdf5a3cd5ff4ecba28f4 |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix bug rendering points with fragment program (see #11330)
wrast/s_points.c
wrast/s_span.c
|
1bf507656921f216a69599143f1aef9bbb170b4e |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix feedback color bug #11332. In feedback mode, produce float colors.
wrast/s_feedback.c
wrast_setup/ss_context.c
|
0f7f6e4e9586b792548349567ba1646fcf1cac44 |
22-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
clean up cache flush emission into one place makes gears work with swtcl
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
|
493ed9fc11a2bf272a2c1e9e5a072e4f02b46554 |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
alpha test and misc changes
ipe/p_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_alpha_test.c
ources
tate_tracker/st_atom_alphatest.c
|
578559822e9a19ae4f981b95c7b01906af560507 |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
93becd8a18f6ccf2f86e506ee36fc0bb75787c29 |
22-Jun-2007 |
Brian <brian@i915.localnet.net> |
fix rgba pointer bug hit on zoomed+fogged glDrawPixels
wrast/s_span.c
wrast/s_zoom.c
|
4d528e54549fb3f12462f9c5ec6e033f1ec91b0f |
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
4fe48b4e8568896cdbc822323aeec0a41c72ff2a |
21-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'origin' into i915-unification
|
5d9dc02cbecd94f822f853fd01878784596f4eba |
21-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Reset saved state for disasm when we've lost the context.
rivers/dri/i915tex/i915_disasm.c
rivers/dri/i915tex/i915_disasm.h
rivers/dri/i915tex/intel_context.c
|
f3f29d632e8a51914b87e087d6ab4d1d6f47b7d7 |
21-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Add decoding of inline primitives in debug output.
rivers/dri/i915tex/i915_disasm.c
|
f972f58d8003de9495af82e7927fb962f460b083 |
21-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Improve fake bufmgr debugging, and don't try to migrate static buffers.
rivers/dri/common/dri_bufmgr_fake.c
|
1a49cd7f5b22eb326b25bddf24a02f68b8150a8d |
21-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Add missing i915_disasm.h header and adjust copyright formatting on the .c
rivers/dri/i915tex/i915_disasm.c
rivers/dri/i915tex/i915_disasm.h
|
ed5ed6fe2f64f45eb3a43f9c57037d9e9b7fa5ea |
21-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a bug in r300LineWidth. Thanks to Panagiotis Papadakos for reporting it.
rivers/dri/r300/r300_state.c
|
171dcdfa27dda30916a7f9bfed89577feee5d350 |
21-Jun-2007 |
Brian <brian@i915.localnet.net> |
Another round of fixing attribute interpolation for glDraw/CopyPixels. Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing glRead/CopyPixels to prevent the user's colors from getting overwritten when a fragment program is active. This was happening in the DRI drivers when MaintainTexEnv program was used (the texenv fragment program was enabled when _swrast_DrawPixels was called). This still isn't an ideal solution, but fixes things for now.
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/intel/intel_pixel.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
|
fe11b2c04bf206bd50654c31e6789519c6c07563 |
21-Jun-2007 |
Brian <brian@i915.localnet.net> |
rename _swrast_update_fragment_attribs()
wrast/s_context.c
|
41d28d97f5916ff1bdaae525c4de0e53e2dc470c |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
clean up color0 code
rivers/dri/r300/r300_swtcl.c
|
36235e5ff169985e010659f0e5af0ab9bf6bbf3d |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
add a mem use for current dma buffer
rivers/dri/r300/r300_ioctl.c
|
faab84cfa6576a166c93d92e3faf3f3582a3a4bd |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix unfilled tris/quads
rivers/dri/r300/r300_swtcl.c
|
d3ef71166d032d1f77f0d83eaca76fbf612ac79c |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
ensure cmd buffer space
rivers/dri/r300/r300_swtcl.c
|
d1be4ab80fc266ba6792ef1151d4bdf804cff92a |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix up vertex emission before state change
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_swtcl.c
|
d19d0596daf004b56d80f78fa1a329b43c2ebf94 |
21-Jun-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
support branch and loop in pixel shader most of the sample working with some small modification
rivers/dri/i965/Makefile
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_glsl.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/brw_wm_state.c
|
025efae411a8146a9766aa863d7baee13c2c79aa |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix secondary color, fog is off for now
rivers/dri/r300/r300_swtcl.c
|
6d8a4312ed0a05c104205236ac1eec69ac457116 |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix projtex
rivers/dri/r300/r300_swtcl.c
|
ad8abf71472ac7d8f25764e7a235ce97cf2fa700 |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fix quad-clip
rivers/dri/r300/r300_swtcl.c
|
08fb0bad728a445adf8eaf4f3978ba9a41b69947 |
21-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
bring over vertex engine setup code from r300_Render and fix up now have gears going.. + a few other trivial textured demoes
rivers/dri/r300/r300_swtcl.c
|
ecfa794037e8be351ecfec0229d1e3b1677ae369 |
21-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: implement z/depth testing
rivers/x11/xm_surface.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_surface.h
tate_tracker/st_atom.c
tate_tracker/st_atom_framebuffer.c
|
24a989c5d1d3a9ba4536d546d20b91c0c3ffa03e |
21-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add state tracker create/destroy calls to i915 driver.
rivers/dri/Makefile.template
rivers/dri/i915tex/intel_context.c
|
78cc48f70afee7edc5291e195af8e6b6ebbf2de9 |
21-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename static variable in temporary tnl code
tate_tracker/st_draw.c
|
b8657e44dc397625f447c83504f545ef13d9851d |
21-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dependency on vf.h in public headers
ipe/p_state.h
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw.c
ipe/softpipe/sp_prim_flatshade.c
ipe/softpipe/sp_prim_twoside.c
ipe/softpipe/sp_state_derived.c
|
2fd7b30bfef0ca29a02f22eb98ce3d3b34bedb27 |
21-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
update includes (s/tile/quad/)
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_output.c
|
47e970b2cc0f375a7432a6c28f6d9218db9807ce |
21-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/tile/quad/
ources
|
e0398f43a2d7b454592135e1ed33a8a6c303ecc9 |
21-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rename "tile" files to "quad".
ipe/softpipe/sp_quad.c
ipe/softpipe/sp_quad.h
ipe/softpipe/sp_quad_blend.c
ipe/softpipe/sp_quad_depth_test.c
ipe/softpipe/sp_quad_fs.c
ipe/softpipe/sp_quad_output.c
ipe/softpipe/sp_tile.c
ipe/softpipe/sp_tile.h
ipe/softpipe/sp_tile_blend.c
ipe/softpipe/sp_tile_depth_test.c
ipe/softpipe/sp_tile_fs.c
ipe/softpipe/sp_tile_output.c
|
acef7c750113e34a92fd00c74308443d8fb3f974 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
only blend active pixels in the quad
ipe/softpipe/sp_tile_blend.c
|
7658a0208aa31f1443be6eaa720a383b34e2bbb3 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
quad blending works now, but many blend terms need to be added in blend_quad().
ipe/softpipe/sp_context.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_blend.c
ipe/softpipe/sp_tile_blend.c
ources
|
fb5cdbd078d4d44fb43d417843debe41148f3714 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial implementation of a software pipeline for quad rasterization (fragment ops). This is very much like the clipper/setup pipeline for primitives.
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_tile.c
ipe/softpipe/sp_tile.h
ipe/softpipe/sp_tile_blend.c
ipe/softpipe/sp_tile_depth_test.c
ipe/softpipe/sp_tile_fs.c
ipe/softpipe/sp_tile_output.c
ources
|
1edb5aafadc16ac0d7c604a3cd4a9c2e91d9b705 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
better comment
tate_tracker/st_draw.c
|
b7c646d1bcf4b6fa285996d1b9b660ce478190f6 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
actually use new glClear code
rivers/x11/xm_dd.c
ipe/softpipe/sp_clear.c
tate_tracker/st_draw.c
tate_tracker/st_draw.h
|
abf45c2a3db39fc1690e282e7f7603bc1d81f647 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix comment
tate_tracker/st_draw.c
|
83b6c46b50ab138551f3af114afbcc2adbee81d2 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug in write_mono_row_ub
rivers/x11/xm_surface.c
|
f9c17ec58a492a7657ea120fa394056a680b9ec5 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
a4af3e5ab3fa0f45c25673c93d802cdff087145c |
20-Jun-2007 |
Brian <brian@i915.localnet.net> |
Effectively disable _TexEnvProgram before calling _swrast_DrawPixels(). It's OK to use _TexEnvProgram regardless of the texture state, but if fog is also enabled, the fragment program is lacking the actual fog computation so fogging doesn't appear. Fixing this might involve a new _MaintainFogProgram field and related code. For now, just disable the _TexEnvProgram and let swrast handle everything.
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/intel/intel_pixel.c
|
b9080dd5493eb23af6c5c494550c7b1cb481ca7b |
20-Jun-2007 |
Brian <brian@i915.localnet.net> |
fix glDrawPixels + fragment program problem
wrast/s_span.c
|
c1cb5412336be0e1067899318403ea573be9bb4d |
20-Jun-2007 |
Brian <brian@i915.localnet.net> |
copy wpos attrib info into zoomed span (fixes fog perspective correction problem)
wrast/s_zoom.c
|
837f2c18c477f0695150b69b69a3a921b08943ec |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement softpipe clearing (untested)
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile_output.c
|
73f96c51052bf5233191d852ef463462306bf1d5 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial work for glClear(), clear color state.
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_clear.c
ipe/softpipe/sp_clear.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_clear_color.c
tate_tracker/st_context.h
|
d7777f45981bf91d2cb31502ba078312b1b4cf13 |
20-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
fixup some bits of tcl path
rivers/dri/r300/r300_emit.c
|
2a6082b5319a21e0af8dc30516c38f7e7d704b04 |
20-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
swtcl: gears works
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_swtcl.c
|
6cb2d0cb71d2019bd2c941a8c042e56275b22c1c |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
hook up point state
ipe/p_context.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_point.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_point.c
tate_tracker/st_context.h
|
af9b5ca0359b5712509d7815a7fbc81a3255f4af |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Re-org of surface/framebuffer state. We should be able to render to any depth/format of X window now.
rivers/x11/xm_surface.c
rivers/x11/xmesaP.h
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile_output.c
ources
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_framebuffer.c
|
bd8eeb7ed09be698896d26c75aa60659efaa25a6 |
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
0e9838263c88d2b88abbedcd338491d08d61a6ac |
19-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
just use regular malloc(), free(), memcpy()
tate_tracker/st_atom.c
|
2137e3053ec87e4463fdbd952537d1bbd1a3dbcd |
19-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
add point/line/polygon state
ipe/p_defines.h
ipe/p_state.h
|
493f7b5f3ae2eb64eaa65e24e79a7a071c359b81 |
19-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added alpha test state.
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.h
ources
tate_tracker/st_atom_alphatest.c
tate_tracker/st_context.h
|
efe6c50089e945902917c8091c92ce3a6155caac |
19-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Define just one set of PIPE_FUNC_LESS, GREATER, EQUAL, etc tokens. Used for depth test, alpha test, stencil test, shadow test, etc.
ipe/p_defines.h
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_stencil.c
|
bf0ae055de73e0cf66085e02ad4881bea497e4cb |
18-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Fix TTM static allocation flags.
rivers/dri/common/dri_bufmgr_ttm.c
|
1ddbfd779b2e11131d3c86406497fe970d8f816b |
18-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Test for TTM presence initially rather than test for lack of classic aperture.
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915tex/intel_screen.c
|
4a841b969ae0f05a4982215a0fc087be12c53e0c |
17-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
more commits to fix things and stuff - still not doing anything except crashin
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_swtcl.c
|
492bc67df1ceefe7580e8d7129f6f11a2f11ea67 |
17-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
swtcl add debug and fix offset
rivers/dri/r300/r300_swtcl.c
|
780ae9f17d23dc1a553e66298d223582f8a7f022 |
17-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
cleaned up reduced prim
rivers/dri/r300/r300_swtcl.c
|
3b8cf84aa5019c0770ef13c571ec17f31041b25a |
17-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
fixup packet setup - still hangs
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_swtcl.c
|
aaf76906e8dcad06a1af26863a6c1faf12014692 |
17-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
add missing swtcl file
rivers/dri/r300/r300_swtcl.h
|
d42888dac3a0b648bf1babfde77e0e104e036831 |
17-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
add more swtcl code to r300 - hangs card now
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_swtcl.c
|
2754ac0878cbcfa13a4c16b8858500d812d9bb8a |
16-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Replace intel_dump_batchbuffer with a more informational version.
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i915_disasm.c
rivers/dri/i915tex/intel_batchbuffer.c
|
7a452b21a2fa329871062a6ee49f0d0f4928d01c |
16-Jun-2007 |
Eric Anholt <eric@anholt.net> |
Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
rivers/dri/i915tex/i915_vtbl.c
|
97fc7685742bfd60d36001ab832f14a003152bae |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
s/PRIM_H/SP_STATE_H/
ipe/softpipe/sp_state.h
|
3cdd8bfe8e5afa57001c605b42bfac1f3fbc4eb8 |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added st_update_framebuffer struct/object.
tate_tracker/st_atom.c
tate_tracker/st_atom.h
|
1119852d0272c5ae43b09024b61f6e53c356ee65 |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
framebuffer state
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_surface.c
|
fde755aefb3559731a734110c7172badee9f14f9 |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
In softpipe_set_viewport() use ordinary (struct) assignment to update softpipe->viewport. The previous memcpy() was incorrect since it only copied 4 bytes instead of 32. With struct assignment we avoid data size errors.
ipe/softpipe/sp_state_clip.c
|
8f6b6eed35832733674372dea7bd5ce69a965c4e |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial framebuffer state
ipe/p_context.h
ipe/p_state.h
ipe/softpipe/sp_context.h
ources
tate_tracker/st_context.h
|
fe1f94f26c5cb43934513a38f60bf00aa542e64c |
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
framebuffer state
tate_tracker/st_atom_framebuffer.c
|
9cde7fb61dd26cd98a26dcb0a54197e8d28ac3be |
15-Jun-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Missing piece of SetTexOffset hook implementation for I830 generation.
rivers/dri/i915tex/i830_vtbl.c
|
943964a1e5bad86bdceb0a06d60fb3b302ebce6a |
14-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename directories again?! Some git wierdness going on.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/g_context.c
ipe/softpipe/g_context.h
ipe/softpipe/g_draw.c
ipe/softpipe/g_draw.h
ipe/softpipe/g_headers.h
ipe/softpipe/g_prim.h
ipe/softpipe/g_prim_clip.c
ipe/softpipe/g_prim_cull.c
ipe/softpipe/g_prim_flatshade.c
ipe/softpipe/g_prim_offset.c
ipe/softpipe/g_prim_setup.c
ipe/softpipe/g_prim_setup.h
ipe/softpipe/g_prim_twoside.c
ipe/softpipe/g_prim_unfilled.c
ipe/softpipe/g_state.h
ipe/softpipe/g_state_clip.c
ipe/softpipe/g_state_derived.c
ipe/softpipe/g_state_fs.c
ipe/softpipe/g_state_setup.c
ipe/softpipe/g_state_surface.c
ipe/softpipe/g_surface.c
ipe/softpipe/g_surface.h
ipe/softpipe/g_tile.h
ipe/softpipe/g_tile_fs.c
ipe/softpipe/g_tile_output.c
ources
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_cbuf.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_setup.c
tate_tracker/st_atom_stencil.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_public.h
|
6393cda6766b707ef01e925d378239a66d143ae0 |
14-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Renamed softpipe directories and files to something less confusing. softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.
ipe/Makefile
ipe/p_context.h
ipe/p_defines.h
ipe/p_state.h
ipe/softpipe/Makefile
ipe/softpipe/g_context.c
ipe/softpipe/g_context.h
ipe/softpipe/g_draw.c
ipe/softpipe/g_draw.h
ipe/softpipe/g_headers.h
ipe/softpipe/g_prim.h
ipe/softpipe/g_prim_clip.c
ipe/softpipe/g_prim_cull.c
ipe/softpipe/g_prim_flatshade.c
ipe/softpipe/g_prim_offset.c
ipe/softpipe/g_prim_setup.c
ipe/softpipe/g_prim_setup.h
ipe/softpipe/g_prim_twoside.c
ipe/softpipe/g_prim_unfilled.c
ipe/softpipe/g_state.h
ipe/softpipe/g_state_clip.c
ipe/softpipe/g_state_derived.c
ipe/softpipe/g_state_fs.c
ipe/softpipe/g_state_setup.c
ipe/softpipe/g_state_surface.c
ipe/softpipe/g_surface.c
ipe/softpipe/g_surface.h
ipe/softpipe/g_tile.h
ipe/softpipe/g_tile_fs.c
ipe/softpipe/g_tile_output.c
ipe/softpipe/sp_context.c
ipe/softpipe/sp_context.h
ipe/softpipe/sp_draw.c
ipe/softpipe/sp_draw.h
ipe/softpipe/sp_headers.h
ipe/softpipe/sp_prim.h
ipe/softpipe/sp_prim_clip.c
ipe/softpipe/sp_prim_cull.c
ipe/softpipe/sp_prim_flatshade.c
ipe/softpipe/sp_prim_offset.c
ipe/softpipe/sp_prim_setup.c
ipe/softpipe/sp_prim_setup.h
ipe/softpipe/sp_prim_twoside.c
ipe/softpipe/sp_prim_unfilled.c
ipe/softpipe/sp_state.h
ipe/softpipe/sp_state_clip.c
ipe/softpipe/sp_state_derived.c
ipe/softpipe/sp_state_fs.c
ipe/softpipe/sp_state_setup.c
ipe/softpipe/sp_state_surface.c
ipe/softpipe/sp_surface.c
ipe/softpipe/sp_surface.h
ipe/softpipe/sp_tile.h
ipe/softpipe/sp_tile_fs.c
ipe/softpipe/sp_tile_output.c
oftpipe/Makefile
oftpipe/generic/Makefile
oftpipe/generic/g_context.c
oftpipe/generic/g_context.h
oftpipe/generic/g_draw.c
oftpipe/generic/g_draw.h
oftpipe/generic/g_headers.h
oftpipe/generic/g_prim.h
oftpipe/generic/g_prim_clip.c
oftpipe/generic/g_prim_cull.c
oftpipe/generic/g_prim_flatshade.c
oftpipe/generic/g_prim_offset.c
oftpipe/generic/g_prim_setup.c
oftpipe/generic/g_prim_setup.h
oftpipe/generic/g_prim_twoside.c
oftpipe/generic/g_prim_unfilled.c
oftpipe/generic/g_state.h
oftpipe/generic/g_state_clip.c
oftpipe/generic/g_state_derived.c
oftpipe/generic/g_state_fs.c
oftpipe/generic/g_state_setup.c
oftpipe/generic/g_state_surface.c
oftpipe/generic/g_surface.c
oftpipe/generic/g_surface.h
oftpipe/generic/g_tile.h
oftpipe/generic/g_tile_fs.c
oftpipe/generic/g_tile_output.c
oftpipe/sp_context.h
oftpipe/sp_defines.h
oftpipe/sp_state.h
oftpipe/state_tracker/Makefile
oftpipe/state_tracker/st_atom.c
oftpipe/state_tracker/st_atom.h
oftpipe/state_tracker/st_atom_blend.c
oftpipe/state_tracker/st_atom_cbuf.c
oftpipe/state_tracker/st_atom_clip.c
oftpipe/state_tracker/st_atom_depth.c
oftpipe/state_tracker/st_atom_fs.c
oftpipe/state_tracker/st_atom_scissor.c
oftpipe/state_tracker/st_atom_setup.c
oftpipe/state_tracker/st_atom_stencil.c
oftpipe/state_tracker/st_atom_viewport.c
oftpipe/state_tracker/st_cb_program.c
oftpipe/state_tracker/st_context.c
oftpipe/state_tracker/st_context.h
oftpipe/state_tracker/st_draw.c
oftpipe/state_tracker/st_draw.h
oftpipe/state_tracker/st_program.h
oftpipe/state_tracker/st_public.h
tate_tracker/Makefile
tate_tracker/st_atom.c
tate_tracker/st_atom.h
tate_tracker/st_atom_blend.c
tate_tracker/st_atom_cbuf.c
tate_tracker/st_atom_clip.c
tate_tracker/st_atom_depth.c
tate_tracker/st_atom_fs.c
tate_tracker/st_atom_scissor.c
tate_tracker/st_atom_setup.c
tate_tracker/st_atom_stencil.c
tate_tracker/st_atom_viewport.c
tate_tracker/st_cb_program.c
tate_tracker/st_context.c
tate_tracker/st_context.h
tate_tracker/st_draw.c
tate_tracker/st_draw.h
tate_tracker/st_program.h
tate_tracker/st_public.h
|
7050a4a7bc779b2c30fbd8244d4e77e6bd3dc30f |
14-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Small optimization for line drawing. And some comments on point sprites.
oftpipe/generic/g_prim_setup.c
|
790ec6ad3face4fb2e1c4b69d9d42bdf332841d6 |
13-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove some dead code.
oftpipe/generic/g_prim_setup.c
|
bc81885bb2b498449a1362997ca67dd53f97d2e7 |
14-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
Initial r300 modes for swtcl it compiles!!
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_swtcl.c
|
f6963f57d9d1e9bf630c05c1c89f188091b12fc5 |
14-Jun-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: remove useless viewport xform with id matrix.
rivers/dri/nouveau/nv10_swtcl.c
|
40cc47f8ee635c131af1328089d4a918555659e2 |
12-Jun-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
move clip to r300 emit
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_render.c
|
144e1e439faf994ad25901aaf2a9d60a1078eed9 |
13-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of a goto
ain/teximage.c
|
261ed740749a7f358573ba470c25ed78d4abd2c4 |
13-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix make clean commands so missing subdirs don't cause infinite loops
akefile
|
ef82f004fab29f5aff809a31cbcb51e381df1a49 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix comment
ain/imports.c
|
edf07417be431ec36c340e21c6c4b6d51eb74363 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).
lapi/gl_x86_asm.py
lapi/glapi.c
86/glapi_x86.S
|
c1ba308e6499a6eb3f970b81a3f25d63da988d1c |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix GLX_USE_TLS breakage, fix a warning
rivers/x11/glxapi.c
|
6378dc3ae302e8a69f482fd99a63a23d1a1730a1 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
simple line drawing code
oftpipe/generic/g_prim_setup.c
|
0fbc4c51a07a5980956d62b3f70c46c65f6c7a57 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rework _mesa_update_texture_compare_function() to only be called during state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ...
ain/texstate.c
ain/texstate.h
wrast/s_fragprog.c
|
495e2c8327ad4b5b7e01971bb3dacf4fd812aedf |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename/clean-up _mesa_validate_texture_wrap_mode
ain/texstate.c
|
84e051b6a0b694b44adee381e388b00062c90b33 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix typo, added comment
ain/texstate.c
|
227315278dea9095cee6e508d03b28720b2e7880 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace texobj->Complete with texobj->_Complete since it's a derived field.
rivers/dri/i915tex/intel_tex_validate.c
rivers/dri/intel/intel_tex_validate.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texstate.c
wrast/s_texfilter.c
|
a28977a4c726ac5023fcefb58695498c0c5ae507 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
typo: s/derrived/derived/
ain/mtypes.h
|
0186f1bc8356bc3c2946d4ffcb5e6d7b61b84e02 |
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Temporarily disable the calls to _mesa_update_texture_compare_function(). This fixes the depth-peel regression reported by Brad King.
wrast/s_fragprog.c
|
cf239ced0deb839b85eedd0dba322969e79f1704 |
11-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug.
ain/context.c
|
c56588407c01760978f524b42abceb677fbaa8f1 |
08-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove dead code
ain/depth.c
|
b96dbd2a3e3b26c45096c73896fa6b109bf8229a |
09-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
r300: i can't see why we fallback for polygon offset line/fill
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
86eecc701e9891d7668cc01002070ff78b938ad2 |
08-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
In supported_buffer_bitmask(), use framebuffer's visual, not context's visual
ain/buffers.c
|
ee170f29552b353bc14be4473f0e517149f47c1d |
08-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
disable depthBits test in check_compatible(), see bug 11161
ain/context.c
|
009ddb4e509f7dd39a17408332c6b0eff47a16fe |
08-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS
ain/config.h
|
55f8b7053065ce88296608071feed6f9540f6c0d |
08-Jun-2007 |
Jouk <joukj@tarantella.(none)> |
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
|
7b559a91028d297b34df9ec939bd4d00fad6027c |
07-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_ARB_fragment_program_shadow.
ain/extensions.c
ain/mtypes.h
ain/texstate.c
hader/arbprogparse.c
wrast/s_fragprog.c
|
84d1b24647c0719551e8bcd5fa4601fbd3b1d555 |
07-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix ARB_fp spec conformance bug WRT shadow sampling. The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
ain/mtypes.h
ain/texstate.c
ain/texstate.h
wrast/s_fragprog.c
wrast/s_texfilter.c
|
871f57365e3ce7d30fe57dba8fd0df2a451f006e |
07-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a comment regarding the R300_VAP_CLIP registers.
rivers/dri/r300/r300_reg.h
|
65b45d6d583cce20c8e025643f8e042b2ae6e778 |
07-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed a "don't think this is needed" comment, it actually is needed. According to the comment you do not need to setup INPUT_CNTL when using vertex buffers. However, not doing so results in a lockup.
rivers/dri/r300/r300_emit.c
|
9c50d8477506dacc7b4f6b96ee92e0801e0e2153 |
07-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.
rivers/dri/r300/r300_reg.h
|
10d5dd685c155d8e7a8f447bcc19a7a59393ec2e |
07-Jun-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up long lines in r300Choose8888TexFormat.
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
8331d9d7aa7cde7126d38d4e1eb5fe8a168077f3 |
05-Jun-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
Add PCI IDs for the G33, Q33, and Q35 chipsets.
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.c
|
08a2cc2d234386550c0810567f58eb4d5fb68945 |
05-Jun-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Better attempt to release miptree when overriding texture image. The previous approach could lead to crashes in FBO code that dereferences the miptree struct pointer unconditionally.
rivers/dri/i915tex/intel_tex_image.c
|
89f070b3bbb86204306857b8cf690abbd56a939d |
05-Jun-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove dubious compile-time test for pre-2.4 Linux kernels. LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty these days. If anybody still cares about 2.2 kernels, they should reinstate this as a proper runtime test.
86/common_x86.c
|
69358e73ce09b392a94df753b9bf3cb2f6ad97b9 |
05-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Updates for array texture shadow targets.
hader/arbprogparse.c
hader/arbprogram.syn
hader/arbprogram_syn.h
|
90630feeec52c6d4f2a17f75cdf3dab9f5baf923 |
02-Jun-2007 |
Dave Airlie <airlied@linux.ie> |
r300: fix non-tcl rs4xx again.
rivers/dri/r300/r300_render.c
|
2ac17c68e2d64260168a54a275e839775828f534 |
31-May-2007 |
Eric Anholt <eric@anholt.net> |
Add buffer manager destroy function.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915tex/intel_screen.c
|
fb7e21514f96c36e4c5abcb6621d48cb16a8c1e1 |
31-May-2007 |
Eric Anholt <eric@anholt.net> |
Remove some stale comments.
rivers/dri/i915tex/intel_regions.c
|
ad6351a994fd14af9d07da4f06837a7f9b9d0de4 |
30-May-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
i915tex: Add support for 945GME
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_screen.c
|
a74eec5af5397b612d60dd4b0d81666027f19bb0 |
30-May-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
i915: Add support for 945GME chip
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.c
|
1b27ef39c9abeaa03d65f477ac4538361f2341cc |
30-May-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
i965: Add pci info for 965GME/GLE chip.
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
|
c9527eae8eb461c82632f89eb7c5244a92e885bc |
31-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_atom_depth.c
ources
|
02a47549ad182d28d330063d4f452108e3a4b452 |
31-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
sketch out texture sampler state
oftpipe/sp_defines.h
oftpipe/sp_state.h
|
092a9ecbba4d766da9c0becf888818c020ac226d |
31-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, clean-up, alphabetize members
oftpipe/sp_context.h
|
8f2888758129b0a40d71fa4ce10d606b4bcf7631 |
31-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
added depth(Z) state support
oftpipe/sp_context.h
oftpipe/sp_defines.h
oftpipe/sp_state.h
oftpipe/state_tracker/st_atom.h
oftpipe/state_tracker/st_context.h
|
4c9b48dcc510929951516f3cd17b98654ac93a9a |
31-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
depth(Z) state
oftpipe/state_tracker/st_atom_depth.c
|
2b7ef2549f017996073f51bc147f508c325a1db6 |
30-May-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix r300SetTexOffset for big endian platforms. This was broken by the unification of the texture format table.
rivers/dri/r300/r300_texstate.c
|
d61a595a5b1752a0f377e9a2e698f723ea4a6207 |
30-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected r300PointSize based on dumping the blob. The OpenGL specification also verifies the default point size should be 1.0.
rivers/dri/r300/r300_state.c
|
da1d9d97959bd1e4c8e359d28b4fd6cafdd4168a |
30-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected r300LineWidth based on dumping the blob. The OpenGL specification also verifies the default line width should be 1.0.
rivers/dri/r300/r300_state.c
|
7c008f365be722876b0563ad68b3ae3ec2e37ba6 |
29-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed goto statement in r300SetupRSUnit.
rivers/dri/r300/r300_state.c
|
e20acd9168acaa920483df98d46cae3fe472f2e9 |
29-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up r300SetupRSUnit.
rivers/dri/r300/r300_state.c
|
705298c281861f49fd4e6af4c6b1ac9d240e3727 |
29-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the state atom checking functions.
rivers/dri/r300/r300_cmdbuf.c
|
6439bc5c0d67a0b55773cefaff6769190684120e |
29-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the state atom debugging code.
rivers/dri/r300/r300_cmdbuf.c
|
f973ae78b28d78c589702f74bfd1f612ff86e866 |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use compile-time endian detection in r300_state.c as well as r300_texstate.c. Probably best to not mix-and-match compile-time and run-time detection...
rivers/dri/r300/r300_state.c
|
97a89227b0edd3ef51d3ef9fd015bff12dc9b97b |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Document registers 0x2220 to 0x2230. These registers are per-pixel and per-vertex X and Y clipping planes.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
779a5c160ff45428279e1ef997fd36338226df39 |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Only support size 4 ELTs; this is what Mesa provides.
rivers/dri/r300/r300_render.c
|
1baef2f080b2afe806e9dc85a5930cb0dfb4c66e |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the CP_PACKET3 macro for Type 3 packets. I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet because some of the Type 3 packet defines are missing from the R300 register definition file. These defines need to be copied from DRM and Mesa into the R300 register definition file then copied into both DRM and Mesa.
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
3e5f8a6c894b7e818443ac08dada65e57610fa69 |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path. The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path relied on the VTXFMT code... I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did after minimizing the code duplication would have taken the same path as the non-OPTIMIZE_ELTS code.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
|
7c893e98a30114059cd69873413a136ba2be768b |
28-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the AOS code in r300_render.c.
rivers/dri/r300/r300_render.c
|
b8813572ae8dc4ec75122945088e40382e2826bf |
27-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a comment in r300VAPInputCntl0.
rivers/dri/r300/r300_emit.c
|
6a2ef09918deb4b4b4bd56380040a5bed1c0d589 |
27-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up r300DestroyTexObj.
rivers/dri/r300/r300_texmem.c
|
7e2c381a22b104a8b91479c8510b564f5a0d548e |
27-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: R300_SE_VTE_CNTL applies to both non-TCL and TCL hardware. See r300ResetHwState.
rivers/dri/r300/r300_ioctl.c
|
5237f863edf4f61447b9b436e2fc4efb4ee819f1 |
26-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for flat/smooth interp for generic/specular attrib
wrast/s_aalinetemp.h
|
6fc596193370aba52ddb742c61a4687c7831897c |
29-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
implement point rendering
oftpipe/generic/g_prim_setup.c
|
1fc08251eece0cd1d859592ab03e775e971dca63 |
27-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines." This reverts commit bb3558e6517209086cf8426bbe4743da50351158. This commit caused a regression reported by Markus Amsler <markus.amsler@oribi.org>. Apparently these defines are required, although I'm not sure why.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d42c8ab630af1ee7a153823f23a46a0e05c01019 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity. Doesn't actually change anything; just makes it easier to read.
rivers/dri/r300/r300_emit.c
|
3b8fc727e611143e35725d987efd1d342893c8a1 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed duplicate AOS format defines; already defined in r300_reg.h.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
|
e96d10a86179242c349138224e61e2ac2e8eac9a |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed unused aos_reg variable.
rivers/dri/r300/r300_context.h
|
e8b8fd366bcc52b9c9227a1a1dc3e7d254b984b1 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa".
rivers/dri/r300/r300_emit.c
|
7bc7f08d882b8e2c569bb69de25fd9d104609dda |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the non-TCL RENDERINPUTS, etc.
rivers/dri/r300/r300_emit.c
|
6be60a389b66fcfcfe90ae848cbbb3f9ef1120dd |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Whitespace cleanup in r300_emit.c.
rivers/dri/r300/r300_emit.c
|
0d8aba9a478a555794921f3d51cfe0c1c631853c |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the r300VAPInputCntl0 function. The function just returns the hard-coded value (0x5555) even though we have no idea what this means...
rivers/dri/r300/r300_emit.c
|
ae0f17d59168692c45bf780ff90fbcebd22e3577 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c.
rivers/dri/r300/r300_emit.c
|
4e98dcb85f5f302771412f62b5efb36f32b010ab |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
f4ad34e8bbabedee76cb723ed0fc5343121ad036 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the t_vic function.
rivers/dri/r300/r300_emit.c
|
fbe705f60025169f9e1c68d34088ef1a4a0fa252 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the t_vir0 and t_vir1 functions.
rivers/dri/r300/r300_emit.c
|
9ed32f42510a7e6a2cc965a27a97a22a0d5c7e0a |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed "dt" to "attribptr" in the t_vir0 function.
rivers/dri/r300/r300_emit.c
|
b9c0a00ed0022f0131dbf3cd9755ba8212ce3908 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Specify the type in the t_vir0 function.
rivers/dri/r300/r300_emit.c
|
9b727e117e26ef6e5a410bc1e2ad9d33e54603eb |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up t_vir0 and t_vir1 slightly.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
|
f78ddc69a0d2d4a61ad8b97bc3abc46bb45cc0c3 |
26-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use C style comments in r300_emit.c.
rivers/dri/r300/r300_emit.c
|
67ac9bf82216e1fe0c3972d9d3af3007ad937e10 |
25-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed a (disabled and unneeded) assertion. The r300EmitVec functions don't touch the buf member so the assertion isn't needed here.
rivers/dri/r300/r300_emit.c
|
d46fa8bbefdd46953e86514e43ef51cd234ecc74 |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
INLINE goes before the function's return type
oftpipe/generic/g_tile_fs.c
|
31a86804aefe167a93d81f1537a24a13204635f2 |
25-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Improved the r300EmitVec debugging information.
rivers/dri/r300/r300_emit.c
|
00d5334899010b0e7c0ba53fdc9b112d20f6c34b |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add some comments to explain things, code clarifications. Also, add quad.facing field for front/back facing. See comments for details.
oftpipe/generic/g_headers.h
oftpipe/generic/g_prim_setup.c
oftpipe/generic/g_tile_fs.c
|
b04270393574e99184f729a757af7f46ebef5e56 |
25-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use #if 0 for disabled code.
rivers/dri/r300/r300_emit.c
|
93206f7815a22fa176c5ab20201c029f18e9b393 |
25-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a TODO note and some tiny cleanups to r300_emit.c.
rivers/dri/r300/r300_emit.c
|
e734369565c816dea47c3c8e2fde76fa09fd9e6c |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #include "GL/glxtokens.h"
rivers/x11/xm_api.c
|
8a6a5dc66008a006211ed0bb1ed4c5a17db4b323 |
25-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use GL_TRUE rather than 1 for the GLboolean type.
rivers/dri/r300/r300_shader.c
|
00a9e4eb8cede0042e53275ddd3894cdeb6db742 |
24-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed unused vpucount macro from r300_state.c.
rivers/dri/r300/r300_state.c
|
cbe4dbef8e8e9ff29d64ca588e81c2bb079d99f1 |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
use GLubyte for stencil ref/mask/clear
oftpipe/sp_state.h
oftpipe/state_tracker/st_atom_stencil.c
|
b9323aa2cb4563fba1b328dbc802d673449056ac |
25-May-2007 |
Eric Anholt <eric@anholt.net> |
Replace the flags/hint arguments to bo_alloc{,_static} with a location mask. Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_regions.c
|
fd9d27e0686f5a15803d13d207e58be1972fdf31 |
24-May-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'master' into i915-unification Conflicts: src/mesa/drivers/dri/i915tex/i830_texstate.c src/mesa/drivers/dri/i915tex/i915_texstate.c
|
008fb50174fb6717f3b71836427bc6be4e44613c |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Stencil state.
oftpipe/sp_context.h
oftpipe/sp_defines.h
oftpipe/sp_state.h
oftpipe/state_tracker/st_atom.c
oftpipe/state_tracker/st_atom.h
oftpipe/state_tracker/st_atom_stencil.c
oftpipe/state_tracker/st_context.h
ources
|
e4b037051e79a607044ed233b7eda66cf1873245 |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix logic for calling _swrast_update_deferred_texture()
wrast/s_context.c
|
2248829b99bf388dfe7ee9c6763f98167b52ba8b |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
added st_atom_blend.c, st_atom_scissor.c
ources
|
6debc8078a7170c26d826e62e2b6542e85813a6c |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement blend state
oftpipe/sp_context.h
oftpipe/sp_state.h
oftpipe/state_tracker/st_atom.c
oftpipe/state_tracker/st_atom.h
oftpipe/state_tracker/st_atom_blend.c
|
7234550cf759fdf3ab325465090c7f5eb3b5d320 |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
#ifndef SP_DEFINES_H protection, copyright
oftpipe/sp_defines.h
|
9267341bd01900bc78700928e5836d0f52572e38 |
25-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
scissor depends on glScissor() and framebuffer size
oftpipe/state_tracker/st_atom_scissor.c
|
3bf0fd60905d18cc6fef7845d68e0c5b530f531b |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
add scissor state
oftpipe/state_tracker/st_atom.c
oftpipe/state_tracker/st_atom.h
|
711af67fe4afa7d982649c101d68474be9294e07 |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
scissor state
oftpipe/state_tracker/st_atom_scissor.c
|
f889ad21da2009f8d49d53a3fa03795e826fb56a |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
define, use SP_MAX_CLIP_PLANES
oftpipe/sp_state.h
oftpipe/state_tracker/st_atom_clip.c
|
b1dc66b7bd9b13498204c32182d0935d3a7d3eec |
24-May-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Add the vf module. This is a cleaned up version of the code in tnl/t_vertex*.
f/vf.c
f/vf.h
f/vf_generic.c
f/vf_sse.c
|
b939adfa155f2b3ca5c5226e86da85629654d79b |
24-May-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the x11 driver as a test harness for the softpipe/state_tracker code. This has some limitations as we currently require a mapped framebuffer, so it only really works with double-buffered ximage rgba8888 windows.
rivers/x11/Makefile
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ain/mtypes.h
ources
|
8e4a95a93d15a6707a29454cd47e10b08314cda2 |
24-May-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
First version of the softpipe rasterizer. This will flesh out to hopefully acheive 3 things: - New software rasterizer for mesa - New driver model for mesa & dri with much smaller drivers - The basis for the cell driver. It's got a long way to go yet, but will at least run trivial/tri.c.
oftpipe/Makefile
oftpipe/generic/Makefile
oftpipe/generic/g_context.c
oftpipe/generic/g_context.h
oftpipe/generic/g_draw.c
oftpipe/generic/g_draw.h
oftpipe/generic/g_headers.h
oftpipe/generic/g_prim.h
oftpipe/generic/g_prim_clip.c
oftpipe/generic/g_prim_cull.c
oftpipe/generic/g_prim_flatshade.c
oftpipe/generic/g_prim_offset.c
oftpipe/generic/g_prim_setup.c
oftpipe/generic/g_prim_setup.h
oftpipe/generic/g_prim_twoside.c
oftpipe/generic/g_prim_unfilled.c
oftpipe/generic/g_state.h
oftpipe/generic/g_state_clip.c
oftpipe/generic/g_state_derived.c
oftpipe/generic/g_state_fs.c
oftpipe/generic/g_state_setup.c
oftpipe/generic/g_state_surface.c
oftpipe/generic/g_surface.c
oftpipe/generic/g_surface.h
oftpipe/generic/g_tile.h
oftpipe/generic/g_tile_fs.c
oftpipe/generic/g_tile_output.c
oftpipe/sp_context.h
oftpipe/sp_defines.h
oftpipe/sp_state.h
oftpipe/state_tracker/Makefile
oftpipe/state_tracker/st_atom.c
oftpipe/state_tracker/st_atom.h
oftpipe/state_tracker/st_atom_cbuf.c
oftpipe/state_tracker/st_atom_clip.c
oftpipe/state_tracker/st_atom_fs.c
oftpipe/state_tracker/st_atom_setup.c
oftpipe/state_tracker/st_atom_viewport.c
oftpipe/state_tracker/st_cb_program.c
oftpipe/state_tracker/st_context.c
oftpipe/state_tracker/st_context.h
oftpipe/state_tracker/st_draw.c
oftpipe/state_tracker/st_draw.h
oftpipe/state_tracker/st_program.h
oftpipe/state_tracker/st_public.h
|
98d2a4a2445bae3597e29472ebcf6deeef35a313 |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
doxygen-ize some comments
ain/mtypes.h
|
f116aed1ede0d802e9f3c5989290002975c00330 |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
ain/attrib.c
|
e5ed09e60e32cf7d5afc778321e417ea97fe8494 |
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
incr/decr 1D/2DArray texture refcounts like other targets
ain/attrib.c
|
f2e99e6a581490b3dd412eb587f31bce43fc8c25 |
23-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Call the r300Fogfv function directly within r300_state.c. This required moving the r300Enable function but there are no actual changes.
rivers/dri/r300/r300_state.c
|
a7008322146f589ed5cb7a563365ff5e31844c62 |
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_tritmp.h
|
491618b33dcb388f5d2335862cba8cf110d72ae7 |
23-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use switch statements in r300ResetHwState, etc.
rivers/dri/r300/r300_state.c
|
f1441bbd180452e4eeab27545d6b9f48c0c54d11 |
23-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Minor indenting corrections in the texture format table.
rivers/dri/r300/r300_texstate.c
|
ba8d3fb13651fd7c7b68c4a0394545b3760fa9c2 |
23-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use a single texture format table; reduces duplication.
rivers/dri/r300/r300_texstate.c
|
9b9a1602f9822c3e29a3dc4f9ed025a4c337b007 |
23-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected the RGB888 texture format entry. I think this is correct, assuming no endian issues. See commmit 59a08923f51d4ed83effbfcd91473c9ee86465f1.
rivers/dri/r300/r300_texstate.c
|
bb3558e6517209086cf8426bbe4743da50351158 |
21-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines. Supposedly you need to set these values for the interpolaters to work, but they seem to work fine without these values.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d062b6cd2672f42fdfe20f6d932aacef9895aebc |
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix point attentuation problem (bug 11042) ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage().
ain/points.c
nl/t_vb_points.c
|
a194bc3a8527ed41eead88632cc79ecabe4c81ac |
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace initInitState() with _mesa_init_driver_state().
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/intel_context.h
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_state.c
|
a99114a69f2b7963ca1f855a320aea8aa56755ac |
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
added _mesa_init_driver_state() to replace duplicated code in intel drivers
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
|
3a2ffadb7c98c040f01340d20289cffe753d48c2 |
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
include swrast_setup/swrast_setup.h to silence warning
rivers/dri/i965/brw_draw.c
|
04255489617f6eeb9604daba14efed8376d1d824 |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)
wrast/s_context.c
|
e0885b84a0e10d6a3c976c8dc52a5fdc175635bb |
22-May-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Implement SetTexOffset hook. Only build tested for I830 generation.
rivers/dri/i915tex/i830_reg.h
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_image.c
|
59a08923f51d4ed83effbfcd91473c9ee86465f1 |
22-May-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Implement SetTexOffset hook.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_screen.c
|
043d219b6da0636886f739613380cf44e334f268 |
22-May-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Add interfaces for overriding texture images with driver specific 'offsets'. To be used by AIGLX for GLX_EXT_texture_from_pixmap without several additional data copies.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
24d965fab52f790188e5de6e67e7387809b1f145 |
22-May-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix xserver build after recent XMesa changes. Only build tested.
rivers/x11/xm_api.c
rivers/x11/xm_image.h
|
9e3e3883fa42ffee82e8e8ecbf75c153a2215acb |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
get rid of GenTexturesLock, used ctx->Shared->Mutex
ain/texobj.c
|
c62da91f44c230b6476b5d7409d2c11e88f1620b |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove the unused texobj Mutex field
ain/mtypes.h
ain/texobj.c
|
5c5ab90c762614ef1db898e1984137d65fb96b7e |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove a VMS-ism that doesn't seem needed elsewhere
ain/texobj.c
|
a01ee8ff0bdc9b80907f2fe48ebf1618ce2ded92 |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
improve some comments, clean-up formatting
ain/teximage.h
ain/texobj.c
ain/texobj.h
|
3898e67f49b375bd0127fb2931468653cc29d5f9 |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove some whitespace
ain/dlist.c
|
a10ba38df7ac80e36db15aaae9f78e7223b2bfae |
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
return True for GLX_Y_INVERTED_EXT query
rivers/x11/fakeglx.c
|
74a30c351fe98f41150dfe81a6aba05087997206 |
22-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fog: fix potential issues with generated vp using fog Change the generated vertex programs (tnl/brw) to follow the same logic as the tnl fog wrt using absolute value, and sync them up a bit (untested).
rivers/dri/i965/brw_vs_tnl.c
nl/t_vp_build.c
|
3e21a014c308a87e1dd7bdabba255aad02d3ad1b |
22-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fog: fix issues with negative fog coords (may fix #10529) Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source is depth, OTOH it does not seem to be necessary to use it (as was done before in some cases) if fog coord source is fogcoord (just to save some work). This fixes tests/fog (the first 2 cases) with i915/i915tex.
nl/t_vb_fog.c
|
7f1879d4e137f9b98d7430976adf9c28c4bf9fcf |
22-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
make sure optimized fog params get updated
hader/prog_statevars.c
|
1078ef83eb3458363bf9709a7c697b39020266ea |
22-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
i915/i915tex: minor cleanup (remove unneeded function call
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915tex/i915_fragprog.c
|
b1c640deda326078b1b2b335646f32b52120be3c |
21-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
unbreak 3d textures (typo when setting tex layout)
rivers/dri/i915tex/i915_tex_layout.c
|
b1fcabefa2f3fa81a20c1556383458315bb49bbf |
21-May-2007 |
Eric Anholt <eric@anholt.net> |
Don't read beyond the end of the buffer with INTEL_DEBUG=bat.
rivers/dri/i915tex/intel_batchbuffer.c
|
b0b84529cf1d61d3a53d402f039b442260788624 |
21-May-2007 |
Eric Anholt <eric@anholt.net> |
Enable INTEL_DEBUG environment variable.
rivers/dri/i915tex/intel_context.h
|
2b325a9f32e4478d324feaa9fcc3706b8bae4a3b |
21-May-2007 |
Eric Anholt <eric@anholt.net> |
Remove unused intel_batchpool.c. This may need to be implemented again, but probably not as a buffer manager (pool).
rivers/dri/i915tex/intel_batchpool.c
|
8b8d4d3e106b1ca7174c834a2f9b494922fc6e72 |
21-May-2007 |
Eric Anholt <eric@anholt.net> |
Notify the fake buffer manager on contended lock take.
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/server/i830_common.h
|
a8676c45ccab52117c70f2e90fd820d745261f51 |
21-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)
ain/light.c
|
9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe |
20-May-2007 |
Brian <brian@yutani.localnet.net> |
Overhaul/simplify SWvertex and SWspan attribute handling. Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
rivers/dri/ffb/ffb_tris.c
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/tdfx/tdfx_tris.c
rivers/x11/xm_line.c
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_bitmap.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_fog.c
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_masking.c
wrast/s_points.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_texcombine.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
nl_dd/t_dd_vb.c
|
aa133a9dae53bc6aa50b88ee43deb8b34e8d0029 |
20-May-2007 |
Brian <brian@yutani.localnet.net> |
add missing right-paren
rivers/dri/Makefile
|
9df4f842d593b5ea0cdc3d9a515afbe638b9051e |
20-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added TODO comment regarding immediate mode implementation.
rivers/dri/r300/r300_render.c
|
62b6eef0d72f42fa73210a67f2afc37547e7b8b5 |
19-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Just use "inline" rather than "__inline__".
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_vertprog.c
|
a2305ebfa213adb16e72d1a819895a68991c9462 |
19-May-2007 |
Brian <brian@yutani.localnet.net> |
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
ain/attrib.c
|
fd54564f78d4aeae2c39ada7502ec659c14b3eca |
19-May-2007 |
Brian <brian@yutani.localnet.net> |
Implement GLX_EXT_texture_from_pixmap. Could be done more efficiently... but works.
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
eb6418b8952f335b6cf58232b5f282fc3e325c7a |
19-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix miptree layout (i915) for small compressed mipmaps This seems to work now. Also fix i945 set_level_info, need to match i915 behaviour for storing mip height, as it's assumed to be the mip width (in texels) elsewhere and the division by 4 is done later (untested).
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/intel/intel_tex_layout.c
|
25551bdfad8541337a4e59e7e3764fa9b876cb19 |
19-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix copy & paste bug of previous commit, breaking dxt5 formats
rivers/dri/intel/intel_tex.c
|
28f53ace336706912fda6cc6877f72bffdcae330 |
19-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix miptree comparison with compressed textures TexelBytes is always 0 with compressed textures, thus would never match mt->cpp. This caused constant blitting around of textures, and it fixes at least the horrible performance of Q3 if compressed textures are enabled.
rivers/dri/i915tex/intel_tex_validate.c
|
3ad9c551b95c6fd8787f6f007bda34df446b53ab |
19-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix small s3tc mipmaps (#10968) make sure that always whole blocks are uploaded. (May still not work correctly if the top mip map is not at least a full block, that is 4 pixels wide - not sure, but probably doesn't happen in real world)
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_tex.c
|
1bdee1853627e08894bd267b8f0ec176a1b5978f |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'master' into i915-unification Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/intel_batchpool.c src/mesa/drivers/dri/i915tex/intel_buffer_objects.c src/mesa/drivers/dri/i915tex/intel_regions.c src/mesa/drivers/dri/i915tex/intel_screen.c src/mesa/drivers/dri/i915tex/intel_screen.h
|
c085e350df593ab2af60f53b86265db4c3eab38a |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Fix a refcounting mistake with first_swap_fence.
rivers/dri/i915tex/intel_blit.c
|
a926b7397bb19dea74995bcb02c0ee5438e4a63c |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Fix another mis-calling of _fence_wait_internal.
rivers/dri/common/dri_bufmgr_fake.c
|
431baf221ea7858ecb5edb2a5a01b5f993147a4d |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Allow unreference with a NULL argument.
rivers/dri/common/dri_bufmgr.c
|
425d0c6305f7781788077452ae9e2de595b0961d |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Fix double-counting of low_offset in block->virtual.
rivers/dri/common/dri_bufmgr_fake.c
|
b0529dcc7bf6aa8330da19d98daa0abaa932cc97 |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Zero out bufmgr_fake on alloc.
rivers/dri/common/dri_bufmgr_fake.c
|
71648a088ee7bfb1a535f32c8afdef4dc2d43e9e |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Dead code elimination and fix bufmgr_fake_wait_idle.
rivers/dri/common/dri_bufmgr_fake.c
|
180f0bb964cd7aa233233dbe3bc6605e07ef1d4c |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Kill old struct bufmgr members.
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_context.h
|
bb1bb88bab809ce47fc5669ceb294b83ed164975 |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Fix some use-before-initialize in bufmgr_fake.
rivers/dri/common/dri_bufmgr_fake.c
|
4cf2cc0d18df67d1d550b777c8db2e088f1c4188 |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Ratchet required version down to 1.5 (pre-TTM).
rivers/dri/i915tex/intel_screen.c
|
4fca6bfa5d211a093c54b0bbeadaa38081e8c141 |
18-May-2007 |
Brian <brian@yutani.localnet.net> |
fix STATE_HALF_VECTOR value (bug 10987)
hader/prog_statevars.c
|
8452814ec6f536fc4177e6c34ff5b8b6d3102a3a |
18-May-2007 |
Christoff Brill <egore@gmx.de> |
change max anisotropy test
rivers/dri/r200/r200_tex.c
|
63155ca2ca9fc935022a083278645bcf6d1ad3dc |
18-May-2007 |
Christoff Brill <egore@gmx.de> |
use R200_DEBUG for debug output
rivers/dri/r200/r200_tex.c
|
0985e786cdd08bf900db889b69783be4bc467e5b |
18-May-2007 |
Christoff Brill <egore@gmx.de> |
remove CVS/XFree86 keywords
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_pixel.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
|
b12b24a430e2d328cbe102612b8a152e5c925cbf |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Restore missing intel_batchbuffer_reset() which was needed.
rivers/dri/i915tex/intel_batchbuffer.c
|
1f08f5d97068ea89f0fa527520a2ccb0a69ea50b |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Rename the i915tex_dri.so driver to just i915_dri.so again.
rivers/dri/i915tex/Makefile
|
cfc21190af1038f204d38ab4764a9c731b0323a5 |
18-May-2007 |
Eric Anholt <eric@anholt.net> |
Convert i915tex to the new interface and make it compile.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_metaops.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_batchpool.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_buffer_objects.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_ioctl.h
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/intel/intel_context.c
|
d834a870e600684382b50d202a2bfc6d98cf6a0b |
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Add missing _EXT suffix to 2D_ARRAY target enums.
ain/teximage.c
|
817181ea5044b222f7612a425562bbc9313d5c75 |
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Add array texture targets to list that can use compressed formats.
ain/teximage.c
|
064cd7c78c3108012f5d15206c70470f7b500259 |
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Refactor determining whether a texture target can use compressed format
ain/teximage.c
|
b5bbe055e4eab8ba83ca3f1ce17aaee01a506c95 |
17-May-2007 |
Brian <brian@yutani.localnet.net> |
make srcPtr param to make_1d_stack_mipmap() const
ain/mipmap.c
|
67f82731fcb87f789135e07f691d41ebd12f0015 |
17-May-2007 |
Tommy Schultz Lassen <mesa3d@krynn.dk> |
r300: Removed the radeon_vertex_buffer structure.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_render.c
|
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb |
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Initial implementation of MESA_texture_array Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
rivers/dri/common/extension_helper.h
lapi/EXT_framebuffer_object.xml
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/attrib.c
ain/config.h
ain/context.c
ain/enable.c
ain/enums.c
ain/extensions.c
ain/fbobject.c
ain/fbobject.h
ain/get_gen.py
ain/mipmap.c
ain/mtypes.h
ain/state.c
ain/teximage.c
ain/texobj.c
ain/texrender.c
ain/texstate.c
hader/arbprogparse.c
hader/arbprogram.syn
hader/arbprogram_syn.h
parc/glapi_sparc.S
wrast/s_texfilter.c
86-64/glapi_x86-64.S
86/glapi_x86.S
|
7b971a50088caeeb2d66d99dbf6bef580a01c5d9 |
17-May-2007 |
Eric Anholt <eric@anholt.net> |
WIP: Replace TTM buffer pool manager with a simplified interface. The interface is not solid yet (some simplification to do still, and adjustment for 0-copy), and the drivers are not converted. However, the new interface allows using the same calls to support either a TTM or a classic static allocation backend, with the static backend allowing a more limited feature set.
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufmgr_fake.c
rivers/dri/common/dri_bufmgr_ttm.c
rivers/dri/common/dri_bufpool.h
rivers/dri/common/dri_drmpool.c
|
b0fe0d8a550c5182b4cd964f8745a104343b7654 |
15-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Bring framebuffer_texture's error checking more in-line with the spec.
ain/fbobject.c
|
c128c3ce8c05549b92607a890c3d10171910f4ba |
14-May-2007 |
Brian <brian@yutani.localnet.net> |
master/trunk is now for Mesa 7.1 devel: bump versions
ain/version.h
|
6a587c01242b6227658ea1160efa34a221d52368 |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
comment about fixing uniform structs
hader/slang/slang_codegen.c
|
524c3336c494be4d556c1685951bf8200e5f5047 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Enable the non-user-buffers code to compile.
rivers/dri/r300/r300_context.h
|
0e7e2110550824ab12b04fb0d1aa9651b6719917 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use e32(0x0) rather than e32(0); makes greping for hex values easier.
rivers/dri/r300/r300_ioctl.c
|
4e641bf3e938361a0c46304f29d040e9f5bc169e |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the defined values when writing to R300_RS_ROUTE_0.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
|
2189ff5e510689f74063b77a03881802ecd482c7 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the defined values when writing to R300_SE_VTE_CNTL. You can verify this is correct with the following code. assert (0x043f == (R300_VTX_W0_FMT | R300_VPORT_X_SCALE_ENA | R300_VPORT_X_OFFSET_ENA | R300_VPORT_Y_SCALE_ENA | R300_VPORT_Y_OFFSET_ENA | R300_VPORT_Z_SCALE_ENA | R300_VPORT_Z_OFFSET_ENA));
rivers/dri/r300/r300_ioctl.c
|
33a73466ae1df4350cc26470056090c91a6edfe9 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values.
rivers/dri/r300/r300_ioctl.c
|
13c0abd8a76ad4e14ad6b7737cdaaf8ff22c5cf2 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Changed some more functions to static functions. This required reordering some of the functions which is why the diff is a little larger.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
82de92c0fb329b464fe19d6cc45080174e019795 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Changed a couple of functions in r300_state.c to static functions.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
e4b8481f396d0347f10eb51486c7fe5b01252457 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the unused r300_aos_rec (replaced by r300_dma_region) structure.
rivers/dri/r300/r300_context.h
|
b5990cec902be0c599ec4962f0d69d6db2e5ec04 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use #if 0 for disabled code, rather than commenting it out.
rivers/dri/r300/r300_tex.c
|
d93642251e3e984d91b3821349e38f68dc582e3d |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed a couple of obsolete/commented out includes.
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
|
c66fd808ac2a2013d8a305e917c8ddeb9e16048d |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: A few very minor indenting corrections.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_mem.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
73449270bb1bae1a4d12ff6c4187e73d9969c174 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the defined values for the interpolater (interp_magic) magic values.
rivers/dri/r300/r300_state.c
|
6f56e68ee305ab60569e449e53442e93d5a938a1 |
13-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01]. You can verify this is correct with the following code. assert (0x00000001 == R300_INPUT_CNTL_0_COLOR); assert (0x00000405 == (R300_INPUT_CNTL_POS | R300_INPUT_CNTL_COLOR | R300_INPUT_CNTL_TC0));
rivers/dri/r300/r300_ioctl.c
|
65fae193831e9fd4b2fc5a1b8170215cc77427dd |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Revert "r300: Perform the locking closer to the DRM texture upload call." This reverts commit 93881edb46fc95e1cfb4ded4e8a5db92612d3e4d.
rivers/dri/r300/r300_texmem.c
|
b78aec576735c663342da8367dccd3de71e70c34 |
12-May-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
bring over recent radeonMakeCurrent fixes for r300 to radeon/r200
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
6bae7d40f725be24df0be196fbb6bdcfd2aaa581 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the name argument to ALLOC_STATE; do the name via the macro.
rivers/dri/r300/r300_cmdbuf.c
|
5f1f1f5704d1336e7376e7e47a9a92868356b88d |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed r300DoEmitState to r300EmitAtoms.
rivers/dri/r300/r300_cmdbuf.c
|
93881edb46fc95e1cfb4ded4e8a5db92612d3e4d |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Perform the locking closer to the DRM texture upload call. This might help if with attaching GDB if the driver gets into a -EAGAIN loop.
rivers/dri/r300/r300_texmem.c
|
56b99ace19cbe36df3e3995a299f28f99ba613fe |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed unused FORCE_32BITS_ELTS define.
rivers/dri/r300/r300_context.h
|
3aad47679e14cf55b07fba5293b102d7ee6abc27 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the unused CPT macro.
rivers/dri/r300/r300_context.h
|
dac5303692726582d2fac2d9e9b620e3105ff8c3 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved r300PackFloat24 near r300PackFloat32.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
64b03f33eeb2f57f1c7a528d011137c6f2612fb0 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added insert_at_tail to the ALLOC_STATE macro.
rivers/dri/r300/r300_cmdbuf.c
|
b8b0dd1e2056742401fe610d205f6272b313dc63 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Revert "r300: Merged radeon_span.c." This reverts commit 0aa998b2ab6fdfe139b54de9868e2383440685d0.
rivers/dri/r300/.gitignore
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/radeon_span.c
|
93f9e61f433788cd70acbe2a8fbdc6a4f5fd0881 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected another error; regexp replaced something it shouldn't have.
rivers/dri/r300/radeon_lock.h
|
f405fbb36de167eb3294358d97e6f62a420f3bff |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected some macro errors from the previous commit.
rivers/dri/r300/radeon_lock.h
rivers/dri/radeon/radeon_lock.h
|
5a09ea01e06a648b37eb167914fb1549e066326d |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Reduced the diff on radeon_lock.[ch].
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/radeon/radeon_lock.h
|
98d25a5a28b1d6e4ed299904aec4104f7d6c80b0 |
12-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Initial work on merging radeon_lock.[ch].
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
|
0aa998b2ab6fdfe139b54de9868e2383440685d0 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Merged radeon_span.c.
rivers/dri/r300/.gitignore
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/radeon_span.c
|
b6087270a092adc18223864a9e961c59404ce1dd |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up function names in r300_texstate.c.
rivers/dri/r300/r300_texstate.c
|
3f709f16ef1feb7c5e6f67c1deef56d97695a86d |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Enable hardware 3D texture support. Fixes the stex3d demo.
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
67363327e59a2f4699802b1a26c232ad092c1c6e |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a small error from 37cbf38c344012f9d6e938937dac3697b73721a8.
rivers/dri/r300/r300_shader.c
|
bcaf8fc7b10327fd7936b22ec9b552e93497cee4 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the blend factor function.
rivers/dri/r300/r300_state.c
|
ef29d6af6c24487a66155586feb9ab3eb0c3a229 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the r300BindProgram function; mesa default does better checking.
rivers/dri/r300/r300_shader.c
|
6a69bb586445da4c6bdfa00fa775a9286ead3c31 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed deprecated/disabled VBO code from r300_mem.c Also removed a couple of unused fields from the r300_memory_manager structure.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_mem.c
rivers/dri/r300/r300_mem.h
|
cbd29adbc8f79b9cdeda531cf6bd866efc5ad89d |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_mem.c; I forgot this because it used to be radeon_mm.c.
rivers/dri/r300/r300_mem.c
|
c729e67321e689e6109b36f64c9fc31f76c10e35 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use __FUNCTION__ not __func__. Just for consistency; most of the code already uses __FUNCTION__.
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
5b23d3661342bbe3857829f3e306623ddb6b3dfe |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Assert if the primitive type is unknown; this can't really happen.
rivers/dri/r300/r300_render.c
|
a87390504f8aa8e5262cf721d28c80da9fcfbd44 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved some code around in r300_render.c and general clean up.
rivers/dri/r300/r300_render.c
|
cc358d861d76c58613145fa764e0481e7b693c2b |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
user-declared uniform structs not supported yet (see bug 10908)
hader/slang/slang_codegen.c
|
749e093e33a46a7201ec795e71e7fba6f756da7b |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
don't ignore return value of _slang_codegen_global_variable()
hader/slang/slang_compile.c
|
eab6e1652271f46361f95e21e9e5afcb5ffa37d7 |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
remove some unneeded code in init_machine()
wrast/s_fragprog.c
|
1b39be3790a093e5b54974221478905b853cadb4 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed some checking in r300NumVerts that is not needed. According to Aapo Tahkola the OpenGL specification defines the behaviour when there are not enough vertices for the primitive type, thus DRI drivers do not need to perform verification on the number of vertices per primitive.
rivers/dri/r300/r300_render.c
|
69ff5a3dbc8f4e72acbfd1bc80598408f9e6a4c4 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Function naming correction in r300_texmem.c.
rivers/dri/r300/r300_texmem.c
|
01ec508c7f722f58139fa3fd5d0a052dd5b5476c |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up function names in r300_state.c.
rivers/dri/r300/r300_state.c
|
d4e3b0b2c28d15eee43ebaadd9cd007ccbad91d6 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up function naming in r300_emit.c.
rivers/dri/r300/r300_emit.c
|
b63c70666fe3187ac17024f29ff7c2c49849c1e0 |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_emit.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
c33c00764c64f63ae71b4bb5264f9796d5762495 |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
Remove unused FB_* tokens, re-indent code.
wrast/s_feedback.c
|
6c342ad8593c3b2fe5162aeb2db8c309c15b2faf |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
When feeding back texcoords, don't divide by W. See bug 10913.
wrast/s_feedback.c
|
86e4f52f3c0f79592c49f7fb4182b500b15431d7 |
11-May-2007 |
Patrick Baggett <baggett.patrick@gmail.com> |
Fix some bugs related to loop counters and conditional branching.
86/3dnow_normal.S
|
f0707c789a4c8f02b9b9f51012bd41691779e166 |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
more indentation fixes, remove 'register' keywords
ain/image.c
|
aed53ba525e4a105a5e817786fa6346d64ad81a6 |
11-May-2007 |
Brian <brian@yutani.localnet.net> |
re-indent some code
ain/image.c
|
544e441f5307aa33c6b2d8fc5773eb7e9632fc15 |
10-May-2007 |
Brian <brian@yutani.localnet.net> |
regenerated
hader/slang/library/slang_common_builtin_gc.h
|
fa546c367d3251b6917f99158c6230fb375a4935 |
10-May-2007 |
Brian <brian@yutani.localnet.net> |
Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function. exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907.
hader/slang/library/slang_common_builtin.gc
|
64a6a50155e665c2b81e9d70ce71cfd5f1fcaef1 |
11-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix reversed enable logic in enable_texture Fix bug inserted in commit c9e723e5013443df984cb3987ffa3a9ba3384b89. Discovered by Oliver McFadden (z3ro).
ain/enable.c
|
c103453d4f95ea5a965c613c9ad337406e7c7cdb |
11-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added TODO comment regarding texture tiling; I'm not sure about this.
rivers/dri/r300/r300_texstate.c
|
d7e3d1dc42664e79d52e7dafd04e834cd4caf9d8 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a compile error introduced by one of the previous commits.
rivers/dri/r300/r300_maos.h
|
02e44e41c8bf4b4311b7d244543a0681db851bdd |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed obsolete start_index16_packet/start_index32_packet. It's all in r300_render.c now.
rivers/dri/r300/r300_emit.h
|
eed67a6e3e98fd189c4a6cb591ad94ff4ccc6871 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved some more emit code into r300_render.c.
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
|
e856edb2794cba9d321486f602a9e07b917ce949 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved some more of the emit code into r300_render.c.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
2f6a0840c4c1d1223ca39ff16ce6ae0cbecbaedf |
10-May-2007 |
Brian <brian@yutani.localnet.net> |
Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled lines, remove obsolete comments.
rivers/dri/Makefile.template
|
c9e723e5013443df984cb3987ffa3a9ba3384b89 |
10-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabled These changes are based on patch review comments from Brian Paul, Alan Hourihane, and vehemens.
ain/enable.c
|
87a980a795b29c5114c07a74aa5d95b6e7a7f971 |
10-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Refactor the loop in unbind_texobj_from_texunits. Common code was pulled out of the per-target if-statment and put at the end of the for-loop. The common code is guarded by a new variable, curr, that is set to point to the unit's current target in each if-statement.
ain/texobj.c
|
e282f89a380bfbc8ad4840b535b499541635ca9f |
10-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB). Most switch-statements that have cases for these enums already use code like: const GLuint idx = pname - GL_SOURCE0_RGB; ... texUnit->Combine.SourceRGB[idx] ... This patch just brings the remaining bits up to speed.
ain/texstate.c
|
e2e4b60c7d9fc3618c0f9d7496c9ce3d5eee3ab5 |
10-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Refactor the way TestProxyTexImage is called in texture_error_check.
ain/teximage.c
|
58dacc8df1f05cf1d9983a3f45b574b0f20f54c6 |
10-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Refactor Enable / Disable and IsEnabled bits related to texture targets.
ain/enable.c
|
518f9168862b2096278ae14a65c8c854c208e004 |
10-May-2007 |
J.Jansen <joukj@tarantella.nano.tudelft.nl> |
Updated OpenVMS makefiles modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/main/descrip.mms modified: src/mesa/shader/descrip.mms modified: src/mesa/shader/slang/descrip.mms modified: src/mesa/swrast/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
escrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
ain/descrip.mms
hader/descrip.mms
hader/slang/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
|
b47018937896c67aabab69a30c485a2620abcf19 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Name the render functions in r300_render.c consistently.
rivers/dri/r300/r300_render.c
|
574bf4d34618308efa390232641e25c034ec3dc7 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Return -1 for error.
rivers/dri/r300/r300_render.c
|
795ebb1a3b5b486e8668086137decfc6ed2a7df5 |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so the performance impact is extremely minimal.
rivers/dri/r300/r300_render.c
|
d0be8b959adae87b920b185fbe4efe6f981837fd |
10-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added some more Doxygen documentation and made some functions static.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_mem.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertprog.c
|
672ecba175d4062b983031df15b686ee39f45d17 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the "texmicrotile" variable; the tiling code is disabled via a compiler conditional anyway; probably broken?
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_texstate.c
|
0dcea4bf8eeddf5d1f3b40c6ba5eedec298b040c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
16c503f39a05726f3e994e42cb1c03e0a308b80d |
10-May-2007 |
Brian <brian@yutani.localnet.net> |
Tweak the shell scripting for descending into and building subdirs. In general, use this: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ (cd $$dir && $(MAKE)) || exit 1; \ fi \ done Basically, silently skip missing subdirs but generate an error and stop if there's a compilation or install problem. This was done inconsistantly before. In once case, a missing subdir was causing us to go into an infinte loop!
rivers/dri/Makefile
|
4d5d4e1f97bf8d5c55ef817f7a28f920accc151b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up radeon_context.h slightly; mostly Indent.
rivers/dri/r300/r300_context.h
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_state.h
rivers/dri/radeon/radeon_context.h
|
a9ab36b8f2f650d6af362ed3be5fd2c1fe40e7eb |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: radeon_span.h is now common code; radeon_span.c still needs some work.
rivers/dri/r300/.gitignore
rivers/dri/r300/Makefile
rivers/dri/r300/radeon_span.h
|
88288b614eb89b8995cbc2ece4bbdb25b7adb191 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300 specific.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_mem.c
rivers/dri/r300/r300_mem.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
|
a15470606125478ae314e7dc00821e46292ac810 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented radeon_span.h
rivers/dri/r300/radeon_span.h
rivers/dri/radeon/radeon_span.h
|
6fe41a4c01f4ec9f280f52901554a58aa8b30627 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Further reduced the radeon_span.c diff.
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/radeon_span.c
|
f4a2b9f83d2b9571a2baea3c430ec15e28ac833c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: I have no idea why this was forced on, but it seems to work fine when restored to the previous behaviour.
rivers/dri/r300/radeon_span.c
|
56c2f7bb42eaeb443e2e273383d1d5974fc89e03 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag. Enabling R300_SPAN_DISABLE_LOCKING would probably cause more lockups; I think there are a couple of other little bugs in this code, too. It's best to remove it.
rivers/dri/r300/r300_context.h
rivers/dri/r300/radeon_span.c
|
df747eb354ca71227c9aa8aa10753be11203ca23 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed a bit of disabled code.
rivers/dri/r300/r300_ioctl.c
|
ff7a41a159099f92248c6560140d1b947c0e8cc5 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Don't need to include the deprecated r300_program.h in some files. The only file that still requires r300_program.h is r300_ioctl.c; and it should use the new defines in r300_reg.h!
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
|
01fdb34b3933e567a902bbec27c942d510872ca1 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300; Indent would destroy r300_reg.h, so add *INDENT-OFF*.
rivers/dri/r300/r300_reg.h
|
3c9e5cb0bda24b73b4e02fc1dbe77ac9c6aed426 |
09-May-2007 |
Christoph Bill <egore@gmx.de> |
r300: Added a few more Doxygen comments.
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_fragprog.c
|
a6aa1f80168a8134286040920d804a8fc86773ce |
09-May-2007 |
Christoph Bill <egore@gmx.de> |
r300: Added some Doxygen comments.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/radeon_context.h
|
967c2d220d795d9f16dbba413d57cb9dcd58ae6d |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted "rp" variables (r300_fragment_program) to "fp".
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_state.c
|
0e6b7eb9c018e2b1e25144ac652350c33768788b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Don't need to sleep here; might cause performance problems the first time.
rivers/dri/r300/radeon_span.c
|
ed42bd6e2005e8d725b29b26f6062e5c008efcce |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the obsolete GLX_DIRECT_RENDERING define.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_tex.h
|
2db667290a19d15122d8d0c011f4b813bb542bc5 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Further reduced the diff between radeon_span.[ch].
rivers/dri/r300/radeon_span.c
rivers/dri/radeon/radeon_span.c
|
cea0c2b14426bf315ae606656274dae5eedd1b6a |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented both copies of radeon_span.[ch] in preparation for merging.
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_span.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
|
2b5ef29a7b90724c47454547acd387f0629fdd1b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the deprecated VTXFMT code. This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
4ed59c6012490e83622057bd16075070fdc49d7f |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: The empty check_space doesn't and never has done anything; removed it.
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
7e7b1f7c4d928e433e60d0d115dcf21a740db57c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fix a couple of static errors.
rivers/dri/r300/r300_render.c
|
c48e4c6f09e4951a871163537a1e2117116e620b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fixed indenting from previous commit d28f6d91760374e2eb71b541b0f259f81dd73c69.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertprog.c
|
4f20fe8a930007ca8fd5ddaf3969902fa60a7714 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse.
rivers/dri/r300/r300_reg.h
|
d28f6d91760374e2eb71b541b0f259f81dd73c69 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fixed some more function names. Note there might be some calls to the old function names in conditionally disabled code, but I think I've got them all.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
fe6a2c4295a138160088fb29a9d89a5d9b8c522a |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Changed r300_run_vb_render calls to r300RunRender in some conditionally disabled code.
rivers/dri/r300/r300_context.h
rivers/dri/r300/radeon_vtxfmt_a.c
|
faf47d9f84d4089e49917bc9a0f7836d3d26436c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a "not implemented yet" comment back.
rivers/dri/r300/r300_render.c
|
f9828f5c4f75683934536482a7eb9b7ef2758700 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa
|
7b165de5f8a4c3d99b8b9f1820e12d5899b3884f |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Last of the indent changes. :)
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_vertprog.c
|
76d7b62cd27fba8b5739e6523fdbf9a14eedefe7 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_cmdbuf.[ch].
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
|
901fc0de18ea1fe7b148d0eb9883080c59b406b1 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_state.[ch].
rivers/dri/r300/r300_state.c
|
c970811dab9e289b9f021cb67f39990f175c7ec5 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_texmem.[ch].
rivers/dri/r300/r300_texmem.c
|
bb97694fad934e53d24012dde42ee6434e4c8397 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_texstate.[ch]
rivers/dri/r300/r300_texstate.c
|
516259d609d1f9c598fefb38d82103211c9463db |
09-May-2007 |
Brian <brian@yutani.localnet.net> |
Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable.
rivers/dri/i915/server/intel_dri.c
rivers/dri/i915tex/server/intel_dri.c
|
3e4302fe3b3cf0d559b1288f3965f800ee35cd41 |
09-May-2007 |
Brian <brian@yutani.localnet.net> |
Check that texture units/samplers specified with glUniform1i() are legal.
hader/shader_api.c
|
dcc8e5f4c1b504c3ddfabda6da2c3d0f2d685c9e |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_tex.[ch].
rivers/dri/r300/r300_tex.c
|
32c8d002d02194241f4b64234f5dcd6652a1f58d |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_context.[ch].
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
|
c9b87b8ad880755fb522cf4abd6d2499022312cf |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the unused immediate vertices mode macro. Immediate vertices mode hasn't been supported since early CVS versions of the R300 driver.
rivers/dri/r300/r300_emit.h
|
5d61cfd1fd4032ae08513979bfd6d7dc1afa9c35 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed a disabled/obsolete e32 in the AOS function.
rivers/dri/r300/r300_emit.h
|
93e957cc65003367b70f23611ef58c1c2bb64b7c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed some disabled R200 code from the R300 driver.
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
3eae496debd51a9bbc4e68be8caa6e1cff6de4d5 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Don't indent the tables in r300_texstate.c.
rivers/dri/r300/r300_texstate.c
|
81c6516af1f3f7284032cb54ffca5225a54f6b26 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_vertprog.[ch].
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
9e91351826002ef86b529ea85c3bfe5d2c58f634 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_fragprog.[ch].
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
328b307e2f7665bda57afa0739680ca61b54f783 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up the R300 Makefile.
rivers/dri/r300/Makefile
|
d316b4dc22f4d5f0b91e665885a090395e2766c7 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected a couple of "control reaches end of non-void function" warnings.
rivers/dri/r300/r300_vertprog.c
|
f0126a76ac9fc9c20b1b1aecf1d476d5fd432f36 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected an error in r300_vertprog.c. Cannot use _mesa_warning here because we don't have a context pointer; perhaps R300 specific warning and error functions are needed.
rivers/dri/r300/r300_vertprog.c
|
b8640db021feca2765df8ad3d31e9c818cc352ac |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected the exit codes for consistency; they are all -1 for error now. The one exception is 300FlushCmdBuf.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_vertprog.c
|
28b47110b617c137ba18b9273c6172135a99b29d |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted exit calls to _mesa_exit calls. Note that the exit codes are inconsistent and should be fixed.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_vertprog.c
|
fe2c58d2d520d49bbf4c922885ae4f0bf27fcde9 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Converted a few fprintf calls to _mesa_warning calls.
rivers/dri/r300/r300_vertprog.c
|
4917955205e474fd6c3ad15a7dc886e04e83f34c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added a warning when texture state update fails.
rivers/dri/r300/r300_texstate.c
|
eca50a27e1ecf5721a2570723b06bf22e7855f86 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed some obsolete code from r300_tex.c.
rivers/dri/r300/r300_tex.c
|
504fafe38942bc26ab9595e9d14be4d42421cd5c |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Updated .gitignore.
rivers/dri/r300/.gitignore
|
72608aedc3b8e2fdf0eb57d1a9b5673d4ddeff6b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added the Linux Kernel indent script.
rivers/dri/r300/Lindent
|
be56660ba0faf41ec61c79aab2b358c6436dd44b |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_state.[ch].
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
36c8bc6141cd8c0aafed02a5fbee15a13b0b0ca1 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_emit.h.
rivers/dri/r300/r300_emit.h
|
5c8296a6ab9ae443fecba220251d70c6670b14ed |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_cmdbuf.[ch].
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
|
6665658a568058150d33cd39dd4635472052b99d |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_shader.[ch].
rivers/dri/r300/r300_shader.c
|
204bc4e441631ae41c6a3f9dfc9af52304235c8e |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_maos.[ch].
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
|
e90ad3dbbbacc954b1f87e9c985739654797ee1a |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Indented r300_ioctl.[ch].
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
|
8d62afdb6a1575642fbe0e4bf3e6b279f92500e2 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the obsolete pfs_reg_t type from r300_fragprog.h.
rivers/dri/r300/r300_fragprog.h
|
59494bafb482b30f3eef468d6f11396418a09a15 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use an array for the vertex program sources and corrected an error from 4960af08ad50a3a6ea039145de2698234c2cc892.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertprog.c
rivers/dri/r300/r300_vertprog.h
|
33939fd29b01e1de7262eb042e4091f1caa8c367 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the ugly CARD32 type.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertprog.h
|
4960af08ad50a3a6ea039145de2698234c2cc892 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed vertex_shader.h to r300_vertprog.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertprog.h
rivers/dri/r300/vertex_shader.h
|
f5b0cafbb11d911949a059688c0dd05e3c5c10b8 |
09-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed obsolete pixel_shader.h header file.
rivers/dri/r300/pixel_shader.h
|
58eac1bbf320b4104c3158aaeca4726f1a59daf9 |
09-May-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Support loop, conditional update fix
rivers/dri/i965/brw_vs_emit.c
|
c578354642b87125d28fd7c46e4e8e734dd0492f |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the VBO functions to the R300 name format.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
d132f7245deabc8bdb7effafcb489df4cee59f2e |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed some deprecated code from r300_context.c and corrected an unused variable warning in r300_render.c.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
|
73bc8b63ac2206a1c1dfd02891493db6e747a36f |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Last few r300_render.c clean up.
rivers/dri/r300/r300_render.c
|
377ce9e074632d99d7b12f17a6e535971f755ba3 |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Merged some comments into the Doxygen documentation.
rivers/dri/r300/r300_render.c
|
f1d785188b170f1d3e79ba257cb8634f13685bca |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up r300_render.c using Indent with appropriate options. This corrects the mess of space and tab indenting that existed in this file, and probably others. The diff is actually very small if you use an external diff program and ignore whitespace.
rivers/dri/r300/r300_render.c
|
313c4c2643e0bf0f52efc4924a395f107ed3a493 |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: General render clean up; added some Doxygen documentation, too.
rivers/dri/r300/r300_render.c
|
fbeae4f70c177ce55fa137f5e0ca5747e914140a |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Moved the pipeline stages together for readability.
rivers/dri/r300/r300_render.c
|
9301a6a32598a948b07bb5b33392e4ea88bde06a |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Print the OpenGL define instead of a 2-digit char code in the warning.
rivers/dri/r300/r300_render.c
|
6c036812be53b741b9801a14aad8163775150ca7 |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Clean up the vertex buffer emission code and reduced code duplication. I tested both the unoptimized and optimized versions with Quake 3 Arena; there are no problems.
rivers/dri/r300/r300_render.c
|
c6abbbfd0296ca0f8e4eecb29fce20cd7125f98a |
08-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Cleaned up a lot of cruft in r300_render.c.
rivers/dri/r300/r300_render.c
|
8a7f474c691dc077c081b59e30937e526400860f |
08-May-2007 |
Dave Airlie <airlied@linux.ie> |
i915/miniglx: remove unused code
rivers/dri/i915tex/server/intel_dri.c
|
f1770c32103ed23d11422e7e33e8326d09d99370 |
07-May-2007 |
Brian <brian@yutani.localnet.net> |
better comments for _mesa_debug(), _mesa_warning(), etc
ain/imports.c
|
8130a4fe982a7583e439a1fac61c5050f85bdf46 |
06-May-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
radeon: enable xpress chipsets glxgears and googleearth now run so that seems like a good start Thanks to Aapo Tahkola for doing the 3D work on this so far, I got lost after the GART changes.
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
8f1c63b263be86758c96d1b8fb4cfc7cac552dab |
06-May-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
rs480: fix secondary color for real this time
rivers/dri/r300/r300_maos.c
|
857ebc6d472c66dbb6ae9d691adfdcffa53335a8 |
06-May-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
Merge branch 'master' of git+ssh://aapot@git.freedesktop.org/git/mesa/mesa
|
660bdc616b01fdca30ca5aebcb5e90b3488e7b49 |
06-May-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
rs480: fix textures and secondary color(?). clipping is still busted. tested on r480
rivers/dri/r300/r300_maos.c
|
88ae491bd224843be963f67db3531857bed68cd1 |
06-May-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
r300: fix broken vbos
rivers/dri/r300/r300_context.h
|
8445960d9fc9271324b2f920c6712750b7229fb6 |
06-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added R300_AA_DISABLE for R300_GB_AA_CONFIG.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
74cae00c0e5333c29b9c4483e0015019452ff7ce |
06-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed more deprecated state code that is now set in separate functions.
rivers/dri/r300/r300_state.c
|
56d966357447d55df838daa8ed3bfcc97d405beb |
06-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: R300_ZS_... is now set in separate functions; removed the deprecated code.
rivers/dri/r300/r300_state.c
|
81d1a04e04185a91ca6ecc0148083c761a52c6c9 |
06-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Point size is now set in a separate function; removed the deprecated code.
rivers/dri/r300/r300_state.c
|
62cbe6c3f3ba972c653d00c3f3797dde576c29fa |
06-May-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use the defined values for R300_VAP_CNTL_STATUS.
rivers/dri/r300/r300_state.c
|
16cec9f7674f9754bc03282d6b5596fbb086acd1 |
06-May-2007 |
Aapo Tahkola <aet@rasterburn.org> |
r300: fix primary color on rs480
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
|
5e2a66466d7f75181ccc54fba70f2a4f95d44272 |
05-May-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
don't use hw to perform vertex transform etc. when using swtcl. This for compatibility with vertex programs and the fact that swtcl very rarely gets hit with tcl capable hw.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
ae5f67575d4696633a877e88e42499c42d8d5238 |
05-May-2007 |
Brian <brian@yutani.localnet.net> |
Makefile clean-ups for miniglx.
rivers/dri/Makefile.template
|
c6443eb1a38946437fe38123f600ed9944a9bb70 |
03-May-2007 |
Brian <brian@yutani.localnet.net> |
fix some matrix/state token indexing bugs (see bug 10848)
rivers/dri/r300/r300_vertprog.c
|
121533defb48abddbf796aed62c1282cfa5234f9 |
03-May-2007 |
Brian <brian@yutani.localnet.net> |
add some #includes to silence warnings
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_draw.c
|
60d136f63c5a5a18b12952ec8e8532cbce086a4d |
03-May-2007 |
Brian <brian@yutani.localnet.net> |
changes to get DDX/DDY working again
wrast/s_fragprog.c
wrast/s_span.c
nl/t_vb_program.c
|
62da6a1b3e341e53981e2817595e0eea107fe6cb |
03-May-2007 |
Brian <brian@yutani.localnet.net> |
Resuscitate some of the DDX,DDY code. Only works for program input registers at this time. Good enough for the common case of texcoords, though.
hader/prog_execute.c
hader/prog_execute.h
|
77e7535c0f94b94d26aa2e3d7b19c812beaba2ae |
03-May-2007 |
Brian <brian@yutani.localnet.net> |
fix some DDX,DDY mix-ups
hader/slang/slang_ir.c
|
5c1b53d58de68582c378e28fbb2fe4c0277139a9 |
02-May-2007 |
Brian <brian@yutani.localnet.net> |
Document a deficiency in the _swrast_Translate() function with regard to point size.
wrast_setup/ss_context.c
nl/t_vertex.c
|
b2f1d6422bee5b08513ae83eb4903c0e20593266 |
02-May-2007 |
Brian <brian@yutani.localnet.net> |
fix some renderbuffer/wrapper bugs
rivers/x11/xm_dd.c
|
99f24c8d17f3a39ff0ebbeb1f7fa80142d8be648 |
02-May-2007 |
Brian <brian@yutani.localnet.net> |
fix some StepX/StepY mix-ups in alpha interpolation
wrast/s_tritemp.h
|
03f201d9353315fc53ac2d7515e77827c8feafa1 |
01-May-2007 |
Brian <brian@yutani.localnet.net> |
regenerated
hader/slang/library/slang_common_builtin_gc.h
|
594b5ad87db09aef7fa2dc9f2d52e567ab92ff70 |
01-May-2007 |
Brian <brian@yutani.localnet.net> |
implement acos(), asin(), atan()
hader/slang/library/slang_common_builtin.gc
|
7559364027eef3d9943d09a03e094400807ecdad |
01-May-2007 |
Brian <brian@yutani.localnet.net> |
Rewrite of slang_inline_asm_function() to do full parameter/argument substitution. We had been taking a short-cut w/ asm inlines by just using parameters in order rather than doing full formal parameter -> actual argument substitution like ordinary inlined function calls. This worked in all cases but one: mix() in which the parameters were used in a different order. This fixes bug 10821.
hader/slang/slang_codegen.c
|
65faf023679988f93da82b4c7ebdc689f2094459 |
30-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Don't crash in radeonUpdatePageFlipping when !radeon->glCtx->DrawBuffer. This feels like a kludge, maybe there's a better solution.
rivers/dri/r300/radeon_lock.c
|
a78b26fff04026a24189ecad7ec85bfe0df2cce1 |
30-Apr-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
support nested function call else instruction fix.
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
c409dbcae3607e6f83f50a28d9bbb51f5ad51be4 |
29-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Page flipping fixes. Mostly making sure the page flipping state is respected when necessary.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_state.c
|
cbf280dc26efa2ad6a8514cd110dcdfcb7c20bd9 |
29-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: radeonMakeCurrent cleanups. r300UpdateWindow is superfluous or even possibly wrong here; _mesa_make_current will set the viewport when necessary. So the conditional _mesa_set_viewport call can go as well.
rivers/dri/r300/radeon_context.c
|
af0ae93863b4c876e70efa4e7406f04a3409f135 |
28-Apr-2007 |
Brian <brian@yutani.localnet.net> |
only load front/back face attrib if using a shader (bug 10788)
wrast/s_fragprog.c
|
bcc3baadbafc3f3deb79e3a753d9ee3867917073 |
28-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)
wrast_setup/ss_context.c
|
4ca7c804db63c9eeaddf1f65dc92006e2cabacec |
28-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)
hader/arbprogram.c
|
bfaf6156fbc81c8073b7562365331d306d4de75a |
28-Apr-2007 |
Keith Packard <keithp@keithp.com> |
additional checks that attr is a texcoord
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_pointtemp.h
|
e371a5f08460f2b7a9574d35171e970c7bde4b5f |
28-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Version bumps for 7.0
ain/version.h
|
cce5084941f3cd23678d07569a07b6b9cf958868 |
27-Apr-2007 |
Brian <brian@yutani.localnet.net> |
"Fix" for bug 9170. May need more attention.
rivers/dri/r300/r300_state.c
|
c4b3b8dece089be52416ddadc0cf23b65f1de00b |
27-Apr-2007 |
Brian <brian@yutani.localnet.net> |
asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
54d59cfb70f270dfec1253aff540953ee653bb7e |
26-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Added error check that all varying vars needed by the fragment shader are produced by vertex shader.
hader/slang/slang_link.c
|
b7f5b8af65603002f73b5f83b34d090536df6e00 |
26-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, such as #10687.
ain/state.c
|
1606f2c1230cc01482b5dacb7596835a00299411 |
26-Apr-2007 |
Brian <brian@yutani.localnet.net> |
enable 2.1 extensions
rivers/windows/gdi/wmesa.c
|
6d27194dffa52e076aba49edb222a70fcc77628b |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix attribsMask (re-fixes depth peeling algorithm)
wrast/s_context.c
|
c233aa27684cd0c6c44200c3afcf4a9d5863a947 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
nl_dd/t_dd_vb.c
|
c93b2a1cb71cef1a7fe900fb937a510ae4005ff2 |
25-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
rivers/dri/mach64/mach64_native_vb.c
|
eca456b63d41700617987ba45a09e8f2168b9577 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/DO_TEXVAR/DO_ATTRIBS/
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
|
4003bde6fffc3e5b9e1a115ba952b988dffb099a |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
get rid of an extra textured triangle function
wrast/s_triangle.c
|
ddcf81990625aae34dfc65fedb17913f279fe9f7 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/TEXTURE/ATTRIBS/
wrast/s_points.c
wrast/s_pointtemp.h
|
9ede048127ea71282fd97e01516dedcfb03e2a23 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
trim down the number of line drawing functions, special cases
wrast/s_lines.c
wrast/s_linetemp.h
|
97693436a5740fb56c29fcd1cb0a1aa562349902 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
only need one CI-mode triangle function
wrast/s_triangle.c
|
8a8a5bd104e8cd9362415db77d5f6a3945939589 |
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/INTERP_TEX/INTERP_ATTRIBS/
wrast/s_triangle.c
wrast/s_tritemp.h
|
286faac68e7f8c51fd1afa801c75db33a427f8b6 |
24-Apr-2007 |
Karl Schultz <k.w.schultz@comcast.net> |
assorted fixes for Windows/VC8
rivers/osmesa/osmesa.def
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
ain/imports.c
hader/slang/slang_vartable.c
|
208ea84524728abc3ae46549c00eebe16c9576b8 |
24-Apr-2007 |
Karl Schultze <k.w.schultz@comcast.net> |
fix double const, move an assertion
hader/slang/slang_codegen.c
|
47ad443c55cf07b32bac04b97066cfd3c2aa3554 |
24-Apr-2007 |
Sean D'Epagnier <sean@depagnier.com> |
Added proper cleanup code
rivers/fbdev/glfbdev.c
|
3db3dc58bcc361637d7473ee4b7c4e3b036c283c |
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
disable some errant code
wrast/s_context.c
|
c27adc52ce48d371b94170581be173b77c16e6e6 |
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
remove SWvertex->fog field, use attrib field
wrast_setup/ss_context.c
|
afc132e7a9c2b2c870b61ef10311272b36ea9bf2 |
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
remove SWvertex->fog field, use attrib field
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_tritemp.h
wrast/swrast.h
|
335769a875d653f6076e653d3f63c6a4ba64dba2 |
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
some re-org, clean-up
wrast_setup/ss_context.c
|
0bdf216dd06d5136b8529297297aa962bab548c2 |
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Improve the code for interpolating fragment attributes a little. More to come...
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_tritemp.h
|
ad02042db2802733bc27809ad05d97db5966fd11 |
22-Apr-2007 |
Sean D'Epagnier <sean@depagnier.com> |
Fixed fallout, glfbdev driver was calling a nop function that was removed.
rivers/fbdev/glfbdev.c
|
f793e90e823a58c0408771c38f3a6209f78a3617 |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix color sum bug 10688.
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
|
112e1f2b5ab86626eb9b3de9075e9f165a397e7b |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
specularColor.alpha should default to 1, not 0
ain/rastpos.c
|
e5cf37c1786057252a4db28d4ae75bd24a0e020b |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690
ain/image.c
|
b5e9b0e56231065f6324bbd3c2c35ca53b46ddf8 |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Remove the !rb->Data check that was added a few months ago. Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns...
wrast/s_depth.c
wrast/s_stencil.c
|
b1502588c4755fa9d3d7b4eabed6332575033037 |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/occlude.h/queryobj.h/
rivers/common/driverfuncs.c
|
74afcabd8599565c1b6d06ea5f355662a81c3778 |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Rename occlude.[ch] to queryobj.[ch]
ain/context.c
ain/dlist.c
ain/queryobj.c
ain/state.c
ources
|
b3ab925e910defa0955cac1adb6167a0bff1076f |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Rename occlude.[ch] to queryobj.[ch] to better reflect contents.
ain/occlude.c
ain/occlude.h
ain/queryobj.c
ain/queryobj.h
|
e261d66d81d47c4a2380ffcb7b39164b8e191168 |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Remove all the USE_MEMPOOL debug code.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_label.c
hader/slang/slang_mem.h
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
hader/slang/slang_vartable.c
|
cd3e39340f057712fcf02a35dff85645e475053a |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Use new memory pool allocator. Lots of debug code still in place...
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_label.c
hader/slang/slang_log.c
hader/slang/slang_mem.c
hader/slang/slang_mem.h
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
hader/slang/slang_vartable.c
|
4e0a64675cbd815f6063977f3effbf21acced3fe |
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
added MemPool field
ain/mtypes.h
|
d5e7234ba80c59505838c67c92501fa7cfde0b66 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
call grammar_alloc_free() to fix memleaks
hader/slang/slang_preprocess.c
|
257f799849a1eb3e81851b92a8fd27efa8f93d47 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove more unused vars, assertions
hader/nvfragparse.c
|
81c4fee160cd2840caf77bbdbf462e783911141a |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove unused vars, assertions
hader/nvfragparse.c
|
1fbdd9d794ca61512eb65d3e228f5fb29fb1ed83 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
added slang_mem.c
ources
|
82839e8430aa7f88357cad887ae2d804072de568 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Memory pool manager. Instead of doing intricate malloc/free tracking during compiling, allocate everything (which would be discarded after compiling) from a pool that can be freed en masse when done.
hader/slang/slang_mem.c
hader/slang/slang_mem.h
|
ced6f76404ff1a6713c85edff17551f82c33cc24 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
undo a test/debug change
wrast/s_fragprog.c
|
4cc2674aee98a4c2972f4f097a89b7b4a30df4ab |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix instruction comment code
hader/prog_instruction.c
hader/program.c
|
a7f7366d382b2fe124f1495baf0360bffa30f0c0 |
20-Apr-2007 |
Brian <brian@yutani.localnet.net> |
another bit of debug code
hader/prog_execute.c
|
11e3f733ba5c26f68fb8a7d69e6f94c1b5361f7d |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
free subroutine array (fix mem leak)
hader/slang/slang_emit.c
|
98ef18909a97dea9a28f0fe30797c0353a1117ce |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
new varnames in slang_operation_insert()
hader/slang/slang_compile_operation.c
|
f2346498aacdfc3e574fed43e0fe13ad3f8e2a2d |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix memleak in slang_operation_insert()
hader/slang/slang_compile_operation.c
|
4b7c6fc5a655bfb8f165cb94521bc49521303a35 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
free shProg->Attributes in _mesa_free_shader_program_data()
hader/shader_api.c
|
fe16b9f6633e468aa2244c36e540c1cfac2517e6 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
move allocation of shProg->Attributes earlier in function
hader/slang/slang_link.c
|
c9855a60f4b4b478bd036db8cefc06d1c7ff521d |
21-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not found. The later incorrectly encourages filing a bug (10703, for example).
ain/texcompress_s3tc.c
|
e7e5279fc06da96c7018855b5933b144caee24ab |
21-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Remove unused Imakefiles.
ain/Imakefile
|
7fd3a6c5219393d77a8e0431d2b49d15f5304c3a |
21-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Long obsolete.
ain/KNOWN_BUGS
|
720cf3aa134ea5b8603aa692777af713864b9b66 |
21-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
added new xm_glide.c file
ources
|
5491c8194c03761a1a45a17539db6bc241bacf9c |
20-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: call _glapi_set_dispatch() for all xserver DDXes. This is to unify the xmesa code across xserver DDX'es. The call is intented for XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded against XGL when it was first added in xserver.
rivers/x11/xm_api.c
|
e4e2068ac9d21ce50e863ccf3171462ab61c3ec8 |
18-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: minor cosmetic mainly drop 'client' argument from initialize_visual_and_buffer().
rivers/x11/xm_api.c
|
6346a753c6e77373cffcec6dd0df253efd159dd4 |
20-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: split FX functions to separate file, part 2.
rivers/x11/xm_api.c
rivers/x11/xm_glide.c
rivers/x11/xm_glide.h
rivers/x11/xmesaP.h
|
4d944b502f8a1ae372d9248e888612bffb5eb6a5 |
20-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: split FX functions to separate file, part 1.
rivers/x11/xm_api.c
rivers/x11/xm_glide.c
rivers/x11/xm_glide.h
rivers/x11/xmesaP.h
|
6aa5668871e7f366b33e85fabc72885fc269a7d4 |
20-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: spilt FX code to separate functions.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
d60009bd6dba15d094b0d0bcb8180b7a2e1c1708 |
20-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Revert "xmesa: drop glide (FX) backend." This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
8b5fce6bcc88cd9dd321f0db95c1714e5e5e85a1 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Put gl_program_machine into swrast structure rather than using a local variable. Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
wrast/s_context.h
wrast/s_fragprog.c
|
020cdb47cf172c6ef8da78abcf6621233439d08b |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix valgrind problem caused by reading text[-1].
hader/grammar/grammar.c
|
121f2212ccfa716e4853d0eead3755103d8c89e4 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove invalid assertion (span->facing may be set because of polygonmode)
wrast/s_stencil.c
|
24a93dd6a427567071bd5aecd7bf53828381bc73 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove invalid assertion
hader/slang/slang_codegen.c
|
00da9afb8493a883b4a4db47484e875781c72c71 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix crash when program has invalid structure field
hader/slang/slang_codegen.c
|
4abcaf3949a7ad9580a05d6029f2289adb4bcf03 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
init A.curFuncEndLabel = NULL
hader/slang/slang_compile.c
|
6bde08815fae2a5ba95e0446d8c73040d1f321bc |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm.
ain/image.c
|
8e6207396c6314d07614c80670f4e3196e3a8551 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Don't allow deferredTexture if using occlusion query and a frag shader. Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
wrast/s_span.c
|
5ca8d4ccf24af1c174ff791f15cf9f19defd9b7e |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix an uninitialized variable and a warning
hader/slang/slang_codegen.c
|
6b3027e291baf6a7dc5e63780d05f89753a13d74 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
comments, assertions
hader/prog_parameter.c
|
8d370fb2eee702e1ba2c622716645d450272549a |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
new comments
hader/prog_parameter.c
|
36a6a59972857676108c4ee72e677734848d3056 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
record proper datatypes for uniforms/samplers
hader/slang/slang_codegen.c
|
addd03da2e254d16088171012c9ca0d157b0d4c2 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
added _slang_gltype_from_specifier()
hader/slang/slang_compile_variable.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
c93e883b205a679aa80f6228459890f9118ad909 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Start fixing some issues with uniform variables and their types.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link.c
|
274ac7a801766a0ae766219ec6a40ed52e479d07 |
19-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix some bugs related to querying active uniforms.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
|
aaa57412c1a682730f27f08bd89a79b8b81f982f |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix error strings, add a sanity check
hader/shader_api.c
|
2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b |
18-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: drop glide (FX) backend. glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
bac15c8db87261ea168caa98d818bd6917ca14d6 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Remove bad assertions, decrement NumShaders in _mesa_detach_shader(). Fixes crashes w/ Brad King's depth peeling test.
hader/shader_api.c
|
f3e8c32376d8bdf1c48a0a2ad97eddcde7fc2f00 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)
ain/context.c
ain/mtypes.h
hader/shader_api.c
|
6d3d9c1c6de33646b63d47892863939ee1b1e624 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
|
e57e752eeef1611cbc8bf9e0aca8c2467267f027 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
call ProgramStringNotify() after linking
hader/slang/slang_link.c
|
884af408644e3fa9aa0ffc544f84ec4a7f3a93b9 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669
wrast/s_span.c
|
30a79f76fc4ae3bbf2307489bf9da1527f124e91 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
improved fog comment
wrast/s_context.c
|
565cd49b5fc7a5bd1e533542888bf322b83b8e56 |
17-Apr-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fig segment fault issue in TAG(triangle), (see bug 10589) Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
wrast_setup/ss_tritmp.h
|
a4b2b8833751555d1e6cbc65f449b7182aa52e54 |
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
omit the glide/svga sources from stand-alone libGL (anyone using them?)
akefile
|
04bda46739beb0dab7c8820bdbe67136470d42be |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Enable texture sampling for vertex programs/shaders. This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
ain/texstate.c
wrast/s_context.c
wrast/s_context.h
nl/t_vb_program.c
|
d2d86a3f0b38716196ea2b3ffa4cbbd0420de1b3 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
In bind_inputs() set VB->EdgeFlag to NULL if it's not needed. Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
nl/t_draw.c
|
9cbcf7c696372c680c87cf60c2e290e78e9e14c8 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
regenerated
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_common_builtin_gc.h
|
468a33d19a0187b55a01660c65306db128280bd3 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix/simplify some texture functions
hader/slang/library/slang_common_builtin.gc
|
893b368a82c4d84b8f2c43c178e4f1881dbfe698 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
more matrix function updates
hader/slang/library/slang_120_core.gc
|
41fc55dd81ebf1def2d4a8df8fee849d6e97eaab |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that generates an error
ain/attrib.c
|
1a9483c95492bee3fbda131181945b6c878bf52f |
17-Apr-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Defer buffer pool creation to the first context creation. This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation.
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
|
36949abec763e56a5356b65e2f2570cfed11d853 |
17-Apr-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
cleanups for t_vb_program.c use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written.
nl/t_vb_program.c
|
6459adf79b0a3622515d5f2197a791538ca2f342 |
17-Apr-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: r300_render.c:391: warning: unused variable 'i'
rivers/dri/r300/r300_render.c
|
4a7c45118d5f122a4550f259424b6820fe3945eb |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
just clean-ups
rivers/dri/i915/i915_state.c
rivers/dri/i915tex/i915_state.c
|
34ca2be76920db75a31abcccde30570b659fed19 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
move GL_EXT_stencil_two_side into alphabetical position
rivers/dri/r300/r300_context.c
|
5888010362debf0f32c1596c9082a16048b29f39 |
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix glActiveStencilFaceEXT dispatch problem (bug 10523). OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags.
rivers/dri/r300/r300_context.c
|
dfee7619d433a8b27fb5573d92873f9355ca6a5d |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove _tnl_arb_vertex_program_stage
rivers/glide/fxdd.c
|
96e05da1c959b3dad7250ccfad1bf540bbec2fbf |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove _tnl_arb_vertex_program_stage
rivers/dri/i915tex/intel_context.c
rivers/dri/intel/intel_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/tdfx/tdfx_context.c
|
1560de2c3c7f9d4e07b34e805e649769ca5a0cbe |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
need to clamp MAD for linear fog
hader/programopt.c
|
921b0084198168effa08f688f078249ae29ee6c3 |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
removed unused t_vb_arbprogram stage
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbprogram_sse.c
|
aa6992a296a51d8a336b88baf9c2a93e0ba5a812 |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove t_vb_arbprogram.c
ources
|
4b3835dadf37267ad5fba8ffd675e826d3691f9a |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
unhook t_vb_arbprogram.c code - it's going away
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_program.c
|
64e8088667d000a70beff93e8c300ac0bd261a60 |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Use generic program limits instead of NV-specific ones to init program constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
ain/context.c
nl/t_vb_arbprogram.c
|
3dfcd48469b63c601010ea43e0d5e9ea1dc5dfab |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix some assertions that could occur when an error was earlier logged.
hader/slang/slang_emit.c
|
e812a2a484660c87383e7e7d8897a9bcf85cf9cc |
16-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use b->display instead of b->xm_visual->display to fix some problems detected w/ valgrind
rivers/x11/xm_buffer.c
|
da56df9d722a2eb8223434d130436bcb6ea47188 |
16-Apr-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
Make sure we are locked when creating drm buffer objects. Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_drmpool.c
rivers/dri/i915tex/intel_batchpool.c
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_screen.c
|
9519785e298c665f8aafe57a6a1b2d5c5d484a6d |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARB
ain/texstate.c
|
83ad64d94a69c23f6b55ba15c7f031140bff3256 |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
implement shadow2DRect functions
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
fde15a2bae2f2ca552763705f12d53e4606feabf |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Fix sample_depth_texture() to handle texture rectangle coords.
wrast/s_texfilter.c
|
216eb81c53908c9ac774a378425691aa66205a88 |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
set osmesa renderbuffer refcount=1 upon creation, free renderbuffer in OSMesaDestroyContext()
rivers/osmesa/osmesa.c
|
4fc46a6c82419ec379896a9b9992c3cb6721904f |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
more _mesa_unreference_framebuffer() calls, remove dead code
ain/context.c
|
e19cfabb6ec091982cc92ec59aa5dedf3cdf2302 |
14-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix negative zoom factor bug (10636), more comments
wrast/s_zoom.c
|
8d8a3cc39816168e5f04a668ae184cafe64d4fd2 |
14-Apr-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: emit different clear paths for non-TCL, this gets the clear color correct
rivers/dri/r300/r300_ioctl.c
|
fb1d22d23d0f2db518f10e6e1aeaea357de61cd9 |
14-Apr-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: remove unneeded semicolon from macro
rivers/dri/r300/r300_emit.h
|
3d59042afdaff9e67c6422cd8fa73d1bbbfbe940 |
14-Apr-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
r300: if we don't have TCL don't setup state emissions for vertex shaders
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
9f8373d5cada37ed71e5908a7158d56d9a4c34d5 |
13-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: drop unused XMesaPutImageHelper. It could only be called from XMesaCopySubBuffer but this function is not used by XFree86. It seems that XMesaPutImageHelper would handle sub-images but never got finished. Proper sub-image helpers should be written if need be.
rivers/x11/xm_image.c
rivers/x11/xm_image.h
|
50aaabc248c9823106ff772873cbf2631d4dadcd |
13-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: export xmesa functions used by xfree86. This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough.
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
30b6f11de1f2f3b9198388451b8a1f73f012c964 |
13-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/version/vertex/
bo/vbo_save_draw.c
|
f11604a30d9ec7ab74f03be2055f8bb8ca4fe211 |
13-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix bug in _playback_copy_to_current(): need to skip version position data (see bug 10587)
bo/vbo_save_draw.c
|
99193e4f7454bf5a9cfa0bc3ee6935d8cc85b7fa |
12-Apr-2007 |
Brian <brian@yutani.localnet.net> |
disable debug printfs
hader/shader_api.c
|
5b74fe08897d8897161566ef4cd59b09474d5837 |
12-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are what's expected.
hader/slang/slang_codegen.c
|
431d650f2b2969951cdc66822d1652da1bf6c286 |
12-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_clear_shader_program_data()
hader/slang/slang_link.c
|
3c008a014f7c1d14209b70b4b030bf7738aa16d7 |
12-Apr-2007 |
Brian <brian@yutani.localnet.net> |
New _mesa_reference_shader/program() function to consolidate refcounting. Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero.
hader/shader_api.c
hader/shader_api.h
|
35707dbe57873adb5a8088cd47c13bd216e143e4 |
12-Apr-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Initial 965 GLSL support
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/intel/intel_context.c
hader/slang/slang_codegen.c
|
bce7043ebcbb75cec727553341af4c66b03732ef |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
regenerated
hader/slang/library/slang_120_core_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
|
70b0e123c408fde95fca4ca699c06167c9a622fa |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint: updating non-square matrix constructors and operators
hader/slang/library/slang_120_core.gc
|
f98f4f6d7a4756c7ed6723abdf5e8ceaf1ff2ed0 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
move/fix texture sampling funcs
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_fragment_builtin.gc
|
afc58f5f7e23e627cb013306664fce8973afabe4 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/Shadow/SHADOW/
hader/slang/slang_compile_variable.c
|
b61d74c57589cf22f003ac7f9db3aa47fd1b3cb2 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
as with prev commit, also fix color index mode zoomed depth copies (bug 10608)
wrast/s_copypix.c
|
9f66025f54a3a9cc33cba56ec7c9f59721ddbec7 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix invalid error detection problem in _mesa_bind_attrib_location(), bug 10602
hader/shader_api.c
|
183d8e06206dd264adabdf8d6b6ad06143d237e8 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix zoomed depth copies (bug 10608)
wrast/s_copypix.c
|
b0bba038467a0b22618be105010b7b3b3859b4e5 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_reference_renderbuffer(), fix typo
rivers/dri/i915tex/intel_fbo.c
|
ba876be0c0711f089c0cde9739f349b137430770 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix/work-around allocation bugs for non-square matrices
hader/slang/slang_codegen.c
|
319ce38fa4984d4cfe8575126bb0d7aa10ef27a1 |
11-Apr-2007 |
Brian <brian@yutani.localnet.net> |
update SLANG version test
hader/slang/slang_compile.c
|
64700be4e11ff735f0530812f6f319628e4b33c5 |
10-Apr-2007 |
Dave Airlie <airlied@nx6125b.(none)> |
rs480: set vap cntl to what fglrx uses for non-TCL cards
rivers/dri/r300/r300_state.c
|
159ecba4b335f09cb9345c67f48187db796f8955 |
10-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915: Bring test for vsync to pipe B in line with i915tex.
rivers/dri/intel/intel_context.c
|
e798d22556e0281240b448d5a0baa0ba9a68e134 |
10-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Add missing generated file.
hader/slang/library/slang_120_core_gc.h
|
0109b4710615d55155b4ef85a599a86769dc0325 |
10-Apr-2007 |
Brian <brian@yutani.localnet.net> |
NULL ptr check
hader/slang/slang_codegen.c
|
7b2626f7d8ed3a336575a7caeb4166434293e535 |
10-Apr-2007 |
Brian <brian@yutani.localnet.net> |
plug in GLSL 1.20 unit
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
19121e2802ced7b4ddb64394bfb03655c3bf03dd |
10-Apr-2007 |
Brian <brian@yutani.localnet.net> |
undo a debug/test change
hader/slang/slang_emit.c
|
e0bbf463428ac51f3ba022b23d93d47b1cfd152d |
10-Apr-2007 |
Dave Airlie <airlied@linux.ie> |
r300: don't enable VAP/TCL on cards that don't support it
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
e8292d28e4aeb96f70140ed627c24b6f30b50a80 |
09-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Fix some mismatches between texels or bytes for pitch/stride.
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_tex_image.c
|
c96974f78cf3bbb94c01d6c84201595b4028d840 |
09-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Make sure texture format fetch hooks are initialized.
rivers/dri/i915tex/intel_tex_image.c
ain/texstore.c
ain/texstore.h
|
6461e91ac3ce6160107d5df7468572c6e943f442 |
09-Apr-2007 |
Dave Airlie <airlied@linux.ie> |
the RS400 definitely doesn't work at this point so don't let it init
rivers/dri/radeon/radeon_screen.c
|
af807a4696866a4ee08bb2a4e95b9c02011db530 |
09-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
enable GLSL 1.20
ain/config.h
ain/extensions.c
|
5c0c60a13cb95032a49aa77ae7275387a351a057 |
09-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
support for GLSL 1.20 non-square matrices
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_print.c
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
ca7885f7337141b50abd8f64d8773cabbf0256fe |
08-Apr-2007 |
Wei Wang <wei.z.wang@intel.com> |
fix bug 9823: GL_CLIENT_ATTRIB_STACK_DEPTH query fails for indirect rendering
lapi/gl_API.xml
|
917675217256480163d437015253d1d2b6cad55c |
08-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Clean up resizing of renderbuffers.
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_fbo.c
|
79bf6924208136247bca2d5f70547f2fe359ecdb |
08-Apr-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
driUpdateFramebufferSize: Use ctx->Driver.ResizeBuffers.
rivers/dri/common/drirenderbuffer.c
|
f72e7fb1d6bbec67f295988ac22087820dee21ce |
08-Apr-2007 |
Brian <brian@i915.localnet.net> |
MAX_TEXTURE_COORDS_ARB and MAX_TEXTURE_IMAGE_UNITS_ARB had wrong glGet info. Fixes bug 10371.
lapi/gl_API.xml
|
20ec486baf6ee0909294e15550773f57f0789ec7 |
07-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Drop XFree86Server from execmem.c This is a remnant from the libcwrapper days that can be removed now. It is the last XFree86 glitch in Mesa core. Reverts the following commit (thanks to Brian Paul for pointing to it): commit 8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <idr@us.ibm.com> Date: Fri Oct 21 18:09:24 2005 +0000 Make execmem.c compile in the server (libGLcore). Since xf86mmap doesn't know about MAP_ANONYMOUS, this is the only viable fix. This issue will likely have to be revisited at some point.
ain/execmem.c
|
4f9d3a07bbe731709e6819448d21dee609a37806 |
07-Apr-2007 |
Richard Hughes <hughsient@gmail.com> |
fix references to non-existant sz4 field
wrast/s_context.c
wrast/s_zoom.c
|
84803279ca83a21d830a76764c25e26e01e7ebc2 |
07-Apr-2007 |
Richard Hughes <hughsient@gmail.com> |
fix some CHAN_TYPE==GL_FLOAT breakage
wrast/s_tritemp.h
|
8d2d6e5194fb49619ed5125d95f8619bdf3b8106 |
07-Apr-2007 |
Brian <brian@yutani.localnet.net> |
fix comment typo
wrast/s_span.c
|
ae55d5322c9cff61f61e8df04bb0846332cc85ce |
06-Apr-2007 |
Brian <brian@yutani.localnet.net> |
for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543
bo/vbo_exec_api.c
bo/vbo_exec_eval.c
|
92b7fa7b48691e95d33bc0580cfad858782622ac |
06-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: use newly added xm_image.[hc] Keep external includes to glxheader.h and xmesa includes to xmesaP.h. Drop the following from xm_image.h: - dix-config.h (comes from glheader.h) - xfree86 includes (come from GL/xmesa_xf86.h) - ifdef __CYGWIN__ (leftover ? xm_api.c has something similar)
rivers/x11/glxheader.h
rivers/x11/xm_image.c
rivers/x11/xm_image.h
rivers/x11/xmesaP.h
|
eb4a8b4bb556524df9a8db066c512385e96d8487 |
06-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
xmesa: add xf86glx_util.[hc] from xserver as xm_image.[hc]
rivers/x11/xm_image.c
rivers/x11/xm_image.h
|
663a3e9ba700c832bfaea1f2131a37c5505d1c25 |
06-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Drop the funky SSE exception test on linux. Replace the check for IN_DRI_DRIVER with the appropriate kernel version check and just disable SSE on older (pre 2.4) kernels.
86/common_x86.c
|
51a894e6ebc3412a6d634a7378806f137374b09a |
06-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
fix color storage bug in convolution path
wrast/s_copypix.c
|
ac32b644eec8d4f88d0dd2ec352fcab4871192a2 |
05-Apr-2007 |
Brian <brian@yutani.localnet.net> |
include points.h to fix warnings
rivers/dri/i810/i810context.c
rivers/dri/i915tex/intel_context.c
rivers/dri/intel/intel_context.c
|
487f7a73cbb8534ab163ef8a3549caa71684b607 |
05-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Remove SI imports/exports remnants.
rivers/dri/common/dri_util.h
ain/imports.c
ain/mtypes.h
|
885111518eeb60664b2ac708512dc8b599060280 |
05-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Move glcontextmodes.c to glx. It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface.
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
|
0cae814f362bd7e648535c8ceae12ad286d20d73 |
05-Apr-2007 |
Brian <brian@yutani.localnet.net> |
temporary add some extra renderbuffer debug code
ain/mtypes.h
ain/renderbuffer.c
|
33c3739628616c0aaf10e51eae50611169ded0dd |
05-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Remove the never-used SI-style imports/exports code.
ain/context.c
ain/context.h
ain/imports.c
ain/imports.h
ain/mtypes.h
|
f9c01c33d3d168ae7c2eadc6c0fb10faada6f6f5 |
04-Apr-2007 |
Brian <brian@yutani.localnet.net> |
init span.y=0 to silence warnings
wrast/s_tritemp.h
|
d4dc57bb13386f4503000dc34c6bf67a8387fc9f |
04-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Overlapping copies with zoomZ=-1 were broken. See bug 10521. Need to check for overlapping src/dest regions before computing bottom-to-top vs. top-to-bottom order.
wrast/s_copypix.c
|
a28e64869022962ee7c0fa7ea7a211cd6b58c4bb |
04-Apr-2007 |
Brian <brian@yutani.localnet.net> |
remove debug printf
rivers/x11/xm_tri.c
|
40ae3943f2ced65cdb77091f7dd31b57a0f422dd |
04-Apr-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i810/i915/i915tex: reinitialize the context point state
rivers/dri/i810/i810context.c
rivers/dri/i915tex/intel_context.c
rivers/dri/intel/intel_context.c
|
dba21ed913da2222e3b55fc8ba724ca93acbabf1 |
02-Apr-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
Fix in t_vp_build: Missed necessary updates sometimes _mesa_update_state doesn't always reset VertexProgram._Current to NULL. This caused us to skip a necessary update of the fixed function vertex program sometimes. Change the logic such that we check for updates whenever the _Current program is either NULL or the program generated by t_vp_build.
nl/t_vp_build.c
|
66d336808d3eb01eab42fb311b932bfe9f7c6b1c |
02-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Call _glapi_set_context(NULL) in _glapi_check_multithread() to make sure the _glapi_Context global gets cleared properly.
lapi/glapi.c
|
dccd9c4f4d3eb4fd31002eb13e32ea78a5d0905c |
02-Apr-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_reference_renderbuffer() in a few more places
ain/fbobject.c
ain/texrender.c
|
3fe47d5c57dfe20a3336df3b9cb2e37f866fe603 |
02-Apr-2007 |
Brian <brian@yutani.localnet.net> |
updated debug printf
ain/renderbuffer.c
|
3fd88089c03f2dbe634ba2611955c6d0a6b2ccd5 |
02-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Fix some bugs/issues related to alpha channel support. See bug 10483.
rivers/x11/xm_api.c
|
0683e4ce4bbbe381cbf59122aaef4ae3671d45e9 |
02-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
If using PF_8A8B8G8R, be sure alpha is correctly handled.
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
|
ec42af9263bfba71074396f3850d5264083a5632 |
02-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
re-order tokens, fix comments
rivers/x11/xmesaP.h
|
00831b5b3bb35bbe5ead2399229495b8ef945406 |
31-Mar-2007 |
Brian <brian@yutani.localnet.net> |
always emit BGN/ENDSUB, for now anyway
hader/slang/slang_emit.c
|
ec6c8f86f3fa0fa19d34dfa1ee1f9e4610e6e9d6 |
31-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix scoping mistake in previous commit that checked for writable LHSs
hader/slang/slang_codegen.c
|
e608d92c5b42d192772066194531db8bfaff86ce |
30-Mar-2007 |
Brian <brian@yutani.localnet.net> |
check that LHS of assignment is writable
hader/slang/slang_codegen.c
|
57dadf71caab2fb85aad930e3e8df6cdc9db209a |
30-Mar-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'origin'
|
adb91c056f896955efcbf627bb1c2012aeb8a735 |
30-Mar-2007 |
Eric Anholt <eric@anholt.net> |
Merge branch 'crestline-qa', adding support for the 965GM chipset.
|
6f652c89d719f537425a8bd6f7e7909966a89a98 |
30-Mar-2007 |
Gustavo Pichorim Boiko <boiko@mandriva.com> |
call DRI_VALIDATE_DRAWABLE_INFO(), bug 10477
rivers/dri/mga/mga_xmesa.c
|
7439a36785b6a2783e80a40a96c09db8f56dc2bc |
06-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Clean and update XMesa/XFree86 interface. Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
ba730e14ed3650748285ebc41a402594b56b2bcf |
29-Mar-2007 |
Brian <brian@yutani.localnet.net> |
cond code fix
hader/slang/slang_emit.c
|
1ba858591bf16ffa43eb2ab24ed1ff9c258ceeab |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix cond code swizzle bug
hader/slang/slang_emit.c
|
f2f5d06853f17bcbecf68ebb07c8cc19a2cfdeb5 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Handle logical NOT and XOR without library functions. Results in much tighter code.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
b2ac30ac36c66122d6d8a73e7057a84b74c3d930 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
optimization for the emit_not() function
hader/slang/slang_emit.c
|
3b7f2f53a222b06ca14fff44b5e1143e1b41e390 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove IR_BREAK_IF_FALSE
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
8128f7143d9c3768df4cf669e97777e021db127a |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
don't generate IR_BREAK_IF_FALSE
hader/slang/slang_codegen.c
|
393a93ea324701ef5a545ba99c7d627ab5f9097f |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Get rid of IR_CONT_IF_FALSE
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
3e7d43cd480203f0f861345776454628df0d9a42 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Get rid of BRK0, BRK1, CONT0, CONT1 instructions.
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_print.c
nl/t_vb_arbprogram.c
|
1bbd69251b2738428795c06bb19c3a21797d6846 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere.
hader/slang/slang_emit.c
|
f841b04601e469f3d4203733d12bb6415d12b9c8 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
simplify, clean-up break/cont code
hader/slang/slang_codegen.c
|
b463d521432c675c6336fde8b39870717e099be5 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added some null ptr checks to handle error recovery
hader/slang/slang_emit.c
|
7e4a7fdddd0b333d6825ac0154affeb520c5f0fe |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Use constant_to_src_reg() to simplify some code
hader/slang/slang_emit.c
|
ee2f31e281969fb505a767630cd04b9e08db1b9a |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added missing returns after slang_info_log_error() calls
hader/slang/slang_codegen.c
|
dad97b4688ea25caf15cae66194db6ddbb98e936 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix, clean-up code related to comparisons, condition codes, etc.
hader/slang/slang_emit.c
|
a01616eed52aa4dfe3b6850b76a4cd8de119a3f3 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
print condcodes if DEBUG_PROG
hader/prog_execute.c
|
d750861dc26e3898afa2b49e3969d709dc227664 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
expose _mesa_condcode_string(), fix some printing
hader/prog_print.c
hader/prog_print.h
|
59f7f6dbe9e197482f6b5e50c6a910f86c4f6694 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
check that if/while/do-while condition is boolean or scalar
hader/slang/slang_codegen.c
|
ad766b5785c728e988e25509604c08fc347aba23 |
28-Mar-2007 |
Alan Hourihane <alanh@fairlite.demon.co.uk> |
Add missing OSMesaColorClamp function
rivers/osmesa/osmesa.c
|
e5d00e8cf4659f03fe3061326a24b6a670f7c8f2 |
28-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Implement true CAL/RET subroutines. Some optimizations, clean-ups coming...
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
31dc7a3c890a831f9a0d20dc394ddbe854a05718 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix another pc off-by one
hader/prog_execute.c
|
17238f1ee52ddb9d9ef4282498de3b4406245a7f |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added _slang_label_new_unique()
hader/slang/slang_label.c
hader/slang/slang_label.h
|
f407cada8aa0bfea1b8dfae766392162c702aaa4 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix some printing issues related to subroutines
hader/prog_print.c
|
e713ef66ef759d902c08a8cb8eb0e0cfe9373699 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix a fragment fog regression
nl/t_context.c
|
a0275b0d2c071ed8254c2af3a0c53eec9d3561a6 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix off by one error in OPCODE_RET
hader/prog_execute.c
|
d6d6d20b137b23c1c28ca64f7781213f7df36e9a |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
init machine->StackDepth=0
nl/t_vb_program.c
|
1f1f5823044922fe586cf91c909e098a500eb439 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
more parenthesis
nl/t_context.c
|
811c2e9a91dfc94ec582849bfaa86d7932ac848c |
27-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
i915tex compile fix (account for moved _UseTexEnvProgram var)
rivers/dri/i915tex/i915_context.c
|
cda32360925d84072a69c6fc0bfebbfe07d90ebc |
27-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix incorrect _MaxElement calculation The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled.
ain/varray.c
|
9b9e056615bc63d5498feb6999bd4df431170022 |
27-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
recommit e731d8aafa98bbf9d30f83e65f28b7718be55834. This got lost with glsl-compiler-1 merge, it fixes segfaults when using ATI_fragment_shader, which uses the ProgramStringNotify mechanism but doesn't have a valid program pointer.
nl/t_vb_arbprogram.c
|
ff65fa39e81114fd54c94cb8be235342911c185e |
27-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
add parenthesis around a bit-wise AND term in _tnl_InvalidateState()
nl/t_context.c
|
3e45db67294faaf0a06c42bdd6dbdb96f87c8801 |
27-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Restore the UseTexEnvProgram logic. Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_state.c
ain/context.c
ain/mtypes.h
ain/state.c
wrast/s_aalinetemp.h
wrast/s_pointtemp.h
nl/t_context.c
|
3b8ab881312f36a948913653ed3c471017f811f0 |
27-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r300: Fix radeonUpdatePageFlipping() function. Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's initially 1 instead of 0. May fix some issues with pageflip, the same fix was applied to r128, radeon and r200 (6e0e6eff05727ac8833c2b2dffc51c6619427e77).
rivers/dri/r300/radeon_lock.c
|
32225d06b9ade78df612b3fd8c3aff93afa3b7ff |
27-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that dereferences it. Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417), since it's likely an issue with those drivers too.
rivers/dri/r128/r128_lock.c
rivers/dri/r200/r200_lock.c
rivers/dri/radeon/radeon_lock.c
|
63c57a14d3e9419434bb9ee4d0c5c0d64f2e7847 |
27-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Check ctx->WinSysDrawBuffer before calling function that dereferences it. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10417 .
rivers/dri/r300/radeon_lock.c
|
25f21b5331d27225b1f6b7aaf2c9bf3f32764d91 |
27-Mar-2007 |
Miroslav Šustek <sustmidown@centrum.cz> |
fix r128 rendering, lockups mis-count in offset led to mis-rendering and lockups; units are 4 bytes rather than 1. Noticed by Chris Salch. fixes bug 7994, possibly others.
rivers/dri/r128/r128_tris.c
|
da82d86ea00fa05d8483e25618a0150bc0ee8a6c |
27-Mar-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa
|
075d3d892f303c26c61566f2b0f0a6df0013a34f |
27-Mar-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix compile error
rivers/dri/i965/brw_program.c
|
ae36cfc65eac19281b5ad338e4095008dc69ab21 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/SUB/BGNSUB/
hader/prog_print.c
|
9878e8ff516486900228429f26b37cb01cd7313f |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Checkpoint: implementing true CAL/RET instructions for subroutine calls. Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization.
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
6583429f89df1b6838c5405bd32e5ef30bdf163f |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Get rid of IR_JUMP and related code.
hader/slang/slang_emit.c
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
037c06846041877fb03890864520daa33b5fa4a9 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
special case RET
hader/prog_print.c
|
c042a91b8b202e4c0623e647bda035c715f7c308 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling.
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
hader/slang/slang_emit.c
hader/slang/slang_print.c
|
813a0e11f1eb903883aef18c5cb5c4702dcb6213 |
27-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove debug abort() calls
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link.c
hader/slang/slang_print.c
|
52cc32378c541261d045f160a14ab0cfd27009ad |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Additional error checking for 'return' statements.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_typeinfo.h
|
c3da0bd7dde9febf206efac88bb67e98dfc90baa |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
undo some debugging hacks
hader/slang/slang_emit.c
|
e508155d1658571244aeb981dd42e452417d4af4 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
dead code elimination for constant-valued if/then/else
hader/slang/slang_codegen.c
|
0426d3c0c85b652c2c4e8509f709863e08644295 |
26-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Remove a warning when vertex programs produce an unused output As far as we know, the hardware prefers outputs packed tightly together with no holes caused by outputs that are not even read by the fragment program. Therefore, we slightly rewrite vertex programs in this case. It would be interesting to test this interaction between vertex programs and fragment programs further, because some of that rewrite may be unnecessary. However, play it safe for now and don't change the current behaviour.
rivers/dri/r300/r300_vertprog.c
|
b53745ce914d66f98ae7bea3e6ee0d05940af787 |
26-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup (remove trailing spaces)
rivers/dri/r300/r300_vertprog.c
|
768f7231ea354c218d83f5875ae17475640b2a84 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix a few issues with computing storage sizes with respect to swizzles.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
680abf8a02bd88e55ebaa81326c7621a745bedd4 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
In _mesa_lookup_parameter_constant() make sure we return a full, 4-component swizzle.
hader/prog_parameter.c
|
11702680888038a22d9a406ea5646af2902c125e |
26-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix warnings that were introduced by the glsl merge
rivers/dri/r300/r300_fragprog.c
|
38a1c2b4959d35236933c14d3944cce94283ca30 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Add _swrast_span_default_secondary_color() for use with glBitmap, glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_span.h
|
b5d988dd19291e4e1e6f18e4163c2acac66729de |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove incorrect assertions
hader/slang/slang_emit.c
|
22d913208170a1b86c42a8b06140c6a80028c705 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
disable printing shader program debug info
hader/slang/slang_link.c
|
d619cceea47dc3070ebb7f7ea4f8b6b31a672d38 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge of glsl-compiler-1 branch
|
76f3b66e0489526694d6a39b4a6ac3b1c2bee100 |
26-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Make sure renderbuffers don't get deleted when flipping them. Since the recent renderbuffer refcounting fixes it's no longer sufficient to just remove the old renderbuffer from the framebuffer and then add the new one because the former may decrease the reference count to 0 and delete the old renderbuffer.
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_screen.c
|
e71c34aaa173ca451fa02e526ead77758f7eeb74 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
disable free() until other issues can be fixed...
hader/slang/slang_ir.c
|
b9fbedd6012ac20fc14fda2cd18bdd86463d0527 |
26-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix mem leak, add comments
hader/shader_api.c
|
8051c95a7ede9b9cd4fa89445c52bbcaa7ff766c |
26-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: match drm version bump
rivers/dri/nouveau/nouveau_screen.c
|
ee9bc897f8ea361539c5f422fdecc2326271e673 |
26-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
42aaa548a1020be5d40b3dce9448d8004b1ef947 |
25-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Fix some renderbuffer reference counting issues. Also fixes a mem leak.
rivers/x11/xm_buffer.c
ain/fbobject.c
ain/framebuffer.c
ain/rbadaptors.c
ain/renderbuffer.c
ain/renderbuffer.h
|
a1ea7812b2b8869b60877995fdb957e9539309bd |
25-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: The given urb layout(maximal size of urb entries and the values for nr of entries) should meet the requirement.
rivers/dri/i965/brw_urb.c
|
bb59d81d2d1baaed98e7a2990540a4bb1394222c |
25-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
Color3iv: set the alpha value to 1.0
ain/api_loopback.c
|
8a4546b5610aff82a8d61e692ccdf1ca0e06a3e1 |
25-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup in r300_texmem.c
rivers/dri/r300/r300_texmem.c
|
9db583e7e46443d810146dca36f334b56a9a6449 |
25-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup in r300_texstate.c
rivers/dri/r300/r300_texstate.c
|
7143c61283e4b7bffcb27f220517ada2e2c857e5 |
25-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix regression: unnecessary node indirection The texture_rectangle fix introduced a bug where every texture instruction caused a new indirection.
rivers/dri/r300/r300_fragprog.c
|
1b354bb5e4c4524533a8f2c3293df73a403e011a |
25-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
bb0393a0cdcabcb29ab7924cd4b3c4622fc2d787 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
fix mem leak
hader/slang/slang_codegen.c
|
9fe342d1e6d3fbd150a1369380a1a4ecf82d6773 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
disable free(var->aux) -- can lead to segfault
hader/slang/slang_compile_variable.c
|
cfdd07d7d394a2a595a545c0ef81d00dd6156742 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
fix mem leak
hader/slang/slang_compile_variable.c
|
1968444bed931eeafdbe948a30bb871bfcf11b42 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
fix some mem leaks
hader/slang/slang_compile.c
|
935f93f966aa298c4d4115ac766cb2ff46ad6514 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Free shader-related context state: _mesa_free_shader_state()
ain/context.c
hader/shader_api.c
hader/shader_api.h
|
3493e867e9f2421425627a15eb5d2a2c554fbe8a |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
free prog->Attributes in _mesa_delete_program()
hader/program.c
|
49134e8e53d4ae114044ff90174a6777ffbecc60 |
24-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
fix mistake in _slang_free_ir()
hader/slang/slang_ir.c
|
74ceaf545feb530a61f2de1554c32d6ef0bd46f8 |
24-Mar-2007 |
Dave Airlie <airlied@linux.ie> |
nouveau: implement nv20Clear and nv20Scissor Still crashes out on scissor regs
rivers/dri/nouveau/nv20_state.c
|
f27991c9165450872c652e2fd27811409957b2a0 |
24-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix texture coordinate calculation for rectangle textures R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
0c3ae2ea7fbb9c1087bdbc1048c380ca760b80d2 |
24-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: No assertion when accessing incomplete texture images. There used to be an assertion when a fragment program accesses an incomplete texture image. Work around this assertion. Note: I am unsure whether this workaround produces the desired result (0,0,0,1) on all hardware.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
0e71d08e8df7f59da74e78212fe8433ceb7c7315 |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Properly free the slang_ir_node->Store data (use ref counting).
hader/slang/slang_ir.c
hader/slang/slang_ir.h
|
b50b036ffb795a12106bd59b1a08b0287a8b3388 |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
When computing render_inputs_bitset, omit primary color if we have a fragment program and it doesn't need FRAG_ATTRIB_COL0. Silences valgrind warnings.
nl/t_context.c
|
dc3015f1574f26704c3498c56915b5570d777da4 |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
move some code into new slang_ir.c file
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
ources
|
b2bc563142c93fd9bfa503f7b9e5e99c7d450ccc |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
IR utility functions
hader/slang/slang_ir.c
|
d4dd5a95a8a467a696e5160f3c9c72711829d95e |
24-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix: KIL instruction don't require textures When no textures were enabled, a KIL instruction triggered an assertion in r300_setup_rs_unit.
rivers/dri/r300/r300_state.c
|
8f90822b7264a6e569707fb187a77de57a6e6dac |
24-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
swrast: Fix crash when sampling from a non-existing texture object
wrast/s_context.c
|
ea3d11a3d8901d650eb2a858ce30abae2d20d278 |
24-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: some swtcl fixes
rivers/dri/nouveau/nv10_swtcl.c
|
44fb5156bbda5e4fc1cd810fec5e50ac70ff39cf |
24-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
8e1c3bd0b4c599bae5b64cd51cec1d74266f30fb |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Implement alpha buffer copy for SwapBuffers(). Nicolai writes: When the pixmap pixel format has no alpha channel, the x11 driver (software rendering) adds a wrapped alpha channel on request. During SwapBuffers, this alpha channel is not copied from back to front, which means that the front buffer doesn't really contain the contents that the back buffer previously contained. A subsequent glReadPixels from the front buffer will return an incorrect result. The following patch attempts to fix this.
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
ain/renderbuffer.c
ain/renderbuffer.h
|
d1934c2065751e2c594316c5abd2c49c47bfc1b8 |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix issues related to the 'continue' statement. IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
81767eead9e1b1b5d5dfd274c0875fa1332a5983 |
24-Mar-2007 |
Brian <brian@yutani.localnet.net> |
consolidate some code
hader/prog_print.c
|
63556fa9949f543a8134b6b5ff3d216acb71dd9f |
23-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Add the ability to generate programs that doesn't use condition codes. ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
ain/mtypes.h
hader/prog_execute.c
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_print.c
hader/shader_api.c
hader/slang/slang_emit.c
nl/t_vb_arbprogram.c
|
bf020d8d7f719dfea7ea3c65bd2833df6439b59e |
23-Mar-2007 |
Brian <brian@yutani.localnet.net> |
minor tweaks
hader/slang/slang_codegen.c
|
2bdac09d16904334424a53d4c7436408a5cc3ca5 |
23-Mar-2007 |
Brian <brian@yutani.localnet.net> |
updated comment
hader/slang/slang_emit.c
|
654a3084398c5ab3ac1491bcdc5703221a268d03 |
23-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup (remove trailing spaces)
rivers/dri/r300/r300_state.c
|
ad76128204d856527e033a83c1b5a35a2f52ba92 |
23-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
fe20a619cf382e7d21a31b096311dab8254b2b0c |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
updated comment
hader/prog_instruction.h
|
e6aeb24b23097024ba60e1c49239a18692f781e1 |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Overhaul emit_compare() function. Previously, comparing vec2, vec3, vec4 was broken. Added IR_EQUAL, IR_NOTEQUAL nodes/operators to compute boolean equality/inequality vs. IR_SEQUAL/IR_SNEQUAL which work component-wise. Use IR_EQUAL/IR_NOTEQUAL for the == and != operators. To compute vec4 equality, use SNE, DP4, SEQ instruction sequence.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
0aad9e262784b0f2ac85afdce88414c986dae2f7 |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
First pass at implementing structure compares. Need to improve this. There may be holes in a structure so we can't just blindly compare the full 4-float registers.
hader/slang/slang_emit.c
|
12229f119d754715e0315846fdd8d6e9213e8edf |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_copy_instructions()
hader/nvfragparse.c
hader/nvvertparse.c
hader/program.c
hader/programopt.c
|
1bf81e3c5d65b636658d11072f4f027f5c499396 |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars().
hader/nvfragparse.c
hader/prog_parameter.c
hader/slang/slang_link.c
|
1936b25ebd580c5ef9e8cb471a986da39ef46ca5 |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
print conditional writemask, if enabled
hader/prog_print.c
|
002762b13aa58ca569a564bb64672e343611c9ed |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_alloc_instructions()
nl/t_vp_build.c
|
1240eb2683043ba81e81378807170d0d7045581d |
22-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_copy_instructions()
ain/texenvprogram.c
|
985a2eff82111e81f70b6dea9d9b3184dd0061d3 |
22-Mar-2007 |
Alan Hourihane <alanh@fairlite.demon.co.uk> |
Ensure we have a valid ReadBuffer for CopyTexSubImage, and if not bail accordingly. Previously we'd only do this test on compressed textures.
ain/teximage.c
|
2eb656ef4f4c7a365501e615a43ae72cfdc12cda |
22-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
01b7f2ab2e7a9291bf54475e816e88804ee7cd53 |
22-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#10339 StateFlags has been updated in _mesa_add_state_reference
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_wm_fp.c
|
629ec2b06be40a32fa820a105e40e7b894acc84e |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added SWIZZLE_XYZW
hader/prog_instruction.h
|
2500d82d0dc5015dc648067455231b7b963b54a5 |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Support for user-defined structures. struct == and != operators not finished yet. Struct assignment works though.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
97c9b3ecc6da6058cf17840f6448617c7dc2be75 |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
disable apparently unused code
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
e02b989ff96cb706b9cbbea519034e3403b3ecfa |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
indent
hader/slang/slang_compile_struct.c
|
23d31efc167f09d47635352f697ffcb087d3ebbd |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge from master
|
249b451d2068c781d29a6527e152b39d08b1c877 |
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
1D convolution (and post-conv scale/bias) were inadvertantly applied to 2D image transfers.
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
c5fe807e426988fc0ef931b417b5b3f621250595 |
21-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix copy and paste bug from last commit in fog generation code for GL_LINEAR fog
rivers/dri/i965/brw_vs_tnl.c
|
8ba06464ac8de726390899e790e15b40df08001e |
21-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
4b5d6c0435acd84c13e0db3785758fed0bc48fe1 |
21-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: update for drm interface changes (0.0.5)
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_screen.c
|
6cadebbb677f776f599f5675f20b2f2ee44a1ce0 |
21-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: SwapBuffers() needs to perform a glFlush()
rivers/dri/nouveau/nouveau_context.c
|
704cd61120443501530279937a144a5dd4b6399e |
21-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float.
ain/image.c
ain/mtypes.h
ain/texstore.c
|
4bafc547df4af0b560dcc6b72c0a6c37d7754abb |
21-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Remove the program-global const_sin index The index is no longer necessary to share constants between multiple SIN/COS/SCS instructions inside a single fragment program, and storing a tiny implementation detail like this in the fragment_program structure itself was just nasty.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
|
cbe38dc0ceade8543d8a65f6f547d2890bb177f0 |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup (remove trailing spaces)
rivers/dri/r300/r300_context.h
|
cf4272d2569940fa4ac2ffaf3afbdc2aa3e5cc06 |
20-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#10347 not sure which brw surface for DXT3 & DXT5, so restore the previous choice.(changed in commit 84081774e62a8af18e6bf894ea69f63b97dcfe96)
rivers/dri/i965/brw_tex.c
|
bec665d5b5b35c0c9f3263ece9793bcea87073ab |
20-Mar-2007 |
Alan Hourihane <alanh@fairlite.demon.co.uk> |
use passed target parameter
rivers/dri/common/dri_bufmgr.c
|
76444d042c841aa4e060db46c0668c17da97a1f6 |
20-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
ecb1a1c82f48dd78203230f6ea3dee49d7ade17d |
20-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: fix typo
rivers/dri/nouveau/nouveau_sync.c
|
4185037af2d89c5b245646f5e4a7c6dc946cae43 |
20-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: fail translate if we use too many params somehow
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
|
9622a634f61f02ed1a23087762a2ec8a305ae77e |
20-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: NVSDBG macro
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_1.c
rivers/dri/nouveau/nouveau_shader_2.c
|
61821a41c07b6b383a275acf31ade56af2ecfb3c |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Cleanup fragment program constant allocation, share constants The constant/parameter allocation was significantly simplified, removing one unnecessary copy operation of parameters. The dirty state tracking is unchanged and far from optimal, since all state is always re-fetched. Constants and parameters are now emitted only once, which significantly reduces the resource pressure on larger programs.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
|
5a6547878373798113f8b55b912abc5bfb93add5 |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix special case (tmp.x <= 0) in fragment program LIT instruction Also, fix a typo in a related comment.
rivers/dri/r300/r300_fragprog.c
|
b3acba87d7f5ede486cba11db036cf36dff6c29e |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Clear fragment program instruction slots on first use Make sure that instruction slots are fully initialized with NOPs during find_and_prepare_slot(). This fixes a bug when a fragment program was translated more than once (e.g. due to a second call to glProgramStringARB). This partially fixes glean/fragProg1.
rivers/dri/r300/r300_fragprog.c
|
fdcbbeb55ecafe119bb98dcedb8492416f5bc966 |
19-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Properly compute render_inputs_bitset when using a vertex program/shader. This fixes a performance regression introduced early in glsl-compiler-1 work.
nl/t_context.c
|
826815a5d27d6e79e9d0e0b0fc63bb3fd092d40d |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Dump fragment program after translation if RADEON_DEBUG=pixel is set
rivers/dri/r300/r300_fragprog.c
|
7b992d024b20df111db007286e5a54afcb531fb1 |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Whitespace cleanup (remove trailing spaces)
rivers/dri/r300/r300_fragprog.c
|
c4bf863f4cb48c2de284933bb1fc725b540ee810 |
19-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix WRITEMASK handling when writing to result.depth This is a necessary change to emit the right instructions when writing to result.depth. However, even with this test, Z-write doesn't work properly, and I don't fully understand why. In addition to this, we'll at least have to disable early-Z, but even that doesn't seem to be enough.
rivers/dri/r300/r300_fragprog.c
|
b645e8c96dc1e3b153cf882c8931f10e0c006f04 |
18-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Streamlined fragment program LIT implementation Fix a bug in the LIT implementation (clamp exponent to 128, not 0.5) and change the implementation around. In theory, the new implementation needs as little as 5 instruction slots. Unfortunately, the dependency analysis in find_and_replace_slot is not strong enough to look at individual components of a register yet.
rivers/dri/r300/r300_fragprog.c
|
ff6ab9b45b180ab9bf261afa50888e6e740d7924 |
18-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix fragment program reordering Do not move an instruction that writes to a temp forward past an instruction that reads the same temporary.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
|
ec1a77c86481d7f77542fbecda0e81b74732c90f |
18-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fragment program dumps format tex instructions
rivers/dri/r300/r300_fragprog.c
|
a8e65a010c17444c63859c17786ecb4010bd49c1 |
18-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
r300: Fix hw fragment program dump Dumps of fragment programs were incorrect when the program consisted of multiple nodes. Also, improved the formatting a bit.
rivers/dri/r300/r300_fragprog.c
|
7b430acd71f04dce3e21bdcfe70115a23d751f30 |
18-Mar-2007 |
Nicolai Haehnle <prefect@upb.de> |
r300: Fix fragment program instruction pairing and register allocation There were a number of bugs related to the pairing of vector and scalar operations where swizzles ended up using the wrong source register, or an instruction was moved forward and ended up overwriting an aliased register. The new algorithm for register allocation is quite conservative and may run out of registers before necessary. On the plus side, It Just Works. Pairing is done whenever possible, and in more cases than before, so in practice this change should be a net win.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_reg.h
|
07db8c9115c0b07d79be778976e25f8eb18d42a2 |
19-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: The intended triple buffering fix. Making modifications while the editor spawned by git-commit was suspended didn't have the intended effect.
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
|
9b42100c04f14b4f2c1e5fe9748bb0519ed6c516 |
19-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Fix triple buffering after recent Mesa core changes. Remove superfluous _mesa_resize_framebuffer call which is now harmful because it causes the third renderbuffer to have width/height 0, so Mesa refuses to render to it. In the long term, it would be nice to remove the hack in intel_alloc_window_storage in favour of a proper Mesa interface for flipping between more than two colour buffers.
rivers/dri/i915tex/intel_buffers.c
|
e01ee3da577f177e77153f3a33d39e13f5e3f9cb |
19-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
77544d7b7d7c6fd03c0df81dca07f1bb3a67c119 |
18-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
fix off-by-one in load_state_immediate
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
c9e39aeaef0135d6d1aa92a3dc5b3c91fa17904d |
18-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
fix typo in subrect_disable packet
rivers/dri/i915/i915_reg.h
|
07265280a962253913e974829e6729c64ca18bc2 |
18-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
fix typo in subrect_disable packet
rivers/dri/i915tex/i915_reg.h
|
c41d6ab6f062ebce1076ca79f9ad0c7368a0e2d0 |
18-Mar-2007 |
Miguel Marte <miguelmarte@gmail.com> |
screen offset changes, bug 9965
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
|
441f038748975d4e14ca3da7098045dd1013e531 |
18-Mar-2007 |
Nicolai Haehnle <nhaehnle@gmail.com> |
fix assertion in read_depth_pixels()
wrast/s_readpix.c
|
dd868b4100f748e5187c58138d1b55fe8e8eddef |
18-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Removed the deprecated $XFree86$ CVS keywords.
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_span.c
|
106210652133e48ef557147f288ef28896517e0c |
18-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Corrected the string for polygon mode; it wasn't updated from unkXXX.
rivers/dri/r300/r300_cmdbuf.c
|
bcf4f4de76197dbb88b884ce55b5e457ff2f79b0 |
18-Mar-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: avoid using uninitialised TexSrcUnit.
rivers/dri/nouveau/nouveau_shader_0.c
|
bb02092d749ff9d58a13fd99f66154504b4f3dd1 |
18-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT) or TexImage(DEPTH_COMPONENT)
ain/image.c
wrast/s_drawpix.c
|
b6fe1bdd4da806895f90f3f5be4fb364d6f1f64a |
18-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: enhance fxt1_quantize_ALPHA1 If possible, let minCol != maxCol
ain/texcompress_fxt1.c
|
84081774e62a8af18e6bf894ea69f63b97dcfe96 |
18-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
i965: fix for FXT1 & S3TC texture format choose the right mesa texformat for FXT1 & S3TC
rivers/dri/i965/brw_tex.c
|
fd1b1fce3faaf40af201a5b06a84df62c855fb12 |
18-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
cfe984dbd0c478906785dbf8a9430504173ae952 |
18-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Use _mesa_copy_instructions rather than memcpy in _mesa_insert_mvp_code.
hader/programopt.c
|
ee5b7f0574c6c5bce9ab75a2825f1fe089a57fa5 |
17-Mar-2007 |
Haihao Xiang <haihao.xiang@intel.com> |
fix some format conversion bugs in glGetTexImage(), bug 10288
ain/texstore.c
|
38889f5221821acf08365d3f332680707d4b9b5f |
17-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
6a9b0cd0b43ba01b24871ec1fa155e192ddeaa56 |
17-Mar-2007 |
Dave Airlie <airlied@linux.ie> |
r300: change vendor string to DRI R300 Project
rivers/dri/r300/radeon_context.c
|
e5070bc3ca75dee31034cc543f3d2ee04e5dc032 |
16-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Assorted fixes for dealing with zero-size frame/renderbuffers. In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
ain/framebuffer.c
ain/renderbuffer.c
|
7573b58db659b32f3589fc955959710d44353239 |
16-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Colortable re-org. The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
ain/attrib.c
ain/colortab.c
ain/enable.c
ain/get.c
ain/get_gen.py
ain/image.c
ain/mtypes.h
ain/pixel.c
|
d7049431a09a71a51768fc8cea292653557fc261 |
16-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added a renderbuffer comment
ain/mtypes.h
|
f04979ae481acc9fdc423da06514c4d557edd7cd |
16-Mar-2007 |
Mathias Hopf <mhopf@suse.de> |
added null xmctx check to XMesaResizeBuffers(), bug 7205
rivers/x11/xm_api.c
|
a02870f4f61a66560b3eb75f98a7fe57ebcb6ed6 |
16-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
e348016253582e6a31f7ee7149ff4999de33642d |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
silently ignore DeleteProgram/Shader(id=0)
ain/shaders.c
|
7ed292a4e946fe43b04dd76d5f26df4e70765788 |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
in _mesa_GetColorTable, return silently if table size is 0
ain/colortab.c
|
95764262a7f2dfda761a0dbd87c3d9b12df0d534 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Fixed a minor typo in the comment near _mesa_copy_instructions.
hader/program.c
hader/program.h
|
0c25d9ab198f79afee23ec1bf8ac61c4cd801d3a |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Added _mesa_copy_instructions.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_vertprog.c
hader/program.c
hader/program.h
|
1195caa2745de4d16ddbd46eeb4f527a78c5eb63 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed r300_vertexprog.c to r300_vertprog.c
rivers/dri/r300/Makefile
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/r300_vertprog.c
|
0e9ada1087a58af4c1375cc35b318aa0521d3a72 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Use _mesa_alloc_instructions/_mesa_init_instructions instead of malloc. Note that insert_wpos in r300_vertexprog.c is still a little flaky and could be improved.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_vertexprog.c
|
0d6d80ef3dbd39ed346c3189385242016f5aed74 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Updated R300 to use the new SWIZZLE macros.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_vertexprog.c
|
51693b22cddae9ae73d2310faee295c77f30e8db |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fixed an unused variable warning and removed some cruft, too.
rivers/dri/r300/r300_shader.c
|
b3a9a90cdf7c30b81c749037784428274d997549 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fixed a printf conversion warning.
rivers/dri/r300/r300_cmdbuf.c
|
7f08dd3fc6bb23ddef5e7bea827282c8d7c82899 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning.
rivers/dri/r300/r300_ioctl.c
|
fc6b8f2d3012f97d5a1f0d4fbefd191268d6a263 |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added SWIZZLE_XXXX, YYYY, etc. macros
hader/nvvertparse.c
hader/program.h
|
4e4ab2a62bf33a582420cff85775a6580167b5a9 |
15-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Committed Rune Petersen's fragment.position patch (Bug #10024) plus a few small corrections.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertexprog.c
|
4d2eb637a20e4fdf5d5f6c0ea4d4627894594661 |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
no-op clear if buffer width or height is zero (bug 7205)
ain/buffers.c
|
038e981cacdc6f32588442666cde8a8fc16cfdfc |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
add some rb->Data null ptr checks (bug 7205)
wrast/s_accum.c
wrast/s_depth.c
wrast/s_stencil.c
|
90563d39cbdae552f498285125381c8c8ccb2f83 |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
0cfdf432e4efe6662c6cea013a6870a4f82cb478 |
15-Mar-2007 |
Brian <brian@yutani.localnet.net> |
implement byteswapping for all multi-byte types in _mesa_pack_rgba_span_float(), bug 10298
ain/image.c
|
4a7fe4fcfa9069043db3ba8e88a6b941788f5f43 |
15-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix off by one error in immediate state packet size.
rivers/dri/i915tex/i915_state.c
|
d63eef4b86af02aea5b26f90de9cf3d46aee398c |
15-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
32d196820f5669a03bfd1adde1352b857ffda3b6 |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
pixelmap code simplification
ain/pixel.c
|
b6adf336f41d2f0ed0ea33eaf53faee9635a2405 |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Re-org of gl_pixel_attrib struct. Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
ain/get.c
ain/get_gen.py
ain/image.c
ain/mtypes.h
ain/pixel.c
|
62b4601e53438096f362657bec2c4c238279509f |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/Tranpose/Transpose/
hader/slang/slang_builtin.c
|
3049946fa742b654afa9b24f8bc79f387f01aea9 |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205
rivers/x11/xm_api.c
|
46fe0087780ccc490c1fcb93453a5abe507668ee |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
47e0b606a85059ff29fe311dc2f1bcafdefe4cdb |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205
rivers/x11/xm_buffer.c
|
565d097d8feb201a0be2ee41f0413cac2593990f |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
continue prev check-in: save ptr to slang_function for SLANG_OPER_CALL
hader/slang/slang_typeinfo.c
|
2dc3e944704dd90eb4324babac070b7e2fff70fc |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
After we've found the slang_function ptr for a SLANG_OPER_CALL node, save the ptr in the node for reuse. This can save a tremendous amount of time when resolving types in complex expressions. One particular shader was taking several minutes to compile but now compiles almost instantaneoulsy.
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
b1a955b5186d9d455416534bcdc170373c7393d9 |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
make _slang_typeof_function() static
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
b01f146fd066518f93ccbfda1441a9e6ff530260 |
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove old assertion
hader/slang/slang_emit.c
|
805b1cf4821aa807ce0f87d03dc464c0ee01a33a |
14-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
52363954bfe1f9f5aec6da504e191099f80578ee |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
more bug fixing, error checking
hader/shader_api.c
|
98650bdf897ee8dc1bcf32e28832c1d54acd0d79 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix a number of issues in _mesa_uniform()
hader/shader_api.c
|
5186529e57bfab6d70a94329e8265e64095b328e |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove bogus assertion
hader/prog_parameter.c
|
8d9db3dd03b3ec423560b46831071405cb4f6f48 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix ctx->Pixel.PostConvolutionScale/Bias subscript bugs
ain/pixel.c
|
fd08463dea8fd2e8d805d66488368830dbe53264 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Check for, simplify vec2/3/4(x). Only do call adapting for constructors.
hader/slang/slang_simplify.c
|
c7b2cce4186974adb86f14c4c62c43fc0332d6f4 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
improve literal printing
hader/slang/slang_print.c
|
000b2899b92b800f962a52243aa1ca775dd353fa |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
disable some debug output
hader/slang/slang_emit.c
|
a49a865cf53dad5734ca7019406e4ce89702a08f |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
better error msg for undefined function, disable some debug output
hader/slang/slang_codegen.c
|
948c60badc52cf938766964dc90ce574f885b23d |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
get rid of float_multiply, float_add, float_divide
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
a6cc9ab493a2efa9a0ea91cddba0e85c8c8c83f1 |
13-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
sync up t_vp_build.c brw_vs_tnl.c a bit Bring over the optimizations for fog and normalized spot dir from t_vp_build.c to brw_vs_tnl.c. Likewise, port a fix for point size calc from brw_vs_tnl.c to t_vp_build.c (use ABS(eyez) instead of -eyez). Leave the now differing point size calcs alone though, not sure what's better (it's basically MOV, ABS, MUL, DP3 vs. ABS, MAD, MAD).
rivers/dri/i965/brw_vs_tnl.c
nl/t_vp_build.c
|
d8070889d73479d9dbef27ccf1ed5d26fc8760e5 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warning
ain/shaders.c
|
c000843a14e73d593d87ff6674d0295d2cb64a12 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
be smarter about which fragment attribs are interpolated before running frag progs
wrast/s_span.c
|
da554309521e8f351eecb30ce197535fb7541f40 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
comment about SPAN_* vs FRAG_BIT_* values
wrast/s_span.h
|
17ad1d12ebf04ebf4b2b35c1c37d36bb4d2bb550 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask. Also, fix an assertion.
wrast/s_fragprog.c
|
8b9842a2560a1254e98b5e01927f73917a0597fc |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Shuffle some code around in the emit_tex() and emit_move() instructions. Note that the inst ptr returned by new_instruction() may become invalid after calling emit_() since the emit functions may allocate new instructions which is done vial realloc(). Also, add some new assertions to try to catch this kind of bug.
hader/slang/slang_emit.c
|
37e6f760fde506728077c6e8b48bb8c34d53dfd3 |
13-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
enable ARB_vertex_buffer_object for more dri drivers ARB_vertex_buffer_object looks like a useful extension even for old chips. The drivers should not need any code to be able to use this extension since they just use mesa's vbo code anyway. Newly enabled for i810, mach64, mga, r128, radeon, savage, sis and unichrome.
rivers/dri/i810/i810context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/unichrome/via_context.c
|
7265e6928e873312d53eba4c24fcd3002e806831 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
properly compute ctx->Texture._EnabledCoordUnits
ain/texstate.c
|
4c18d9056b3793a8441ecbfc9c5ea5f2d43555b2 |
13-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; not enough information is known about them to be sure as to what the values mean.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_mm.c
|
14f0b7ea98d5cb2f805fc22796596ef878ae24cb |
13-Mar-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
use movdqu instead of movdqa for unaligned load avoiding a segfault (bug 10265)
86/read_rgba_span_x86.S
|
4110fac38958003935f64e278d3a7b880523efe2 |
13-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
eb4db4c4ec7efc366b00e1b1f1fe519ca1af79d6 |
13-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT. Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
19fbe9732c92ff67911c28bf19c174326af05c84 |
13-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Documented the value written for R300_TX_CNTL cache flush.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
53f83b435ce9a94092503712e3d4e16d4c942752 |
13-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: _mesa_unpack_image 1. take packed pixel data as a component 2. fix for GL_BITMAP when compiling glTexImage, etc into a display list: a. flip byte if lsbFirst is true since DefaultPacking->lsbFirst is false. b. handle SkipPixels
ain/image.c
|
cd6660475646defb6311491028dfe50202709b59 |
13-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_mm.c
|
0c750ca98de5a08c0fe4c513a741c78b7bab80e3 |
13-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Guess another unknown register used for R300 pacification.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
b3a22d0ed61afa9df4d3a02962884d49bc5760a4 |
13-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Implement GL_ARB_texture_rectangle support This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions.
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_print.c
hader/slang/slang_storage.c
hader/slang/slang_typeinfo.h
|
708d836e6b785764692c485e6cdf42f2b50fcf86 |
12-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Don't crash when intel_fb->color_rb[i] is NULL. This can be the case on some systems when running glxinfo.
rivers/dri/i915tex/intel_buffers.c
|
8946d7f02938f20f3da46f6a8f7f1196afc271be |
12-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Add array bounds checking, fix memleaks, add null ptr checks.
hader/slang/slang_codegen.c
|
17fb7821d7cdc0ed211eaef013ee7798619a61d3 |
12-Mar-2007 |
Brian <brian@yutani.localnet.net> |
clean-up, simplify _mesa_image_row_stride()
ain/image.c
|
c1a544733749cd388b9f51d087c695b2ce0ec729 |
12-Mar-2007 |
Brian <brian@yutani.localnet.net> |
take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for GL_BITMAP type (bug 10261)
ain/image.c
|
d0a3400f66b8c4ace7ebef6d0a944376d5203756 |
12-Mar-2007 |
Alan Swanson <swanson@ukfsn.org> |
r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
|
33ea9dccaf31c2dfb0961847eedfe75336d9c80f |
12-Mar-2007 |
Alan Swanson <swanson@ukfsn.org> |
r200: Adapt cliprect fixes from r300.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_state.c
|
88501887e48d1619e4296afa609dfe9904b81a70 |
12-Mar-2007 |
Alan Swanson <swanson@ukfsn.org> |
radeon: Adapt cliprect fixes from r300.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_state.c
|
5a5b55943dfdb7fac77f7556058791302ee8639b |
12-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
15aa7aaa9327f528d1edc47d76fcc92e32bf001e |
12-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
add NULL ptr check
hader/slang/slang_codegen.c
|
1c09bcfdda4083636a3ac27d804a34ef87875ce7 |
12-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
ain/config.h
ain/mtypes.h
hader/slang/slang_codegen.c
wrast/s_context.c
wrast/s_context.h
wrast/s_fragprog.c
wrast/s_span.c
|
61ec23cc63a040a2edf1bc466917e85362514c89 |
11-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#10196 Compute half if LOCAL_VIEWER is enabled and the light is a directional source.
rivers/dri/i965/brw_vs_tnl.c
nl/t_vp_build.c
|
69e57cf6ae0af823e903926bafa8daa46b11352c |
11-Mar-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
Guess another unknown register in R300 command buffer initialization. (Oliver McFadden)
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
e64166703a27c5b1127373b1dff3b93e617bcaea |
10-Mar-2007 |
Oliver McFadden <z3ro.geek@gmail.com> |
Renamed some of the unkXXX variables in the command buffer init ialization code. Note that there are still plenty of actual unknown variables left that should probably be deciphered. There are a number of things incomplete in the driver; the different polygon offset modes (line, point, etc), the other texture filter, texture chroma key, etc. These should probably be fixed in the future, or at least added to the TODO list.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
d23dd812ad597ddbe82be5f95708ece9ad63a2fa |
10-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
|
7d39c1ae76cc7dc6793980fd83db100399ee9179 |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix TEXREL issues. Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
86/mmx_blend.S
86/read_rgba_span_x86.S
|
823c041fdefa772fc1b06c87f71b0ee3291a00db |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
check for EXT_blend_equation_separate for 2.0
ain/getstring.c
|
10b5895597d5e069183cb647d17eb412effceb4f |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Implement gl_FrontFacing for fragment shaders. For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
hader/slang/slang_codegen.c
wrast/s_fragprog.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
1fcb4ecc07685872c9c42569ba13faa1cad54d3c |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
clean-up formatting
wrast/s_context.c
|
c9872b80c874ce7891c6b07c2d4f2fe099fdd8cd |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
add NULL ptr check in emit_cond()
hader/slang/slang_emit.c
|
38f7f81518a434e0c70131a36396e0cf52e7b698 |
10-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Fix build against libdrm git...
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/intel_buffers.c
|
beffb4e88c71679ab69776498ee7178b7b8a16c0 |
10-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Fix intel_wait_flips being declared implicitly.
rivers/dri/i915tex/intel_tris.c
|
97775f9904c34f72e6e5a56a6fb8975b1834e5f4 |
10-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Fix build against released version of libdrm.
rivers/dri/i915tex/intel_buffers.c
|
ced8870a6accbc1f5af876e81e20606bf5a4663e |
10-Mar-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: fix nv04 swtcl.
rivers/dri/nouveau/nv04_swtcl.c
|
4f12b37a56b0f90d7beb248c5d3bee7600c24c14 |
10-Mar-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: fix the nv04 swtcl code.
rivers/dri/nouveau/nv04_swtcl.c
|
581a5940339af8b2cdd7497228d22fcf47269592 |
10-Mar-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: oops don't debug by default.
rivers/dri/nouveau/nouveau_fifo.h
|
df1c3ff3ddaeee2dd32f0c3f7c298142c41982ff |
10-Mar-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: some fixes to the nv04 state code.
rivers/dri/nouveau/nv04_state.c
|
e61f674844afeae7bd5ff17084a46b7215401275 |
10-Mar-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: add a fifo size debug check.
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
|
46bd63819e0fb108d13df0672372e500cf56bbbe |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use gl_ModelViewProjectionMatrixTranspose in ftransform()
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
|
ff95925e70877b9cfe65f66c21ea5ee9ae117ca4 |
10-Mar-2007 |
Brian <brian@yutani.localnet.net> |
add NULL ptr check
hader/slang/slang_codegen.c
|
30b914e2ca28cd44eed57b34353e641793b38a6d |
10-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Merge branch 'i915tex-pageflip'
|
b9ea9361500979b318574ac69ce656ea3af6a197 |
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added GL_CURRENT_PROGRAM
ain/get.c
ain/get_gen.py
|
6e0878becfbf211e5bbd141cd3441dfbdb206cc8 |
09-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Wait for pending scheduled flips before switching vsync pipe. This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates.
rivers/dri/i915tex/intel_buffers.c
|
bb0760ca4f1759eb3c237045f464da4ad60eef83 |
09-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.
rivers/dri/i915tex/intel_context.c
|
2cf5fd48d1586f961910a14324a457854cb66221 |
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'origin' into glsl-compiler-1 Conflicts: src/mesa/main/context.c
|
9f44247acf62b91669f77974a4bbad687d58859e |
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix _mesa_uniform_matrix() transpose bug
hader/shader_api.c
|
36b4e25da34691dffd6b147c8cf3d2598ec11ac7 |
09-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Sync pages between pipes immediately again. This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer.
rivers/dri/i915tex/intel_buffers.c
|
81536789d2d2d92c687e9037cbb6f86b633ef839 |
09-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Do not wait for pending flips on both pipes at the same time. The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled.
rivers/dri/i915tex/intel_buffers.c
|
f9f79c8d770e696249bd98c68b563f887562c974 |
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
ain/image.c
ain/mtypes.h
ain/texstore.c
|
4d9901a1cab8e0d55b1b2309cf3ffec235e53149 |
09-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Also update window state when it's already bound but its stamp changed. And set new cliprects before deriving other state from them. This ensures cliprects aren't accessed after having been freed. Thanks to Panagiotis Papadakos for testing various iterations of this.
rivers/dri/r300/radeon_context.c
|
a706b0b8bd87bb85541ac0c474da4c6559312cde |
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added missing bvec2/3/4 constructors
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
05b74e4ae4e772e63702bb6b14977c8b09f389a6 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix broken vec4_seq, vec4_sne instructions
hader/slang/slang_codegen.c
|
2f35a17f38e3974b0a6e00017408efd417afd4e8 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Update lessThan(), lessThanEqual() functions, improve some matrix constructors.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
5761a93bba11e8a47660f465b27485e130150242 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Added IR_SLE and IR_SLT for <= and < operations. Using IR_SGE and IR_SGT with transposed args doesn't work since the __asm calls don't do argument matching by name, but by position. This fixes the broken lessThan() and lessThanEqual() functions.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
3e0fbc7efcebdbef5698a270bd0192335a2d556b |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix tmp storage problem for IR_I_TO_F
hader/slang/slang_emit.c
|
19a90505487e69a50a947ed932b024c0f5ff2c5d |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix assertion
hader/slang/slang_emit.c
|
ee931f8d4de7c3f04ea80cfaa556d1058942e523 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
; and {} statements were broken
hader/slang/slang_codegen.c
|
ec89aba7c6de29e1dc24b04740b0716e18028b12 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove unused new_cjump()
hader/slang/slang_codegen.c
|
cce4e505690f3d5aef630bd4c4c4a455f08519a1 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
IR_CJUMP0/1 no longer used/needed
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
63772e2a2c0d67a88816bfb52a250b86ecd97f20 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
rewrite _slang_gen_select() to use IF node
hader/slang/slang_codegen.c
|
b3dd49429b6cbd87b67a0277127c24fb534c69a6 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/_slang_gen_hl_if/_slang_gen_if/
hader/slang/slang_codegen.c
|
609306de17583a0780cb7db314429371706915fb |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/_slang_gen_hl_if/_slang_gen_if/
hader/slang/slang_codegen.c
|
c9f486c38f80a71b89152bde78be628b531101ef |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove old assertion
hader/slang/slang_emit.c
|
bf86ddaa2018d58c894da27d7a7a7b5449d1338e |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
check for attempted writes to read-only vars
hader/slang/slang_codegen.c
|
de8172673e23bad1186553b91a7c22e65d93692a |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Rework matrix-related code. GLSL matrices are stored in column-major order while GL_ARB_vertex/fragment_program use row-major. So, need to use STATE_MATRIX_TRANSPOSE for built-in matrices. Unfortunately, this means that the expression M * V isn't very efficient since we need to extract the rows out of M. And that's the typical expression for vertex transformation: gl_ModelViewProjectionMatrix * gl_Position. Solve this inefficiency by looking for M*V expressions and replacing them with V*Transpose(M). Also, add support for GLSL 1.20's MatrixTranspose, Inverse and InverseTranspose matrices.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
d85667950f6797f63fa0863e6882390c2adaaf2b |
08-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
remove a if-statement glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time.
ain/rastpos.c
|
6ff0a04f7ccc6a7049bccedb3dc52382e854848b |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix ProjectionMatrix typo
hader/slang/slang_builtin.c
|
7e66cad998d7f8d51f373c5b45e9fd74f350d12e |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix gl_TextureMatrix indexing
hader/slang/slang_builtin.c
|
79d59d017325820c793d57dfd95b7c4c85722ee3 |
08-Mar-2007 |
J.Jansen <joukj@tarantella.nano.tudelft.nl> |
Updates of the OpenVMS makefiles. -include missing definitions -add files to compile -remove files from compile list which are removed from the repositry -add support for vbo new file: src/mesa/vbo/descrip.mms modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
bo/descrip.mms
|
9637c963f59192aaccf68e7690f5ffb1e17ba077 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
more DEBUG_PROG
hader/prog_execute.c
|
fb3f0beb42868cef6ee78385164fb9605820c365 |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
update comments
hader/prog_statevars.c
|
0aec2bb8f218b7e419806149a2c50f598cd07a6a |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove unneeded return stmt
hader/slang/slang_emit.c
|
da899d190e6835c46dc09e401098c660886e0c4c |
08-Mar-2007 |
Brian <brian@yutani.localnet.net> |
add missing gl_Point state, fix IR storage bug
hader/slang/slang_builtin.c
|
1e055089a37bca8bc5e1cec37d5559fcdb0cf21f |
07-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
29bc4b8974c163507be06b4991a23368e69b177a |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/diffuset/diffuse/
hader/slang/slang_builtin.c
|
c3412e9a082a0c23b865b58c8bfab64adf404946 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
regenerated
hader/slang/library/slang_core_gc.h
|
842c782ceede0548546a7a015c6e04a4626f7b37 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
use 2.0, 2.1 version strings
ain/getstring.c
|
faeea574afcdd45200aea4a78fb7d80b2aa56552 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove end_label field
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
|
35d25c0ce4104d41feead679573543427f99a031 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix problem with nested function calls such as y = f(f(x)) Replace CurFunction with curFuncEndLabel.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_typeinfo.h
|
5b5a80d011d143f1bbd9be39dc4ca6a0af4bad7c |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
s/equal/EQUAL/, fix bugs in logical or/and code.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_print.c
hader/slang/slang_typeinfo.c
|
ab673c852724e81365ab9d979881da7464131854 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix broken __postDecr()
hader/slang/library/slang_core.gc
|
1dca0891492dc5d2974239f04883a41a1738d91f |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix deferredTexture bug
wrast/s_span.c
|
fb3410297bb21a0eeda4d32698c2612f4e3cf40e |
07-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Set framebuffer size to match window before calling _mesa_make_current. Fixes issues with apps that don't call glViewport by default.
rivers/dri/i915tex/intel_context.c
|
3efd0c7b8d1aaa8abd78b35e4cb92dae4279dd77 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix swizzled writemask bug
hader/slang/slang_codegen.c
|
f3da222839151bc8cbedbbe1e84f771deb31148c |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
remove bogus assertion
hader/slang/slang_vartable.c
|
9adf6e9d6c0fe420f648bf3f57c22df72dea485f |
07-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout. Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore.
rivers/dri/i915tex/i915_tex_layout.c
|
d25046b6487aaaa55cc2e3cfa57fe75a1c9d6de1 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix incorrect HPOS write test
hader/slang/slang_link.c
|
e61ec95deb6e7edb2b003036773d57cc70d2c275 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
additional error detection
hader/slang/slang_codegen.c
|
cec81eef313cea94ffdbd8e62c18ff8d3f651dbd |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
check for null program ptrs in _mesa_uniform()
hader/shader_api.c
|
55821d021d87fba6551509f5612ee16d9ece977f |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Generate an error if the vertex shader does not write to gl_Position.
hader/slang/slang_link.c
|
6cb0aa12b82bf29e0306de7a2baa1c398732688c |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
more integer arithmetic updates
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
0af1c6b5d1e2a5560f92b93b5429f70b49449ddb |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
e69da9d02ecdf47d930276783f8b8df1a3cd99dd |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
explicit calls to _mesa_unreference_framebuffer() not always needed now
ain/fbobject.c
|
1a6baf092b4c31d5fd30c934f1a17d69c9689f12 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
unreference old framebuffer, if needed, in _mesa_reference_framebuffer()
ain/framebuffer.c
|
955906aa647d0d233b422c979e1ee81dc32abb87 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix renderbuffer mem leak
rivers/x11/xm_buffer.c
|
37fd6be41134df46cb9dad7f9201188ff9707629 |
07-Mar-2007 |
Brian <brian@yutani.localnet.net> |
formatting fix
rivers/x11/xm_api.c
|
e10a1457e827f9cfb18a4438f3254151ddf1d60b |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix some int arithmetic problems
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_emit.c
|
87c9ad6fd57a60c29dc83c8a538e70a93d125e25 |
06-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
fa8961069c5a99f118deeb5c0217e7c7e1de5f1a |
06-Mar-2007 |
Ian Romanick <idr@us.ibm.com> |
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
|
091be1119050f8cd158161aa3960b1f4260cd790 |
06-Mar-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix cut-and-paste error in the name of GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB.
lapi/gl_API.xml
ain/enums.c
|
28ab1125c22bcb558e3b5e127d975120de76e103 |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
more DEBUG_PROG code
hader/prog_execute.c
|
c6d930a11467730e1b6fed13d59680acab90b6df |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix vert/frag typo
hader/slang/slang_link.c
|
a510bc3ee1a696da120c09ee4ec33dc033f671ac |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Fix/improve framebuffer object reference counting. Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
rivers/allegro/amesa.c
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
rivers/glide/fxapi.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/xm_api.c
ain/context.c
ain/fbobject.c
ain/framebuffer.c
ain/framebuffer.h
ain/rbadaptors.c
ain/renderbuffer.c
ain/renderbuffer.h
|
593802c0b0f451299ac2598c6de61e884fb44830 |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Take care of texObj reference in _mesa_free_framebuffer_data()
ain/framebuffer.c
|
330d7e2080ec3f4385f83a6b68e4b46f28aee7a8 |
06-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
c05b6f800a1d4726ea92a20aab99dde5d00b5e17 |
06-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
6f9b1afc862851532e4820705c412388b497ad58 |
06-Mar-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300: Call radeonSetCliprects from radeonMakeCurrent. Based on a patch by Panagiotis Papadakos. Among other things, this makes sure the framebuffer object associated with the drawable has the correct size when _mesa_make_current is called, so the default viewport is set up correctly. Also update radeon->lastStamp in radeonSetCliprects.
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
|
1c70cde8881f794782780cbd695da0882f78c769 |
06-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#10182 call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers.
rivers/dri/i810/i810screen.c
rivers/dri/i915tex/intel_screen.c
rivers/dri/intel/intel_screen.c
|
a783713432a1aed168688ace7d03bc11abf9b406 |
05-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix for bug#9971 call swsetup_Wakeup before falling back to software rendering
rivers/dri/i965/brw_draw.c
|
540e1c70ccb756200dbec3441b8238fac8e1cebe |
05-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
7ecdfb2f08c8722ecad9269ef753420a49be3dde |
04-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Propogate UsesKill information.
hader/arbprogparse.c
|
180c0d70c43abe694e8b601159e02baf9af7b042 |
02-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
95577064040ceeaaf7b0a460f91eac951cf8af18 |
01-Mar-2007 |
Christoph Bill <egore@gmx.de> |
r300: Use register name & add a register about shading.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
0d2a68fc61ed6e47a7a8ae4197596b96bb11f886 |
01-Mar-2007 |
Christoph Bill <egore@gmx.de> |
r300: Use reg definition when available & add missing reg definition.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/radeon_mm.c
|
ad3f2107ed698e794871e0a2bd996260b263b46a |
01-Mar-2007 |
Christoph Bill <egore@gmx.de> |
Add early register descritpion. This need more work on case where we can disable or enable early (stencil, alpha might need it to be disable).
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
5cb01764f647be7ca3cb5e891af9fe012914a93d |
01-Mar-2007 |
Rune Petersen <rune@megahurts.dk> |
Optimize cos&sin instruction a bit more.
rivers/dri/r300/r300_fragprog.c
|
a8ba888a351ceb4242fa334f3c41ef76d7f25bc8 |
01-Mar-2007 |
Brian <brian@yutani.localnet.net> |
move oldFb decl into tighter scopes
ain/fbobject.c
|
9fbb2e9e76aabc73148c464ce8fd6980a2c1d3f5 |
01-Mar-2007 |
Brian <brian@yutani.localnet.net> |
fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in general
ain/rastpos.c
|
6a47e350656b1090e399144ff6a0cdabe94842e7 |
01-Mar-2007 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
38a88db1fc69b774ded3b7a44126e0b0f61e886b |
28-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
0609b6afa8117893d7b36468158ac6ec2f5642bc |
28-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Sync pages differently when crossing pipe borders. Don't flip (up to twice) immediately but just arrange things such that the pages will be in sync on both pipes on the next flip.
rivers/dri/i915tex/intel_buffers.c
|
3c578455e103664e6f93a7792999da7c06dd9a3f |
28-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Check that intel_rb is valid before trying to add it to an fbo.
rivers/dri/i915tex/intel_fbo.c
|
edf676cc5af26d8f82625a94788d4f27c464ab38 |
28-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.
rivers/dri/i915tex/intel_buffers.c
|
afa780c09d8e48c1c9ecaa4bce1bbe7e8e9c5e2c |
28-Feb-2007 |
Ben Skeggs <skeggsb@gmail.com> |
nouveau: drm interface changes
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_sync.c
|
381b4b0c91d476811420d8806eb8c058d0075927 |
27-Feb-2007 |
Nian Wu <nian@tinderbox.sh.intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
59e56ee3e5c8f9aa9ec74e1817065a7ae14012ea |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix comment
rivers/x11/xm_buffer.c
|
f30e31276304696558abffdd9a6e3df21d41c0f5 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
ain/framebuffer.c
|
0e1bd2302537a9684158cb353b876af4ce6346e7 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/
ain/matrix.c
ain/mtypes.h
|
2cf8d24131edec78778d7b6ce49ead9157c2b266 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unused DriverMgrCtx
ain/mtypes.h
|
fa4d0364246d24b3f86bc9a8486a9ad7db60f1b3 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. These control code generation options. May be overridden by drivers, debuggers, etc.
ain/mtypes.h
hader/shader_api.c
hader/slang/slang_emit.c
|
4f26a52908d14b753199a529fd4c24da608ead29 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
re-enable var scope destruct in slang_operation_destruct()
hader/slang/slang_compile_operation.c
|
553fe132d4dec3283afd59f81357ebb3c2b94c06 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Fix a few bugs in slang_operation variable scoping. Seems to fix a double-free.
hader/slang/slang_codegen.c
|
aa6f4241f8d9e301e056968a1eb85bb27b7fa55a |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
formatting fixes
hader/slang/slang_utility.c
|
e21096b07c5854d01114b58f87d08709e370f8b7 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix mem leak
bo/vbo_context.c
|
b58ea057feb7a00329fe92fe41e1d408e7c76065 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix mem leak in _mesa_ShaderSourceARB()
ain/shaders.c
|
4b8d75e2e6ba72bbf772a75d7167c537c6e630f7 |
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix logic for reporting errors
hader/slang/slang_compile.c
|
f446e58e45d7317173497eddbd8b26ea6c28fcb4 |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
disable execute bit
hader/grammar/grammar_crt.c
hader/grammar/grammar_crt.h
|
6817407d498ff0c5074321b965673f6efdaaeb21 |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix error flagging
hader/slang/slang_compile.c
hader/slang/slang_log.c
hader/slang/slang_log.h
|
365f8fb0dd19a8fa43b1de8e89793059095981db |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
re-enable some code
hader/slang/slang_typeinfo.c
|
ed0ae62ad746d10fe546c900a42e55af5d05c227 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
|
ca279b80e686e2e590f1cf08ef22dabdead4d66f |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove old error logging code. New slang_log.[ch] files.
hader/slang/slang_error.c
hader/slang/slang_error.h
hader/slang/slang_log.c
hader/slang/slang_log.h
|
c4ac5ac9d70bf89366f8d8798d038dbbc71d833f |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Overhaul of error handling.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_preprocess.h
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
ources
|
7f01ef171fa99e9f423fcaae28eff27edefc8d85 |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Overhaul of error logging.
hader/slang/slang_error.h
|
e63c7e089334fd219e0c738fb089be2f75c689d5 |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Use new slang_emit_info struct for passing context info around.
hader/slang/slang_emit.c
|
928a70e4354d4884e2918ec67ddc6d8baf942c8a |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Rewrite code related to buffer destruction. Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xmesaP.h
|
f30e8a4bdf8338dc3f8e985a9c91af61a3301990 |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
if renderbuffer ptr is null, just return
wrast/s_readpix.c
|
e6a9381f78605072cab52447fce35eaa98c1e75c |
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Do proper framebuffer refcounting in _mesa_make_current(). Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
ain/context.c
ain/framebuffer.c
ain/mtypes.h
|
1a72c8ed3ff6ffc4a301f3c4a107d2693719edb8 |
26-Feb-2007 |
Panagiotis Papadakos <papadako@csd.uoc.gr> |
s/pdp/prp/ in DoBindContext()
rivers/dri/common/dri_util.c
|
3528d61820e9ae1aafb12fb90849155f3cab6d2c |
26-Feb-2007 |
Panagiotis Papadakos <papadako@csd.uoc.gr> |
add missing param to _mesa_warning()
rivers/dri/common/dri_util.c
|
4e53ce81cfa2a98d045433ffbc4d295a239ad0b6 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove unneeded includes
wrast/s_fragprog.c
|
3c1c999226859216b8af35c4806413b4488f21b4 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
update comments
hader/prog_execute.c
|
313d50e9036558185e189873acb861bfa73f41a1 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
fix bounds checking in get_register_pointer()
hader/prog_execute.c
|
b85d4d61a7f93a9f2d58a1d701808584e0fce8c7 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
define and use MAX_PROGRAM_ADDRESS_REGS
ain/config.h
hader/prog_execute.h
|
33eac56e4a48143aa8acd5757feb68570e860de5 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of functions.
hader/prog_execute.c
hader/prog_execute.h
|
6774f32adba96237d7a2f422435044661772d70c |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
simplify _mesa_get_program_register()
hader/prog_execute.c
|
21bcb2e1f64fe7161e05e4dbb7bea5609ba30e2a |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/GetFragmentProgramRegister/GetProgramRegister/
rivers/common/driverfuncs.c
ain/dd.h
hader/prog_debug.c
|
cfd0011f2fe3aad2ea0f66c151b3fb12d05f644e |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
minor clean-ups in _mesa_execute_program()
hader/prog_execute.c
|
8b34b7da4131d2b07037ce062c522fddd614f127 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove 'maxInst' parameter from _mesa_execute_program()
hader/prog_execute.c
hader/prog_execute.h
wrast/s_fragprog.c
nl/t_vb_program.c
|
085d7d59f0e167bb546c4a1675e09631b14fc9f7 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove unused 'element' parameter from _mesa_execute_program()
hader/prog_execute.c
hader/prog_execute.h
wrast/s_fragprog.c
nl/t_vb_program.c
|
12fd8faa5dd10457b2360493e9a56ab12659f282 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/attribs/results/
nl/t_vb_program.c
|
29796b62bd4a0f536525c8704577434e2248aab7 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove unused VaryingPtr
nl/t_context.h
|
e71a33bbf87649150bc748b85ca7213af7c737f4 |
26-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Optimize the loop for copying output results.
nl/t_vb_program.c
|
c080123998f28d9317331aec7ddfcd1074b29daf |
26-Feb-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
9854a17f292193c9720cf25ab00818ecc210f911 |
25-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
only copy used outputs
nl/t_vb_program.c
|
675f7f627bec92315bf168a9c872ffc05f88c69c |
25-Feb-2007 |
Nian Wu <nian@graphics.(none)> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
d9fb113e0571dba9ac29576015cb5816c53ac467 |
25-Feb-2007 |
Brian <brian@i915.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
53170942e37ccdf58e06a2cfbfeef6c0ec086ee6 |
25-Feb-2007 |
Brian <brian@i915.localnet.net> |
Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting). In i915_miptree_layout() change the width, height parameters that are passed to intel_miptree_set_level_info(). As it was, the width, height values were larger than the source image dimensions and we segfaulted in memcpy() when copying the original texture data into the texture buffer region. This fix should probably be checked by someone more familiar with the code (Keith?)
rivers/dri/i915tex/i915_tex_layout.c
|
aeaad937b92ac0f5286343ed75c5c9f6876e2650 |
25-Feb-2007 |
Brian <brian@i915.localnet.net> |
clean-up, comment code
rivers/dri/i915tex/intel_mipmap_tree.c
|
5cd30a2b202d12240eac60825f9882838fd66779 |
25-Feb-2007 |
Brian <brian@i915.localnet.net> |
make src ptr const
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
|
fbc4929185ca1dc7d729ec737095ef0895f5b570 |
25-Feb-2007 |
Brian <brian@i915.localnet.net> |
add missing code for newer STATE_INTERNAL items
hader/prog_statevars.c
|
efcfdbd4d16071088e60a59cb966abd730d9d111 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Undo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing.
ain/texenvprogram.c
|
292a80466d3e0b1cec998f2dc1b0abe25dc10fb8 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Outputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions.
hader/prog_execute.c
hader/prog_execute.h
|
5e80c62f3178a65bebca942aa0b1e5d16c34b2a9 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove unneeded _Fragment/VertexShaderPresent fields, update comments.
ain/mtypes.h
hader/shader_api.c
wrast/s_context.c
|
197af3dc3242af4cac5213e095ac6639f6c782cd |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Use prog_execute.c to run vertex programs until t_vb_arbprogram.c is updated to handle branch instructions, etc.
nl/t_vb_arbprogram.c
nl/t_vb_program.c
|
824dcd43990eb696210d2e0a25e4994bd9c6c644 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove comment
hader/prog_execute.c
|
761728afe8b81fc0ff7928f99f8b5668a0a7824d |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Fix assertion in get_register_pointer(), fix EXP case. Note that GL_ARB_v_p and GL_NV_v_p define the z component of the EXP instruction differently. We follow the ARB extension.
hader/prog_execute.c
|
f183a2d7ea31a4fea89af834dc19c5b232eb1970 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added ARL, EXP, LOG, relative indexing
hader/prog_execute.c
|
a2786a97d74647662f1fe6aa29257e70b9e3636a |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
add some missing cases in _mesa_program_state_string()
hader/prog_statevars.c
|
f1390a34241d5efcf931b0edec81dd802ad3b835 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix fog breakage
hader/arbprogparse.c
|
e80d901d9854b7c24a71fcd5a3377c33f408c8c0 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
reindent
hader/prog_execute.c
|
6df328e84d270ad0e6e2fab9a884313f0e780aa1 |
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
don't pass program ptr to fetch_vector[14]()
hader/prog_execute.c
|
3f8c5969ffea5485aa119f4d766cdfee7d4aadeb |
24-Feb-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix GLAPIENTRYP for OS X. Fix build problems related to incorrect define of GLAPIENTRYP on OS X. Reported by bushing on IRC.
lapi/gl_table.py
lapi/glapitable.h
|
064ae479a770bf434958d673baf6f7530f642697 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Update DRI drivers for new glsl compiler. Mostly: - update #includes - update STATE_* token code
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i915tex/i915_program.c
rivers/dri/i915tex/i915_state.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_debug.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/trident/trident_context.h
|
36a0ee199ddc5f29273f9761eeed8e18ad5c874f |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
expose _mesa_load_tracked_matrices()
nl/t_vb_program.c
nl/tnl.h
|
cc6a08b2a01c1ac774eaf0ca22eca325f82a064b |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
SWvertex no longer has texcoord field, use attrib field instead
nl_dd/t_dd_vb.c
|
fce8409cbbe6aa5309163f3d63894233b8833308 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/GLint/gl_state_index/, length is now 5 not 6
nl/t_vp_build.c
|
9fe3e2efc3a76b2a2fb82031041f6a6170c5b1d9 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/GLint/gl_state_index/, length is now 5 not 6
ain/texenvprogram.c
|
0020d1022f4b5befe4adf783bedc4cf83e09f01f |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
re-expose _mesa_print_alu_instruction()
hader/prog_print.c
hader/prog_print.h
|
ef0cc9db547017309988c848376569174cfb90e8 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove dead code
hader/prog_statevars.c
|
aa9d22a1c0f3256497088985c290d4046e089456 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
replace GLint with gl_state_index
hader/arbprogparse.c
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_statevars.c
hader/prog_statevars.h
hader/programopt.c
hader/slang/slang_builtin.c
hader/slang/slang_link.c
|
99902198de9a81fa95ab058048d618c5ecb7856e |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
comments, clean-up
hader/slang/slang_emit.c
|
5186ae9bbe8c630c2434c7488fbe5bffdfba46a7 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unused slang_atom_pool_gen()
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
308be21c2fe8e5d33bd63eca1d3e8250cd80199d |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added slang_label.c
ources
|
c2a261f4930f6f73595b6f5df5594d160f3249af |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
comments, clean-up
hader/slang/slang_codegen.c
|
75d4ed968d48d95c274a5965cc19b13a0e47ef9f |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Replace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up.
hader/slang/slang_builtin.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
c18c75b0b78a7a4391d94864fdd3466a0095342f |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove old _slang_gen_if()
hader/slang/slang_codegen.c
|
afbf7c7e6b7613d8d219807adaf7d17971ac2e6d |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Re-implement branching with slang_labels. This eliminates the NOP instructions that had been used as placeholders for branch targets. Also, fix "return" statement bug.
hader/slang/slang_codegen.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.h
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_link.c
|
d8d07b2a8aa5cf9c5ce877b20351983b1aa8d01d |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
label routines for implementing branches, jumps
hader/slang/slang_label.c
hader/slang/slang_label.h
|
0cc941963197fcdf8913462dbb225bc2bfca9d85 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
debug code for emitting variable allocation comments
hader/slang/slang_emit.c
|
059376c855cbeb160e98f438a35edb8bd88b8bb2 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
expose _mesa_swizzle_string()
hader/prog_print.c
hader/prog_print.h
|
5e66843733c8123e73cadc1bc5c6111d64abaf25 |
23-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r200 fix broken (by new input handling) fogcoord
rivers/dri/r200/r200_maos_arrays.c
|
bc18ac45a3b8ef746ce4a3c8abf79bd984a4614b |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
updated for vbo
rivers/glslcompiler/glslcompiler.c
|
da46353056c2e20f81ef620efe81d5d076ab0c12 |
23-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Remove obsolete files.
hader/nvvertexec.c
hader/nvvertexec.h
|
13e3b21b16b14112b416f3ee5742fc7bd1b2d823 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
New, unified interpretor/executor for vertex and fragment programs. This replaces the code formerly in nvvertexec.c and s_fragprog.c. Currently, DDX, DDY don't work.
hader/prog_execute.c
hader/prog_execute.h
|
7aaefcbe487aedf53a46a66d2bac8b265b0176bf |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use _mesa_get_program_register()
rivers/common/driverfuncs.c
|
f6803de7396edda2223adf7ff7445579dbe475c9 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Use the new unified vertex/fragment program interpreter from prog_execute.c. Currently, DDX, DDY don't work.
wrast/s_fragprog.c
|
e382efc85d02ee5a0c582e1a9d9bc35ad262e70b |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use new _mesa_execute_program() function
nl/t_vb_program.c
|
6cfe2114f19cdcaa372df1c30a7dc7be3b94a330 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
FORCE_PROG_EXECUTE_C cpp flag, misc changes
nl/t_vb_arbprogram.c
|
fd89396012bf4e2f36315e79ee180f0ca4eaf32e |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix assertion
hader/nvvertexec.c
|
7c86e10193491a36433104a5f1f0f4cf37a6333f |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
emit high-level IF/ELSE/ENDIF for vertex progs now
hader/slang/slang_codegen.c
|
740a8b0b66f0e00807f064e3105fd6b045e5a2d0 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
_mesa_ExecuteProgramNV is now a no-op
hader/nvprogram.c
|
ef64cda9786858c8247166ae2692fc043121b6f4 |
23-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove nvvertexec.c, add prog_execute.c
ources
|
3ed1acd13c7876288a5d1ab6d288b1654f0c2e6d |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use MAX_PROGRAM_ENV_PARAMS
wrast/s_fragprog.c
|
b7aeac0de1c9c533f78c5d6acf358bdc206161ab |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added MAX_PROGRAM_ENV_PARAMS
ain/config.h
ain/mtypes.h
|
79fb4527cad556792f514d9e94e8f623837752ad |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added CallStack, StackDepth
hader/nvvertexec.h
|
29925c6dcd2ee707bce3a278f9c9ce3db5d00630 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unneeded #includes, misc clean-up
hader/slang/slang_codegen.c
|
e47c60443f3a0261f975e36614de569322f1b71d |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
reorg/clean-up/indent
hader/nvvertexec.c
|
11b9ef9454db419865a5fc82fc333c061497ef81 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
start implementing conditions, branching
hader/nvvertexec.c
hader/nvvertexec.h
|
2eeaae6cbcc6d5b1d85ab7e9b681b59568fb8600 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
get rid of some unused slang_variable fields
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
50040573d7b4a34eb919016c5fe85aeaca9e9065 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Replace slang_allocate_storage() with simpler _slang_attach_storage()
hader/slang/slang_codegen.c
|
b618ac8c0b6d8ebd8af6c6d44d368f6b033acae8 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
updated debug code
hader/arbprogparse.c
|
776bc9cf55b116e17dddde4d097985b51879c83f |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.
hader/arbprogparse.c
hader/prog_parameter.c
hader/prog_statevars.c
hader/prog_statevars.h
hader/programopt.c
hader/slang/slang_builtin.c
nl/t_vp_build.c
|
641c966e3de192eba17c693f00d6654742c72eb6 |
22-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Schedule flips when possible. Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_screen.c
|
3f4826a358cab8b6d638fc8eb46aef668a7bcf46 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
XXX comments about shaders
bo/vbo_exec_api.c
bo/vbo_save_draw.c
|
6ec7484ae8190fb8e61eae9a016b67db65011731 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use ctx->VertexProgram._Current instead of ctx->VertexProgram._Enabled
bo/vbo_context.h
|
96abc6bf72fe0ca6f2aceb87aa9324afe72d67ac |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED
hader/prog_statevars.h
|
7b30053b264726156a018c822657270e745320ce |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix negative indentation problem
hader/prog_print.c
|
29c471aafc6a3fef23d553e31a555d1782854a77 |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'origin' into glsl-compiler-1 Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
|
4a1d7d6641ab9e66edce9d98456b978fe90a0617 |
22-Feb-2007 |
Dave Airlie <airlied@linux.ie> |
r300: get rid of CB_DPATH legacy
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
5a2c1ad6258bf5b91dbebcc412d4f9221b93ef3f |
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
disable debug
hader/slang/slang_codegen.c
|
5d89b027ee6d36aa5fffc45a5d321cfb3b24cad3 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unneeded #includes
hader/slang/slang_builtin.c
|
502c132738bfe4259ecc478c72969b435271a28d |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix copy&paste errors
hader/slang/slang_builtin.c
|
f958aabdf3e3dc82827628cab97b159bd5089651 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
more minor changes to STATE_ indexing
hader/arbprogparse.c
hader/prog_statevars.c
hader/prog_statevars.h
nl/t_vp_build.c
|
78399d23dc75611d839c2fe1165f9fe3ab37c472 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove dead code
hader/slang/slang_emit.c
|
f94189282989c0654599731ba0a61dfd34ccd80d |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Reimplement the _slang_alloc_statevar() function. After several tries at making a table-based system for examining pre-defined uniforms to find statevar indexes, give up and do it the simple way (lots of strcmp() calls). Not terribly elegant, but perfectly functional.
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
|
6531952b3c979be0dc95704beb3c3b9dad1dc37b |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
adjustments to STATE_ token layout/format so token[1] is always the array index
hader/arbprogparse.c
hader/prog_statevars.c
hader/prog_statevars.h
hader/programopt.c
hader/slang/slang_builtin.c
hader/slang/slang_emit.c
nl/t_vp_build.c
|
c3301d038d404be7c8ecda9d1425617e650e6198 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint overhaul of pre-defined uniform code
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
aa7ddbd0ff97ad5233a766976bbbb31e7cb1cd51 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
clean-up, move IR_ELEMENT code
hader/slang/slang_emit.c
|
760c114b24fd679bb5c5d386c5935f53ef03e8e5 |
21-Feb-2007 |
Brian <brian@yutani.localnet.net> |
alloc IR_FIELD's Storage in codegen, like IR_ELEMENT
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
a4b344baa2484c65a1618f3cce3a94c91dea8ef7 |
21-Feb-2007 |
Ian Romanick <idr@us.ibm.com> |
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
|
f0bcee5db0523edaacbd1fb0eaa74b435ae7c188 |
21-Feb-2007 |
Ian Romanick <idr@us.ibm.com> |
Delete two invalid assertions. These two assertions are invalid for a couple reasons. Primarily, when this code is compiled into the X-server, the symbols "glSecondaryColor3fEXT" and "glPointParameterivNV" do not exist.
lapi/glapi.c
|
10f42ddb9ea75fcce05d5777e8c64cdf42152ff2 |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
work on struct/array handling
hader/slang/slang_codegen.c
|
361b60678e7d2c005593c289baf3263a1a461bf5 |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
forgot to return length in parse_array_len()
hader/slang/slang_compile.c
|
440759c2cdfdd9a7fbc6500fca2afa519126c1a7 |
20-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: grr, ctx->DrawBuffer invalid?
rivers/dri/nouveau/nv10_state.c
|
79870d100f90555b520af342cf59496236ff8f20 |
20-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale
rivers/dri/nouveau/nv10_state.c
|
102ad2e066b7a6fcd893db58c64ca685e49a3dfd |
20-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits
rivers/dri/nouveau/nv10_state.c
|
243c2dd7469fb3e6af7206b1a6e60bfe6134fb71 |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
implement support for pre-defined uniform structs (state vars)
hader/slang/slang_builtin.c
hader/slang/slang_builtin.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
48d65aabbc1e679fbf56fb7c4f7d4d702d43501a |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added slang_builtin.c
ources
|
e33a9d689415e00bded306699abdf93b96c0b9ad |
20-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Triple buffering support, only effective with page flipping so far. Pending flips are tracked per renderbuffer and the colour renderbuffer attachments of window framebuffer objects are rotated on flips to avoid stalling the pipeline for pending flips unnecessarily.
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/server/i830_common.h
|
356bf9563ed145de5ba4a14c9f23c379293f273a |
15-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intelWindowMoved: Some debugging output was accidentally left always enabled.
rivers/dri/i915tex/intel_buffers.c
|
bfbc1de02ea5a26dc9c05bdd267aa933f04891c8 |
15-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intelRotateWindow: Only use back buffer and cliprects in very specific cases.
rivers/dri/i915tex/intel_buffers.c
|
6f2bf34748c2dfcff09216132c48377db7d6f17d |
15-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests. intel_get_rb_region already takes the current page into account. This would result in broken rendering when multiple 3D windows are visible and the pages are reversed.
rivers/dri/i915tex/intel_blit.c
|
6b99cafd69a791d03ce749d0fd2b9f59ca265677 |
15-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Support page flipping on both CRTCs independently. No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_tris.c
|
af64dd2ae0aa31261002335f10d46492000f552b |
02-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Make page flipping work again.
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_tris.c
|
d44027dbbd8837b2a32466b0617283649e770907 |
20-Feb-2007 |
Adam Jackson <ajax@benzedrine.nwnk.net> |
Fix parallel make in r300 driver.
rivers/dri/r300/Makefile
|
bd894c4705e214d1ddc0165e2420bf96e321305f |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added SWIZZLE_XXXX, SWIZZLE_YYYY, etc
hader/prog_instruction.h
|
174c5554145a54d925444ec47f06777420e04ea1 |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove accidental check-in
rivers/glslcompiler/glslcompiler
|
3d001b81c23dc1981cd5f4b0885d935d2c9a098b |
20-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
|
d2b06403c6f06ee37f46c2a504983884382c8abc |
19-Feb-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
i915tex: Fix performance regression with new vbo code and latest drm. With current memory preferences, vbos ended up in AGP space where reading from them got a bit slow. Make sure buffer objects are initially created in system memory.
rivers/dri/i915tex/intel_buffer_objects.c
|
9449a4d8945de684609663468b96b7ed3aa884b9 |
17-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/
hader/prog_print.c
|
cc153541a2cd83ef7249a0173da4a381b099e0e4 |
17-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
stand-alone GLSL compiler
rivers/glslcompiler/Makefile
rivers/glslcompiler/glslcompiler
rivers/glslcompiler/glslcompiler.c
|
501ee87180047dd04afc69103c31e1eae5374bf1 |
17-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Lots of changes to prog_print.c code. Mainly, allow printing programs in either ARB, NV or "debug" formats.
hader/prog_print.c
hader/prog_print.h
wrast/s_fragprog.c
nl/t_vp_build.c
|
43c6b2f67fc13b80bfa7d4128666ed04903cf2a0 |
17-Feb-2007 |
Sean D'Epagnier <sean@depagnier.com> |
Merge branch 'master' of git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa
|
7ae8f388cf81c187f0cbfcc4997c93b28cf6c26a |
17-Feb-2007 |
Sean D'Epagnier <sean@depagnier.com> |
Commiting a few minor fixes to glut fbdev (segfault on a separate stack) Updated all drivers that used the old _ac_ functions to use the new _vbo_ functions. I know this fixed the fbdev driver, it looks like it might fix some other drivers too.
rivers/beos/GLView.cpp
rivers/directfb/idirectfbgl_mesa.c
rivers/fbdev/glfbdev.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_ext_dx7.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_ext_dx8.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_ext_dx9.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/windows/icd/mesa.def
|
21f2f7f26b5b9ab9f219f2bd22c68bcaa8cbdfe3 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv50: update
rivers/dri/nouveau/nv50_state.c
|
4cc4a753fa3c41e5ef1890a9a03c97d3c39b6535 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10,20: wrong viewport clip setup
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
|
0fccb646e0c83f6bb4c8b453cc2e915e8cee21f1 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv20: texture matrix
rivers/dri/nouveau/nv20_state.c
|
66d8e55184ff8ebfdfef174336dbb5560c45e735 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv20: update
rivers/dri/nouveau/nv20_state.c
|
f942dc5522682b70fb05df5b2d5d732bb65e6fe2 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: set clear value for 16 and 24 bits depth
rivers/dri/nouveau/nv10_state.c
|
9131536f00cca586be7dfc1cfbc47188c78e4920 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: rescale depth near and far
rivers/dri/nouveau/nv10_state.c
|
252d1de05430cbed532b5a716cbd7da0ee7dd0d1 |
16-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: fix viewport scale and origin
rivers/dri/nouveau/nv10_state.c
|
00647c39deec87cfaff6e4a694020875340fdd09 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove dead code
hader/slang/slang_link.c
|
c1771918042a26c8f5f27f9e28cf1890c04d891f |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/_slang_link2/_slang_link/
hader/shader_api.c
hader/slang/slang_link.c
hader/slang/slang_link.h
|
1c1a0a23d32f889971de61c2c25fa1eebb9889a3 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
change all enum tokens to uppercase
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_print.c
hader/slang/slang_simplify.c
hader/slang/slang_storage.c
hader/slang/slang_storage.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
d15059b1283621ecbca3c24e89fdc449f15a9fa2 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
abort upon errors (temporary)
hader/slang/slang_compile.c
|
d30806b0c54c39351096c29c382d727a821b7da0 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
added a comment
hader/slang/slang_codegen.c
|
9ea2315d2df7034db1cf8d00a6c3e71da5612969 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Allow int->float argument conversion in _slang_locate_function().
hader/slang/slang_typeinfo.c
|
d003877c669414474fbe00ca423ebbb462939529 |
16-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
implement IR_I_TO_F
hader/slang/slang_emit.c
|
e4c772bead57c0190f74f1fa43dd129e170567f7 |
14-Feb-2007 |
Rune Peterson <rune@megahurts.dk> |
r300: Fix cos & add scs to fragment program. So this do : - Fixes COS. - Does range reductions for SIN & COS. - Adds SCS. - removes the optimized version of SIN & COS. - tweaked weight (should help on precision). - fixed a copy paste typo in emit_arith().
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
|
1e2b46963595e02172b4d651cc8a219e9f5c8176 |
14-Feb-2007 |
Etienne Clement <etienne.clement@autodesk.com> |
test for POT before using sample_2d_linear_repeat()
wrast/s_texfilter.c
|
7d8ed0f5f5960a492734cb415b8a85ef4ad79846 |
14-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix typo preventing generic arrays from working with ARB_vp (bug #9952)
bo/vbo_exec_array.c
|
83cf4ce6e40ed1841b94f528dc89838e875c720d |
14-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: there are 8 clipping regions
rivers/dri/nouveau/nv10_state.c
|
99dfca1e7fb32157135511bded07376ebb25acb3 |
14-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix stupid bug in the optimized per-vertex fog generation code
nl/t_vp_build.c
|
bc82b44db9dbb6ea0f02c2a9a430e8d402c85bd3 |
14-Feb-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
i915tex: Take into account various mapping states when dropping the batch buffer after a resolution / rotation switch.
rivers/dri/i915tex/intel_context.c
|
ed490e4643f4b20b2b4b745f0285e32d099663a0 |
13-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove dead code
hader/slang/slang_typeinfo.c
|
1e6688742e6a6e11d002c1fce5dca3da3d58594f |
12-Feb-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
I965: fix a failure on waiting irq. Wait until getting the right fence if drm/i915 resets the counter.
rivers/dri/i965/intel_ioctl.c
|
ebcc9b5d12995cc83c032beeff468c5ecb30b33f |
11-Feb-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
fd.o #BZ 9684 gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data.
ain/light.h
|
ee5417bca883d82d618e1c0b65011940253555dd |
12-Feb-2007 |
Rune Peterson <rune@megahurts.dk> |
r300: Add proper support for sin/cos instruction in fragment program Getting proper SIN and COS wasn't as easy as it appeared. I had to make make some changes to the fragment program code. general FP changes: - support HHH swizzle for vector instructions. - don't copy a source to a temp when it is not XYZW swizzled, but combine the two and have the swizzle resolve any issues. (saves temps/instructions with more elaborate shader code) - fix overflow in cnstv[].
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
3bacb68c70e4a0813bf944061a97e727cbd89c43 |
11-Feb-2007 |
Rune Peterson <rune@megahurts.dk> |
ctx->Point._Size fix
ain/points.c
ain/points.h
ain/state.c
|
5620392d67278714f7c2a5ccc3101334ac35ab3f |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
add prog_debug.c
ources
|
942ee025908a95afc57990c57d6754ca1a626b04 |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
move GL_MESA_program_debug funcs to prog_debug.c
hader/program.c
hader/program.h
|
383ecc0374582900016c6411aff65d27829f876d |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Move experimental GL_MESA_program_debug functions into new file.
hader/prog_debug.c
hader/prog_debug.h
|
b3893baf80f913499092d4339b3131527b912188 |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
comments, etc
hader/slang/slang_emit.c
|
3d479b96385963dd7aacfa9f17cd480256ca6b4f |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
re-enable free'ing of IR trees
hader/slang/slang_codegen.c
|
cf490a7f81b393242ab5eeec085e79a60bcf6345 |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
always init param vars to silence valgrind warnings
hader/prog_parameter.c
|
b2d30ca0cb01a80ff440a4a07b293daa16486e12 |
09-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
optimize per-pixel fog program use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested)
hader/program.c
hader/programopt.c
|
fcccf8943213a20957f305161e8aae7fef55baab |
09-Feb-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
array overflow fix
bo/vbo_exec_array.c
|
5e6908944bbc76be020a3f5306c2a674f944f42e |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
do full swizzled matching in _mesa_lookup_parameter_constant()
hader/prog_parameter.c
|
bd9615bbc59b0ce626bb32e2a005fccec20e7331 |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Check for constant-valued while/do loop conditions. Allows us to: 1. avoid generating constant-valued BRK test for while(1).. 2. discard entire loop for while(0). 3. detection infinite loops at compile-time.
hader/slang/slang_codegen.c
|
c0a9f554be0b82f2e6ce2d9318854ecd24a1a890 |
09-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
optimize conditional breaks/continues
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
421ce180f52ff55b866066fabd861a51dd6d2b26 |
09-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
r200: simplify / unify input map handling for vp and fftnl Use the same input map handling for fftnl and vertex programs. It doesn't enable any new functionality (should make it easy to support per-vertex materials though), but the code is much cleaner.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vertprog.c
|
54dac2c84310536cce962101de29546d3eb80175 |
09-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
optimize generated vertex programs a bit Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested...
ain/imports.h
hader/arbprogparse.c
hader/program.c
hader/program.h
nl/t_vp_build.c
|
6cf892eeb6edd69d4ba77d4ececa21a09ba317c4 |
08-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix issues in vp when using FRAG_BIT_WPOS in a fragment program (bug #9910) Redirect all VERT_RESULT_HPOS writes to a temp and use that for fixup. The viewport transformation still seems to take some shortcuts, and it still does not seem to work at all...
rivers/dri/r300/r300_vertexprog.c
|
6230ae7faf46e0ebcb4807df051c8b50482089dd |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
cont at top of loop, little clean-ups
hader/slang/slang_emit.c
|
a1c2e87c4b7958b0f1a884bba893153b382973df |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove some cruft
hader/slang/slang_codegen.c
|
fbf0f400b743686ccdf78b927fd5de477d764a9d |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
fix broken BRA for return stmts
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
34af2b7194ad473c8ae20bcff933910f8386c3f0 |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
consolidate BRA with BRK, CONT
wrast/s_fragprog.c
|
c81aedeaeca431b6e91e34559eaabfce80a9796f |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
change BranchTarget to GLint
hader/prog_instruction.h
|
b768c485474baefdde63098776e9d32c17b859ab |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Use conditional break in for/do/while loops.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
97125fb370faa6aee0967254fad69f27189b9325 |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Simplify code with eval_condition(). Implement conditional BRK.
wrast/s_fragprog.c
|
2c75ef62ea8dfd690aab6fa4f2c85afba569a21f |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
remove old loop break/cont stuff
hader/slang/slang_codegen.c
hader/slang/slang_typeinfo.h
|
b35b4566c2d3bbf21c8fd955912f4c3c671f2bb9 |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
high vs. low level if/then/else code emit
hader/slang/slang_emit.c
|
c5e6bf63e6f8256c9e10bbbe8fb7a38de9d22921 |
08-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
s/%f/%g/
hader/prog_print.c
|
a7c2c7d6b28570230fb1b4fbc47b94581ef7e6fa |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Remove old functions for generating BRA-based looping.
hader/slang/slang_codegen.c
|
4aa487e7968d015af4fe729f697105448fcb843f |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Use IR_LOOP to represent do-while and for-loops. Also, start moving high vs. low-level instruction selection into slang_emit.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_link.c
wrast/s_fragprog.c
|
1f99a7514e9c36b7ce2c6c1724a6584790656415 |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
BRK and CONT work the same
wrast/s_fragprog.c
|
f22ed0986a743e033d827c78371612c7115ff913 |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Implement CONT, improve BRK. IR_LOOP's BranchNode ptr is the head of a linked list of CONT and BRK nodes. After emitting loop, walk over the linked list, filling in the CONT/BRK instruction's BranchTarget field (location of the ENDLOOP instruction, or one past).
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
wrast/s_fragprog.c
|
5f7d4668c4b7de1c0d2269809d30aef6d0a089e9 |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOP
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_typeinfo.h
|
7e73bc32f565b3d07e9a5cfbe0736d1d6bd6a2c1 |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
new_node[0123]() functions
hader/slang/slang_codegen.c
|
204336451678ba8710756111e6cf4867d6adb40e |
07-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
redo IR_IF node, removing IR_ELSE, IR_ENDIF
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
f46c19d965fb05a49d361aa251e37b5ef32dd839 |
06-Feb-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: a couple of NV3x fixes
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_state.c
|
d434019633ccc537f07ec4e7d409bc93134367c8 |
06-Feb-2007 |
Brian <brian@yutani.localnet.net> |
additional comments for BranchTarget
hader/prog_instruction.h
|
2755c798f3cb89fcd4ece16cd740af1cd86a6b99 |
06-Feb-2007 |
Brian <brian@yutani.localnet.net> |
BRK instruction's BranchTarget field now used for efficiently breaking out of loops. BRK's BranchTarget field actually points to the top of the loop, not the bottom, since we don't know the later's location yet. In the interpreter, basically do an indirect jump to update the PC.
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
wrast/s_fragprog.c
|
86080796471df6a9e126fd536b21c3b10cb5310c |
06-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Use IR node's BranchNode field for IF/ELSE/ENDIF instructions. This allows us to back-patch the IF/ELSE instruction's BranchTarget field to point to the location of the ELSE/ENDIF instructions. No longer have to search for ELSE/ENDIF in the interpreter. Also makes it trivial to translate IF/ELSE instructions into conditional/unconditional BRA instructions.
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
wrast/s_fragprog.c
|
8518ddda7b5f8e43de4859042fe59f55aa0c2760 |
06-Feb-2007 |
Jakob Bornecrantz <wallbraker 'at' gmail 'dot' com> |
Add support for CN700 chipset in miniglx
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_regs.h
|
d9731b26e759671d63e357eee2c921e90448ada2 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
minor formatting changes
hader/prog_print.c
|
5e73284cee882bc3463e013c9b468a9b84c6dbc1 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
set UseHighLevelInstructions = false for now
hader/slang/slang_codegen.c
|
cf92c727979e434d148b23d20f2e4e0f4bc4de61 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Initial implementation of high-level flow-control instructions. IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work. Disabled by default though until better tested. Implemented IR_NOT, but needs optimization.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
wrast/s_fragprog.c
nl/t_vp_build.c
|
5db088d70fbd14620c2fc7840096a05993f8e2b9 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
indentation for program instructions (if/else, loops)
hader/prog_print.c
hader/prog_print.h
|
17c13b406f4f8a3e7cf755749aa65448f79f6a84 |
05-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix issues when using mixed-mode pos-invariant vp and ff tnl (bug #9856) ARB_vp requires vertex transformation to be invariant to fixed function tnl if the position_invariant option is used. So the same function needs to be used, otherwise z-fighting artifacts may happen with applications which rely on the results being really the same due to precision issues when dealing with floating point values (may not be a problem when using a non-optimizing compiler strictly following IEEE rules).
nl/t_vb_arbprogram.c
|
01001d80e26143ac768115ccb2266db2b24d4fa0 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Initial support of loop and subroutine instructions. New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines.
hader/prog_instruction.c
hader/prog_instruction.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
wrast/s_fragprog.c
nl/t_vb_arbprogram.c
|
5b8a50572d3de2b9801be904c7403fc79061d090 |
05-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
d0b5c77c68f45f9da5421248a064ece831923b0c |
05-Feb-2007 |
Panagiotis Papadakos <papadako@csd.uoc.gr> |
fix mem leak
ain/mipmap.c
|
dd34fe8679fa200e55cfaf8e80bbecdecea084e3 |
05-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Merge SWvertex texcoord and varying fields into attrib[] array field. Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_feedback.c
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_context.c
|
4b3679c6c5b8b47e8071a253bcea570b91e30b17 |
05-Feb-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: OUT_RINGp expects the size in dwords, not bytes. This fixes the *actual* bug that the previous commit was supposed to fix..
rivers/dri/nouveau/nv10_swtcl.c
|
47bd759fc9a8f886b90af9a5d53cbb896f37358e |
05-Feb-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: fix a small bug in nv10 swtcl
rivers/dri/nouveau/nv10_swtcl.c
|
e7654b22aa02636d17a88a9a5ee1eeb213d81f30 |
05-Feb-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: new bufferobj code. The old code suffered from a number of issues, the most severe being that with the Mesa VBO merge even swtcl used the driver's bufferobj interface. On most VBO types (or non-AGP cards) the buffer ended up in vram, and killed swtcl performance greatly. All bufferobj's start in system memory now, until they get referenced as a "real" VBO. The other big change is that only potentially "damaged" areas are uploaded/downloaded to/from the hardware.
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nv30_fragprog.c
|
296eeb882fa9fd7528f33ed307f87171dff7ee1c |
04-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv10: add init for unknown 0x120
rivers/dri/nouveau/nv10_state.c
|
63568745863a54308fecc32dbb96397c35b22496 |
04-Feb-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: fix nv04 and nv10 swtcl, more work on nv04 state.
rivers/dri/nouveau/nouveau_swtcl.c
rivers/dri/nouveau/nv04_state.c
rivers/dri/nouveau/nv04_swtcl.c
rivers/dri/nouveau/nv10_swtcl.c
|
93b975a1d9fcc4a10987676f7368809522f27d71 |
04-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add literal_size field to slang_operation. Used to track the number of components in a float/int/bool literal. Helps with some typechecking things. Fixes problems with calls such as "distance(v2, vec2(1.0, 2.0))"
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
|
5ee684cba9b1f63090e184125e5890da4fc1d28c |
04-Feb-2007 |
Brian <brian@yutani.localnet.net> |
minor tweaks to distance() funcs
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
82f53f45d96871cdaba3886275be78162ef838f5 |
04-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unused slang_operation fields
hader/slang/slang_compile_operation.h
|
f8ec7f1398e600f4ed2ff3d0fb8d77d706f0fc18 |
03-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: forgot function declaration
rivers/dri/nouveau/nouveau_state.h
|
be85770f148a0b3cac1720f843b2fa34dd74295f |
03-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: nv50: use nv50 state
rivers/dri/nouveau/nouveau_state.c
|
00d63aafc6d938f13acc9b136ff210fb0bbb15f9 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added FLUSH_VERTICES() in _mesa_use_program()
hader/shader_api.c
|
68fc4ff1d7f749670684119647e0ef945d23dfa9 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
ain/mtypes.h
|
49a17a45fb893f0b2e93f27b16d54fe86f51c08c |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
ain/mtypes.h
|
5aa997dafbe9cccba2c837d64ddc06e495f6fd71 |
03-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Merge branch 'origin'
|
cf4ccd5020743591b8d2b29df279c729004ca393 |
03-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Fall back to software rasterization if r300_translate_fragment_shader() fails. Aborting immediately is a bad idea with AIGLX.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
beffa17bb984b29696a99a0c54922ff6a7d0b386 |
03-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove unused r200 files from r300 driver directory.
rivers/dri/r300/r200_context.h
rivers/dri/r300/r200_ioctl.h
rivers/dri/r300/r200_reg.h
rivers/dri/r300/r200_state.h
|
0afc2d37c32540b90bcb7861186b80a781dc0a4a |
03-Feb-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
r300CreateContext: Really initialize r300->initialMaxAnisotropy.
rivers/dri/r300/r300_context.c
|
de24b01b05d4c7402c06851dd7dbbb5854b1ff41 |
03-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: fix viewport clipping initialization
rivers/dri/nouveau/nv10_state.c
|
1c25561e30ada8036d00aa84344377aa2a4f791a |
03-Feb-2007 |
Patrice Mandin <pmandin@caramail.com> |
nouveau: use color pitch as depth pitch if depth disabled
rivers/dri/nouveau/nv10_state.c
|
2a441c488f4bcf11fe032ea7ba448bbfb7449c66 |
03-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
disable r200 materials-between-begin-end check if vertex progs are enabled
rivers/dri/r200/r200_state.c
|
f697308ae583dbcdf0268e98232c32be7f25fac6 |
03-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove now unused vtxfmt stuff from radeon/r200 header files
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/radeon/radeon_context.h
|
09e4df2c65c1bca0d04c6ffd076ea7808e61c4ae |
03-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix errorneously adding fog state params to all vertex programs...
rivers/dri/r200/r200_vertprog.c
|
fee9bbe4751eb11947c1d739fbf1dd5e352fc433 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Only glUniform1i() can be used to set sampler uniforms. Generate error otherwise.
hader/shader_api.c
|
a90e4c3ddfcdf9f0b9a0424a1a6a9d6496c6f218 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
add vec4_texcube to AsmInfo[]
hader/slang/slang_codegen.c
|
1b3092e4bb89b7a5bd64a3e27f82299d4b2669a2 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
add _slang_multiply_swizzles()
hader/slang/slang_typeinfo.c
|
bf823b6b77d01b4c4839f4ad05383fc9ec8095be |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
clean-ups
hader/slang/slang_compile_variable.c
|
670e9007196fdabb698e2390dc55c0b26781cff4 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
clean-ups
hader/slang/slang_storage.c
|
31d2a0019249256705ae00984e80b5d768fd3a73 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
clean-ups
hader/slang/slang_compile.c
|
b4f38a4d60bec9ceb68cc62546be0f418351fc23 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_builtin_vec4.gc
hader/slang/library/Makefile
hader/slang/library/slang_builtin_vec4_gc.h
|
4bbef7a6442bfecb6291e981c3a42eda83faa9c2 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_builtin_vec4.gc
hader/slang/library/slang_builtin_vec4.gc
|
d9dbb3e15442635df10333fbf31dbede0ce2797a |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_export.[ch]
hader/slang/slang_export.c
hader/slang/slang_export.h
|
e1b47b68ecd4a91ec46f594d8dfbcbcabae87988 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
reformat, clean-up comments
hader/slang/slang_storage.h
|
1f9def3163e26310b688336ef6dd513b99506151 |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
move _slang_locate_function()
hader/slang/slang_codegen.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
9cfee527f6ff5ff3e4de43b46ef098cb86211d2d |
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove multibyte chars
hader/slang/slang_library_noise.c
|
3f71282850d97e8493c505f178365ba305754ce9 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unused field
hader/slang/slang_compile.h
|
72c3672857b3ee4bed34d82ed70a1cf9cf277131 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_asm_string()
hader/slang/slang_print.c
hader/slang/slang_print.h
|
0d1cd6d41c22836cf196e06656ae5f34e5148deb |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/SLANG_ASSEMBLE_TYPEINFO_H/SLANG_TYPEINFO_H/
hader/slang/slang_typeinfo.h
|
1bc71e32ea281077fed6f77bf4c1d63c65eb14f6 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/slang_assembly_typeinfo/slang_typeinfo/
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.h
hader/slang/slang_simplify.c
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
fe45343df98ecdc06039b68d5a249a41f9e9e11e |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/slang_assembly_name_space/slang_name_space/
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
884fdfeb2272802e3103321edfed9cb198950e90 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_library_texsample.[ch]
ources
|
4a2ef4fd8811fca49d6e1cf3005a18b379af5f2b |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_library_texsample.[ch]
hader/slang/slang_library_texsample.c
hader/slang/slang_library_texsample.h
|
6c52dd38524a3f3edc48dcabee684bf94e605a22 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
rename slang_link2.c slang_link.c
ources
|
5c1763e7b53d161f646c05964d37cb51db74deba |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
rename slang_link2.c slang_link.c
hader/slang/slang_link.c
hader/slang/slang_link2.c
|
f65091c94766b9a21abf29dfc17fa5e857a835b8 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
rename slang_assemble_typeinfo.[ch] to slang_typeinfo.[ch]
hader/slang/slang_codegen.c
hader/slang/slang_compile.h
hader/slang/slang_storage.h
hader/slang/slang_typeinfo.c
ources
|
7ace638da26d86c1805a4c454a466869715d3647 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
rename slang_assemble_typeinfo.[ch] to slang_typeinfo.[ch]
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_typeinfo.c
hader/slang/slang_typeinfo.h
|
4f22bdf3e561ac9df46f0cf1e19d9f69f419f5e3 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove more slang assembly-related code
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.h
hader/slang/slang_storage.h
|
640afdf4f26746270ae45ec17711457ee643ae91 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove more slang assembly-related files, codee
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
|
452217e29a9fc948140460c5d3ffc50cac9dcb61 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
removed obsolete shader assembly files
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
|
11e92390f6be99d9f57554bb000a2d288f3ac287 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove more assembly-related code
hader/slang/slang_assemble.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_print.c
hader/slang/slang_print.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
b94c14114f8d5ec7983be0e9d6f286232e183894 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_assemble*.c files
ources
|
8d396100374837519677c425342c10b738972260 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
move some functions, disable some code in preparation for removing assembly code
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
|
fa1fe5f6f3f33891abec491329e2a35adf7ffdca |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix emit_tex() breakage
hader/slang/slang_emit.c
|
1b24e2d5a7a7f97c179d7881a014f4aa025cacf7 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_export.c and related code
hader/slang/slang_assemble.c
hader/slang/slang_assemble_assignment.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_storage.c
ources
|
5072fd3a641fa31cbfa7ecfbb34b2d8e782f9e06 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove old slang linker code.
hader/slang/slang_analyse.c
hader/slang/slang_analyse.h
hader/slang/slang_link.c
|
8b60787e85a88216d1e56bf3fc5ae807d4f2392b |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_link.c and slang_analyse.c
ources
|
d79fd748716f4d5becdbf482ff6f8c3fbc3e5c8b |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove old linker stuff
hader/slang/slang_link.h
|
ccd3e7dcef8ed091a6947b672d87bd4ee72dcde5 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove obsolete files.
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
|
650d46a107f1a3c49cff93521f80ae84d30ecfe0 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_execute.c, slang_execute_x86.c
ources
|
d265bdf81aac9467119f5cbb6c84a0c4df8282d1 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove all dependencies on the old slang interpreter/executor.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
aa6866d63c63262d8e2353148337684e62105bf1 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
reindent
hader/slang/slang_storage.c
|
b12b13f832940d3df3447de0fd86775bd74eac79 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
_slang_evaluate_int() no longer used
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
06daf74a7131fa092139d09ad7d035f737bc3fe1 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
use _slang_simplify() to evaluate array sizes
hader/slang/slang_compile.c
|
70570d41996a3754be973ffdc34cd3ae4267878d |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Move guts of slang_lookup_constant() into a new function in slang_simplify.c
hader/slang/slang_codegen.c
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
|
5c2174778360bd493573951d378e29f7097abf5b |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
replace abort() with _mesa_problem()
hader/slang/slang_codegen.c
|
2f5b3c9607fd48418a5b3d3dcd6035a3b976b166 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
fix maxInst argument
wrast/s_fragprog.c
|
e53ec3a862692218437dcdb647e5b88ba68ee05e |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
try to simplify variable initializers
hader/slang/slang_codegen.c
|
6147ccba630f42a76666d72ef0425c5166bc4018 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
unroll inner loop of interpolate_varying()
wrast/s_span.c
|
531348e814359a262eb1fe0a294749ab1b88045f |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
simplify derivative-related code
wrast/s_fragprog.c
|
e4f976b8b9d74a74b5816146cb11880c3a493929 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
simplify interpolate_texcoords()
wrast/s_span.c
|
9ab512ad8cf3a12f4f7f8494fa99bc9389f217db |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Replace color, z, w, texture interpolants with new generic attrib interpolants.
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_triangle.c
wrast/s_tritemp.h
|
462d8f5fafcc5ac69ea89cac1222abadded642e2 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. fields. More to come.
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_tritemp.h
wrast/s_zoom.c
|
4e7fd7ad9604f6b9700a6011338c2bf1381b28da |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
get rid of unused span->start field
wrast/s_context.c
wrast/s_span.h
|
b59657ad965f9471574e914b861bb1d2a17d772e |
02-Feb-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'vbo-0.2' Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
|
2ddc8799a8e243cb10cd69ea9424f72b6c4de534 |
02-Feb-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'vbo-0.2-origin' into vbo-0.2
|
47d463e954efcd15d20ab2c96a455aa16ddffdcc |
02-Feb-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Modify assert to reflect rebase criteria
rivers/dri/i965/brw_draw_upload.c
|
325196f548f8e46aa8fcc7b030e81ba939e7f6b7 |
02-Feb-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
push commit 2dfb3a217f730d6783fb2ac8b73248dc682f923c to i915tex
rivers/dri/i915tex/i915_state.c
|
51bfb8fc8c78bb066d24e6ecbc20f00af7210386 |
02-Feb-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
Add Intel 965GM chipset info
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
|
6b6760d6bc23b98ee1de27ba78189e56e248ce9b |
02-Feb-2007 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
Revert origin crestline pci id patch
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
|
2dfb3a217f730d6783fb2ac8b73248dc682f923c |
02-Feb-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix fd.o #9686, when fall into vertex fog, fog factors are precomputed in t_vb_fog.c compute_fog_blend_factors, which is incompatible with appended fragment fog code. That will make GoogleEarth display abnormally. always use pixel fog.
rivers/dri/i915/i915_state.c
|
9742547245f3dc4850faa9e83d178d17669d4c09 |
02-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Fix logic in _slang_simplify(): vec2() constructor case wasn't getting used.
hader/slang/slang_codegen.c
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
|
8ebda479d90b0c95df50f790316f451a32f4bd4e |
01-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo.
bo/vbo_split_copy.c
|
abeca8d17d0728e68ec0c7cb9d9ca91b06b560d0 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
comments
wrast/s_span.c
wrast/s_span.h
|
496aa47042527852ec232c712168fb7fe3c645c3 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove slang_label.c until it's ready
ources
|
f3e507ef9f75dbfc58ccd07b5fe8cfca10d9a9e3 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
New SWspanarrays attribs[] array. Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_atifragshader.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_fragprog.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_pointtemp.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_texcombine.c
wrast/s_zoom.c
|
81ef03be65f1458d627528a13cb86feb992d758f |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
silence uninitialized var warning
hader/nvvertexec.c
|
8fa6f7363e79740bafba5fb97e4d28f531fbf6d6 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
silence uninitialized var warning
hader/arbprogparse.c
|
3866558c9840f9c4fed6ac0bd2994ccc67f40f7f |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
move span-related types/tokens into s_span.h
wrast/s_context.h
wrast/s_span.h
|
f673b24017b8b5e850a1be5c04bd28cefa811329 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
additional assertions, bump up MAX_EXEC
wrast/s_fragprog.c
|
5368ae5ec329ddad5963d55b17cd4eccbc83d32f |
01-Feb-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Correct usage/meaning of max_index parameter.
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_metaops.c
|
605d428d20819ac3f46aaeb4a66707febec7ded2 |
01-Feb-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Cope with internally-generated null inputs.
rivers/dri/i965/brw_draw.c
|
a2104dc6e18879ed3ba2108a09b6779e461eaa17 |
01-Feb-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix unitialized values in radeonClear
rivers/dri/radeon/radeon_ioctl.c
|
d9d33b6fc883ede7ef231965e0b27792c8e58299 |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
disable all x86 code, broken and will eventually be removed
hader/slang/slang_assemble.c
hader/slang/slang_assemble_assignment.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
hader/slang/slang_storage.c
|
b63c100677c76bb20a1871ea15298ca708acd04f |
01-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Overhaul handling of writemasks/swizzling. This fixes two problem cases: vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask
hader/prog_instruction.h
hader/prog_print.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
309d5b665051179b7e135d7329da1ea45bfeb8e5 |
31-Jan-2007 |
Brian <brian@yutani.localnet.net> |
New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with instruction saturate-write option. Not finished yet.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
9d5853813f90cf03581d5150b4f2d46fd847211b |
31-Jan-2007 |
Brian <brian@yutani.localnet.net> |
allow fragment-only and vertex-only programs
hader/slang/slang_link2.c
|
5893474c741274cde7a312c920dacfb00790c302 |
31-Jan-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
_mesa_pack_rgba_span_float: fix for packing data into group
ain/image.c
|
716239877823e13a6111b5cff1bf2b446a37a537 |
31-Jan-2007 |
Brian <brian@yutani.localnet.net> |
fix _mesa_get_uniform_location() so it uses the given program handle
hader/shader_api.c
|
893526b8a823fe1b88f2b46376155afb91c84016 |
30-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Use new rebase helper. Remove other rebase code.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
nl/t_draw.c
bo/vbo.h
bo/vbo_exec_array.c
bo/vbo_rebase.c
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
240641de0c8532009fd21be7d4b0b84e471e91e8 |
30-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Helper for rebasing draw requests where min_index != 0.
ources
bo/vbo.h
bo/vbo_rebase.c
|
8811a9e38a9b71c5bb4f0c652ef0d77d5dd075fd |
30-Jan-2007 |
Brian <brian@yutani.localnet.net> |
bump version to 6.5.3
ain/version.h
|
fea6a8e1f1d569163b4b2ea218d548707a21d4dc |
30-Jan-2007 |
Brian <brian@yutani.localnet.net> |
s/params/pointer/ for glGetVertexAttribPointer
lapi/gl_API.xml
lapi/glapitable.h
|
8be177a694c6910781da25134ff52b6bd4c6a6e3 |
30-Jan-2007 |
Brian <brian@yutani.localnet.net> |
s/params/pointer/ for glGetVertexAttribPointer
|
832417f31e81b415894414621500b7aef328652b |
30-Jan-2007 |
Brian <brian@yutani.localnet.net> |
s/params/pointer/ for glGetVertexAttribPointer
lapi/gl_API.xml
lapi/glapitemp.h
|
a4ddd64f3659b9db7719d3746c1469ece6bb44c5 |
30-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: argh
rivers/dri/nouveau/nv30_state.c
|
f9345c7c4e22cd40d2efda73f1b044ab808f2c78 |
30-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: misc NV40 fixes
rivers/dri/nouveau/nv30_state.c
|
d2c4d9ff9beb36895bb8ee7aabb65e70c3068816 |
30-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: NV40 glClipPlane support.
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_vertprog.c
|
ede8017d2c6c2f6da4c75c9ce0cc4d748e870973 |
29-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: rework shader param handling Conflicts: src/mesa/drivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
|
de0cf18b096822cf8e113a46f12740ebeb10f8df |
29-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: oops, build attrib map after we know how the final shader will look..
rivers/dri/nouveau/nouveau_shader_0.c
|
2d8b31610917e5e14a242725b047a21f6d2c14e0 |
27-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: remove an unused table
rivers/dri/nouveau/nouveau_shader_0.c
|
7fbf8d3324868e6920243e3b1abdeb6e398ea715 |
27-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: oops
rivers/dri/nouveau/nouveau_shader_0.c
|
cafbc459f51ce6645e1fc4b6b2b7ec34efedd874 |
27-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: maintain a map of which vtxprog input corresponds to which array
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
|
0c5b42a99182be05a72c78fa9340b75f3be81220 |
29-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: unhardcode some more NV30TCL_FP_CONTROL values
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv30_fragprog.c
|
aa397fe47212d7686efe423aedd10f2c57f2c2b9 |
29-Jan-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : NOUVEAU_RING_TRACE allow to print what we are really sending to the fifo.
rivers/dri/nouveau/nouveau_fifo.h
|
c97540065c6dce20dd6ace9a15d9872a3a66f71c |
29-Jan-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : nv10 comment icomplete command
rivers/dri/nouveau/nv10_state.c
|
7aece10039ad4786d7f85d61ec8614b9f287ea23 |
29-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
noise functions
hader/prog_instruction.c
hader/prog_instruction.h
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
wrast/s_fragprog.c
nl/t_vb_arbprogram.c
|
a06f92936272dba3da4329a30ae3f08924428106 |
29-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
combine emit_unop(), emit_binop(), emit_triop() into emit_arith()
hader/slang/slang_emit.c
|
62e7c033c02149966c00100f3c256e2eb3fc3536 |
29-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
implement mix() with LRP instruction
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
c7c0a6ddcddc8d91fde0a7cb5a2bce85c708d438 |
28-Jan-2007 |
Matthieu Castet <castet.matthieu@free.fr> |
nouveau : nv10 mixing cached stuff with not cached stuff is bad.
rivers/dri/nouveau/nv10_state.c
|
4de6fac4daecac25bb3f4339610312022b457b46 |
28-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Lots of vartable clean-ups, fixes. Report an error message when we run out of registers, rather than crash.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
hader/slang/slang_vartable.h
|
602dc1a63888af10b2ae491bdbb3afcb28004770 |
28-Jan-2007 |
Brian <brian@yutani.localnet.net> |
minor clean-ups
hader/slang/slang_emit.c
|
b0e86b2dbd11b3ff515172cf1741600c0879ad3f |
28-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: fix nv30 line width
rivers/dri/nouveau/nv30_state.c
|
aacea5218199b6fb614c75d4f6ee14dd27af70b3 |
28-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: initial GL_ARB_occlusion_query support Only enabled on NV40, NV20/NV30 code is untested.. However, NV30 should be identical to NV40.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_query.c
rivers/dri/nouveau/nouveau_query.h
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
1879069eab58a80a27ff1ee0e34b7940643539ab |
28-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: extend notifier interface to allow multiple notifiers in a memory block.
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
513325fa32f802ffb3d3c8323ecf8216782620d3 |
28-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
Clean-up of var/temp allocation function parameters.
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_vartable.c
hader/slang/slang_vartable.h
|
d6772f157a56bb53b754bb16c98e102b54c82a0e |
28-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
Improved register allocation: allow four 'float' vars or temporaries to share a single register. Clean-up needed.
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
hader/slang/slang_vartable.h
|
ea55de3d654333b5615db4690cca6138b906b131 |
27-Jan-2007 |
Claudio Ciccani <klan@users.sf.net> |
Updated copyright header. Switched to LGPL (GPL header was a cut-&-paste mistake).
rivers/directfb/idirectfbgl_mesa.c
|
c00169fd25336c1425c5457fcd925ba10464f3cf |
27-Jan-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Bug 9628: no entry for GetVertexAttribPointerv This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <idr@us.ibm.com> and regenerate.
rivers/dri/common/extension_helper.h
lapi/gl_API.xml
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
d8df84aae1a8030414a550cb9e4b172803c269b6 |
27-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
1b62353dd868a37ee20c20d66b2123e2020cc59f |
27-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
fix typo
ain/imports.c
|
0931e21eb62af217564f450e9e56bc7b6f0e15c7 |
27-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: more work on nv04, this time buffer format/pitches/...
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nv04_state.c
|
99c9bc386f54964eea0ed93f6b036477076dae57 |
27-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
document, re-indent _mesa_ffsll()
ain/imports.c
|
1d74e565dbfc1a69c49fe67eed9c91f10d0ad2fc |
27-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
5a3d9853958993174f13c8cff6bcf11993a48f65 |
21-Jan-2007 |
Eric Anholt <eric@anholt.net> |
Bug #9604: Fix a static buffer allocation failure. The pool that the static buffer got allocated from was sized by pitch * height, but the buffer generated from it had its size aligned to a tile boundary, so allocation failed if pitch * height wasn't aligned. However, the 2d driver ensures that the size ends at a tile boundary, so just pass the 2d driver's buffer size rather than calculating it.
rivers/dri/i965/intel_regions.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_regions.c
|
869b8ad499717eda4a1be04de4e516134123402c |
21-Jan-2007 |
Eric Anholt <eric@anholt.net> |
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
rivers/dri/i965/brw_draw_upload.c
ain/imports.c
ain/imports.h
|
dbb54b234cd919b8ef7e36e0603ec69f3ed3fc7f |
21-Jan-2007 |
Eric Anholt <eric@anholt.net> |
Remove dead code causing a warning.
rivers/dri/intel/intel_context.c
|
507167d7e2cf3bc64d1c112d927efeb1baa3b495 |
06-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Override Const.CheckArrayBounds for Xserver in XMesaCreateContext(). This leaves one last XFree86Server ifdef in Mesa core. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
rivers/x11/xm_api.c
ain/context.c
|
c9b33ecd7c07cace0a6553ccfdaf7b021959c934 |
06-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Drop old (pre-AIGLX) GLcore interface. The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX, it is only used by DDX's which are known not to work with the new DIX glx code. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
ain/context.c
ain/imports.c
|
c6c65e7b22f8b64efa45887b7808260248a5f384 |
26-Jan-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa
|
6aa62ba43f64f617c608e52b63c7eaa7aae16fb4 |
26-Jan-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
ARB_Occlusion_query should support multiple query at same time
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
|
ea8b68e0f7e7a4025ce662d36380157273ce10a3 |
25-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
asst fixes, tranpose span->varying array indexes
wrast/s_span.c
|
ff13f0ea4d5e88ac86bf5d97373ca419ad4226e5 |
25-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
fixes, clean-ups, transpose span->varying array indexing
wrast/s_fragprog.c
|
38e9f8b6f297bafba639ce192fc9926c8e890271 |
25-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
do not rebase index buffers as it does not work currently (tested with r200 and sw mesa)
bo/vbo_exec_array.c
|
5ef553da9a0dc9f6d7f01b967082c24849ee4abf |
25-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
new comments, ideas
wrast/s_context.h
|
78b64d911b4b50ab744f250522a88b3952859f98 |
25-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
allocate larger minimum dstelt buffer increase the minimum dstelt buffer size to avoid triggering an assertion later because the split is triggered before the buffer is full. This fixes cases where the vbo_split_copy path is hit because of maximum index limit, where the dstelt buffer size needed could be very small (doom3 hit that assertion with a vertex count of just 3)
bo/vbo_split_copy.c
|
db79d7dea03d5129a05d48af19049cb740799669 |
25-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
fix dstelt memory allocation to avoid hash corruption
bo/vbo_split_copy.c
|
327462d901cc1ff8e98bcbeba18ad54c77926390 |
25-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
remove tnl/t_vtx_x86_gcc.S file from sources as it no longer exists
ources
|
5970400476c5c0a1223a49e9ec2eb511ae94b246 |
25-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
re-fix bug 9062 in vbo code
bo/vbo_exec_draw.c
|
d5db167c2cf9243c3153efb29582df72d819e7ac |
25-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: unbreak NOUVEAU_RING_DEBUG
rivers/dri/nouveau/nouveau_sync.c
|
86996dfe32fccd5777dd0e410b5dbe964fb206d1 |
25-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: add result scaling to shader backend, use it in RSQ emul for NV40.
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nv40_fragprog.c
rivers/dri/nouveau/nv40_shader.h
|
2d7687865e8831e365756f1270c03ee70298ba4c |
24-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: and here's the "oops, I suck" commit :)
rivers/dri/nouveau/nouveau_screen.c
|
42bd32dad7f2bd9b4c4df8a7394328d31748f1f5 |
25-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: some extra debug output
rivers/dri/nouveau/nouveau_screen.c
|
e713c21bd09468887faceebcba9a62a406321c07 |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
remove some parenthesis
nl/t_vp_build.c
|
ff917003f6ed35b9ef966397a58c80dc7df98bff |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
use FRAG_BIT_TEX()
nl/t_vp_build.c
|
ccea3ff8a9eae16d2ca11b9cedef1318cffe3fb4 |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
fix varying interpolation
wrast/s_lines.c
|
0552abce0ec54dbb3f8de2fb9665fd5e58451543 |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
only setup varying vars that will be used
wrast/s_linetemp.h
wrast/s_tritemp.h
|
07373512c72ca0fc19cccd1d102f14f1a41fd1bd |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
ain/mtypes.h
|
844e5610de6ffe6966072d120b50db541ea85104 |
24-Jan-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
965 glxswapcontrol fix
rivers/dri/intel/intel_context.c
|
bdc5394d22d7bc1215c9a38f735a419c9063ab05 |
24-Jan-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
965 ARB_Occlusion_query fix
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
c920d201c23f1ff1dfba06d3827e5a0e0d756283 |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
updated comment
hader/prog_instruction.h
|
6d4e561e399a1e203a80f8440691d64aa3493347 |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
indicate which opcodes are used by Mesa GLSL, updated comments
hader/prog_instruction.h
|
223d7cb3c785ad58c869a3ee0fbf2f1d42c3310d |
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
fix g++ warnings/errors
ain/texenvprogram.c
hader/arbprogram.c
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_statevars.c
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link2.c
ources
wrast/s_fragprog.c
|
7e85b0a025a82c3ffed060a757a3b4adae03d269 |
23-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
silence C++ warnings
ain/bufferobj.c
wrast/s_atifragshader.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_stencil.c
wrast/s_zoom.c
|
18d1fdebebcb52e7fcf50e62c4c02862d173af51 |
23-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
fixes for C++ warnings/errors
rivers/x11/glxapi.c
ain/colortab.c
ain/dlist.c
ain/texcompress_s3tc.c
ain/texenvprogram.c
ain/texobj.c
hader/arbprogram.c
hader/program.c
hader/slang/slang_execute.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_span.c
nl/t_array_api.c
nl/t_vb_arbprogram.c
|
d46093b8d56f6d89b341d7437c5185ca6be597af |
23-Jan-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
i915tex: Relocation fixes: Increase the number of allowed relocations per batchbuffer. Fix an assert to avoid an array index overflow. (Reported by Steve Wilkins)
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
|
fe9fef2cec2f9ed13370612a9a58df04b0075f15 |
23-Jan-2007 |
Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
i915tex: Fix randr resizing. Rotation still broken.
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
|
60c28739aa4afe543e0293c15a7aaf84ec2183ea |
23-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: DPH and CMP for NV40 which doesn't do it natively.
rivers/dri/nouveau/nouveau_shader_0.c
|
cf33bcf0b246f75094673beaa989034fa27c4b9f |
23-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: allow for card-specific shader infos to be kept NV30/40 fragprog: build FP_CONTROL per-shader, still some hardcoded bits for this reg.. It looks like it has to do with the number of temps used, but needs more looking at. NV40 vtxprog : build VP_IN_REG/VP_OUT_REG during shader compile
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_vertprog.c
|
a8b9d13f745405e370353cfb4aca680314a42d46 |
23-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: fill in condition info for instructions
rivers/dri/nouveau/nouveau_shader_0.c
|
ed69205684a0c3c69d27a9e2d13213997aaa5b93 |
23-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: unbreak nv40
rivers/dri/nouveau/nv30_state.c
|
50227f6fd23f3a4737dada1a98d26f6d0141af47 |
21-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: reindent shader pass0/pass2 if this gets rejected by the commit list, just ignore it.. nothing interesting to see here :)
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_2.c
|
c3ac2709967299481928dee175a124bf8a72fecd |
21-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: start converting shaders into a tree format again.. No branching stuff implemented yet. Works enough for gears, probably other stuff broken.
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_2.c
|
95fc270b06f07268732ade745084410bbc877168 |
22-Jan-2007 |
Jeremy Kolb <jkolb@brandeis.edu> |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
|
ea441355d304ceff0d7eac4e112ed713ea08a43f |
22-Jan-2007 |
Jeremy Kolb <jkolb@brandeis.edu> |
nouveau: Fixes for nv30.
rivers/dri/nouveau/nv30_state.c
|
d1f0a55af42c8a34c2d59ca003e7d7a8263665fb |
22-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: fix some bugs in the nv10 swtcl.
rivers/dri/nouveau/nv10_swtcl.c
|
3c0961d29993a2203323b4c308ae6d7e418ac5aa |
21-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: add nv04 state support, and small nv04 fixes.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv04_state.c
|
4f800c5bacb9734d3030fe11144c8003ec4f169a |
20-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: rename pass0_arb to pass0. I was expecting to have 2 frontends for the shader code (asm, glsl). With Brian's work on GLSL this is unnecessary :)
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0.c
rivers/dri/nouveau/nouveau_shader_0_arb.c
|
029b81742ad474245e18e0b629d669afe588111c |
20-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: kill off shader pass1. It sucks, and we have someone who can do a much better job than I can starting work on it soon. alloc_temp/free_temp is left in pass2 to workaround fragprog temps/outputs overlapping, but this all belongs in the optimiser.
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_1.c
rivers/dri/nouveau/nouveau_shader_2.c
|
ee3d0617f923cd4bcc8bfdc1ce878648480c2679 |
20-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: shader backend branching support for all cards that support it.
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_fragprog.c
rivers/dri/nouveau/nv40_vertprog.c
|
059e9014462fe5361055e529a344338dcbc43c5d |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Add a simple mechanism for annotating instructions for easier debugging.
hader/slang/slang_emit.c
|
f116fcc3287c7b84d31c114bcb8299bc7b1e541a |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
optimization: emit MAD instructions when possible
hader/slang/slang_emit.c
|
1f208c354694ff3d6664665f7b5e8d33ea48e9b2 |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove unused swizzle parameter to -storage_to_src_reg()
hader/slang/slang_emit.c
|
5ae49cf3ed53fda6a904d7e90feef78495ae6903 |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_print.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
wrast/s_fragprog.c
nl/t_vb_arbprogram.c
|
a3e938b8da07e656775e88bb4b078429723689a2 |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Reimplement && and || to do short-circuit evaluation. Improved shader error handling.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
9f07ed00e4d4bca95189720dd44bf57a228baf02 |
20-Jan-2007 |
Brian <brian@yutani.localnet.net> |
rewrite more __postIncr functions
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
3cec66512de9c424088ff4fd9332bcceec8ee3c6 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 so we can either jump on zero, or non-zero predicate.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
eff9690351c07940a976fade4302b480e9731917 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Rewrite normalize(vec3/vec4) to use one less register.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
dceae2829e981236736513a95fc0e46564625d44 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
report error message when something fails
hader/grammar/grammar.c
|
203946e1f965c76ba54d48c7e8bf06bfcbb65e8f |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
print error msg when there's a problem
hader/slang/library/gc_to_bin.c
|
74b27674a87b592520793527fe1759173c8fdec7 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove stray tab
hader/slang/library/Makefile
|
a0092c51b1c334ef8d4a58939dc583b2aafbce69 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement fragment discard/kill.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
8374ccb66ff13074a3f5938da1e22a48921c5328 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
change while-loop to create new scope for loop body, per spec
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
669fefd3da55e3946b4b65a5d1104540c04717cb |
19-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: bump drm patchlevel
rivers/dri/nouveau/nouveau_screen.c
|
16183e6430d782ff3576e352e24310dfe53fa8ab |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement constant sharing so that 4 float constants can share a single float[4] register slot.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
ce6640001dd9a1f3062dc58b199973d6ca94b883 |
19-Jan-2007 |
Brian <brian@yutani.localnet.net> |
_mesa_add_unnamed_constant() now tries to re-use constants already in the parameter list.
hader/prog_parameter.c
|
d70771752f7df031c4fd9a7ad17ddcef6d91377a |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Reimplement code for swizzling so that expressions like (p+q).x for vectors p and q works correctly.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.h
|
d885ff470a7d52f59538bd0ff3e2abb2452279ec |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
rewrite a bunch of assignment operators (like +=)
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
3c59483ed7c5700a58f47ca9b4a61214d02c9307 |
18-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: preliminary nv50 state
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nv50_state.c
|
f43eac3ed8772c13df448c4ce5b566458ab0154b |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove swizzle param from new_var()
hader/slang/slang_codegen.c
|
c171166987167db5e8ff67a09327283c0ef1b222 |
18-Jan-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
1. Fix bug #155 2. I notice multiple ARB_occlusion_query should be able to overlap according to spec. 3. Declaring extern variables in a .c file is evil, fix it.
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
62efc4ba3eb53ca75abbe9b52feabe49a5fd56b5 |
18-Jan-2007 |
Aapo Tahkola <aet@rasterburn.org> |
support as much of GL_EXT_stencil_two_side as we can. untested.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_screen.c
|
feeed10dfd1495eb15924868fec3b795fb4b1ba3 |
18-Jan-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
typo fix. this case still fails.
bo/vbo_split.c
|
a3b4b1173950599785e4f05278e868180a2bf387 |
18-Jan-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
Fix invalid enums passed to MapBuffer
bo/vbo_save_draw.c
|
2cb3594af9cd1434aa2c408cd6f8d51bcd12e8ea |
18-Jan-2007 |
Aapo Tahkola <aapo@aapo-desktop.(none)> |
Fix invalid enums passed to MapBuffer
bo/vbo_exec_array.c
bo/vbo_save_api.c
bo/vbo_split_copy.c
|
8a2368edce9531e1b17a604b136ae2709f215b31 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
rewrite additional matrix-related functions to reduce register needs
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
89a3bafe0438dae818cf585504830d168019fd03 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
rewrite mat4 * mat4 operator to use fewer temps
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
272622a2e016c2e378efd64f22b5e37e342a1f48 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
do bounds check in _slang_push_var_table(), added comment
hader/slang/slang_vartable.c
|
2585b74e190585962da6f0a67c3b1ce830009f82 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
rewrite matrix constructors
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
4864aaeb02f25942226ce507b6b530b5b883ed63 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
handle var size > 4 in _slang_pop_var_table()
hader/slang/slang_vartable.c
|
eb0c478b1716b4d79d282f0af4970a94db3619ce |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Rewrite a bunch of constructors. It's now important that the first constructor for any given type be the one that takes the most parameters as this is the constructor that'll be used when there's no perfect match to the caller's arguments. See the _slang_adapt_call() function for details.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
3a3bb953b63e8e85afb330f5d7c887413ad43c1e |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
_slang_gen_function_call_name() now tries to adapt function calls (expand vectors, insert casts) when a perfect match isn't found.
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
|
eabb7e66bd6fa9770bcf17833cf9fc6317ae7948 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
New _slang_adapt_call() function. This is used to modify function calls (when possible) to make the arguments map to the function parameters. This includes "unrolling" vector types and doing casts. Example: vec2 v2 = vec2(1.2, 3.4) ivec3 iv = ivec3(false, v2); Is converted into: ivec3 iv = ivec3(int(false), int(v2[0]), int(v2[1]))
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
|
397b807ad5045c354f3fb2079b7779a6d671dc03 |
18-Jan-2007 |
Brian <brian@yutani.localnet.net> |
code clean-up, re-org. Added IR_F_TO_I support.
hader/slang/slang_emit.c
|
bb53124fca80faf0f920d720cf01bba182e0988d |
17-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added IR_F_TO_I, update comments
hader/slang/slang_ir.h
|
0bad236cfbaabfc0ed4f20088e64fa89f81934ce |
17-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Added OPCODE_INT to convert 4 floats to 4 ints.
hader/prog_instruction.c
hader/prog_instruction.h
wrast/s_fragprog.c
nl/t_vb_arbprogram.c
|
811f54fa75a557380b34ac97929eaa0190d2d5aa |
17-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Fix/clean-up a number of things related to variable/temporary allocation.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_vartable.c
|
747c9129c0b592941b14c290ff3d8ab22ad66acb |
17-Jan-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
I965: fix bug#9625-get the correct PV for quardstrip The order of vertices in payload for quardstrip is (0, 1, 3, 2), so the PV for quardstrip is c->reg.vertex[2].
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
|
552a65e4546bd543d60ffe87dc298a41d8a318be |
17-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement codegen for the selection operator ( b ? x : y )
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
3596903068fb989dceefe60ea44f6e98f691c277 |
17-Jan-2007 |
Brian <brian@yutani.localnet.net> |
fix typo
hader/slang/slang_codegen.c
|
9b5dc1358a82949aaf9a25abb18c5df64d5f01a1 |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
when automatically binding vertex attributes, start with attrib 1, not 0
hader/slang/slang_link2.c
|
4f027a33b90fc855de324ac07328a7df0568c6af |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove dead code
hader/slang/slang_codegen.c
|
0f91310bf3e0955fad636e5d50c51ffabb9dcf82 |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
comments
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
d90c655b0571c474785fa94b4c64ab099a2229a2 |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
implement logical or, xor, not
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
99e788fe561b1dd54ce083d3f05e6895fb91953a |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
some additional vector constructors
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
7c8f311e406a4502982fd03e09d61f6269e0e82c |
16-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: Use the most recent card list.
rivers/dri/nouveau/nouveau_card_list.h
|
156e583a350670cb877879673b8d050b11f973dc |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
fix _slang_gen_subscript() for the case when a simple vector is accessed as an array: convert index to a swizzle/writemask
hader/slang/slang_codegen.c
|
fea6e5a69588012cf0373f36dff99a45b0202f55 |
16-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't special-case index, edgeflag. Remove display list opcodes for INDEX and EDGEFLAG, handle them through the regular ATTRIB mechanism now that Mesa understands them to just be regular attribs.
ain/dlist.c
|
3ad12fab454bc27334c8261780a1679da7d41cb1 |
16-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge vbo_0_1_branch Hopefully leaving behind the cruft generated by the CVS import.
rray_cache/sources
nl/t_save_api.c
nl/t_save_playback.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
|
6a3fdc3a1ea6c306d9543791bf172dd1052d7382 |
16-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
|
f6507157e290b783c036e9459886e0f7ae60ef7b |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Reimplement the post-increment/decrement functions. Instead of defining functions with an extra dummy parameter to distinguish from the pre-incr/decr functions, just use new function names: __postIncr and __postDecr.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
c41099465370721ae4aaf05cd0223b28a4835bc1 |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement the ++var and --var operators, improve some constructors.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_codegen.c
|
0a097675f174ead793f9c7e3dcd17128279f079b |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added vec3 constructor code
hader/slang/slang_simplify.c
|
82258b7af3f939ce3b323dedf17ef7dadd567237 |
16-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added IR_ELEMENT
hader/slang/slang_emit.c
|
04ac15fd80723fe4ae676c3dd9e7783a8f80f574 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint: ++, -- and && operators
hader/slang/slang_codegen.c
|
83d3ff590d0024b63501db91c9a3137e9ec959a0 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Redo the way array indexes are handled. Resolve storage location at code emit time, not codegen time.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
a03fc8277180e2171519165a724849e2254ef0b7 |
15-Jan-2007 |
Jerome Glisse <glisse@freedesktop.org> |
mesa: Update _Current along Current on fragment program bound. Same as a previously committed patch for vertex program, we update fragment program ptr _Current along the Current one so that _Current can't end up pointing to a no more valid program.
hader/program.c
|
c807169888c900dd303adb260c3cfeb744ed842d |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove old globals
hader/slang/slang_codegen.c
|
a5bbe206a8d6ee13cb90810d8e7011e332697910 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
comments
hader/slang/slang_emit.c
|
8de3dc17018a7060c536446803b86abe29386cb8 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Move some global vars into slang_assemble_ctx.
hader/slang/slang_assemble.h
hader/slang/slang_codegen.c
|
7520478eb055350702d09e533db02258187d8c74 |
15-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau:nv10: fix setting clip region
rivers/dri/nouveau/nv10_state.c
|
4f5901b265dd00fd672a1f3ea5586363176c2371 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
fix the subassig, mulassign and divassign cases
hader/slang/slang_codegen.c
|
629fd78f79ae49ca4a8fc2589ee479999130e550 |
15-Jan-2007 |
Brian <brian@yutani.localnet.net> |
clean-up slang_allocate_storage()
hader/slang/slang_codegen.c
|
584def75ad8dd13add5b4ed7e364d13202539539 |
15-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused index buffer.
bo/vbo_exec.h
bo/vbo_exec_array.c
|
6ff9b48fe2bb2113689e45c89a7c643e44906d67 |
15-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't special-case FOG attribute initialization. Initial fog value was being set to {0,0,0,0}. This results in vector size 4, but isn't necessary. The regular {0,0,0,1} works fine.
ain/context.c
|
50f76b9d9b4b17940798b44233b9b5af2f932117 |
15-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Correctly initialize current attribute sizes. Some legacy attributes (eg color) have an initial value other than {0,0,0,1} which means that their initial size != 1 either.
bo/vbo_context.c
|
82152a2a8e1afeb61710318e769b1379be6c02c6 |
15-Jan-2007 |
keithw <keithw@keithw-laptop.(none)> |
Remove debug, reenable inplace splitting.
nl/t_draw.c
bo/vbo_save_api.c
bo/vbo_save_loopback.c
bo/vbo_split_inplace.c
|
5464cd0a60f474753abc6af047fd21b0e29b8ac4 |
15-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Split too-large draw commands. Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
nl/t_draw.c
|
2421b25dd777ebfd614ae45907fd4af8c2713102 |
15-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove special-case handling for index and edgeflag This isn't required with the changes to core mesa and the new attribute layout.
bo/vbo_attrib_tmp.h
bo/vbo_exec_array.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_loopback.c
|
1b7c24c33c43e2c0db391735b2f2ca0026459cc9 |
15-Jan-2007 |
keithw <keithw@keithw-laptop.(none)> |
Hook in split functionality
bo/vbo.h
bo/vbo_context.h
|
4557dfe13206495916d4ff8557f1633194a12c0f |
15-Jan-2007 |
keithw <keithw@keithw-laptop.(none)> |
Add vbo_split files
ources
|
a38cb37913b7cd2f9c3c7aa11dcbb9485d623924 |
15-Jan-2007 |
keithw <keithw@keithw-laptop.(none)> |
New files to manage splitting drawing commands
bo/vbo_split.c
bo/vbo_split.h
bo/vbo_split_copy.c
bo/vbo_split_inplace.c
|
4c7d36b688866129a17c3f59aa9374b2f9a874de |
15-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: Fix a bug in the nv04 swtcl.
rivers/dri/nouveau/nv04_swtcl.c
|
16f35a3a22fa782f6bb8a51ef32d6668a5c60e85 |
15-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Add 0x0244 pciid manually for now.. pciids.sf.net is slow to add it so our generator picks it up, and it's *really* annoying me :)
rivers/dri/nouveau/nouveau_card_list.h
|
634b4b3487dcb22e1660959b6a7ce9a42fa50fe2 |
15-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: fail CreateScreen on unknown cards instead of guessing.
rivers/dri/nouveau/nouveau_card.c
rivers/dri/nouveau/nouveau_screen.c
|
89f91d1804c0c4919c25d6b9931973733db1e664 |
15-Jan-2007 |
Carlos Martín Nieto <carlos@cmartin.tk> |
nouveau: Implement much of the fog handling.
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv30_state.c
|
e2295511f5ee5fc4f5b39cba9e9c1c7a2f4e1eb5 |
14-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: Update nouveau_reg.h from renouveau to the latest version.
rivers/dri/nouveau/nouveau_reg.h
|
65e3d5e45e3d14f4ff98a15af0662e6c6e589cd2 |
14-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: Make the state cache hierarchical.
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_state_cache.c
rivers/dri/nouveau/nouveau_state_cache.h
|
8d7e5651fba9fd62e1055c05d1814c7d2de7f43c |
14-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: add the nv04 swtcl module (it's untested for now).
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_swtcl.c
rivers/dri/nouveau/nv04_swtcl.c
rivers/dri/nouveau/nv04_swtcl.h
|
d57ce408b34b604f9b85114eedc88b5463df4218 |
13-Jan-2007 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
nouveau: Cleanup the nv10 swtcl module.
rivers/dri/nouveau/nv10_swtcl.c
|
81bd826de8897f3784ad301023bde6e7eb77b5b2 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: nv10: 16 bits color buffer format
rivers/dri/nouveau/nv10_state.c
|
eae7acac168d4e5472488a9135aba0b4e081d5e8 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa
|
8aabd636f5dd303774a07f8705068d812f7feef8 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: nv10: added missing functions
rivers/dri/nouveau/nv10_state.c
|
9a4e49aef2abb277544138640c2b71169badaa42 |
14-Jan-2007 |
Jerome Glisse <glisse@freedesktop.org> |
r300: Fix vertex program position invariant bug, force position reading. When we have a position invariant program we need to force routing the position otherwise you may handle transform quite random data which might be funny but unlikely what you want :).
rivers/dri/r300/r300_vertexprog.c
|
6dd967e74ff4cb03220d5785bd583203464d299d |
14-Jan-2007 |
Jerome Glisse <glisse@freedesktop.org> |
mesa: Update _Current ptr along Current when a new vertex program is bind. On new vertex program bind only the Current ptr where updated to point to the new program; this could lead to _Current pointing to and out of date or even a no more existing program which in turn could lead to a segfault in some driver. To avoid this _Current ptr is updated along Current if _Current where previously pointing to the same program.
hader/program.c
|
e7112be7321c58e6039fde28f47ffe3dce5cc205 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: remove already defined NV15_TCL and NV17_TCL
rivers/dri/nouveau/nouveau_card.c
|
86f10c7144d08bc0603a796a9b8aa53f1a37a7e0 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: import color material r,g,b,a
rivers/dri/nouveau/nouveau_reg.h
|
faada2485a864298562b5e59b0703748c6f6f9d5 |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: nv10: stencil functions
rivers/dri/nouveau/nv10_state.c
|
29484f24fb2c21772c6a3ddf33a77ec83d415fdc |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: nv10: currently fails initcard and bindbuffers, till done
rivers/dri/nouveau/nv10_state.c
|
f1ad10b338996275a376809d98c420cda4d6d05a |
14-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: nv10 blending done, remove nv10Viewport
rivers/dri/nouveau/nv10_state.c
|
691ed5e54b0dc305c9a117a6a9804435041a86f0 |
13-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Rework code related to temp register allocation, both for user variables and expression temporarires. Much better register utilization now. Lots of other fixes. The OpenGL GLSL "orange book" brick shader demo works now.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_ir.h
hader/slang/slang_link2.c
hader/slang/slang_print.c
hader/slang/slang_print.h
hader/slang/slang_storage.c
hader/slang/slang_vartable.c
hader/slang/slang_vartable.h
ources
|
5daa99d2a40fa12d51043c4e326bf62f66ef727d |
13-Jan-2007 |
Brian <brian@yutani.localnet.net> |
slang_variable_scope now stores array of pointers to slang_variables.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
97c7937c65ddcab2437e6b201d24bf0503a01f1b |
13-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added another vec4 constructor, updated += operator
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
fb5f359b93073d85f4cae05cd89ff1012fafeda6 |
13-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: update nv10 state
rivers/dri/nouveau/nv10_state.c
|
308ef2dc3208e9c274763726b541f28e2169324b |
13-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nouveau: Add clear color for nv10
rivers/dri/nouveau/nouveau_context.h
|
ca75853f9d9e7d131f25daeaa7c646894ab4807e |
13-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
nv10 has alpha color mask
rivers/dri/nouveau/nv10_state.c
|
95a441112efbe14407f53d035e368b9632d06f06 |
11-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Fix a problem with inlined "return" statements. Make some attempt to free temporaries.
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_error.c
|
063f3f7fc49e1fd5cf99cffd241e16af5e2d1823 |
11-Jan-2007 |
Brian <brian@yutani.localnet.net> |
disable some code that'll eventually go away
hader/slang/slang_assemble.c
|
749ed66549fe194ff94824baf862722830de1297 |
11-Jan-2007 |
Brian <brian@yutani.localnet.net> |
new vec3 constructor, replace float_add w/ vec4_add
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
c8e148e38ce335089817a8ecbc52df8cc57c880a |
11-Jan-2007 |
Brian <brian@yutani.localnet.net> |
tweak output
hader/slang/slang_print.c
|
b55f1ec9af30ddc5fa44818f85518fffe4580dc6 |
11-Jan-2007 |
Jerome Glisse <glisse@freedesktop.org> |
Fix typo from commit 1d312ae0137eb39bf74fac91eb97ed25c289a4ca .
rivers/dri/r300/r300_fragprog.c
|
c0c31024a31a2e3225742f447af65614e1ff2ea3 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint: codegen for global vars/constants now working
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
88e2dbfd10129eab2c7f4a935358a6ab2a18bf65 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint: codegen for global vars w/ initializers
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
|
8a48f3557424cfa67269ae5e4dca100ae2a0ddda |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
assorted code clean-ups
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
ee11842bfcdb928be269848835c5eb88b6d967ee |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
fix size bug in _mesa_add_attribute()
hader/prog_parameter.c
|
29bff4e12defa0037167ceb0940be632cc87b578 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
simplify _mesa_add_state_reference()
hader/prog_parameter.c
|
88f721231248854e441ccdaeabe1c471e64ddc0a |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Update _save_VertexAttrib() functions for non-aliasing behaviour.
nl/t_save_api.c
|
01a91eb65753c9090e1a05d728cf5c23ef49d5d4 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB
hader/prog_parameter.c
hader/prog_statevars.h
hader/shader_api.c
hader/slang/slang_link2.c
|
b7978af6936d186112727cb9858fe7740eef1a7c |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
clean up a bunch of program parameter stuff
hader/arbprogparse.c
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_statevars.c
hader/prog_statevars.h
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_link2.c
|
3209c3ed0d82c158eed1020759aacf51ba1c1ad5 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement vertex attribute binding. Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
ain/mtypes.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_statevars.h
hader/program.c
hader/shader_api.c
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_link.h
hader/slang/slang_link2.c
|
5e75db12d7b17f0295e8099bd357220df97d5013 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
more debug code (disabled)
wrast/s_fragprog.c
|
e8673143ea3d0edf1be7ba8e0723ddba61d8f3f8 |
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
add code for generic attributes 16..31
nl/t_save_api.c
|
048412473bda3db3e58b9840de5ef82d2ecce3c0 |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added _mesa_count_texture_indirections(), _mesa_count_texture_instructions()
hader/programopt.c
hader/programopt.h
|
21f99792a916a62fcfae7c208f50f192d4ce5926 |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since they can now apply to vertex programs.
ain/mtypes.h
ain/texenvprogram.c
hader/arbprogparse.c
hader/arbprogram.c
hader/program.c
|
ae80d13f6df1de6628c23635a98f4fcf1c5d34c8 |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
remove old comment
hader/slang/library/slang_fragment_builtin.gc
|
829da4c3457c4690c53bc93e4e16eb3cb16780cb |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Vertex program texture samplers done, but untested (need to add TEX/TXB to the T&L vertex program interpreter).
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
|
855ebb26d1868d4c1e61a90c1533154b97bd41ff |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement shadow samplers and dFdx(), dFdy() code generation.
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/slang_assemble.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
96c5db5f7ae2cb9d98f534285c34217ce9c2abf3 |
09-Jan-2007 |
Roland Scheidegger <sroland@tungstengraphics.com> |
put back missing Driver.PolygonMode call (bug 9578)
ain/polygon.c
|
dfabf9660751f0d7cfc7cad6539af4d7ccd9147e |
21-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Remove unused tex_program field.
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_tex.c
|
92fb742065f4de941e444916c5a146db87c71701 |
21-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_finalize_mipmap_tree: Only flush batchbuffer when necessary.
rivers/dri/i915tex/intel_tex_validate.c
|
20aec24ac7b4fba169dc6889b093f4dcc2c62bb6 |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
implement biased texture functions
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
41a4e828d9e06e42bba78166975cb283674c0d9f |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
check if _Current == NULL for TXB
wrast/s_fragprog.c
|
8cad795a80077f661d70121f271ab59c68f8bff3 |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added 1D texture functions
hader/slang/slang_assemble.c
|
9a78ef980d89c0d18f859036d5a0cdf82acd303c |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Remove if (tObj) conditional so that texture units without a texture image return black (0,0,0,1) when sampled.
wrast/s_context.c
|
85e0634b54c8cbe65c66f2a4b118ca77cfc1b8ac |
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
update texture1D functions
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
42153d7858686cfd88e919c0889a56d3a13a603e |
08-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement projective texture sampling, 3D textures. Disable some debug output.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_assemble.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_link2.c
|
483ca39bca3c4a125e725e4711abde3f86a84b9e |
08-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Move some code around, add some comments.
hader/slang/slang_codegen.c
|
d3fe7398e31d76f5d2fd36856bec7d4483b5efe7 |
08-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Move storage allocation functions from slang_emit.c to slang_codegen.c
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_emit.h
|
27cc9068ce49ede4cb56d52b32c96e568e5fcbb5 |
08-Jan-2007 |
Brian <brian@yutani.localnet.net> |
checkpoint: more work on variable/storage allocation
hader/slang/slang_emit.c
|
cf4d4342c905c9989abb2dcc5e38968db8aeaf57 |
08-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Checkpoint: re-org of (global) variable allocation code. More to come...
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_emit.c
|
d9dd9013a8530bcafcdb2c5fed2b01a22bfca69b |
08-Jan-2007 |
Keith Packard <keithp@neko.keithp.com> |
Merge branch 'origin'
|
6a632de96dca87a28fe03afb3a9bac3b4a3519d7 |
08-Jan-2007 |
Keith Packard <keithp@neko.keithp.com> |
Merge branch 'origin' into crestline
|
026939b00897665f97669bafb1d486a71f90f935 |
08-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: allow the use of multiple subchannels/objects by default.
rivers/dri/nouveau/nouveau_object.h
|
92de58f00162a6b3c40bf12635f3ee4f0480e09a |
07-Jan-2007 |
Keith Packard <keithp@neko.keithp.com> |
Merge branch 'master' into crestline
|
62db3cc34982d2fec9165633813ef6e656f7d497 |
07-Jan-2007 |
Keith Packard <keithp@neko.keithp.com> |
Various warning fixes for i965 driver. vertex/fragment programs provided as const. bmSetFenceLock should return bmSetFence value.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/bufmgr_fake.c
|
9311c29558156859c6b26389c1b20a25d361d39d |
07-Jan-2007 |
Keith Packard <keithp@neko.keithp.com> |
Initialize GL_ARB_occlusion_query only if DRM support is present. DRM versions before 1.8 do not include the necessary ioctls to support GL_ARB_occlusion_query, don't enable it on these versions.
rivers/dri/intel/intel_context.c
|
caf8010652f77e7687c0a3b7c267ba49d0a24d74 |
04-Dec-2006 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
Merge branch 'master' into crestline Conflicts: src/mesa/drivers/dri/i965/brw_tex_layout.c Michel Dänzer replaced the copy of the 945 mipmap layout code with that from the 945 driver directly.
|
ef02f8be10a9f95788fee48bb9e7801dea0c2ba6 |
13-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201) Signed-off-by: Keith Packard <keithp@neko.keithp.com>
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/intel/intel_blit.c
|
652ae2c3765a471f94ca7b7328a0d572182bb127 |
12-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
i965: Take clip rects into account when computing max prim Signed-off-by: Keith Packard <keithp@neko.keithp.com>
rivers/dri/i965/brw_exec_api.c
|
4068e2d1b766a9ccedcb8d7cd07c49d22dff39f0 |
11-Dec-2006 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
i965: ARB_occlusion_query support Signed-off-by: Keith Packard <keithp@neko.keithp.com>
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/server/i830_common.h
rivers/dri/intel/intel_context.c
|
1b9f78195f62959601d440475a6cbba5e8046813 |
18-Oct-2006 |
Eric Anholt <eric@anholt.net> |
i965: Avoid branch instructions while in single program flow mode. There is an errata for Broadwater that threads don't have the instruction/loop mask stacks initialized on thread spawn. In single program flow mode, those stacks are not writable, so we can't initialize them. However, they do get read during ELSE and ENDIF instructions. So, instead, replace branch instructions in single program flow mode with predicated jumps (ADD to the ip register), avoiding use of the more complicated branch instructions that may fail. This is also a minor optimization as no ENDIF equivalent is necessary. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_structs.h
|
e54ec49155052ab663d8671e7036d985992464a3 |
11-Oct-2006 |
Eric Anholt <eric@anholt.net> |
i965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
rivers/dri/i965/intel_ioctl.c
|
f1fbaf39ff9b818c17c3a3f35e9517b4d826ec61 |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
113b0a7f2e83f02ae9da6977ff416df5cf9671de |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Use GLuint instead of GLint to store intermediate Z values. Fixes problems when using 32-bit Z buffer.
wrast/s_linetemp.h
wrast/s_pointtemp.h
|
c2b185cff82a6cdb723cda4e05ffe1a213a9de3e |
06-Jan-2007 |
Eric Anholt <eric@anholt.net> |
Add reporting of damage by DRI drivers when the extension support is available. With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
rivers/dri/common/dri_util.c
|
5cf7326132a37f11357b5cb31bcc9238fef5b54c |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Checkpoint glsl compiler work: sampler uniforms now implemented, linked properly.
hader/shader_api.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
hader/slang/slang_link.h
hader/slang/slang_link2.c
|
b2ab693d68f2ba1358b9c3f8bab53b9ebfb586fe |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added PROGRAM_SAMPLER
hader/prog_print.c
|
eef70ff79a3231780a4255befe652727364a638b |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added Sampler field to prog_instruction struct
hader/prog_instruction.h
|
288c5396e6aa484d88819bd28a7cd49a3873f283 |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added PROGRAM_SAMPLER
ain/mtypes.h
|
9805e7674424182b17ca355da2cb3b14fab8a41c |
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added _mesa_add_sampler()
hader/prog_parameter.c
hader/prog_parameter.h
|
b530d96216f8a01e2dd4100941f6b1aa4d9dfbcd |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
7da7404fdf1be778534d2d155072114e3f92226a |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Fix glPush/PopClientAttrib() for VBO state (bug 9445).
ain/attrib.c
|
16f0efca605600bdac83898f1505af99c4c71048 |
05-Jan-2007 |
Ian Romanick <idr@us.ibm.com> |
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
|
4cc90ee0b0fa30a71c275abe4cad68b7e99d025a |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
update TexturesUsed[] in slang_update_inputs_outputs()
hader/slang/slang_emit.c
|
4428e8f20f8b6f5db086d8bd8b68ea3da9e9b0f0 |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
update TexturesUsed[] in slang_update_inputs_outputs()
hader/slang/slang_link2.c
|
64f78dd6a8596700a3cb5e657164775ebbc2e8db |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
compute InputsRead/OutputsWritten with slang_update_inputs_outputs()
hader/slang/slang_emit.c
hader/slang/slang_link2.c
|
c9db223f902ce9d7e9f3038e6baac6da7f231b34 |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
move TexturesUsed[] into gl_program since vertex programs/shaders can use textures nowadays
ain/mtypes.h
ain/texstate.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/program.c
hader/slang/slang_emit.c
|
7edd2ecb55d4cdc4067303867453d7e534bfad38 |
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
simplify update_texture_state() a bit, compute _EnabledCoordUnits for shaders
ain/texstate.c
|
5ca107a4f215b84176123fd7a2d5fe14508a9f62 |
04-Jan-2007 |
Ian Romanick <idr@us.ibm.com> |
Use glxbyteorder.h in server-side source files.
lapi/glX_proto_recv.py
lapi/glX_proto_size.py
|
6d29e1de735b446b7a6e2d069375a6cc47c83ce4 |
04-Jan-2007 |
Ian Romanick <idr@us.ibm.com> |
Hack indent flags for indirect_reqsize.h to eliminate extra diffs.
lapi/Makefile
|
92be800146ffa5aab1c3072fa4c9b48289985176 |
04-Jan-2007 |
Ian Romanick <idr@us.ibm.com> |
Add missing files to server generation list. The files indirect_reqsize.c and indirect_reqsize.h were missing from the list of files to be generated for the server. Add them back to the list. Also, update the INDENT_FLAGS to prevent conversion of 'GLbyte *pc' to 'GLbyte * pc' in function prototypes.
lapi/Makefile
|
ff81f074fb4165122b4599f602f89ecff6f611ff |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
minor formatting fix
hader/prog_print.c
|
de03fe4a3f21aac730ad8b7b24bcaa897d4c182b |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added texture attribs in slang_find_input()
hader/slang/slang_emit.c
|
e64030060292cdab97096ee3924ef18b1f71111f |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
initial code to get texture sampling limping along
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_assemble.h
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
6a92d98d1a04629c09fae59585d94203580434c4 |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
temporary disable some memory deallocations to work around a memory corruption bug
hader/slang/slang_compile_operation.c
|
89dc48569a361f59ec8a610ec779b0ff3e7c7ac2 |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
finish some loose ends in _mesa_uniform()
hader/shader_api.c
|
602045fd7bfb80a7a06c1fda5ffe66d9e4cc02b0 |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
update_texture_state() updated for new shaders
ain/texstate.c
|
1d312ae0137eb39bf74fac91eb97ed25c289a4ca |
04-Jan-2007 |
Jerome Glisse <glisse@freedesktop.org> |
r300: Correct bug introduced by fragprog rework. Thx for Tilman who spoted the bugs.
rivers/dri/r300/r300_fragprog.c
|
439758353aea3ede1f6d7fc1be14777df8697db5 |
04-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code.
hader/shader_api.c
hader/slang/library/slang_core.gc
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
bbfd963f492683dc359b7e3f8fcb7ceb2483f886 |
02-Jan-2007 |
Patrice Mandin <patrice@manoir.racoon.city> |
Update spot light params
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
254ce75ac300d8d20ba4e2fce81c4459c692d2b1 |
02-Jan-2007 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: bump drm patchlevel.
rivers/dri/nouveau/nouveau_screen.c
|
b6becfae1087f2577b489677bdd680d64a7ffb4c |
31-Dec-2006 |
Dave Airlie <airlied@linux.ie> |
fix issue with i915tex advertising visuals it can't support This may not be the proper way to fix this but it does work easily.
rivers/dri/i915tex/intel_screen.c
|
3943d7f8b12370dd77dda66e70aa8f1fcd217f9f |
30-Dec-2006 |
Haihao Xiang <haihao.xiang@intel.com> |
Use the tiled flag in the sarea to determine region tiling. This fixes mis-rendering if back/depth fail to get set up as tiled. While it probably won't ever be the case now that the pitch limits are loosened, this is still the right thing to do.
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
8c180c72d5fed5f26f258759f9649fc647a764ff |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Use bufferobj interface for fragment program uploads
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv30_fragprog.c
|
9a20ae70ecda2e78ea6b52c3fd829d283434c1ad |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Initial buffer object support
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_bufferobj.c
rivers/dri/nouveau/nouveau_bufferobj.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
|
1780fd4eeeef2358e929c23cfae2c348cb4a709e |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.
rivers/dri/nouveau/nouveau_sync.c
|
885a7cc38d80366396f463a54ef4af00c9fd07ff |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: add nouveau_mem_alloc/free debugging
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
|
2dd37534506e85351fb114c79fd6c994a9c355c0 |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: record *actual* type of memory that was alloc'd, not the requested types.
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.h
|
7b59a424b519c37b7c94e4ea8c420794c6a0eb4c |
27-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Typo
rivers/dri/nouveau/nouveau_buffers.c
|
297a35eb69382193a4cc9ba4b51619984a8969db |
26-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Add simple wrapper for NV_MEMORY_TO_MEMORY_FORMAT.
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
|
adccb084df57ea5aef1b2ff9c21038ce1b89f7e3 |
27-Dec-2006 |
Haihao Xiang <haihao.xiang@intel.com> |
Support linear format in i965. Fix bug #117 #118
rivers/dri/i965/intel_screen.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
2dccca57e4325e77d7b2f0a08835eeccc11892cb |
26-Dec-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Deleted unused file which likely have be reintroduced during git move. This file was deleted longtime ago, guess that git migration created it again.
rivers/dri/r300/r300_fragprog_swz.c
|
257e3d1d5953a94892a31d71bd2e200204d7968f |
26-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Make use of NOUVEAU_DEBUG for shader disasm
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_shader_2.c
|
3fcb7d388d71c6ab147769d35feab29b7f511521 |
26-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Make the notifier stuff actually work..
rivers/dri/nouveau/nouveau_sync.c
|
0b2b2de6cff23bc224f5471cc8d0812661a0d363 |
26-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Wait on notifier to check for completion of previous commands. We can't wait on NV_PGRAPH_STATUS. We don't have the regs mapped, and there's no guarantee that we'll catch PGRAPH idle when multiple channels are active.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
c0a63d8e5e33b7fe3057e32f04c22969ac2adc1d |
26-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Add notifier support functions
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_sync.c
rivers/dri/nouveau/nouveau_sync.h
|
b8769f318ff9c2e4a74fbb1d4b058eb521e36dda |
25-Dec-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Rework r300 fragprog avoid using bitfield structure. It seems that bitfield structure lead to some strange problem on 64bits arch, don't want to waste time debugging strange things like that so converted pfs_reg_t structure to a GLuint and use good old masking and shifting spell. (cherry picked from 2a7de9d095d8e60da12b11aaa1efe664b87b11d3 commit)
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
d79323bd42864fc4768874f56734bad9dc6d8a9c |
23-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Kill some compile warnings.
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_vertprog.c
|
f54c725497cac19294e1465413d21a9416d4245f |
23-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Modify span routines to use nouveau_renderbuffer instead of driRenderbuffer
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_span.c
|
cb6a400dcd26089101c8a29a4eee198bd7ad9a58 |
23-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: maintain numClipRects/pClipRects in context.
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv30_state.c
|
ae8d8d132600cc544b7295c9554e6531bdbd8094 |
23-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: Don't fill nrb->dPriv for private buffers
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv30_state.c
|
1dd6759c059e054a9a2279d2339a5bd8bb83f6b4 |
23-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveau: get 16bpp working
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nv30_state.c
|
d8babcfc570ef97b284f88f01151f00eb188a2fd |
22-Dec-2006 |
Brian <brian@yutani.localnet.net> |
fix typos
hader/slang/slang_ir.h
|
aa710c3e6b17a4af54f2243de8888da4844d5c75 |
22-Dec-2006 |
Brian <brian@yutani.localnet.net> |
implement unary +, -
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
9b694589e9c47a777ce9f7fab6e4ef90d3c94c80 |
22-Dec-2006 |
Brian <brian@yutani.localnet.net> |
chmod a-x
hader/slang/library/gc_to_bin.c
hader/slang/library/slang_120_core.gc
hader/slang/library/slang_builtin_120_common.gc
hader/slang/library/slang_builtin_120_fragment.gc
hader/slang/library/slang_builtin_vec4.gc
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_vertex_builtin.gc
|
01f2e7f62fd4791d838350502bb5a47bbcdebd62 |
22-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: pre/post incr/decr operators
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
392d9701e30f4c7b4cbd25cb8714a42ba2512bd4 |
22-Dec-2006 |
Brian <brian@nostromo.localnet.net> |
added INTERP_VARYING code
wrast/s_linetemp.h
|
eb2a6d62f9353d90be757fc1617040c7ccddac39 |
22-Dec-2006 |
Brian <brian@nostromo.localnet.net> |
s/attribute/varying/
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_context.c
|
2905385744a385bc8bc6cbd2d749673c93380462 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
comment about uniforms
hader/shader_api.c
|
58af54c76773bd9fc96d43fc209a0dc4db934ca7 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: rewrite vec/mat products
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
c155ae1dfed9eaec167a06d341e2b8c8c8ef1730 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
fix typos
hader/slang/slang_emit.c
|
a0d6b506cdb1faa74d53fcb9d93de49985bc3e95 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
added IR_NEG for negation
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
356f8ea2132ca8b7a19869e5ff6d7c59a12bd5f0 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: matrix/float, unary negation rewrite
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
b766643e5c3c9ed174c59b54e520f94e3420e39a |
06-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Drop mesa wrappers for XFree86.
ain/glheader.h
ain/imports.c
ain/imports.h
|
c73e07405ca1a4ce4fce76607a3e43ef47b9d8a9 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: ivec/int and mat/mat operations
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
bb1bf8b3aaa20fba05851653adf8f6732ca57cd9 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: more basic math rewritting
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
a33532f5f4b06aab49238aa193452f8efee7a291 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: re-org assignment operator functions
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
cec316c9eba31e31fc742a7610b2e67fcac52547 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
checkpoint: more basic math operator re-org
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
8d239a6880d347b30010330a630be5493e8610d6 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoing: re-organization of basic arithmetic functions.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
2a62cbd24b02b0c222d9857ccf9a13e5e167f03a |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
handle PROGRAM_UNIFORM, fix a _mesa_problem() call
nl/t_vb_arbprogram.c
|
3a8e2776a626c971bc02cd2ee3e576cb8b4267e9 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Uniform matrix support. Implement _mesa_uniform_matrix() Support for program parameters/uniforms with more than 4 elements. Store 4x4 matrices in column-major order in registers. Update mat mul built-in functions accordingly.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/slang_emit.c
hader/slang/slang_link2.c
|
83ca3ff384ac09524ff6946134cded4174590d92 |
21-Dec-2006 |
Brian <brian@yutani.localnet.net> |
added _mesa_print_parameter_list()
hader/prog_print.c
hader/prog_print.h
|
2cc7dba718aa45ce446c63cf9a64cb88b1a3c39f |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
New IR_COND node for evaluating conditional expressions (for if/while/for).
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
79a340bc15e13643b1016d011556ba622dd18a5f |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
use cast wrappers for sanity checking
hader/slang/slang_link2.c
|
f2923613a40e07d06ce08d3355f3120d81b9e759 |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
code re-org
hader/shader_api.c
|
d881a9c1365a085ecb1f7e3ee406a2ce3fbf854f |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Minor clean-ups, reformatting, comment changes.
ain/context.c
|
9e4bae9ccac5a76a2361c5c3cbe377a3c6b6a95b |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Fix shader object reference counting and hash table deallocation.
ain/context.c
ain/mtypes.h
ain/shaders.h
hader/shader_api.c
hader/shader_api.h
|
65a18442e5d846940714bb662f5b1bb47ab60c29 |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Clean-up and re-org of the main GLSL object types. Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them.
ain/context.c
ain/mtypes.h
ain/state.c
hader/shader_api.c
hader/shader_api.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_link.h
hader/slang/slang_link2.c
|
0bf5dbe002a64e198f55724cc1542602c012490f |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Overhaul of GLSL API functions, dispatching, etc.
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
ain/context.c
ain/dd.h
ain/mtypes.h
ain/state.c
ain/texstate.c
ources
wrast/s_context.c
wrast/s_span.c
|
5b01c5e9d2c0283cc31981b6c85dc6392144b3db |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Overhaul of GLSL API functions, dispatching, etc.
hader/prog_parameter.c
hader/prog_parameter.h
hader/shader_api.c
hader/shader_api.h
|
46b06bdb2664b7a553fdc9e30367001ab39db804 |
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Massive re-org of GLSL-related API functions. Added new GLSL functions to struct dd_function_table. main/shaders.c calls GLSL functions through the dd_function_table. shader/shader_api.c implements the API functions. Other assorted changes, fixes everywhere else.
ain/shaders.c
ain/shaders.h
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/shaderobjects_3dlabs.h
|
e3358dea660f5dec53a8be9e38d725f4fd829e14 |
19-Dec-2006 |
Dave Airlie <airlied@linux.ie> |
Merge branch 'nouveau-import'
|
2e76f0a846b8273843dca701543f1cba70284751 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
check for null Parameters ptr in _mesa_clone_program()
hader/program.c
|
af1d46b68acb2e272b06177f2bdb50bf81553018 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
lots of clean-up and re-org
hader/slang/slang_codegen.c
|
bb8f7627f7be71044a2e4cb5d583b8e2d59baab1 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
additional error checking
hader/slang/slang_link2.c
|
8473ae475fab751b14a42f76643f48c3a746d94c |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
new error msg
hader/slang/slang_compile.c
|
194bc5afbde4c6b144289e7542612ef52e0e5bd4 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
rewrite +=, -= etc for floats
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
8e20c417d40f8b28467591545dee76c3ffd9dfe3 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Implement array indexing of simple vec2/3/4 types. A bit of a hack for now...
hader/slang/slang_codegen.c
|
d22079217c5a1954a07afb1193d06eecb2decbb6 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Added instruction counter to catch infinite loops (temporary).
wrast/s_fragprog.c
|
b50280e95f3c044f53c0705d3a5619ebb2db4513 |
19-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Check for inst->CondUpdate, print .C suffix.
hader/prog_print.c
|
fbb71da2b918da0ce8a3f95159a3a5fda08e7ca5 |
18-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Generate IR code for for/while loops, break and continue statements.
hader/slang/slang_codegen.c
|
1aee657b0f0fb34a0d6717e47f3bdfd67de8bfc2 |
18-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Implement if-conditionals and while loops, added temporary resolve-branches function in linker.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_link2.c
|
34ae99d6049b10115ca64daecdd1d879d3b5140d |
18-Dec-2006 |
Brian <brian@yutani.localnet.net> |
GLSL API functions.
hader/shader_api.c
hader/shader_api.h
|
ad2519ac6bd4f0464530c5d868045675392ff880 |
18-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Use _mesa_free_linked_program_data()
hader/slang/slang_link2.c
|
962a9f2f9d0326408c9b400d765a6aa14c5a5f57 |
18-Dec-2006 |
Brian <brian@yutani.localnet.net> |
comments
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
53d40646bdac2deb7954794e213154e0a4596278 |
17-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Don't build passthrough shader on <NV40
rivers/dri/nouveau/nouveau_shader.c
|
0031ea7d85ae8990872c2181d038fb97b566dc2b |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
fix comment, handle NOP
wrast/s_fragprog.c
|
f7159552ae12f6a47641f3325c9ece6f1c052feb |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Initial code for conditional constructs.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
3a2815370d26012b41d742540237985a333b6ae4 |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
print BRA instructions
hader/prog_print.c
|
3e1f4bc15be920365a548f64cae6bff1c5ed3ec5 |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
added cases for BRA, NOP
hader/nvvertexec.c
|
b456413d7644978bf7bd40d9c1bcba83f637f685 |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
cases for NOP, BRA
nl/t_vb_arbprogram.c
|
b497a0cb7c607bfad3389c6831de0dfdc37ee5af |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Don't update span->array->z[] values from SLANG_FRAGMENT_FIXED_FRAGDEPTH. This restores the behaviour of Mesa 6.5.1, fixing a regression in 6.5.2. See bug 9345. Revisit someday...
wrast/s_arbshader.c
|
6d982e53ee079dc6a9a20bd5d80b7f856e943e5d |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
don't allow fog when using a fragment shader (bug 9346)
wrast/s_context.c
|
de947e8a5b2f10eb3fd2bdeacc54209e55447e86 |
16-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Get nv10_swtcl.c working enough for glxgears on NV40.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv10_swtcl.c
|
a4be1048870446a45a4a14178b47e2cb1a0d92d6 |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
start implementing relational operators
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
hader/slang/slang_ir.h
|
cb7ccc4b144e546239294ae754aa634bbebc4c62 |
16-Dec-2006 |
Brian <brian@yutani.localnet.net> |
start rewriting the matrix/vector functions
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
f167d0e7d588ab65067ab2e7499664ebc5ab02ec |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
added assertion to catch use of too many temporaries
nl/t_vb_arbprogram.c
|
fa8059a89c91405615c0e0f73b2c469ccb27fb91 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
fix double-printing of comment info
hader/prog_print.c
|
9b00fa9ac24cb5c2e8740dac4b8c2c28e6b861f5 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
code movement
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
bfc02dd30f625c134638b20a903065dc78e9ccd3 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Lots of assorted changes. Implement assignment/move for types larger than 4 floats. Fix codegen bug for "return expr" in inlined functions. More clean-up of storage allocation code (slang_resolve_storage).
hader/slang/slang_assemble.h
hader/slang/slang_codegen.c
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_link2.c
|
6579245800f39c14f738db8e8ae1d93a65a32a4c |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
redo mat4 addition, mat4 constructor from vec4s
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
24a495fd77f98b666c1f17e88a8134301cb8dee7 |
15-Dec-2006 |
Gary Wong <gtw@gnu.org> |
Fix copy-and-paste mistake in comment ("scaling" should read "translation"). Before _mesa_Translatef().
ain/matrix.c
|
c340dd7d842b3f20a6d3d2bec1ebb0d1de15728e |
15-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
NV1x/2x hw_func stubs.
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
|
4b4632f94c726c19d3c1efd05ceb5770a430cefd |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
vertex/fragment program field changes
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_vtbl.c
|
d6aff512feb102eacb41b36e9f9e750d94c299af |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
varying var changes
wrast_setup/ss_context.c
|
464b9f4f6c6514a7cfcc873923b5c127c1c6f60b |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
varying var changes
wrast/s_context.h
wrast/s_span.c
wrast/s_tritemp.h
|
9abf73b8cc204a9348c751022bace78560d7cb3e |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
varying changes
nl/t_context.c
nl/t_context.h
|
a7e252026db542d362bc4688d49c7e28c2f9f1ea |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
updated includes
nl/t_vb_arbprogram_sse.c
|
60a7200c0de7fc2925430b466739b4021087d14c |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
updated includes
nl/t_vb_arbprogram.c
nl/t_vb_program.c
nl/t_vp_build.c
|
89f88058b9321d9aac50200f9e173a7302934c27 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
use MAX_VARYING
hader/slang/slang_link.h
|
e3b266886583cb8ab7feff4fd1df98ecda24d438 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
use MAX_VARYING
hader/slang/slang_link.c
|
a7a582296bf23556e3e9c013b33b619ccc0f795c |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
more debug output
hader/slang/slang_link2.c
|
a90046f1097ad95de2aa95ca65741dff5cddced9 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Lots of assorted changes for new GLSL compiler backend. New datatypes, constants, variables.
ain/config.h
ain/context.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
ain/texstate.c
|
39adc3025071927b6fd4ec1b9dbe9c03b20c82de |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
change/add/rm several filenames
ources
|
c968d3d410a1897ecbb41d3557adaef69a4c627a |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Renamed s_nvfragprog.[ch] to s_fragprog.[ch]
wrast/s_fragprog.c
wrast/s_fragprog.h
wrast/s_span.c
|
b78fb7abaff4e1b1e55d7f2c137ac9a1d40137f2 |
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Renamed s_nvfragprog.[ch] to s_fragprog.[ch], program_instruction.h to prog_instruction.h
hader/program_instruction.h
wrast/s_nvfragprog.c
wrast/s_nvfragprog.h
|
6232438acb205ea44dee2d5eb68fb618e40b47d6 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
remove unneeded includes
hader/nvprogram.c
|
885afd59ec358135ca6121cd65c397c9766afa7a |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
remove unneeded includes
hader/nvfragparse.c
hader/nvvertexec.c
hader/nvvertparse.c
|
2c1f9758525431d870b32986b6144c2921760bc0 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
remove unneded includes
hader/prog_parameter.c
hader/prog_print.c
|
901c1bb402496427abcaa5d56c1f458329e2ec69 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
remove some unneeded includes
hader/programopt.c
|
0831ef5038f851a9eec705a558e03b366b745ecd |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
include prog_print.h
hader/slang/slang_link2.c
|
cc6a141dc16f9e56355c87e533c71965d7ea6f48 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Remove some moved extern decls.
hader/program.h
|
464b82b1e690b5ab690bd1673251e5b4edf69a62 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Move some code from prog_print.c to prog_instruction.c
hader/prog_instruction.c
hader/prog_print.c
|
0ae74048355497ebca4f606e01311a659db6c120 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
|
865f88afc0d59d886fb2ad50429e584ecf17fa81 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Renamed from s_nvfragprog.[ch]
wrast/s_fragprog.c
wrast/s_fragprog.h
|
49f82803cc6ceaf1ecc3928a5417ef300f73f37d |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Updated includes.
wrast/s_context.c
wrast/s_nvfragprog.c
|
60417b646de390a71a15b3e13d2e662712e38294 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
chmod a-x
hader/shaderobjects_3dlabs.h
|
57d9531cd644226d15be4a09ad1492ab647165dc |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Updated includes.
hader/nvprogram.c
hader/programopt.c
hader/shaderobjects.c
|
c0551f0a465b577a17698ede46370a17e29b3df7 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Updated includes.
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertexec.c
hader/nvvertparse.c
|
a7a89e362b8d0dd1586675c23aac4e0e5486262a |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Updated #includes after splitting program.h
hader/slang/slang_codegen.c
hader/slang/slang_compile.c
hader/slang/slang_emit.c
hader/slang/slang_link2.c
|
0560d81ce94d27f2162d77d981468cea1b2bbd8a |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Move many functions into new files.
hader/program.c
hader/program.h
|
00cdc0a472c55330cbc58317f01b07f8f90be5a5 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Split the program.[ch] files into several new files.
hader/prog_instruction.c
hader/prog_instruction.h
hader/prog_parameter.c
hader/prog_parameter.h
hader/prog_print.c
hader/prog_print.h
hader/prog_statevars.c
hader/prog_statevars.h
|
5cc12925089ba705e4f0af9649bc30b546d900ff |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Replace __extension__ with LONGSTRING.
hader/arbprogparse.c
|
200736ebd8c82b03b781a6c6481d05deb1f0c8bf |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Modify _mesa_strdup() so it handles NULL correctly.
ain/imports.c
|
cc0c8b224880c6d6d5bf09f1d37b4275da476afd |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Updates for new linker (merged varying/uniform vars).
hader/shaderobjects.c
|
ef264c2971b43717c8f565f1d39f4149be3aaa85 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Assorted fix-ups for the new linker. Disable some of the excessive debug output.
hader/slang/slang_codegen.c
hader/slang/slang_emit.c
|
d4f7e4cc01a99811565dc8f488cdad972e926b6c |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
The new linker actually does a few things right now: The varying vars used by the vertex and fragment shader are merged so they agree. Similarly, uniforms are merged (along with constants, etc). The vertex/fragment program instructions are then cloned and rewritten with the newly resolved uniform/varying locations.
hader/slang/slang_link2.c
|
b2a3a8554a114d93691d5350c234d2022c2c2916 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
New functions for cloning programs and parameter lists.
hader/program.c
hader/program.h
|
e7e4181361cf2820761c654555f4751e49978a13 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Remove include of s_arbshader.h
wrast/s_span.c
|
fde908444af5c826bce84203a9cb4273d8341ed0 |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix copy-and-paste-o of my e-mail address.
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
e0c9361a7cd16cc008220cf1933fba4371f46753 |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Avoid failing assertion in intel_miptree_set_image_offset() with cube maps. Cube maps still aren't working quite correctly though.
rivers/dri/i915tex/i915_tex_layout.c
|
81855f22cd8d8df5bd96fdbd76ff975b6cf4150b |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Fix some corner cases in i945_miptree_layout_2d(). Based on a patch from Keith Whitwell, with some further fixes.
rivers/dri/intel/intel_tex_layout.c
|
3416ef303af633668cece0b199b4a8b2388c1e2f |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers. Use the i965 version as it has some fixes over the i915tex version.
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/i915tex/intel_tex_layout.c
rivers/dri/i965/Makefile
rivers/dri/i965/brw_tex_layout.c
rivers/dri/intel/intel_tex_layout.c
rivers/dri/intel/intel_tex_layout.h
|
cc1afed6718882d13ab66ba0bbeaab6334e0629c |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees. These are taken from the i965 driver and fix corruption of some mipmap levels under some circumsances with 945 chipsets at least. Also flush the batchbuffer after copying data between trees, or some apps fail an assertion elsewhere.
rivers/dri/i915tex/intel_tex_validate.c
|
5f8a3e586f21219d02912635a93ce312bcf5987c |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
intel_batchbuffer_flush: Don't assert cliprects when lock is not held. This is a legitimate situation when copying texture data between mipmap trees.
rivers/dri/i915tex/intel_batchbuffer.c
|
4cb09df015068f6d75e6457b6c98836dd58aaf29 |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
intelTexSubimage: Fix last parameter for intel_miptree_image_map().
rivers/dri/i915tex/intel_tex_subimage.c
|
9c09259b8bef8f120cc6f4bb1a44f0eae37d71b3 |
14-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match. This fixes texture data corruption with glTexSubimage (and probably glTexImage under some circumstances) with the texstore swizzle path.
ain/texstore.c
|
99878298daf37d02fbabb2dded3f7e7b52cd42fe |
14-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Improve SwapBuffers a bit.
rivers/dri/nouveau/nouveau_context.c
|
c95557f48beb132f96cf103822bb433e00131829 |
14-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE
rivers/dri/nouveau/nv30_state.c
|
15c7e8896ba4c0fedbe3510cb04c44ba3e8d644b |
14-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Some more voodoo to get 3D going with a minimal initial context.
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nv30_state.c
|
2a9950dcb37849a64a59c3a88a858a6f8c33d8b5 |
14-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Remove unneeded -I directories (3Dlabs headers).
ources
|
2956a0c8a8395e4d9ae00888aeb88ea5c38b89ad |
14-Dec-2006 |
Roland Scheidegger <sroland@tungstengraphics.com> |
submit vertex weights to make World of Warcraft maybe happy (bug 8250) submit the vertex weights to hw, which will enable broken vertex programs errorneously using them to work. Note however that this will only work if glWeight is used, there is no code in mesa at all to deal with weight vertex array (glWeightPointerARB).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_vertprog.c
|
2cbfbcd972677b1afd1f8e479215179b7cab8b96 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Obsolete.
hader/slang/slang_mesa.cpp
hader/slang/slang_mesa.h
|
33ae886bbd1443412799b506a49dea5b11040527 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Remove unused 3Dlabs code.
hader/slang/Include/BaseTypes.h
hader/slang/Include/Common.h
hader/slang/Include/ConstantUnion.h
hader/slang/Include/InfoSink.h
hader/slang/Include/InitializeGlobals.h
hader/slang/Include/InitializeParseContext.h
hader/slang/Include/PoolAlloc.h
hader/slang/Include/ResourceLimits.h
hader/slang/Include/ShHandle.h
hader/slang/Include/Types.h
hader/slang/Include/intermediate.h
hader/slang/MachineIndependent/Gen_glslang.cpp
hader/slang/MachineIndependent/Gen_glslang_tab.cpp
hader/slang/MachineIndependent/InfoSink.cpp
hader/slang/MachineIndependent/Initialize.cpp
hader/slang/MachineIndependent/Initialize.h
hader/slang/MachineIndependent/IntermTraverse.cpp
hader/slang/MachineIndependent/Intermediate.cpp
hader/slang/MachineIndependent/MMap.h
hader/slang/MachineIndependent/ParseHelper.cpp
hader/slang/MachineIndependent/ParseHelper.h
hader/slang/MachineIndependent/PoolAlloc.cpp
hader/slang/MachineIndependent/QualifierAlive.cpp
hader/slang/MachineIndependent/QualifierAlive.h
hader/slang/MachineIndependent/RemoveTree.cpp
hader/slang/MachineIndependent/RemoveTree.h
hader/slang/MachineIndependent/ShaderLang.cpp
hader/slang/MachineIndependent/SymbolTable.cpp
hader/slang/MachineIndependent/SymbolTable.h
hader/slang/MachineIndependent/glslang.l
hader/slang/MachineIndependent/glslang.y
hader/slang/MachineIndependent/glslang_tab.h
hader/slang/MachineIndependent/intermOut.cpp
hader/slang/MachineIndependent/localintermediate.h
hader/slang/MachineIndependent/parseConst.cpp
hader/slang/MachineIndependent/preprocessor/atom.c
hader/slang/MachineIndependent/preprocessor/atom.h
hader/slang/MachineIndependent/preprocessor/compile.h
hader/slang/MachineIndependent/preprocessor/cpp.c
hader/slang/MachineIndependent/preprocessor/cpp.h
hader/slang/MachineIndependent/preprocessor/cpp_comment_fix.c
hader/slang/MachineIndependent/preprocessor/cppstruct.c
hader/slang/MachineIndependent/preprocessor/memory.c
hader/slang/MachineIndependent/preprocessor/memory.h
hader/slang/MachineIndependent/preprocessor/parser.h
hader/slang/MachineIndependent/preprocessor/preprocess.h
hader/slang/MachineIndependent/preprocessor/scanner.c
hader/slang/MachineIndependent/preprocessor/scanner.h
hader/slang/MachineIndependent/preprocessor/slglobals.h
hader/slang/MachineIndependent/preprocessor/symbols.c
hader/slang/MachineIndependent/preprocessor/symbols.h
hader/slang/MachineIndependent/preprocessor/tokens.c
hader/slang/MachineIndependent/preprocessor/tokens.h
hader/slang/MachineIndependent/unistd.h
hader/slang/OGLCompilersDLL/Initialisation.cpp
hader/slang/OGLCompilersDLL/Initialisation.h
hader/slang/Public/ShaderLang.h
hader/slang/Public/ShaderLangExt.h
|
aed4f2cc2c4ed071adabcea433b4fea1ab4c3448 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Remove unused 3Dlabs code.
hader/slang/OSDependent/Linux/osinclude.h
hader/slang/OSDependent/Linux/ossource.cpp
hader/slang/OSDependent/Windows/osinclude.h
hader/slang/OSDependent/Windows/ossource.cpp
|
05dab5eaa2703cd3f16f52e9ecc4eee04b969b62 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint GLSL compiler work. Add new sources, remove obsolete.
ources
|
1fbb1c8d783e4d2cae08415619bac9ddbf74cdef |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Obsolete.
nl/t_vb_arbshader.c
|
a5011d97534cb1c89d1f6a78c75f558b24e6299e |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Not needed.
hader/asmopcodes.reg
|
8dcfcad7a2598ba835930aac8f3fd6576e464c1c |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Move all the code for computing ctx->_TriangleCaps into state.c. ctx->_TriangleCaps should probably go away altogether someday...
ain/enable.c
ain/extensions.c
ain/light.c
ain/lines.c
ain/points.c
ain/polygon.c
ain/polygon.h
ain/state.c
|
cefc983bec26b597a98a53932cd5ea05ded2b35a |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Retire old GLSL shader code.
wrast/s_arbshader.c
wrast/s_arbshader.h
|
12ef1fbefcee964b715783d3ade6b69b2c699ed8 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint for GLSL compiler changes. In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
wrast/s_aalinetemp.h
wrast/s_context.c
wrast/s_nvfragprog.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_triangle.c
|
a328e469d328f8b6fd5afdfc21d576fa1a2c43fc |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint work for new GLSL compiler back-end. Among changes: Remove ctx->FragmentProgram._Active Remove _UseTexEnvProgram Move _MaintainTnlProgram, _MaintainTexEnvProgram, _TexEnvProgram and _TnlProgram fields. Remove/disable old GLSL interpreter code.
nl/t_context.c
nl/t_pipeline.c
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbshader.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vp_build.c
nl/t_vtx_eval.c
|
fe1d01cb398cbcb5b28a0b222845d3865c4d612b |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes.
hader/nvfragparse.c
hader/nvvertexec.c
hader/nvvertexec.h
hader/program.c
hader/program.h
hader/program_instruction.h
hader/programopt.c
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/slang/library/slang_builtin_vec4_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/traverse_wrap.h
|
8627bf14524a85cedc3d1794fce9f562fd12bf79 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Rewrite/simplify most built-in functions to use updated set of __asm instructions.
hader/slang/library/slang_builtin_vec4.gc
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
|
77b862a84910713760665ca5af5e27fba48466dc |
13-Dec-2006 |
Nian Wu <nian.wu@intel.com> |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
|
aff8e204d205b5d424d2c39a5d9e004caaa1eab1 |
13-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly instructions.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_codegen.c
hader/slang/slang_codegen.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_emit.c
hader/slang/slang_emit.h
hader/slang/slang_error.c
hader/slang/slang_error.h
hader/slang/slang_execute.c
hader/slang/slang_ir.h
hader/slang/slang_link.h
hader/slang/slang_link2.c
hader/slang/slang_print.c
hader/slang/slang_print.h
hader/slang/slang_simplify.c
hader/slang/slang_simplify.h
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
ed7fbad2066f846bf9466b13b184a50d6f87f972 |
13-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix bug #93, i965 driver not thread safe. I am not confident of it is 100% thread safe now. bufmgr_fake.c need a total rewrite later (cherry picked from 606632ca27558ee1335be2f4a5906f2baa240a6a commit)
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/intel/intel_blit.c
|
4720cd00507f2c13becf318709f7c1fe24ba5146 |
12-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
fix bug #99. prim_count overflow when there is more than 1 cliprect (cherry picked from 84b958d66fe7d3fe03ed12b493e3f3197f656531 commit)
rivers/dri/i965/brw_exec_api.c
|
aeda4c589ada4e6304577e55d55b5c50bc274793 |
13-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
ARB_occlusion_query support
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/intel_context.h
rivers/dri/i965/server/i830_common.h
rivers/dri/intel/intel_context.c
|
696fe3f52e0e7893740b430835f8c95611de3dd3 |
13-Dec-2006 |
Zou Nan hai <nanhai.zou@intel.com> |
if (tex width < 4), mipmap calculation will be out of range
rivers/dri/i965/brw_tex_layout.c
|
5b35132b41427798e02a66a8e39583fffbe9d232 |
07-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Bug 7260: mach64 texture memory mng cleanup mach64 uses its own set of texture memory management routines which are buggy, running a second DRI client kills the first one. This patch ports mach64 code to the stock dri texture managment code.
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
|
c180678d92e6427c60acd4e984c11d27853e1304 |
07-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Bug 7861: mach64 with render acceleration should restore texture state RENDER acceleration uses texturing, thus when RENDER acceleration is enabled, the mach64 DRI driver should restore texture state when acquiring the DRI lock.
rivers/dri/mach64/mach64_lock.c
|
eed1a6de4b396ed6305cf34812a269c10c746d3c |
07-Dec-2006 |
George Sapountzis <gsap7@yahoo.gr> |
Bug 7790: Polygons incorrectly clipped by mach64 driver un-break strict-aliasing rules
rivers/dri/mach64/mach64_tris.c
|
9a94dae4c292bfc2aa94a3f86865550e2217b870 |
18-Oct-2006 |
Eric Anholt <eric@anholt.net> |
Avoid branch instructions while in single program flow mode. There is an errata for Broadwater that threads don't have the instruction/loop mask stacks initialized on thread spawn. In single program flow mode, those stacks are not writable, so we can't initialize them. However, they do get read during ELSE and ENDIF instructions. So, instead, replace branch instructions in single program flow mode with predicated jumps (ADD to the ip register), avoiding use of the more complicated branch instructions that may fail. This is also a minor optimization as no ENDIF equivalent is necessary.
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_structs.h
|
183abbcd6b48178a3412ee8992131ce8c7e7b69d |
11-Oct-2006 |
Eric Anholt <eric@anholt.net> |
Connect INTEL_DEBUG=sync up to cmd/batch ioctls.
rivers/dri/i965/intel_ioctl.c
|
05362682672f5edbd57437fa29c3d5d7d2ad7aba |
22-Aug-2006 |
Wang Zhenyu <zhenyu.z.wang@intel.com> |
adding pci id of Crestline
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
|
d7b24fec245f90db4b8c66f4f7c167b8f20a9b9e |
10-Dec-2006 |
Eric Anholt <eric@anholt.net> |
i965: Fix a crash with wine by not allocating >1MB on the stack.
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_wm.c
|
aadcf1a9ff7e3f92977380d16b4ad2e676d7eb18 |
08-Dec-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
Update spot light params also for nv20 and nv30
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
5c80270b91a3054a00a3c95f7b15b7398c8dccab |
08-Dec-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
grr, always check twice before commit
rivers/dri/nouveau/nv10_state.c
|
65c54a685a0ac7d08ad608c25d0e3c318f8be43f |
08-Dec-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
Resend spot light parameters when part of it changes
rivers/dri/nouveau/nv10_state.c
|
c04c74bc5da454478fd0dbf3b25dd54190ac0942 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Skeletal extension handling across chipsets.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_shader.c
|
fe91d00e332b42d0aea9f7aa266f8cc28ac9ec39 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
NV_44 uses nv30InitStateFuncs too
rivers/dri/nouveau/nouveau_state.c
|
046ece3a2da89c30c8d1bfa25389b19caad0a64c |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
state cache is automagically flushed on a normal BEGIN_RING_SIZE
rivers/dri/nouveau/nv30_state.c
|
e62b2f9c2ec083db40abcf2991201e9e108861f1 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Implement a simple nv30Clear, and make sure we get a nouveau_renderbuffer for the depth buffer and not a Mesa renderbuffer adaptor
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nv30_state.c
|
f79360858d4c94629ef543a35e4e44a13419ac0e |
08-Dec-2006 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix bug#9237
rivers/dri/i965/brw_misc_state.c
|
5449f5a97524cb21194b20d05449d7211faaa51c |
08-Dec-2006 |
Xiang, Haihao <haihao.xiang@intel.com> |
fix bug#9045
rivers/dri/i965/intel_ioctl.c
|
bda66ac426e7ebd0c9383c665a43bc9dbe3154f7 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
oops, typo
rivers/dri/nouveau/nouveau_screen.c
|
011377622fa78d141486ba0536a1546cea8cb8c6 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Create visuals for modes the ddx provides
rivers/dri/nouveau/nouveau_screen.c
|
1d6f13986c40c014708175ed3289811d03a8c724 |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
oops, we don't want this by default just yet...
rivers/dri/nouveau/nouveau_object.h
|
4cfb762c3eb2ea9a764c7ba0811c338ef5fba8fe |
08-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Some work on buffer handling, most likely not entirely correct and incomplete. But, it works well enough that windows can be moved/resized.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_buffers.c
rivers/dri/nouveau/nouveau_buffers.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_lock.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_span.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_state.c
|
7a10d66590a4cebd2b453218e75fe82b02a3edcc |
07-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
i915tex: Recalculate viewport related hardware state in intelWindowMoved(). This fixes vertically displaced rendering with some apps like Google Earth. Simplify other parts of the function somewhat.
rivers/dri/i915tex/intel_buffers.c
|
75e4cfd997859806a0bc43ac314f2c65a6085853 |
06-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Make git ignore some more generated files.
rivers/dri/r200/.gitignore
|
14f92636b00e6961c419e5457151f44853bd297f |
06-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Make git ignore files only generated at build time.
gitignore
rivers/dri/common/xmlpool/.gitignore
rivers/dri/r300/.gitignore
rivers/ggi/default/.cvsignore
rivers/ggi/default/.gitignore
rivers/ggi/display/.cvsignore
rivers/ggi/display/.gitignore
lapi/.cvsignore
lapi/.gitignore
|
7daf30104617b95d83b014a13259e84e28e6aaf6 |
06-Dec-2006 |
Michel Dänzer <michel@tungstengraphics.com> |
Re-generate options.h with Swedish translations.
rivers/dri/common/xmlpool/Makefile
rivers/dri/common/xmlpool/options.h
|
e8c5e0f0b4bff3cb9ac91dc22332eac4c80af949 |
06-Dec-2006 |
Daniel Nylander <yeager@lidkoping.net> |
Swedish translation of driconf options.
rivers/dri/common/xmlpool/sv.po
|
3867bc97800ef3072a70565559c11badba3ed55a |
03-Dec-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Fix the swtcl module.
rivers/dri/nouveau/nv10_swtcl.c
|
f95fe81fffa42be756b0fa53b5f3b240006158d2 |
03-Dec-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
Remove duplicate nv10 tcl defines
rivers/dri/nouveau/nouveau_reg.h
|
d88d895e5a642cffaaf6b654b27686f2eac901d2 |
03-Dec-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Merge the pciid work. Use lock step versioning with the drm.
rivers/dri/nouveau/nouveau_card.c
rivers/dri/nouveau/nouveau_card_list.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_state.c
|
b4dcb99cbc21ad1dafa12e31086f9e0d5fc05e81 |
03-Dec-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Fix a copy+paste'o that caused some *very* strange bugs..
rivers/dri/nouveau/nouveau_object.c
|
7a43a6b4ff8377f260f5525062bc2f66c05570e1 |
02-Dec-2006 |
Gary Wong <gtw@gnu.org> |
Structure CopyPixels similarly to i915 do_texture_copypixels, to ease future unification.
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_pixel_copy.c
|
e99d6746edeb80d73e356230dfe0d8ae8c643b65 |
01-Dec-2006 |
Claudio Ciccani <klan@users.sourceforge.net> |
Be aware that the surface storage can change between locks.
rivers/directfb/idirectfbgl_mesa.c
|
73fdecca9fdd9e63aa5e57bcd67911fbb761d318 |
01-Dec-2006 |
Claudio Ciccani <klan@users.sourceforge.net> |
Remove DirectFBGL header from Mesa bacause since 1.0.0 DirectFB installs its own header. Updated to the current DirectFBGL interface (i.e. added GetProcAddress()).
rivers/directfb/idirectfbgl_mesa.c
|
682393944c72ecfabe8df674af0b48975e90b98c |
01-Dec-2006 |
Thomas Hellström <thomas@tungstengraphics.com> |
Fix an infinite loop error that may occur when many contexts are bound to the same drawable in a multithreading environment. This one slipped out of the texman merge.
rivers/dri/common/dri_util.c
|
40dc5902d39c875d014520a244d842189021d11a |
01-Dec-2006 |
Claudio Ciccani <klan@users.sourceforge.net> |
Fixed compilation errors/warnings. Duplicate destination surface to avoid saving/restoring the rendering state during each Clear.
rivers/directfb/idirectfbgl_mesa.c
|
10cbd089aeb1087a277baf3a7ef0b4d9223970dc |
30-Nov-2006 |
Sean D'Epagnier <geckosenator@freedesktop.org> |
the following improvements to linux-fbdev: 1. updated makefiles to build libOSMesa as well as libGL these are improvements to fbdev-glut 1. mouse cursor will timeout and be invisible if not being used 2. do not restore colormaps to truecolor targets, this causes problems at exit on my g450 3. fixed a crash when cleaning up from failure by munmaping what had not yet been mmaped 4. Resize event handling is improved, the resize function is not invoked from a signal handler now. 5. The main loop can detect if it is running very fast (greater than 2khz) 6. keyboard up and special up events are generated from stdin input mode and if it is also not redrawing, it sleeps 7. corrections in escape sequences for function keys for stdin input
akefile
|
21cf414489af84b8bb374f76c36db8f0f1919733 |
30-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix mixed conventional / generic vertex arrays which caused a wrong array order leading to very bogus rendering (for instance WoW intro screen mentioned in #8250).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_vertprog.c
|
e731d8aafa98bbf9d30f83e65f28b7718be55834 |
29-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
check for target instead of program->Target in _tnl_program_string, avoids segfault if program is NULL
nl/t_vb_arbprogram.c
|
ac8620f37531a2096841678723d993f3f085cbdc |
29-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix a bug in the sanity code when outputting vertex progs
rivers/dri/r200/r200_sanity.c
|
5785e328e0467a6ca78920e8f553851072087e8a |
29-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the change in the r200 driver accordingly.
rivers/dri/r200/r200_vertprog.c
hader/atifragshader.c
|
3cd06cf8c5ef6a27e36c584e12ba79ed8dacbf28 |
29-Nov-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add accelerated CopyPixels for non-overlapping, 1:1 blits. Submitted by Gary Wong <gtw@gnu.org>
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_tex_validate.c
|
716091a6a0a9a4cc03f0aa61a3a6518b0648f167 |
28-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indent, comments, etc
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
|
4a6f47c23bf6fcd03220289fb3bdf75238c4b940 |
28-Nov-2006 |
Dave Airlie <airliedfreedesktop.org> |
Update miniglx support for new memory manager
rivers/dri/i915tex/server/i830_common.h
rivers/dri/i915tex/server/i830_dri.h
rivers/dri/i915tex/server/intel.h
rivers/dri/i915tex/server/intel_dri.c
|
d9a8cc430d2856c42ab74b672d9ca01a7001e015 |
27-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
hader/slang/slang_compile_function.h
|
c0815bc01fc27185d2f6bedefe49a286dedcbed9 |
27-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove assertions to match i915tex code (bug 8726)
rivers/dri/i915/i830_metaops.c
|
3e6ef125f06cf036831063e46ee08bd17c4c4417 |
27-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
ain/context.c
|
98818f159baeaeba45d656d612b64b2f22c63753 |
27-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
- Add InitInstruction to hw shader backend, and remove SetUnusedSource. - NV30FP/NV40VP: Clear any fields before we OR new values into them - NV40VP: It seems that it might be possible to write a result reg at the same time a temp is written. In InitInstruction, initialise OUT_DEST to OUT_DEST_TEMP so result regs don't get clobbered by default.
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_shader.h
rivers/dri/nouveau/nv40_vertprog.c
|
2f411b0a8bf9af96d7ef582564d8e462abd0f28d |
26-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Fix RSQ emulation
rivers/dri/nouveau/nouveau_shader_0_arb.c
|
6ff3d2577ec1099a90cce9292118814c00ab0e6a |
26-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Fix progs/fp/tri-xpd Fragprog consts are inlined, so make sure we update *all* occurances of a param :)
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nv30_fragprog.c
|
85365e6aa4608ea684ff770def7f0f7b354173df |
26-Nov-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
Bug #6044: actually delete the texture object in mgaDeleteTexture
rivers/dri/mga/mgatex.c
|
9c9e6abbf82fbf591575a9c352f86721bc72aa90 |
25-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Incomplete shader stuff, should mostly work for NV40. Other cards, not so much..
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nouveau_shader_0_arb.c
rivers/dri/nouveau/nouveau_shader_1.c
rivers/dri/nouveau/nouveau_shader_2.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv20_shader.h
rivers/dri/nouveau/nv20_vertprog.c
rivers/dri/nouveau/nv30_fragprog.c
rivers/dri/nouveau/nv30_shader.h
rivers/dri/nouveau/nv30_state.c
rivers/dri/nouveau/nv30_vertprog.c
rivers/dri/nouveau/nv40_fragprog.c
rivers/dri/nouveau/nv40_shader.h
rivers/dri/nouveau/nv40_vertprog.c
|
902b26a0d670ca7d2f37103d1c4de242694ff337 |
25-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
fix scissor
rivers/dri/nouveau/nv30_state.c
|
291155172733b08238d77440ae935f82bff70bf9 |
25-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10,nv20,nv30: send correct values for spot light direction X,Y,Z and cutoff parameter C
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
78e5f414cbe0db6600609092390d795d2039d963 |
25-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10: rename spot light coefs like nv20,nv30
rivers/dri/nouveau/nouveau_reg.h
|
16e7ca9d72f7d1c24a12014ac482948e17be8d3f |
24-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
call slang_variable_construct() inside slang_variable_scope_grow()
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
|
e49d06e61955208b9cd3e18469034e7447394b95 |
24-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new slang_variable_scope_grow() function
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
d4c4bdfa1e6bf35c84c4a2d5e18a70dbff11b101 |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
const correctness, clean-ups
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
|
f6ed86a1a5443d9eb22c6acb9f341713a47137f2 |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indent
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
|
308b85f29f191409e42935a3ccd5c502bdf70608 |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix several program-related bugs (bug 9136)
hader/arbprogram.c
hader/program.c
|
897b9c5cb2e9d4d155b07dc6cf25de648fb3bf20 |
23-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Haihao Xiang's edgeflag patch.
rivers/dri/i965/brw_fallback.c
|
c4649208f085fb9137c6b52dcdbdfa2810a0691b |
23-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Haihao Xiang's pointsize initialization patch.
rivers/dri/intel/intel_context.c
|
0faf23c26aca46568c32272bc189356e2e9fd373 |
23-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
That was really stupid.
rivers/dri/nouveau/nv10_swtcl.c
|
50b3f5654e24f0848cda5dc60f21b2c3256b9437 |
23-Nov-2006 |
Dave Airlie <airliedfreedesktop.org> |
realign some of the i830 code from the i915
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
|
14c427573e69e7555a7929c5569c824633415b82 |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/ource/source/
hader/sources
|
d426c13e46b09239eb74c716bac27a6bef9ffbde |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move comments
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
|
dfc98c0beccadf876da4e09614c7264b765ba527 |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indent
hader/slang/slang_assemble_constructor.c
|
d98e1f3761860ad453a9acb446efeee6af97f00a |
23-Nov-2006 |
Dave Airlie <airliedfreedesktop.org> |
fixup draw/depth region handling in i830 along lines of i915
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_vtbl.c
|
6ab6518735b6c98b800ed601dfe217248def43ff |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up, comments
hader/slang/slang_compile_operation.h
|
0cb0a04eca51dc75441a9744e520070511a7a00b |
23-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indent
hader/slang/slang_compile_operation.h
|
46e454863ea9dbe8618a67fb5b4b4a8c51607995 |
22-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062.
nl/t_vtx_exec.c
|
40c7cb7e1768cd694bdfc6864cf3a55254ffce56 |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
const correctness
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
98ea0a3f1fe0cff912e4f6ac74c4d88a7eb905bf |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments
hader/slang/slang_compile_function.h
|
f9f4625367a7b8d462f4af67aabf61c29f11f500 |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up, comments
hader/slang/slang_compile_variable.h
|
958a8af3b01be3d600b90acef2dd7761fb2d7141 |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/slang/slang_compile_variable.c
|
982ceb6773e2153c1fdc21a016e79c2d94115d76 |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix comments
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
|
7398748addd3e7a776f30f30376f4ed37f77da8d |
22-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Some missing state init
rivers/dri/nouveau/nouveau_state.c
|
7f9afedeb5d65b2bb85c13aa3896b8b49bb49f5f |
22-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103, though that bug got fixed without this change too.
nl/t_context.c
|
9540c9c04fa0b691202f419520d9c4d8d495588d |
22-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLX protocol fixes for glMap* functions (bug 8899)
lapi/glX_XML.py
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/gl_XML.py
|
96c0a6de25de2ba8f9601c13f67c22e1aff17b29 |
22-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Prune incoming state to the atoms of interest. Hopefully this will prevent driver-initiated statechanges in the middle of DrawElements/DrawArrays from disturbing this code.
ain/api_arrayelt.c
|
b72fbcbe63bd53460da07ce840094924f04d38e0 |
22-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Another fix
ain/api_arrayelt.c
|
96228d952de153424d66ee87ceb8f06dc2b5ca46 |
22-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Set _NEW_LIGHT when materials are present in display lists also.
nl/t_save_playback.c
|
c8238aa0ff6c7604157537268ec80fb3285550e7 |
22-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Move setting of _NEW_LIGHT to only occur when materials are present.
nl/t_vtx_api.c
|
49a3ea81108cf776d8f61844d4f49b6b7993a25f |
22-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110).
rivers/dri/r200/r200_fragshader.c
|
3e4a5c0642c05b25e3987c762e07c04eec3f0603 |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
Enable nv10 tcl state
rivers/dri/nouveau/nouveau_state.c
|
ac09b567a8257960677be742cc92e3c9a4bd0fc7 |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10,nv20: nvX0ShadeModel static function
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
|
677666eb70faea6ac30d69f99f2c4b776e9954bf |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10,nv20,nv30: color light components renamed from a,b,c to r,g,b
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
81ae0bd249d1da31e57123583a1bcec154c471cc |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
ah, correct revision now
rivers/dri/nouveau/nouveau_reg.h
|
4ed78e20a4aa23d11e67a29a99aafb27e7f9f661 |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
update from renouveau
rivers/dri/nouveau/nouveau_reg.h
|
b5e800068b8a5102bb7a7a34f1fa1b890ff9d443 |
21-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10: update state
rivers/dri/nouveau/nv10_state.c
|
8f008056b2e6347850ec52fdd6da7928b56c4ef9 |
21-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
list header files in sources files (Dan Nicholson)
rray_cache/sources
lapi/sources
ain/sources
ath/sources
hader/grammar/sources
hader/slang/sources
hader/sources
wrast/sources
wrast_setup/sources
nl/sources
|
f332da515cdb8cacc3fdba8a74267d015b7c08be |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
blend, logicop changes for intelEmitCopyBlit backported to i915
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_tex_copy.c
rivers/dri/i915tex/intel_tex_image.c
|
a75440bcf04efb7a4840e9b0d1f0903b40b952bf |
21-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
nouveauCreateDmaObject
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
|
b1c102d37bb3c273a2623358cb8ebff00bdfb65e |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
More fixes, glean seems to run now.
ain/api_arrayelt.c
|
fb6545070418820609a57f4dd975b41c93d499a9 |
21-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Remaining state cache changes
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nv30_state.c
|
0ea45b1ad822ebdce2af3faef77ed776ca32d46b |
21-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Add the state caching mechanism. It seems to work, from what I can see.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state_cache.c
rivers/dri/nouveau/nouveau_state_cache.h
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
64920ed10ac702ed9be33d4045faa71f06e05029 |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix more typos.
ain/api_arrayelt.c
|
46c04525d2282fc7fb5632de8348fef379c71120 |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Gary Wong's patches for CopyPixels Logiop (enable) and Blend (disallow). Slightly cleaned to disallow on all blend states for code consiseness and turn a table lookup into a function to match other code in the driver.
rivers/dri/i965/intel_blit.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_pixel_copy.c
rivers/dri/intel/intel_regions.c
|
f58ec215c5669f36c2649acc9cbeda7383b86879 |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_tnl.c
|
d6f89107ba42724803321c9819f9c836d508b899 |
21-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code after repositioning of INDEX value in BRW_ATTRIB enum.
rivers/dri/i965/brw_attrib.h
rivers/dri/i965/brw_save_api.c
rivers/dri/i965/brw_save_draw.c
|
0337e5635f8d18fdf9dac734141e5302db6d1d49 |
21-Nov-2006 |
Sean D'Epagnier <geckosenator@freedesktop.org> |
glTexCoord3dv was not using third coordinate
ain/api_loopback.c
|
a20cf73053c2c834abe971c9dc824f14c31884fb |
21-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
More state.
rivers/dri/nouveau/nv30_state.c
|
25e495d6050d3fbf2745ba78a85b0a68b3734d91 |
20-Nov-2006 |
Rune Petersen <rune@megahurts.dk> |
Disable fragment program debug messages.
rivers/dri/r300/r300_fragprog.c
|
afb49fef9033d84d989d62928a03615ec5dbda04 |
20-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Add state initialization to context creation.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
|
479aca6bf10b9546deb523f42bc3be48b17081cf |
20-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typos that meant vbos were never unmapped
ain/api_arrayelt.c
|
7cc5522f86026a5058e4594a51685e96de2ca91a |
20-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glPopAttrib/color material bug #9091
ain/attrib.c
|
d2fc1c8384da403930e8d4b9ca95da55846d1696 |
20-Nov-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Solve small definition problem for OpenVMS Modified Files: Mesa/src/mesa/shader/descrip.mms
hader/descrip.mms
|
dd60eaa6d9f61735141976db0e83d25176ac73c7 |
20-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't perform dangling attribute check on POS attribute. It can't by definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Based on patch from Haihao Xiang.
bo/vbo_save_api.c
|
87f602dd820b8cca5293bd30ba356123ab0f9e36 |
20-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't perform dangling attribute check on POS attribute. It can't by definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Reported by Haihao Xiang.
rivers/dri/i965/brw_save_api.c
|
50c85daf02b90fcee239172d7067b582680d2169 |
20-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Cleanup the swtcl code.
rivers/dri/nouveau/nv10_swtcl.c
|
ac208c95cdef7711a9f4ba1a451dbb497912a40e |
20-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Use NONINC_METHOD for vertex data.
rivers/dri/nouveau/nouveau_ctrlreg.h
rivers/dri/nouveau/nv10_swtcl.c
|
4165a1097243db8478650aefebdd4a39b3bd27f5 |
20-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
More work on the swtcl
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nv10_swtcl.c
|
fe2e6100ece780437c622c8469efbec2b98f7a6f |
19-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
More fifo debug fixes
rivers/dri/nouveau/nouveau_fifo.h
|
a8d34992eac7650aff3d1a2f935ff6369684bc24 |
19-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Oops.
rivers/dri/nouveau/nv10_swtcl.c
|
3613eba085dea61d11cda61d1f70bf9824282661 |
19-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Fix the fifo debugging feature.
rivers/dri/nouveau/nouveau_fifo.h
|
327e2c9220772724173ae7c53f4215400ed94355 |
19-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
New swtcl implementation. It's simpler than the previous one (doesn't use templates) and it is probably faster as well
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nv10_swtcl.c
|
a7139168d29e2cb112227ee6f2b5967c34eb91bd |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Don't bother touching lighting stuff if shaders are in use
rivers/dri/nouveau/nv30_state.c
|
80a0ce37df7b7afef9cd1994527c5ed472c5c4cd |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Fix nv30LineWidth, hw expects a ubyte.
rivers/dri/nouveau/nv30_state.c
|
a2a747704d1b9572532ec0afd0ede6a4308ef032 |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Avoid sharing subchannels with the ddx until context switching is done properly..
rivers/dri/nouveau/nouveau_object.h
|
b3fd1556f9e94d6d6f6d3933c404fc37aec7b1a3 |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
More FIFO fixes.
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
|
08a0946fcc51a0980d1d7a06e11d72ef71efafcf |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Stupid bug..
rivers/dri/nouveau/nv30_state.c
|
82d0fd26d49f98517d3668dc1c78a7b4ac8e48e6 |
19-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
poke the correct FIFO regs
rivers/dri/nouveau/nouveau_fifo.h
|
2164cf77306856f7d20965354b4eeff3736ddf64 |
18-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move fix-up code into new slang_fixup_save() function
hader/slang/slang_assemble.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
|
4d4373bb0fa06093d82796950ede5a26fbfdd1d4 |
18-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
delete shader objects when destroying shared context state
ain/context.c
|
a89e063149e183760e8dc2783922cbd389fc106e |
18-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
hader/slang/slang_assemble.h
hader/slang/slang_execute.c
|
61068ba46bbf2c2bb2b1e434602a9361125e76e5 |
18-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/slang/slang_compile_variable.h
|
1e04ff1741b4631c8c37d7cac3706760374b48c1 |
18-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix mgl name mangling problem
lapi/gl_procs.py
lapi/glprocs.h
|
ae9c633a21a20394f39cd3c8adfa34d212945fae |
18-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
More state functions
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
e722e3480f3a5b975c05b584f9acef222c2c9d6b |
18-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Add nv20_state.c ; hook nv10_state.c into the build ; do the renaming required by the renouveau changes.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv10_state.c
rivers/dri/nouveau/nv20_state.c
rivers/dri/nouveau/nv30_state.c
|
8532b6e0a56b09e03e034e37850589d26c20805b |
17-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Small unneeded nv03 fix
rivers/dri/nouveau/nouveau_card.c
|
08020927e826068a1ebc208e63c6a0d53711e96e |
17-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Use RENDERINPUTS macros to access render_inputs_bitset
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_swtcl.c
|
6c9cc81601e87b87f11b89669175dc5bbae4c36b |
17-Nov-2006 |
Rune Petersen <rune@megahurts.dk> |
fragment.position support World position is calculated in the vertex shader and passed to the fragment shader via an unused texcoord.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
0f614df7974a7126324a7fa5d80ee5c588a76f03 |
17-Nov-2006 |
Rune Petersen <rune@megahurts.dk> |
r300_select_vertex_shader4: Makes the vertex program output from the fragment input. It makes the driver capable of catching output-input mismatches safely. Primarily based on some of Aapo Tahkola's code.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
08d64dfbf623e21e4647ea8546283c42a15acecc |
17-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent, doxygen-style comments
hader/slang/slang_execute.c
hader/slang/slang_execute.h
|
83f52ffc529375c36f8822370739da587797e45b |
17-Nov-2006 |
Michal Krol <mjkrol@gmail.org> |
Comment and indent the atom functions.
hader/slang/slang_utility.c
|
a4806c994e796f06675ebf8860fafc3dffe9ed05 |
17-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add STATE_INTERNAL_DRIVER, etc (Rune Petersen)
hader/program.c
hader/program.h
|
10172f7485367182a5745a2114ed7e90830682f8 |
17-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Adapt FIFO code to deal with cases where the base GET/PUT value isn't 0.
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
|
9daf0812a15ed7df0e3a329019290faed58d21ef |
17-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
jkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcs
rivers/dri/nouveau/nv30_state.c
|
7984c70070ea3fee1600095b1f32b0f8adf2ad31 |
17-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
revert prev check-in
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
0da68e2e6e2756e26040df414bc7d1719c884646 |
17-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Add nv30InitStateFuncs
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nv30_state.c
|
523f5cfeb537e52baa892148b7b050fb076ef1b0 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add a lot of const qualifiers for const-correctness. New comments, misc clean-ups.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
1f0c86ee350f168a5b7420bfda7d80365432c811 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/slang/slang_assemble_typeinfo.c
|
01a5a9afd8884e0015d6f155192621b76fe8d94c |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused imesa local var to silence warnings
rivers/dri/savage/savagespan.c
|
3dedeaa0557f17770f6ab7f163dcdde8e93609b8 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial implementation work for CAL, RET, and BRA instructions for fragment programs.
ain/config.h
hader/program_instruction.h
wrast/s_nvfragprog.c
|
fa941e4267385427c27b5a35c29156b342cc3868 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable yesterday's _mesa_add_named_constant() change for now
hader/program.c
|
cba90c17adfaa18b6240a553939d2cd7a63c80d7 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug 9046
ain/texcompress_fxt1.c
|
9021df2d2ad348e1299a74a8ac8df2c13325538c |
16-Nov-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10 state copy/pasted from nv30 state
rivers/dri/nouveau/nv10_state.c
|
7438a78cf4c220be18134a1d8dde7c776edbbbd3 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use LONGSTRING to silence warning
lapi/gl_enums.py
ain/enums.c
|
ebe4c893f8c0e80fe474743574a377d460b5f3e8 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044
ain/image.c
|
b97947972193b6b004a0ee49da31146230d43dd8 |
16-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure vbo's are mapped before accessing their contents in api_arrayelt.c. Reported by Haihao Xiang.
rivers/dri/i965/brw_save_api.c
ain/api_arrayelt.c
ain/api_arrayelt.h
nl/t_save_api.c
|
82eeb62a31ec96a55ba2349397b8e8549e07a6bb |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent, clean-up
hader/slang/slang_assemble.h
|
0c6723aee564a7b320ca122c3c9b003c863cc714 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add a size parameter to _mesa_add_unnamed_constant() and _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_wm_fp.c
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/program.c
hader/program.h
hader/programopt.c
nl/t_vp_build.c
|
699a33ea77ecd164d7435811258eee96bd37aaa2 |
16-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants.
hader/program.c
hader/program.h
|
408e01b9394d39ecd7755ca63b36017bbc0521d0 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent, add some comments
hader/slang/slang_compile.c
|
4a12160e8f0eec446158212e869e0b13e9c6e823 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/slang/slang_compile_function.c
|
adbbf94fa4d30a9c0b612d9406cc8bd0f61ea019 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indent, comments
hader/slang/slang_compile_function.h
|
2d376a61f0f2524d4f4bc75fccc7134e6817b819 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/int/GLboolean/
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
82a9ba92b4d50dec49c8301a4da53cb2b10fbcf9 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved error mesages
hader/shaderobjects.c
|
7c279f4dd7cd9b15c7eca284fb333fada4e74be4 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix casts to silence warnings
hader/shaderobjects.c
|
11a54c38f7d9c84da591ff084590c9928ac4ee0d |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
#define LONGSTRING __extension__ in imports.h and use it to silence gcc warnings about long string literals.
ain/imports.h
hader/arbprogparse.c
hader/slang/slang_preprocess.c
|
12e710c8501df502a61638612f75f738f7796b89 |
15-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Comments for operations.
hader/slang/slang_compile_operation.h
|
8f6a50a49cd3b7479d1cfcf195b53e6d9b0800dd |
15-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Remove use of GetBufferSize (depreciated).
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_state.c
|
6cc5a82206503190c2387266b4ad1b075d9dec62 |
14-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure RENDER_FINISH is called on the zero pixel case. Reported by Haihao Xiang.
wrast/s_readpix.c
|
efa91b9a8f39dd49a59e4fc5524657f7cd5ae8ac |
14-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Enable GLX_SGI_make_current_read for tdfx. Implement GLX_SGI_make_current_read for tdfx. Remove annoying debug printf in tdfxSwapBuffers. Updated a comment in drirenderbuffer.h to note that the tdfx driver uses a flag that was previously only used by s3v. This code was tested with glxgears, wincopy, and manywin.
rivers/dri/common/drirenderbuffer.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_span.c
|
0b69e4837ebf795ba0dbd56d610fc3bd94363f34 |
14-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Clean-up compiler warnings.
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texstate.c
|
37ce9b30e904e0dd3d4734792eb7488a48acdebb |
13-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Implement GL_ARB_occlusion_query. Based on the old code that implemented GL_HP_occlusion_test, implement GL_ARB_occlusion_query. This code passes progs/demo/arbocclude.
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_dd.c
|
ce526de6ffea41d70f6efb6608ffe308028cb47b |
13-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
tdfxDDWriteDepthPixels can be called with mask == NULL. Via depth_test_pixels (swrast/s_depth.c), tdfxDDWriteDepthPixels can be called with mask == NULL. Test for this condition in the places where mask might be dereference. This matches the behavior of several other functions in this file with a 'const GLubyte mask[]' parameter.
rivers/dri/tdfx/tdfx_span.c
|
038bd400e204bcfd9e0926b7e98122525d98f4d1 |
13-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Major clean-up of tdfxDDGetString.
rivers/dri/tdfx/tdfx_dd.c
|
7fbe6a5c5155aa2f123a09ebba62b8c4dd8cda84 |
13-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Eliminate use of deprecated GetBufferSize interface.
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_dd.c
|
e7ad10587ada74570a13c503aae274bc187910d3 |
13-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix "3D driver claims to not support visual ..." warnings. In 16-bit color modes the 3D driver was erroneously creating fbconfigs with 16-bits of accumulation alpha. Since the 2D driver always generates modes with zero bits of alpha, the lists of fbconfigs did not match and warnings were generated by libGL.
rivers/dri/tdfx/tdfx_screen.c
|
47695f06894ed28602ad9ec1449739e658498c82 |
13-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Fix segfault in nouveauCalcViewport
rivers/dri/nouveau/nouveau_context.c
|
d5d00cf8c93d607876f66ca87e82087497f47d4a |
12-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Add include guard.
rivers/dri/nouveau/nouveau_object.h
|
2af374716f351421b978050b113e93abae0e2dc8 |
12-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Some more nouveau_screen.c setup, not sure how correct it is yet though..
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_screen.c
|
b8e05366e192ab4ebaf69dc8a4a18da4e65cbf80 |
12-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
We need nmesa->driFd and friends setup before we call nouveauFifoInit
rivers/dri/nouveau/nouveau_context.c
|
6464787bfd1888ea93ebfe53528ceac3c27c993f |
12-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Dont call exit() from the DRI driver, with AIGLX this is particularly nasty
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_msg.h
|
d037c84c33d6a164dc8f76dab4e352054a01f32f |
11-Nov-2006 |
Ben Skeggs <darktama@iinet.net.au> |
fix typo
rivers/dri/nouveau/nv30_state.c
|
f65a4b8a8dd9f2dfb7f9fb0ce2b1a3ef3382aa84 |
11-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Some nouveau_screen work for darktama
rivers/dri/nouveau/nouveau_screen.c
|
4f61fd18b2ba2dae38c68f4facb80ac2016d50ac |
11-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Fill in nv30PointSize and nv30Viewport.
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv30_state.c
|
994ea9556f7fb55546c6426639ebb4cc3970a5d5 |
11-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Fix the texture init function name
rivers/dri/nouveau/nouveau_tex.c
rivers/dri/nouveau/nouveau_tex.h
|
0850289d8c66f75ac72347b1bf4bf6d15fb60139 |
11-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Add the GL_LIGHING enable
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv30_state.c
|
f82bc9110b3b06f3313e584e860d0e41d11965f0 |
11-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Some work on nv30 state, heavily based on jkolb's work
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nv30_state.c
|
ded5517bd5d5e15def688a2b0dd2e2c89713424a |
10-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Bump driver date.
rivers/dri/savage/savagedd.c
|
5c384721522d6a2f9a500e26f0805dda77a31126 |
10-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Refactor savageXMesaSet{Back,Front}ClipRects. Refactor savageXMesaSetBackClipRects and savageXMesaSetFrontClipRects into a single new routine called savageXMesaSetClipRects. This allows a few cleanups in the code.
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
|
6e2c95253718e9ba294a788ba3bb37b7c9603409 |
10-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Enable GLX_SGI_make_current_read. Eliminate use of deprecated GetBufferSize interface. Keep framebuffer state associated with the read-drawable and the draw-drawable up to date. Tested with progs/demos/wincopy.
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagespan.c
|
28623163098a92bf43af882fbc63e9ce9f910a26 |
10-Nov-2006 |
Dave Airlie <airliedfreedesktop.org> |
Fix up texture compression at least Get and TexImage, not too sure about how to fix SubTexImage with compressed textures
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
rivers/dri/i915tex/intel_tex.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_format.c
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/i915tex/intel_tex_validate.c
|
d7815f59134b0fb5cb3b56b72b22ba55002265ac |
10-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Implement GLX_SGI_make_current_read Discontinue use of the old GetBuffeSize interface. Track both the current read-drawable and the current draw-drawable. After moving some context state to via_rednerbuffer, GLX_SGI_make_current_read can be enabled. The extension works, but the wincopy test prodcues a black window for the destination window. After messing around with the window and looking at the code, I believe the problem is in the handling of buffer swap requests on a drawable that isn't the current draw-drawable.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
|
3ce4adaa8fc0cb067dd9da3f358556490954f776 |
09-Nov-2006 |
Ian Romanick <idr@us.ibm.com> |
Remove unnecessary setting of GetBufferSize to NULL.
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_context.c
|
c6f1d4c3a00ad6d0b82c1a0c32a6be01986c9c02 |
09-Nov-2006 |
Adam Jackson <ajax@freedesktop.org> |
Fix some && (logical) that should clearly have been & (bitwise).
rivers/x11/xm_span.c
|
20802a7b695cdb580c479352bc3eab84d1481b2c |
07-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Commit a small nitpick
rivers/dri/nouveau/nv10_swtcl.c
|
0ddd50c8aec1ae6dfe2d649972abf8f36a4e103e |
06-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix vp lockups due to incorrectly set up / emitted attrib inputs.
rivers/dri/r200/r200_tcl.c
|
aee30f3f9d4c2936ddb735e07ec5988444e0a89e |
05-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp inputs.
rivers/dri/r200/r200_vertprog.c
|
831d13bc42f998538a247b4082a992d3af45aa3d |
05-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/slang/slang_assemble.c
hader/slang/slang_execute_x86.c
|
e2b4d9b317104ff3c56a9bf108aa79084d49eba5 |
05-Nov-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Architect the DRI : - make use of the autogenerated nouveau_reg.h file - add object creation to the DRI - some work on screen and context creation
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_card.c
rivers/dri/nouveau/nouveau_card.h
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_ctrlreg.h
rivers/dri/nouveau/nouveau_dri.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_ioctl.c
rivers/dri/nouveau/nouveau_ioctl.h
rivers/dri/nouveau/nouveau_object.c
rivers/dri/nouveau/nouveau_object.h
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nouveau_screen.c
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_swtcl.c
rivers/dri/nouveau/nv10_swtcl.c
|
e330a69ee509b4fc16b93ae554ca2e378c929e63 |
05-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add sin instruction to fragment program. There is a bug somewhere in fragment program. tri-cos and tri-sin show the bug. Also we should not emit multiple time the same constant. for sin,cos,lit have to fix that.
rivers/dri/r300/r300_fragprog.c
|
0056ea5417d6d3c3ca875cf86a085611c83f8afb |
05-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add cos instruction and remove left over debug.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/radeon_state.c
|
120584a1e650c5c72c889666a82624af4f5df1c1 |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix for glGetVertexAttribfvNV, bug 8883
hader/nvprogram.c
|
adf3a64b03c636007ce4d8d492c60aad8070c978 |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix error msg
hader/arbprogram.c
|
590b557b10ccff7135d76ec800b944c8901c5141 |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix for glGetVertexAttribfvARB, bug 8883
hader/arbprogram.c
|
64d952c92cf9393ec7e02902f2c6960d5028fe64 |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
#define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
86-64/glapi_x86-64.S
86/glapi_x86.S
|
c9365b7ca4fe7ac7e7e56debe50b371c8ed721d6 |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix _mesa_IsProgram() and _mesa_IsShader()
hader/shaderobjects.c
|
2fbaddfa695986ed04e4d648bb91632fd66f326b |
04-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for USE_MGL_NAMESPACE
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glthread.h
|
d2f80777e804742267efd700396275174928332d |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement _mesa_GetShaderiv()
hader/shaderobjects.c
|
3bef600024a27376680e1dab326c1dd22c562322 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement _mesa_GetProgramiv()
hader/shaderobjects.c
|
7e6701cef10c481cad5e0d3c95046ccc8fcd4e73 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.
hader/shaderobjects.c
|
2659ee9dfb32f76ae2b93d0d7234053a246d400a |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use inlined uniform() helper function in all the glUniform*() function to reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
|
c64a06291817d8667eddc538abdbf5de2f011961 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in 2.0, 2.1 functions
ain/state.c
|
39cc8e8a0676dea4409ac530c64d754ce4fd6def |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OpenGL 2.1 entrypoints.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
33748aaad885c6edd8fa94b7f319d7b406f93153 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set DO_DEBUG=0
rivers/dri/i915tex/intel_context.h
|
3c1ce571ed7a5e8d811a3fb8ed1667e0f71b5bfc |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
only enabled memcpy timing if DO_DEBUG=1
rivers/dri/i915tex/intel_tex.c
|
d00ef005fedb21a1b42c0a12264433089b7a10c5 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace CONFIG_H with MESA_CONFIG_H_INCLUDED
ain/config.h
|
bdb251bcbf94e71f3adba4183c363259c01cde60 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OpenGL 2.1 glUniformMatrix* functions. Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
|
e90e8278240f1c4c00b5cc466e92ffd671181b31 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reformat comments in Doxygen style
hader/slang/slang_link.h
|
4d5744e66dbe1057244cace18e2970e64fb27e78 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent
hader/shaderobjects_3dlabs.c
|
61fd687c74610a5b3db5e9f3adb3ee2e9a5a6014 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor changes to get ready for OpenGL 2.1.
ain/extensions.c
ain/getstring.c
ain/mtypes.h
|
188a4db49c4c22429bfa7ae87d4b1a0c35bf0285 |
03-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix compiler warnings. Add missing code for translating non-GLuint elements.
nl/t_draw.c
|
029d18cd3d79ff956c50b3486078d968d15bf0fb |
03-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable generic arrays for r200 hw vertex programs by assigning unused color and texture inputs to them. Not widely tested yet. This should eliminate all fallbacks due to vertex programs, except writes to back facing colors, or when exceeding a hw limit (12 temps, 12 attribs etc.).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vertprog.c
|
c3da1501b81a31e92f485ee9fbd99e60cc3a4337 |
03-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
need to call bind_arrays() in vbo_exec_DrawRangeElements.
bo/vbo_exec_array.c
|
25b2e50229592ecd4cc3d058471bdee1cb8a0c55 |
03-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove remaining traces of r200FlushVertices...
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_swtcl.h
|
e7b71f69190c9fec567163dd7f63df593e069678 |
03-Nov-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove setting some driver funcs explicitly to NULL, as they are no longer set up later. Thix fixes a segfault in _mesa_Bitmap().
rivers/dri/r200/r200_context.c
|
83a5c2bf63ef285dea096612f4d84236e9c8d543 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
7a28779b2e85bc346f0f3f4cda0d4f4e77d3719f |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor change in _mesa_ResizeBuffersMESA()
ain/buffers.c
|
fc69beecb680daa8cbc9cac173bd8c5650270f52 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include utils.h to silence warning
rivers/dri/trident/trident_context.c
|
ce55bbe9ef8077a0d5b93cf0d128306c888263d4 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/int/ to silence warnings
rivers/dri/radeon/radeon_texstate.c
|
7941474a219b8d690e9e6df301acaeec3e94085d |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
casting, type changes to silence warnings
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_texstate.c
|
15193e78c944aabd9d748e24a294525cc19e67c9 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLint/GLuint/ to fix sign warnings
rivers/dri/r128/r128_span.c
|
071db86299d25b3d3110067fbafd8d6fdd220098 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo, silence warnings
rivers/dri/mga/mgastate.c
|
dd0830228b5b4d7d730068a607c68e8bf85c2906 |
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix GL_EXT_packed_depth_stencil crash, but shadowtex still broken
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_tex_format.c
|
05267501af5288a9d380df1306e5b74dcab1ec40 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comment about a valgrind error
ain/texstore.c
|
71f71c2c8ab0b8af95cddc99df5dd01e4ca6af68 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLchan/GLubyte/ in debug code
ain/teximage.c
|
959571f83595dcc8026bc6c7eb52bb9ee50cc6d5 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
init SecondaryRasterColor
ain/rastpos.c
|
e441427f40d564656771447ea96685a6028a8273 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added GL_STENCIL_BACK_WRITEMASK
ain/get.c
ain/get_gen.py
|
af864bb0daf3aba9bc2526d207925eea0c44d162 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for shader extensions for OpenGL 2.0
ain/getstring.c
|
e812081253b2857b59d17f40dc6c9909e1957d87 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Undo some of yesterday's ATI_separate_stencil changes. The ATI extension doesn't exactly match OpenGL 2.0.
ain/extensions.c
ain/mtypes.h
ain/stencil.c
|
d78f65cd6cf04dafcf50b4014de9d28546badcfb |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix fragment program fog problems found with Glean. 1. add PROGRAM_CONSTANT to switch() in src_vector(). 2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify(). 3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915tex/i915_fragprog.c
|
67a101759ec0b84e4f30fbb329e86ac5031cf7e7 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Call _mesa_problem() from i915_program_error() so we get a nice error message.
rivers/dri/i915/i915_program.c
rivers/dri/i915tex/i915_program.c
|
a93f4a73100f00d8114ee9931fd80eaa8f6f0375 |
02-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Move r300 to new fbo interface based on Keith Whithwell. Tested with progs/redbook/varray.
rivers/dri/r300/radeon_vtxfmt_a.c
|
b6c2a6a0f295c078efc4737337ad67deaa7cee0a |
02-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add requested size to r300RefillCurrentDmaRegion. This way we no longuer have the fixed RADEON_BUFFER_SIZE. Anyway function calling AllocDmaRegion should check if this succeed and fail gracefuly if not (see bug 8348).
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_mm.c
|
94249ca333eef997f865d0e0862b913cec061c6c |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove GetBufferSize = NULL; assignment
rivers/dri/intel/intel_context.c
|
df5edb21f8f01f8d3e9b87b8103685690b35646f |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixes Glean vertex/fragment test failures. Those tests never called glViewport so the viewport was 0 by 0 pixels.
rivers/dri/i915tex/intel_context.c
|
c97bc619d63cafb7b0bb3724b07734e6cbd296e5 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove GetBufferSize code
rivers/dri/i915tex/intel_buffers.c
|
7e9c3684ef45e0df8426317f28c883d16f27c031 |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix type-conversion of incoming vertices. Fix mis-application of increment to pointer variable.
nl/t_draw.c
|
01e238e5d51dabd28646356de825aa43a7290373 |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in last commit
bo/vbo_exec_array.c
|
6f676f4871b1701ec56298f9d22460677ed0e982 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
always load frag prog state params for now (see comments)
wrast/s_context.c
|
51b115d5aec4ae7386d143f8bdd0289002802b7b |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded extern declaration of lockMutex
rivers/dri/i915tex/intel_context.c
|
29ed8946338dde55e6a337dd9e64f6d003518ed3 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump driver date
rivers/dri/i915tex/intel_context.c
|
301acdf34ad01315f41c14638d92aa7fe0c2d2dc |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Similarly, fill in missing input slots in the vertex-array + NV_vertex_program path.
bo/vbo_exec_array.c
|
5a652f595716a82ebd79e33011f6082199c4b0d0 |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fill in missing input slots in the vertex-array + no-vertex-program path.
bo/vbo_exec_array.c
|
7a9c7c1133d5cf17d032c8568e8f040a7c171a72 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we often need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/mga/mgastate.c
rivers/dri/r300/r300_state.c
|
abc73d9cba655479af493fabd13a488e5f7951eb |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new RGBA_LOGICOP_ENABLED() macro
ain/context.h
ain/state.c
|
12fe1b3a580c267ccef53a5dbfd5183eaac1489b |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_IsProgram2/_mesa_IsProgram/
hader/shaderobjects.c
hader/shaderobjects.h
|
f49c0d0dfbae5624c4db57b24fff23bd7dbaae01 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the OpenGL 2.0 function of the same name.
ain/dlist.c
ain/state.c
hader/arbprogram.c
hader/arbprogram.h
hader/program.c
hader/program.h
|
f961d394e30586fa61d53d93b65fe4424b5cef36 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
OpenGL 2.0 entrypoints
hader/shaderobjects.c
hader/shaderobjects.h
|
e71e4c9e476b0dae5aaff68e71e09b3a6ff3d63a |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
run indent on the code
hader/shaderobjects.c
|
6d104cb932080c5c0d951fbc0ec6d30fb7ebef45 |
02-Nov-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge current trunk into vbo branch
rivers/directfb/idirectfbgl_mesa.c
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufpool.h
rivers/dri/common/dri_drmpool.c
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_clear.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i830_context.c
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_reg.h
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i830_tex.c
rivers/dri/i915tex/i830_texblend.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i915tex/i915_metaops.c
rivers/dri/i915tex/i915_program.c
rivers/dri/i915tex/i915_program.h
rivers/dri/i915tex/i915_reg.h
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_tex.c
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_batchpool.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_buffer_objects.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_depthstencil.c
rivers/dri/i915tex/intel_depthstencil.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_ioctl.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel.h
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_render.c
rivers/dri/i915tex/intel_rotate.c
rivers/dri/i915tex/intel_rotate.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_span.h
rivers/dri/i915tex/intel_state.c
rivers/dri/i915tex/intel_structs.h
rivers/dri/i915tex/intel_tex.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_copy.c
rivers/dri/i915tex/intel_tex_format.c
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/i915tex/intel_tex_subimage.c
rivers/dri/i915tex/intel_tex_validate.c
rivers/dri/i915tex/intel_tris.c
rivers/dri/i915tex/intel_tris.h
rivers/dri/i915tex/server/i830_common.h
rivers/dri/i915tex/server/i830_dri.h
rivers/dri/i915tex/server/intel.h
rivers/dri/i915tex/server/intel_dri.c
rivers/dri/i965/intel_blit.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_state.c
rivers/dri/s3v/s3v_state.c
rivers/dri/savage/savageioctl.c
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_state.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_ioctl.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_dd.c
ain/attrib.c
ain/buffers.c
ain/context.c
ain/dd.h
ain/extensions.c
ain/fbobject.c
ain/get.c
ain/get_gen.py
ain/getstring.c
ain/mipmap.c
ain/mtypes.h
ain/state.c
ain/state.h
ain/stencil.c
ain/texcompress_s3tc.c
ain/texenvprogram.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertexec.h
hader/nvvertparse.c
hader/program.c
hader/program_instruction.h
hader/programopt.c
wrast/s_arbshader.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_nvfragprog.c
wrast/s_span.c
wrast/s_texstore.c
wrast/swrast.h
nl/t_context.c
nl/t_vb_program.c
|
18d52f96bb1f20b1887b67e87506835bca05d73a |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in display list attrib binding.
bo/vbo_save_draw.c
|
9827dc8bea422b940f1efcfbd1c0d76f8bbca844 |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Respect array->Normalized flag. Import edgeflag attribute to array of GLbooleans as expected by downstream code.
nl/t_draw.c
|
c22f8a7787bd5260135a20a0c2ae8b743228497b |
02-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
missing file
nl/t_draw.c
|
467c773f798516f86425c14fe8406298e00baba1 |
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add ATI_separate_stencil and use it in preference to EXT_stencil_two_side since the former is what's used for OpenGL 2.0.
ain/extensions.c
ain/getstring.c
ain/mtypes.h
ain/stencil.c
|
faba58c447c9eeeea0f7ef405fa1ba1f73991375 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update _mesa_select_tex_image() and _mesa_get_tex_image()
ain/mipmap.c
|
92c99bc51bc296a604f176cb5e98f53155d3f375 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update comments
ain/dd.h
|
a5676795cfe2e24979b5da65c2f499049ab009d9 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove x/y/width/height parameters from Clear functions.
rivers/directfb/idirectfbgl_mesa.c
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_clear.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i965/intel_blit.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffers.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mga/mgaioctl.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/s3v/s3v_state.c
rivers/dri/savage/savageioctl.c
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_state.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_ioctl.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_dd.c
ain/buffers.c
ain/dd.h
wrast/s_buffers.c
wrast/swrast.h
|
533e5a73ee8fbc500b711aff566f00c10812ad4d |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comment-out unused var
rivers/dri/sis/sis_screen.c
|
6a92324cf0d9758209bd2ea9f443221bde84c425 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused vars
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
d972c86876c4736ece5f3b85485a16c72ef88c7d |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix _mesa_select_tex_image() calls
rivers/dri/tdfx/tdfx_tex.c
|
7d08e3a117b7ba8fa0d64713b333f6263bff24d0 |
01-Nov-2006 |
Michal Krol <mjkrol@gmail.org> |
Write back gl_FragDepth to span->array->z.
wrast/s_arbshader.c
|
9669804fe476f3497ac7e76e1e7b3e62d547fb6e |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't use the x/y/width/height params passed to Clear(). Get them after locking. Next: remove the params altogether.
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_buffers.c
rivers/dri/intel/intel_batchbuffer.c
|
4db0c89d25d776f7d68a34fa9e489ce0294dacd3 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable debug printfs
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/intel_screen.c
|
361d137587d1b7a6a18ddc33c7862ff5e6ddd648 |
01-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Correct a little bug, radeon->glCtx is a pointer.
rivers/dri/radeon/radeon_state.c
|
8d87196c12fc9ec8886f5b590f4cfb3c7c1b28aa |
01-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Remove deprecated GetBufferSize interface.
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
|
57f09b6e5eccd32ee34f82eab94cdeb7a7243c91 |
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
fix compiler warnings
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915tex/i915_fragprog.c
|
8665b828fea2f18c9da5cfb027ad7cb43a5ea333 |
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Patch from <haihao.xiang@intel.com> -- pass program string notification callback through to tnl/ module, fixes glean crash.
rivers/dri/i915tex/i915_fragprog.c
|
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 |
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge texmem-0-3-branch.
rivers/dri/Makefile.template
rivers/dri/common/dri_bufmgr.c
rivers/dri/common/dri_bufmgr.h
rivers/dri/common/dri_bufpool.h
rivers/dri/common/dri_drmpool.c
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i915tex/Makefile
ain/attrib.c
ain/context.c
ain/fbobject.c
ain/mtypes.h
ain/state.c
ain/state.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
wrast/s_texstore.c
|
232a489b41097b462fc0ad2b88f0df75a1abd4c3 |
01-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add LIT instruction to fragment program.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
6b9e31f3eb3dbe20cbc8493b963bbc6530e392c6 |
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Import texmem i915 driver to its new location as i915tex.
rivers/dri/i915tex/Makefile
rivers/dri/i915tex/i830_context.c
rivers/dri/i915tex/i830_context.h
rivers/dri/i915tex/i830_metaops.c
rivers/dri/i915tex/i830_reg.h
rivers/dri/i915tex/i830_state.c
rivers/dri/i915tex/i830_tex.c
rivers/dri/i915tex/i830_texblend.c
rivers/dri/i915tex/i830_texstate.c
rivers/dri/i915tex/i830_vtbl.c
rivers/dri/i915tex/i915_context.c
rivers/dri/i915tex/i915_context.h
rivers/dri/i915tex/i915_debug.c
rivers/dri/i915tex/i915_fragprog.c
rivers/dri/i915tex/i915_metaops.c
rivers/dri/i915tex/i915_program.c
rivers/dri/i915tex/i915_program.h
rivers/dri/i915tex/i915_reg.h
rivers/dri/i915tex/i915_state.c
rivers/dri/i915tex/i915_tex.c
rivers/dri/i915tex/i915_tex_layout.c
rivers/dri/i915tex/i915_texstate.c
rivers/dri/i915tex/i915_vtbl.c
rivers/dri/i915tex/intel_batchbuffer.c
rivers/dri/i915tex/intel_batchbuffer.h
rivers/dri/i915tex/intel_batchpool.c
rivers/dri/i915tex/intel_blit.c
rivers/dri/i915tex/intel_blit.h
rivers/dri/i915tex/intel_buffer_objects.c
rivers/dri/i915tex/intel_buffer_objects.h
rivers/dri/i915tex/intel_buffers.c
rivers/dri/i915tex/intel_buffers.h
rivers/dri/i915tex/intel_context.c
rivers/dri/i915tex/intel_context.h
rivers/dri/i915tex/intel_depthstencil.c
rivers/dri/i915tex/intel_depthstencil.h
rivers/dri/i915tex/intel_fbo.c
rivers/dri/i915tex/intel_fbo.h
rivers/dri/i915tex/intel_ioctl.c
rivers/dri/i915tex/intel_ioctl.h
rivers/dri/i915tex/intel_mipmap_tree.c
rivers/dri/i915tex/intel_mipmap_tree.h
rivers/dri/i915tex/intel_pixel.c
rivers/dri/i915tex/intel_pixel.h
rivers/dri/i915tex/intel_pixel_bitmap.c
rivers/dri/i915tex/intel_pixel_copy.c
rivers/dri/i915tex/intel_pixel_draw.c
rivers/dri/i915tex/intel_pixel_read.c
rivers/dri/i915tex/intel_reg.h
rivers/dri/i915tex/intel_regions.c
rivers/dri/i915tex/intel_regions.h
rivers/dri/i915tex/intel_render.c
rivers/dri/i915tex/intel_rotate.c
rivers/dri/i915tex/intel_rotate.h
rivers/dri/i915tex/intel_screen.c
rivers/dri/i915tex/intel_screen.h
rivers/dri/i915tex/intel_span.c
rivers/dri/i915tex/intel_span.h
rivers/dri/i915tex/intel_state.c
rivers/dri/i915tex/intel_structs.h
rivers/dri/i915tex/intel_tex.c
rivers/dri/i915tex/intel_tex.h
rivers/dri/i915tex/intel_tex_copy.c
rivers/dri/i915tex/intel_tex_format.c
rivers/dri/i915tex/intel_tex_image.c
rivers/dri/i915tex/intel_tex_subimage.c
rivers/dri/i915tex/intel_tex_validate.c
rivers/dri/i915tex/intel_tris.c
rivers/dri/i915tex/intel_tris.h
rivers/dri/i915tex/server/i830_common.h
rivers/dri/i915tex/server/i830_dri.h
rivers/dri/i915tex/server/intel.h
rivers/dri/i915tex/server/intel_dri.c
|
3c6e99ce95bdee526f95ce8aaadd0c8923b83af0 |
01-Nov-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add CMPH instruction to fragprog CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX.
rivers/dri/r300/r300_reg.h
|
fd60b2d5368e3385c1ba70c6d5d122b10ff20646 |
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Patch from <haihao.xiang@intel.com> -- pass program string notification callback through to tnl/ module, fixes glean crash.
rivers/dri/i915/i915_fragprog.c
|
1ebe921228ef896804384002d8a3acd0885afc98 |
01-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Added OUT_RING* debugging macros. Compile with NOUVEAU_RING_DEBUG to use.
rivers/dri/nouveau/nouveau_fifo.h
|
2d2d617dbc17817f214e0b523f929de1f5d8f48a |
01-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Oops. Forgot to check in the context change.
rivers/dri/nouveau/nouveau_context.h
|
2581ba7f1e0352ad7ed5e863647a545a0eec851c |
01-Nov-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Fix compile errors. Add vblank_seq to nouveau_context.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_ioctl.c
|
d106195ad2ee5df9a4a7ce57055e48e2b9a2d1d7 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
change DEBUG_FRAG conditions
wrast/s_nvfragprog.c
|
e6f47d1855354165c6eed5080d8a72024891f10f |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some bugs in interpolate_specular()
wrast/s_span.c
|
90fcf6ccc345c287309d7d17b2ff256cc22fb2b7 |
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added a few new ctx->Const. fields for shader-related limits.
ain/context.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
5050b565deca3cad165cd2f68badc084b9aa5377 |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
make use of Parameters->StateFlags in _swrast_update_fragment_program()
wrast/s_context.c
|
ef987aa1d78b705dc75fb962941410f53238dbc8 |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups, simplifications and new comments
hader/program.c
|
7e75f51b2791165dae6bd7eb1f6bab9bef40fb87 |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix MINGW32 problems
ain/texcompress_s3tc.c
|
4e9e0aff790656821970ba74d8996718e415ea68 |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
We need to call _mesa_load_state_parameters() whenever a fragment program is enabled and we've changed any GL state that might be referenced by a fragment program (such as state.fog.params). Do this during swrast validation, not in _swrast_exec_fragment_program().
wrast/s_context.c
wrast/s_nvfragprog.c
|
72f49657e8f7eac9bdb09435230fbe8f6a2c854b |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
signal _NEW_LIGHT in _tnl_copy_to_current()
nl/t_vtx_api.c
|
ecd1743a0c88b7e574848c0cb100fdcd880979de |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In TEX instructions, use precomputed lambda only if using fragment.texcoord[k] to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise.
wrast/s_nvfragprog.c
|
35ee4affc5bd2c7be3005725ce74a016a3da8b59 |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
switch remaining drivers over to vbo
rivers/directfb/idirectfbgl_mesa.c
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_state.c
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
rivers/glide/fxdd.c
|
851d15ef3ae8e7f78f1d0ef1cf8a3ff6765354b0 |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
disable vtxfmt_a code, switch over to vbo
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_state.c
|
80c88304fc9d09531b2530b74973821e47b46753 |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
remove vtxfmt code, switch over to vbo
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/r200/r200_vtxfmt_x86.c
rivers/dri/r200/r200_vtxtmp_x86.S
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.h
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/radeon/radeon_vtxfmt_x86.c
rivers/dri/radeon/radeon_vtxtmp_x86.S
|
70dd0126bd25f2cc2fedae60281ab5c256cb8664 |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
pickup structs from vbo.h
nl/t_context.c
nl/t_context.h
|
1f07439fe8c6803f70a27a1cdb9d76360ae40571 |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
move public structure definitions to vbo.h
bo/vbo.h
bo/vbo_attrib.h
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_save.h
|
f2eb6434ab1cf72e938956c82d2f530368a6be4a |
31-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
cleanup code, compiles with vbo changes
rivers/dri/i965/Makefile
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_current.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_vtbl.c
|
256c96136c38f47824b5aaf584bc949788f913e7 |
31-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
For TEX instructions use lambda=0. When sampling from texture unit K we were using the partial derivatives of texcoord[K] but the coordinate used for texture sampling may be something totally different (and texcoord[K] might not be a real texture coord at all). Net result was a bogus LOD is sometimes used, often resulting in using the smallest mipmap level (a constant color). Just use zero for now (undef LAMBDA_ZERO to override). Plus, some additional debug code.
wrast/s_nvfragprog.c
|
b14bae846678b0d340af5b26c36e762817929d5d |
31-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix bug #8799. Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date.
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgastate.c
|
86a465412d5b305356460e778c29107722b93f0f |
30-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects. Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer.
rivers/dri/mga/mgastate.c
|
5af5260f3cc6642c16d6b32b3f42693ffd50374b |
30-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Get DRI drawable from framebuffer object. In the software rasterization fallbacks, get the __DRIdrawablePrivate pointer from the driRenderbuffer that is passed in. This eliminates the need for the mesa_drawable pointer in MGA context structure. This partially fixes bug #8799. wincopy no longer produces a black window for the destination window, but it does produce incorrect results if the destination window is resized.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaspan.c
|
a1a8a2c024efdc1df31a4f9f180341f0a77597c3 |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
oops, get.c is autogenerated
ain/get.c
ain/get_gen.py
|
fd2756006a0baf63f60548d8f509de5b9a143608 |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that our NV_vertex_program implementation has slightly incorrect aliasing behaviour. I think this is reasonable given the simplification and the fact that the mainstream ARB_vp continues to have the correct behaviour.
ain/api_noop.c
ain/context.c
ain/get.c
ain/mtypes.h
ain/state.c
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_draw.c
bo/vbo_save.c
bo/vbo_save_draw.c
|
e8abd098b36c30d76b4c396970fd793ae58e0702 |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove wakeup functions. This code is intended to be active all the time.
bo/vbo_context.c
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_save.c
bo/vbo_save.h
|
48f5deab94be832a782a440f55a7bc742d50a62f |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
switch several dri drivers over
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i915/i915_context.c
rivers/dri/i965/brw_context.h
rivers/dri/intel/intel_context.c
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
bo/vbo.h
bo/vbo_context.c
bo/vbo_context.h
|
99efde461d3b8615863bdb7308e05289e0db0422 |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
better handling of current attributes. Trivial dlist and varray tests work
akefile
ain/arrayobj.c
ain/enable.c
ain/mtypes.h
ources
nl/t_context.c
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_save_draw.c
|
efef291dc71eb57f90785a26957f4b3e01733156 |
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
checkpoint - remove dead files, otherwise untested
rivers/dri/i965/Makefile
rivers/dri/i965/brw_attrib.h
rivers/dri/i965/brw_attrib_tmp.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_exec.c
rivers/dri/i965/brw_exec.h
rivers/dri/i965/brw_exec_api.c
rivers/dri/i965/brw_exec_array.c
rivers/dri/i965/brw_exec_draw.c
rivers/dri/i965/brw_exec_eval.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_fallback.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_save.c
rivers/dri/i965/brw_save.h
rivers/dri/i965/brw_save_api.c
rivers/dri/i965/brw_save_draw.c
|
075fae52001cfd2f99c2c9310208a9a615316454 |
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
code tweaks, remove old comments
hader/nvvertexec.c
|
0f8405365f199b8d41974ac9cbe945f4dbf2c2bb |
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix _mesa_problem() text
wrast/s_nvfragprog.c
|
a23e668d40b10236fcf5ca83fdbda93ab36fa86f |
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
ain/mtypes.h
hader/nvvertexec.c
hader/nvvertexec.h
hader/program.c
nl/t_vb_program.c
|
0781339b395a9b2a89ff800eb827ed733f34a8a1 |
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove debug code
ain/texenvprogram.c
|
e998c346471142db91a1bcb6c61551b8247b87e7 |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rather than always allocating 100 instructions, put instructions into a temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions.
ain/texenvprogram.c
|
ebcedd2d8909cc00d8528d76d3a1990315f270ea |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New _mesa_exec_vertex_state_program() function. Start of some re-org.
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertexec.h
|
abb1430c79024198bdc9816465d3c8bc963adf8b |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix wrong inequality
hader/programopt.c
|
d6272e06172f7ac7a0d6e8062e8ffba33e1ab3ba |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change _mesa_init_instruction() to initialize an array of instructions.
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/program.c
hader/program_instruction.h
hader/programopt.c
|
efd95c10844df0c93ee3eab41259f719f55f171f |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Program instructions are initialized before parsing so no need to set Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%.
hader/arbprogparse.c
|
a3c86828edc971319455d16153ea1657585d863f |
29-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix compiler warning
ain/texcompress_s3tc.c
|
0a0fb5e0b3cfe61749af41d4200d42982b551cef |
29-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
switch over to vbo module
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
|
72b68455eb02460e2e9a64fff2448596a183923b |
29-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
remove this module
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
rray_cache/acache.h
rray_cache/descrip.mms
rray_cache/sources
|
b1f176039ae3690b38e3ccacb079b3d7c3e50402 |
29-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Changes for new vbo-building module. - Removed all the old immediate, array and display list code. - Remove references to the old array_cache module. - Added a _tnl_draw_prims() entrypoint. - Added a simplified data import facility for converting non-floating point data as required. Checkpoint commit - trivial/tri works.
nl/sources
nl/t_array_api.c
nl/t_array_api.h
nl/t_array_import.c
nl/t_array_import.h
nl/t_context.c
nl/t_context.h
nl/t_save_api.c
nl/t_save_api.h
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_eval.c
nl/t_vtx_exec.c
nl/t_vtx_generic.c
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
nl/tnl.h
|
fd12b37dbada6f945a94b93ecf332d0b6a8eef06 |
29-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Checkpoint of new vbo-building code. Currently builds regular arrays rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works.
bo/vbo_attrib.h
bo/vbo_attrib_tmp.h
bo/vbo_context.c
bo/vbo_context.h
bo/vbo_exec.c
bo/vbo_exec.h
bo/vbo_exec_api.c
bo/vbo_exec_array.c
bo/vbo_exec_draw.c
bo/vbo_exec_eval.c
bo/vbo_save.c
bo/vbo_save.h
bo/vbo_save_api.c
bo/vbo_save_draw.c
bo/vbo_save_loopback.c
|
a90ab5290c6364535ef1ba4f7c09065f177287e9 |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added PROGRAM_CONSTANT to get_register_pointer(). More DEBUG_FRAG code.
wrast/s_nvfragprog.c
|
8ed319796f35ccd82863a270704752555706f1e2 |
29-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
special case END in _mesa_print_instruction()
hader/program.c
|
f5eea0cc7a8c568b00035427294812712c6c6081 |
28-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement _mesa_append_fog_code() for fragment program fog options.
hader/programopt.c
hader/programopt.h
|
db5529573f40c5ad68d589ab6a5e4e47d6743b4c |
26-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
If DEBUG, check that all array indices really do fall in [start,end] in the DrawRangeElements() call. Warn the user if that's not true.
nl/t_array_api.c
|
b55a0ab7ab02be7d6de139d8180d5f073cd871e3 |
26-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove code for inserting mvp transform into position-invariant vertex progs and instead use _mesa_insert_mvp_code().
rivers/dri/r200/r200_vertprog.c
|
fe457474d4fe69a970e77471a7952575e57ce147 |
26-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Previously, if a fragment program referenced fragment.fogcoord but the program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly.
nl/t_context.c
|
e9b923182ed8738fe5eb8bea1d688a6198db346e |
25-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
change some bogus comments regarding the base e exponential function used for fog in vertex programs.
rivers/dri/r200/r200_vertprog.c
rivers/dri/r200/r200_vertprog.h
|
fc606f7db9072d4f40081aea8f92f1d4489a5115 |
25-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix (per-vertex) fog when using ARB_vp by incorporating fog factor computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r200/r200_vertprog.h
|
6340d6bf22ad0bfedf8565500336237a8da887f5 |
24-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLchan/GLubyte/
ain/pixel.c
|
59e1f3ddd8b1bff2c2e61b8b32a4444d082e1286 |
24-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace clean-up
ain/get.c
ain/get_gen.py
|
759facb4d87843f6368fad9c5f20a5b1b3d95055 |
23-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Emit cliprects in the userspace driver as required, rather than passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state.
rivers/dri/i965/brw_aub_playback.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_ioctl.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
b9786cfaae3bd58d8e487846cfa9c251e1246abd |
23-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted clean-ups
wrast/s_nvfragprog.c
|
49a5a09adaac457860a8abb9d7b86f317353a23c |
23-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't save color/z if fragment is killed
wrast/s_nvfragprog.c
|
a632128ffaeabba09135e8590ccd73d2f1063282 |
23-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweaks good for about 12% faster execution
wrast/s_nvfragprog.c
|
ec9bbac7c7f42261de9df6f4029d7e051ae9225c |
23-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence used var warnings
wrast/s_copypix.c
|
0b26e826bda0da7aeec9a79ee07fe21d54bb1263 |
22-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Color clamping fixes.
ain/blend.c
ain/blend.h
ain/light.c
ain/mtypes.h
wrast/s_readpix.c
wrast/s_span.c
|
919cd2c3ba39bf4d8d2ffcea0daec7bab8645d34 |
22-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move/improve comments, clean up code in a few places
wrast/s_atifragshader.c
|
ed324db249d068f14646eced55d106b5fe6b889c |
22-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix another logic error in computing deferredTexture
wrast/s_span.c
|
bb19e64d12eaf27e2adc3faac7e09555bb66d724 |
22-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
For deferredTexture, need to check if the fragment program/shader writes the fragment Z.
wrast/s_span.c
|
828d15a6e0907fe4bb7c564d453a2b1a05f109bc |
21-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move interpolate_varying() call
wrast/s_span.c
|
4676b6260f7e3c6144f4346c0660603a031b1834 |
21-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use params passed to Clear()
rivers/windows/gdi/wmesa.c
|
f614a6190562e550257afca0d04e3846648942e8 |
21-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move interpolate_texcoords() and interpolate_varying() calls into shade_texture_span(). Added some INLINE hints.
wrast/s_span.c
|
61c89be3135cedc795e48d36283769298e250837 |
20-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidate some code into shade_texture_span(). Clean up logic for deferred texturing/shading.
wrast/s_span.c
|
cd5a623386f55704e5f9ac492fe397d75ac03945 |
20-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Fixed/Int bug
wrast/s_alpha.c
|
7c760289371ce14228b1172195a07c2630ca6229 |
20-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove temp code
wrast/s_fog.c
|
464fcd0dd84cf4c705b992a087cdcb8b403eb8ef |
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New bin/minstall script - a minimal replacement for 'install'. Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
akefile
|
c351858de8e51fa4a6425cf176cc43689189f3ff |
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion
wrast/s_span.c
|
a79d4e75c3f1da65a6f4d4d8d450ad96fa98767d |
19-Oct-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix nonportable pointer+unsigned arithmetic. Use pointer+int.
hader/grammar/grammar.c
|
31293910b4e982f2ef54d79aff78f2f854121da1 |
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added clamp_colors(), updated assertions
wrast/s_span.c
|
ff07d6de4c1db68bae1f652ed8c6146400ddebae |
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org, doxygen comments
ain/macros.h
|
fee08575cdb2d10c3692eaafb81c5dab15b854e5 |
19-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed install filenames to libGL* and libOSMesa* so things work on Darwin where GL_LIB_NAME = libGL.dylib but the other library name is libGL.1.dylib Unlike other platforms, the version number is in the middle of the name, not at the end. See bug 8671
akefile
|
3beaff1e3cf227c493badfc55a69381c778b2ff7 |
18-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Enable GLX_SGI_make_current_read for radeon. Added code to track the drawable bound to the context for reading. In addition, when a drawable is initially bound (for reading or drawing) or when the size of the drawable changes, update the size of the framebuffer object that back the drawable (for software fallbacks). Deprecate the old GetBufferSize interface. Bump the driver date. These changes were tested with wincopy on both direct rendering and accelerated indirect rendering (AIGLX).
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
|
ec99e716a229e58233551d821418428cc1b90324 |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't use x/y/w/h params given to Clear().
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
446972bc2756cf9770a82f51aa0dc4f529c6cae5 |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Want to stop passing x/y/width/height to Clear() function. The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
rivers/dri/ffb/ffb_clear.c
rivers/dri/i810/i810ioctl.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mga/mgaioctl.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/s3v/s3v_state.c
rivers/dri/savage/savageioctl.c
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis_clear.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_ioctl.c
|
ccb64bbb2a32761efa076ebafa7ccdaf2d412b0e |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't pass x/y/width/height to ctx->Driver.Accum(). Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
ain/accum.c
ain/dd.h
wrast/s_accum.c
wrast/swrast.h
|
a1a0a29a5ad93be00989881055931e78941304a5 |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix broken line clipping. When both ends of the line were clipped, we were using the new v0 instead of the original v0 when computing the location of the second vertex. Thus, the second vertex's position was incorrect. Thanks to Heath Feather for finding a test case.
nl/t_vb_cliptmp.h
|
ff893a83f1a764ad4b093582bf28ff5e42860049 |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a dangerous use of ASSERT in an else-clause not enclosed in braces. We've been lucky if this hasn't been causing line rendering bugs.
nl/t_vb_cliptmp.h
|
c3caaa3dd45809e672177ab322445fe51d03af25 |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Always convert colors to float before running a fragment shader/program.
wrast/s_arbshader.c
wrast/s_atifragshader.c
wrast/s_nvfragprog.c
wrast/s_span.c
|
32c3243e4d8237ecfeccd5a554abefaa0679e94b |
18-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix fog color bug
wrast/s_fog.c
|
c2074645cd23e23ff86ed7f0a71845a3209f0bea |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move struct atifs_machine into s_atifragshader.c Add support for runtime colorbuffer types.
ain/mtypes.h
wrast/s_atifragshader.c
wrast/s_nvfragprog.c
|
e9d7190bb2b1bf3a057e27ecd7e79302360961a1 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Seperate interpolate_colors() and interpolate_specular(). Fix bugs in apply_aa_coverage().
wrast/s_span.c
|
b88af5b4681d2085cd784b930dc259b66a55347e |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
apply_aa_coverage() for ubyte/ushort/float
wrast/s_span.c
|
0c6c8d5f1c7bfbedc0acbf34a5a9701bdad29841 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new assertions - one of which is currently failing with arbfslight.c
hader/grammar/grammar.c
|
1c1c7fb3610026345e956ad7845e101802f72033 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove obsolete intelBufferSize(), bump driver date
rivers/dri/intel/intel_context.c
|
42b26f688d82b2023ea882bfa1fd13bb6548d73a |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove get_buffer_size() Always check window size in XMesaMakeCurrent() in case glViewport is not called.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
|
544b94e15617fb69f77ebd57b1be49aafe2f64e6 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of fixes/changes to select color depth at runtime.
rivers/osmesa/osmesa.c
|
55e42e5b7298bbf4c75f2472fc077743dd4d9b85 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if ctx->Driver.GetBufferSize==NULL and no-op
ain/buffers.c
ain/context.c
|
af52ff0c99faa88f2047c62bb5873ae9a427104d |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include x86-64.h to silence warning
86-64/x86-64.c
|
1e3223c02a2f6155beb5784cadbea1f46703829a |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix CHAN_BITS=32 issues. Save/restore array->ChanType in case colors are converted.
wrast/s_span.c
|
d40f20aebc6f9995b9fdb70cd5123b0c28d45589 |
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this may be temporary
rivers/dri/i915/i915_context.c
|
16345022de1f443c7746f9f735bb495415e7a5ff |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates to intelWindowMoved(): Only need to call _mesa_resize_framebuffer() when we've detected a window size change. Set the drawFb->Initalized flag to GL_TRUE to avoid obsolete Driver.GetBufferSize/ResizeBuffer calls in the Mesa code.
rivers/dri/intel/intel_context.c
|
7b1ff326071658d5bd6e7feb2ad78d0e0209211d |
16-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Track the currently bound read drawable and make sure its info is up to date.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
8c5ae809163c49cf3785edaee9af0f5b6cfe5f4b |
16-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix build when DEBUG is defined but DEBUG_MATH is not. A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined.
parc/sparc.c
86-64/x86-64.c
|
28081ae6c08378372651d4acdec48e5c88fc8cce |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/X86_SOURCES/ASM_SOURCES/ in ALL_SOURCES to try to fix make depend warnings (bug 8669)
ources
|
041d64812e4fa7a0444aa35c59d14ce85240b5de |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrast module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer.
ain/framebuffer.c
|
dc8a0d19368a235ebd0fe86ce7b7142dfa911dff |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some old code that could cause infinite recursion
rivers/x11/xm_buffer.c
|
80fcbca7dff099be352a9b6237e05a02e321ef26 |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
allow >10 mipmap levels (patch by Benno Schulenberg) (bug 3130)
rivers/dri/common/xmlpool/options.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_tex.c
|
cca1a27f7791a5b0be9f78391c968d817c308f08 |
16-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
regenerated to get DRI_CONF_EXCESS_MIPMAP()
rivers/dri/common/xmlpool/t_options.h
|
97f47f771a405377b94b4b139450a7bd2db0c827 |
15-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix handling of textures with a base internal format that does not have all four rgba values set for radeon and r200 (discovered with a modified glean pixelFormats test, noone ever noticed in over 2 years). For radeon, use hw format I8 as previously, and change tex env to make the correct default values appear for both GL_ALPHA and GL_LUMINANCE textures. For r200, which supports GL_LUMINANCE just fine, use the AL88 hw format for GL_ALPHA textures, since it seems like it's probably not worth the effort to fix up the texture environment (certainly complicated in case of ATI_fragment_shader programs).
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_texstate.c
|
4d4add0972d1c4eca3b62edb581fe65697b061ff |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added #if / #else / #endif around code related to framebuffer initialization to describe what should be changed in the drivers.
ain/context.c
|
606108ee4e3051e04c58dac90f1dc91ce369a3b0 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments, mark GetBufferSize() and ResizeBuffers() as obsolete
ain/buffers.c
ain/dd.h
|
694a5b81a7d51208ae4dce0b4d5c163123aec123 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up: s/intel->driDrawable/dPriv/
rivers/dri/intel/intel_context.c
|
a7a26503b67b8baa9df8b2bb194435d681559550 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove calls to _mesa_ResizeBuffersMESA() - generally replace with code to check the current window size, then call _mesa_resize_framebuffer().
rivers/allegro/amesa.c
rivers/directfb/idirectfbgl_mesa.c
rivers/fbdev/glfbdev.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/svga/svgamesa.c
|
a391384bad9e960989dc8c793386081afc55592c |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
rivers/dri/gamma/gamma_dd.c
rivers/dri/i810/i810state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_state.c
rivers/dri/s3v/s3v_dd.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_state.c
|
f0775c7fccac2b91200dd4537686fe5c9b61c6ab |
15-Oct-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Use endianness test function provided by mesa. Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
2b6d2e4dcbdc253e8148888d1a7e60d8466ba4e8 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines. This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/gamma/gamma_dd.c
rivers/dri/i810/i810context.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_dd.c
rivers/dri/mga/mgadd.c
rivers/dri/r128/r128_dd.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/s3v/s3v_dd.c
rivers/dri/savage/savagedd.c
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_context.c
|
b947377add2edb87fc78dcd853cdf00a2119bb3e |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
increate MaxTextureLevels to 11 (bug 3130)
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_tex.c
|
a20c0f293e23cf95befcabf316733de10f359b50 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if files exist before installing (Thierry Reding)
akefile
|
9cbe0e24ac3772ec5db303e532166351affc91c9 |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some code movement so that the gl_framebuffer is fully initialized before calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c
rivers/osmesa/osmesa.c
|
d21fa9cd79e4198b673c1453b8bc05749f8a73eb |
15-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Big re-org of buffer size management. All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
2b46f4b85330a579ae919f3f31af1550b5affdee |
14-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
cut and paste error: s/Width/Height/
wrast/s_copypix.c
|
2458aba0e9037eaef77dcfeee56d676520560d77 |
14-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
build fix: s/Table/TableUB/
rivers/dri/tdfx/tdfx_tex.c
|
63f6802077c2279e1b9551f9a628e6a313488f8d |
14-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted clean-ups
rivers/x11/xm_api.c
|
cb977ae5f4c9fab5753c04bfdd8736978ad4feee |
14-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
implement ARB_point_parameters and ARB_point_sprite on r200. The code is nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_screen.c
|
40b88fd1f3dedd0137b170a7272854e2bf4c3210 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove needless condition
ain/image.c
|
5b0edff412f45fe64bd42fb481adeda7d34b0fa8 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidate, move, fix code related to color index and stencil image transfer operations (shift, offset, table lookup, etc).
ain/image.c
ain/image.h
ain/pixel.c
ain/pixel.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
461651357713b1408400669d6a809f2e367182fe |
13-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix dumb build errors. I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h.
lapi/glapi.c
|
176501dfff14b5bec78af2b3487207d42c26d37a |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
ain/colortab.c
ain/convolve.c
ain/histogram.c
ain/image.c
ain/image.h
ain/texstore.c
wrast/s_readpix.c
|
8a9b5518fb946462fe55a62c1da1cab94d6d12cc |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/GLbitfield/
ain/image.c
ain/image.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
bf8647a58bcfcd2aacf91d2f7a4f1a55f1e1f138 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GL_FALSE/0x0/
ain/colortab.c
|
6b998c5584b7b4be84551a7811d04dcff8487cc9 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed obsolete _mesa_pack_rgba_span_chan()
ain/image.c
ain/image.h
|
c28d0f779aec13f937d452de01a1b34a2ec44de8 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glapi.h to fix broken build
lapi/glX_proto_send.py
|
a2c50b0f4ad16855cf8a2ff2ab4029342f4297dd |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Upload of interleaved arrays currently assumes that position is the first element in the interleaved group. Add a test to catch cases where this isn't true and use per-array uploads instead. Fixes compiz glitches on x64.
rivers/dri/i965/brw_draw_upload.c
|
fd6341e57494e80f02aaf69461a7169e9048c39f |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure instructions are zero'd out before use.
rivers/dri/i965/brw_vs_tnl.c
|
e595ce79d6b917f7106f3b340795bd507e2625e8 |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use unsigned long batchbuffer offset, fixes x64 warnings.
rivers/dri/i965/intel_batchbuffer.h
|
b2367157698c561d9cd7da56afdbe97c177b6d32 |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix printf warning.
rivers/dri/intel/intel_screen.c
|
0dceffce3329be61624922f70ddc1a66296e9634 |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use unsigned long cast for checking pointer alignment, fixes x64 warnings.
rivers/dri/i965/intel_context.h
|
f06b9e4a8d2a5b95cc3c19df564d7a53723ced76 |
13-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use mesa function to get opcode name rather than an internal table.
rivers/dri/i965/brw_wm_debug.c
|
201e6b9b753ea9cc5432c1d577231223ded7951c |
13-Oct-2006 |
Michal Krol <mjkrol@gmail.org> |
Indent and cosmetic changes.
hader/shaderobjects_3dlabs.c
hader/slang/slang_analyse.c
hader/slang/slang_link.c
hader/slang/slang_link.h
|
e5a6fcc345867b550a159a7d94912a81e618279c |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Revamp color table code. Always store all color tables as both float and ubyte.
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_state.c
ain/colortab.c
ain/colortab.h
ain/mtypes.h
ain/pixel.c
ain/pixel.h
ain/texformat_tmp.h
wrast/s_texcombine.c
|
e392c92250bf91c7aaaeb78e7ec598f86f2a1d6d |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
adjust_colors() function replaces old _mesa_chan_to_float_span() function.
wrast/s_readpix.c
|
0bfc56d7d36ddc86fdf7d5dad060fdf90f4bdbe9 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()
wrast/s_drawpix.c
|
5bc33fe6f1c66ff6e3d41909847cb96ee45d78f3 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()
ain/pixel.c
ain/pixel.h
|
556c2fa3a33001912c18b83893d513e4740fb67f |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_map_ci_to_rgba_chan() no longer used
ain/pixel.c
ain/pixel.h
|
76e778dce59aa6f290db50242df945943fc47b05 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of changes to support runtime renderbuffer depths. _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
wrast/s_accum.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_imaging.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_texstore.c
|
4bb9f4115c4b1930a140da78feff953e80f8a4f5 |
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use temp storage in _mesa_convert_colors() when possible
ain/image.c
|
57d719afb1663da1c0b8272d01036be6816e4402 |
12-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some debug code invalidated by prev check-in
lapi/glapi.c
|
f3f51bc844c8749250724d164722402cb9a07dc7 |
12-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix bug #4681. glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
rivers/dri/common/extension_helper.h
lapi/Makefile
lapi/dispatch.h
lapi/glX_XML.py
lapi/glX_proto_recv.py
lapi/glX_proto_send.py
lapi/glX_server_table.py
lapi/gl_API.xml
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_procs.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/dlist.c
ain/state.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
8a5871a98c23ce1a1d893b681f59dc8c42228dd1 |
12-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_zoom.c
wrast/s_zoom.h
|
55fa6a2fdbc9108f2d435b70cefb58e77bba903a |
12-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
rewrite/simplify the fast_draw_pixels() function
wrast/s_drawpix.c
|
f971e24cf0341dd2779196a0836327b74fc82336 |
12-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_convert_colors(), update some assertions
wrast/s_span.c
|
32a966dad9c5c6309adafcb58050cd0f70c32bde |
12-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_convert_colors(). _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
ain/image.c
ain/image.h
|
86f0e0b9cc5dd5a06f0571e864e513e82aab3e80 |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
support for runtime renderbuffer depths
wrast/s_zoom.c
|
94408682704b59af657f8849abc192ababccc44f |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer, not a user-created FBO.
rivers/x11/xm_dd.c
|
c364c57a1cfd2ab8e6f7f86f9b8cebb2b5d1a89b |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added shaderobjects_3dlabs.c
hader/sources
|
bb252d696f24893b209eb4204892a18bdf765b43 |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove 3dlabs.c
hader/sources
|
ed52be8c3ffbe439f73d400ae608d5699f2d2a5f |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
sources for X.org xserver build
ain/sources
|
d3112d36d7bf06920d7bb4e5e76f2c82e65e7641 |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
List of source (.c) files in each directory. To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
rray_cache/sources
rivers/common/sources
rivers/x11/sources
lapi/sources
ath/sources
hader/grammar/sources
hader/slang/sources
hader/sources
wrast/sources
wrast_setup/sources
nl/sources
|
81968ec49d9e06be0e095fa0084aa61b68b23d75 |
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
a step toward moving run-time vertex program state out of GLcontext
ain/mtypes.h
hader/nvprogram.c
hader/nvvertexec.c
hader/program.c
nl/t_vb_program.c
|
39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 |
10-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the fp_machine struct into s_nvfragmprog.c since (except for program debug) it's only used there.
rivers/common/driverfuncs.c
ain/dd.h
ain/mtypes.h
hader/program.c
wrast/s_nvfragprog.c
wrast/swrast.h
|
97a659337e6effe439434258350498311052f4af |
10-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/GLbitfield/
hader/nvvertparse.c
|
fe6947002f7d24e88286f19e05510b199e6990b3 |
10-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
If program is position invariant, set VERT_BIT_POS in InputsRead field. Fixes broken "OPTION NV_position_invariant".
hader/nvvertparse.c
|
d886423b3c0b800656ba5d4c6480bba90f8e5981 |
10-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the mesa-provided texenv program rather than rolling our own. Turn on texture crossbar support.
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_vtbl.c
|
b8f26126e2874a00321af084bc2cdb486a62aa8f |
09-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Updates for XCB. Bug 8560.
lapi/glX_proto_send.py
|
fa65447d8c3aa4c5e418c567a648dccacfbde0da |
07-Oct-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
do not import arrays for generic arb attribs if the array is not enabled (same as for generic attribs for nv vp is already done). Since the requested stride is 16, otherwise the code would end up doing lots of unnecessary import work (in doom3, trans_4_GLfloat_4f_raw caused by that was by far the single most time-consuming function in the r200 driver, not importing the disabled arrays caused the cpu time spent in the driver to drop from 45% to 30%, though real-world gain was pretty minimal as it's not really cpu bound here in the first place).
nl/t_array_import.c
|
524bf7bbcf75bc4887dbc0f2f87ed79a8c44ab20 |
06-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
rewrite clear_rgba_buffer_with_masking()
wrast/s_buffers.c
|
e18d0f82b6271103e292fde5bab6fceccb96f90a |
06-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
deal with union/aliasing in convert_color_type()
wrast/s_span.c
|
6e138dfa361c33b8e0adcf1cafa9781fb53e219d |
06-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
rewrite of read_fast_rgba_pixels()
wrast/s_readpix.c
|
fcb48e34229eba9db6835c24fcf8f8fde91b446a |
05-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
missing file
rivers/dri/i965/intel_structs.h
|
68da677ae29c0c38ca1bce1ce78087b9c7cf0e1a |
05-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Accelerate glBitmap with a color expand blit. Nice speedup for demos like 'fire' that display a help message or fps number this way.
rivers/dri/i965/Makefile
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_bitmap.c
rivers/dri/intel/intel_pixel_copy.c
|
1eca12a7d9f26ab5b68c5ba665c81c8aadec34fb |
05-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Quieten debug message.
rivers/dri/intel/intel_screen.c
|
496f9ddf351bd91ea17c257f94e3504e87992202 |
05-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
eliminate rhw divide under some circumstances
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_emit.c
|
e7b0ec9ae79d4ec4aba402b9124fde55d914da92 |
05-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Quieten debug message.
rivers/dri/i965/brw_wm_fp.c
|
6921063520006496544b41c916ac82c3c2a87548 |
05-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Changes to generated code caused by the previous commits.
lapi/dispatch.h
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
491a16fb0f753369931cac51762b7d0b4462486b |
04-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix the ordering of extensions.
lapi/gl_API.xml
|
990c8a9df9f7b7081b0406fcffcae6f37c1d39e7 |
04-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Keep indentation consistent with indent. Remove code in the Python scripts that keeps the indentation of the generated code consistent for all cases. Instead, pass the generated code through the indent command. Unix tools for the win!
lapi/Makefile
lapi/glX_proto_send.py
lapi/glX_proto_size.py
|
eaeaaf6205b304be290f2f869b3d224c318be749 |
04-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Divide categories into four groups as they are processed from the XML. Add an iterator to iterate over the categories in order, starting with "core" versions, then ARB extensions, then numbered non-ARB extensions, and finally unnumbered extensions. Use the new iterator in a couple places to ensure that output that is grouped by catgory is generated in a consistent order. More changes to the scripts are coming. The generated files will be committed one time after all the changes are in. Too bad we're not using GIT, or this would be easy. :(
lapi/glX_proto_send.py
lapi/gl_XML.py
|
553b8334bbe6b0af9496722f05cb8fc2e4d43a01 |
04-Oct-2006 |
Ian Romanick <idr@us.ibm.com> |
Add utility method client_supported_for_indirect. The new method client_supported_for_indirect is used to determine whether or not the client-side library supports the function for indirect rendering. The may or may not have associated protocol that needs to be generated (e.g., glVertexPointer does not, but glVertex3fv does).
lapi/glX_XML.py
|
5ed4e35ba5d65c5b1fff8b2da0270b74ba1a065e |
04-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _swrast_span_default_color() in the disabled code too
wrast/s_bitmap.c
|
9b507639ab31b2d611344f061614e71d47c9a84c |
04-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved comments
wrast/s_bitmap.c
|
da62bcecfb92978d7243928cfa0fb076b3de762d |
04-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor formatting fix
ain/teximage.c
|
3fd5aa88eaa6584c9d7292dd0d98499ff1055055 |
02-Oct-2006 |
Felix Kuehling <fxkuehl@gmx.de> |
Bugzilla 6242: [mach64] Use private DMA buffers (only) https://bugs.freedesktop.org/show_bug.cgi?id=6242 Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271 Update to new mach64 DRM 2.0.0 with private DMA buffers. Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to MACH64_TIMEOUT times when EAGAIN is returned. Also handle EAGAIN in mach64FlushVerticesLocked.
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_texmem.c
|
346a239f0144b5ba7ebad39b70ee7e125264cd6e |
02-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
return null if no context
ain/getstring.c
|
cdb27e8242215271364602995d85607cfc06d441 |
01-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New SWspan and SWspanarrays typedefs.
wrast/s_aaline.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_arbshader.c
wrast/s_arbshader.h
wrast/s_atifragshader.c
wrast/s_atifragshader.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_nvfragprog.c
wrast/s_nvfragprog.h
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texcombine.c
wrast/s_texcombine.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
|
46929c93d8c3b1a9682c24b3f3f6d6ed1878e422 |
29-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
i915: Fix wait for scheduled swap on secondary display.
rivers/dri/i915/intel_context.h
|
7fa99ed3d825707fd0a6abdd690abb9e6af5ba9d |
29-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated protos for blend funcs
86/mmx.h
|
d92da49bae30be612efb6ea20bdfda232ee3d01d |
29-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
more changes for runtime renderbuffer depths
wrast/s_blend.c
wrast/s_blend.h
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
|
0ce6a2935c85118ca20f5dfc5911a39c481dc791 |
29-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include mipmap.h
ain/texcompress_fxt1.c
|
24edd9015951dd41898902b6c3973fe605e5871a |
29-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move mipmap generation functions, texture scaling functions into new mipmap.c file.
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/descrip.mms
ain/fbobject.c
ain/mipmap.c
ain/mipmap.h
ain/texcompress.c
ain/texstore.c
ain/texstore.h
ources
wrast/s_texstore.c
|
af866291da0856482bd10d1c8e7ee907af2a0d39 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Synchronize drawable to the pipe where the bigger part can be visible. This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
rivers/dri/intel/intel_context.c
|
4abf2706e938a2c5d68c66985140bcad360eba3c |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Add new I830 SAREA fields.
rivers/dri/i915/server/i830_common.h
|
ebc879014c8b3cba1db69f2d8f9006cc031ba350 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Add helper function that returns the current vblank sequence of a drawable.
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
|
638ece315f4ee7be7f0fe0a0acd2550b4ccb8a7d |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Add helper function to calculate the area of the intersection of two rectangles.
rivers/dri/common/utils.c
rivers/dri/common/utils.h
|
941c8667394a3ea5b4793d988796e0f397390626 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.
rivers/dri/intel/intel_batchbuffer.c
|
c2f1a1857e553f4d11fc0715bb586f69ac147df0 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
i915: Attempt to schedule buffer swap on target vertical blank when possible. This has some advantages over the traditional way of first waiting for the target vertical blank and then emitting the buffer swap, e.g. * glXSwapBuffers returns immediately, only the next time the driver needs the hardware lock will it block until the target vertical blank. This should allow applications that don't intermix rendering and other processing to start processing for the next frame right away. * It's less likely to produce tearing.
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_batchbuffer.c
|
7585fc989de1eabe7b978226b8750f912f06778c |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Add driGetVBlankInterval() helper function. This can be used by drivers to determine the current swap interval of a drawable.
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
|
7539fde334d3164bc9d33cdabac9c5741d61d012 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
driWaitForVBlank: Add support for secondary vertical blank.
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
|
6a2f5c6752213cea67b142727eba9e0900952346 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Some restructuring of the driWaitForVBlank() code. Also some minor fixes for detecting when the deadline is met or missed, in particular wrt wraparounds of the sequence number.
rivers/dri/common/vblank.c
|
24bb3b399847bdb11f0008820c2c1bad1e21d499 |
28-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Make driDrawableInitVBlank() initialize the sequence number. This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/unichrome/via_context.c
|
3d7ee324adca4f4c20a793d5d01921c6e757b681 |
27-Sep-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Added function convertStringForXCB. Deals with the recent XCB naming convention switch. Updated the generated code to use the new XCB naming scheme.
lapi/glX_proto_send.py
|
9e82552c30298bb77764f2d7bdf4fbb18008978b |
26-Sep-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Remove r200 dependency Remove r200 dependency from the code as r200 merged driver never worked (right ?) and we want to clean the code.
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_state.c
|
c67d8678dd50f74906d3eb666fdd76144d1d293f |
26-Sep-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Remove r200 dependency. Remove r200*.h files dependency.
rivers/dri/r300/radeon_context.c
|
27f660c16407d08e06fd0cc97bb247b41ae76f3b |
26-Sep-2006 |
Michal Krol <mjkrol@gmail.org> |
Add GLSL preprocessor.
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
4303d227396ab3a6f70c6c8318dcb9b30ca30755 |
26-Sep-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix Windows newlines.
hader/slang/library/slang_pp_directives.syn
hader/slang/library/slang_pp_directives_syn.h
hader/slang/library/slang_pp_expression.syn
hader/slang/library/slang_pp_expression_syn.h
|
16647b739baf9701e3d037fc7030f45e7bde5c7e |
26-Sep-2006 |
Michal Krol <mjkrol@gmail.org> |
Add syntax files for expression and directive preprocessor. Fix syntax errors in builtin library 1.2 sources. All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
hader/slang/library/Makefile
hader/slang/library/gc_to_bin.c
hader/slang/library/slang_builtin_120_common.gc
hader/slang/library/slang_pp_directives.syn
hader/slang/library/slang_pp_directives_syn.h
hader/slang/library/slang_pp_expression.syn
hader/slang/library/slang_pp_expression_syn.h
hader/slang/library/slang_pp_version.syn
hader/slang/library/slang_shader_syn.h
|
a50b7dbc3ba1db8c92b4bbb4f7f06de8d6c039c4 |
26-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for supporting different renderbuffer color depths at runtime.
wrast/s_alpha.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_context.h
wrast/s_fog.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_span.c
wrast/s_span.h
wrast/s_zoom.c
|
df8632ebd87219c809810d993f56fef1e6853a25 |
25-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Fix and re-enable swizzling paths for big endian platforms.
ain/texstore.c
|
cbdd7e1094e55b4c3c8737141845e749e442471f |
25-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
bring in active_sz mechanism from i965 driver. Fixes bug 8410
nl/t_context.h
nl/t_vtx_api.c
|
f1945796ed5a2d15a8c3694019e6e5e1ab58db3e |
25-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixup one place where attrsz was being used instead of active_sz
rivers/dri/i965/brw_exec_api.c
|
f515c78a2320369ead087c4e0efd583f17b4b78b |
24-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change logicop, blend, masking functions to use the colors/indexes in the sw_span object, rather than an explicit parameter.
wrast/s_accum.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_span.c
|
ba001224a18fa12792696ef393e708e90092127e |
24-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().
wrast/s_span.c
|
0785b6052ae902bc9075a476b46ad82bbce3e60c |
24-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use span.array->rgba instead of local var in accum_return()
wrast/s_accum.c
|
f11508c29f4e2cbe50c5580e054342a4c3ddb4c0 |
24-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use span.arrays for color/indexes instead of a local var when doing masked clears
wrast/s_buffers.c
|
a05db7f505caef75296170bcb6884ba287b1ab25 |
24-Sep-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Kill all the current shader code.
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv40_reg.h
rivers/dri/nouveau/nv40_vtxprog.c
|
7b803d649a02fa071b6f82f28e2308e7845d11c4 |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix the broken fallback string/debug stuff
rivers/dri/i915/intel_tris.c
|
5174e7c18162d54bfa5985ce66dcbc5c2150ed7d |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove extra indentation
rivers/dri/i915/intel_tris.c
|
43715c711d2c1d1e7624cd7c9c8a44b8866510fd |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
wrast/s_accum.c
wrast/s_buffers.c
wrast/s_masking.c
wrast/s_masking.h
|
9f819dc0145aabe18717dcd1de6e83e62bb8b19a |
22-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
rivers/dri/r200/r200_vertprog.c
|
9c5d75e592edd15b737294853fc247b66d74619e |
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Explicit test for +ve pitches in intelEmitCopyBlit()
rivers/dri/intel/intel_blit.c
|
8a0fb128c30f7f8defcdd7f98b1ded47c83355f9 |
22-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
don't skip user clip plane clipping when the current vertex program is position invariant.
nl/t_vb_arbprogram.c
|
7e9799ac3d7f3b1b90f098420d413be95916c541 |
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use _Enabled rather than _Active when checking for fragment shaders
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
|
df058298e1570eea8712f9bb051f674fab2eaf24 |
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Flush driver, not just tnl module.
ain/fbobject.c
|
f9bfdb1ce47380a23218a8253ac1dde923ee13fc |
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
resize buffers in MakeCurrent
ain/buffers.c
ain/buffers.h
ain/context.c
|
f118b9b40d5928c36fba9759e508d8f84fc2909d |
22-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove unused variable.
ain/mm.c
|
57d705d5a939180bd992cad2f24d95c329b5b28c |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove rgb[] array from span_arrays_struct - was only used in a few places
wrast/s_context.h
wrast/s_drawpix.c
wrast/s_triangle.c
|
c7d0fe1c4bbd504e8fa043145f38c7b1876ff8bb |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, indentation fixes
hader/shaderobjects_3dlabs.c
|
4af404038c43d05de4d8a640cd54461c5df21db5 |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.5.2
ain/version.h
|
76785cb70af51c99fd74d897faa2771d2e2702f5 |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move a conditional into an assertion
ain/bufferobj.c
|
248200737398a7d6403a23930a6c9d93db06b942 |
22-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace assert(0) with error report, improved comments, etc
ain/texstore.c
|
bad5cf056ac653e97d96114d42b874f15a3c2ec8 |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndian until someone can figure out whats wrong there.
ain/texstore.c
|
184b5d89380e18008d64adfe1756dca9736426f2 |
21-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _mesa_little_endian() function
ain/texstore.c
|
32e0efbdbeb06170befc63af685d67711acc6c81 |
21-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_little_endian()
ain/imports.h
|
167ca59fe893a62e23e799f51608d18847dd590a |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix the dstMap for rgb888 and bgr888 texture formats, which are the opposite to what you'd naively expect.
ain/texstore.c
|
cac5974bf9385f8c9bd46f9c90bfa8144f0c33d6 |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Do a better job of choosing texture formats to avoid image conversions.
rivers/dri/i965/brw_tex.c
|
afd244d4e8dc36895676c1b3bdbdba59f03a6962 |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
use the requested internal texture format where possible
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_wm_surface_state.c
|
76dd385fed7fc9b5303fb0b7707a49c5500d7748 |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Catch a couple of cases where we would have to delete and recreate the miptree object.
rivers/dri/intel/intel_tex_validate.c
|
3974cc8c09a00274f87c418cb295ed0cdd7c9d1e |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Deal with the overloading of _mesa_texstore_rgba, which is actually used to store all sorts of formats. Software mesa fails the glean pixelFormats test, but it appears to be failing even with the swizzle code disabled??
ain/texstore.c
|
3aea82b396387bf3835f91bcc9121e02274c4c04 |
21-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Extend swizzle support to all remaining source formats and texture destination formats.
ain/texstore.c
|
62d4dfbfe3f7c452f3c182bfdb9270a2f20e3f2d |
20-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
try to use a 8888 texture format which will result in only a memcopy in mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
46c3bd29be4970a8b0c1c358aae0f1d7c05bc9f4 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Support both big and little endian, more source types and more destination formats through the swizzle path. It would be great to see this tested on eg, PPC machines...
ain/texstore.c
|
528de982f88bfc025425ce1188781a34f4d84f1f |
20-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
ain/texstore.c
|
2e5c686c2b6f356895f33b2815e41386946ab55a |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix various typos to pass glean pixelFormats test.
ain/texstore.c
|
fce0d13b4fff04de50fd91a8f4dfdc248b6262e0 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Enhance compute_component_mapping() to convert to and from any of the color base formats.
ain/texstore.c
|
4f17378ec32844a483c45252ebd76fa892b8aca7 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a comment about the interactions of negative pitches, overlapping blits and the different ways of specifying a blit on this hardware.
rivers/dri/intel/intel_blit.c
|
f1d6ad6fe2e7813fcb236d63ccddfdf58f8c2f37 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
remove some dead code
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_state.c
|
b5d0f6c17f637e9926813bbc9f4fa241a5f876dc |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some warnings
rivers/dri/intel/intel_span.c
|
85b6d0c4df5358579dafcd3ddf5b1ab60bace38d |
20-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix mixed texgen/non-texgen with texgen modes requiring plane parameters (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break).
rivers/dri/r200/r200_texstate.c
|
e38114a5e4492684333251eb22bc60ee1038de55 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Support ARB_texture_rectangle.
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/intel/intel_context.c
|
b35121d54df4bb8700c4135203162c1d79ca637d |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
1) Add a new flag in the sarea (coopting the unused texAge value) to identify context switches between members of a share group - ie. multiple contexts in a single application, possibly on different threads. In this case the contexts share a bufmgr instance and there is no need to evict textures - so don't. 2) Use a new flag 'need_flush' to ensure hardware rendering is flushed prior to starting a software fallback.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_span.c
|
3a5319293c9210ea3c0c9d84604fa0720a96f0e8 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Broadwater seems to prefer this style of blitting.
rivers/dri/intel/intel_blit.c
|
d41d29b8bde9bb9c277424a43d0b80838edfe254 |
20-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
make current GLX context per-thread
rivers/x11/glxapi.c
|
0c54e47c0e93f725b8bc028b0d4614011dbe3fef |
20-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a memleak in DestroyContext()
rivers/x11/fakeglx.c
|
83c3f9658d00e9ede22461b97484e629714a80f9 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
add accelerated glCopyPixels path
rivers/dri/i965/Makefile
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel_copy.c
|
187f2cfb4ace79fabc994f4ce2753db5b11528eb |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a new internal program parameter value STATE_TEXRECT_SCALE which provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing.
hader/program.c
hader/program.h
|
0c9259f3b95615ceda134bd7074d871cd0186c89 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA conversions, ensuring that the final A value is 0xff in those cases where we use a RGBA hardware texture format to store RGB textures. Fix a couple of cases where hardwired texture conversions were ignoring this restriction.
ain/texstore.c
|
5658810660aabc6348ae1b14eccbc8a88ce679f0 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Export _mesa_print_alu_instruction() to allow drivers to roll their own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs().
hader/program.c
hader/program.h
|
cb54c056a6d46d03bfa0c4927f5ac8843feab8cd |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
restore debug output after brw_wm_fp compilation stage
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_fp.c
|
285801a9eda72310aa34e39c82beb57ec5e752d3 |
20-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.
rivers/dri/i965/brw_draw.c
|
c42afefda146f29b93b21139ecbd436fee4931c4 |
19-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
change make depend output redirection to 2>&1 (bug 8344)
rivers/dri/Makefile.template
|
876b41bc03c9a92263b824378fc2191f85e0a403 |
18-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for n <= 1 in compute_min_mag_ranges(), bug 8320
wrast/s_texfilter.c
|
f7da4e687c4ed81495b532f3a43e0efdc32fea37 |
18-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
set lambda to zero for textured points (bug 8320)
wrast/s_pointtemp.h
|
7d907ef69c3cbd6cd0c49f454bc933bc9c343d31 |
17-Sep-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Some small changes
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_ioctl.c
rivers/dri/nouveau/nouveau_lock.c
|
473a38622e46d46b74d7426d0a2f4b60f4a1d5d4 |
17-Sep-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Rename nouveau_tris.* to nouveau_swtcl.*
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_ioctl.c
rivers/dri/nouveau/nouveau_ioctl.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_swtcl.c
rivers/dri/nouveau/nouveau_swtcl.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nouveau_tris.h
rivers/dri/nouveau/nv10_swtcl.c
|
c67f54552077b780df574cbcdea70b2cc37076ef |
17-Sep-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Small changes
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nv10_swtcl.c
|
e324c52237fd1184a1f8436c8735cdd9ade5e067 |
17-Sep-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Make nouveau actually compile
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv10_swtcl.h
|
908388b11841c50c94c1c746819276809a545a32 |
17-Sep-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Some work towards making the nv10 swtcl compile
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv10_swtcl.c
|
a3b99fcb56ef2ef0de8eae640c85184aacab9a5b |
14-Sep-2006 |
Ian Romanick <idr@us.ibm.com> |
Use correct opcodes for GLX_EXT_texture_from_pixmap. Set the correct opcodes for GLX_EXT_texture_from_pixmap functions. Changes to the glproto package and the core X server are also required.
lapi/glX_API.xml
|
3dcf23171dab87f02f7692e5c1e63575cb0dfef1 |
14-Sep-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Fallback if ColorLogicOp is enabled. Cleanup a bit the fallback function.
rivers/dri/r300/r300_render.c
|
8c9366a807b1b61e622831580bfbdc356af6a2af |
14-Sep-2006 |
Michel Dänzer <michel@daenzer.net> |
Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.
rivers/dri/r300/r300_maos.c
|
657f738ea2fc6c758de9ad43e6d159972ca8ecef |
14-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
VS nr of urb entries is constrained to be one of a fixed set of values, specifically {8,16,32}.
rivers/dri/i965/brw_urb.c
|
6babf624b72a34b7be78bbc896bd241db98deb2e |
14-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
always use argb8888 instead of rgba8888, this is far more likely to hit a faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
rivers/dri/radeon/radeon_tex.c
|
2e2a9813355993ba79eeb8070391e45aabb84f94 |
14-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888
ain/texstore.c
|
99e0236046436fba25afb60632a76ad9cdfbbc9a |
14-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Always mark tex state atom as dirty when the texture image is dirty, this ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
|
43aa03408497d653b7716b2b0fac116dc03e7e6e |
14-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
wrast/s_readpix.c
|
888b1a9166abfb1b2873cf7c1eb2daf45a26c84f |
14-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
don't use derived value _ColorLogicOpEnabled as it's not current by the time we call the blend/logic op functions. Fixes glean logicOp test on r200.
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
fd2e402359e39d2afb9dcce9c64fe09906c4a877 |
13-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)
ain/get.c
ain/get_gen.py
|
bd5331f9e86bdb112624ac30bf6b843675a5830c |
13-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
just comments and const qualifiers
nl/t_vb_arbprogram.c
|
ac1d7370a715f89448498b13c7279df6cb54b1e9 |
13-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix broken do_EXP()
nl/t_vb_arbprogram.c
|
cb08dcbbf29dfa82128c8302f7aa69e90478a5ea |
13-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_texstate.c
|
87d6028f28d35ae7f88a606c8119be627eb6599a |
13-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
make sure we upload the new vertex program if the program string changes.
rivers/dri/r200/r200_vertprog.c
|
25d59d296223fcc44723aaf7005927fcd39eb390 |
13-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
make triangle smoothing a sw fallback (Martign van Oosterhout)
rivers/dri/r128/r128_tris.c
|
323414940fc42760e2af3dd42a061c8c696cb7e9 |
12-Sep-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Fix compilation warning.
rivers/dri/r300/r300_emit.h
|
6a65e6db3d9a64cd2b233155a05074a3eb5c1975 |
12-Sep-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Removing some of r200 dependency, cleaning up code a bit, and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_state.c
|
b1cb39d8bdb6707be2e44d38c52f44515bcbf16e |
12-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
quieten debug
rivers/dri/i965/brw_draw.c
rivers/dri/i965/bufmgr_fake.c
|
16a22a5f4a9e0497164ef0fddcb4fe9ba1f6756e |
12-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Potential fix for doom3 lockups. Seems that there is a conflict between the vertex cache, the vertex shader and the clipping stages, all of which are competitors for URB entries assigned to the VS unit. This change reduces the maximum number of clip and VS threads by enough to ensure that they cannot consume all the available URB entries, and then reduces the number somewhat more up to an arbitary amount I discovered by trial and error. Unfortunately trial and error solutions don't inspire total confidence...
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_vs_state.c
|
72e810db9db663dd3ff5f746d942423d87928e86 |
12-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Disassemble active program when DEBUG_VS is set.
rivers/dri/i965/brw_vs_emit.c
|
7b8c73460f670fd18aa4a1fd4729d683b92b6c60 |
12-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Add code to tweak aubfile state and primitives on replay.
rivers/dri/i965/brw_aub_playback.c
|
e1ae10db2c211d33959f74d8c5c3faeec37fbccf |
12-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Encode a unique id in the aub header date fields.
rivers/dri/i965/brw_aub.c
|
31a66ada72e5d9eb728f5149b72121bb04776016 |
11-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
undo some accidental changes in _mesa_is_legal_format_and_type()
ain/image.c
|
02aa5fba0375a6013cc7cbaeb4883cc1263bbef4 |
11-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
init accum buffer fields in _mesa_update_framebuffer_visual()
ain/framebuffer.c
|
25847f2b5b50d9bbd58729e28e4a3032972e6c0c |
10-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove code to deal with non-normalized texture coordinates for tex rect targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_texstate.c
|
cb535550588852175f22fd17ad080bc213021881 |
10-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
ain/image.c
|
ef8244df1a195f227b1cdf2f944b7fd7a9917adf |
10-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel
rivers/x11/xm_dd.c
|
799896244439c586b9610c7eedfef715f652d51b |
10-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv conversion appears only to work on first unit.
rivers/dri/radeon/radeon_texstate.c
|
ae481e1560d0c99b6fb2c4b240f9b99dafd9c4b1 |
09-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
oops, time to go to bed
rivers/dri/nouveau/nv10_swtcl.c
|
ddaf3060fa5105dd9c769086a4bbfdb2488ae86b |
09-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
nv10: vertex attribute output format
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv10_swtcl.c
|
cdd433b29be9ad39b0c2e69d76d2de51f29eba2b |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
more macros, still missing the alloc_verts one
rivers/dri/nouveau/nv10_swtcl.c
|
1961611247313603f72315285be91c6b97df7e03 |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
reimport sw stuff
rivers/dri/nouveau/nv10_swtcl.c
|
7a968481a00216e07d9a7d6400de147ddab66efd |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
render_primitive macro
rivers/dri/nouveau/nv10_swtcl.c
|
07d4c63ddc39a41c1048bd92c41b22b8c11712f3 |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
vert_copy_spec macro
rivers/dri/nouveau/nv10_swtcl.c
|
ad0f65537695492a6651857d59d7bad27bae6c8b |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
vert_copy_rgba macro
rivers/dri/nouveau/nv10_swtcl.c
|
6f0388ec71aaab8673fe2facf6811259a9787797 |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
basic primitives
rivers/dri/nouveau/nv10_swtcl.c
|
179c1013d2a8aa83e6bd716a791930863604c46b |
08-Sep-2006 |
Patrice Mandin <pmandin@freedesktop.org> |
Remove useless reference to fifo_num field
rivers/dri/nouveau/nouveau_ioctl.c
|
02df36f394da4f699b4841c279a6b573fcb7c32b |
08-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Basic facility for playing back captured aubfiles. Requires a small hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_aub.c
rivers/dri/i965/brw_aub.h
rivers/dri/i965/brw_aub_playback.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_draw.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
|
a5e73e68878ebed7347532285019befc8c7b1106 |
08-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
cause a vtxfmt fallback directly when hitting NewList for radeon and r200 drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure.
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.c
|
3e05902d304e71493d05edef4c31c6ed1a22bf17 |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Consistent return values from the bm* functions. Get aubfile generation working again.
rivers/dri/i965/brw_aub.c
rivers/dri/i965/brw_aub.h
rivers/dri/i965/brw_context.c
rivers/dri/i965/bufmgr_fake.c
rivers/dri/intel/intel_batchbuffer.c
|
493b2ddecb47fdacc4b73d9c9a3ba2e46489105f |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Cope with memory pool fragmentation by allowing a second attempt at rendering operations to take place after evicting all resident buffers. Cope better with memory allocation failures throughout the driver and improve tracking of failures.
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/i965/intel_mipmap_tree.h
rivers/dri/i965/intel_regions.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_tex_validate.c
|
c26f36c830cc6df1093a145eb43645f535004eb7 |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Add some asserts, fix some not-quite-bugs.
ain/mm.c
|
e48db4430fe850cbaf55f2ea5c142ecea3c2a48b |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix glitch with pool alignments.
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/bufmgr_fake.c
|
1456a0fff6a68dac046aaa57585eadf65ad66892 |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use lower alignments where possible. Also pad out allocated blocks to a multiple of alignment to avoid accumulating unusable free blocks.
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_regions.c
|
133f14168009393c5f396d218521625cb79b653f |
07-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure bmBufferOffset is called for all active buffers every time we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE().
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_span.c
|
c5cb8e2c6f2ad089bc0b94eb89abb2f804dd6dfa |
07-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1).
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vertprog.c
|
28e7219b96e647ac59f6a28abf6d2aea3779dc47 |
07-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
only allow VERT_ATTRIB_MAX instead of _TNL_ATTRIB_MAX for inputs of vertex programs (fixes a segfault since the result of the shift is undefined otherwise, and it may happen that _TNL_ATTRIB_POINTSIZE will be tried to read, unlike all other attribs this however may be unitialized (might be a bug in itself)).
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
d016d4e70f518a0221d63eddca482d56398ffe35 |
07-Sep-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Fix a leak of the screen's option cache on cleanup (copied from radeon).
rivers/dri/intel/intel_screen.c
|
14ec34d64733478b773190cb62be37b7b2871a7f |
06-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify the immediate and displaylist code. Treat VertexAttrib*ARB as non-aliasing and cope with the >32 attributes that result, taking materials into account.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_attrib.h
rivers/dri/i965/brw_attrib_tmp.h
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_exec.c
rivers/dri/i965/brw_exec.h
rivers/dri/i965/brw_exec_api.c
rivers/dri/i965/brw_exec_array.c
rivers/dri/i965/brw_exec_eval.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_save.h
rivers/dri/i965/brw_save_api.c
rivers/dri/i965/brw_save_draw.c
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/intel_context.h
|
7d767604c7996ae5f048c592e9fab69ed80c9280 |
06-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove stray tab
ources
|
d9aebd84980c58df9767f2b01fc7b8ec7620b161 |
06-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
for VERTEX_ATTRIB_WEIGHT, use break, not return
hader/arbprogparse.c
|
3a55750d4884dfaecde71d1584e69f46f14fce86 |
06-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced in vertex program, even though it's not really supported. Results will be undefined, but Warcraft doesn't actually use the attribute.
hader/arbprogparse.c
|
43cc1dc18f4eb992e70b10fa66d1befa3a3ca912 |
06-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/
hader/arbprogparse.c
|
a088f160b32a1bd461291fe975b9efd064ff24a5 |
06-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidate common case of _mesa_set_program_error() followed by _mesa_error() in new program_error() function. Add const qualifiers in many places. Reorder some debug code to prevent referencing free'd memory.
hader/arbprogparse.c
|
d5cbb49c2229c3eee4f3a4643c9142af8f3ad379 |
05-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Dynamically allocate instruction store for tnl programs according to requirements.
rivers/dri/i965/brw_vs_tnl.c
|
74b2166ff8e285ab2f9e49b48531619863ac78b2 |
05-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixes for calculating point attenuation
rivers/dri/i965/brw_vs_tnl.c
|
f65ad97469c023f03f30ec27f4cf92ee3edb267f |
04-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't export NV_vertex_program as it's not supported, it confuses glean, and we no longer need to export it to keep Mesa happy as we did at one time.
rivers/dri/intel/intel_context.c
|
ac7ea9403090a437b8a300ed666cfe1d1f862818 |
04-Sep-2006 |
Rune Petersen <rune@megahurts.dk> |
Managed to make a commit that can't build... Sorry again...
rivers/dri/r300/r300_render.c
|
c78e895f09298e35474e68b23dba4c1437b851c9 |
04-Sep-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
get rid of GL_BOOLEAN definition (bug 8113)
ain/varray.c
|
014bfda235e5315baf84b1d47329be167dd2ec7f |
04-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fog state atom contains (only) fog params necessary for tcl. Must not be emitted if vertex progs are enabled as it overlaps vertex param #94.
rivers/dri/r200/r200_state_init.c
|
5300e8242f118738d3df8d71ae8f53ab604957e6 |
03-Sep-2006 |
Rune Petersen <rune@megahurts.dk> |
add missing change to skip low impact RAST fallback... Sorry.
rivers/dri/r300/r300_render.c
|
5b4e7cdca4be195bbce4620f26b8e7f644862b79 |
02-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042).
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
91650469aeb01f249bcd553d9d309b3016c2f93c |
01-Sep-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060.
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_vertprog.c
|
6ec2d37ae80cc8b99e8ab2705aac4d9dd574f77e |
01-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Catch a few more cases of using a message reg as an instruction source arg.
rivers/dri/i965/brw_vs_emit.c
|
db0e53af74beafa0ba07b200396bfe12fa9f5c89 |
01-Sep-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
fix a couple of cases where a message reg is used as an instruction source.
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_vs_emit.c
|
75faa1e19a6b95a96cb74aee22fffdc745a07909 |
31-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add API description for GLX_SGI_swap_control.
lapi/glX_API.xml
|
d6c675f497950c6fa5afea531e86a25fd115d2a5 |
31-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix problems with vertex program protocol There were two sets of bugs in the vertex program (ARB and NV) protocol. First, several of the ARB functions were missing the 'doubles_in_order="true"' annotation. Second, after the ARB decided that glVertexAttrib*ARB functions must not alias fixed-function state for GLSL, Nvidia re-assigned GLX protocol opcodes for glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml was never updated to reflect this, and the updated version of the GL_NV_vertex_program spec never made into the registry.
lapi/gl_API.xml
|
934a2dcf0fcbc0e1f422453b50ae60ad8f0d8d12 |
31-Aug-2006 |
Rune Petersen <rune@megahurts.dk> |
re-apply shader fix. appears to have been reverted by mistake.
rivers/dri/r300/r300_fragprog.c
|
b237d7fa14269bcd2847f9b6e40e8cebfec1f318 |
31-Aug-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
When using the old technique to set up the front buffer mapping, there is no need to add front.offset to sPriv->pFB, it seems. Fixes several glean issues and frontbuffer rendering generally.
rivers/dri/intel/intel_screen.c
|
3cbfef3917451485aab723b81200156a1077a91c |
31-Aug-2006 |
Rune Petersen <rune@megahurts.dk> |
Give the user posibility to choose speed over correctness. It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/radeon/radeon_screen.c
|
52e36cd8d9a727d786c2db14ae8291d48fad8e47 |
31-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if ext->name is null before strcmp()
rivers/x11/fakeglx.c
|
901f83f14efbef80d03485580484dbdbc8f1234b |
31-Aug-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
do not abort with not supported vertex prog output configuration, fallback instead
rivers/dri/r200/r200_vertprog.c
|
cdb12bd0aebb07337edc8ab7ffcefa8246c3b2fe |
31-Aug-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Handle API and dispatch table changes that removed a bunch of extension entry points.
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wmesa.c
|
b7fc1c32f8f4814987b35e2e92891c2fd6f9973b |
31-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check that we don't try to reference more than one target of a texture unit. For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one program is an error.
hader/arbprogparse.c
|
f6de865e56c953c8d0ddec2468b5283e644675be |
31-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/0/VERT_RESULT_HPOS/
hader/nvvertparse.c
|
c7f571eb7e44da65950054fa75f599453bceca0c |
31-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
Add missing vec4 instructions to the interpreter. Other cosmetic changes.
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
|
6c06ce281aa7a7e20eab1934f573bc5c673d41cb |
30-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use XAddExtension() to register an XCloseDisplay() callback function. When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware.
rivers/x11/fakeglx.c
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
a974aaaa3e77a04375e5a9ddd413507596bd743e |
30-Aug-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Minor r200 vertex program cleanups. Remove disabled leftovers from r300 vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_vertprog.c
|
e6de1edaf0479f44773e5c841612937c7a891978 |
30-Aug-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix initialization of native resource usage of vertex/fragment programs
hader/arbprogparse.c
|
ef3f00f67e26e8944c98012e42433291ba92de0b |
30-Aug-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix typo causing a segfault when a vertex program uses more than 96 parameters
rivers/dri/r200/r200_vertprog.c
|
8334c8a2169055cd87e55d32403d59b8e46deb59 |
30-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move call to _swrast_update_rasterflags() since it depends on the results of _swrast_update_fog_state(). Fixes bug where first frame of progs/samples/fog.c does not show fog.
wrast/s_context.c
|
f7c4dc007f5ae964bc4357e9abefcf64131b84c9 |
30-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_debug() should be a no-op when not compiled with DEBUG defined.
ain/imports.c
|
70c2d512302f67ffd44fc408c67a6ccf02cbf669 |
29-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove assertion that referenced &glSetFenceNV for debug test
lapi/glapi.c
|
0aab798a1898b52a1d75e6fef4896c951b0afe6a |
29-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace abort with _mesa_problem()
hader/slang/slang_execute.c
|
8d675aa637a551c634b827b007c18e061d0ae2f6 |
29-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Deprecate GL_EXT_vertex_weighting. Nvidia no longer supports this extension, and they no longer export its entry points from their libGL. There's no reason for us to keep dragging it around either.
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
dfdd0b4f30e12acca07c2076adb594293bdb15bb |
29-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
More static dispatch function removal. Make functions for the following extensions available only via glXGetProcAddress. In cases where there are other aliases to the same functions (e.g., between GL_EXT_histogram and GL_ARB_imaging), the alias functions may still be statically exported. - GL_ATI_blend_equation_separate - GL_EXT_blend_equation_separate - GL_EXT_convolution - GL_EXT_color_sub_table - GL_EXT_cull_vertex - GL_EXT_depth_bounds_test - GL_EXT_framebuffer_blit - GL_EXT_histogram - GL_EXT_multisample - GL_EXT_stencil_two_side - GL_EXT_timer_query - GL_IBM_multimode_draw_arrays - GL_INGR_blend_func_separate - GL_NV_fence - GL_SGI_color_table - GL_SGIS_multisample - GL_SGIS_pixel_texture - GL_SGIS_point_parameters - GL_SGIX_pixel_texture
lapi/gl_API.xml
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
b5a2fc125516f46fade82a8c65527ffe77cab5c2 |
28-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to determine if we actually have a program. See "[r300] TCL fallback with Quake3".
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_vertexprog.c
|
258751f4a0ac505e66346d8e6ccaec7c5a585534 |
28-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add two new gl_function methods. dispatch_name returns the name of the true static dispatch name (either the glFooBar name or the gl_dispatch_stub_XXX name). static_name returns the name of the static function for a specific alias of a GL function. Adding (and using) these two functions corrects some problems in the generated code related to functions with multiple aliases where some of the aliases have true static dispatch functions and some don't. I have verified that everything under progs, except xdemos/xdemo, correctly link. I did this by doing 'make linux-dri-x86-64 PROGRAM_DIRS="demos redbook samples xdemos tests"'.
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_procs.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glprocs.h
|
0bb27c084da7eae0dfe1d858a134bd19b29faa25 |
28-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add dependencies for all API XML files.
lapi/Makefile
|
e5bc35dd97bcc814069447d388db84da59990ddc |
28-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused var
rivers/dri/intel/intel_context.c
|
e365b82be110246b8c05193efc8479e681f618f3 |
28-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix the check for force_s3tc_enable (bug 8042)
rivers/dri/intel/intel_context.c
|
9cb82f7917b11288169146035700b992b86a7ec2 |
27-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
close #6318
rivers/dri/radeon/radeon_screen.c
|
7e9737b3704b92865242d7564825cdc57db5c4c9 |
26-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Explicitly store the names for each function that should have a static entry point generated. This allows us to do things like generate a static entry point for glPointParameterfvARB but not for glPointParameterfvSGIS.
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_procs.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
|
092d14be92259d4210e3a2b5d4b5e18886bb4d4a |
26-Aug-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix bug 8010 - locking issues.
rivers/dri/intel/intel_batchbuffer.c
|
2fd72a7844067989714236694df22d44936899af |
26-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix #8008
rivers/dri/r300/r300_state.c
|
6827cf4d9afd92772d2a3fed27d5da15f406cd9d |
26-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include texobj.h to silence warning
rivers/dri/tdfx/tdfx_context.c
|
4277ea4c0b1a123571acaec86b0501d62fa8ecf5 |
26-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Error detection/reporting was broken in several places.
ain/bufferobj.c
|
3fea5910b9db41252da28bf0ab8ed763d1a129f8 |
25-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add a couple of the missing GL 2.0 functions. Enable GLX protocol for glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
rivers/dri/common/extension_helper.h
lapi/gl_API.xml
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
58d080b025c52710324eb719d6e74900cb4f64bf |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Free vertex program TnlData, if any. Fixes a mem leak.
hader/program.c
|
473f1aca7f4eb1dbb70e93cc6bf9a555512cd552 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clamp result.depth to [0,1] if written to
wrast/s_nvfragprog.c
|
439d59926ad8581bac74751b73b07268aa47ab65 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove XFree86 CVS keyword.
ain/enums.h
nl/t_save_api.h
nl/t_vtx_api.c
nl/t_vtx_api.h
|
a360bc31dad079d4d1100aa84857758e3d9d6308 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rearrange glBindProgram() code to do all error checking before changing the binding. Prevent a potential dangling pointer error. SF Bug 1544507.
hader/program.c
|
4bae9a48ecec6d2428b43989d7266e22ceb1a614 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In _save_End(), set CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END if we're in GL_COMPILE_AND_EXECUTE mode. This fixes bug 7984.
nl/t_save_api.c
|
f38ac5fbacb4d661b94456c8a4c887976a1bf520 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved comments
nl/t_save_api.c
|
3c54e8376d639465277fac745b0b8134d2918a9f |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). The four DP4 instructions are now inserted at the top of the program instead of appended to tail.
hader/programopt.c
hader/programopt.h
|
383c39e58e0ab888afac473526109b62ec0f8f6f |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_alloc_instructions()
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
|
9983a27cbe4f123f4e7fcce59c0d8b61b0f73924 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_alloc_instructions() utility function
hader/program.c
hader/program.h
|
a574c804a09c19fdbf5f6e6eac0767d3d8f57490 |
25-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add missing enums for GL_SGI_color_table.
lapi/gl_API.xml
ain/enums.c
|
6211a14137a9504bf90dfd6bc06df42bcd72389f |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update MAX_INSTRUCTIONS limit
hader/arbprogparse.c
|
ebf58ea3a392cbaddc9341b9f68a57da4f333104 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
According to GL_NV_fragment_program, max frag prog length is 1024 instructions. Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
ain/config.h
|
77427a1e52ec8fc7547fe22af31a4480be90938a |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB target with glBindProgramARB(). I guess the GL_ARB_fragment_program specification allows that, but Mesa didn't. Relaxed the check with a new predicate function: compatible_program_targets().
hader/program.c
|
e6940f0a33a571b199bab60b680c30b718c47445 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
scalar sources such as 'time.x' weren't accepted by parser
hader/nvfragparse.c
|
c6511ab950e2865e606ff13ce87f0ffc782c57ad |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Functions for vertex/fragment program transformations, optimizations, etc.
hader/programopt.c
hader/programopt.h
ources
|
beb32c4a5905d2a5347f49d2941e8340d6959206 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bad casts, carry over r200 fix to check for null program string in r300_translate_vertex_shader()
rivers/dri/r300/r300_vertexprog.c
|
94ff996cae9951129fee1010b201b72e8453f406 |
25-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check for NULL program string in r200_translate_vertex_program(). Fixes bug reported by Chris Rankin. Added some new comments.
rivers/dri/r200/r200_vertprog.c
|
a75439093c044301fd54dc42b30d0ee5a475d477 |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_realloc_instructions()
hader/arbprogparse.c
|
3b9b8de9b0bf2f1e69a450360a812090520b2b29 |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_realloc_instructions() utility function. Fixed/updated comments for parameter list functions.
hader/program.c
hader/program.h
|
a5f2206077402f0a8700ec1348e09731e53c5bc2 |
24-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions. The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/dlist.c
ain/state.c
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
bf83e652f6d023f1cdcf83ec3ebac024dc0032dc |
24-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add a new offset mode to the GL API XML. This mode, called "assign," tells the scripts to assign an available offset to the function. The important changes are in src/mesa/glapi/gl_XML.py and src/mesa/glapi/*.xml. Since the DRI drivers only depend on functions required by the ABI (e.g., GL 1.2 + ARB_multitexture) having fixed offsets, all functions not in the ABI use "assign" mode. This has caused the offset of basically every function outside the ABI to change. I have verified that a libGL with this patch works with a DRI driver without the patch. Futher, several function were removed from the dispatch tables altogether. These are the functions for the following extensions: GL_SGIS_texture_filter4 GL_SGIS_texture4D GL_SGIS_detail_texture GL_SGIS_sharpen_texture GL_SGIX_sprite GL_SGIX_instruments GL_SGIX_framezoom GL_SGIX_tag_sample_buffer GL_SGIX_reference_plane GL_SGIX_flush_raster GL_SGIX_list_priority GL_SGIX_fragment_lighting GL_PGI_misc_hints GL_EXT_index_material GL_EXT_index_func GL_3DFX_tbuffer This removes 50 functions from the dispatch table.
lapi/APPLE_vertex_array_object.xml
lapi/EXT_framebuffer_object.xml
lapi/dispatch.h
lapi/gl_API.xml
lapi/gl_XML.py
lapi/gl_offsets.py
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
5947f8fd636004aa2f57fb792be0cf737610f2ba |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix fragment.position initialization bug
wrast/s_nvfragprog.c
|
116411d5f00dd4af6bb2da3a98d57ca6fa2c1d82 |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check if mesa_vp->Base.Parameters is null before dereferencing (bug report from Chris Rankin). Also, fix some bad casts.
rivers/dri/r200/r200_vertprog.c
|
4169c220bdd65bb5a35ab50ae467ab9076f8c4f9 |
24-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix some problems with the generation of the size tables. Enable generation of protocol tables for Render.
lapi/glX_server_table.py
|
a95d5f0f58b9d95627e0f4225b6871dd24169c61 |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning
rivers/dri/r300/radeon_vtxfmt_a.c
|
4d12a05e6c11ca8d7325503131b2594dfe304164 |
24-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
rivers/dri/r300/radeon_vtxfmt_a.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_texman.c
ain/bufferobj.c
ain/bufferobj.h
hader/nvprogram.c
hader/program.c
hader/program.h
|
261a806f9e26347d756bddeae81f4e98325b8e84 |
23-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
New script and API description file to enable generate of GLX protocol decode tables in the server.
lapi/Makefile
lapi/glX_API.xml
lapi/glX_server_table.py
lapi/gl_and_glX_API.xml
|
43c9587ed48c315d44e5cc657a045e904a156265 |
23-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
remove duplicate pieces of code.
rivers/dri/r300/r300_maos.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
cafb0617eaacf09d9d19b75a5596b4dd2a1f85ba |
22-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
extend some DrawRangeElements cases to support rendering more than 65535 verts in one blast. ut2k4 cases in other words ...
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
50eae3af7a34e1b4a75e4aeec5c57b578e06850f |
22-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix broken write-only depth setting. use early z where possible.
rivers/dri/r300/r300_state.c
|
723db7212c7329129d38d8764e819ccbce4399c0 |
22-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Correct the name of the GL_NV_texture_expand_normal extension.
lapi/gl_API.xml
|
d319edff1e34696ac165bb553d085e8f2e3df4e3 |
22-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
The TLS dispatch functions for x86-64 are fixed-size, just like on x86. This means that the position of each dispatch function can be calculated as (dispatch_offset * size_of_function) + glNewList. This allows us to not store the function pointers in glprocs_table_t. This same optimization has been done for quite some time on x86. We could probably also do this for some cases of the SPARC dispatch as well.
lapi/glapi.c
|
4e4b5f40081cb3e4cefe4dce30712d8d330c0774 |
22-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add new attribute called static_dispatch to the <function> element. This boolean attribute, which defaults to true, determines whether or not a static dispatch function is available in libGL for applications to link against. Ideally, any new functions that are not part of the ABI should not have directly accessable dispatch functions. This forces applications to use glXGetProcAddress to access these functions. By doing this we can gracefully remove functions from libGL without breaking the linkage of applications. Note that the static dispatch functions are still generated. However, they are given names like gl_dispatch_stub_820 and are marked with the "hidden" linker attribute. All extension functions added since the previous Mesa release (6.5) have been marked as 'static_dispatch="false"'.
lapi/APPLE_vertex_array_object.xml
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_procs.py
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
6423ec914530a84ee16977d95b64116e63eca22c |
21-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move ALL_SOURCES to sources file
akefile
ources
|
b20814fd7d271599f99b3740be0c6033a090bf2d |
21-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove FBDEV_DRIVER_OBJECTS assignment (in sources file)
akefile
|
1d67cad9af17d1a56c9370dc221eba7eeb74b1cb |
21-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL preprocessor code: Rename slang_version.syn to slang_pp_version.syn. The #version directive understands version 120. Cosmetic changes in version preprocessor. Checks if requested version is supported by the compiler.
hader/slang/library/slang_pp_version.syn
hader/slang/library/slang_pp_version_syn.h
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
|
798ef5ce330fa308dad60e4550dd1a0437be5338 |
21-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
GLSL 1.20 constructors and operators.
hader/slang/library/slang_120_core.gc
|
bd4c8ec0ec1edcc96fe841ccc7159b7856ade5c1 |
19-Aug-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove the now confusing option to manually enable software ARB_vp if drm is not new enough on r200
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_screen.c
|
c6fc82398722a165da4c5b89359035222b946d89 |
19-Aug-2006 |
Sean D'Epagnier <geckosenator@freedesktop.org> |
Removed ifeq from makefile, and corrected fbdev driver so it compiles
akefile
|
92c43b110c22474c5304c782193494c197256ab7 |
18-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix-ups for linux-fbdev config. No longer build Xlib driver sources.
akefile
ources
|
7e4152f0ed46f644a4247444e18dc7ad6c9832b0 |
18-Aug-2006 |
Sean D'Epagnier <geckosenator@freedesktop.org> |
The driver now compiles correctly without any x headers or libraries installed The bitmap and stroke code can't be shared with glx anymore because of this. The model for the mini teapot is restored and I have tested it to work with linux-fbdev and linux-solo The driver recognizes 32bpp where there is no alpha (my radeon 7500) It also sets the correct number of cmap entrees (instead of 256 which can be an error)
akefile
rivers/fbdev/glfbdev.c
|
bd87c303e94659941a7c623d0b836e3ff317cfb4 |
18-Aug-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix writemasks on texture arb fp instructions. Cleanup invarient state emission.
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
|
c1c282f36ad31f99b9d5b38a2d39118740bca928 |
17-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
sort the FEATURE_ defines
ain/config.h
|
9dc90cd5f35e1b286cc70f95f0dfe20ea356eeca |
17-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FEATURE_EXT_timer_query and tests
ain/config.h
ain/occlude.c
ain/state.c
|
5928718475e85c4c28ef4ec0cea961442ed3bdca |
17-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
change #ifdef to #if
ain/dlist.c
|
6206aec90ab47c34598c143c4dd141e42dd37c83 |
16-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
change tex memory allocation calls (debian bug 383209)
rivers/dri/tdfx/tdfx_tex.c
|
a7d02567451f69445ef31181a41b16e86487093d |
16-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
When available, which is most of the time, use posix_memalign to implement _mesa_align_malloc and friends.
ain/imports.c
|
ab6cf9dd622c4659aa5f47cb1b5f86b8e38d5a85 |
15-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Enable support for GL_EXT_gpu_program_parameters for R300.
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_context.c
|
8c41c757fe8efa04df0dd5cdfb33a75b84891c19 |
15-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_EXT_gpu_program_parameters. Any driver that enables either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/dlist.c
ain/extensions.c
ain/mtypes.h
ain/state.c
hader/arbprogram.c
hader/arbprogram.h
parc/glapi_sparc.S
86-64/glapi_x86-64.S
86/glapi_x86.S
|
daea7176347f15f1c916c4a1131fce0bd1f062bc |
15-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Remove extraneous trailing semicolon.
hader/nvprogram.c
|
24cd8e22f5a0fda3a0811976b07755bd8cecb75c |
12-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
gcc-4.1.1 compile fix
rivers/dri/r300/r300_maos.c
|
357addfc45ebb8359e0678e2f3c449b79a8bc762 |
12-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add comments explaining a couple "mystery" bits.
rivers/dri/savage/savage_3d_reg.h
|
8fbe16d4dd0664f7766f5241c055efb582cc06e5 |
12-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Fix long standing bug that prevented newer drivers from working with older libGL. The data in extension_helper.h erroneous instructed drivers to expect all functions with establised offsets, even those not in the ABI, to have a specific offset allocated. This is just wrong. A function is either in the ABI and has a set offset or a function is not in the ABI and has a re-map offset.
rivers/dri/common/extension_helper.h
rivers/dri/common/utils.c
lapi/extension_helper.py
|
8ff5e37f58cd4f4f0f3a9f800e95022e50050c32 |
11-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
support shorts as vertex data
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
2332812644d5ab98d884cd0083e9d68c8e09b4cf |
10-Aug-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add padding to match the current xf86-video-intel DDX->DRI interface.
rivers/dri/i965/server/i830_dri.h
|
a89b099c74c0129c975d3f7ba1cdccc6a8d6b6be |
10-Aug-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fixup more PROGRAM_UNDEFINED problems.
nl/t_vp_build.c
|
8d97265711b172da4f387748f0e72da9267492b0 |
10-Aug-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix some breakage after the PROGRAM_UNDEFINED change
ain/texenvprogram.c
|
7196cddb3a404292858101f9cd1a5061e422d2c1 |
10-Aug-2006 |
Sean D'Epagnier <geckosenator@freedesktop.org> |
Added initial multisampling support to glfbdev driver. Fully implemented glutGameMode, and added vidresize stubs to make Added support for glutReshapeDisplay to change video mode but not lose current mesa context. implementation glut 5 complient. Fixed many minor bugs Updated docs
rivers/fbdev/glfbdev.c
|
54e15d65858c1d1eeea7291059766686cf2e1671 |
10-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
finish up texstore for SL8 texture format
ain/texstore.c
|
7ba08ac45a90ab1e34eec7dfa7cfae629eb37478 |
09-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
GLSL 1.20 built-in library.
hader/slang/library/slang_builtin_120_common.gc
hader/slang/library/slang_builtin_120_fragment.gc
|
edefc658e4374fea96404715ce176b24942322d3 |
09-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code - more support for vec4 operations on x86 back-end.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_execute_x86.c
hader/slang/slang_storage.c
hader/slang/slang_storage.h
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
9f344b3e7d6e23674dd4747faec253f103563b36 |
09-Aug-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add Intel i965G/Q DRI driver. This driver comes from Tungsten Graphics, with a few further modifications by Intel.
rivers/dri/i965/Makefile
rivers/dri/i965/brw_attrib.h
rivers/dri/i965/brw_aub.c
rivers/dri/i965/brw_aub.h
rivers/dri/i965/brw_cc.c
rivers/dri/i965/brw_clip.c
rivers/dri/i965/brw_clip.h
rivers/dri/i965/brw_clip_line.c
rivers/dri/i965/brw_clip_point.c
rivers/dri/i965/brw_clip_state.c
rivers/dri/i965/brw_clip_tri.c
rivers/dri/i965/brw_clip_unfilled.c
rivers/dri/i965/brw_clip_util.c
rivers/dri/i965/brw_context.c
rivers/dri/i965/brw_context.h
rivers/dri/i965/brw_curbe.c
rivers/dri/i965/brw_defines.h
rivers/dri/i965/brw_draw.c
rivers/dri/i965/brw_draw.h
rivers/dri/i965/brw_draw_current.c
rivers/dri/i965/brw_draw_upload.c
rivers/dri/i965/brw_eu.c
rivers/dri/i965/brw_eu.h
rivers/dri/i965/brw_eu_debug.c
rivers/dri/i965/brw_eu_emit.c
rivers/dri/i965/brw_eu_util.c
rivers/dri/i965/brw_exec.c
rivers/dri/i965/brw_exec.h
rivers/dri/i965/brw_exec_api.c
rivers/dri/i965/brw_exec_array.c
rivers/dri/i965/brw_exec_draw.c
rivers/dri/i965/brw_exec_eval.c
rivers/dri/i965/brw_exec_generic.c
rivers/dri/i965/brw_fallback.c
rivers/dri/i965/brw_fallback.h
rivers/dri/i965/brw_gs.c
rivers/dri/i965/brw_gs.h
rivers/dri/i965/brw_gs_emit.c
rivers/dri/i965/brw_gs_state.c
rivers/dri/i965/brw_hal.c
rivers/dri/i965/brw_hal.h
rivers/dri/i965/brw_metaops.c
rivers/dri/i965/brw_misc_state.c
rivers/dri/i965/brw_program.c
rivers/dri/i965/brw_save.c
rivers/dri/i965/brw_save.h
rivers/dri/i965/brw_save_api.c
rivers/dri/i965/brw_save_draw.c
rivers/dri/i965/brw_sf.c
rivers/dri/i965/brw_sf.h
rivers/dri/i965/brw_sf_emit.c
rivers/dri/i965/brw_sf_state.c
rivers/dri/i965/brw_state.h
rivers/dri/i965/brw_state_batch.c
rivers/dri/i965/brw_state_cache.c
rivers/dri/i965/brw_state_pool.c
rivers/dri/i965/brw_state_upload.c
rivers/dri/i965/brw_structs.h
rivers/dri/i965/brw_tex.c
rivers/dri/i965/brw_tex_layout.c
rivers/dri/i965/brw_urb.c
rivers/dri/i965/brw_util.c
rivers/dri/i965/brw_util.h
rivers/dri/i965/brw_vs.c
rivers/dri/i965/brw_vs.h
rivers/dri/i965/brw_vs_constval.c
rivers/dri/i965/brw_vs_emit.c
rivers/dri/i965/brw_vs_state.c
rivers/dri/i965/brw_vs_tnl.c
rivers/dri/i965/brw_vtbl.c
rivers/dri/i965/brw_wm.c
rivers/dri/i965/brw_wm.h
rivers/dri/i965/brw_wm_debug.c
rivers/dri/i965/brw_wm_emit.c
rivers/dri/i965/brw_wm_fp.c
rivers/dri/i965/brw_wm_iz.c
rivers/dri/i965/brw_wm_pass0.c
rivers/dri/i965/brw_wm_pass1.c
rivers/dri/i965/brw_wm_pass2.c
rivers/dri/i965/brw_wm_sampler_state.c
rivers/dri/i965/brw_wm_state.c
rivers/dri/i965/brw_wm_surface_state.c
rivers/dri/i965/bufmgr.h
rivers/dri/i965/bufmgr_fake.c
rivers/dri/i965/intel_batchbuffer.h
rivers/dri/i965/intel_blit.h
rivers/dri/i965/intel_buffer_objects.h
rivers/dri/i965/intel_context.h
rivers/dri/i965/intel_ioctl.c
rivers/dri/i965/intel_ioctl.h
rivers/dri/i965/intel_mipmap_tree.h
rivers/dri/i965/intel_reg.h
rivers/dri/i965/intel_regions.h
rivers/dri/i965/intel_screen.h
rivers/dri/i965/intel_span.h
rivers/dri/i965/intel_tex.h
rivers/dri/i965/server/i830_common.h
rivers/dri/i965/server/i830_dri.h
rivers/dri/i965/server/intel.h
rivers/dri/i965/server/intel_dri.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_blit.c
rivers/dri/intel/intel_buffer_objects.c
rivers/dri/intel/intel_buffers.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_mipmap_tree.c
rivers/dri/intel/intel_regions.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
rivers/dri/intel/intel_tex_validate.c
|
7b52bed98729a05feab28f6d2b0677e4f84c44c3 |
09-Aug-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add PROGRAM_FILE_MAX for i965 driver. While here, make PROGRAM_UNDEFINED just the next value in the enum.
ain/mtypes.h
|
46f20579a28ac97dd6fd9cc505301b0764eb011a |
09-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement some of the sRGB texstore functions
ain/texstore.c
|
0606ad45f65dacf1fe9c4893f739915178345d8b |
05-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo, indentation
ain/texformat.h
|
4818b0bea1b2f1b1e617b16014a9303a33c7d9ae |
04-Aug-2006 |
Karl Schultz <kschultz@freedesktop.org> |
export new _mesa_* functions
rivers/windows/gdi/mesa.def
|
5c488dcab2cef6c851e9d54f03168e4dee805102 |
04-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT
ain/attrib.c
|
0a4be7036864efa6b30d78e0aac449d34b812c13 |
04-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work for GL_EXT_texture_sRGB.
ain/texcompress.c
ain/teximage.c
ain/texstore.c
|
2eb00b4388c6e9ca3a1303e7f849c060e99cd0a5 |
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use WRITE_MASK_* instead of 0x1, 0x2, etc
nl/t_vb_arbprogram.c
|
9c3876d7d852d84bcf317e625210699dd39696eb |
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose(). Eventually move them into imports.c
ain/texcompress_s3tc.c
|
8d214bc8044e5027e3fa9302b259d0c557270b00 |
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_texture_sRGB.
ain/config.h
ain/extensions.c
ain/extensions.h
ain/mtypes.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
b60a3da43f9a5fecf05058aa04bff12f710851f1 |
02-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
Enable vec4 extension for x86 back-end.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_execute_x86.c
|
3b5e02cc7cecc88887da0bda009d828b124499a2 |
02-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
Add vec4 extension.
hader/slang/library/gc_to_bin.c
hader/slang/library/slang_builtin_vec4.gc
hader/slang/library/slang_builtin_vec4_gc.h
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin_gc.h
|
60ba2d88b31b4858c019b41c982ca83ab5880dde |
02-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix mmFindBlock function.
ain/mm.c
|
365582dd6f632aafbc1c817aa57926d679bb2efc |
01-Aug-2006 |
Michal Krol <mjkrol@gmail.org> |
Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
ain/context.c
ain/getstring.c
ain/texstate.c
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/shaderobjects_3dlabs.h
wrast/s_arbshader.c
wrast/s_arbshader.h
wrast/s_span.c
nl/t_pipeline.h
nl/t_vb_arbshader.c
|
e724324894ec2829904341af59cbabc7a5902ad6 |
01-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
renderbuffer fixes (Sean D'Epagnier)
rivers/fbdev/glfbdev.c
|
9a4f15ee59f83fce31541f47ec2d0c798af10134 |
01-Aug-2006 |
Claudio Ciccani <klan@users.sourceforge.net> |
Fixed warnings.
rivers/directfb/idirectfbgl_mesa.c
|
689df543db409e3c1d9c205f36bfea401bb876b5 |
01-Aug-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix #6991
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
e8947a5fa020a24e7e07318f1ea9d85467d7d9e6 |
30-Jul-2006 |
Michal Krol <mjkrol@gmail.org> |
Add support for GL_MESA_shader_debug.
rivers/dri/common/extension_helper.h
ain/enums.c
|
32bf274f78920c24ea213452bdaa4d8b2b2a029c |
30-Jul-2006 |
Michal Krol <mjkrol@gmail.org> |
Program to convert .syn file to .h headers.
hader/slang/library/syn_to_c.c
|
4cc87c7248161e75fdbe2ad3e81819c5dd8b8502 |
30-Jul-2006 |
Michal Krol <mjkrol@gmail.org> |
Add support for GL_MESA_shader_debug.
lapi/gl_API.xml
|
0e6ef1b1cdb546dfe6f36b7eb3e4a9223ec01ae4 |
28-Jul-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Fix build failure in the savage driver.
nl_dd/t_dd_dmatmp.h
|
32d61d06164c6247bed0fbf301afd24ce5d3473e |
28-Jul-2006 |
Jerome Glisse <glisse@freedesktop.org> |
r300_emit.h cleanup. Remove unused macro Replace LOCAL_VAR, PREFIX* Indent code Remove radeon redundant CP type 3 packet
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_mm.c
|
a7722cb794be008f930c5f071f66fc14b38af65a |
21-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
load SLANG_FRAGMENT_FIXED_SECONDARYCOLOR
wrast/s_arbshader.c
|
c28399baa76e515a7e9d22ef39a5d22c4b73f848 |
21-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
just reindent
wrast/s_arbshader.c
|
9d9d7b1deef8b4330e29b5f601fbba93b6374fd8 |
21-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for non-nill pwc in WMesaMakeCurrent(), bug 7585
rivers/windows/gdi/wmesa.c
|
122629f27925a9dc50029bebc5079f87f416a7e1 |
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some structure renaming. Prefix vertex/fragment-related structs with "gl_" to match other structs.
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/intel_tris.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertexprog.c
ain/context.c
ain/dd.h
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbprogram.c
hader/nvfragparse.c
hader/nvfragparse.h
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertexec.h
hader/nvvertparse.c
hader/nvvertparse.h
hader/program.c
hader/program.h
wrast/s_context.c
wrast/s_nvfragprog.c
nl/t_array_import.c
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_program.c
nl/t_vp_build.c
nl/tnl.h
|
a623e008c651235769c7c50fc55f6e3782e4aaca |
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move/update comments
ain/context.h
|
2f12458fb3817a402ca15a5fd9bcef1728a3403a |
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use ctx->Light.ShadeModel instead of ctx->_TriangleCaps
nl/t_vb_cliptmp.h
|
a1a6ac4af4ba5b1da7c768d892b84cb1204c4c7f |
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_dmatmp2.h
nl_dd/t_dd_unfilled.h
|
4e2de9531e4869edf12536c2cb37d3145ee4065c |
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused NEED_TWO_SIDED_LIGHTING() macro
ain/context.h
|
ad15866ef0e77478508eeb534b28f0136462b644 |
19-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
For glGetTexImage(), move the _mesa_validate_pbo_access() error check into _mesa_GetTexImage() so it's not needed in the fallback or driver functions.
ain/teximage.c
ain/texstore.c
|
0749e2723b32ba430539791b94acd95dcf939a1d |
19-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Several loops over the map1/2 evaluator arrays were incorrect. There's only 16 evaluator maps. Define new _TNL_NUM_EVAL constant for those loops. Also, fix priority of GL_NV_vertex_program generic maps - they override the conventional maps. See bug 7564.
nl/t_context.h
nl/t_vtx_api.c
nl/t_vtx_eval.c
|
114ecb9d67b1254d0929bfeec80dee8015834425 |
19-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
indentation fix
ain/teximage.c
|
df926955be59a0128eea44141eb46fc52556dc05 |
19-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()
ain/teximage.c
|
813e56db511e783fcf1ad7bcfd40645451802bd7 |
18-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Compute ctx->Color._LogicOpEnabled in one place instead of four places!
ain/blend.c
ain/enable.c
ain/state.c
|
416ac254c262d307608c14509725d1574205deff |
15-Jul-2006 |
Rune Petersen <rune@megahurts.dk> |
A small logic error. We need to call do_swizzle() when the scaler _or_ vector unit have a swizzle other 000/ZERO/111/ONE. This ensures that the gloss on banners in ut2004 is not angel-dependent (since when was banners glossy?).
rivers/dri/r300/r300_fragprog.c
|
f4e46e1a463be580d14d1b14fe1b9c85d4572e61 |
13-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
define FLT_MAX_EXP to 128 if undefined
ain/imports.h
|
883f9891cb203dd087843b830ab058d6c9e160dc |
13-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
LIB_DIR is now just 'lib' or 'lib64' Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
akefile
rivers/beos/Makefile
rivers/directfb/Makefile
rivers/dri/Makefile
rivers/dri/Makefile.template
rivers/dri/glcore/Makefile
|
e5c28321b2047418ba960c5f9c3aa86cf2514bbb |
12-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
fix another memleak
rivers/dri/common/dri_util.c
|
c04bb519e13dc6f983930736f9747a9d81b13e76 |
11-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
free array objects properly (bug 7493)
ain/context.c
|
c60bcc8966ce3454bb5eba6beb9c881b3d72ae6a |
11-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
free GL2Objects unconditionally
ain/context.c
|
c0eb777cd8e67e266a2fd1bccda7f77c0f1bd097 |
11-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
free the ArrayObjects hash table
ain/context.c
|
17b5063c6f7973e83954fe00105b8f1f1ec34493 |
11-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
only access ss->BufferObjects if it's declared
ain/context.c
|
aead688e7fc605fada2624626c7543445412791a |
11-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwards
rivers/dri/r300/radeon_context.c
|
bbe197ec1d29647884ec4b2dd5812ff7b0cc8b05 |
11-Jul-2006 |
Thomas Hellström <thomas@tungstengraphics.com> |
Revert the SiS and Unichrome DRM version check changes.
rivers/dri/sis/sis_screen.c
rivers/dri/unichrome/via_screen.c
|
85b4ae065435c8b4c4696b75e95f897130ee8bdf |
10-Jul-2006 |
Thomas Hellström <thomas@tungstengraphics.com> |
The SiS and Unichrome drivers assume that the handle to the AGP map is equivalent to the AGP physical address. Fix this.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
|
b9920ba7b7fd8ed9a3c45e0cebafd28b419f73e3 |
09-Jul-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix #7195
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_lock.c
|
218ba1ff540625ea7b4aecb9c3f6bcb0f4d6f38f |
06-Jul-2006 |
Kristian Høgsberg <krh@redhat.com> |
Don't include unused header files.
rivers/x11/glxheader.h
rivers/x11/xmesaP.h
|
5906acad0850b9d16639e44c290ed029def68204 |
05-Jul-2006 |
Aapo Tahkola <aet@rasterburn.org> |
R300_RR_ROUTE_1 still needs to be initialized.
rivers/dri/r300/r300_state.c
|
1ad914575a89f3fdbfa5bce863e14f8d4679ed3b |
04-Jul-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.
rivers/dri/r300/r300_reg.h
|
c6e1784062b29aeca6ebb65860e9b021ec3ee43c |
04-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable hw antialiasing (Martijn van Oosterhout)
rivers/dri/r128/r128_tris.c
|
77afb435191cdaa0446aa65871c8ef995500bbcc |
04-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional clipping/viewport fixes (Martijn van Oosterhout)
rivers/dri/r128/r128_state.c
|
46c1419c9342f68755636208307ee6bbd5c0cc24 |
04-Jul-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
some minor simplifications (same as in r300 driver) since mesa's internally used swizzle and writemask flags are identical to the bits used on the hardware, use a macro to error out if these assumptions are no longer true.
rivers/dri/r200/r200_vertprog.c
|
bf35d70635309e499aee666eb5811446aa8b489e |
04-Jul-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
check if radeon_drm.h from libdrm is new enough, otherwise print an error to make it easier to figure out why it won't compile...
rivers/dri/r200/r200_context.h
|
69f31f54756106bb3e3af48bd0c9ea3bb6f7d4f7 |
03-Jul-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add copyright header and minor cleanup.
rivers/dri/r300/r300_fragprog.h
|
bfb2729f9ef6cba2b1351826ac83932ab0ed6a5f |
03-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable a new mem leak check until we're sure it's valid
ain/hash.c
|
a6c72b67f6d48d6fdc7f1cf908f026a7db03c666 |
03-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix clipping bug on context change (Martijn van Oosterhout)
rivers/dri/r128/r128_state.c
|
527cd2544fd9f63c645802191077e84f1ff9a2ae |
01-Jul-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
initialize offset to avoid bogus warnings from valgrind
rivers/dri/r300/radeon_mm.c
|
be9282bf0b9b56c595861a9cb0e1c0d2fa0fc147 |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex/fragment program patches (Rune Petersen)
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
|
0cdf2d7413838ab5aea2edb6a2792edeb8c659e5 |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clipping fixes (Martijn van Oosterhout)
rivers/dri/r128/r128_state.c
|
f63623779a44c677d8731cbd706a02a615e03b0f |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups
ain/hash.c
|
28930729676fca2a3eebec29660cf4c4b1c5916e |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_HashDeleteAll()
ain/occlude.c
|
c7e164f091d26f8286bbc9ba2a05a7098a58cede |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In free_shared_state(), use new _mesa_HashDeleteAll() function to delete textures, display lists, programs, VBOs, etc. Less code and more efficient.
ain/context.c
|
d179e16501c408e1c57e436d5cf597c91f7ef040 |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_delete_list() to delete a display list, but don't remove from hash table. Make _mesa_destroy_list() static.
ain/dlist.c
ain/dlist.h
|
9f6798d6e1a59b8a0ca258d49d6afae128735f41 |
30-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_HashDeleteAll() to delete all entries in a hash table with a callback function. Added _mesa_HashWalk() to walk over all entries in a hash table with callback.
ain/hash.c
ain/hash.h
|
7c583f5d1161a5d35d6295399de6bc33cf7569f7 |
29-Jun-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Fix typo.
rivers/dri/r300/r300_reg.h
|
f7f5b2c41516b11204ff2f253a822b3ac35dcbe0 |
29-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
destroy left-over VBOs on shutdown
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_context.c
ain/context.c
|
ff3a5b1842bf26783a487674c5ff4cb40f405f25 |
29-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
instead of messing with _TNL_LAST_GENERIC and _TNL_FIRST_GENERIC, use _TNL_NUM_GENERIC. this fixes an off-by-one error (we didn't handle the final attribute)
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
|
8ca6250d724edb74f1ca980e2dcc8a6dfdf073c4 |
29-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
cleanup, avoid magic values
rivers/dri/r300/radeon_vtxfmt_a.c
|
ff5b590382d716dccd9d3122ead9a9236f019aaa |
29-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
added _TNL_NUM_GENERIC
nl/t_context.h
|
787f4965a2141902c6a7298cd0f2c6c992444ed8 |
29-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
only assert front/back pitch if double-buffered (bug 7663)
rivers/dri/unichrome/via_context.c
|
6c334754244f11a1bfc01b9009c55ee5916f7dc7 |
28-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
propagate errors from parse_generic_attrib_num in parse_attrib_binding (-> don't segfault when you're trying to access invalid generic attributes
hader/arbprogparse.c
|
7a7aa2aabb90a2f6833f582ff4701f3840d399f7 |
27-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't use nested struct definitions in tnl_clipspace_fastpath. Make attr_type into a top-level type: tnl_attr_type See bug 7340.
nl/t_context.h
nl/t_vertex.c
|
4063b1730d217fc8ecf4414b33e83d32d59c537a |
27-Jun-2006 |
Ian Romanick <idr@us.ibm.com> |
Remove the extraneous GL_ prefix from the enums for GL_EXT_timer_query and GL_EXT_framebuffer_blit. Enumerants in the XML schema get the GL_ prefix added to them automatically. This resulted in things like "GL_GL_TIME_ELAPSED_EXT" in enums.c.
lapi/gl_API.xml
ain/enums.c
|
291fd257ebc7915137d0005e696313ce01175f36 |
27-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix stencil clears that have caused problems with redbook/stencil, tests/stencilwrap and ut2k4 adrenaline pills.
rivers/dri/r300/r300_ioctl.c
|
caf0176472ea024e70b2401d622947281b316a24 |
27-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix generic vertex attribs (Rune Petersen)
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
199729ff277c7401fe0e59945f16f5b86987abf8 |
26-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
locking fixes (Martijn Van Oosterhout)
rivers/dri/r128/r128_span.c
|
78a6000cf2eb294181ea1af049fae6d4f6167bcb |
26-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use $(LIB_DIR) instead of $(TOP)/lib since libraries sometimes go into lib64/. Probably need to fix the install destinations too...
akefile
rivers/directfb/Makefile
rivers/dri/Makefile.template
|
0deb088cf070ef42a68b02952e755dda47d7c235 |
23-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
more cleanups
rivers/dri/r300/r300_vertexprog.c
|
0e794a1bc6885cf569c3dc07b7fd56725aee2c2e |
23-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New 'install' targets in makefile. See bug 2372.
akefile
rivers/dri/Makefile.template
|
feb0ff11e5d429e1444f9987137c929adfb09bc8 |
21-Jun-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check for a valid context
ain/framebuffer.c
|
c28834bfbb53a4f9a4801cabcd9d026ec7d7f263 |
20-Jun-2006 |
Michel Dänzer <michel@daenzer.net> |
Add M32R architecture to test for USE_IEEE and friends (Kazuhiro Inaoka, from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374608).
ain/imports.h
|
1ec9ed4f2562bcf24edc64275ced39f62ec2a40e |
20-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix span code compilation problems, bug 5858
rivers/fbdev/glfbdev.c
|
4afcd8aa8b694264a37b1f796346916d99d87a1e |
19-Jun-2006 |
Ian Romanick <idr@us.ibm.com> |
Print the hex value of the errant input when an invalid stencil function is specified.
ain/stencil.c
|
161de10ce885e73ca07a0c851d63bf1a732c1ea8 |
19-Jun-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
If DrawBuffer isn't set, return immediately
ain/framebuffer.c
|
11fceb19d3aa6adf9fe103ad733b37a69229caec |
18-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
no need to handle ARL in a special way, it's a generic scalar operation. only tested on r300.
rivers/dri/r200/r200_vertprog.c
rivers/dri/r300/r300_vertexprog.c
|
16d1024f27695bd9ceb86ffcdda960396a23ed2c |
18-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix broken negate
nl/t_vp_build.c
|
e6a17b605236145aa397201d52de3f015a22a97e |
18-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix broken address register reads
rivers/dri/r300/r300_vertexprog.c
|
385f23edf91a366b2e81449632ba3862957a2a74 |
16-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Thread safety for Win32. SourceForge bug #1507315.
rivers/windows/gdi/InitCritSections.cpp
lapi/glapi.c
lapi/glthread.c
lapi/glthread.h
|
c97c5f0b6b612ef1df18febafdad093e3e5bc0cb |
16-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove obsolete PointSizePtr
86/gen_matypes.c
|
c3c64383cae74e2777478c5271bea494272885eb |
16-Jun-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
OpenVMS compile support update Modified Files: Mesa/src/mesa/main/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
be906fe05e1fd6c488ff84b24379d7272a5ac5af |
15-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some comments, braces in _mesa_BindTexture
ain/texobj.c
|
2d77b25c27cdb49b1f3f6eda4643eaeaf230b9a2 |
15-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/arrayobj.c
|
9960ddcd66b9c2c6f4b12fc7db7326ba83d65956 |
15-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments for gl_array_object struct
ain/mtypes.h
|
0b994ef5893c0fb59b36f2a723f74aa7c35e8502 |
15-Jun-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Call _mesa_resize_framebuffer() within intelWindowMoved(). Fixes googleearth glitches.
rivers/dri/intel/intel_context.c
|
d048b7d36e502a3013b19be894d0db6c68414955 |
14-Jun-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Protect _swrast_read_rgba_span with RENDER_START/FINISH
wrast/s_imaging.c
|
4f68411e770573d396cdac45ebdc516661212618 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/ATTRIBUTE/GENERIC/
wrast_setup/ss_context.c
|
62e1fae858509615c6e54e0b9388cfa2691a5919 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are really just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc.
nl/t_context.h
nl/t_vb_arbprogram.c
nl/t_vb_arbshader.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
|
62dc134771858638ac38687c16bbb0578d20c419 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC*
wrast_setup/ss_context.c
nl/t_context.c
nl/t_context.h
nl/t_save_loopback.c
nl/t_vb_arbshader.c
|
3c18d4960728661e4059a015e7deb7c676c5c7b1 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new assertion
nl/t_array_import.c
|
ee061060826df059f0ddb904a2160ed610423579 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Do a cheesy implementation of glXWait/GetVideoSyncSGI() functions, but disable reporting the GLX_SGI_video_sync extension anyway. Google Earth works now.
rivers/x11/fakeglx.c
|
2d087480b4b1207c058efcccc9a72faedcea4651 |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLX_BAD_CONTEXT checks in video-sync functions
rivers/x11/glxapi.c
|
e49aea9cef00502fdbd164321f8556478c19a63d |
14-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove debug printf
nl/t_vb_render.c
|
f9d88c820414c208ab9dbb1b40901c7d520e19e5 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups and new comments
ain/varray.c
|
34a3779aae716bf24f59257077694d26d0dfec18 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused index_attr1fv()
nl/t_save_loopback.c
|
7dfdf3a5b74d3498a98f71d18eb2e706f2fedd04 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename some functions/macros to better reflect their behaviour: 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
rray_cache/ac_import.c
ath/m_trans_tmp.h
ath/m_translate.c
ath/m_translate.h
|
44b82dffe836b25d42c7a3d7b4e62d0eb7cc033f |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In import_attrib(), use the from->Normalized flag to choose the right translation function. Before this fix the 'normalized' flag to glVertexAttribPointerARB() was ignored.
rray_cache/ac_import.c
|
5c7c5a762e602b67e404e04db5ab429bdf2fce1a |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/0/NULL/
nl/t_vb_arbprogram.c
|
1c546ae5522fccfb922a672558188c36fb6b2b3f |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
When using an ARB vertex program, the generic vertex arrays do not alias the conventional arrays. Typo: s/writeable/writable/
nl/t_array_import.c
|
8bc00c2047f69d8cd37d4fd70256850445b0fa1d |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix size assertions in _mesa_init_teximage_fields()
ain/teximage.c
|
212d7e836979552eae7f91849295a8c7542fcf01 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor simplification in texcoord array import
nl/t_array_import.c
|
bd1e587ebe053b5a6d3b8cc3597b226d670f4667 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some unneeded #includes
nl/t_array_import.c
nl/t_pipeline.c
nl/t_vb_arbprogram.c
nl/t_vb_program.c
|
0395cc01fdb6ffa638df939e0f7d9d02c34761f9 |
13-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a few conversion bugs. For example, GLshort->GLfloat conversion didn't work for color arrays.
ath/m_translate.c
|
9853aac4950e9bd4bb7b41777cec444c8ce09080 |
13-Jun-2006 |
Ian Romanick <idr@us.ibm.com> |
Make r300 driver build with GL_APPLE_vertex_array_object changes. Sorry for the breakage. These changes are only build tested.
rivers/dri/r300/r300_maos.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
48c03d7c9fffd720b87195550951e6a4e8240a7d |
12-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/buffer/arrays/
ain/arrayobj.c
|
0e0e3b05ab09045c275cc7d43bb753ba99a3c557 |
12-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include arrayobj.h
ain/attrib.c
|
050d39b3f457e8c1b36156422348fff3760c6875 |
12-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused var
ain/bufferobj.c
|
ee34e6ef716bb630440299ac1efbc2055ef09ffd |
12-Jun-2006 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_APPLE_vertex_array_object. Several test programs and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
rray_cache/ac_context.c
rray_cache/ac_import.c
rivers/common/driverfuncs.c
rivers/dri/common/extension_helper.h
lapi/APPLE_vertex_array_object.xml
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/api_arrayelt.c
ain/api_validate.c
ain/arrayobj.c
ain/arrayobj.h
ain/attrib.c
ain/bufferobj.c
ain/bufferobj.h
ain/context.c
ain/dd.h
ain/dlist.c
ain/enable.c
ain/enums.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/getstring.c
ain/mtypes.h
ain/state.c
ain/varray.c
hader/arbprogram.c
hader/nvprogram.c
ources
parc/glapi_sparc.S
nl/t_array_import.c
86-64/glapi_x86-64.S
86/glapi_x86.S
|
6254d5904366ae17cb707ee70ff1ce76092f9c81 |
12-Jun-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
fire vertices before context destruction.
rivers/dri/intel/intel_context.c
|
51eb359ea96a048f942b5e72c5634d36d9859d97 |
11-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
destroy the memory manager along with the context
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
|
5b90cf2f2f3dcda0d674c01859847149b4054608 |
10-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable arb_vertex_program by default if drm is new enough. Do a fallback when it's a nv_vp as there could be issues.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_vertprog.c
|
52c5d9c5b785831c9f7af9444f9a7cda01da06ce |
09-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
shuffle some code to make some assertions in the _savage_texstore_a111xxxx functions compile without error...
rivers/dri/savage/savagetex.c
|
ee7e58e11140e18ebac8dd44f358aa151f1fa880 |
09-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for invalid mode in glBegin(), bug 7142
nl/t_vtx_api.c
|
a0daa1220fb9f0a4963565f3851ebb620efa222f |
08-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
include tnl/tnl.h for _tnl_program_string()
rivers/dri/r300/r300_shader.c
|
3ebf0418a9c82c6af7134f3c9109973d029c591c |
08-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
mark ARL operand as scalar (Roland Scheidegger)
rivers/dri/r300/r300_vertexprog.c
|
0bc09bdace2f548618a1e694cabe2bff2051e117 |
08-Jun-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
struct op_names: get rid of the 'output operands' field as it's not used (Roland Scheidegger)
rivers/dri/r300/r300_vertexprog.c
|
d6213e6023ca96660db5ddc909acad9f21c3f2e9 |
08-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. Clean up the r200 vertex program code a bit.
rivers/dri/r200/r200_vertprog.c
rivers/dri/r200/r200_vertprog.h
|
37474eca68ce5be9ac3746f700bc220b0f4c5420 |
07-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
prevent possible program mix up with sw vps (Roland Scheidegger)
rivers/dri/r300/r300_shader.c
|
9248882ca27b289180a76262aa3d9b26c0cb0e8b |
07-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
prevent run_arb_vertex_program from running tnl programs unless ctx->_MaintainTnlProgram is set
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
nl/t_context.c
nl/t_vb_arbprogram.c
nl/t_vp_build.c
nl/t_vp_build.h
|
9ba2006594a54173956b2af69055f633fa813bf8 |
06-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
make sure tex format is supported.
rivers/dri/r300/r300_texstate.c
|
2f42558050fb9330719c13a6fb5b1f6a5fc14179 |
06-Jun-2006 |
Aapo Tahkola <aet@rasterburn.org> |
various fixes (Roland Scheidegger)
rivers/dri/r300/r300_vertexprog.c
|
6d1f98da2ba921fa18cd19ef43f2760549a2aea4 |
03-Jun-2006 |
Ben Skeggs <darktama@iinet.net.au> |
A couple of quick fixes, the original had some half-finished modifications..
rivers/dri/nouveau/nv40_vtxprog.c
|
ac9d1ecec2ad5f55742fa1ccc4853f560ca7fcd9 |
03-Jun-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Another TODO, so I don't forget..
rivers/dri/nouveau/nv40_vtxprog.c
|
5411b96c5fc9b50ca4cd1ae61eb9d8b00fe5ff9a |
03-Jun-2006 |
Ben Skeggs <darktama@iinet.net.au> |
Add start of vertex shader backend, will most likely not work correctly yet
rivers/dri/nouveau/nouveau_shader.c
rivers/dri/nouveau/nouveau_shader.h
rivers/dri/nouveau/nv40_reg.h
rivers/dri/nouveau/nv40_vtxprog.c
|
4cb9fffa7e98a03443b9b9866f65f3c1b4c08d89 |
03-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() call and cast. Simplifies the code a little bit elsewhere.
ain/bufferobj.c
|
6f172f7abadc511504968ac795ef8e481bb93d19 |
03-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/bufferobj.c
|
98c791b543c4ba86b8bb54488bd872b33b10b1aa |
03-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
implement arb_vertex_program in hw for r200. Code contains still some hacks, generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vertprog.c
rivers/dri/r200/r200_vertprog.h
rivers/dri/r200/r200_vtxfmt.c
|
21fbdb14e9a189272fd7398be525e087dbf017dc |
02-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
set per-context GL_DRAW_BUFFER state regardless of currently bound FBO
ain/buffers.c
|
2b04dd9d2cba6ec3506e78016e64cffce6e8abf7 |
02-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix depth-component test to allow rectangular textures
ain/teximage.c
|
b302419abe96cdb81878913c164d7ae2209ddcda |
02-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove code dealing with drmMinor version < 6 since all radeon drivers request at least drmMinor 6 anyway.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
|
5377ac80dcabc717a93b270fbd84260b2dfe9d7a |
02-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the intention as drm seems to never return EAGAIN) in all radeon drivers.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.c
|
fe57ed4f2566e30384d0c786998842405d8e8990 |
02-Jun-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix extended swizzling in vertex programs by introducing special swizzle instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code.
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbprogram_sse.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
e689a7fc6a743e15b1534732c8973119a39dd928 |
31-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
SWZ is nearly identical to MOV. the difference is that SWZ supports per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
rivers/dri/r300/r300_vertexprog.c
|
49db174df5ede38de6d41b05dd544186a15ffe18 |
31-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
pass src->NegateBase as-is in t_src() now, as the flags are equivalent to r300's VSF_FLAGs now
rivers/dri/r300/r300_vertexprog.c
|
9400550c168f685e82a2ab7bfaf3344f985127ca |
31-May-2006 |
Claudio Ciccani <klan@users.sourceforge.net> |
Fixed bug with multiple contexts. Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear().
rivers/directfb/idirectfbgl_mesa.c
|
a8c4242395b1bce0eac2a20243e5289414a9f511 |
31-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Define new NEGATE_* tokens for setting the src register's NegateBase field. Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components.
hader/nvfragparse.c
hader/nvvertparse.c
hader/program_instruction.h
|
e4cb9cd167b2993a4d73871b80216af9766f130b |
31-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove redundant 'const'
ain/texenvprogram.c
|
8333012b56ba41380859eb78dd42b76d84788877 |
30-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
free convolved image / fix mem leak (bug 7077)
wrast/s_readpix.c
|
1d0fa45bc1f54b073e026f494f5fd39b838ac976 |
30-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
minor code cleanup, no actual changes
rivers/dri/r300/r300_vertexprog.c
|
6be8127ea4151a4f3da933d6b2cca917ed3dbfad |
30-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, which is actually handled
hader/arbprogram.c
|
4decba90bed688af01271abe9ccb3d42b491b3a5 |
30-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Remove not needed forward declaration.
hader/slang/slang_compile_function.h
|
b20cdf1d2829eb8d9638d6a23a26e4a4c11c4e90 |
29-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already done in parse_generic_attrib_num()
hader/arbprogparse.c
|
919f6a070c871a8e60053306145f0971c69d699b |
29-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
generic attribute 0 wasn't handled correctly (Jesse Allen)
hader/arbprogparse.c
|
76b6e88e56a065eb7c169e9d2da57633fb83c486 |
27-May-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix some whitespace in previous commit
rivers/dri/r200/r200_sanity.c
|
8a6182105772280e2727de4a00809c8fb7b13c87 |
27-May-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/server/radeon_reg.h
|
04fa003a501298500607c4e83e58cb0291ddc6e4 |
24-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem to be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
ain/state.c
|
65a51c0d6243f07491578e95b85bc483f923b817 |
24-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Roll _mesa_free_parameters() into calling function (the only caller). Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups.
hader/program.c
hader/program.h
|
5a67af97fabbc712bd8f1f944b485e86e93b3c03 |
24-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a small memory leak in _mesa_add_state_reference()
hader/program.c
|
1798d9a8a4a779746f5e665357b6bc10a2894d0b |
24-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_align_realloc()
ain/imports.c
ain/imports.h
|
0c1cbd5805e27914eba7278c51bdd7b3c42b4c52 |
24-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use GLbitfield for StateFlags, improved comments
hader/program.h
|
d9736db6676948e06712d4bcba46b7040452f870 |
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add const qualifiers in a number of places.
rivers/dri/i915/intel_tris.c
ain/mtypes.h
ain/texenvprogram.c
wrast/s_context.c
nl/t_vb_arbprogram.c
nl/t_vp_build.c
|
f5a2ac95c30b0d4cecc47aeebfb056ec6ac8e511 |
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
init mask=0 to silence warning
rivers/dri/r300/r300_fragprog.c
|
fe9026d04abd0e11799f1369f953f5d7ce053a54 |
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
make mgaSetFence() and mgaWaitFence() static
rivers/dri/mga/mgaioctl.c
|
a6f7f10efadb3c3e1aea6502b1c444189ba77124 |
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototype i915_udpate_fog() to silence warning
rivers/dri/i915/i915_context.h
|
b8f2f6fee147f423438ef7044984b1d7cfb5a428 |
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In cache_item(), there was sizeof(void) expression. Replace void *key parameter with const struct state_key *
ain/texenvprogram.c
|
17befff800084f9bbcfda86d2e087e646959f1f1 |
22-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_INDEX_OFFSET didn't work with CI->RGB mappings. Added some const qualifiers.
wrast/s_drawpix.c
|
8065c120c45e89e49ca9f707408fd7bd14db6b23 |
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
memory usage fixes for glean/conform, use a better hash function
ain/mtypes.h
ain/texenvprogram.c
|
64da16146fed68605f83ccf3b64075c0d5b6f052 |
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo
ain/texenvprogram.c
|
5ddc53f899598396003ec6c723f8132c76aafe79 |
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Better caching for texenv programs. Initialize some values correctly.
ain/mtypes.h
ain/texenvprogram.c
ain/texenvprogram.h
ain/texstate.c
|
7e3fa7e837aaf687996abdd8511f6bf32e2c9097 |
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Speedup the venerable mm.[ch] allocator with doubly linked lists and a separate list of free segments.
ain/mm.c
ain/mm.h
|
b0b6d1abe5c7e629baebd4bf3d3ee3b17ba6ff08 |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In gl_texture_image, replace ImageStride with an ImageOffsets array. Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array.
rivers/dri/savage/savagetex.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
|
04d5d1641531bfa814c1c4f279bd5cc6cec51210 |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some redundant functions, fix-up reference counting
ain/rbadaptors.c
|
89ffca52ac18103ebaa754241a882ea8438ff9c4 |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _mesa_remove_renderbuffer()
rivers/osmesa/osmesa.c
|
7ac5b7b934544c27d87b4852c95efb379889f1dc |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _mesa_dereference_frame/renderbuffer() functions
ain/fbobject.c
|
b52f02121bdfc68fbbba732f3d107c296f03d885 |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer(). Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
ain/renderbuffer.c
ain/renderbuffer.h
|
2eb88c1752f3c2f2f858415a89fdfc96e6669fc8 |
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_dereference_framebuffer() to encapsulate reference count decrement, delete and locking.
ain/framebuffer.c
ain/framebuffer.h
|
cbb19930b3bd902e79e59fe7ca1d1943d72d84b4 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
some new comments
wrast/s_texstore.c
|
20e11b233277da7091ef5052f04208e344b05334 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove an assertion
ain/framebuffer.c
|
083f8111aac27f47feb2f35a10970fc40b940eb1 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some CHAN_BITS tests
rivers/x11/xm_line.c
|
68bc7df63813d7dba2f03e74f028317b7247e358 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace FORMAT var with RB_TYPE
wrast/s_spantemp.h
|
d44248ca00ad404cfc18c2c1f4c1817936ee4eac |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow rendering 8, 16 and 32-bit/channel images without recompiling. Uses new renderbuffer adaptors.
rivers/osmesa/osmesa.c
|
6a74f65c5876228cab96753d559d7d41fb465785 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
install renderbuffer adaptors when color channel sizes need to be reduced
ain/renderbuffer.c
|
e2db790a46a539ff5eee5b6f57862dbff149deab |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added rbadaptors.c
ain/descrip.mms
ources
|
3c30b351341589364a22e5590f319a6f92c7a19a |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Renderbuffer adaptors. When compiling Mesa with CHAN_BITS=16 or 32, these adaptors allow rendering into color buffers with smaller channel sizes.
ain/rbadaptors.c
ain/rbadaptors.h
|
23a5c57ceec4e7d555f1896a7ca825a9ac9969f6 |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor simplification
wrast/s_texcombine.c
|
0ca9082cbdf3c7a646a516b73b852fe7a8fd504c |
19-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
texture EnvColor needs to be converted to GLchan, not GLint
wrast/s_texcombine.c
|
787fd58186cbaffde7bf930f94a1a1bfa90a23b8 |
18-May-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Dont allow 16 tex units to be used at all.
rivers/dri/radeon/radeon_screen.c
|
0d957ca400045b2b21f5654eb1672b43c4c1950c |
18-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
change initialization of texcoords - not all C compilers support non-constant array initializers
hader/slang/slang_library_texsample.c
|
b99c801f733be48520af9ee9efe53edaef5d756f |
17-May-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
unbreak the build
hader/slang/slang_compile_function.h
|
cea0c74bcbed69c4d066be85e5fcb85ed8cb9764 |
17-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
add texture rectangle support for i815, I wrote the original patch about 2 years ago, I finally dug out an i815 and got it working
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810texstate.c
|
bd4256acfde303f559d99090519d4217c19f787e |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix typo.
hader/shaderobjects.c
|
0b9d7e477a5cdf1d7164bc4db56cbebbcff38fdc |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Add functions.
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
969c43108e0a5a9f4669d59b784dd8a065b52914 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Write attribs to slang machine.
nl/t_vb_arbshader.c
|
b4c590554992a2ce7d85283069d31cf7e51a34c2 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Change error message wording.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
b6e92d090c2f523ee4d9f53a095dd2144348d796 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Rename print() to printMESA().
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
563f8ad50a3534b9724374d4571580bb85eb5ef9 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix attrib handling.
hader/slang/slang_link.c
hader/slang/slang_link.h
|
21ef956e9a48ab21e724a480a592e17d651477e6 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Extend printMESA function to output also to shader's info log. Fix float-to-int conversion for x86 back-end.
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
|
a67330d157ffe05602a3163c946aa97e29cb6bb5 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Cleanup code. Change constructor prototype.
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_struct.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
|
d1b40400d64a8ab7f4dc64410e165e7c49d30a28 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Cleanup code.
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
ecf2e5b0a159b880c91859509e80d4ba81f30be6 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Change constructor prototype. Fix struct field accessing.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
|
d2b9e1c56074fdb6f04f6f509df150a0abb12963 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Remove carriage returns.
hader/grammar/grammar_crt.c
hader/grammar/grammar_crt.h
|
d88c67fd81f630f92889289e457b4a4634554ba6 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Add GetInfoLogLength and WriteAttrib functions. GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs.
hader/shaderobjects_3dlabs.c
|
a1a02e62034e051fb574ae6fea694a46290688c6 |
16-May-2006 |
Michal Krol <mjkrol@gmail.org> |
Cleanup GLhandle-to-object translation macros. Fix minor bugs.
hader/shaderobjects.c
hader/shaderobjects.h
|
5e2e96b6f010853abcc5a38fd7283768438003b2 |
15-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added a check_context_limits() function that checks that the ctx->Const.* fields are legal. May catch some driver development bugs. Called the first time a context is bound.
ain/context.c
|
20215ecc7ded503d7d9cb6e8ba2f7a9c1621dd15 |
14-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some unused macros
rivers/osmesa/osmesa.c
|
d77a165eacc44a7c644b1fe26064d62cba440e70 |
14-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLbyte/GLubyte/
ain/renderbuffer.c
|
ed875a4cb3cf194637d696b2660b98fdc3b95b0f |
14-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo, remove dead code
rivers/osmesa/osmesa.c
|
f1dbacc6adcd7efde02d9a8f7ab0b4a5cac1869b |
12-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
the r300 should only use 8 until Mesa can deal with this
rivers/dri/radeon/radeon_screen.c
|
5d7ab75b02b023bc3fb258362221d9cda49fc547 |
12-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
this should use the configured number not the MAX, this has no effect until the core mesa swrast number is fixed, just spotted this on the way past
rivers/dri/r300/radeon_vtxfmt_a.c
|
adc0490420fa834197a37ffd1e64430333294d02 |
10-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Clean up previous change slightly
ain/execmem.c
|
452be7e7ef0d9ac0205ce7b3277ad1f14558cc2c |
10-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Use a (much!) larger executable memory heap so that the glsl x86 allocations succeed. I'm not sure this is really necessary...
ain/execmem.c
|
008ed1df83735c72c2731c509a3665938d3c7209 |
09-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query.
ain/get.c
ain/get_gen.py
ain/texcompress.c
ain/texcompress.h
ain/teximage.c
|
5e4c39dc0e0fd6bc4324aa9030430822348aa3b4 |
09-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_compressed_texture_size() for GL_TEXTURE_COMPRESSED_IMAGE_SIZE query
ain/texstate.c
|
a5467697336f201abee19cba1521be80e5c87d3b |
09-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
two more texture compression fixes
ain/texstore.c
|
c3c19be8e0d0b13916cc128cf3c8e839935c912a |
09-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
More updates for texture compression. Added _mesa_compressed_texture_size_glenum() for validating the imageSize parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call ctx->Driver.CompressedTextureSize() - since that could return a padded size.
ain/texcompress.c
ain/texcompress.h
ain/teximage.c
ain/texstore.c
|
5999c5b620236fb6a996cf56759aec31f01c126b |
08-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a number of texture compression issues. Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_tex.c
ain/texcompress.c
ain/texcompress.h
ain/texcompress_s3tc.c
ain/teximage.c
ain/texstore.c
|
c93c18abf1950e1494f11166e3f52973efbd6b75 |
08-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix warning
rivers/x11/xm_tri.c
|
71b2504e0390fa19f133647c8686d830f8f40eb6 |
08-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
updates to dri drivers for recent stencil changes
rivers/dri/i915/intel_ioctl.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_stencil.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_ioctl.c
|
960973b2ecfffc3b09563851e86c863e5304f48f |
07-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added CHAN_BITS != 8 test
rivers/x11/xm_line.c
|
85bc17495b5fe263f288904aa97dcf16d7eb6910 |
07-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
misc clean-ups
ain/image.c
|
ca8b2351884e602f32b3e7ad23cf4beeae1c01fc |
07-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups around DepthScale/Bias
wrast/s_drawpix.c
wrast/s_readpix.c
|
0c7cbf0a7cbba93e4bcb2f0fdd0a7ea2ef4ebc94 |
07-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check for overflow when converting floating pt Z values to 32-bit GLuint.
wrast/s_copypix.c
|
9b20b68af16af6bd630e9a5ed5b56fdf837fa29f |
05-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for float->uint overflow in _mesa_unpack_depth_span()
ain/image.c
|
6717a7aca0aaab02bd9ef7b1a934f0853efdc953 |
05-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Define VERT_RESULT_EDGE
ain/mtypes.h
|
86740f1593d8fba66a368f98037897f7570a71aa |
05-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
remove temporary code from keithw, this in theory isn't used at the moment anyways unless INTEL_BATCH is turned on
rivers/dri/intel/intel_batchbuffer.c
|
2364d9abd3d95ef29cc7c169033f31f40863e5f0 |
05-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
Fix i915 driver after stencil changes in Mesa 6.5
rivers/dri/i915/intel_ioctl.c
|
ab377ce414ba5ca286bab0ddc8e80769bcb88656 |
05-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Release temporary
nl/t_vp_build.c
|
ee251d4313b18ca18b96667b0d2edf314d2601db |
02-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
remove some unneeded includes
rivers/dri/Makefile.template
|
698b04c735f32418a55df34e21f210fc81f0a2d1 |
02-May-2006 |
Dave Airlie <airliedfreedesktop.org> |
move the pkg config flags for libdrm to the bottom
rivers/dri/Makefile.template
|
c5b3343e6551b488d002b7a0612af5b5eb5b65e7 |
28-Apr-2006 |
Tilman Sauerbeck <tilman@freedesktop.org> |
added a trailing newline to pacify gcc
hader/slang/library/slang_shader_syn.h
|
6a769d97e3ad0c5275f918b9f36519d6c0254da3 |
28-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix second memory leak (bug 5557)
hader/arbprogparse.c
|
49a80ca2bcca1c1d9c341c332c5a4b07b6b3b2fd |
28-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix first memory leak (bug 5557)
hader/arbprogparse.c
|
c4fe46f0b8b45407ea40500b869ae1beca71063c |
27-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes for CHAN_BITS!=8
ain/colortab.c
wrast/s_accum.c
wrast/s_logic.c
wrast/s_texcombine.c
|
444cd293fd69d1848b2c55f75674d563e0582fba |
27-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted clean-ups, fixes
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
e814d5e89f10de0c20a5c35e317eeab89b47749b |
27-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace a bunch of casts with GET_XRB macro
rivers/x11/xm_span.c
|
edc16a5f7a89584490be0824a1d96e2f3426998b |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few stride computations in _mesa_texstore_rgba()
ain/texstore.c
|
e440bcf41a9d21d3e0b118472564eedaf09b44fe |
26-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix warnings.
rivers/dri/r300/radeon_span.c
|
d44c3e647fe99a3aa1175fcbd6a2179d7d1f17fb |
26-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
R300_SPAN_DISABLE_LOCKING env var
rivers/dri/r300/r300_context.h
rivers/dri/r300/radeon_span.c
|
a4ebd5f684768843a185e444eb41d0e1dfa56953 |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _glthread_INIT_MUTEX() call
ain/renderbuffer.c
|
65dccf377de51d6cbc15cb968eec85ba3f1febc1 |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an assertion
wrast/s_span.c
|
faee3f0f1e1d3e678aea64cc2c9775f8b7b00562 |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
rivers/x11/xm_dd.c
|
901ac21938e452966fbb89496dd72d9654e28548 |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old XFree86 tag
rivers/x11/xm_span.c
|
9c4fd26bcab7e4a5bd97a56deff89b8ea0ae5f1d |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update some tests for visual bit depths to use renderbuffers
wrast/s_buffers.c
wrast/s_triangle.c
|
2486267dda524b612879386aa5cea2bef98602ff |
26-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _TNL_FIRST/LAST_MAT indexes
rivers/dri/r300/radeon_vtxfmt_a.c
|
6acf1e93a291511cfb20b0e2aeda6e71ceb62a62 |
25-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Remove carriage returns.
ain/getstring.c
ain/imports.c
ain/light.c
hader/slang/slang_export.c
hader/slang/slang_export.h
hader/slang/slang_link.c
hader/slang/slang_link.h
wrast/s_arbshader.h
wrast/s_triangle.c
nl/t_vb_arbshader.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
94b30dc390f1fdd526c080080830016fad3e2ee2 |
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Put color index attribute into the 6th attribute slot. Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
rray_cache/ac_context.c
ain/api_loopback.c
ain/api_noop.c
ain/context.c
ain/dd.h
ain/dlist.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/rastpos.c
ain/state.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
wrast_setup/ss_context.c
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vb_light.c
nl/t_vp_build.c
nl/t_vtx_api.c
nl/t_vtx_eval.c
nl/t_vtx_exec.c
nl/t_vtx_generic.c
|
5bdc6fdebc0ab59a888fba15136eb4a0ee2790e1 |
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warnings
rivers/osmesa/osmesa.c
wrast/s_spantemp.h
|
095c6699f449ed4803f23e844cc0227743a9c3e1 |
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
No longer alias generic vertex attribs with conventional attribs for GL_ARB_vertex_program.
ain/api_arrayelt.c
ain/dd.h
ain/mtypes.h
ain/varray.c
ain/vtxfmt.c
hader/arbprogparse.c
nl/t_context.h
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_generic.c
|
f12ea2d402e8f6d29dfd40c731351ff210887b58 |
24-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
extended swizzle (bug 6727)
rivers/dri/r300/r300_vertexprog.c
|
263fff44b45e3ef0bb8ef19ebb8475a4662778de |
23-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated assertion
ain/renderbuffer.c
|
44a22a2c28ca0f7eb04fb18ef2a7077b4d31e20f |
23-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
enable feedback rendering
rivers/dri/r300/r300_render.c
|
a55842b9b310749b410e38fa3a5e1928f5f572b5 |
23-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
disable hw locking when entering span rendering for now
rivers/dri/r300/radeon_span.c
|
95cc7a6dacde330b6f30e4ef57e99c6c04387325 |
23-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
need to hold before freeing
rivers/dri/r300/r300_context.c
|
aa93b4ced05708c20d095fdd905ebd6cd9f634cd |
23-Apr-2006 |
Benjamin Herrenschmidt <benh@kernel.crashing.org> |
Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing all elts to 32 bits (it would be possible to do a half word swap for 16 bits if somebody is interested) and by using the input route mecanism to swap ubyte's properly in r300EmitArrays. Tested with cva, varray and quake3
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
2f92adb9e03c84dc6a6e0f90ba1a5c1ada4d6964 |
22-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix yet another issue with popping GL_DRAW_BUFFER state with respect to single vs. multiple outputs and what kind of FBO is currently bound.
ain/attrib.c
|
e60ce392d8f49948b7b5a644e23c3174d04ac6af |
21-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Ensure all GART allocations are freed on context destruction, rather than waiting for the DRM to reap them at process exit. Fixes (fatal) allocation failures in AIGLX configurations. Reviewed by: Aapo Tahkola
rivers/dri/r300/r300_context.c
|
ca98203cd9fe7d890091cd41fb310aea33d7c314 |
21-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Fix format strings for LP64
rivers/dri/r300/r300_cmdbuf.c
|
b87957d59ab961a91b5151fc8af17464a6a8edef |
21-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass color index as float, not int
ain/dlist.c
|
ba999b1a3ff874714f90ad23f14effa6fcceee8a |
21-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
depend is not a .PHONY target
rivers/dri/Makefile.template
|
34ba50522a843f52060e2b554e07f7dc7da8413a |
20-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
limit max program/param length to 255 (spotted by sroland)
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
8a97946e0a25aff2d56bbaf3ed20ba1588129993 |
20-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check glLoadProgramNV len < 0 (bug 6679)
hader/nvprogram.c
|
45e05dccd9f6759eca2248c9e2523e735ecfd7f9 |
20-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
error_attrib() should generate GL_INVALID_VALUE, not GL_INVALID_ENUM. New doxygen comments, misc clean-ups.
nl/t_vtx_api.c
|
3538f81513389b75cbd9e9b04a3723ce9c15b497 |
20-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make most of the _mesa_noop_*() functions static. Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct.
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.c
ain/api_noop.c
ain/api_noop.h
|
34b3b40af97d2db6d46dcce46c4c49c198621fce |
20-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
some tentative code for _mesa_update_framebuffer_visual()
ain/framebuffer.c
|
b5d76b68588c3be2a6b73f80e41a169716463644 |
20-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
SrcReg->Swizzle is always initialized to SWIZZLE_NOOP, and if the program specifies a 2/3/4-compontent swizzle suffix, SrcReg->Swizzles is just ORed against the new component values, without resetting it first. Attached patch makes tests/vptest2 pass. From Tilam Sauerbeck bug 6673
hader/nvvertparse.c
|
2f8496b5655cbd66711745fcfd87e0e528c50229 |
18-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Remove carriage-return chars *ONLY*.
hader/slang/library/gc_to_bin.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_version.syn
hader/slang/library/slang_version_syn.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_analyse.c
hader/slang/slang_analyse.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_struct.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
hader/slang/slang_library_noise.c
hader/slang/slang_library_noise.h
hader/slang/slang_library_texsample.c
hader/slang/slang_library_texsample.h
hader/slang/slang_mesa.h
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
hader/slang/slang_storage.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
hader/slang/traverse_wrap.h
|
d55de658b559437272a88a5e8743304996044fff |
18-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Add support for ARB_vertex_shader attrib binding and query. Clean-up ARB_shaderobjects code a bit.
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/shaderobjects_3dlabs.h
hader/slang/slang_export.c
hader/slang/slang_export.h
hader/slang/slang_link.c
hader/slang/slang_link.h
|
fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a |
17-Apr-2006 |
Kristian Høgsberg <krh@redhat.com> |
Add .note.GNU-stack section to assembler files to avoid the default behavior of requesting executable stacks.
rivers/dri/r200/r200_vtxtmp_x86.S
rivers/dri/radeon/radeon_vtxtmp_x86.S
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
nl/t_vtx_x86_gcc.S
86-64/glapi_x86-64.S
86-64/xform4.S
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/common_x86_asm.S
86/glapi_x86.S
86/mmx_blend.S
86/read_rgba_span_x86.S
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
13a2d6698fce050732b421107a2a92b37a5e01f8 |
17-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
More context.
rivers/dri/nouveau/nouveau_context.h
|
ddf936193a574ce7efd387b0e3bbec51998736f8 |
17-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Changed invalid context fields to valid ones.
rivers/dri/nouveau/nv10_swtcl.c
|
a7d88857680d3d4d2a0788f18c49149dd2118b6f |
15-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
State changes.
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nouveau_state.c
|
b0c4cfed608f21f255b8637ec5ff499fc36ee302 |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
More work on the tcl code... still have to make my mind on a number of things
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv10_swtcl.h
|
97d11ecd6c5d23f682db5c6ef7dfec89185ae307 |
15-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Add more feilds to context.
rivers/dri/nouveau/nouveau_context.h
|
911ec211a5bb801ef3d445f75c705259e53c7597 |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
ooops
rivers/dri/nouveau/nouveau_context.h
|
4c850f346bde46fef009e43ec46aaac709e8da5a |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Added render index field to the context
rivers/dri/nouveau/nouveau_context.h
|
576b3433dacd1f36fe5bb33dcf6c1dbadfe152c9 |
15-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Cleaning
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
|
4b2d8b46c8c68b0d10d9d3fa4a3820fa44ef4738 |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Silence the lock warning
rivers/dri/nouveau/nouveau_span.c
|
b7d4314fe1619223caf2f59b1b28e05d7ff0e662 |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Added vertex attributes to the context
rivers/dri/nouveau/nouveau_context.h
|
199512968be28aa5a4f41c4f30e0e311e31b252a |
15-Apr-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Cleaned stuff in the tcl code
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nouveau_tris.h
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv10_swtcl.h
|
5fd11335f655e27515d9bf92fef5d9a8cd4f6bb5 |
14-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Added the beginnings of state (not much there yet). Fixed some includes.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_state.c
rivers/dri/nouveau/nouveau_state.h
rivers/dri/nouveau/nouveau_tris.c
|
9326962f065e8728104e7218f5ef25a5ed958789 |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence a few -pedantic warnings. Remove ^M chars. Replace _mesa_get_string() with simpler copy_string().
hader/shaderobjects.c
|
a76c216b3709c2f6b29f3265d58f3c1d6f0a1559 |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/MaxTextureUnits/MaxTextureCoordUnits/
wrast_setup/ss_context.c
|
730b26556bf0f82385059dfcb7488f4b9b349118 |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
When popping GL_DRAW_BUFFER state, need to re-do error checking since validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this.
ain/attrib.c
|
61608ecfa70fffaee083c37ce2b0138566b0e327 |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence -pedantic warning
ain/occlude.c
|
767ffdcc9f5d15c88fc4c2f1c5592b7739bd31dd |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't need s_depth.h
wrast/s_triangle.c
|
ee4e75bd6f768b7210436feeb32b4545ed62e025 |
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
ain/matrix.c
ain/mtypes.h
ain/texstate.c
wrast/s_context.c
wrast/s_span.c
nl/t_array_api.c
nl/t_vb_arbprogram.c
nl/t_vb_arbshader.c
nl/t_vb_program.c
|
da238ee06a8d169eb590aa5e50998136f1b5aba5 |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix comment about MaxTextureUnits, needs to be min of coord and image units. See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants.
ain/config.h
ain/context.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
|
564b2aa2ef8d5b859bb51d39024373a4865e93e9 |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence minor warnings
nl/t_vp_build.c
|
13abf91b42b00c7eb64c373aff3a4c1bb3d8fb7f |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to fix some -pedantic warnings
ain/fbobject.c
ain/texenvprogram.c
|
f799745f50ff2e61f535816d623e643cc1eac944 |
13-Apr-2006 |
Jeremy Kolb <jkolb@freedesktop.org> |
Some compile fixes.
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nv10_swtcl.c
|
ad38681a00fc13449b76c2bf1fde0d31b0f9aec8 |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set array normalization flag for normals, colors (Keith)
ain/varray.c
|
a186c8078813b966f7860e3660045b6e79f890e9 |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated tests for defining __FUNCTION__ (Dan Schikore)
ain/glheader.h
|
09c8e41955f16592386813d23efe17bbba555d79 |
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added 'const' (Dan Schikore)
lapi/glapi.c
|
c82eadd1578d5a098d22225bf9fb61dc148f25e8 |
12-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.
rivers/dri/r300/r300_state.c
|
da21ca988a42f7aac4f093e3454e5e6bf451e62f |
12-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing 'union' keyword
rivers/dri/r300/r300_state.c
|
ba23f699f03e45a7519cb41cc853deba686ff8d9 |
11-Apr-2006 |
David Reveman <c99drn@cs.umu.se> |
FBConfig support for EXT_tfp
rivers/dri/common/glcontextmodes.c
|
bb38cadb1c5f2dc13096a091bdaf61dc3e3cfa4d |
11-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_texprog.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_tris.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_tris.c
rivers/dri/unichrome/via_tris.c
ain/api_noop.c
ain/bitset.h
ain/dlist.c
ain/mtypes.h
ain/state.c
ain/varray.c
hader/arbprogparse.c
hader/arbprogram.c
hader/nvvertexec.c
wrast/s_arbshader.c
wrast/s_context.h
wrast/s_span.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
nl/t_context.c
nl/t_context.h
nl/t_save_api.c
nl/t_vb_arbshader.c
nl/t_vtx_generic.c
|
d90ad3fd876860b7a2ba763c031e46f76e4c47c6 |
11-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
get fog going(for real)
rivers/dri/r300/r300_state.c
|
3ed16bd9cce8809bde1a1afdaecb0e78825182a5 |
11-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
rectangular fp16 fixes (Ewald Snel)
rivers/dri/r300/r300_texmem.c
|
6c419be40201323c83e5428f6de148be1eded28e |
11-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fog support (Ewald Snel)
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
3a5ec72125075cbb59eda5c6ed6672524f4b48b3 |
11-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_debug() instead of message() - fixes poor formatting of output
86/common_x86.c
|
8c3d15ce28f90e41002eaddc8ac9304c8b3dbab9 |
09-Apr-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Destroy the GL context after driDestroyTextureHeap, because the driver's DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
83a43aca233cfdf8f8cac26895ef4ea4105d96af |
08-Apr-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix some conflict happenings at context destroy by freeing buffers immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
ff2b910dd1a035f3a6f512cda0521d1167708939 |
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
regenerate SPARC assembly dispatch (bug 6484)
lapi/Makefile
parc/glapi_sparc.S
|
1936019cd1e59929e9fc151d367f42f910941446 |
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace >&/dev/null with >/dev/null so it works with all shells
rivers/dri/Makefile.template
|
9f3bcd87db5641e339edcd1b0fcc4aff94d705c6 |
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.5.1
ain/version.h
|
e2af1da1d3578f23e67ab9e259a9d59fec34f25a |
07-Apr-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix some warnings on x86_64
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_tex.c
|
9d3de643d1cd84cd0f48ff72ab7218f20b158c28 |
07-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
make miniglx use libdrm properly
rivers/dri/Makefile.template
|
51faca127005c41277df76bc8eafc8fd64ca0673 |
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex cull bit.
ath/m_debug_clip.c
ath/m_xform.h
nl/t_vb_arbprogram.c
nl/t_vb_arbshader.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_vertex.c
|
f51a32e82a907363a77d91b855e519f43191cad8 |
07-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix line clipping bug 6512. This fix is to discard the line if both dot products are negative.
nl/t_vb_cliptmp.h
|
f4d5b1da7bd9084eda4745b1d4cb1916ce05e257 |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set DRIVER_DEFINES instead of DEFINES to fix duplicate flags problem
rivers/dri/r200/Makefile
rivers/dri/r300/Makefile
rivers/dri/radeon/Makefile
|
0dcab2a86a6e842571eb194591deb397bb98c023 |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace DEFINES with DRIVER_DEFINES. If a driver needs to set extra flags, do so with DRIVER_DEFINES. This eliminates the duplicated flags we were passing to each cc command.
rivers/dri/Makefile.template
|
c1c954e81baf9742bce5f73b622dba2016e0416a |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused var
wrast/s_depth.c
|
a1a9858ca31e47b1e567b2ba94ffbf01c20231a6 |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update a couple MESA_FORMAT_Zxxx occurances
rivers/dri/i915/i915_texstate.c
|
a9bcf751030895494fc098f8d0ff56b2496bd993 |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.
rivers/dri/intel/intel_tex.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texrender.c
ain/texstore.c
ain/texstore.h
wrast/s_depth.c
wrast/s_depth.h
wrast/s_texstore.c
|
5722338ea5376cea562f27cad3bce29276930f37 |
06-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
do additional checking for setting up depth/stencil wrappers
ain/framebuffer.c
|
f08f233d6f0d78bb5f5b27e97351754329845149 |
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the code that checks for duplicated framebuffer attachments (which generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT). This was removed in version 117 of the GL_EXT_framebuffer_object spec.
ain/fbobject.c
|
e80b9c24f4211dd99729eebbd4ed69f89a42cf40 |
05-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
add tiling/fence support for the miniglx driver
rivers/dri/i915/server/intel.h
rivers/dri/i915/server/intel_dri.c
|
2e7af79f48a7bfa37c682ba8ab3426b4701fe58c |
05-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
don't waste the reserved memory, take an approximation of the pool allocator from the X.org driver - not as complicated
rivers/dri/i915/server/intel_dri.c
|
c87809c9ed3579cdbd145479a3e55e4058489bf7 |
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some comments/docs
ath/m_translate.h
|
9ebe3b6d369c946e41b5f6a684a4ac4e3509b67c |
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check/use texture border color when sampling depth textures. (bug 6498) Silence some warnings.
wrast/s_texfilter.c
|
28b014ee256290eb0494b967e40c475c0c895f57 |
05-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence minor compiler warnings (-Wextra).
ain/buffers.c
ain/buffers.h
ain/depthstencil.c
ain/fbobject.c
ain/framebuffer.c
ain/matrix.c
hader/nvfragparse.c
|
027bb77e02cf38c553d1396a348783ddc1b7913c |
04-Apr-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
We always have a back buffer. Fixes visual problems.
rivers/dri/intel/intel_screen.c
|
f8ca99d697e428936cea0c7c7fc03352cf909cc6 |
04-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
use gart base from drm not try to work it out ourselves.. bump radeon client to need 1.6 drm where this first appeared.. this fixes r300 on PCIE
rivers/dri/radeon/radeon_screen.c
|
6a9f0a27c3853738e4bbfb33e8b20464a7d92923 |
04-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
switch to card_type rather than IsPCI, doesn't change any functionality yet
rivers/dri/r200/r200_context.c
rivers/dri/r300/radeon_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
|
b7339d70237ffb460f158c61860ca225fec02e81 |
04-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Fix texcoord interpolation for fragment shaders.
wrast/s_triangle.c
|
b4e9750bf4996ca5bb622bbbe28be4f071811bc6 |
04-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/slang/slang_analyse.c
hader/slang/slang_execute_x86.c
hader/slang/slang_export.c
hader/slang/slang_export.h
hader/slang/slang_link.c
hader/slang/slang_link.h
|
607b61a994d8dca150d5611b18db9b55755f73b4 |
04-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Bit set.
ain/bitset.h
|
1a5fecb4d6975418da055891f6899a9f4aaa0b31 |
04-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Return GLSL version string (1.10).
ain/getstring.c
|
ae76be49eb4954a691b765077fc77875964b37e1 |
04-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
Define MAX_VERTEX_ATTRIBS to 16.
ain/config.h
|
76a0797c3263edf319e8c98b04b8ef52aeed7380 |
03-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Bug #5754: Allocate texture memory correctly. (Richard Drummond)
rivers/dri/tdfx/tdfx_tex.c
|
a9cc078b0e4340d36da2fdef08d45987f8e67145 |
03-Apr-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Fix problem reported by Bill Newman in read_rgba_pixels for 16 and 32 bit (GDI driver). Bug would cause the wrong pixel to be read if more than one pixel requested and could cause memory access violations.
rivers/windows/gdi/wmesa.c
|
edd270228708e586f07d24f2b61d7014bfcf9f58 |
03-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
add miniglx sources to i915
rivers/dri/i915/Makefile
|
225148ea0719a28d9b4eb286c4ab2bac52610bb3 |
03-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
if DDX is -1 don't do DDX check
rivers/dri/common/utils.c
|
a824813d22abf6f93dcabd7bc20fb4b1aa2cc669 |
03-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
use Width
rivers/dri/radeon/server/radeon_dri.c
|
5bb5a1908f675360c4629b366a2cd2aa5791bcb8 |
03-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
add pitch support and use new Width
rivers/dri/i915/server/intel_dri.c
|
b927a75979f9bbabca6e3b2601f222d29d70df49 |
03-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Coverity #459: Silly off-by-one error.
rivers/dri/common/glcontextmodes.c
|
05ddc4a6c59f4bd288d322594afe4ac561d07fa7 |
03-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to be _TNL_ATTRIB_MAX long so that's not a valid index (woo zero based indexing). This code still looks wrong though, the asymmetry between _tnl_copy_to_current and _tnl_copy_from_current has me worried.
nl/t_vtx_api.c
|
b3208c2de9ba2ba5c32af1fc6b11fec9418256ed |
03-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Coverity #567: Fix a memory leak on a failure path.
rivers/dri/common/texmem.c
|
1ee92f984b31b1ba2653f51bf739a2e03f386c63 |
03-Apr-2006 |
Adam Jackson <ajax@freedesktop.org> |
Coverity #650: Fix a memory leak when near OOM.
rivers/dri/tdfx/tdfx_tex.c
|
b100484145d3518e4896d756b1ceccf61382c569 |
01-Apr-2006 |
Daniel Borca <dborca@users.sourceforge.net> |
Initialize renderbuffer size.
rivers/osmesa/osmesa.c
|
278736ff6f0659163e69392cf9e96006138746ca |
01-Apr-2006 |
Dave Airlie <airliedfreedesktop.org> |
These messages really should be printed all the time, users want to know this not have to set debug for it
rivers/dri/common/utils.c
|
482d9dd21ddb7293a430ee1b34b6087391b064e1 |
01-Apr-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Don't index box by the box's index within numClipRects; just dereference it. Fixes drawing with more than one cliprect. (Keith Packard)
rivers/dri/intel/intel_batchbuffer.c
|
9e8659f346d432b6e51a47e749995bb93ec40a1c |
01-Apr-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp, like other drivers. Failure to do so resulted in incorrect buffer sizes for resized windows.
rivers/dri/intel/intel_context.c
|
3a3e63dc4fc8b34de7e61607d0d69cf3a77255ca |
31-Mar-2006 |
Daniel Borca <dborca@users.sourceforge.net> |
DMesa now uses OSMesa as a back-end.
akefile.DJ
rivers/dos/blit.S
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/null.c
rivers/dos/null.h
rivers/dos/vesa.c
rivers/dos/vesa.h
rivers/dos/vga.c
rivers/dos/vga.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
|
29d833bd5299860f9e3fed066df4a91931a5de67 |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Enough testing already
rivers/dri/r300/r300_ioctl.c
|
f2ad1b60c0da11283b399008f491792790cea294 |
31-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_screen.c
|
df3d4e0bb9ce40b3380734cf4f209a7363d5dcfd |
31-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix the fetch_texel_ci8() code to deal with floating point color palettes. Fixes Quake on Windows bug. (Karl Schultz)
ain/texformat_tmp.h
|
6652dc8aac79265190efa0a90ebadab8831c6cca |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
free rs300 and ban r350(according to r300.sf.net)
rivers/dri/radeon/radeon_screen.c
|
7da1daf0a2d45ff90282f0dfb4305d20f027ff1e |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
make u_list adjustable
rivers/dri/r300/radeon_mm.c
|
ef5b48dea17098d95ec394cefb4520b8401ea5ab |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
warn about broken dxt 3/5
rivers/dri/r300/r300_texstate.c
|
2cd4056fae0c4a4dfaf25d78be8343d03d7c9da8 |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Dont rely on writebacks
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/r300/radeon_mm.c
|
fb0175db931e1b1457b9b7ea2faa44f07d549266 |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
disable r300 chips. R300_FORCE_R300 to force
rivers/dri/radeon/radeon_screen.c
|
aa70d92a1372cf471004688d25df05912532e1b1 |
31-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
More meaningful warning.
rivers/dri/r300/r300_render.c
|
aba49671500b4192ea92c658ccaef514407d508b |
31-Mar-2006 |
Eric Anholt <anholt@FreeBSD.org> |
The pitches of the driRenderbuffers are in bytes, so no need to multiply by cpp. Fixes software fallbacks. (Keith Packard)
rivers/dri/intel/intel_span.c
|
174ce730c6c9739121c02c7d58e7d8be377d2231 |
30-Mar-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Clean up data structures, finishing off some of the cleanup work suggested by Brian. Now also creating two renderbuffers, so apps can now switch with glDrawBuffer.
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
823c581f7cbb90239d3f31f721cabd5bbf88dad9 |
30-Mar-2006 |
Adam Jackson <ajax@freedesktop.org> |
Revert my change from 1.37 as being bogus (see ensuing list discussion for rationale).
ain/api_arrayelt.c
|
c3f2c287cec8457a9830fd04901e4c13e99fd260 |
30-Mar-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Fix logic error in viewport function so that we still resize the buffers if the viewport and the window both change to the same new size. This lets the gloss demo work with the -f option.
rivers/windows/gdi/wmesa.c
|
9e81d6ae3a6db9831d6aea0fe4d92722176e9f74 |
30-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fields
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xmesaP.h
|
94d6bf883b3c2bfa52e178aa8abf5929ff524949 |
30-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Init the Red/Green/Blue/Alpha/Depth/StencilBits fields in driNewRenderbuffer()
rivers/dri/common/drirenderbuffer.c
|
84c5d0a789d40f625932e4006cdde19eca2f5558 |
30-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments regarding assertions
ain/framebuffer.c
|
dd7074736fa90f652a22da25b064bb20247b8513 |
30-Mar-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Use [][3] for write_rgb_span_16
rivers/windows/gdi/wmesa.c
|
87af12dbdcb078b95391d57dabe53ce17b19f651 |
30-Mar-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Fixes from Brian to help migrate to render buffer DD interfaces. Also fix bug in the viewport function that was using the viewport size to resize the buffer, when it should have been using the window size. Fix bug in write_rgb_span_32 where the incoming pixel data parameter was coded as a [][4] instead of [][3]. Now all the demos work correctly except singlebuffer.
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
4ecb9f05321f20fd293b6cdeb26a7d0aab4e728f |
30-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
Fix up some incorrect pointers and clear screen
rivers/dri/i915/server/intel_dri.c
|
8b186e36957ca9a91a65e4a55655fb7b7f61b1ab |
30-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
add initial miniglx files for i915, not integrated yet
rivers/dri/i915/server/intel.h
rivers/dri/i915/server/intel_dri.c
|
75a8383e8d9940bd933dea1ef3b33d8321a6a723 |
30-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange(). This is a temporary fix for the DRI drivers. Should really only have to update the matrix via _mesa_update_state().
ain/matrix.c
|
920023240c2fc42675f318732b43bdc6f339113c |
30-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
put braces around RENDER_SPAN macro when called, not when defined. Fixes -pedantic warnings in x11 driver
wrast/s_triangle.c
wrast/s_tritemp.h
|
3a6d968f37683835bd92b1b853e0ac8cadd0fdef |
30-Mar-2006 |
Kristian Høgsberg <krh@redhat.com> |
Fixes to silence warnings in code generated by glapi scripts.
lapi/Makefile
lapi/glX_proto_recv.py
lapi/glX_proto_size.py
lapi/glapi.c
|
db79d2abacfc946e80ae3ca6a27953925ccf50b9 |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
ain/buffers.c
ain/buffers.h
ain/context.c
|
c19de0b7f619e0e3677fc9b19bd63a4809e8b715 |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
FP textures and fixes (Ewald Snel)
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
e5b6eee15d4ca3feff8c2759595b1327afa584c3 |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix components initialization in two places (Ewald Snel)
ain/texstore.c
|
006e183b6edb4d4a7cce69c42939ec24fe41578d |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
move NumNativeAlu/TexInstruction assignments (Ewald Snel)
hader/arbprogparse.c
|
180b0dab8b87ef7987b9f2c44068d1eea3f54939 |
29-Mar-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Removing <CR> Modified Files: Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c Mesa/src/mesa/main/mtypes.h ----------------------------------------------------------------------
ain/fog.c
ain/hint.c
ain/mtypes.h
|
555478fed6240db06db364716d40ccfd235b466b |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New code for rendering to depth/stencil textures. Re-org of the renderbuffer wrapper code.
ain/texrender.c
|
2742c4e4db63d61f585c014103eaeadffa8e0833 |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
new tests for GL_DEPTH_STENCIL_EXT
ain/texstore.c
|
2b430ef56a5a1730843f3f056dfaa9ef9a0901bd |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few new assertions
ain/texformat_tmp.h
|
2526152a107e4323161b95188e767620c4998639 |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a GLuint vs GLushort test, new assertions
wrast/s_depth.c
|
519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae |
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the computation of the viewport matrix into a new update_viewport_matrix() function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
ain/matrix.c
ain/mtypes.h
ain/state.c
|
3076557ca3df9d1e53c10e1279d8b3bb8e87cf2a |
29-Mar-2006 |
Karl Schultz <kschultz@freedesktop.org> |
Update for new Mesa entry points. I need to change the python script that generates this file to the new XML scheme, but for now, a manual update is OK.
rivers/windows/gdi/mesa.def
|
c61763b5d26fdde05d3f301b8c0bdb609cd5b16f |
28-Mar-2006 |
Daniel Borca <dborca@users.sourceforge.net> |
Match pixel addresses with `compute_row_addresses' in RGB mode (also obey RGB/UNSIGNED_BYTE rule).
rivers/osmesa/osmesa.c
|
08e62a147618ac796f5e548bdaa3380342ec2a78 |
28-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_state.c
|
0e26ca083441e3c76ddbae3699befde92b4933dd |
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment about framebuffer's Visual field
ain/mtypes.h
|
9f6ff49650646fcac29289ebabd7269c1795deed |
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
update conditional for render to GL_DEPTH_STENCIL texture, check for valid teximage before calling ctx->Driver.RenderTexture()
ain/fbobject.c
|
c7a5d528c7e5f4812b423bf4c091d21c34af3cf1 |
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
a little code movement so we don't make invalid casts from gl_renderbuffers to xmesa_renderbuffers
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
|
b8915340eab706776244e04547f64444f0ff2f8b |
28-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix #6072 (Keith Whitwell)
ain/texenvprogram.c
|
1155f64cc094fcc865f55f22d07ce8b5e1fa2f34 |
28-Mar-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Revert merge of new/experimental code from texmem branch.
rivers/dri/common/dri_util.c
|
255e8ebd581c34c5174783a191a12a3ac0c00cde |
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixel
ain/extensions.c
|
95174c4eb2dcd6fe687ffcddc82bf7b8bf242ebe |
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comment about byteswapping in _mesa_unpack_depth_span()
ain/image.c
|
f76ff7e4a7b728258606950f182a0a9a8cce791b |
28-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
make allow_large_textures 1 by default for radeon and r200, and consequently enable all texture units by default on those cards (3 for radeon, 6 for r200). Fix the usually forgotten DRIVER_DATE accordingly.
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
96aa403cee82a81fa09813a1b49c83255d045022 |
28-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove unnecessary typedefs causing compiler warnings
rivers/dri/r300/r300_context.h
|
004673d4d1345727cf21d4febf09e9920571393f |
27-Mar-2006 |
Daniel Borca <dborca@users.sourceforge.net> |
Disable `hidden' attribute for DJGPP
86/assyntax.h
|
0ad1bda7a1f7d88556dd458e532815ff28c898ae |
27-Mar-2006 |
Daniel Borca <dborca@users.sourceforge.net> |
PutRowRGB was not initialized for OSMESA_RGB_565
rivers/osmesa/osmesa.c
|
e72b745f32bba91592a0e1ee2b942a0ba9e65234 |
27-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
Fixup makefile for solo non-egl
rivers/dri/fb/Makefile
|
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 |
26-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
merge from texman branch
rivers/common/driverfuncs.c
rivers/dri/Makefile.template
rivers/dri/common/dri_util.c
rivers/dri/common/drirenderbuffer.c
ain/dd.h
ain/depthstencil.c
ain/depthstencil.h
ain/drawpix.c
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/framebuffer.h
ain/image.c
ain/image.h
ain/mtypes.h
ain/renderbuffer.c
ain/renderbuffer.h
ain/teximage.c
ain/texobj.c
ain/texobj.h
ain/texrender.c
ain/texrender.h
ain/texstore.c
ain/texstore.h
wrast/s_context.c
wrast/s_context.h
wrast/swrast.h
|
06049e24164fc0bda9dea12fbcbdb827a731badb |
25-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove carriage returns
wrast/s_context.c
|
753af3a206e3976be9a0954578d866218fdbf30a |
25-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix issue in _mesa_free_framebuffer_data()
ain/framebuffer.c
|
70207b70c5761c7493294896535b849ce8519bcd |
25-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for incomplete FBO in _mesa_Clear()
ain/buffers.c
|
1bbc203c6e7fa200339204d4b686616ed030e6c1 |
25-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean up the recent code related to texture_override(). Pass params in a more logical order. Remove a mess of stray ^M chars. Fix a bug when checking if the texture object's format is GL_COLOR_INDEX or GL_DEPTH_COMPONENT. This fixes a segfault when GL_TEXTURE_BASE_LEVEL!=0.
ain/texstate.c
|
590cd26006959ba390d5ebe337cb363827087941 |
24-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some missing formats in _mesa_source/dest_buffer_exists()
ain/framebuffer.c
|
ed4ab13cefce0eb403180b497a6552f1040984a2 |
24-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Make ARB_vp backends happy with nv arl
hader/nvvertparse.c
|
af8d39861de25fc8af1a173b197eef9ee88b48a5 |
24-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
secondary color fixes.
rivers/dri/r300/r300_maos.c
|
d76ef5867d829cc0218252c6590919d3771fbbba |
23-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
make solo build complete
rivers/dri/unichrome/server/via_dri.c
|
0a6040dc2d82e6a8655b466f66eb0524ddfe00f0 |
23-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
fix coverity 1107: use after free
rivers/dri/i810/i810screen.c
|
eab896cc213157758d74a2f39b5e3b1e748c071f |
23-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
fix coverity 926: use before NULL check
rivers/dri/common/dri_util.c
|
f756924fa59b53f4951e2f817144bcb5e5765535 |
22-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Need to check for new state and do readpixels/drawpixels clipping after we call RENDER_START since that may involve validating the drawable and updating its dimensions.
wrast/s_drawpix.c
wrast/s_readpix.c
|
4fafe6390bff5c746b3e46116d1fcada887bf3df |
22-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
implement arl and enable hw nv_vp.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/vertex_shader.h
|
6fc864b9e6f98041479ca7cf1d8226985312a2de |
22-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
ARL dst idx was undefined.
hader/arbprogparse.c
|
daffbe99dc77c0f1cae23fd03e02d61ef354c1dc |
21-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_packed_depth_stencil should be off by default
ain/extensions.c
|
8995544bc90eac2f8ac8e877dc5a33e3cba97e64 |
21-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
Silencium gcc warnings.
hader/shaderobjects_3dlabs.c
hader/slang/slang_compile.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
|
071357096e682e9af59ad45ea5abc444ab431837 |
21-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
GLSL fixes: - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
ain/fog.c
ain/light.c
ain/mtypes.h
ain/texstate.c
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_execute_x86.c
wrast/s_arbshader.c
wrast/s_context.c
wrast/s_span.c
nl/t_vb_arbprogram.c
nl/t_vb_arbshader.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
|
519b23b21f9cd6945fd17cdb26e7a6f531cdeec0 |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of changes/fixes for rendering to framebuffer objects. - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
ain/dd.h
ain/fbobject.c
ain/fbobject.h
ain/teximage.c
ain/texobj.c
ain/texrender.c
ain/texrender.h
|
4991888fa0ea8e31e3cd2a0d87bb7e205ad1dccd |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional assertions and debug code for testing FBO completeness
ain/fbobject.c
|
34bd1233a9874fe12a822c4fcb926d48456e1f29 |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional error checking to be sure source renderbuffer exists for glCopyTex[Sub]Image()
ain/teximage.c
|
457fb0e1286272c100888217862cde250e46f486 |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _mesa_sourc/dest_buffer_exists() functions
ain/drawpix.c
|
7275d4d097f97a2154dfe8fa573dc193cb5b4bf1 |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_source/dest_buffer_exists() function to easily test if particular renderbuffers are present
ain/framebuffer.c
ain/framebuffer.h
|
f1038f81e40fe7cd7eddfd64d1c4f3dc0a1a074b |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some buffer binding tests in _mesa_make_current()
ain/context.c
|
c27c382acc77e012c98f3dd994f4a58ed596cd60 |
20-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
slightly improved error message
ain/buffers.c
|
5319ed0e531b80038cebb4fef85f59bd2c3360a1 |
20-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix texrect upload conflicts.
rivers/dri/r300/r300_texmem.c
|
070f2808959dde535cbbdf0938ca9490f6231374 |
19-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Disable tnl programs when doing software vertex programs. compiz with its texrect and lighting needs was broken because of this.
rivers/dri/r300/r300_state.c
|
096dd541bd522c6c3590bac734dac31a16fe3dea |
19-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
wrast/s_drawpix.c
|
77174f0072be992eeffb6a53a3311fbd33463c5f |
19-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
-fix texrect fallback when using vtxfmt_a (glitz, xgl, etc.) -struct vertex_buffer to struct radeon_vertex_buffer conversion -vertex attrib arrays did not supersede conventinal arrays when enabled
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
21a4fb41376ab90afdfca67375e55e4a0ded6c0f |
19-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning the pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects.
ain/get.c
ain/get_gen.py
|
19b05d5009f4b0e83118b351b7261bb914e33f2b |
18-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't call Driver->Bitmap() if no image to render
ain/drawpix.c
|
2d2af2dcf716fd4ace91179245ebe4baaa234ded |
17-Mar-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Mesa/src/mesa/main/imports.h : removed <CR> Mesa/src/mesa/shader/slang/descrip.mms : added new sources Modified Files: Mesa/src/mesa/main/imports.h Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
ain/imports.h
hader/slang/descrip.mms
|
eec33cc310ce2b99164d182719c8d6d54b80a704 |
17-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Init FogCoordFuncs[0..5] too, remove some unneeded #includes
ain/api_arrayelt.c
|
0f1d98c422129b002bd3d90699da7fe8286b3c47 |
17-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove another test for IN_DRI_DRIVER
ain/api_arrayelt.c
|
724df020732edb5a3a2f967f6dccd4a4233171bb |
17-Mar-2006 |
Kristian Høgsberg <krh@redhat.com> |
Don't use glx_ansic.h functions (__glXMemset).
rivers/dri/common/glcontextmodes.c
|
2b17741e1b7999dacf0974b0a2bcbc10adb26219 |
16-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added #undef GET_DISPATCH
rivers/x11/glxapi.c
|
c6c0f947142c0cc82626c238804a68b4e8f53945 |
16-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved _glapi_check_multithread() call into drivers, instead of in _mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
ain/context.c
|
ef8653a83800bc4b8e116e03ad52604097224378 |
16-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
finish up some loose ends in _mesa_texstore_z24_s8()
ain/texstore.c
|
514a15cea124b90e845b7ac3e7e330ddf28575e4 |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted code clean-ups, comments, etc.
lapi/glapi.c
|
ac8b07b3aefb918246ec56cb02df86addeced000 |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove invalid assertion in _glapi_get_dispatch(), fixes additional thread safety problem
lapi/glapi.c
|
e6606909857901e5d49776e51e0eb2fa6d44a1bd |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXT is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments.
lapi/glapi.c
lapi/glapi.h
|
59e0faaa5c601ace51608c6d03c57d17498f796b |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
sync with texmem branch
ain/dd.h
ain/fbobject.c
ain/fbobject.h
|
eccb6a0698ba86a6feb0a407a5391bd84a62aaf2 |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
rename enums, fixes compilation breakage (Michal Krol)
hader/slang/slang_link.h
|
b7e3e0d64ea53b58ffa4cfdb4d100aaea5656df0 |
15-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/GLushort/ in read_depth_stencil_image()
wrast/s_texstore.c
|
19b83221696f124bfe1fa7e72842c62c3f72ee43 |
14-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()
ain/renderbuffer.c
|
2a0d441ebb732496c2fd7d381bc19540803bbb77 |
14-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set always_array=true for glGenProgramsNV (Dave Reveman)
lapi/gl_API.xml
|
0f618b7eb7bea2d97212baefc71fbc80c78e7222 |
14-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
Add slang_analyse.c and slang_library_texsample.c.
ources
|
8af48fc4d62798dbcc00bcfbbd8bc8f3b47982c7 |
14-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - add texture sampling support; - fix assembly codegen bugs;
ain/texstate.c
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/slang_analyse.c
hader/slang/slang_analyse.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_execute.c
hader/slang/slang_execute_x86.c
hader/slang/slang_library_texsample.c
hader/slang/slang_library_texsample.h
hader/slang/slang_link.c
hader/slang/slang_link.h
|
e9484e40858ffd4474571b27136e7ea0f2b682db |
13-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Clean build.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
a0cf4ceb36cf3604fb035276efef4b640ab38c24 |
13-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix broken max mipmap leveling that was horribly wrong.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
1c0230b39600de56b555b757272dfc0694da2d0f |
13-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Cleaned up some code, made more files compile. Renamed nv20_swtcl.* to nv10_swtcl.*, hopefully this is the last rename (this should be, as NV05 really behaves differently).
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_ioctl.c
rivers/dri/nouveau/nouveau_ioctl.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nv10_swtcl.c
rivers/dri/nouveau/nv10_swtcl.h
rivers/dri/nouveau/nv20_swtcl.c
rivers/dri/nouveau/nv20_swtcl.h
|
5042778449c7d1b76d6a2a586c5709dae4d59c81 |
10-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Option to init vp temps(for testing)
rivers/dri/r300/r300_vertexprog.c
|
9ebde216cc3e7a9dbe8090abe976db38f63d4717 |
10-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
A little work here and there
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv20_swtcl.c
|
12d51beb7e2fd3bd4b58c941db4d0188dca5973d |
09-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Kick VBOs out of GART if nothing else helps.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
rivers/dri/r300/radeon_vtxfmt_a.c
|
e294d938f261527ba72f82fe3952ba261d131845 |
09-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Use the force Luke, use the force.
rivers/dri/r300/r300_ioctl.c
|
f1b431b265abc445e962701c65916d721a0e0ddf |
08-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
coverity check bug fix going over end of array
rivers/dri/radeon/radeon_sanity.c
|
9fc897af7a50ec8dd9349826f97704da6d3e2411 |
08-Mar-2006 |
Dave Airlie <airliedfreedesktop.org> |
coverity checker bug: Pointer dereferenced after NULL check
rivers/dri/radeon/radeon_texmem.c
|
d97ab9a7bd407e560366843e1715b1afcd948082 |
07-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix broken DrawElements & DrawRangeElements.
rivers/dri/r300/radeon_vtxfmt_a.c
|
d9894e0d720706f7a1fcdcb9baa293ff673592d9 |
07-Mar-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
hader/slang/descrip.mms
wrast/descrip.mms
|
dba9c0bafd889d30f044d1e2e870b07ed60efd0a |
07-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Enable HW VBOs and other things needed by it.
rivers/dri/r300/r300_context.h
rivers/dri/radeon/radeon_screen.c
|
ba7ea2e697715b0dc7b31befe28847f88a123ecf |
07-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Convert to work with current DRM. + tag
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
|
50f319242b880f99c5717dec4adcf16505802c94 |
07-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Various fallbacks, checks and tags.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
ca007cb4496ad511a974c52e4acd74f0eed40e9c |
07-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
just a comment for check_compatible()
ain/context.c
|
d75963d2581f139de9a7fcbe95e3fb6a38231fe8 |
07-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable double-buffer test in check_compatible(), fixes pbuffer/visual problem
ain/context.c
|
8ee311d36dd48ffdd23a48e1be3329fe54e809b2 |
07-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
print newline in _mesa_warning()
ain/imports.c
|
2e01918b553ad50f6df788bb762f487d618ad37e |
07-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() to fix some minor glitches
ain/fbobject.c
|
2560e65a9aa0479ebb564a2ac5161a1c47507ce0 |
07-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Added a missing field
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_screen.h
|
c107058e7e858c0b6da195e337cce0621f31b91d |
06-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Port r200 tex tiling code to run on r300 but keep it disabled.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
3bca4f679a411246306e7e141c562253cb5f4c2d |
06-Mar-2006 |
Ian Romanick <idr@us.ibm.com> |
Later versions of Python handle formats like '% 5u' differently. For whatever reason, a space is always inserted. That is not the desired behavior.
lapi/glX_proto_send.py
lapi/gl_enums.py
lapi/gl_procs.py
|
9d881ea718e3d9139ed9de7922d758978f650381 |
06-Mar-2006 |
Ian Romanick <idr@us.ibm.com> |
Generate server-side GLX protocol decode functions using the 'make server' target. The environment variable XORG_BASE must be set to point to the base of the X.org server sources where the files are to be placed. The 7.0.0 server release already contains files generated by these scripts. The scripts should have been committed months ago. Sorry for the lag. :(
lapi/Makefile
lapi/glX_proto_common.py
lapi/glX_proto_recv.py
|
5569c2dfaee4a93a835a14178a7baca865614c5c |
06-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Cleaned up the software TCL code a bit. Renamed nv30_tris.[c,h] to nv20_swtcl.[c,h].
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nv20_swtcl.c
rivers/dri/nouveau/nv20_swtcl.h
rivers/dri/nouveau/nv30_tris.c
rivers/dri/nouveau/nv30_tris.h
|
98e1b13802fb83b504353c14df1d90646eabe111 |
06-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Added some NV20 support - nv_30_tris.c should probably be renamed again.
rivers/dri/nouveau/nv30_tris.c
|
b9c4b7fc896f7ff3188065526b27707ff6e43c77 |
06-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
More work on the nv30 software tcl code
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nv30_tris.c
rivers/dri/nouveau/nv30_tris.h
|
4af665a843f8f3181b306711a14470a3cfe817fc |
03-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Rename nouveau_3d_reg.h to nouveau_reg.h
rivers/dri/nouveau/nv30_tris.c
|
84a20832f111f566f2266e0028364230ee0de93e |
03-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
rename nv40_tris to nv30_tris.
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nv30_tris.c
rivers/dri/nouveau/nv30_tris.h
rivers/dri/nouveau/nv40_tris.c
rivers/dri/nouveau/nv40_tris.h
|
e1e03b32ab651e992f7b979eba046fdc84fedf2e |
03-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Use standard ARB names instead of vendor-specific NV names for the ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
ain/attrib.c
ain/enable.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
hader/program.c
|
f8ba07a77db4fea16b842f77ae17dcfa8be72105 |
03-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix up the emit_func list in the experimental arbprogram sse code.
nl/t_vb_arbprogram_sse.c
|
5e01f9a11489079d8509927774d8239c1857224a |
03-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
wrast/s_atifragshader.c
wrast/s_span.c
|
f4ab5654d0a460736465edb420f78297c4e2be3b |
02-Mar-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Add position_invarient support
nl/t_vb_arbprogram.c
|
da16813f432c5e328b5b2666d468f185c0678a98 |
02-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix more enums defined not only by one extension when queried by glGet (GL_COLOR_SUM_EXT, GL_POINT_SPRITE_NV, GL_POINT_SPRITE_COORD_ORIGIN, GL_TRANSPOSE_CURRENT_MATRIX_ARB). Fix similar bugs (also those previously overseen dependant on NV/ARB_vertex_program) in glIsEnabled. Add missing GL_COLOR_SUM_EXT enum to glIsEnabled.
ain/enable.c
ain/get.c
ain/get_gen.py
|
14d3ab96629907622bd25a103b3dadcfccb40b4c |
02-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved error msg
ain/renderbuffer.c
|
904ab0c22cc5dbfb09ff3a0e4f1b716760890bd7 |
02-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check FEATURE_EXT_framebuffer_blit
ain/extensions.c
|
afa1df58714c37b056fe9aee77500e900ee9dbf0 |
02-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in BlitFramebuffer function
rivers/common/driverfuncs.c
|
c241d3b06a5c996cb8415a6ada23288621c1d254 |
02-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
implementation of _swrast_BlitFramebuffer()
wrast/s_blit.c
wrast/swrast.h
|
0e7e80ae106689bbd30148835b24e811f40198e9 |
02-Mar-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Some small improvements.
rivers/dri/nouveau/nv40_tris.c
|
93da673904d4c520d3fbd2210e53777bf1598ac6 |
02-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix glGet with enums which are used not only in NV_vertex_program, but other extensions too (ARB_vertex_program, ARB_fragment_program, NV_fragment_program), if no support for NV_vertex_program is present. While here, fix return value if enum is used which is not supported by the exposed extensions (GL_INVALID_ENUM instead of GL_INVALID_VALUE). Fix some compile-time #ifs depending on NV_vertex/fragment_program which should also be dependant on ARB_vertex/fragment_program. See bug #6070
ain/enable.c
ain/get.c
ain/get_gen.py
hader/program.c
|
cf6be2d5bd7032d120424f8bc4c926d9d137d223 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
No need for _mesa_save_error() to be public. glVertexAttrib() w/ bad index should generate GL_INVALID_VALUE, not GL_INVALID_ENUM. Misc clean-ups.
ain/dlist.c
ain/dlist.h
|
dbfd246db89e194b332d4e76eb832998085263a2 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added BlitFramebuffer() support
ain/dlist.c
|
190e5595bc33a04630a1feefac572c680cd334d1 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New comments. Use tuples () instead of lists [] in a few places.
lapi/typeexpr.py
|
68edf28df68701ac429e53c0fd6dbb70b39c3fd0 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Flush in glXCopyContext()
rivers/x11/fakeglx.c
|
9b8059e53610d6d9d217f331b0671354e62ad47f |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
ain/accum.c
|
6d4284e2bff012e3ceeb41157b07d1d887d7cfb1 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added glBlitFramebufferEXT function.
rivers/dri/common/extension_helper.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/state.c
86-64/glapi_x86-64.S
86/glapi_x86.S
|
9974540c73e0c6e03f2da46483e38363d62a2e7b |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove temporary tokens, more error checks for blit function
ain/fbobject.c
|
2c61fdafd664ed10355577a8f26350297aa49444 |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added s_blit.c
ources
wrast/descrip.mms
|
1eca891dbe39a4aad7a6ed267ce7cd55589073fe |
01-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
_swrast_blit_framebuffer() function
wrast/s_blit.c
wrast/swrast.h
|
fbe48ef01f263da09275044ceb871bc7190df1ec |
01-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Free temps when possible
rivers/dri/r300/r300_vertexprog.c
|
71932ef85c0c9fd31ecc6b29bb906f3000e812aa |
01-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Dont let (possibly) undefined z component reach hw as its unused
rivers/dri/r300/r300_vertexprog.c
|
6754e17138994dc3c67299177a0906535cb4ddcd |
01-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
No need to call *_FIREVERTICES twice.
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
f71fd439f5dd81e6d3935de627d8d2e02efd7ccc |
01-Mar-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix aliasing bug (Benjamin Herrenschmidt)
rivers/dri/r300/r300_state.c
|
147f5091a11d1855398f1ef81a5c692489ef9b8f |
28-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow error checking to look for presence of either of two extensions. See bug 6070.
ain/get.c
ain/get_gen.py
|
176dac684a65d9140d3f1ce4d3bd4220ff5b653f |
28-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
only run shader on active fragments in the span
wrast/s_arbshader.c
|
34b60b001de080643aa5b7c9e0145b98b5653ed1 |
28-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if active fragment shader for deferred texturing/shading
wrast/s_span.c
|
3073cf21d2ce13b96c79c4af5ed488ef46a172f9 |
28-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for active shader, set FRAGPROG_BIT in raster mask
wrast/s_context.c
|
d1d41216825c0ac8ece71768145834eb22379248 |
27-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a bunch of warnings
hader/shaderobjects_3dlabs.c
hader/slang/slang_assemble.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_export.c
hader/slang/slang_link.h
hader/slang/slang_utility.h
|
9ac9605de156408580b81ba7e2780bd3f5372c6d |
27-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
ain/imports.c
ain/imports.h
hader/shaderobjects.c
hader/shaderobjects.h
hader/shaderobjects_3dlabs.c
hader/shaderobjects_3dlabs.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_execute_x86.c
hader/slang/slang_export.c
hader/slang/slang_export.h
hader/slang/slang_library_noise.c
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
hader/slang/slang_utility.h
ources
wrast/s_arbshader.c
nl/t_vb_arbshader.c
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
c56f2c49a51e7ad1106c46e3e86dfe2756ef87c4 |
26-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-formated with indent.
ain/dlist.c
|
be42f5302091d792728172ba8fddebaddbddd0b1 |
26-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove need to initialize the InstSize[] array elements by just storing the instruction size in _mesa_alloc_instruction().
ain/dlist.c
ain/dlist.h
|
a764b7eae0e93245b0fb644d32e72226d4cf42f2 |
26-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
display list clean-ups
ain/context.c
ain/dlist.c
ain/dlist.h
|
4e7766992607db215430ee388751f32692401c0a |
25-Feb-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Add all pci ids known by ddx to radeon dri driver. Remove the entries not known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
2aabdc743fd1822477a0d7440b8908c61963f719 |
24-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix broken _mesa_copy_context() for GL_LIGHTING_BIT
ain/context.c
|
ee2339f67364f0dde4bb4f198c767585dd45a634 |
24-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
need to check for _NEW_BUFFERS in xmesa_update_state()
rivers/x11/xm_dd.c
|
228d4a6de74fa7ca5d1b7a70b9186a89cd61e06d |
24-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix _mesa_copy_texture_state() so that we copy texture object bindings, not the actual contents of texture objects. This makes glXCopyContext() work properly.
ain/texstate.c
|
0abf3937ce651d26b18a3ab93ed916f3e7bd04dd |
23-Feb-2006 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Initial revision
rivers/dri/nouveau/Makefile
rivers/dri/nouveau/nouveau_context.c
rivers/dri/nouveau/nouveau_context.h
rivers/dri/nouveau/nouveau_driver.c
rivers/dri/nouveau/nouveau_driver.h
rivers/dri/nouveau/nouveau_fifo.c
rivers/dri/nouveau/nouveau_fifo.h
rivers/dri/nouveau/nouveau_ioctl.c
rivers/dri/nouveau/nouveau_ioctl.h
rivers/dri/nouveau/nouveau_lock.c
rivers/dri/nouveau/nouveau_lock.h
rivers/dri/nouveau/nouveau_msg.h
rivers/dri/nouveau/nouveau_reg.h
rivers/dri/nouveau/nouveau_screen.h
rivers/dri/nouveau/nouveau_span.c
rivers/dri/nouveau/nouveau_span.h
rivers/dri/nouveau/nouveau_tex.c
rivers/dri/nouveau/nouveau_tex.h
rivers/dri/nouveau/nouveau_tris.c
rivers/dri/nouveau/nouveau_tris.h
rivers/dri/nouveau/nv40_tris.c
rivers/dri/nouveau/nv40_tris.h
|
956fff6345966cad4585e2e5d2d4fdb1bfe9c8b6 |
22-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add some #includes, fix some prototypes (bug 5992)
hader/slang/slang_storage.h
|
7b6fd8a0c6691a0ebe45567abf6374a9f3e8f396 |
22-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include proper header file, remove local extern declarations
wrast/s_arbshader.c
nl/t_vb_arbshader.c
|
cebad151a11ea2f189d40a2a4c51e8469eed6267 |
22-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing prototypes, use _slang_ prefix on non-static functions
hader/shaderobjects_3dlabs.c
hader/shaderobjects_3dlabs.h
|
4f8b59d59b5500d1e025bbd07dbab74158f193c8 |
22-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a variety of compiler warnings
hader/slang/slang_assemble.c
hader/slang/slang_export.c
hader/slang/slang_library_noise.c
hader/slang/slang_storage.h
|
cc1591667d55a6dbfafbd3d6a7afa9f9288c625d |
21-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
hader/shaderobjects.c
hader/shaderobjects_3dlabs.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_execute.c
hader/slang/slang_export.c
hader/slang/slang_export.h
hader/slang/slang_link.c
hader/slang/slang_link.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
ources
|
8986e36f368d11bcf3f1938d77b5df69aa2ee11b |
21-Feb-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
hader/slang/descrip.mms
wrast/descrip.mms
nl/descrip.mms
|
3654193a4d417560c90b4bbe47d8070919cdc348 |
18-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code. - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
hader/shaderobjects_3dlabs.c
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.c
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_execute.c
hader/slang/slang_library_noise.c
hader/slang/slang_library_noise.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
ources
nl/t_vb_arbshader.c
|
e94be8d5c0b28c4eecf8492cb07ae9dff9026ada |
17-Feb-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix STENCIL_WRITE_MASK defn for bug 5902
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i915_reg.h
|
8da9f448f4b90a05e01d82784de299e04bbd288c |
16-Feb-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Skip ARL while we dont implement it. Fix broken nv vps but do it with software for now.
rivers/dri/r300/r300_vertexprog.c
|
555b5fac4f47576f04d8e4159dc22f72a2b0a397 |
16-Feb-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Reinstate vertex format after a rasterization fallback for both r200 and radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601)
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
|
a176bc6c1781ccbd12cdd7ac215a15178b73d5bb |
15-Feb-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER defined consistently when its builds Mesa internally.
ain/glheader.h
|
ee40c4fb34bd06ecc6dd6f2e658ca2c2c20af952 |
15-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set NumInstructions (bug 5864)
hader/nvfragparse.c
hader/nvvertparse.c
|
a584e846d435070e67aff904fb79cfc9a6d7d05e |
15-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a few warnings: - nested comments (use #if 0 / #endif instead) - missing default clause in switch statements - use of possibly undefined variables
hader/slang/library/slang_shader_syn.h
hader/slang/slang_assemble.c
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_compile.c
|
dd02edf381a6bc68bad0cb881548db079aa706bb |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add support for forward function declarations.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_compile.c
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
|
88d994c3b2ddb824b5171aa43e7612f516367637 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add fragment shader execute entry.
hader/shaderobjects_3dlabs.c
|
870ebefb3b3a6f4d775d77b9bf0197f3a75b67f5 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add swrast/s_arbshader.c.
ources
|
a66393120411071b3f3ccce8583ab961a2935959 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add arbshader stage.
wrast/s_arbshader.c
wrast/s_arbshader.h
wrast/s_span.c
|
5bc35a823a7bdfd96d8a2428ed5630d04053ad34 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Enable texcoords when program object in use.
ain/texstate.c
|
dc3a922cf30bf12cb01167bf1328d377ff3ee120 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Get arbfslight demo running.
nl/t_vb_arbshader.c
|
0c8e578a3834882a3a1ce0b755955ae18bdee645 |
15-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Enable GL_ARB_fragment_shader extension.
ain/extensions.c
|
2189d9c96e206f2f401069f7b7981782cf71b2ac |
13-Feb-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Update OpenVMS compile support
hader/slang/descrip.mms
|
e7ffe4619fe5ba14630dd34aa01854061f7a613e |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
More glsl code.
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
8a54fad6cda429bc28aea239d7f33cd3975865ce |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
REVISION 3. Remove illegal operators for overloading.
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
ebcbf2f8535491e1ff30859263df30d5615a4bfa |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Cosmetic changes.
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
|
41eeae5fb1131b18b89b80e3e1a1f0e69b26c0ca |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Delete most of the comments. Minor tweaks with the functions. Add experimental print functions.
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
02eb9acc5e4307db09662592951ef44319a0cda5 |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Get it running for ARB_vertex_shader. Add experimental print functions to builtin library. Some functionality missing: - automatic arrays; - general constructors; - local variable initialization; - texture sampling and noise; - semantic error checking; - function prototypes.
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_struct.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_preprocess.c
hader/slang/slang_storage.c
hader/slang/slang_storage.h
hader/slang/slang_utility.c
hader/slang/slang_utility.h
|
44e9ccc708bb0a92dfeaf038ded60295dfe2d3ae |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Rename current_program to CurrentProgram. Temporary vertex_shader execution code.
hader/shaderobjects.c
hader/shaderobjects_3dlabs.c
|
7d376c76c94039a7996595f31d6e137abaff1690 |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add tnl/t_vb_arbshader.c.
ources
|
a2ea606377ed5679dc513eabcf2d398216b47d61 |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add ARB_vertex_shader stage just before render stage. If enabled, all other stages, except render, are disabled.
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_arbprogram.c
nl/t_vb_arbshader.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
|
2363fff347a064b9584ecb8e26d80d421cafbbbd |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and GL_ARB_vertex_shader extensions.
ain/extensions.c
|
c92e688e151748d235b8477fe30888a9dded765d |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Rename current glsl program variable.
ain/mtypes.h
|
170f08d4b16e8a24d5a07378582eba542f7e8844 |
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Add _mesa_atanf and _mesa_asinf functions.
ain/imports.c
ain/imports.h
|
91c30771b63ae3498dbcd880930e6faa975c5928 |
11-Feb-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage. If it's true that libcwrapper usage isn't necessary ever in the DllLoader world, then this code should probbaly all go away.
ain/glheader.h
ain/imports.c
ain/imports.h
|
f236300e3a79be14da7f417956227bbe8a680e87 |
10-Feb-2006 |
Dave Airlie <airliedfreedesktop.org> |
commit to fixup MGL namespacing for XGL
lapi/glapi.c
lapi/glapi.h
|
a73094cc6ac2653ac115eaaf4f7ef657683f8084 |
10-Feb-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Workaround problems with NWN. (Tilman Sauerbeck)
rivers/dri/r300/r300_vertexprog.c
|
42447365b200653ee0a509e2df29f242459157c2 |
09-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the test for XFree86Server from prev patch (bug 5835)
rivers/dri/common/glcontextmodes.c
|
b77a225250ce1855b8a6d577b53ca836c33e671b |
08-Feb-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check DDX for 1.5.0
rivers/dri/intel/intel_screen.c
|
d93615fc1e6c6da3908b1574f5a071cfcb9ce921 |
08-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
include dix-config.h (Mike Harris) (bug 5835)
rivers/dri/common/glcontextmodes.c
|
4cd0e24f86a5e3fa67774be546f922ca241cb0ea |
06-Feb-2006 |
Dave Airlie <airliedfreedesktop.org> |
add vblank support to i915 driver
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
e7276b7fa597f7914f7e10a2e50dae36ae50e10b |
03-Feb-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/xmlpool/de.po
rivers/dri/common/xmlpool/options.h
rivers/dri/common/xmlpool/t_options.h
rivers/dri/i810/i810context.c
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
|
16a14510c4c134db9268719e9458bf6bf83e618a |
02-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
use calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)
nl/t_vb_arbprogram.c
|
725740c7c8664cde9bb09b88674ad09956e93c49 |
02-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
add some assertions to check emit_func[] table validity
nl/t_vb_arbprogram_sse.c
|
5951aab8236e964aa3ebc412bf13e31da99383bf |
02-Feb-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix texcoord unit assertion, the right one (bug 5780)
rray_cache/ac_import.c
|
865ad82bb8af1251b0240fd03e89ae0793c0ef0f |
01-Feb-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix texcoord unit assertion (bug 5780)
rray_cache/ac_import.c
|
3b6f62fc736d8f337897e2cefbfa15d6d77586f3 |
01-Feb-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix test for valid texunit in _mesa_ClientActiveTextureARB
ain/texstate.c
|
663138a9510be5d2f3ee2bda41e3a8c86ab688b5 |
31-Jan-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.
rivers/dri/common/drirenderbuffer.c
rivers/dri/sis/sis_dd.c
rivers/dri/unichrome/via_context.c
|
a45f23bed141fc23300b8cd6960ba95e883a57bf |
31-Jan-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix broken assertion to make radeon driver compile with -DDEBUG...
rivers/dri/radeon/radeon_texstate.c
|
bd8c742762e1f4dc3195bbf0acd2fe21d3447c00 |
30-Jan-2006 |
Michal Krol <mjkrol@gmail.org> |
Add shader/slang/slang_compile_*.* files.
ources
|
9dc8bce88e84322171e16be190f2e430dee986ac |
30-Jan-2006 |
Michal Krol <mjkrol@gmail.org> |
Split slang_compile.c into several smaller files - it was just too big. Minor fixes and cosmetic changes.
hader/slang/slang_assemble.c
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_compile_function.c
hader/slang/slang_compile_function.h
hader/slang/slang_compile_operation.c
hader/slang/slang_compile_operation.h
hader/slang/slang_compile_struct.c
hader/slang/slang_compile_struct.h
hader/slang/slang_compile_variable.c
hader/slang/slang_compile_variable.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
5594ddbcfe199e7a1dc21ddf39d51364d7419902 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
remove broken non arb fp path
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_fixed_pipelines.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texprog.c
rivers/dri/r300/r300_texprog.h
|
58e4aa0ec9e8a7ab6b65af19102ed8bbcb0e1375 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
missing link in the fallback chain
rivers/dri/r300/r300_render.c
|
0fcfa1c5b000f239cee1849a17f572ef5098cd31 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
enable hw vertex programs by default
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
|
e797bc8bbe23480c3fca3654ce1c980d103520d1 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
per vp sw fallbacks
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertexprog.c
|
7d82d284e3cd8a46dfea8788d090eb58198752ca |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
radeon driver doesnt have this so i assume we shouldnt either.
rivers/dri/r300/radeon_state.c
|
a7bd2563c3ede7db0b06c61788a11b2a09583e0d |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
drop all that (slow) locking stuff and make u_list per context.
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
|
875df252a7aac1f2a615e17ce168cc2e6360bed2 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
R300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLOR
rivers/dri/r300/r300_ioctl.c
|
e804370014cbf362de063a56aef0b78f4412b200 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Work around problems with t_vp_build.c
rivers/dri/r300/r300_context.c
|
32551222bc9573ef2d7e705bb91a804db2e09411 |
27-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
r300UpdateTextureEnv shouldnt be called.
rivers/dri/r300/r300_texstate.c
|
e65ad47a8f5ef1a4aafc86e0266e9644ecf2404e |
26-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
remove some testing code
rivers/dri/r300/r300_state.c
|
edc98df891d8962e607de3a10a68fa81598ceee2 |
26-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix a problem where offsets from disabled tmus reach drm
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
3a5bb1729d8c229a587e34ccd5ddc86e26811b9f |
26-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
New comments, clean-up of fields related to point/line/triangle validation.
rivers/dos/dmesa.c
rivers/x11/xm_dd.c
wrast/s_context.c
wrast/s_context.h
|
2219a15b06ba1f72d74b79047e52840d167f03b7 |
26-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded init of swrast->invalidate_line/triangle
rivers/osmesa/osmesa.c
|
166b0ff973b695c4a46b1825899c8bf10d1494b9 |
25-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added wglGetExtensionsStringARB
lapi/mesadef.py
|
7f1274fa8b98f334fc12e13f18caf23b2a79a415 |
25-Jan-2006 |
Karl Schultz <kschultz@freedesktop.org> |
add wglGetExtensionsStringARB
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wgl.c
|
99da2d30eb08e50edf4b0067518af3acdf2dabc0 |
25-Jan-2006 |
Jerome Glisse <glisse@freedesktop.org> |
fix using a tmp without asking for one
ain/texenvprogram.c
|
8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 |
24-Jan-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
pull in fix from 6.4 branch for XFree86Server definition
ain/execmem.c
|
4dd8a8907e40126e42131a400b59e7d5da5e302a |
24-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
fix broken get_half & get_zero
ain/texenvprogram.c
|
65573edd1bcd734e3b0d7f717149e023e66192e5 |
24-Jan-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove very old i830 code
rivers/dri/i830/Makefile
rivers/dri/i830/i830_3d_reg.h
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_debug.c
rivers/dri/i830/i830_debug.h
rivers/dri/i830/i830_ioctl.c
rivers/dri/i830/i830_ioctl.h
rivers/dri/i830/i830_render.c
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_screen.h
rivers/dri/i830/i830_span.c
rivers/dri/i830/i830_span.h
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_state.h
rivers/dri/i830/i830_tex.c
rivers/dri/i830/i830_tex.h
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
rivers/dri/i830/i830_tris.c
rivers/dri/i830/i830_tris.h
rivers/dri/i830/server/i830_common.h
rivers/dri/i830/server/i830_dri.h
|
f3134ca7add4a1894f119defde76fbe625a173a3 |
24-Jan-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
use front.size instead of sPriv->fbSize
rivers/dri/intel/intel_screen.c
|
f7360cd42d320b39889b1d9277284ad00e2c1f3d |
24-Jan-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
use screen->front.map instead of pFB from libdri
rivers/dri/intel/intel_screen.c
|
39c492bb14d706ffa8bf04f78048c05de735492b |
23-Jan-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add Intel 945GM support Add rotation support (Tungsten Graphics)
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/intel_rotate.c
rivers/dri/i915/intel_rotate.h
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_tex.h
rivers/dri/i915/intel_texmem.c
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
acd1f16b356ee21d40c706eda14b7105a84c8001 |
21-Jan-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Do individual negetation in swizzling, thus we can save one instruction in some case.
rivers/dri/r300/r300_fragprog.c
|
c6f35dd8db5f85062454ee90c39ebbfc4970b92a |
21-Jan-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Indent & wrap around 80
rivers/dri/r300/r300_fragprog.c
|
f087d60f1803bb62e4f30545206b245c7271edd1 |
21-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Doesnt apply anymore
rivers/dri/r300/r300_texstate.c
|
41a874f486d42d7200bef04a62c519d1943cb76d |
21-Jan-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Add individual component negation.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
ef073b7a756e37be59308a2e598cfa9e0ba3a700 |
20-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Try to tackle bug #5148
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/radeon/radeon_screen.c
|
c90b569238f38981e49e070dcb1e5299ff3b1a66 |
20-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Sync from drm.
rivers/dri/r300/r300_reg.h
|
93a7605b1d26b2422025982b99ab5d0803181b26 |
20-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix ARGB1555 component swizzling.
rivers/dri/r300/r300_texstate.c
|
b42d5bcaff3cbc68461299aab52dbc27d859eee3 |
20-Jan-2006 |
Jerome Glisse <glisse@freedesktop.org> |
Fix swizzling table & add struct.
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_fragprog_swz.c
|
37e86254c12c7d7ab844ad772360b7c6bb25b209 |
19-Jan-2006 |
Adam Jackson <ajax@freedesktop.org> |
Avoid a crash when the user has enabled glVertex{,Attrib}Pointer but hasn't filled in a valid pointer for that attribute or vertex array.
ain/api_arrayelt.c
|
38da697546c2df44b1d8b00df994374a1eb8eb9f |
18-Jan-2006 |
Adam Jackson <ajax@freedesktop.org> |
Nuke the old attempt at software DRI, it's broken and awful
rivers/dri/x11/Makefile
rivers/dri/x11/x11_dri.c
rivers/dri/x11/x11_dri.h
|
f93a228c389685e16135e150d77e086df6547f9b |
18-Jan-2006 |
Adam Jackson <ajax@freedesktop.org> |
Start a software-only DRI driver for use in the new accelerated indirect world.
rivers/dri/glcore/Makefile
rivers/dri/glcore/glcore_driver.c
|
1096eae18d1c871f33f46d0d34e5a894354c3c44 |
16-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
properly free ATI fragment shaders (Tilman Sauerbeck)
ain/context.c
|
b4f70646b472776bb4651720fa3f10393daa6703 |
16-Jan-2006 |
Michal Krol <mjkrol@gmail.org> |
remove some test code; rewrite the intermediate code executor to address 64-bit platforms and global memory; store built-in library code in a precompiled form only;
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_compile.c
hader/slang/slang_execute.c
hader/slang/slang_execute.h
|
8defce2cf1afa9933208ee001ddb8990c5d4eee0 |
16-Jan-2006 |
Michal Krol <mjkrol@gmail.org> |
remove slang_*_gc.h files; rename slang_*_gc_bin.h files to slang_*_gc.h ones; store built-in library code in a precompiled form only;
hader/slang/library/gc_to_bin.c
hader/slang/library/gc_to_string.py
hader/slang/library/slang_common_builtin_gc.h
hader/slang/library/slang_common_builtin_gc_bin.h
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_core_gc_bin.h
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_fragment_builtin_gc_bin.h
hader/slang/library/slang_vertex_builtin_gc.h
hader/slang/library/slang_vertex_builtin_gc_bin.h
|
0f488bb16d36edfff892609c4f58ef467145d441 |
15-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Missing bits of code spotted by Tilman Sauerbeck
rivers/dri/r300/r300_context.c
|
1bcc323857c2632035e588c33848ac3bc24d0fd3 |
15-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix ARB_position_invariant handling
rivers/dri/r300/r300_vertexprog.c
|
4078c647d56caf92d0526d3d9aece43e55e63e10 |
13-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
namespace pollution fixes (Tilman Sauerbeck)
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
|
458479fedb3a044aa96ff33806b8b758494de375 |
13-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix invalid tex coord routing and couple other small things.
rivers/dri/r300/r300_state.c
|
1814d6541b1fb4bad67fb6277a6fcbe518453230 |
10-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a couple new assertions to help debug XGL problem
rivers/x11/xm_api.c
|
2d4ff6a8cf83ca3a829021482b08b95bea7aa31a |
09-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Missing patch from Ben Skeggs: Lots of changes, and fixes for some badness on my behalf. 1. Disposable data used during fp compile is now per-context, rather than per-program to save memory. 2. Track usage of INPUT/TEMP registers from Mesa program, free them when no longer required so the hw temps can be re-used. 3. Changed LAST_NODE to OUTPUT_COLOR (see r300_reg.h) 4. Implemented remaining ARB_f_p instructions, with the exception of the trig/LIT opcodes. 5. Treat ZERO/ONE swizzles the same way as other native swizzles. 6. emit_arith changes, basically a complete re-write. Should produce cleaner instructions, but no real functional changes. internal reg -> hw reg routines shared with emit_tex. A bit messy still.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
c217d5a3a84cd55456e3312873933db80ba00d67 |
09-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small>. demos/cubemap looks perfect now.
rivers/dri/r300/r300_vertexprog.c
|
0946e0f418abfdf8dd4841990f58c31cd9c6f3f1 |
09-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix cube maps.
rivers/dri/r300/r300_texstate.c
|
7a028bd1caca9f9ce8fe99902ca876e4a18eb4e3 |
09-Jan-2006 |
Aapo Tahkola <aet@rasterburn.org> |
Fix node setup(from Ben Skeggs)
rivers/dri/r300/r300_fragprog.c
|
d469e5e5a03334f76cee4418dad97060661b1dc4 |
09-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/GLbitfield/
ain/dd.h
ain/state.c
|
c2901e4f4c7a626a99526ccbb70f89253805cbb4 |
09-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
only call xmesa_set_renderbuffer_funcs() when really necessary
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
41b9756e9a2da55859581278e46da0e631866bc0 |
09-Jan-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
check XGetGeometry() return value
rivers/x11/xm_dd.c
|
8bc4dae67e083c6415c07e6ff77e700f7395dc9e |
07-Jan-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
cube maps on r100 require newer drm than the same feature on r200 (regression from introducing unfied initialization). Fix wrong (so far unused) family assignment for r100 cards.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state_init.c
|
cabecbd3146bf010bb478c9474b34d77afc7431b |
30-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
recalculate state on drawable changes
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_state.c
|
1d43e729ec94217f3b742be481c753a8eaa65ea3 |
30-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
properly notify driver on scissor change in MakeCurrent
ain/buffers.c
ain/buffers.h
ain/context.c
|
8c137e2f94a5710e59676598fb2c3f00565834e1 |
30-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
fill out framebuffer egl stuff enable egl on R300
rivers/dri/radeon/server/radeon_egl.c
|
456a513daa2165b1cc04ef06939384f964d13628 |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
add support for PCIE card to EGL, doesn't fully work yet but these changes need to get off my hard disk
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_egl.c
|
577d23011b57b6bf9cae1ba49e043732c872e5be |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
add EGL to r300 makefile
rivers/dri/r300/Makefile
|
369ae3e2c46a2f8b2f6cc060b2012a2d801c916e |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
rv370 not rv350
rivers/dri/radeon/server/radeon.h
|
77a7c2ad92e57549c71329218a96b3777211dfdf |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
typo
rivers/dri/radeon/server/radeon_egl.c
|
4dac78463ef0e265818eafbc4b3859b7f3e08961 |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
add some card type ioctl support
rivers/dri/radeon/server/radeon_egl.c
|
49b93550204efd2a3898138289507aec3bb91bc5 |
29-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
add some r300 information
rivers/dri/radeon/server/radeon.h
|
ad960612cea4a42db915252d0fd4a6cc04de26bd |
23-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
fixup driver for some api changes
rivers/dri/radeon/server/radeon_egl.c
|
11decab34a7e537b2d847a23f3b7faff0a9fe15c |
18-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Handle fatal case.
rivers/dri/r300/r300_state.c
|
3ad366dff2b8d015fe57da6a284088ccec1cea3f |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Drop output checking.
rivers/dri/r300/r300_context.h
|
d57ce4a2c1ce5a3489fdc2542d1e5446c61ab6e4 |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
No you arent.
rivers/dri/r300/r300_tex.c
|
707343dcf509319fc0df6dfd318f412c553bfada |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Warn only when being enabled.
rivers/dri/r300/r300_state.c
|
feb7221ecb5d279dafec1ef87b11391ae5c59bc2 |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
I think this has been tested well enough already.
rivers/dri/r300/r300_render.c
|
1d32fc7332a8eb7ed16ae572959a671c02397be9 |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Enable CB_DPATH by default.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
|
fd1627312dcc8a10028cc7e72b367c05f1109cab |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix (likely) typo.
rivers/dri/r300/r300_state.c
|
e34700af7a5c8ca0ba1f0365f479c666a137a266 |
17-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add some missing hooks. This should fix various little problems with window movement and 2d windows flashing on top of 3d windows. This problem was previously shadowed by r300ResetHwState as it gets called frequently.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
|
782291ab916dcb3f11fe8b7c934b1fd164c46020 |
16-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
fix thinko in last revision.
rivers/windows/gdi/wmesa.c
|
924fb5e916ae107df52181643927305ec4435255 |
15-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move va_end() call (Evgeny Kotsuba)
ain/imports.c
|
841c9018b140f3271dd1f6e29d9ca4f391823a22 |
15-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Work In Progress. Move some of the frame buffer, render buffer, etc init code from the create context path to the make current path, where it is lazily initialized. This didn't buy me very much except to make it look closer to the X11 driver. Fix up some of this same code to correct some errors. The next step is to reorganize the wmesa context data structure to inherit the gl_context by containment so I can have access to the wmesa context in the update state path. The driver is still currently not responding to changes in the Draw and Read Buffer state.
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
0970787228ce3ab540980d8b072b9bd5fb62a617 |
14-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo.
ain/api_noop.c
|
c8d1741b78eda547762b35a6e4dea7ccb563ffa5 |
14-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use GLbitfield instead of GLuint
ain/texenvprogram.c
|
1add059bd114f90e32c4b574be411d314eca6d90 |
14-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be done with fragment programs nowadays.
ain/attrib.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/pixel.c
ain/state.c
ain/texstate.c
ain/texstate.h
ources
wrast/descrip.mms
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_pixeltex.c
wrast/s_pixeltex.h
|
c9797f6b76a5d34a4bdbab49ef8158ca861e0c01 |
13-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix from Roland for mipmapped compressed textures remove some debug
rivers/dri/r300/r300_texstate.c
|
0063084804d62402d80821a86978660663955442 |
12-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning, bug 5318
ain/texenvprogram.c
|
40332059e4f7b289e5524d10c5565232d27bffbe |
12-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Split _MaintainTexEnvProgram into two flags _Maintain and _Use. This restores the ability to run the software driver with program TNL but tradtional swrast.
ain/context.c
ain/mtypes.h
ain/state.c
|
3e1a5a38ae1d5f47d4a30fde2160ae1132cdd98b |
11-Dec-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Regenerate for recent glapi changes (GetQueryObjecti64vEXT).
86-64/glapi_x86-64.S
|
72d1bb5756c670e6afef37da80689da04d466b22 |
08-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't need LONGLONG typedefs
ain/glheader.h
|
91ed68b2b9e0fcb70675ee575d805612a675a82c |
08-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
do away with 'long long' usage
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
1acea5f2898cc46cdd18d0b2559eee4af90f6c6f |
08-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
update for symbol export changes
rivers/windows/gdi/mesa.def
|
5bdec89da520f763b6d0faad1781f64566a97fdd |
08-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
add {} to RENDER_SPAN macro to fix compilation problem
rivers/osmesa/osmesa.c
|
59af97420e19ba382e0e9dd46005e0b720e4b2c5 |
08-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
use 64-bit typedefs for portability
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
0694adaf71d5048b4a3c64b2280f39efe5f0766f |
08-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
add 64-bit typedefs for portability
ain/glheader.h
|
0fa8c59e646b214ea61c077f723e8ffe1cc06733 |
07-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates for GL_EXT_timer_query: New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
rivers/dri/common/extension_helper.h
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
lapi/dispatch.h
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/enums.c
ain/mtypes.h
ain/occlude.c
ain/occlude.h
ain/state.c
86/glapi_x86.S
|
98bebc7212a47f97ef6d15d4fca45a0fa608aea2 |
07-Dec-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Fix bugzilla 5253. Add {} around code in RENDER_SPAN macros when code includes a variable declaration.
wrast/s_triangle.c
|
abccd5b729209086e77b2b2f53fb2cdfdcf75a8e |
06-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Make missing interpolator inputs fatal
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
9309ba78d176f58ef9c15b3ce11311b8ca69f164 |
06-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix secondary color for VP's
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_vertexprog.c
|
9580179dfb42d5b81ff6ec9704b82a556c7f1229 |
06-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
C++ fixes, mostly casts (Stephane Conversy)
rivers/x11/fakeglx.c
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvvertparse.c
hader/program.c
wrast/s_depth.c
wrast/s_stencil.c
nl/t_context.c
nl/t_context.h
nl/t_vb_arbprogram.c
nl/t_vertex.c
nl/t_vp_build.c
|
d5179613d5302173471a6a910fa9ec235c9ff046 |
06-Dec-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_EXT_secondary_color. It looks like using NEED_SECONDARY_COLOR to turn it off/on was what we wanted -- now results look correct using seccolor on Savage IX and Savage4.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
|
b4ebb682027e42c1f6525d0f8cee9ccd41e15ca0 |
05-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add guard before calling ctx->Driver.BindProgram
nl/t_vp_build.c
|
f27c07c99e6d55be623710cf87b8995b8fb4af3f |
05-Dec-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix AL8
rivers/dri/r300/r300_texstate.c
|
923257fe07ff41132a22ebba0405646ee657b59f |
05-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
update r300 drm minimum to 20
rivers/dri/radeon/radeon_screen.c
|
f93feb7aedc194f3fa04fa2216b2a215548b2e4e |
04-Dec-2005 |
Dave Airlie <airliedfreedesktop.org> |
Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeon sw tcl
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
eb06704a7c0027136d5ced74d67a83ddaf1f82aa |
03-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added PCI_CHIP_RV410_5E4B (Adam Kirchhoff)
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_screen.c
|
99f13343cf270d8dfde8445ae363d9b05256e05b |
02-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix two failures encountered when running out of memory during XImage allocation. Append \n to _mesa_warning() strings.
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
|
8716e7570d17c3e6bcf7e5c1d8aa3a0c5035a5ac |
02-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix _mesa_ffs() return, test for more platforms (Evgeny Kotsuba)
ain/imports.c
|
5abff7bc4da6eedbfe2a6e98f81f7b13ea90a27f |
02-Dec-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix build issues on x86-64 due to missing include path in glapi_x86-64.S. Bug: #5602
lapi/gl_x86-64_asm.py
86-64/glapi_x86-64.S
|
c9515bf1aec3a3d934535a9d2893e90e8b903043 |
01-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Call ProgramStringNotify after creating tnl programs.
nl/t_vp_build.c
|
bfba2705b68432e4f44e424698366add262177fe |
01-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove VB->LastClipped
86/gen_matypes.c
|
dd4f0d1a93c2faf22a5f75aa54fddc45878082b2 |
01-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Clean up clipping somewhat - no need to update ClipMask on generated vertices - remove the VB->LastClipped value Line clipping algorithm changed and simplified somewhat. The old one was based on the triangle routine and probably wouldn't have recognized lines that were clipped down to nothing (ie culled, but not by a single plane).
nl/t_context.h
nl/t_vb_cliptmp.h
|
f285f0d8f60adafdfba5c1f0563b81c68bd398d3 |
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove uintptr_t cast
ain/texstore.c
|
6b25193b9266fd1759845d65dcf41f3d5e3a0d3c |
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
try removing need for the uintptr_t casts
ain/bufferobj.c
|
0e31e02aef4fe44b1196d0bf6e351250d9d8f68c |
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added FinishRenderTexture() device driver function to indicate when rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
ain/dd.h
ain/fbobject.c
ain/texrender.c
|
cf2702e3dbf41939a6be0a09f58b9578da88e910 |
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comment about glTexImage and renderbuffers
ain/teximage.c
|
31e739a18931fa48454f172818245b0927c8910f |
01-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
get depthBits from the current drawbuffer
wrast/s_span.c
|
94ae2b4f25ba142da6b7c16a376156473f0d43e7 |
30-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fxt1_decode_1() should not be static
ain/texcompress_fxt1.c
|
96f216565e09032021bafa7a805aa7707777fda1 |
30-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted fixes for server-side direct rendering (bug 5199)
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/glcontextmodes.c
|
126482a12f7053a96f3d667f696d057865376ef5 |
29-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use the files from the drm tree/package
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/imports/xf86drm.h
rivers/dri/dri_client/xf86drm.c
rivers/dri/dri_client/xf86drmHash.c
rivers/dri/dri_client/xf86drmRandom.c
rivers/dri/dri_client/xf86drmSL.c
|
9790e641ef24859833c01a1fa7004a1c2b73ddd1 |
29-Nov-2005 |
Michel Dänzer <michel@daenzer.net> |
If the DDX driver didn't reserve any video RAM for textures, fall back to using only GART memory for textures instead of segfaulting in the texture management code. (Bug 5115)
rivers/dri/r128/r128_screen.c
rivers/dri/radeon/radeon_screen.c
|
2b8e66d210c333c1f9bdb4e2de079798f1c810f1 |
28-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove the many aliases for 'struct mem_block' in mm.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/gamma/gamma_context.h
rivers/dri/mach64/mach64_context.h
rivers/dri/s3v/s3v_context.h
rivers/dri/trident/trident_context.h
ain/execmem.c
ain/mm.c
ain/mm.h
|
aae2b8b8eba46594d0915725c57f45d2965b15d6 |
28-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Correct author attribution of mm.h
ain/mm.h
|
4f12aa5a6a00a4c3f1e65f8661c657691cfae0e4 |
28-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for driver_modes == NULL. Don't need driver_modes for EGL driver
rivers/dri/radeon/radeon_screen.c
|
a913d9f2f7991b4ae4ac7cc1264efbc11c16237b |
28-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
rearrange some code to put in more logical order, misc clean-ups
rivers/dri/radeon/server/radeon_egl.c
|
49b2d2e90f524d8d404de4b618dcd6250a14667a |
28-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
include stdint.h for BSD
ain/glheader.h
|
024b5896f09650a599fdf60aa49aaf348941c3e5 |
25-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use ADD_POINTERS macro instead of (uintptr_t) cast
ain/api_arrayelt.c
|
96bf6abb6615a9175f56a85322dd98160291274d |
24-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use _mesa_exec_free for fp->func.
nl/t_vertex.c
|
2a76d952b8f08570dd628ebf3fff0841d3cb60be |
24-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new _egl_api struct
rivers/dri/radeon/server/radeon_egl.c
|
181f2b92cb2544b5274d1a72894d019e85662b46 |
23-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Couple changes that were missed.
rivers/dri/r300/r300_maos.c
|
a3d2c69e6173432c1dc608a253c89deb6d2e116d |
23-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed wrong return value in radeonShowSurfaceMESA()
rivers/dri/radeon/server/radeon_egl.c
|
9bcc9e91745a6125f31d127410ac38e99660da67 |
23-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
reference bug 5131 in comment in _tnl_free_vertices()
nl/t_vertex.c
|
286f3fbb3a4707c93e511b374381aa31faa2d191 |
23-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable freeing of fp->func, see comment (bug 5131)
nl/t_vertex.c
|
e6e1c3fc11cb421ce3a703b81e8fe7057c5134a9 |
22-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use correct enums for program output variables. Fixes fp/tri-depthwrite.
rivers/dri/i915/i915_fragprog.c
|
ec1ffd9f2578ec2f289a9dbd8e08c8821bafb169 |
22-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
track state flags which might invalidate parameter lists
hader/program.c
hader/program.h
|
5a771857d9069773e5a6ede9694b0e5b8a03ff67 |
22-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure tnl->_DoVertexFog is kept uptodate. Fixes fog in i915 driver.
nl/t_context.c
|
bf44f6cfac73ee9c96f4753fb32f6e49aab13d77 |
21-Nov-2005 |
Dave Airlie <airliedfreedesktop.org> |
bit 31 of this inserts a nop after the current instruction
rivers/dri/r300/r300_reg.h
|
1ea61b5cad77e0fc13f651327def1cfcdbfa788d |
21-Nov-2005 |
Dave Airlie <airliedfreedesktop.org> |
get rid of some of those unknowns figured out from reg dumper
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_reg.h
|
ec770b8c60dc439f5a73c46d2bd25249b1dc1a1c |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move _mesa_init_instruction() to program.c
hader/nvvertparse.c
hader/program.c
|
1a61462318c00f61faaa88111248d89eceac1c77 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/Saturate/SaturateMode/
rivers/dri/i915/i915_fragprog.c
|
e31ac052236ea615b4995f9ec301d8af4b864531 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make Saturate a 2-bit field again, renamed to SaturateMode with three possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
rivers/dri/i915/i915_fragprog.c
rivers/dri/r300/r300_fragprog.c
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/program.c
hader/program_instruction.h
wrast/s_nvfragprog.c
|
22db53577603afef8fdf62c324ff5977de76b9d8 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional clean-ups and improvements
ain/texenvprogram.c
|
55194df0350fe8bb1e684c1f9318b9a7e1a67c86 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove incorrect cast
hader/arbprogparse.c
|
1353ebed811e69f38993c388caecc3c6a28e3030 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Saturate is a 1-bit boolean field
hader/program_instruction.h
|
5d7b49f7e77f9e3303e0910834b6c014e7267289 |
20-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Bunch of little fixes: Fix mem leaks in _mesa_TexEnvProgramCacheDestroy(). Check if ctx->Driver.BindProgram is non-null before calling. s/unsigned/GLuint/ Use MAX_INSTRUCTIONS instead of magic 100, check program length after it's made. Use _mesa_init_instruction() instead of _mesa_memset().
ain/texenvprogram.c
|
6f445a106186ac5e7e99cd55c1e27ac23b5053fd |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
in run_texnorm_stage() check if the texture unit is really enabled before trying to normalize the texcoords
rivers/dri/savage/savagerender.c
|
41c8eabe0ff32e85c8abb4eee63e3215241d2ddb |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
update some vars
rivers/dri/r200/r200_fragshader.c
|
63d683091fe3a9600b65ae7ef3b554168b805406 |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
No longer derive 'ati_fragment_shader' from 'program' class. Only the program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway.
rivers/dri/r300/r300_shader.c
ain/context.c
ain/mtypes.h
ain/state.c
hader/atifragshader.c
hader/atifragshader.h
hader/program.c
hader/program.h
wrast/s_atifragshader.c
|
430c469c5b5edd33fd29db9ab59ac1dccc02af21 |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove #include arbfragparse.h
rivers/dri/r300/r300_fragprog.c
|
47e511c36d5e24b1b82fc8fb47970c83f45cc148 |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove #include arbfragparse.h, s/PI/M_PI/
rivers/dri/i915/i915_fragprog.c
|
8c41a14c5ef0b8d2b0f1a1cd094f5abc41fa48f8 |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the _mesa_parse_arb_vertex/fragment_program() functions into arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used.
ain/texenvprogram.c
hader/arbfragparse.c
hader/arbfragparse.h
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbprogram.c
hader/arbvertparse.c
hader/arbvertparse.h
hader/descrip.mms
ources
nl/t_vb_arbprogram.c
nl/t_vp_build.c
|
57548094215c8c2d869417c09c9a391f1b7e28f2 |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
update comments, remove ^M chars
hader/shaderobjects.h
|
8c765ad31253e171375c24bb8d8cd418fe7b198c |
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
ain/mtypes.h
hader/shaderobjects.h
|
ddf61bfec94bcc869da0ccbee2effb4d05f906d9 |
18-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Try to detect when native support to given texture width is not available.
rivers/dri/r300/r300_texstate.c
|
f31448f3c86697275bffe5363d473dd128cbd2ac |
18-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix typo causing secondary color not to work properly.
nl/t_vp_build.c
|
40ca5b455f0710db3e8ceb65c8d8d2f047672e4c |
18-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Reduce stderr noise.
ain/texenvprogram.c
|
311bcf5090f8ba0cc09c66f2507dccdf6546ac3c |
18-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation. Simplify _mesa_GetRenderbufferParameterivEXT() queries.
ain/fbobject.c
|
948ab5d8a926d55615a4bfbdfc1e9668095dc81c |
17-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move _mesa_update_state() calls before error tests that depend on framebuffer completeness
ain/drawpix.c
|
74e9a43a2ad2d683c21be8c6b874f5520dbfb5df |
17-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer
wrast/s_drawpix.c
|
5ba41dfa81d9c94a9f5a92fcf6d4138ba247f53f |
17-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/MEMCPY/_mesa_memcpy/ and fix typo
wrast/s_copypix.c
|
11f179e01bf768efc40d68feec8a66a402ea0a00 |
17-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL renderbuffer
wrast/s_readpix.c
|
547113c16cbef5db7753f4835ed7b7dd72e77380 |
17-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved error checking in error_check_format_type()
ain/drawpix.c
|
154cc16d08c5de175f8bdf83c685991a8b2cd71b |
16-Nov-2005 |
Thomas Hellström <thomas@tungstengraphics.com> |
Fixes for x86_64 Unichrome.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
0ba7be0a5028ad3e6547eb0351967eb6083b7900 |
16-Nov-2005 |
Thomas Hellström <thomas@tungstengraphics.com> |
Bring in last minute 6_4 branch changes to the unichrome driver to the trunk.
rivers/dri/unichrome/server/via_dri.h
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_drmclient.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_tex.c
|
0f29ef6092b77a5047c92520bb8e773ef44bca7c |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional comments about GL_DEPTH_STENCIL buffers
ain/framebuffer.c
|
1a5f1bdb428ea3ded1e77796590014f89fe78f77 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use new gl_framebuffer _Depth/_StencilBuffer fields instead of Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
ain/teximage.c
wrast/s_buffers.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_stencil.c
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_zoom.c
|
909e8a7abbce61de467e059d9be57a1f32a3d344 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added depthstencil.c
ain/descrip.mms
ources
|
847160466cb7d1af55f294578c328b01fb3fd3d3 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
ain/dd.h
ain/depthstencil.c
ain/depthstencil.h
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/mtypes.h
|
06185363ddcbd53a7b8b60350e71d9725a1632d5 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffers
ain/renderbuffer.c
ain/renderbuffer.h
|
c731d6223c171ecc33a1ad6e5c109f506c8d4132 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added error checking in _tnl_Begin to detect incomplete framebuffer. Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments.
nl/t_context.h
nl/t_vtx_api.c
|
0ad64faec79770ad97044257ab1baf0675187aea |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change an assertion
nl/t_vb_render.c
|
738f501f731d9b03a1ff130381ea087c05a7ad40 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_END
nl/t_array_api.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
|
62620d349bd30fda460f32d3c6ccfa2a093eac90 |
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()
ain/imports.c
|
daeb0056df58afaa1a96a1eaea699571205c8d4b |
15-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix color interpolation problem reported on VMS
wrast/s_tritemp.h
|
7edf68e08178106a37094e1aed2df1898f3027cd |
15-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for ctx==NULL, bug 4087
ain/framebuffer.c
|
1e134cf7e402a9c16064b19a0c72ed17cb2fc189 |
15-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix problem in stencil_and_ztest_span() when using h/w stencil buffer. Fix a comment typo. Remove some unneeded #includes.
wrast/s_stencil.c
|
cb6b47b795e3865690defc809416e5b5b95f226a |
14-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded RasterPosValid check
wrast/s_drawpix.c
|
7b98b40e4756108dd096299297f03261ec9fd617 |
13-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Improve _mesa_print_program(). Added make_state_string() to produce a string from a GL state vector.
hader/program.c
|
b3c095f07425ddb9e15ca24929ddd610037ad2ca |
13-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix comment for TexSrcTarget
hader/program_instruction.h
|
662fbf8a629d93ae210837fefc0765381bf0b708 |
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_light() helper function so we can avoid transforming then un-transforming light positions and spot directions when popping light state off the attribute stack.
ain/attrib.c
ain/dd.h
ain/light.c
ain/light.h
|
ba3da6154c324cc916845bc5de3de077d0b59ffc |
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OSMesaColorClamp(), bug 4917
rivers/osmesa/osmesa.c
ain/blend.c
ain/context.c
ain/image.c
ain/mtypes.h
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
|
e3636b4114327411a3ff7590a61a652d10c18a34 |
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
update an assertion
wrast/s_nvfragprog.c
|
bed8363aa6ab9f3dbd8052acc8c12d3de14f1399 |
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
update some assertions
hader/nvfragparse.c
hader/nvvertexec.c
|
de99760bf3511d05185799c4fb4347f9e5f420f4 |
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move stuff common to vertex/fragment_program into the base class, including: Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/intel_tris.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
ain/context.h
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
ain/texstate.c
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbvertparse.c
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertparse.c
hader/program.c
hader/program.h
wrast/s_context.c
wrast/s_nvfragprog.c
nl/t_vb_arbprogram.c
nl/t_vb_program.c
nl/t_vp_build.c
|
77ee31930a1b0cc7766939415f4f04ed6a1fa4ac |
11-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make _mesa_is_proxy_texture() non-static and use in a few more places. Use COPY_4FV() where possible. Added some comments, clean-ups.
ain/dlist.c
ain/teximage.c
ain/teximage.h
ain/texstate.c
|
418a7dbd75bf02731bce9d373d7816bab8f3730e |
10-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments
ain/attrib.c
ain/light.c
|
6297799fee30bb3a7e875c22d5f827e902f5ebbc |
10-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix popping of GL_SPOT_DIRECTION (bug 5005)
ain/attrib.c
|
1984aabe8362ee2b29711d2fa08e56e341eafddd |
10-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
ain/debug.c
ain/imports.c
ain/mtypes.h
|
a8446f72f45008974e356d103c2961d334a825c3 |
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix popping of GL_EYE_PLANE state (bug 4996)
ain/attrib.c
|
a8717180d9805de3bf1ca30eff5487575fcfb384 |
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Bug 4996. Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis_clear.c
ain/image.c
ain/macros.h
ain/pixel.c
|
cfca72cfb19367d824a3254b40566b3fc01723ea |
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)
wrast/s_buffers.c
|
8850a7e20f77c1bd79863667b2f1c64c2d730f38 |
09-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move COPY_FLOAT() macro down into glide driver. Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
rivers/glide/fxdrv.h
ain/imports.h
ain/macros.h
|
5374e4ba7eaca2ee0ca73863ffbe9e639d090e3e |
08-Nov-2005 |
Ian Romanick <idr@us.ibm.com> |
At keithw's request, remove all traces of the "fragment program to C" and TCC experiment.
ain/mtypes.h
ources
wrast/s_context.h
wrast/s_fragprog_to_c.c
wrast/s_nvfragprog.c
wrast/s_tcc.c
|
4884db6eb29d30a16e5bf72da08ea6095ecd3339 |
08-Nov-2005 |
Ian Romanick <idr@us.ibm.com> |
This patch adds the missing NV_vertex_program2 and NV_vertex_program3 instructions to the various internal tables. It does not add support for them to the parser nor does it add support for them to the program interpreter. It also corrects some errors in the comments in program_instruction.h. This patch breaks the instruction union in t_vb_arbprogram.h. The opcode field in that union was only 6 bits. When there were only 59+3 instructions that worked fine. However, this patch increases the base instruction count to 69. This requires 7 bits. The problem is that increasing the opcode width to 7 bits increases the size of instruction::rsw to 33 bits. I've increased the size of the union to 64-bit, but this is just a temporary hack (and probably breaks the build on some systems).
hader/program.c
hader/program_instruction.h
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
e1a5edf083efb065f97ec08592ae2c4ff6fc6662 |
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_debug_fp_inst/_mesa_print_program/
ain/texenvprogram.c
|
bdd80bf8190ccc640359674d37efa1ed5e1b73e7 |
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _mesa_debug_fp_inst()
hader/arbfragparse.h
|
0bffb1192a599b11af11604ad590f6a50c054bf1 |
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some initial work on upcoming GL_EXT_framebuffer_blit extension
ain/config.h
ain/dd.h
ain/extensions.c
ain/fbobject.c
ain/fbobject.h
ain/mtypes.h
|
02df9e1ed49a8b86a4e285cc55efbeda4908a835 |
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor work in _mesa_print_program()
hader/program.c
|
832026f90643f9162daceeb1be7c9b2f2e7b68c0 |
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded #includes
hader/arbprogparse.c
|
beff21e7bf75913f923cc2e207cbf9eddc41ba51 |
07-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded #includes
hader/arbfragparse.c
hader/arbvertparse.c
|
189bbe0b8c5c9b499a4c5a07dd608e60ec210ca6 |
07-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_debug_fp_inst/_mesa_print_program/
rivers/dri/r300/r300_fragprog.c
|
c657d8e3e4c2b14fa419c0902413fb9219e34ea0 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_debug_vp_inst/_mesa_print_program/
nl/t_vp_build.c
|
30d6a4bffa9a24b2080d145c8823bf6b1b8cbee7 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
consolidate vertex/fragment program printing into _mesa_print_program()
hader/arbfragparse.c
hader/arbvertparse.c
hader/arbvertparse.h
hader/program.c
hader/program.h
hader/program_instruction.h
|
237dae74f72370523776a3c679b7170248326648 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_program_file_string() and _mesa_opcode_string()
hader/arbfragparse.c
hader/arbvertparse.c
|
bf41bc03c2b461e246658704ba0b38474312cac5 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_program_file_string()
hader/program.c
hader/program_instruction.h
|
b7c87974b38dbe68c52e729f0692f3e4875c097c |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use _mesa_opcode_string()
hader/nvvertparse.c
|
c289f483426c6c0b5dbc39f5bc01fdf0758a94f5 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_num_inst_src_regs() and _mesa_opcode_string()
nl/t_vb_arbprogram.c
|
b88fb724e6782109b112173286afc21f96b9d926 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_num_inst_src_regs() instead of nr_args()
wrast/s_fragprog_to_c.c
|
1fcdaf1c3b0ce07ea6acfc051cf4924e36c92030 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_num_inst_src_regs() and _mesa_opcode_string()
hader/program.c
hader/program_instruction.h
|
637c375ee2e6dd835ac857ac061c02214027559c |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/Negate/NegateBase/
rivers/dri/r300/r300_vertexprog.c
|
9ba4ef3102196844d663b82565c87765fa240e16 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/TexSrcIdx/TexSrcTarget/
rivers/dri/i915/i915_fragprog.c
|
7e807510d8c3e88ee7ae6c697393201cf08f992f |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Unify vertex/fragment program instuctions. Based on patch by Ian (#4967) but also unify instruction opcodes.
rivers/dri/i915/i915_fragprog.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertexprog.c
rivers/glide/fxtris.c
ain/mtypes.h
ain/texenvprogram.c
hader/arbfragparse.c
hader/arbfragparse.h
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbprogram.c
hader/arbvertparse.c
hader/arbvertparse.h
hader/nvfragparse.c
hader/nvfragprog.h
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertparse.c
hader/nvvertparse.h
hader/nvvertprog.h
hader/program.c
hader/program_instruction.h
wrast/s_fragprog_to_c.c
wrast/s_nvfragprog.c
wrast/s_tcc.c
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_program.c
nl/t_vp_build.c
|
73347516be1a515380af1a71cbeaec51001a46dc |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded #includes
ain/state.c
ain/texstate.c
nl/t_context.c
nl/t_vb_render.c
|
41c8b71871d68a4465812130fd2995b9099af838 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded #include
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_lines.c
|
47adbde5e55c929a61fd48f1a5d695d49e649e6a |
05-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix broken build.
rivers/dri/r300/r300_vertexprog.c
|
fd4395b8d1d6f8f018e7e7c3dd0c52fe52ab2794 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't need MAKE_SWIZZLE() macro
hader/nvfragparse.c
hader/program.h
|
613e1ad5d517d9964bd9cf94daa931dda33113fe |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace parameter_type enum in program.[ch], use register_file enums instead.
ain/mtypes.h
hader/nvfragparse.c
hader/program.c
hader/program.h
|
4d0b7618cb3ada3b13e9e9b650ace34f5131e318 |
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor improvements in _mesa_init_teximage_fields()
ain/teximage.c
|
95ebb5f4856d1299591edc9f943d4faa3f1826c5 |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use VERT_RESULT_HPOS, VERT_BIT_POS tokens
hader/nvvertexec.c
|
2cb1cf484ad2f78b9c4ec9aea025b5afc9b4b43a |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
better ffs() function (bug 4956)
ain/imports.c
|
8ff68b2bf3d67f84f52d92686143175cb5446f76 |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just pass ctx to do_ndc_cliptest() rather than stuffing it in the arb_vp_machine struct
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
c12ee99d119debe1a421a77c1cc6d99d958ae94b |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
MESA_GLX_ALPHA_BITS env var to force visual with alpha channel
rivers/x11/fakeglx.c
|
f805cdfedff6e502ab30285d6cd50a9db828376b |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded HIDDEN definition (bug 4956)
lapi/gl_x86_asm.py
86/glapi_x86.S
|
84f3ff91d967887545363cc826b118120a135a58 |
04-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix MinGW problems (bug 4956)
akefile.mgw
ain/glheader.h
86/assyntax.h
|
72030e0d91cc505db1eb7d39d5240b2f562cf710 |
03-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Streamline code generation by using a fixed size instruction buffer in arb_program struct.
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbvertparse.c
|
ccfe3d4683bb6c97ffacd67267aa002dcb060433 |
03-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use WRITEMASK_* tokens
hader/nvfragparse.c
hader/nvvertparse.c
|
7ae9713a609531164b3c7690e0d5b993a00eaa77 |
03-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/15/VERT_RESULT_MAX/
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
|
1624162b0ca78fe2174418dd303c51d8eb80ff25 |
03-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a const, clean-up
hader/program.c
hader/program.h
|
45cd2f9305fb2c001044e3696e90a45e58c2eb62 |
03-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo, minor clean-ups
hader/arbprogparse.c
|
60031ace7504a78af75284d66a2d0b4ed9a92b73 |
02-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)
lapi/gl_x86-64_asm.py
86-64/glapi_x86-64.S
|
90ebb581e60d29bd565ad4d8a49e642de7b0ce5d |
02-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention
ain/mtypes.h
ain/texenvprogram.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvfragprog.h
hader/program.c
wrast/s_nvfragprog.c
|
5a02209cd2a634406fd54808ef19baf5f2c098a1 |
02-Nov-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Updated OpenVMS compile support (define tnl for include files) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms ----------------------------------------------------------------------
rivers/common/descrip.mms
|
eda460035e3733b42280905ce162c9b003120e1b |
02-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Use ctx->VertexProgram._Current .
rivers/dri/r300/r300_context.h
|
26b1c97a9dfba05334ecbe7ac312c7ee5b3a554e |
02-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Remove some ghost code and adjust things a bit.
nl/t_vp_build.c
|
3a5626cb846ad767fe1c38fe35ebe4df3e3a0454 |
02-Nov-2005 |
Eric Anholt <anholt@FreeBSD.org> |
First step of Radeon DRI unification: - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r300/Makefile
rivers/dri/r300/r200_context.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
rivers/dri/r300/radeon_state.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_chipset.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
a546abc8da5e03d4caf4c044726ba364d3688b32 |
01-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix broken tnl stage.
rivers/dri/r300/r300_context.c
|
f4fbda35b001aac22342596f4beafd9539f2ebb9 |
01-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a NotifyInputChanges() callback so that drivers (particularly tnl drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed.
nl/t_context.h
nl/t_pipeline.c
|
c3626a91cee5034528f3f92c802a8e5947ea5f92 |
01-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Several fp and vp tweaks: - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
ain/mtypes.h
ain/texenvprogram.c
hader/arbprogparse.c
hader/arbprogparse.h
hader/nvfragprog.h
hader/nvvertparse.c
nl/t_vp_build.c
|
6aa6d440d9d312cb984020e746aa80c3dbf6ea2c |
01-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Re-enable fallbacks.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
e7d6bb9dc41433803bcaad671ea2cf3bf628e0be |
01-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
-Fix first frame -bug -Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
3cf156df2b5561d52f3bdddf857fcc176e4134b5 |
01-Nov-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix segmentation fault in _tnl_ProgramCacheDestroy().
nl/t_context.c
nl/t_vp_build.c
|
05051037101dfa053798cf5ad91d1975fd1aa6a7 |
01-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org and clean-up of vertx/fragment program limits (instructions, temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_program.c
rivers/dri/r300/r300_context.c
ain/config.h
ain/context.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/texenvprogram.c
ain/varray.c
hader/arbprogparse.c
hader/arbprogram.c
hader/program.c
nl/t_vp_build.c
|
ffec105109f5b16bfe8282bd477d4aa32b550015 |
31-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix problems found with gcc 2.96 (bug 4934)
rivers/dri/r200/r200_swtcl.c
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagerender.c
|
dcf4c17fb1624af47181c63af4c3ad29f919c17a |
31-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check swrast->_FogEnabled instead of ctx->Fog.Enabled
wrast/s_bitmap.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_span.c
|
821b3dd562c0ec4560e50f29084c32653cf18c9d |
31-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Need more than 200 instructions.
nl/t_vp_build.c
|
37f2eaa316d507b729ca392b651ae18ef92efcac |
31-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Improve tnl program searching performance.
nl/t_context.h
nl/t_vp_build.c
|
18e7c5c5fea090bd84e15f7c0fb1c56b99155987 |
30-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify parse_attrib_binding(). Now only use VERT_ATTRIB_* and FRAG_ATTRIB_* tokens instead of hard-coded numbers. Note: previous check-in did similarly for output register parsing.
hader/arbprogparse.c
|
7aebaf3debc6482b49faee5ed38418ad3d35fc30 |
30-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of clean-up in arb program parser. Use new _mesa_init_fp/vp_instruction() function to initialize instructions.
hader/arbprogparse.c
hader/nvfragparse.c
hader/nvfragprog.h
hader/nvvertparse.c
hader/nvvertprog.h
|
094a1ddf2498d598da5abaef6d6ed53ec2dbe6dc |
30-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
need to use absolute value for RSQ
wrast/s_nvfragprog.c
|
5d04101d18270eec1692e691b1a4321a0ee3fb10 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some assertions to catch unexpected swizzle values in cvp_emit_arg(), currently fails sometimes
nl/t_vb_arbprogram.c
|
32df89e12d0e812ee633c082565daed2b04bd3c9 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use MAKE_SWIZZLE4() macro in a few more places. Clean up the parse_extended_swizzle_mask() and parse_swizzle_mask() functions.
hader/arbprogparse.c
|
5b3cf5af74fe459ea6ebda4dec803b26b40c5b1f |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
reduced swizzle comment
nl/t_vb_arbprogram.h
|
1a979736a6524a2987fcd6a8b1eda10016db96df |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Free old parameter list before assigning new one. FIxes memory leak.
hader/arbfragparse.c
hader/arbvertparse.c
|
5244fc6d60a365f04b85cbd035abf9bee93b3f4f |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added warning about use of REG_SCRATCH
nl/t_vb_arbprogram.h
|
3c2f8b22b9b87ccc06e33ecc088703c68d8230d8 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up comments
ain/mtypes.h
|
a2e696e521f3829d4de935f332b607bc32b4e879 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/lenght/length/
hader/arbprogparse.c
|
af13891dbdfd7ec46f85238f83eacaf6d1aeb2eb |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix LIT bug
wrast/s_nvfragprog.c
|
4174f79b1916746c826352875b27f897484885e7 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few bugs in SWZ execution
hader/nvvertexec.c
|
db02ab767f4b030ae2668c609ed147b9f464ee82 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string()
nl/t_vb_arbprogram.c
|
4570364097eb27266eefaa4b2ffdd5dd22325805 |
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
If parsing a program fails, don't change the vertex/fragment program object. Specifically, don't attach a dummy program. This change also fixes an occasional segfault. Some code clean-ups. Use GLboolean instead of GLuint to return pass/fail.
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbvertparse.c
|
aba878d8c2d0d75b0762f7d8ae191fa438fc7d6a |
29-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bug #4901: Correct secondary color emission when lighting is turned off, tested with seccolor on rv200 and r200. Submitted by: sroland
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_tcl.c
|
3eec2901db92dd91d96203ab515296eaf4b32927 |
28-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Keith's fixes for RSW and XPD (need temporaries)
nl/t_vb_arbprogram.c
|
86734ddae4b093782005499197aae312b5e0edee |
28-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
include tnl.h to silence warning
nl/t_vb_arbprogram.c
|
b3c98e6205c52616ea60e27f2b4537e24d8beac4 |
28-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added assert that result != arg0 in do_RSW. This currently fails and needs fixing.
nl/t_vb_arbprogram.c
|
b5ee368baf6472a79d250f0be418200760f4b43d |
28-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
TNL module needs to implement ctx->Driver.ProgramStringNotify() function so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed.
rivers/common/driverfuncs.c
nl/t_vb_arbprogram.c
nl/tnl.h
|
f51bf9e23c4b41ada5edeae91b31f64319534e48 |
28-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add newline at end of file
hader/slang/library/slang_common_builtin_gc_bin.h
hader/slang/library/slang_fragment_builtin_gc_bin.h
hader/slang/library/slang_vertex_builtin_gc_bin.h
|
5222c58a68d51da1bc7d552b74b5cf1a2f667ccd |
28-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Silence gcc-4 warnings.
rivers/dri/common/spantmp2.h
|
dc44372ba7ce4d068d87e983f37a2e31a61f8997 |
28-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix texture mixup when two or more contexts.
rivers/dri/r300/radeon_lock.c
|
eb171b0c10ece5e2a4800cadf8680c24e0d92cda |
28-Oct-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix missing commit for span changes
rivers/dri/r300/radeon_screen.h
|
3b3adf3daa9f92cb6904b0327a713baf2d529fc7 |
28-Oct-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix up radeon span functions using latest r200 code from Brian, tested with reflect on 32-bit.. not sure why depthHasSurface isn't needed
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_span.c
|
a4af1119f5fb9322e1ddaa4808fed7579a758e4f |
28-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Compiled arrays for vtxfmt_a path.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_vtxfmt_a.c
|
9c8f649930a523e8160d36d3971cd4505e73c103 |
28-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
GC a bit of dead code I noticed while looking at texwrap.
rivers/dri/r300/r300_tex.c
|
c57be49099428d6868b9f9215c6b2af9bcfd5a41 |
28-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Correct the ordering of the blend constant color.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
4b9f1308e55003308a744ad15eed6cab676e4785 |
27-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_EXT_stencil_wrap, from hearing that the windows drivers did it, and guessing that the two remaining entries in the 3-bit values were the new funcs. Tested with modified stencilwrap test. Also, remove the commented fallback stuff -- more modification to stencilwrap suggests that those issues were just from span readback, not stencil implementation.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/server/r128_reg.h
|
215c4c3a9c989b3d0e7090177ab2fc3eeab0ddaa |
27-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bug #1028: Add hardware-accelerated stencil support to r128. Testing with stencilwrap reported many issues with various modes. Some of these were complicated by the fact that spans are broken (Bug #1615), but some appear to be real bugs. However, while spans remain broken, I found that visual results were better by avoiding fallbacks rather than avoiding just a broken stencil implementation. Note that this required changing the depth spans at 24+8bpp into read-modify-write cycles. It would be nicer as a single write with a mask, but the kernel span blits turn off masking. Reviewed by: ajax
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/server/r128_reg.h
|
512c994b92126a7575bb3cc327da40710b43f52c |
27-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 by flipping the signs on two factors. While this contradicts the DDK, it matches what r200 does, and it fixes the test.
rivers/dri/radeon/radeon_state.c
|
170a61ec00b9eb1980511b793051e238e47ca2a1 |
27-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for HW stencil spans, mirroring the depth spans support. Used for Rage 128 stencil support.
rivers/dri/common/stenciltmp.h
|
2d0c92d81b5dab2215180d635b2ec8773820e3b7 |
27-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bump driver date for recent extension adds.
rivers/dri/r128/r128_dd.c
|
03833ba2ca979ab05027155c788ce643e64dd4ea |
26-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Cover my arse.
rivers/dri/r300/r300_vertexprog.c
|
d240b29b95573e37baa627650661a2ced109c68d |
26-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Reduce stderr noise and fix some compiler warnings.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
22605caea8af801185b7f4a64e3bb078b8712732 |
26-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Remove few outdated r200 files.
rivers/dri/r300/r200_sanity.h
rivers/dri/r300/r200_tcl.h
rivers/dri/r300/r200_tex.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
|
4dc3249f0d800f9e36ee11ec5c00351e67dbeee3 |
26-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Sync with my local tree. Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/radeon_mm.c
rivers/dri/r300/radeon_mm.h
rivers/dri/r300/radeon_vtxfmt_a.c
|
23f076ca67912c1a8ddd7a43f8a3e34c4bc5128a |
26-Oct-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix invalid vsf temp count for rv350.
rivers/dri/r300/r300_context.h
|
5f79025e0d3a416dd8428f75612da93283775778 |
26-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_color back on. Tested using seccolor modified to use the blue channel instead of green, since green stays in the same place across RGB/BGR mistakes. Also hook in UpdateSpecular on COLOR_EXT change, which might have resulted in missing statechanges before.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tris.c
|
f8a5898ca025ef48510d67f00f56fe4b2b7ef64d |
26-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the output from indirect rendering).
rivers/dri/r128/r128_context.c
|
2330ed08c3d5f5fe3c02634d54e606501dff4862 |
26-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it's not respecting the coords (or perhaps interpreting them differently?) in my testing. However, in the process it led to a fix of a secondary color handling issue where it would be taken from the wrong offset, I believe, based off of reading the r200 driver. Also add a minor tweak to save time in the fog-but-not-specular case.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
|
a09d002bb5b9610681e10e3e3b09e5da5b971eaa |
25-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Move the front.offset setting above a check to shortcut reallocating buffers if width and height stayed the same. Rely on front.offset pointing at the origin in the window (rather than the origin of the front buffer), and fix the coords in swapbuffers, which were wrong. This is different from other drivers because we've got a back buffer with a 0,0 origin at the window's origin, which makes it more convenient to have the front buffer match it.
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_screen.c
|
f1113fa99d8767e58d223b5bbdd7e19e9e89613f |
25-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Initial add of some (disabled) SiS 6326 drawing code integrated from Alan Cox's last drop I saw, which was in turn based on a code drop of mine. Texturing, culling, and several extensions are unimplemented, and some features could probably be improved. It's untested, but there don't appear to be regressions on the 300-series code, so I'd like to get these bits in now so that it can be worked on as not a huge diff.
rivers/dri/sis/Makefile
rivers/dri/sis/sis6326_clear.c
rivers/dri/sis/sis6326_reg.h
rivers/dri/sis/sis6326_state.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tritmp.h
|
005070a62a679dfb7a5676f5645458a3183ca434 |
25-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Cut a bunch of code by not trying to precompute the blit commands and instead just do it per blit. No noticable performance difference (or behavior difference, in my tests), and a significant difference in sanity.
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_common2.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
|
7040b7ad88b5f8ced609340f48ad6de1b1abc9cc |
25-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
In the last commit I added in a fatal error on unknown base formats so I wouldn't get confused when adding support for new formats. However, it resulted in dying in texenv instead of drawing something undefined for GL_DECAL. Do what GLcore apparently does and just pass the fragment through.
rivers/dri/sis/sis_texstate.c
|
f33beed330c22b56bb97af73f56d83c34e985cb6 |
25-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightly concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_texstate.c
|
81d3bf58ff2b143b7df16e5d7af8672b33626e40 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_EXT_secondary_color, tested with seccolor test.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
|
310f1551b45b190b52ee4c7a7a2beda4becfcf3f |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Turn off the AGP dispatch path yet again, as it seems to be broken (found with tuxracer and the upcoming support for secondary color).
rivers/dri/sis/sis_screen.c
|
32340aea1308153dad5c105fc0748aea1e4c37ee |
24-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fragment program writing to result.depth.z was broken
wrast/s_nvfragprog.c
wrast/s_span.c
|
c92adf468235a8ebe17b09a1d85d08944ea4786b |
24-Oct-2005 |
Adam Jackson <ajax@freedesktop.org> |
Add RV350 AQ chip. (popolon at popolon dot org)
rivers/dri/r300/radeon_screen.c
|
414b742c97301e3894278ef9e821ebb1100d22f8 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Since we memcpy texture data synchronously to the card, idle the engine before we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
rivers/dri/sis/sis_tex.c
|
60b639b9a6df6e53997d3c8acdb768229b654a5f |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
- Add a few more hardware internal formats that are supported. Some remaining ones require custom texstore, so they aren't done yet. - Add YCBCR support commented out, since the yuvsquare test didn't work with just the bits I've added. - Add the no-compression GL_ARB_texture_compression support. - Add the driconf texture depth option and try to respect it.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_tex.c
|
971bdc193cb4ce07f4ca20bac13276095b5f0b83 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix the GL_BLEND case (and remove the fallback associated with it) by converting the float values to bytes before packing them. Tested with texenv.
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
|
9e87119d873f3cde8b2b4d73155c315059a36ed1 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix texenv by moving a misplaced check for being in fallback (should cover only render state, not texture state). While here, move a SIS_FIREVERTICES to a more appropriate location, though it was harmless.
rivers/dri/sis/sis_tris.c
|
9192ab3f5d90d27d852fbd23dc44f5062e399f62 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat, tested using texwrap, fixing the sourcing of border constant values (use the bytes, not the floats!). Remove the fallback on GL_CLAMP_TO_EDGE, which acts properly, and add a note to GL_CLAMP about nonconformance (whcih is what the fallback for CLAMP_TO_EDGE was probably targeting).
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_texstate.c
|
6efd595bf5a18186ffe159566710ba037442967e |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix a typo in a fallback string.
rivers/dri/sis/sis_tris.c
|
dc793d4e9a71159da13b9230abde344309924287 |
24-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for GL_EXT_stencil_wrap by guessing that the skip of two values in the register header was meaningful. It turns out those were the proper values for the plain INCR/DECR ops, while what we were using as INCR/DECR were the _WRAP versions. Tested with stencil_wrap (didn't expose normal/_WRAP swapping) and stencilwrap (exposed it nicely) tests. Props to idr for poking me about adding this.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_stencil.c
|
3265585b151d44c825fb7a82b16b076fb7fdca77 |
22-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.
rivers/dri/r200/r200_screen.c
|
52f686c48080cec9a26aa23d16bc14bd3d302d70 |
21-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GLX server resize/crash when resizing windows
rivers/x11/xm_dd.c
ain/framebuffer.c
ain/state.c
|
7d3b26022b75608e2c9d83c14157b89ef39cbd43 |
21-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check span.y >=0 (bug 4842)
wrast/s_tritemp.h
|
54cfe69436c7b4749b01c5f8b74ba3d790ea2657 |
21-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix broken SWZ instruction
hader/arbprogparse.c
wrast/s_nvfragprog.c
|
b3f2e1503530383de98dfa8e35c24c7b38a37b63 |
21-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix broken KIL
wrast/s_nvfragprog.c
|
eedc45709f080bd0600e6cfaa20b66057d5d89e8 |
21-Oct-2005 |
Dave Airlie <airliedfreedesktop.org> |
add the tile bits for offset, and unk bit 31 of size
rivers/dri/r300/r300_reg.h
|
f468dfde17e055f713bd8df14c34e2229c268255 |
21-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
restore FASTCALL stuff
lapi/gl_XML.py
|
255afe4abda548ca6273846fae2153ef892ef0df |
20-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix another renderbuffer wrapping bug
rivers/x11/xm_line.c
|
c8f86105d0df2ef14c9dd9fc193f8cd40b58fc00 |
20-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Disable the FASTCALL optimization because it still breaks server-side GLX.
lapi/gl_XML.py
|
6f980dbf21893af4e7413dbb0373fb79761294c7 |
20-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bump driver dates for the crasher fixes yesterday.
rivers/dri/mach64/mach64_dd.c
rivers/dri/sis/sis_dd.c
|
b50a51118ce474a679b0f9e026557ef1b83cd344 |
20-Oct-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
descrip.mms syntax correction
ain/descrip.mms
|
806e25a5d9c92d3b8e13d8ba3bc90fd3094803f3 |
20-Oct-2005 |
Dave Airlie <airliedfreedesktop.org> |
fixes for r300_tex.c from Aapo Tahkola
rivers/dri/r300/r300_tex.c
|
2420318cd9d42e1dda43e9e6ffb0accae1ff6b02 |
19-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Make SiS a little more like other drivers: Add SIS_DEBUG (only option being "fall" so far) and make the fallback_force option be no_rast like other drivers. Incidentally, makes no_rast not crash (though it still fails to render).
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_tris.c
|
e0cb784e03530d2c806e74b3ac9b66021b5791ce |
19-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Remove some long-dead code.
rivers/dri/sis/sis_common2.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_debug.c
rivers/dri/sis/sis_debug.h
|
d76c7d7d3e37698a17274d9916c04c7c8d42f2df |
19-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions in __driCreateNewScreen_20050727 resulted in crashing in dispatch.
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_screen.c
|
dc4070c7870b1bc9ed1c39908177c1e8d983b111 |
19-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for new mm.c, execmem.c files
ain/descrip.mms
|
ca2db58166400acdd1c4f8209d1bb3fb3caf4f7a |
19-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.h
|
deadd47aab68d4914d70b19fa08f834623f2e0a7 |
19-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bug #4615: Fix the SiS driver for the renderbuffer changes. Previously, all drirenderbuffers pointed at screen offset 0 and NULL. Instead, set up the front buffer at startup but leave the others for later, since sis allocates them on demand rather than using the static method of the other non-sis-descendent drivers. Some basic apps work, but fallbacks may be broken still.
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_texstate.c
|
bf3f0bcf802af20b2d95890ad4dcc56c98289b10 |
19-Oct-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions in __driCreateNewScreen_20050727 resulted in crashing in dispatch. Rendering remains broken.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_screen.c
|
d99c37bca6c53535e748804b15ab5b614aa0da48 |
18-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move _mesa_exec_malloc/free() up near other malloc/free prototypes
ain/imports.h
|
1c236fd5c734b7388d7625ce8c3d4b2d6da9fcfb |
18-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of clean-ups. Replace __inline__ with INLINE macro. Use the _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
ain/execmem.c
ain/mm.c
ain/mm.h
|
005469005df6ba5f80e382d5371c6d069c27738b |
18-Oct-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add _mesa_exec_malloc() and _mesa_exec_free() for allocating executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
rivers/dri/Makefile.template
rivers/dri/common/mm.c
rivers/dri/common/mm.h
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.h
ain/execmem.c
ain/imports.h
ain/mm.c
ain/mm.h
ources
86/rtasm/x86sse.c
|
05e1a49ab4b0d34aba4bdf55ed7ffe5b6d4411f8 |
18-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt not causing a fallback when fog coords are active.
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/radeon/radeon_maos_arrays.c
|
2d61d301171620efe624d83a5457f4094eb49cba |
17-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_vtxfmt.c
|
dd5a86339f8b10f72c8a0e15c14463af3e0f717d |
17-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix some obvious typos in radeon_reg.h (only currently unused bits affected)
rivers/dri/radeon/server/radeon_reg.h
|
247f3b3e81fffa86c50531070fab573e26ffb452 |
16-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
|
ccf13781319b5b9d7ba306728f74b4ae2d099ad0 |
15-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix two bugs wrt calculating max possible texture sizes for texture rectangles/cube maps.
rivers/dri/common/texmem.c
|
30daa7529331057ecb470efb500152e9c4aa1ae5 |
13-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_maos.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/radeon/radeon_vtxfmt_x86.c
rivers/dri/radeon/radeon_vtxtmp_x86.S
|
ed2f8635f006886a16da07c77bcab8094229042c |
13-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
make sure texture matrix is updated often enough with texture rectangles
rivers/dri/radeon/radeon_texstate.c
|
6ff023fe3a3fab14c33d20218155f82e1ed76b7e |
13-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix potential bug when emitting elts with lots of components
rivers/dri/r200/r200_context.h
|
96e1ccedec19a3314b43461387c8c391a43ba78b |
12-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused _mesa_log2() (bug 4468)
ain/imports.h
|
c81de36223e17c0a95b9651dab26857e1549739f |
12-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change includes (bug 4468)
wrast/s_tcc.c
|
d084c3d4dcabf58cef921b50ab60d1287563cd43 |
11-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Minor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
|
44b1bd7597bea6d48d26551c2678de65ed5c3648 |
11-Oct-2005 |
Ian Romanick <idr@us.ibm.com> |
ifdef out some code to make glapi.c linkable in libglx.so (on the server). This isn't strictly needed yet, but it doesn't hurt anything either. However, the patches for fd.o bug #2996 require this to build.
lapi/glapi.c
|
e7325294d0d35b34d1869f7c4e97a9be76faf181 |
11-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for PIXMAP in clip routine (SF bug 1323215)
rivers/x11/xm_span.c
|
ac04a4fa7fb2c705d518cb3e0c12a2df8fc05485 |
10-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed constant fogcoord bug (#4729)
nl/t_vb_fog.c
|
8d29d463a376d1fa7d48d50ef07bfb8682bb5444 |
10-Oct-2005 |
Ian Romanick <idr@us.ibm.com> |
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums. Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
lapi/EXT_framebuffer_object.xml
lapi/glX_proto_size.py
|
1c0f11046a6dff2568bf42f213983df583b765b9 |
09-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
rivers/dri/r200/r200_state.c
|
30f2d6f0cb34744c323c301573684b918332437f |
09-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove code dealing with drm versions older than 1.3. The driver requires (and requests) 1.3 since quite some time already to work at all.
rivers/dri/radeon/radeon_state.c
|
b4269c07f8fe51912a01a36ff6239f1565d0639c |
08-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change test for presence of accum buffer
ain/accum.c
|
474f28e57ca750ca39d7f684904a3c0e69a03f62 |
08-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS, etc. after calling glRenderBufferStorageEXT gave undefined results.
ain/fbobject.c
ain/framebuffer.c
ain/get.c
ain/get_gen.py
|
81a22ef53953d950052c7bd5a282e96107a25f24 |
07-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
MATH_DEBUG changes from bug #4468.
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_xform.c
86/3dnow.c
86/sse.c
86/x86.c
|
f2802c40fff686301a7ff99f0a0b1c57d5cf5625 |
07-Oct-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Populate arb_fp_instruction negate field correctly.
ain/texenvprogram.c
|
dfe7aedf845ce9117065c6cee2146df7eee1c0fa |
07-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a number of point size attenuation problems. Move size clamping into the rasterization function.
ain/points.c
ain/points.h
ain/state.c
wrast/s_pointtemp.h
nl/t_vb_points.c
|
9dd973ec3b2b53f4b95d2ba0a746a0e52533becf |
06-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
rivers/dri/r200/r200_state.c
|
24a44d74b6e9880dfc019bd1cfa9ce0351377c85 |
05-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
reverse accidentally commited part of last commit (makes it compile again...).
rivers/dri/r200/r200_context.h
|
44dace86eaf9eded8e6465adfadf6345658686dd |
05-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
26f69d87a4e6f4d39ce10864e9e70689646155ed |
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
ain/texstore.c
|
ea20c324ae1dd6360ec88f83f95087ebbb79bd0d |
05-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).
rivers/dri/radeon/radeon_maos_arrays.c
|
11f763f5057490477a2771febe8923682f6a5ada |
05-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove unneeded parameter from radeonUploadTexMatrix.
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
|
a3c8de2fa7fba22647e5b3e8cfb05c85d1a5a980 |
05-Oct-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_texstate.c
|
06f606ce5761e673fca3f6b1f7dd40dace8a9906 |
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
ain/mtypes.h
ain/texobj.c
wrast/s_texfilter.c
wrast/s_triangle.c
|
198a88923c185bb0530787cd80cb9e1d700f2c91 |
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
rivers/dri/tdfx/tdfx_tex.c
rivers/glide/fxddtex.c
ain/colortab.c
ain/mtypes.h
ain/pixel.c
ain/texformat_tmp.h
|
a9fc8ba756dd25a07dc19058fe60f65bda82a055 |
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In gl_texture_image replace IntFormat with InternalFormat and Format with _BaseFormat to be consistant with gl_renderbuffer.
rivers/dri/i810/i810texstate.c
rivers/dri/i830/i830_texstate.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_tex.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mga/mga_texstate.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r300/r300_texstate.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/s3v/s3v_texmem.c
rivers/dri/s3v/s3v_texstate.c
rivers/dri/savage/savagetex.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/unichrome/via_tex.c
rivers/glide/fxddtex.c
ain/fbobject.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texrender.c
ain/texstate.c
ain/texstore.c
wrast/s_texcombine.c
wrast/s_texfilter.c
wrast/s_texstore.c
wrast/s_triangle.c
|
91802fdf730451aaa0246f514f6778ffaef92c50 |
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if deleting currently bound frame/renderbuffer object
ain/fbobject.c
|
bc6cced479b0ea854acff9f5fec253d462774290 |
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix behaviour of glIsFrame/Renderbuffer()
ain/fbobject.c
|
14c38b8f4f1f3ffaf955fb4de4cb36a5f10d2bb2 |
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer operations.
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_texstore.c
|
eb063cfa386ccf64e01be2fc6e6a44f702d19da5 |
04-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change initialization of renderbuffer DepthBits
ain/framebuffer.c
ain/renderbuffer.c
|
199ef86b5e6354098bc800ffb56a6cab3e9a99a1 |
03-Oct-2005 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1155: Define IEEE_ONE on Super-H as well.
ain/imports.h
|
a6296dd2c3cd40fc58fb1cd52b299fdf6c37f8c2 |
03-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable a warning
ain/framebuffer.c
|
071b30aba139aca90c920d6d9b502630c94355d7 |
03-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few calls to _mesa_update_framebuffer_visual()
ain/fbobject.c
|
b0e7d850d1471fd8e5aa99a67ec7ea9721b692ad |
03-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
finish up some missing code
ain/texrender.c
|
8ef0519bbe0318920170e82b6b52853920a897c4 |
03-Oct-2005 |
Ian Romanick <idr@us.ibm.com> |
Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". This signals to the script (glX_proto_size.py) that generates the server-side size functions that a handcoded query is needed to determine the data size. Also do s/FOG_COORD_SOURCE/FOG_COORD_SRC/. When initializing the count in glx_enum::__init__, cast the local property to int. Thanks to Python's dynamic typing, if this isn't done the type of stored count will be a string instead of an int.
lapi/glX_XML.py
lapi/gl_API.xml
|
9a3a1497e5d709015486d0c7801688812ca446da |
03-Oct-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove the non-existant --get-alias-set option from the help text. Update printPixelFunction (which is only used to generate code for the server-side) to use the correct method for obtaining the dimensions of the image parameter to a function. Only use byteswap.h when building generated code on Linux. Elsewhere use the (horrible!) macros from X11/misc.h. Make sure that enums associated with the generic "Get" function get applied to GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.
lapi/glX_proto_size.py
|
1fc4b21eb240cbb883b4fe734eaf113c17771e6b |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for GL_DEPTH_STENCIL_EXT
ain/texstate.c
|
2794507289afcbfd6e2dd4f01b9fb404c507a587 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in _mesa_texstore_z24_s8()
ain/texformat.c
|
184a9707227ab024d65d352fe7c09b3e287348e9 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_texstore_z24_s8()
ain/texstore.c
|
b0a0ca8bd9edc13e495a39709cc28953dd3fbd9c |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_packed_depth_stencil changes
wrast/s_texcombine.c
wrast/s_texfilter.c
|
0899afae33a29d1f6d15ebc96dc6ea8a8371cdb6 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional error checking for GL_EXT_packed_depth_stencil
ain/teximage.c
|
cef88397a6fbd56a370fc0edb3b9763aa5162fd0 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an assertion
wrast/s_texstore.c
|
7f78c93015fc65b351e765c2900ccd2f83d6d34e |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplify the read_depth_stencil_pixels() function
wrast/s_readpix.c
|
9758ef9e7bcd5fe85f0920d872c378897f546249 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix broken z24_s8 fetcher
ain/texformat_tmp.h
|
252194d74ef08b940395a2eb1c05415dfd0d6a91 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
ain/mtypes.h
|
31340f6645b34314469894c02b1df88886811e85 |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_pack_depth_stencil_span()
ain/image.c
ain/image.h
|
3d61c2e778e5592a52eef21fab6cc301b54f449e |
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move around some error checking
ain/drawpix.c
|
76560af99d36bbccb7e390c622ee83a9ec05a775 |
30-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented fallbacks for GL_EXT_packed_depth_stencil
wrast/s_texstore.c
|
82b29819a9ede846ad5c37ff70b71d45cf72357a |
30-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor improvements
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
f493a04be0e004bb07f84b2e28124ed8cb6a9b38 |
30-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _swrast_get_row()
wrast/s_span.c
wrast/s_span.h
|
b2404b132dd7fc1058851d56414f9c1be17f0a2f |
29-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement CopyPixels for GL_DEPTH_STENCIL_EXT
wrast/s_copypix.c
|
3fd819aef8139761ce86cb8d763de83a11c81b33 |
29-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _swrast_put_row()
wrast/s_span.c
wrast/s_span.h
|
8d0edf015d82a705796389890f6fe9b32e19414c |
29-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rewrite much of the pixel zoom code. Zoomed DrawPixels of packed depth/stencil works now.
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_zoom.c
wrast/s_zoom.h
|
5208867f12abd4b13c517e8cd006afde6fadbed8 |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add error checks for framebuffer completeness
ain/drawpix.c
|
d95000da2fdad78f25618fe9703f23806587b65a |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for framebuffer completeness, code clean-up
ain/accum.c
ain/framebuffer.c
|
f7a8d8ffbb1f08ed4ffef9759c98d8d7e13b4ef0 |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated assertions (see bug 4590)
rivers/dri/savage/savage_xmesa.c
|
1ad7b99925e044f82e635f746c1ef2df77f69ac9 |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_packed_depth_stencil extension. glReadPixels done, glDrawPixels mostly done.
rivers/x11/xm_dd.c
ain/drawpix.c
ain/extensions.c
ain/fbobject.c
ain/image.c
ain/image.h
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texstore.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_zoom.c
|
b955474093445d6e5b8c5d3cfa69e2752a01bcf8 |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change initialization of rb->DepthBits
ain/renderbuffer.c
|
ac3ec5096a760daabb1f2be7400bd9723e5058a5 |
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_scale_and_bias_depth()
ain/pixel.c
ain/pixel.h
|
dbd0fa920effdceacec34fa0d5ae9ab7a2f09614 |
27-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak glAccum error checking
ain/accum.c
|
78b3b667b5fc7dbd7f723682f8ffaa0091286abb |
27-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
ain/accum.c
|
99796464c5f0fdb463c31a0e99b0896089b8bd80 |
27-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels functions into the _mesa_Draw/Read/CopyPixels functions.
ain/drawpix.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
70c3bebcde336c4cc282bc5dbd33d4180b92771c |
27-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
wrast/s_stencil.c
|
afb9fb09655a87e1b78807b0c24c794e03f3632b |
26-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove identity check for texgen planes (which was just plain wrong).
rivers/dri/radeon/radeon_texstate.c
|
84c9e671edcc1358307879491bddef9f7d96f14b |
26-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix projective texturing for (swtcl) texture rectangles. Fix wrong argument order for texgen/texmat matrix multiplication.
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
|
ad271b8c98021dc82c0714d768a6642aee10794f |
26-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places instead of the XMesaPixmap field to avoid some X server-side issues with casting.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xmesaP.h
|
4aeaff2ae7f4a4b209e0d0ee2081b592951b7054 |
25-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
Add support for texture compression to R300 driver This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_screen.c
|
310a10b0f29d4aba36242b9d90f19d016505eddb |
25-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
add link for radeon_egl.c
rivers/dri/r300/Makefile
|
d997b904338bdef2269894d9d2f0cf2e0ed5c209 |
23-Sep-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
rray_cache/descrip.mms
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
lapi/descrip.mms
ain/descrip.mms
ain/texobj.c
ath/descrip.mms
hader/descrip.mms
hader/grammar/descrip.mms
hader/slang/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
|
79b4dbc4961a80e6a88235ae7455ffdcec23e982 |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove printf
ain/framebuffer.c
|
048b13df65f222b10564091df3dfa2b6cab77631 |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex, Streamline the _mesa_update_framebuffer() function a bit.
ain/buffers.c
ain/framebuffer.c
ain/mtypes.h
|
d5861c06f2b7c4039e410a30df828c9b43958566 |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix clipped glReadPixels bug
wrast/s_readpix.c
|
6d3637849bccf39843638d4c52d40bc4b9ddcdfc |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added a fast xor_line() function. Uses XDrawLine with GXxor mode. Only used for front-buffer window/pixmap rendering, GL_FLAT shade model, no Z test or other fragment operations.
rivers/x11/xm_line.c
|
0efc17c105f8239bf4fb128d570f2d343c45d430 |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer with another, such as wrapping a hardware/win-sys RGB renderbuffer with a software-based alpha buffer. Previous alpha buffer wrapping was conflicting with the X driver's xmesa_renderbuffer structure containment/inheritance. That lead to memory corruption.
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/mtypes.h
ain/renderbuffer.c
|
e5fce1694cdfca615022bf7b987835384902aceb |
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
improve the test for using software alpha buffer
rivers/x11/xm_api.c
|
7b01068a231f7a1c21b58f5191a6f5f11df79d3f |
22-Sep-2005 |
Ian Romanick <idr@us.ibm.com> |
Enable GL_ARB_texture_mirrored_repeat on Savage4. Refactor the code that sets the texture wrap mode and texture filter mode for Savage4 to the new functions savage4_set_wrap_mode and savage4_set_filter_mode. This was tested with texwrap and tunnel.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagetex.c
|
676d0accf5cc43e86057b14cfb8bba9316932582 |
22-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, BlueBits, etc fields.
rivers/dri/common/drirenderbuffer.c
rivers/x11/xm_buffer.c
ain/fbobject.c
ain/framebuffer.c
ain/mtypes.h
ain/renderbuffer.c
wrast/s_stencil.c
|
f1e2826856d7df00d0e98106b93ddab51b26ff04 |
22-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
When testing visual attributes, use the Draw/Read buffer, not the context.
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
4fd11949f03039a95dbdbfdae7865615d5a727d6 |
22-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a debug message
wrast/s_depth.c
|
63016507d7916231d139d7e3816b7c1b3809fa87 |
22-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed a renderbuffer check
wrast/s_stencil.c
|
7d39e8297676841dbc9d096e62752ee4c5e04783 |
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
ain/texstate.c
|
8bdc1ae358986aec81d4e6e3930a85f11680b73b |
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing scale factor in _swrast_read_depth_span_float()
wrast/s_depth.c
|
978ef2bb6d9ca4996a24f95820a699e22c84f70b |
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove ACCUM_BITS.
rivers/x11/fakeglx.c
ain/config.h
ain/context.c
ain/mtypes.h
wrast/s_accum.c
|
3e37bafab0a339021354b9c78f983d05d433d735 |
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GLdepth with GLuint and remove GLdepth
ain/mtypes.h
wrast/s_aalinetemp.h
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_linetemp.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_triangle.c
wrast/s_zoom.c
|
4092fbd55ac92a59d09d5167ced328683bed049c |
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GLdepth with GLuint
rivers/dri/ffb/ffb_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/glide/fxddspan.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
|
5bfb9356d6df4c8b1e177ebda01631d99355ba25 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/programss/programs/
wrast/s_texfilter.c
|
9e4e3adcf82a72e9a74f21b492fbf5552ebfd47f |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove 31-bit Z buffer work-around
rivers/x11/fakeglx.c
|
8fadf8f900d4f979af50a86f98a3577946d93fd1 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change mask[] test in put_mono_row_uint()
ain/renderbuffer.c
|
14570e6d7ccf43b228d09d6fc01a45b2ba31947b |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
compute z[i] as GLuint
wrast/s_aatritemp.h
|
f39569f5509f9298cb5374b9758296d9149add9b |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some improvements to _swrast_clear_depth_buffer()
wrast/s_depth.c
|
000abaa12de276d757d59d65ca0d99574fc0f2a6 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded sizeof(GLdepth) test
wrast/s_drawpix.c
|
7265556b9aa0367e9b5031e7cb15ed2a5d73866d |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation
wrast/s_span.c
wrast/s_tritemp.h
|
22607975b49633a38ddf65127e26a30e9522d825 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace STENCIL_BITS with stencilMax value
ain/stencil.c
|
3211b28ee633707218fe7eb2bdfc604c10fd8d29 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove STENCIL_MAX
ain/mtypes.h
wrast/s_stencil.c
|
cd81190d5c5f7064e0013eb313f2ad5da863fad7 |
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change location of ffs() code for windows
ain/imports.c
|
17d6fff30c6696b1624e1c019d31f22332c74622 |
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
init a=0
ain/texcompress_fxt1.c
|
c650bb0b7d2f8b1c9823001ab2012c4cbecfbc6c |
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLchan/GLubyte/, fix error string, add comment
ain/renderbuffer.c
|
02237f447f99478fe8d593ee645ade05d05f24f4 |
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
ain/buffers.c
|
b3aefd1cfb6aacd1695c52911dd39da50d893ece |
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional wrapper updates, bug 4468
rivers/windows/gldirect/dglwgl.h
ain/enums.c
ain/glheader.h
ain/imports.c
ain/imports.h
ain/mtypes.h
ain/texenvprogram.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_matrix.c
hader/arbprogparse.c
hader/nvvertexec.c
hader/slang/slang_compile.c
hader/slang/slang_execute.c
wrast/s_aaline.c
wrast/s_fog.c
wrast/s_nvfragprog.c
wrast/s_texfilter.c
nl/t_vb_arbprogram.c
nl/t_vb_fog.c
nl/t_vertex_generic.c
nl/t_vp_build.c
nl/t_vtx_exec.c
nl/t_vtx_x86.c
86-64/x86-64.c
86/common_x86.c
|
26bb7bc0253cf557cbb98f1f0ecaa28e7067e6f5 |
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
compilation fixes, don't know if runtime works
rivers/dri/fb/Makefile
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
|
67074332728acba86da7630353673b458713bb8a |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix potential segfault when trying to read pixels outside renderbuffer bounds. Use _swrast_get_values() which does clipping.
wrast/s_blend.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_logic.c
wrast/s_masking.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
|
82e314252f0b706c3ae1c748e9d64d8fa58812db |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused _swrast_read_depth_span()
wrast/s_depth.c
|
f2ea634c0c6ff7079f3634adc85f130859d1e288 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of little clean-ups, improvements
wrast/s_readpix.c
|
6ae87475397d7ffabbc12d1441ecbf22ba0efff0 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change some comments
wrast/s_context.h
|
62a2f8cdd60df797daad106d51c3bcc56943c236 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass mask=NULL to write all pixels in clear_ci_buffer_with_masking()
wrast/s_buffers.c
|
db64b60225c77fc3da0ff5a96bd239e1a11a9758 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused ctx var
hader/arbprogparse.c
|
aa2069586d434dd0487b0daa2b583efe801a0d51 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use mesa import wrappers, bug 4468
ain/imports.c
ain/imports.h
ain/texcompress_fxt1.c
ain/texenvprogram.c
ain/texobj.c
ath/m_matrix.c
hader/arbprogparse.c
hader/nvfragparse.c
hader/program.c
hader/slang/slang_compile.c
hader/slang/slang_execute.c
wrast/s_nvfragprog.c
nl/t_context.c
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram_sse.c
nl/t_vertex_sse.c
nl/t_vp_build.c
nl/t_vtx_api.c
nl/t_vtx_x86.c
86/rtasm/x86sse.c
|
3cc67cb8cd1302c20218dda70599523102a29e10 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
alphabetize
ources
|
aa8abf8081023c00469b6c88760ed0291033eb6e |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rework the texture filtering functions a bit. No need to pass the texture unit number as an argument.
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_context.h
wrast/s_nvfragprog.c
wrast/s_tcc.c
wrast/s_texcombine.c
wrast/s_texfilter.c
|
792a1bcbe4c4b4f5f96d6ac017fcb5376900ea75 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace a couple macros with inlined functions
wrast/s_texfilter.c
|
8885b077ed7180e93a002d93864a8ff7b0bb81f3 |
16-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GLuint->GLbitfield changes
wrast/s_context.c
wrast/s_context.h
wrast/swrast.h
|
e00ac11d4dd05c56584622dc2707bbdcfe4b2707 |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace GLuint with GLbitfield where appropriate. Also replace GLuint with GLboolean in a few places.
ain/buffers.c
ain/buffers.h
ain/framebuffer.c
ain/light.c
ain/mtypes.h
ain/texenvprogram.c
ain/texstate.c
wrast/s_context.c
wrast/s_context.h
wrast/s_drawpix.c
wrast/s_span.c
|
0f540f4b0468f581f63fb0b6347fe66251fa545a |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Code clean-ups, reorg.
wrast/s_texfilter.c
|
63b5b8eaff13b671fc1c749741f57fd7ed5890f8 |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove a bunch texel fetch functions that can be handled by the new adaptor functions.
ain/texformat.c
ain/texformat_tmp.h
|
9a22b555cf533f7801f79af7f568453860784166 |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments
wrast/swrast.h
|
da9f65268db5d0468f91860d9ef9f244587c7f48 |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
New set_fetch_functions() to set a gl_texture_image's FetchTexel functions from the gl_texture_format's functions. Added "adaptor" functions to allow sampling a float-valued texture with GLchans and vice versa. This will allow trimming down the number of texture fetch routines.
ain/teximage.c
ain/texstore.c
|
55187ea63e980b32c7a701855571332f4357d634 |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update includes post-splitting of s_texture.c
wrast/s_atifragshader.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_fragprog_to_c.c
wrast/s_nvfragprog.c
wrast/s_pixeltex.c
wrast/s_span.c
wrast/s_tcc.c
|
2cd8791cad11ea3961533c0cd8f9c1bbf50ef6cc |
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Split the s_texture.c file into two new files: s_texcombine.c - for texture combining/application s_texfilter.c - for texture sampling/filtering
ources
wrast/descrip.mms
wrast/s_texcombine.c
wrast/s_texcombine.h
wrast/s_texfilter.c
wrast/s_texfilter.h
wrast/s_texture.c
wrast/s_texture.h
|
6ce60beb28fa96eeac22a90f6ce6156919d24e3d |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused vars
rivers/osmesa/osmesa.c
|
5f16244879066722820ab0af7745a71387129cd9 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _tnl_MakeCurrent call
rivers/osmesa/osmesa.c
|
b43671c8bf0ff640243c670ff98225d2a3c10632 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
rivers/common/driverfuncs.c
ain/context.c
ain/dd.h
nl/t_context.c
nl/t_context.h
|
04adb70f32b25cee6f05ce97d1ddf16482636c27 |
14-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix breakage from Brians changes earlier
rivers/dri/r300/r300_state.c
|
a702bbfff3a53db4e9183bdeda15333a52af1fc5 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up some _mesa_make_current() code
ain/context.c
|
5250aa7c6ab53888070034ca93d8f90746dfcc25 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove rm -f line
akefile
|
41cf68b4cb493444e38e84409e54f258ec751784 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
pageflip change from radeon driver
rivers/dri/r300/radeon_lock.c
|
a400a1e4045e2478032bc5b8ae0b794964b24bae |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, call driUpdateFramebufferSize() when window size/position changes.
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_state.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_state.c
|
f157e2dee4741bec74f83040a604628c09e2aef7 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make some funcs static
rivers/dri/mga/mgaspan.c
|
ff9d235042bb80daf0a6f5af41f7abcb1d552a80 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, call driUpdateFramebufferSize() when window size/position changes.
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_state.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_state.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
|
48799287b3e88105cdf3f83e97e8bb4a90f8650b |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use mklib script to make drivers instead of gcc -shared
rivers/dri/Makefile.template
|
a60ff20c584245c929ba755f5592e4b3791b2173 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
rivers/dri/radeon/radeon_context.c
|
67a8decffeada987d10da616d72c1e6ec473dfa5 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make some functions static
rivers/dri/radeon/radeon_screen.c
|
e42a31350df04ae9d68b7ab4a14408f5d013b42f |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, call driUpdateFramebufferSize() when we detect changes in window size/ position in radeonGetLock().
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_state.c
|
9ae952a88c33b53b72852eb90e794ccceb9eb8ff |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added driUpdateFramebufferSize()
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
|
f084f60f8bdba23b3f6125549045c0791d3fe138 |
14-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.c Update some comments, code, etc.
ain/framebuffer.c
ain/framebuffer.h
ain/renderbuffer.c
ain/renderbuffer.h
|
56ff8ed6d8b284dff2a1e5e7ae66fdbe510c5e6a |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace semicolon with &&
rivers/dri/Makefile
|
363344f5b8e697ea9be9850cd63c986276f4d172 |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
print version with debug info
ain/context.c
|
878c371e6cf6eb28afacc482d8aeaa0119f00d5b |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace ctx->Driver.StencilOp/Func/Mask() functions with ctx->Driver.Stencil*Separate() functions.
rivers/common/driverfuncs.c
rivers/dri/ffb/ffb_state.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i830/i830_state.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_state.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/r300/r300_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/s3v/s3v_state.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_stencil.c
rivers/dri/tdfx/tdfx_state.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
ain/attrib.c
ain/dd.h
ain/stencil.c
|
42c34efd23d7ad05df9f3c71f7d52dd259e179d8 |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
OpenGL 2.0's two-sided stencil feature wasn't implemented correctly. See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
ain/attrib.c
ain/extensions.c
ain/mtypes.h
ain/state.c
ain/stencil.c
ain/stencil.h
wrast/s_stencil.c
wrast_setup/ss_triangle.c
|
bdf8441f808b7bd0a8fa10c59025c015db482a58 |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some reformatting
rivers/dri/radeon/radeon_screen.c
|
56a2e084be4fa8baf9caf03f27f5d99d8545dc5c |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clear either 8 or 16-bit stencil buffers.
wrast/s_stencil.c
|
b5932cfc9d48cf21554e2f9fdaccb7d8b52f2f8d |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use GLuint/GLint intead of GLstencil for stencil state.
ain/mtypes.h
ain/stencil.c
|
a96f889a57cd8f304dc60cd75f8660c440f36c0e |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the ctx->FirstTimeCurrent initialization
ain/context.c
ain/debug.c
|
5179f671e7f9366e278dbff519c283956ba0c2fe |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
init StencilOpSeparate to NULL
rivers/common/driverfuncs.c
|
fd9de710f5fb72a36c963d560391cc12fef0aa9b |
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a return upon out-of-memory, remove a needless assignment
rivers/x11/xm_api.c
|
f6e3234639ac818ded97119a598aba3278aaca90 |
12-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
restore brace lost in previous check-in
rivers/x11/xm_api.c
|
f20917de5bd2b1fc152e74304d3649a1f6042422 |
12-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add complete support for ATI_fragment_shader for the r200. Most of the new code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
rivers/dri/r200/Makefile
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_fragshader.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texstate.c
|
11543624edbee91f1257a614f0778999bc170345 |
12-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove unnecessary Swizzle parameter from struct (forgotten when the code was refactored)
hader/atifragshader.h
|
28569c25f6c211796fd8720f98f386690bddd3c9 |
12-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use ASM_API variable, bug 4415
ources
|
68d436140d44a9f33cb5817577ecd980c694c889 |
12-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make lookup_query_object() static
ain/occlude.c
|
758f447a1789cc92b2838f882bfe4efd0b463f58 |
12-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove rendundant r,g,b,a vars (bug 4331)
ain/texcompress_fxt1.c
|
2745df27749f24d45b723f7932cdc372abaeda3e |
11-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
add 1002:5460 M22 X300 card
rivers/dri/r300/radeon_screen.c
|
654286eab1ba32d8f273da499961a45fdc7b2528 |
11-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix dri drivers build
akefile
|
2eef2eca872e3fbff5c2876507b4cdff8e86c3a6 |
11-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence some warnings.
rivers/fbdev/glfbdev.c
|
26c7e65785df37c109f39967c3e21f9450565008 |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up of sources/Makefile, bug 4111
akefile
ources
|
5704b8e57a0c618ddf51502e99e9dbd48cc3e685 |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a problem w/ color index mode when CHAN_BITS=16
rivers/osmesa/osmesa.c
|
f15b499cfd575ad8ace74d6b9047ecb1266bf7ef |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make some vars static
ain/texcompress_s3tc.c
|
392c93e3987a11b00548fab7ed2b8ca1f969c8ef |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GLubyte/GLchan inconsistencies (bug 4331)
ain/texcompress_fxt1.c
|
c53d2d0ca81f4335c3b3bf9870635ba5ec2b3b52 |
10-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add the new drm packets needed for ATI_fragment_shader to the sanity code of the r200 and radeon driver
rivers/dri/r200/r200_sanity.c
rivers/dri/radeon/radeon_sanity.c
|
6c2e82b601268680c4c950e95e5c09c7b13141c2 |
10-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add reverse-engeneered register bits needed for ATI_fragment_shader (Dave Airlie, me)
rivers/dri/r200/r200_reg.h
|
402b2bea640ebf69f78d8122f98435dd3bbeb7df |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch, backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_screen.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
036a99452d26167b70cadafb97b7e77ebdafd78c |
10-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add _tnl_arb_vertex_program_stage to all drivers which already have _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
rivers/dri/intel/intel_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_context.c
rivers/dri/r300/r300_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/glide/fxdd.c
|
a3dd2ce29e2d7f1003d420b49ec678500645e728 |
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the redundant textureSize field, use tex.size instead, it's always the same value
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_screen.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.c
|
338cbb0e5c6eab982bc4d05df08108e1c9ce97d1 |
09-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't generate selection hits for glBitmap, glDraw/CopyPixels. Misc clean-ups
ain/drawpix.c
|
b346213960057a25edf404e3323fc9da4dc54c0e |
09-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix some bugs with handling of GL_DOT4_ATI, GL_DOT3_ATI and GL_DOT2_ADD_ATI ATI_fs instructions.
wrast/s_atifragshader.c
|
95db1f01273bcc4ab4f5405eaa0bc87b63c1f297 |
09-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add missing fallback string for ARB_vertex_program
rivers/dri/r200/r200_tcl.c
|
7e3be5559e7236cb919fa3ab7bbc78ccd0bde2e6 |
09-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix wrong fallback bit being set by the tcl fallback caused by ARB_vertex_program. Disable ARB_vertex_program by default - it is incredibly slow, and just plain doesn't work anyway (arbvptorus fails an assertion, arbvpmesh has bogus output)
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_state.c
|
45ba4e43322076be27e994a1d78b8b4802c5ae72 |
08-Sep-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
use an explicit reserved field, rather than magic number in bound
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
|
d9b9b4b3beafa824914ca460754bf0a9d7ee80b6 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix the comment for the 'bound' field: it's a bitmask, not an index. In driTexturesGone(), set bound = 0, not 99.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
|
b5cbaf945dd5213d5faf7bb7e4d68d0d25a25b55 |
08-Sep-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Keep NumTemporaries uptodate. Make sure oC alpha is populated when separate_specular enabled.
ain/texenvprogram.c
|
b15f46a093b2be2a6c630d8f3a2848627a34d728 |
08-Sep-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Treat NegateBase as a bitfield, not a boolean.
rivers/dri/i915/i915_fragprog.c
|
5cf13977106d9d7b75da0621a1a2c0bc299f4b3a |
08-Sep-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
be consistent in populating NegateBase field
hader/arbfragparse.c
hader/arbprogparse.c
hader/nvfragparse.c
|
4618a9bfc2cd57c47ddf3590782c751ec194d362 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
ain/texformat.c
ain/teximage.c
ain/texstate.c
|
f36954ec3c25b673fc275877938e2dea48ec5682 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix precision problem in depth clearing (bug 4395)
wrast/s_depth.c
|
f4ff4d36ed320b1551e1f41ee8f52e449c89a626 |
08-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix incorrect swizzling handling. fix code so it can potentially handle implementations with less than 6 texture units correctly.
hader/atifragshader.c
|
21ed29598f7f06008017004fcca3a5f397be0f23 |
08-Sep-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Define suseconds_t for OpenVMS Modified Files: Mesa/src/mesa/drivers/x11/xm_dd.c ----------------------------------------------------------------------
rivers/x11/xm_dd.c
|
ce3350770c91f07a86466d59dfdab2a0c16cf282 |
08-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably when changing the global ati fragment shader constants.
hader/atifragshader.c
|
692147ebf7f09d56a7de1659de2449478da4d1ba |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some clean-up and re-org for renderbuffers
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
526242614fd5200def246e1bbb9dca78020abc32 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some updates, but code still out of date
rivers/ggi/ggimesa.c
rivers/svga/svgamesa.c
|
ab8ef280ec1c435cd04a481f50cbc3cb6b024744 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comment
ain/fbobject.c
|
f0da327c878057d120d98e15b47a45dbf36fce73 |
08-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweaks to _mesa_ResizeBuffersMESA()
ain/buffers.c
|
b683b0df45de5f9fc83759b09d630fff7064e394 |
07-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to later applied srcRep)
wrast/s_atifragshader.c
|
8693b70e8fccf5d942e51a0c24221f6410393791 |
07-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
try to fix renderbuffer breakage, primarily in calculate_buffer_parameters()
rivers/dri/unichrome/via_context.c
|
eba4ff6e0a101a86fc9634b33ce63c02fda896d6 |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor formatting fix
ain/fbobject.c
|
d869a43554be8791072f7e7070041ee3b2323815 |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added viaRenderbufferStorage() function
rivers/dri/unichrome/via_context.c
|
20354edf3512d9984ff7ce188f2e580b29777af1 |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just changes/updates to comments
ain/buffers.c
|
158a2aa488a0bab82381ec2c6eedd2b5bb7202ca |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use mklib script instead of ar. Make libmesa.a instead of mesa.a
akefile
rivers/dri/Makefile.template
rivers/dri/x11/Makefile
|
c0b4b9fc3e51c09a864fe5e3d439da95f8f0edc5 |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove DEFARRAY, CHECKARRAY stuff
ain/image.c
ain/imports.h
|
e2399effa03a706d8f63fa9a27e985ca7e3dc3cd |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up of texture_combine()
wrast/s_texture.c
|
3622f4f27fe51edff0717e4a42623f62e2936e90 |
06-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use DEFARRAY/CHECKARRAY stuff
wrast/s_copypix.c
wrast/s_readpix.c
wrast/s_texture.c
|
fcb6a0fa3e1ff351b2613e4f7f4ab5bc91e6c95d |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make some functions static
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_state.c
|
6575e37cbf222c4f2fe7cb59fc1bb13b245d12fc |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make r128SpanRenderStart/Finish static
rivers/dri/r128/r128_span.c
|
e3c8a0c16d5a2ffdb9d107dbb980427979a541f7 |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove obsolete CurrentBufferBit
wrast/s_context.c
wrast/s_context.h
|
3952d6d4bbb1f69a45f14a43b6b5f8e6a90a0e6f |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused var
wrast/s_buffers.c
|
f66084b834ce37e7f0143e456df1265cd343a674 |
05-Sep-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Add support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings.
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
e15c2d077a89b1f4ca7121a85beaf9a0133c61e3 |
05-Sep-2005 |
Karl Schultz <kschultz@freedesktop.org> |
remove _swrast_DrawBuffer
rivers/windows/gdi/mesa.def
lapi/mesadef.py
|
53a3c70580b2f7fd91de9960d83ee7e3b665ff2d |
05-Sep-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Windows mesa.def file had been moved to the drivers dir tree some time ago. This copy is not needed.
ain/mesa.def
|
e81cbd876ed400ccb2ed452f375a7c2cb5ddd48f |
05-Sep-2005 |
Karl Schultz <kschultz@freedesktop.org> |
fix var declaration so that a C compiler can build it.
hader/atifragshader.c
|
b4b040f7d83f5f4917c48bf5833394d550e30421 |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just formatting clean-ups
rivers/dri/common/dri_util.c
|
16e7aebfe39bdd9c9fecb03ca3b0b617c2b449c8 |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify radeonSetCliprects(). Remove the 'mode' parameter.
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
|
87ce68e1b305b844f1ff72d79ef68dad48c63fc3 |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Further clean-up and simplification of the span-related functions.
rivers/dri/r200/r200_span.c
rivers/dri/radeon/radeon_span.c
|
61ba6b5a74625a01e07ae267c6e4ebf192434e40 |
05-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add new void *addr and __DRIdrawablePrivate parameters to driNewRenderbuffer().
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
|
6e0e6eff05727ac8833c2b2dffc51c6619427e77 |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix UpdatePageFlipping() function. Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's initially 1 instead of 0.
rivers/dri/r128/r128_lock.c
rivers/dri/r200/r200_lock.c
rivers/dri/radeon/radeon_lock.c
|
d575a4c4a1795bda73ba1f6a1817b0dacac2174e |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
rivers/dri/mga/mgaspan.c
rivers/dri/savage/savagespan.c
rivers/dri/sis/sis_span.c
|
0cfd4f92dde078bcc9f458ede91cc341a7b0ef5b |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GET_SRC_PTR, GET_DST_PTR with GET_PTR
rivers/dri/gamma/gamma_span.c
rivers/dri/mach64/mach64_span.c
rivers/dri/r128/r128_span.c
rivers/dri/r200/r200_span.c
rivers/dri/radeon/radeon_span.c
rivers/dri/unichrome/via_span.c
|
eae73dbd916d3109224fdb938120acd1abb6b646 |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use InitPointers helper
rivers/dri/ffb/ffb_span.c
rivers/dri/i810/i810span.c
rivers/dri/i830/i830_span.c
rivers/dri/intel/intel_span.c
rivers/dri/r300/radeon_span.c
rivers/dri/s3v/s3v_span.c
rivers/dri/tdfx/tdfx_span.c
|
90cfbd3dd5f30d73a4ed7f96cc740f11c7fb0af9 |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Combine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.
rivers/dri/common/spantmp2.h
|
f8cc27ecfc116b4480e2a6b83a4fdbfdcd078d26 |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added InitPointers helper function
rivers/dri/common/spantmp.h
|
16f76703a54795377a4894be26cd5239f814417f |
04-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace assertion with a conditional return
rivers/dri/common/drirenderbuffer.c
|
05aed23d1bbc3dbcd9fe9fd592f4c3b245456123 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fudge set_component_sizes() a bit, see comments
ain/colortab.c
|
acafeeb6dce74382fb3a48b83ab72bf67b7581ea |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove last remnants of pre-renderbuffer code.
rivers/common/driverfuncs.c
ain/config.h
ain/framebuffer.c
ain/mtypes.h
ain/renderbuffer.c
wrast/s_accum.c
wrast/s_buffers.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_imaging.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_texstore.c
wrast/swrast.h
|
54be0763e1c24091ba522139e899d0254143ba7d |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
renderbuffer updates
rivers/dri/x11/x11_dri.c
|
2b81c8999f32999ee2e5822c4828c7325e3fe1ca |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
SetBuffer, renderbuffer changes
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
|
6e57725061813a3b8cee30bb857f6c59a88a8592 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new InitStencil/DepthPointer functions
rivers/dri/i830/i830_span.c
rivers/dri/i830/i830_state.c
rivers/dri/radeon/radeon_span.c
|
b0715811e8c100a2686ee2363e2f94c734565d60 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove dead code
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
|
f6540c625254ac6d88e8a6ac8fee88a4cab7d349 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove SetBuffer
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
|
687918b794d12a0ff5d395b8cf87880dbe8012bf |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
SetBuffer, renderbuffer changes
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810span.c
rivers/dri/i810/i810state.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_span.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_fb.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/dri/unichrome/via_state.c
|
e6925b51e1e71dc45079636ce336a09806356999 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added flippedData field for page flipping, code to flip stereo color buffers
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
|
c6262cd8c5e1ca8f702e9694c81749601287fb10 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SetStencil/DepthPointer functions
rivers/dri/common/depthtmp.h
rivers/dri/common/stenciltmp.h
|
3ba814ae0740fc9ceb79f05570bc889362cc288d |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove SetBuffer(). Misc renderbuffer changes.
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
|
7fa6c1afb9b85231c3b2e8c51672e9ca26efc070 |
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence misc warnings
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
|
624ad14a581e9befdfda5335b775d8d1f55fbe56 |
03-Sep-2005 |
Dave Airlie <airliedfreedesktop.org> |
Check for ATI_fragment_shader enabled
wrast/s_triangle.c
|
14520eb25ef3fab29285f8d5d2dad372960274a7 |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
ain/occlude.c
|
4fb995084e1b4b629667f09331adf060aa0fac4c |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet). Extends the query mechanism to query elapsed time while rendering.
rivers/common/driverfuncs.c
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
ain/context.c
ain/dd.h
ain/extensions.c
ain/mtypes.h
ain/occlude.c
ain/occlude.h
|
8cdf3729468aefb7c67c8ecd32fd850adbf6d351 |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace -1 with PROGRAM_UNDEFINED when initializing instructions
hader/nvfragparse.c
|
350a1676357301f3d103b6d16d01c766644bf872 |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
set depthHasSurface for stencil renderbuffer
rivers/dri/radeon/radeon_screen.c
|
3c450b2917ee2eef06197b9ef546f19d06b7d76a |
02-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
wrast/s_atifragshader.c
wrast/s_span.c
|
a02febb8ccc8c716c28c3f6537d2836382f333c2 |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change scratch pointer from _int32_t to u_int32_t to silence warning. Is this field actually used for anything?
rivers/dri/r200/r200_screen.h
|
a517cc1ef608af537e7462f3d4111b38a1208ca7 |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code
rivers/dri/r200/r200_span.c
|
b343f06a0963dda416754ce2511b32afd3fadabe |
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
set depthHasSurface field for stencil renderbuffer
rivers/dri/r200/r200_screen.c
|
f519a770d074dac9e188e3b450c828510506c46d |
02-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
ain/mtypes.h
hader/atifragshader.c
hader/atifragshader.h
hader/program.c
wrast/s_atifragshader.c
|
b252e0f47f0bd5b4a086eabb5cc2d4f9cd61a785 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added an assertion to help debug broken stencil readback
rivers/dri/r200/r200_span.c
|
238de2db120bb090a7f28a25093874b32a90c546 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added driFlipRenderbuffers()
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
|
da84f0b642a65614c2618121869d5cd45ad986f5 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix page flipping breakage
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
|
98e92d261bbf11a35a1a26d1c1bdc3cfb304b2ae |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo
rivers/dri/r200/r200_lock.c
|
4d11d45d84c61fbbd6cb165c97c0ae5ebfa39ac7 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some missing renderbuffer changes (Roland)
rivers/dri/r200/r200_screen.c
|
fcbfeb5d28aea87c60f2d02daa213d0c0c2516e8 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finish up some of the gl_renderbuffer work. Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function. Old code is surrounded by #if 000 / #endif, temporarily.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
|
982e8e4d5c95e9e9040b4b70d7322a2a8a9396d9 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finish up some of the gl_renderbuffer work. Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
|
8e5479c7f806ffd57eed26c147e3ca227a39f0a7 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/__inline/INLINE/
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
|
f1d269060b050bbf3d7cc751c3c7333d795fb215 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use char* instead of GLubyte* in i915_program_error() to silence warnings
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
|
f069e74dd8250e03b5891f13e869dfcd1b49ecaf |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use proper datatypes to silence a bunch of warnings
rivers/dri/savage/savagespan.c
|
5545245fe794519db577b2e8208277cd8fc7d276 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few more fields to help with DRI drivers
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
|
db84ec2c6ddb197409e7d7288308d030fd4649eb |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove fxDDSetBuffer()
rivers/glide/fxddspan.c
|
af39910f94036a681f1f0f1c239cb713f96fe5e2 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove set_buffer()
rivers/dos/dmesa.c
|
c958a9798a83e4c1924d939e3e5b5d490096066b |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old set_buffer routine and misc code
rivers/fbdev/glfbdev.c
|
26bb5239c8ee2b469ca09c8fab91d92b37be0f00 |
01-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the old set_buffer() routine
rivers/osmesa/osmesa.c
|
527835977a3f22d7a01f8d835d73ced5b13d0991 |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Just additional comments.
ain/buffers.c
ain/framebuffer.c
wrast/s_buffers.c
|
36603539ccdb1c507724d8a1c314e6c9cc9863d9 |
31-Aug-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable GL_ARB_texture_env_crossbar on r200, separate the enable bits for texture sampling and texture environment, optimize away texture sampling for units if the result is not used, always emit the env instructions in-order and try to eliminate GL_REPLACE env instructions.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texstate.c
|
2c8524b4fb4aa8e56a6b2646b0a8e21732e7aed4 |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove dead code, update comments
ain/attrib.c
ain/buffers.c
|
cbafed8716d0be11db86f0ee4690c1e16f47c35d |
31-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
reverse a bogus patch
rivers/dri/unichrome/via_screen.c
|
275a563bea0c0eef7bcd52ddc493803acf94c37e |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove redundant ctx->Driver fallback assignments that were already done in _mesa_init_driver_functions()
rivers/dri/radeon/radeon_state.c
|
f830f640b63a51a152cc17d176a4e285a9a5af9d |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a cast/assignment warning
rivers/dri/r300/r300_context.c
|
513a553d4af8016a91479cddff3c0397ddd95279 |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence fprintf and casting warnings
rivers/dri/i915/intel_ioctl.c
|
16fb04ccb5d7631225b49114e8d87b50c9608971 |
31-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some parenthesis to silence warnings
rivers/dri/i810/i810tex.c
|
f98b9853e10abf60cf90c5b9d3f76e734b5fc8f8 |
30-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
drmUnmap correct size
rivers/dri/unichrome/via_screen.c
|
b41c025420baed83e09b866c4bad11790b95d704 |
30-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
move via_dri.h to server
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_dri.h
rivers/dri/unichrome/via_dri.h
|
9165d46fdb2cacb0ca69fd51a4fa3d8f7b04731b |
30-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
define Bool for solo builds
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/via_dri.h
|
d5cc77e37c59b9ab635cbc90151f1b2fc69201c6 |
30-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_texcombine.c
|
f0d0e5099417796b629ad76e4e2fc19baa31c38d |
29-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Implement GL_ARB_texture_env_combine, GL_EXT_texture_env_combine, and GL_ARB_texture_env_crossbar for i810. This passes both demos/texenv and all of glean's texCombine tests.
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i810/i810texstate.c
|
d9089ab96ecfbc9fbd8f6c772b08d2217dbeacaf |
29-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove drmAddress
rivers/dri/unichrome/via_dri.h
|
49fd874f24b983f7730513545fb0d6c24058e10b |
28-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few proxy color table bugs (bug 4270)
ain/colortab.c
|
082501a74c16d7b16ea4fb17b3d47aa24d05f4e3 |
27-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check the Ready flag when getting GL_QUERY_RESULT_ARB
ain/occlude.c
|
23ffc3a85d6172f8a98d17d7f23610bab808d84e |
27-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rearrange the code related to GL_ARB_occlusion_object to generalize query objects for future types of queries.
rivers/common/driverfuncs.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
ain/dd.h
ain/mtypes.h
ain/occlude.c
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
|
ca1ac986a1d6d3f292e3d20540de884ad08d9816 |
26-Aug-2005 |
Adam Jackson <ajax@freedesktop.org> |
/dri/msg
lapi/glX_proto_size.py
lapi/gl_XML.py
ain/enums.c
|
f4166a1fd76935f358c2db900c21b3532ba9d6a8 |
26-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix the scripts for the cygwin & mingw changes
lapi/glX_proto_size.py
lapi/gl_XML.py
|
a2c65f47930ab1c5a56a8c7c81b35dc77b08d472 |
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't compile debug code (bug 4242: rand undefined)
ain/hash.c
|
2735b33638309a306257f13bec52389292cf8ab7 |
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove stray references to ctx->Depth.OcclusionTest
rivers/dri/i915/i830_metaops.c
rivers/dri/intel/intel_pixel.c
rivers/dri/mga/mgapixel.c
rivers/dri/r200/r200_pixel.c
rivers/dri/tdfx/tdfx_pixels.c
|
8bc0b3f9611f9634d497fe2174246e866920f865 |
25-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix texture format selection. ChooseTextureFormat is supposed to select the hardware format of the texture, and SetTexImages is supposed to use the format selected by ChooseTextureFormat. However, both routines were making their choices based on the texture's BaseFormat. This is wrong. ChooseTextureFormat uses BaseFormat and SetTexImages uses TexFormat->MesaFormat. Once SetTexImages was fixed to use the right format values, ChooseTextureFormat was cleaned up. It now uses the few available texture formats supported by the i810 in a smarter way. This should improve the quality of LUMINANCE, LUMINANCE_ALPHA, and INTENSITY textures. I tested this by cycling through all the texture formats in demos/texenv and tests/yuvsquare.
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810texstate.c
|
6e4f594a02fc384b17d5732be652d7d28618aec2 |
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_HP_occlusion_test extension
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_dd.c
ain/attrib.c
ain/depth.c
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/get_gen.py
ain/mtypes.h
ain/occlude.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
|
dd1a9f75dc1d29e3383f27aaa1cf024c83e5c8e2 |
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix segfault in Fake_glXCreatePBuffer(), bug 4235
rivers/x11/fakeglx.c
|
61d386a93f862005d1eddb45be91c7d5421aca83 |
25-Aug-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Attempt to fix the issue reported by Alan Grimes with DRM_RADEON_TEXTURE erroring out when it shouldn't. The errno could be changed by usleep() between the ioctl call and the loop check, if a signal was received. This could cause an EAGAIN return from the DRM_RADEON_TEXTURE ioctl to not loop again. Instead of checking errno, check thevalue of ret itself, since it is a saved (and sign-flipped) copy of errno from the ioctl call.
rivers/dri/r200/r200_texmem.c
rivers/dri/r300/r300_texmem.c
rivers/dri/radeon/radeon_texmem.c
|
9e385282fc51b5852bfcfa981d672173488cd5c5 |
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
also check for texture border in sample_linear_2d()
wrast/s_texture.c
|
edf0d14bd4ea22120d5468e5a8738300aeea26a5 |
23-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplify, clean-up texel addressing macros
ain/texformat_tmp.h
|
dfb6c56ed85d7b11b6e7e9b0a5ec7eddb1162510 |
22-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_X_RENDERABLE to glXChooseFBConfig (bug 4181)
rivers/x11/fakeglx.c
|
dcf14aa3a79a3165f53fb09f9f9bb45b5e6052a4 |
22-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.5
ain/version.h
|
8fcd1e028750ec7669aa311dfd63d86767097feb |
19-Aug-2005 |
Adam Jackson <ajax@freedesktop.org> |
Convert libGL and DRI drivers to require libdrm. libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
rivers/dri/Makefile.template
|
d912f6cfe3636e8ceded7871d93a003b0f4b39d7 |
19-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Commit missing piece from Egbert's 32/64 bit patches
rivers/dri/ffb/ffb_xmesa.c
|
f7eb54a12f65deb46a52e4d15a6e537f49f3287b |
19-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Enable ARB_texture_compression. The code has been in place for a long time, but, for whatever reason, the extension wasn't enabled. Add some comments to i810ChooseTextureFormat. There's some strangeness with i810 texture formats.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810tex.c
|
e0029b33effd299bb6b659ffd4309f8fa5c7afcf |
19-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Add support for NV_blend_square. This was tested with progs/tests/blendsquare.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
|
ab5be2c5f7b18fb46116b1bfa968d0a70aeeb556 |
19-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Make sure extension entry point offsets are properly initialized. This is primarilly needed to support functions that are internally implemented using extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).
rivers/dri/i810/i810context.c
rivers/dri/i810/i810screen.c
|
61ac29e7c6db3a899edd9d80f8dbbb98fd7ccc90 |
18-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Don't try to update hardware texture fields if there is no hardware texture. This can happen when all the texture enables for a texture unit are disabled. This fixes bugzilla #3195.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810tex.c
|
e918bac8cd85aaefaef5d534d53398257b7df0f9 |
18-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Make the i810 driver use driGetRendererString like all the other drivers. The GL_RENDERER string now accurately contains the chip name. This was only tested on a "plain" i810 (PCI ID 8086:7121).
rivers/dri/i810/i810context.c
|
aa2a357bae017e6e4b0ce1745ed4e9232b3c1684 |
18-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace mult/div operators with bitwise operators in texel fetch routines for better performance. (Roland Scheidegger)
ain/texformat_tmp.h
|
05fe2871e3cc28681a82285758381b5a3f2433b8 |
17-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Bump version to 6.3.2
ain/version.h
|
7a362deb8c432ec520d70dde7330cd845b79e89a |
15-Aug-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and GL_OPERAND2_RGB which are only valid with ARB_texture_env_combine but not with EXT_texture_env_combine, when only EXT_texture_env_combine is supported.
ain/texstate.c
|
dabec11d277e68b6940e741651e61102767240b9 |
15-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add Egberts fixes for 64bit architectures Add additional checks for the *DRIRec info structure passed in from the device driver. This ensures that things fallback to indirect rendering if the DDX driver has had modifications (i.e. removal of the drmAddress field).
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/gamma/gamma_screen.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/server/i810_dri.c
rivers/dri/i810/server/i810_dri.h
rivers/dri/i830/i830_screen.c
rivers/dri/i830/server/i830_dri.h
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/s3v/s3v_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
|
69dc32cfac945bf664ddfbd6f0116404f893e66e |
14-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add a check which compares the passed in size of the DDX driver private DRI structure to the 3D drivers view of it, and abort if they don't match. This traps the case with the drmAddress removal in the DDX driver.
rivers/dri/intel/intel_screen.c
|
33f9c98aa6643abe587f71976db51d4138ccc2b9 |
13-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Enable support for EXT_stencil_wrap. The code was already there, but the extension wasn't enabled. I have verified its correct function with Mesa's stencil_wrap test. It is enabled on both Savage4 and Savage3D. Since Savage3D uses a software fallback for *all* stencil operations, this is safe.
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
|
6fe7a0dc01887e39f028d8d400b98d199744c18f |
12-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FREXPF() macro (bug 4060)
ain/imports.h
ath/m_debug_util.h
nl/t_vb_arbprogram.c
|
f2876d1ee3b878a07b12ddcb464633a44f7c29e7 |
11-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove the logic that determines at compile time whether or not HAVE_ALIAS should be defined. It was flawed on some platforms (e.g., Darwin & mingw). Instead, rely on the build system to define it on the compiler command line. This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the X.org side of things later today.
lapi/glX_proto_size.py
lapi/gl_XML.py
|
fbcc5aedf2a06e14030a3e67d2be9fd043e3cf38 |
11-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove support for the R200_NO_VTXFMT environment variable. Instead use 'tcl_mode=1'. This fixes bugzilla #3972.
rivers/dri/r200/r200_context.c
|
ac887d421176364fe0756e8ebba9aac11d78b16a |
11-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Make ffb driver build on x86-64. The fix is two fold. First, use the proper DRM_CAS_RESULT to declare the variable used to store the result of DRM_CAS. Second, only use the "real" versions of LOCK_HARDWARE and UNLOCK_HARDWARE on SPARC. That's the only platform where the hardware can really exist.
rivers/dri/ffb/ffb_lock.h
|
967b006f518849e57fef68ab71359485b1535b3a |
11-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove _glapi_check_multithread from the interface exported by the loader to the driver. The loader now takes care of this for the driver. Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e., having a NULL value means that the application is multithreaded and _glapi_get_dispatch must be called). Gut all of the dispatch override code. This removes _glapi_RealDispatch, _glapi_tls_RealDispatch, _glapi_begin_dispatch_override, _glapi_end_dispatch_override, and _glapi_get_override_dispatch. Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version, and _glapi_check_table from the loader / driver interface. Reviewed by: Brian Paul
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapi.h
lapi/glthread.h
ain/context.c
86-64/glapi_x86-64.S
86/glapi_x86.S
|
1b8d0f149e0afac859c4c1e1e47772bb19da0187 |
11-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Mesa uses the glVertexAttrib*NV functions to implement fixed-function attributes in display lists. If a driver doesn't add entry points for GL_NV_vertex_program, it will explode. This patch adds GL_NV_vertex_program to the list of default extensions whose entry points are added by driInitExtensions. Thanks go to Roland Scheidegger for tracking the problem down and suggesting the fix.
rivers/dri/common/utils.c
|
8c9cd63c89923e7c3cb751a1f24038c199d226d8 |
10-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
the PIXEL_MAP_I_TO_I table should be GLfloat, not GLint
ain/mtypes.h
ain/pixel.c
|
63c9ebeaff0f238368b59cbe1cb6dc9bbf7cba7d |
10-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix static assertion problem for gcc (bug 4022)
hader/slang/slang_utility.h
|
6b563bda433cdcb18fd4107725f77f34f050940c |
10-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable the pointer size assertions (bug 4021)
hader/slang/slang_execute.c
|
5d4016943658756e60979057ec3dccf8f82033f0 |
10-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix indentation
hader/slang/slang_execute.c
|
738c9a073f6108df0f13c47daa3f24878d2d26ec |
10-Aug-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Check for prim/vertex store non-null before messing with refcounts.
nl/t_save_api.c
|
258f005c6b83d537cd08f10aa6d01251605aa941 |
09-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Add rules and target to build src/mesa/x86-64/glapi_x86-64.S.
lapi/Makefile
|
c91720fb1ab06af683a33b8734391a5a73cc23e5 |
09-Aug-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Decrement the context's refcounts on part-used storage structs on context destroy. Fixes memory leak.
nl/t_save_api.c
|
d2e289c70f2b9fb882f5b3992b610a9ea5c8357c |
09-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
actually free the renderbuffer in xmesa_delete_renderbuffer(), fixes a memory leak
rivers/x11/xm_buffer.c
|
ecde87054c48cc8c92c118a6efa848516bf0bf1c |
09-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_free_framebuffer_data() call frees the renderbuffers, no need to call the Delete methods after
rivers/x11/xm_api.c
|
24d55a1145d52d221c7aa7066e033ca34e3ddef5 |
09-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
free context structure (bug 1252316) and s/free/_mesa_free/
rivers/windows/gdi/wmesa.c
|
7bf08c23fdfe3e8a1dbfc44cad9e7e427f6e2630 |
08-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/Disaptch/Dispatch/ (bug 3918)
lapi/gl_x86-64_asm.py
86-64/glapi_x86-64.S
|
da0c5b2e2ca1d00b98d8c729a99c0e83431a5c37 |
08-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Since glcontextmodes.[ch] are no longer used in the DRI drivers, removed the IN_DRI_DRIVER cruft. This was suggested by George Fufutos.
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
|
0d942b740c6bf82bf769f77ab979df11682a338c |
08-Aug-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix up color tiling in miniglx radeon server code
rivers/dri/radeon/server/radeon_dri.c
|
ae4e58c9ab9f9d14865479394fc1e8e79fa702e0 |
08-Aug-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Remove platform specific bits from radeon_egl.c
rivers/dri/radeon/server/radeon_egl.c
|
81b3c5e85c7788b1bc381e521c33091b336a04a8 |
08-Aug-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Dike out the linux-specific EGL bits unless it's a linux build.
rivers/dri/r200/Makefile
|
7e5da5d52629bfa68f83429254eab0304cf346bd |
07-Aug-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Enable EGL support in 'linux-dri' config
rivers/dri/r200/Makefile
|
94a4eb1e7806bfcb52f6cd48f8071238da7e2cf8 |
06-Aug-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Follow suggestion by Aapo Tahkola to fix giant memory leak from forgetting to free the key when entry was already found (presumably a common case).
ain/texenvprogram.c
nl/t_vp_build.c
|
b8731903dff9fb2ec944a9e049cd81db2210b636 |
06-Aug-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Fix card_extensions by following corresponding r200 code. Fix suggested by Ian Romanick. R300 driver now works without segfault.
rivers/dri/r300/r300_context.c
|
6965f2cb0a481e88fb87f34f82d775bc2080a460 |
06-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Fixes bugzillla #812. The weak version of _glapi_DispatchTSD was removed from dri_util.c. As stated in the bug report, this was only needed to support versions of libGL that did not have this symbol. Versions of libGL without this symbol are no longer supported at all, so it is totally irrelevant.
rivers/dri/common/dri_util.c
|
928218a283b5a3d72350d94543ea8d256bd7b7c5 |
05-Aug-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove the drmAddress
rivers/dri/i915/server/i830_dri.h
|
126c89e35fb5179fe077f7593f31ea874c89dd65 |
05-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix recent problems with display lists and other parts of the code. CALL_by_offset, SET_by_offset, and GET_by_offset all had various problems. The core issue is that parts of the device-independent code in Mesa assumes that all functions have slots in the dispatch table. This is especially true in the display list code. It will merrilly try to set dispatch pointers for glVertexAttrib1fARB even if GL_ARB_vertex_program is not supported. When the GET/SET/CALL macros are invoked, they would read a 0 from the remap table. The problem is that 0 is the dispatch offset for glNewList! One change is that the remap table is now initialized to be full of -1 values. In addtion, all of the *_by_offset marcos misbehave in an obvious way if the specified offset is -1. SET_by_offset will do nothing, GET_by_offset will return NULL, and CALL_by_offset, since it uses GET_by_offset, will segfault. I also had to add GL_EXT_blend_func_separate to the list of default extensions in all_mesa_extensions (src/mesa/drivers/dri/common/utils.c). Even though many drivers do not export this extension, glBlendFunc is internally implemented by calling glBlendFuncSeparate. Without this addition, glBlendFunc stopped working on drivers (such as mga) that do not export GL_EXT_blend_func_separate. There are still a few assertions / crashes in GL_ARB_vertex_program tests, but I don't think that these are related to any of my changes.
rivers/dri/common/utils.c
lapi/dispatch.h
lapi/gl_offsets.py
lapi/gl_table.py
lapi/glapioffsets.h
ain/api_arrayelt.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
|
485528f2acb69940a7c757638127f716c0cb2654 |
05-Aug-2005 |
Jon Smirl <jonsmirl@gmail.com> |
More EGL prep. No impact on anything outside of EGL
rivers/dri/Makefile.template
rivers/dri/fb/fb_egl.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
|
b507bd41607a8025866d125d99c5abbca1931cd7 |
05-Aug-2005 |
Jon Smirl <jonsmirl@gmail.com> |
New files for radeon egl driver. Still a work in progress.
rivers/dri/radeon/server/radeon_egl.c
|
711555d1e347f0e64e6b1b2d0e402e0ee72ace07 |
04-Aug-2005 |
Ian Romanick <idr@us.ibm.com> |
Convert all instances of XTHREADS to USE_XTHREADS. This fixes one of serveral things that are broken when building on a system with X.org 7.0rc0 installed.
lapi/gl_x86-64_asm.py
lapi/gl_x86_asm.py
lapi/glthread.c
lapi/glthread.h
86-64/glapi_x86-64.S
86/glapi_x86.S
|
7f5925d57c1405ff40acb2fd40b41ab4f189f7a4 |
03-Aug-2005 |
Dave Airlie <airliedfreedesktop.org> |
Add color tiling support to miniglx for radeon (Stephane Marchesin + Dave Airlie)
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_reg.h
|
4508bcc72c96d468ea121f75e33500a9359a786e |
29-Jul-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Leave the AGP_BASE code in. It is pointless to bump the interface for X on a miniglx fix. It can be removed later.
rivers/dri/radeon/server/radeon_dri.c
|
a7d4bfed8a80fb42ef104a6c9fde68e20526693c |
29-Jul-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Remove OUTREG(RADEON_AGP_BASE, info->ringHandle); from DRI driver Code is already in DRM driver to do this.
rivers/dri/radeon/server/radeon_dri.c
|
4ce390b9333decc8ffa30ccfc73f8cf264aeea95 |
29-Jul-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Commit Ian's fixes from Bug 3877 I have tested these on miniglx and they seem to be working. I'm sure Dave will give them a better test.
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
|
df68d11b47ffda570b77de6a11bf1afc311f86b2 |
29-Jul-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix a == vs !- typo for glx_enable_extension
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_screen.c
rivers/dri/unichrome/via_screen.c
|
82e3ecf413704440ea64b3b582d68f82f7b83704 |
29-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Use the routines supplied in the __DRIinterfaceMethods structure to create a destroy __GLcontextModes structures. This eliminates the need for DRI drivers to ever link with glcontextmodes.c.
rivers/dri/Makefile.template
rivers/dri/common/dri_util.c
rivers/dri/r300/Makefile
|
f7c9eafa856623d5ce72afb8b20b7ccbcc3e671d |
28-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
glxEnableExtension is a platform-specific function exported by the loader. Therefore, drivers should not require it to run.
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/unichrome/via_screen.c
|
1585c234e0db4bfb7cd85c4111594f6da1582e6f |
28-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Major rip-up of internal function insertion interface. The old _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
rivers/dri/common/extension_helper.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_screen.c
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
lapi/dispatch.h
lapi/extension_helper.py
lapi/gl_offsets.py
lapi/gl_table.py
lapi/glapi.c
lapi/glapi.h
lapi/glapioffsets.h
lapi/glapitable.h
ain/mtypes.h
ain/vtxfmt.c
|
9f23a3a1bff6c8af93e651273c9887bbf119f555 |
28-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix SPARC assembly for 64-bit - The test for whether or not we're building for 64-bit is '#ifdef __arch64__'. This appears to be correct on both Linux and Solaris. - The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)'. GCC 3.4.0 has all three defined on Solaris 9. - Enables assembly language clip routines. - Fixes to make GLSL code build on Solaris. - Update gl_SPARC_asm.py.
lapi/gl_SPARC_asm.py
lapi/glapi.c
hader/grammar/grammar.c
parc/clip.S
parc/glapi_sparc.S
parc/norm.S
parc/sparc.c
parc/sparc_matrix.h
parc/xform.S
|
67d94e5a8645854491d9663f74e0f8e68106fa96 |
27-Jul-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
test for the proper drm version, at least 1.17 is required
rivers/dri/r300/radeon_screen.c
|
a7df74ea024d5897040124784ed908e4c4ea4fe4 |
27-Jul-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
typo
rivers/dri/intel/intel_screen.c
|
36d6e9df16face24cb173a311a74b6bb6eb3425f |
27-Jul-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
support GLX_DIRECT_COLOR in 1.4.0
rivers/dri/intel/intel_screen.c
|
ab7c6ffadccbeb96b6f4ac58fb75e90697cd30c5 |
27-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove the last remnants of GLX_BUILT_IN_XMESA. This allows the removal of the evil, ugly GLX_PREFIX macro as well.
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
13613986004fcd43e8079b23d8128c2d572bca76 |
26-Jul-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Bump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit combinations work.
rivers/dri/intel/intel_screen.c
|
a08d8a095c117bd845418401dc754851e6187aa4 |
26-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Quote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' will work again.
akefile
|
5f1ba3e21b62cee1a4f900a2e6964728f3eeea9b |
26-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Fixes the glXGetProcAddress portion of the interface. Most of the functions that are currently obtained via glXGetProcAddress and all of the XF86DRI functions are replaced with a funciton table. This table will be passed to __driCreateNewScreen. One of the functions in the table is getProcAddress. This allows some loaders to expose functionality not in all loaders. This will be immediatly used for glxEnableExtension (formerly known to drivers as __glXScrEnableExtension). libGL (and in the future libglx) expose this function so that drivers can enable GLX extensions. libEGL should exposed eglEnableExtension to enable EGL extensions. The same function cannot be used for both because the extensions have different names and (possibly) different semantics. Drivers can optionally use one, both, or neither. The key parts are in the __DRIinterfaceMethodsRec structure in dri_interface.h. A pointer to one of these structures is passed into __driCreateNewScreen. Because of this, the version of the API is bumped to 20050725. Since the previous version(s) were never in a release, their existance is erased. I was actually a little surprised by how much code this cuts from the drivers. A lot of glXGetProcAddress calls disappear, and a lot of version checks go with them. Nice. The one thing I'm not sure of is removing __glXInitialize. For some reason that function was in the glXGetProcAddress table, but *nothing* in the Mesa tree used it. Did something with DRI conf. use this function? It seems odd...
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
|
1201348a337aa00a85b6bc6dec4963cfc5898e77 |
26-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
improve comments about win[0..3] values (bug 2554)
wrast/swrast.h
|
800c72ae61532fba4a9cada8713e60ed0d2d7347 |
26-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix bug 1858 - array subscript out of range in gamma driver. Set ctx->Const.MaxTextureLevels = GAMMA_TEX_MAXLEVELS = 12 Remove bogus WRITE(level 12). Max gamma texture size is 2kx2k (note: 2k = 1 << (MaxLevels - 1))
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_state.c
|
8dcc6736aba672916bd4bc70a964c30bb11eeafa |
26-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added -linker option to mklib, used to specify a particular program for linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
akefile
|
c39bf5e273a4995a279ae2af59fc29e06ab47e29 |
24-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/r300/radeon_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/trident/trident_context.c
rivers/dri/unichrome/via_screen.c
86/common_x86.c
|
70cf1f0cf83fc3f2df241cc638e23f8df3b89923 |
22-Jul-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
---------------------------------------------------------------------- Committing in . _mesa_sprintf crashes on OpenVMS -> replaced it by the OS-supplied sprintf Modified Files: Mesa/src/mesa/drivers/x11/fakeglx.c ----------------------------------------------------------------------
rivers/x11/fakeglx.c
|
60a6a0eb51a6cafc9f65bff8028510e0788cf311 |
22-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some GLuint idx -> GLint idx changes
nl/t_vp_build.c
|
61e694f270d8a4a03a3245b5e6eea805915ed74b |
22-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make the vertex program source register Index field a signed int since relative addressing can be negative. Change some GLuint indexes to GLint in the t_vp_build.c file. Added PROGRAM_UNDEFINED token for initializing the register File field to avoid a gcc 4.0 warning.
ain/mtypes.h
hader/nvvertparse.c
hader/nvvertprog.h
nl/t_vp_build.c
|
db251d72c84256267cd1f7c062071a7143455048 |
21-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.3.1
ain/version.h
|
98b06bcbeba24bc5d3e8ac805d9b27c918344f8e |
21-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make i810PrintSetupFlags() static, first param const
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
|
951dbf08e740ec5808c267f18199788c78f621d9 |
21-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
ain/extensions.c
|
49e74989c3ca690b29ad8280765c467bac537f73 |
21-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove ^M chars, disable shading language extensions
ain/extensions.c
|
3e8efc3753e0aa248ba91f42a05a8794e4343f3d |
21-Jul-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Clean up warnings in r300 code by making some symbols static, adding prototypes for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/r300_vertexprog.c
|
bfb5ea307ec48b9b8d0d2eca0c03f6d02273d454 |
19-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace fprintf() calls with _mesa_problem()
ain/texenvprogram.c
|
364ae78e69361618c49078edb1dee090a18025f5 |
19-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove fprintf()
ain/api_arrayelt.c
|
8d7d9c22f6aacf1e3bddf39e4305dcc152a498a1 |
19-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
include driverfuncs.h
rivers/x11/xm_api.c
|
7e152b83cbc3af028175a52450c60101cb16acf8 |
18-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/clippping/clipping/
wrast/s_span.c
|
df88dfe1dfff12c755270b86ab10236486b89a59 |
18-Jul-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix the FFB driver for the renderbuffer changes Support NEW INTERFACE as well
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_xmesa.c
|
c235a96a7198f5975baec3870e48ee83bf32e23a |
18-Jul-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
pass in the renderbuffer
wrast/s_masking.c
|
aa8ff1e75dbfccd73a15230ccd1f64bb26766860 |
18-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Missed this on the previous commit.
lapi/dispatch.h
|
9bdfee3a470a535ebe31074651fbacf680bcea6a |
18-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Wrap every place that accesses a dispatch table with a macro. A new script- generated file, called src/mesa/glapi/dispatch.h, is added. This file contains three macros for each API function. It contains a GET, a SET, and a CALL. Each of the macros take a pointer to the context and a pointer to the dispatch table. In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint with a new function called _glapi_add_dispatch. For this discussion, the important difference between the two is that the caller of _glapi_add_dispatch does *not* know what the dispatch offset will be at compile time. Because of this callers need to track the dispatch offset returned by _glapi_add_dispatch. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2 The downside is that driver code then has to access the dispatch table two different ways. It accesses it using structure tags (e.g., exec->Begin) for functions with fixed offsets and via a remap table (e.g., exec[ remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck! Using the macros allows both types of functions to be accessed identically. If a driver needs to set a pointer for Begin, it does 'SET_Begin(ctx, exec, my_begin_function)'. If it needs to set a pointer for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec, my_NewExtensionFunction_function)'. Furthermore, if at some point in the future a static offset is assigned for NewExtensionFunction, only the macros need to change (instead of every single place that accesses a table for that function). This code differs slightly from the originally posted patches in that the CALL, GET, and SET marcos no longer take a context pointer as a parameter. Brian Paul had suggested that the remap table could be stored as a global since it would be set at CreateScreen time and would be constant for all contexts. This change reflects that feedback. http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt_c.c
lapi/Makefile
lapi/gl_table.py
lapi/glthread.h
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_noop.c
ain/dispatch.c
ain/dlist.c
ain/state.c
ain/varray.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
hader/arbprogparse.c
nl/t_array_api.c
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_vtx_api.c
nl/t_vtx_eval.c
nl_dd/imm/t_dd_imm_capi.h
|
e0e993c5ff090058037875642dcd34727a3d8760 |
16-Jul-2005 |
Adam Jackson <ajax@freedesktop.org> |
XMesaResizeBuffers needs separate paths for client and server builds
rivers/x11/xm_api.c
|
c529f6bf701dcb50741a444f496ede1fa6a44fe0 |
16-Jul-2005 |
Adam Jackson <ajax@freedesktop.org> |
strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing the modular X build
rivers/x11/glxheader.h
ain/config.h
ain/glheader.h
86/common_x86_asm.h
|
8d3aca655e0e7a7718c6f3a8cdbcbd0787cb85e3 |
16-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable call to via_sse_memcpy() until it's fixed
rivers/dri/unichrome/via_tex.c
|
1f88391747ef11efd54d42770d99b3c3a0cca8a8 |
16-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP query
ain/get.c
ain/get_gen.py
|
d39760d71869b96140f7ac82b1029d0a3b79aae4 |
16-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check for null program->Parameters pointer in validate_vertex_program(). GL_NV_vertex_program programs can't directly reference GL state so this pointer is always NULL.
nl/t_vb_arbprogram.c
|
df0350b7ec11ea0d130a8d29642f94c8512b29bc |
16-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comments
nl/t_vb_arbprogram.h
|
b0489d4f822211f50c99a789ce797e9e10bf4a6c |
15-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove duplicate "User disable" string
rivers/dri/radeon/radeon_tcl.c
|
4c72778251ef41053f417dc26408070c22c852d9 |
15-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace gcc with $(CC) (Egbert Eich)
rivers/dri/Makefile.template
|
c62c24c72f42bebce576c4e34d100acaaa5e674e |
15-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few more fallbackStrings (Andreas Stenglein)
rivers/dri/radeon/radeon_tcl.c
|
b127cfeb7a4a78d9e7da8b005fff74dff5fad4ce |
13-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the LDEXPF wrapper macro.
nl/t_vb_arbprogram.c
|
3f7cb794ea154ddcc7b1a8d792eae658d077db81 |
13-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a LDEXPF wrapper macro.
ain/imports.h
|
c472dcdac0b95cf48a6c8b2f355e14e063f72650 |
13-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Wrap RESTORE_FPU/RND_NEG_FPU declarations with check for USE_SSE_ASM.
nl/t_vb_arbprogram.h
|
ce721143b4d44d239baefe965e499606149b15cb |
11-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Cache texenv programs to avoid repeated compilation (Ben Skeggs)
ain/mtypes.h
ain/texenvprogram.c
ain/texenvprogram.h
ain/texstate.c
|
9311bc253e0942af621b7efab0549ed75c0ce4a8 |
10-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add runtime compiled x87 implementations for most of the remaining opcodes. When enabled via environment vars, gears runs and almost looks right but other apps are still quite buggy.
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbprogram_sse.c
|
0cfbd849ecaa59b842eca303d581d4ce90440bac |
10-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add lots of x87 fpu instructions.
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
f3186e578938f4f02268317da528c664d6be7b46 |
06-Jul-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Re-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?), so r200SetBuffer, r200SpanRenderStart and r200SpanRenderFinish get called again. Bugzilla #3705, #3706.
rivers/dri/r200/r200_context.c
|
4cf6718725c7cf3bfb728118a8b14f8cf206c701 |
05-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries. Restore that behavior with new _mesa_alloc_texmemory() function. Should fix via_sse_memcpy() problem in found with flightgear.
ain/teximage.c
ain/teximage.h
ain/texstore.c
|
f0ff50d4edbeab5aa0df349772ed2eda64878282 |
02-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Add support for assembly (static) dispatch functions on x86-64. This is basically patch #2939 from X.org bugzilla #3379. This does *not* fix the bug as it does not dynamically generate stubs at run-time. It just gets things one step closer.
lapi/gl_XML.py
lapi/gl_x86-64_asm.py
ain/dispatch.c
ources
86-64/glapi_x86-64.S
|
c1c684b0f3860099b9e6e77df4451bb61474736b |
02-Jul-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Expose the fact that we do not do either selection of feedback buffers - either with software or hardware rendering.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
666dcaaf05cd6f2f3e21753a16973d6de50634f0 |
01-Jul-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Adding RV350_NJ ID.
rivers/dri/r300/radeon_screen.c
|
7b1222025672510f602e506e367a56725d365eca |
01-Jul-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Adapt extension string to new GL dispatch schema proposed by Idr. This patch is based on Idr patch to radeon driver. Change #if 1 to #if 0 (r300_context.c:l69) for old dispatch tab.
rivers/dri/r300/r300_context.c
|
eac76882315a576a91b26b84f06144d3c8083758 |
01-Jul-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Don't #define __FUNCTION__ on a Microsoft C compiler new enough to have it.
ain/glheader.h
|
219f3c4489168efbb9ad008575d86023cf0463ef |
01-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.
hader/arbprogparse.c
|
7fe8696d017faaebce8d4238b447adabd00a9f4b |
01-Jul-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Use frexp on Windows; frexpf is not available.
nl/t_vb_arbprogram.c
|
9b5678198604a3f959af990f5a4dd39d799ef667 |
01-Jul-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Fix a prototype
rivers/windows/gdi/wgl.c
|
758f334717eaf6700defcde126cb9194155a2264 |
01-Jul-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
convert sis and radeon driver to use spantmp2 instead of spantmp template. Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too.
rivers/dri/mach64/mach64_span.c
rivers/dri/radeon/radeon_span.c
rivers/dri/sis/sis_span.c
|
8e8fa63cb401f38b3320484faa7ea463cca9d8d5 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
comment-out some unused code to silence warnings
hader/arbprogparse.c
hader/grammar/grammar.c
|
559c494fc8b4cc8b058a2f2046ce492d0294e51e |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace some free() calls with _mesa_free()
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram_sse.c
|
6d3284efd4fcead463b69dc854258a8f32689536 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix dependencies
86/Makefile
|
0d34c0158d341ab42a3710d2bb195a8d3f2ac115 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo in assertions
hader/nvvertexec.c
|
f4f1c2959767a65cd592a978e238a039c15b9635 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the PYTHON2 and PYTHON_FLAGS assignments to configs/current, and include $(TOP)/configs/current in glapi/Makefile so those vars can be easily overridden by any system config, if needed.
lapi/Makefile
|
bb5c84fcbc22b4fef28cf4589d6410eb3c35a496 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove NEW_RENDERBUFFER stuff. Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
ain/config.h
ain/context.c
ain/mtypes.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_drawpix.c
wrast/s_logic.c
wrast/s_span.c
wrast/swrast.h
|
446e25894099ed8e1c7034d812ca4baf30a84a56 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove OLD_RENDERBUFFER code
wrast/s_drawpix.c
|
54fb9226e4b1262f4dcae6dcfb552238aefd29e7 |
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove OLD_RENDERBUFFER stuff
ain/buffers.c
|
cf5b2f7419b28cdd533c60e205d5a90d96e85c8e |
01-Jul-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove common macros used in the span functions of most drivers from the individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.
rivers/dri/common/depthtmp.h
rivers/dri/common/spantmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/spantmp_common.h
rivers/dri/common/stenciltmp.h
rivers/dri/gamma/gamma_span.c
rivers/dri/i810/i810span.c
rivers/dri/i830/i830_span.c
rivers/dri/intel/intel_span.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mga/mgaspan.c
rivers/dri/r128/r128_span.c
rivers/dri/r200/r200_span.c
rivers/dri/radeon/radeon_span.c
rivers/dri/s3v/s3v_span.c
rivers/dri/savage/savagespan.c
rivers/dri/sis/sis_span.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/unichrome/via_span.c
|
c212abf99af494f024b0b981a83350f7ac9821ef |
30-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Replace add_newer_entrypoints (src/mesa/main/context.c) with device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
rivers/dri/common/extension_helper.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/unichrome/via_context.c
lapi/Makefile
lapi/extension_helper.py
ain/context.c
|
1ac8ae446af753ec1bdbb789d7b575a72ff56e8f |
30-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove \n from warning message string
ain/imports.c
|
aa70253cbbe65aee58a3715970f6758daf2093d5 |
30-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added newline at end of file
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_version_syn.h
|
049e320f46f3a3daaa36ef67cc680dc504c124d5 |
30-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add a set of predicate functions for testing matrices instead of directly testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
ain/attrib.c
ain/clip.c
ain/enable.c
ain/light.c
ain/matrix.c
ain/texstate.c
ath/m_matrix.c
ath/m_matrix.h
hader/nvvertexec.c
nl/t_vb_normals.c
|
f138b977d09327445a8e9c8126c493c4487c1630 |
30-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions. This cleans up and simplifies the arithmetic quite a bit.
wrast/s_texture.c
wrast/s_triangle.c
|
4d652b7855d1f852fd81fcffe7dabf9c685c9a0b |
30-Jun-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix crashes with pixel readback when using the optimized assembly functions. Pixel count can be negative (this could be fixed elsewhere), so adapt the functions to work with such inputs correctly (same behaviour as non-optimized functions). Bugzilla #2317 Submitted by idr
86/read_rgba_span_x86.S
|
b0d62880e8d10104999ac719f537f233d5c23197 |
30-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
-"fix" page flipping -use depth tiling if tiling is enabled
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_ioctl.c
|
b6c0d753fa6c68ae1cd27caa92627db238f877d2 |
28-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just code clean-ups and new comments
nl/t_vb_normals.c
|
ec17e7941a2e6aae61372935d3fcb6135ec0b1c7 |
27-Jun-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Uncomment a couple of helper functions. Fix slipup from CVS update that was commented out and did not show up during compilation.
rivers/dri/r300/r300_emit.h
|
b6c5116171c686fb251320491dcdc1450e7b6212 |
27-Jun-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Rename unchecked state to match DRM driver. Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
|
84f8d7aafb40b5bcadfefc86e0b4e0ba0646974d |
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
include t_vp_build.h
nl/t_context.c
|
39a488ed63fdca1427124439e78ff1b0e9c5454a |
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused MEMSET16 macro
ain/imports.h
|
2dbffb30f05fcf67658c64b8101e9efaf07ca388 |
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Get rid of the MESA_PBUFFER_ALLOC/FREE() macros. If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/unichrome/via_fb.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
ain/imports.h
ain/teximage.c
ain/texstore.c
|
397088ff5e904d5cb0fbff1f58fbd0d2bb498302 |
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _tnl_ProgramCacheDestroy() prototype
nl/t_vp_build.h
|
c43f03e38dd4bfbcbc0cc8414e2bacfbffad08a1 |
27-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make create_new_program() static
nl/t_vp_build.c
|
3f9839a52b6152d349b5c6279cd7a3d3106b3999 |
26-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coords during fallbacks. In one case, _swsetup_Wakeup had just been called, covering the need there, and in the other case, we can simply exit the entire radeonChooseVertexState function, knowing that it will be called again once we leave the fallback. Bugzilla #: 2516 Submitted by: sroland
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
|
a4eb693b5fa74df9a43042fe763814a01ddeb42d |
26-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Remove the #if 0-ed out old span code.
rivers/dri/r200/r200_span.c
|
32b898126eeba38245ed1dac7d7332c3f923a012 |
26-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Explain the reason for TCL fallback when GL_SPHERE_MAP happens with RADEON_DEBUG=fall.
rivers/dri/radeon/radeon_texstate.c
|
3b817fde8832ac577c307e64959e5049017b475f |
26-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Zero out the ENGPACKET allocated on the stack, to avoid sending uninitialized values to reserved fields on the card, resulting in all-black output and sometimes hangs. Submitted by: Thomas Winischhofer
rivers/dri/sis/sis_screen.c
|
845f2a73506837e4ec4e0cf8bb99a2d63bdaf1b4 |
26-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix for-loop in _mesa_GetDouble to avoid out of bounds memory read
ain/get.c
ain/get_gen.py
|
f8582b6c1f2403869d21bf57093f644284139802 |
26-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for null oldBuffer in _mesa_realloc(), cleaned up some comments
ain/imports.c
|
394fd40a536faade5ccfbbb1f2920394e89ad4aa |
26-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
need parenthesis in realloc call
rivers/x11/fakeglx.c
|
4e1aae6e0ed9a0b49b50ff420822463442392e5d |
24-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Ignore files generated as part of the build process.
lapi/.cvsignore
|
5aafea03af051fa06589580205342001a8eb2693 |
24-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix non-x86 specific builds. The changes from glTexImage3DEXT to glTexImage3D that caused me so many problems during the re-development of the API scripts reared its ugly head again. This has been fixed by tracking the parameter string for each entry-point individually. This has the annoying side-effect that the names of the parameters in all aliases of a function must be the same or gl_apitemp.py will generate bad code. :( The changes in src/mesa/glapi/{gl_API.xml,glapitable.h} and src/glx/x11/* are caused by fixing the parameter names in various function aliases that didn't match. Reported by: Eric Anholt, Jacob Jansen
lapi/gl_API.xml
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/glapitable.h
lapi/glapitemp.h
|
3fb86eefe8b22e8d95111ef49feb0a91d865fd00 |
24-Jun-2005 |
Jeremy Kolb <jkolb@freedesktop.org> |
Fixed the XCB implementation when always_array is true, thanks to Ian Romanick for pointing it out. Please review.
lapi/glX_proto_send.py
|
1c5caba184dc6f9bf7b2c730d8d3109a7a59ce52 |
23-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the xmesa_set_buffer() function. No longer needed since the span functions pass in a gl_renderbuffer to indicate which color buffer should be drawn into. Optimized line/triangle routines are smart enough to know which buffer to draw into as well. The swrast->SetBuffer() routine should eventually be removed from all drivers.
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
2636e853f60cf6944d04c9eb4bf25e8ef83c1cb3 |
22-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Mark GenQueriesARB at 'always_array="true"'. This eliminates the need to special-case the handling of that function in glX_proto_send.py.
lapi/glX_proto_send.py
lapi/gl_API.xml
|
814e5360b0f556e39f1f55ea4173de412df38f7d |
22-Jun-2005 |
Jeremy Kolb <jkolb@freedesktop.org> |
Fixed a bug where GenQueriesARB was generating the wrong code for XCB and wouldn't compile. Not sure how that slipped through before but it should work now.
lapi/glX_proto_send.py
|
66a5548fbbf4c04a74b0bbc451718a8fc95502d9 |
22-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Mammoth update to the Python code generator scripts that live in src/mesa/glapi. Basically, the scripts that did simple things (like gl_offsets.py) were simple, and the scripts that did more complicated things (like glX_proto_send.py) were getting progressively more and more out of control. So, I re-write the foundation classes on which everything is based. One problem with the existing code is that the division between the GL API database representation and the way the output code is generated was either blury or nonexistant. The new code somewhat follows the Model-View-Controller pattern, minus the Controller. There is a distinct set of classes that model the API data, and there is a distinct set of classes that generate code from that data. One big change is in the class that represents GL functions (was glFunction, is now gl_function). There used to be an instance of this calls for each function and for each alias to that function. For example, there was an instance for PointParameterivSGIS, PointParameterivEXT, PointParameterivARB, and PointParameteriv. In the new code, there is one instance. Each instance has a list of entrypoint names for the function. In the next revision, this will allow a couple useful things. The script will be able to verify that the parameters, return type, and GLX protocol for a function and all it's aliases match. It will also allow aliases to be represented in the XML more compactly. Instead of repeating all the information, an alias can be listed as: <function name="PointParameterivARB" alias="PointParameterivEXT"/> Because the data representation was changed, the order that the alias functions are processed by the scripts also changed. This accounts for at least 2,700 of the ~3,600 lines of diffs in the generated code. Most of the remaining ~900 lines of diffs are the result of bugs *fixed* by the new scripts. The old scripts also generated code with some bugs in it. These bugs were discovered while the new code was being written. These changes were discussed on the mesa3d-dev mailing list back at the end of May: http://marc.theaimsgroup.com/?t=111714569000004&r=1&w=2 Xorg bug: 3197, 3208
lapi/Makefile
lapi/glX_XML.py
lapi/glX_doc.py
lapi/glX_proto_common.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_enums.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
lapi/gl_x86_asm.py
lapi/glapitemp.h
lapi/glprocs.h
lapi/typeexpr.py
ain/enums.c
86/glapi_x86.S
|
f292e13a20a262411360bf4af5337595976cebc7 |
21-Jun-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Back out the actual enabling of depth tiling. Depth tiling breaks software fallbacks and depth buffer reads. radeon_span.c **must** be updated for anything that is related to tiling.
rivers/dri/r300/r300_state.c
|
1e4744d2b91156abdf792f63aa9c2224f44f2791 |
21-Jun-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Add PCI ID for R420 JI. The driver appears to work reliably (i.e. lockup-free) with a card based on this chip. However, I have not explored whether we could get anything in terms of 3D performance "for free" just by setting some magic bits in those registers that are still a mystery to us.
rivers/dri/r300/radeon_screen.c
|
ebd99043edab8297aafdf8dde6084e15c4a009c3 |
21-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
r300 driver side of color tiling support.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_screen.c
|
a5fb15cb87a0734f5e0bf1b1dafe5204a32052da |
21-Jun-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Make sure texture base addresses are used correctly. They are relative to the card's address space, not relative to fbLocation, which will be important once we program MC_FB/AGP_LOCATION in the way they are programmed on older Radeon chips.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
04f863e85669fdf42f3ec401c55b1533e8069dee |
21-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for NULL swrast->Driver.SetBuffer before calling it
wrast/s_buffers.c
wrast/s_span.c
|
90b40c33e7118d8ed67ebd1c7e282b26b4966cea |
21-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
include light.h to silence warning
nl/t_vb_arbprogram.c
|
dc137ddb3f128a6772027e3f917b3208969002f0 |
20-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
DirectFB updates (Claudio Ciccani)
rivers/directfb/Makefile
rivers/directfb/idirectfbgl_mesa.c
|
a6a3e01b099a9ea15c9868b4acf01b106c5f417b |
20-Jun-2005 |
Jeremy Kolb <jkolb@freedesktop.org> |
ran "make" after update to glX_proto_send.py.
lapi/glprocs.h
ain/enums.c
|
4378dee78ce08a66a0d81cc603abe5d64895093f |
20-Jun-2005 |
Jeremy Kolb <jkolb@freedesktop.org> |
Fixed some issues where XCB replies were being freed and data was not being copied.
lapi/glX_proto_send.py
|
38332a6d94d4f9541bff939522230731f1705e04 |
19-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're not using GCC or VMS.
ain/glheader.h
nl/t_vp_build.c
|
4e7df2746638e67c09c5e5d0e5157345f9470122 |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix gloss breakage when using hw tnl.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
3c6f17be3274d6a137fb52b0aacba81259bbb188 |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Use depth tiling.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
af02907b4cbe212f0d87de25d85118b05303415c |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Support 16-bit modes.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
463c1d6c57a3df87b57a74f9bdbd365eb99f2a42 |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix problems with elts when immediate mode is on.
rivers/dri/r300/r300_render.c
|
0e288e58ef3325d10412dde29f5581a8a655b3dd |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Turn off VBO's.
rivers/dri/r300/r300_context.c
|
3176f8e2e1195b0f8bd0c9ba2fd44366ff1da520 |
16-Jun-2005 |
Aapo Tahkola <aet@rasterburn.org> |
lost_context never gets reset.
rivers/dri/r300/r300_cmdbuf.c
|
f445aaa67a14f2cda447ced6c60393c9b330e174 |
16-Jun-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix linux-solo build for mga check-in
rivers/dri/mga/server/mga_dri.c
|
aa2691547281a09da86f7fcc3f991b92a29fc9c7 |
15-Jun-2005 |
Ian Romanick <idr@us.ibm.com> |
Adds support for MGA DRM version 3.2. This patch makes use of two of the new ioctls added in MGA DRM version 3.2. Specifically, the DRM_MGA_SET_FENCE and DRM_MGA_WAIT_FENCE ioctls are used in mgaWaitForFrameCompletion. As a result the MMIO register region and the primary DMA region are *not* mapped (if DRM 3.2 is available). This patch does *not* make use of the new get_param query was added to differentiate between G4x0 cards and G550 cards. That is left to a future update. Xorg bug: 3259 Reviewed by: Eric Anholt
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgaioctl.c
|
fb818a0b115afaf43a5a3a32e649c86165ccc366 |
14-Jun-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS updates Modified Files: Mesa/src/mesa/tnl/descrip.mms Mesa/src/mesa/tnl/t_vp_build.c ----------------------------------------------------------------------
nl/descrip.mms
nl/t_vp_build.c
|
6b9d9c503945f20fbf471ec9936e13a7bac6c60c |
13-Jun-2005 |
Jon Smirl <jonsmirl@gmail.com> |
fbSwapBuffers needs to return a status
rivers/dri/fb/fb_egl.c
|
2d218885ecb0bf82cbfd33da1b9186bf6e09375b |
13-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
mingw changes (Nolan Leake)
rivers/windows/gdi/wgl.c
rivers/windows/icd/icd.c
rivers/windows/icd/mesa.def
ain/glheader.h
|
902e70875d421b14195f7fedb8303bb079607dcc |
12-Jun-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Fixed typos.
rivers/dri/r300/r300_reg.h
|
b675c48027b733de02eeb6b984200369b7571fe0 |
10-Jun-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add definition for memory controller latency registers..
rivers/dri/r300/r300_reg.h
|
447697885634a92ffc3b9da2a23407406406af97 |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
remove debug prints
nl/t_vb_arbprogram.c
nl/t_vp_build.c
|
252d8e78cc07880239b085b713e2d37ddbba86f9 |
10-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
be sure we have span texcoords before calling _swrast_texture_span()
wrast/s_span.c
|
5d6ecf25f89b152638f68ba683611f73c51b52a4 |
10-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass mask array to PutRowRGB() in simple_z_textured_triangle()
wrast/s_triangle.c
|
b4979ec178fd87d80666e201c91220d9ecc6363d |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Allow the print opcode to compile
nl/t_vb_arbprogram.c
|
6c1948d593e0be6ddd49f73cb3966e679eb83c37 |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in spot attenuation
nl/t_vp_build.c
|
729cccba5d20e3b34e7168ffff7515f52c72c26e |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Correct test for attenuation. DISSASEM changes.
nl/t_vp_build.c
|
f6e7cfb60d3c4ceb2242cbc57c7e87c3c8e362fe |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix colormaterial flag calculations. Fix lighting alpha result.
nl/t_vp_build.c
|
52608d2d21d401ac243d84409ec4043731a4f21a |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add notes about intended precision of opcodes. Remove dead floating point twiddles. Fix bug translating MAD->MUL,ADD.
nl/t_vb_arbprogram.c
|
1c48986e540f573c63b98470f52338dba6353cea |
10-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix a couple of buglets
nl/t_vp_build.c
|
1fc4bcbb17ec210a2d76fb82b5b108b129973022 |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Another typo
nl/t_vb_arbprogram.c
|
44367aab2a987a03ee1acfb7aa3a9116f3618af0 |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Further clean up RoughApproxPow2 and disable the optimized version -- it's a very poor approximation.
nl/t_vb_arbprogram.c
|
2c6e8e90ec848de0693919bf6c584b1111d6281f |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo in RoughApproxPow2
nl/t_vb_arbprogram.c
|
81032030ff42dd78133d85f7cabab5fb4c9aaf1e |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Store compiled vertex program representations in a pointer in the vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
akefile
ain/imports.c
ain/mtypes.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbprogram_sse.c
nl/t_vb_program.c
nl/t_vp_build.h
|
a8534885efb13ec7f071192c1504513cd90d07de |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Build vertex programs using state from a 'state key' struct which is distilled from the current state. Maintain a list of vertex programs for various different tnl states indexed by these state keys. This cuts down the number of vertex programs generated and means that time spent optimizing vertex programs for execution isn't wasted each time the state changes.
nl/t_vp_build.c
|
79b7bd18bb27892f6c7f887c37373ca57449a40e |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn off debug
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram_sse.c
|
8e5612278261284d4be1e2befdcb2b3426365326 |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add t_vb_arbprogram_sse.c
ources
|
ea93b2986b7e8c4c278b408d6a546442d40351f1 |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Runtime generate sse/sse2 code for some vertex programs. Experimental and only active when _TNL_FIXED_FUNCTION_PROGRAM is defined *and* the MESA_EXPERIMENTAL environment variable is set... Works for the arbfplight demo at least.
nl/t_vb_arbprogram.c
nl/t_vb_arbprogram.h
nl/t_vb_arbprogram_sse.c
|
002d0ad3e96a22350cdeafc845ec3233224b14e4 |
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn off DISASSEM
86/rtasm/x86sse.c
|
562bdaf70e31d294a47f9e3bbf3be35288653f67 |
08-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
New arguments for sse_shufps()
nl/t_vertex_sse.c
|
9899f58c76d3eaab940b4e2e33d722ac4721ea13 |
08-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use ALIGN_MALLOC for parameter lists.
hader/program.c
|
dce3a91a8d755e394d80b6d594fb3114eed67e49 |
08-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add some more opcodes
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
2d2f5a4b19a95477e1cf6915963fe9fdbfc461f7 |
08-Jun-2005 |
Ben Skeggs <darktama@iinet.net.au> |
- Secondary colour - Calculate tc_count in EmitArrays (enabled units != nr texcoords).
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
60339c7062276de0ba4136dfa101ab2a7c22848e |
08-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove ARL opcode from interpreter. Revert SEL opcode to MSK. Split out t_vb_arbprogram.h header file.
nl/t_vb_arbprogram.c
|
7fb16836e71fd06363fe6a764ba07b949591c4ce |
08-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
new file
nl/t_vb_arbprogram.h
|
681b758f119a7c72175ccde5000996d7618295df |
08-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some renderbuffer problems for Xserver build (Dave Reveman)
rivers/x11/xm_span.c
|
a0b5c983645e672b6c86d2bd52764ad58fda5d70 |
08-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)
rivers/x11/xm_api.c
|
ed7f3aead819dfe089228363698b4860614e62e8 |
07-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_ALPHA render-to-texture problem (Jon Smirl)
ain/fbobject.c
ain/texrender.c
|
395280bf8877b023e07045e30dad812e7c32f444 |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Initialize some variables.
nl/t_vb_arbprogram.c
|
a4691981d99495f5d0427347981df6e989b56e9c |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add new runtime assembly files.
ources
|
1d60469c4c0bcccd8b3310a49d18123a8c7f41e4 |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Split out runtime assembly functions.
nl/t_vertex_sse.c
|
461a2a799a99a8c8aba7e09c96d7c2e5c3196dcf |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
New files - split off runtime assembly functions from t_vertex_sse.c.
86/rtasm/x86sse.c
86/rtasm/x86sse.h
|
757e0855adb1b1eb45b55e1fcf6acb47224b2853 |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify interpreted language: - Expand operand argument specifiers so that all registers and parameters can be referenced directly. Remove old PAR/PRL instructions. - No 3 operand instructions, translate MAD -> MUL, ADD. (No room for 3 full operands in instruction struct). - Translate SWZ instructions into 1 or 2 reduced swizzles at compile time. - Add hardwired code for moving input and output values to/from the register file. Drop old INx, OUT instructions.
nl/t_vb_arbprogram.c
|
17d249d31b3b382af04610b2ca37d01b8f06abe4 |
07-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a VP_MAX_OPCODE entry to allow engines with internal opcodes to place them sensibly.
hader/nvvertprog.h
|
c20a2b0b72e083281485fbb1f6c99a97a79720a3 |
07-Jun-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Add SetBuffer to egl driver too
rivers/dri/fb/fb_dri.c
rivers/dri/fb/fb_egl.c
|
ef9e0be0cb21f995d5b14060ca63a51e9b1cd52e |
06-Jun-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Add a NULL SetBuffer function to the fbdev driver
rivers/dri/fb/fb_dri.c
|
2e7dcdd38bf23bb5303d9351fbdd4941d7639858 |
06-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
this is auto-generated
86-64/matypes.h
|
d59fbcdee5441a445777eea3239396400dd73f58 |
06-Jun-2005 |
Ben Skeggs <darktama@iinet.net.au> |
TEX to output
rivers/dri/r300/r300_fragprog.c
|
3c4c6d1f80ba4881155eceba18c634099383346c |
05-Jun-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Fix xyz/w interaction (needs a cleanup still..) Use SRC0A instead of WZY/XXX combination for W in XYZ positions. Remove dodgy hack from POW opcode, now works correctly without it
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_fragprog.c
|
df5e2b934bc18cd17ac512e6746df64019014a7d |
05-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
ain/config.h
ain/mtypes.h
wrast/s_span.c
|
d96dd3cd49658669833c8110b2f2e8938fe6a544 |
04-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old span functions from swrast_device_driver struct
wrast/swrast.h
|
bb8b302dbce4f830d060efecd8a9f75b10e25abb |
04-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old span code
wrast/s_span.c
|
5ec5c6b22262e83706f8b1c42d9e6b5b432a7f8b |
04-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an assertion
wrast/s_logic.c
|
863bd565204c7fec515457dfd6c59066309cb136 |
04-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove old span code
wrast/s_buffers.c
wrast/s_readpix.c
|
5821f3d70c80101b63530735f33072c11ce81642 |
04-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comment
rivers/dri/common/drirenderbuffer.c
|
3fe9c40cb27b23d44e938a19fbf4f21e1b1e288b |
02-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove last of the old span code.
wrast/s_accum.c
wrast/s_blend.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_triangle.c
|
13c8f985d96fa7dda0fd71dc4f656ce01dcdbe85 |
02-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
oops, undo previous change
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
1516f559bc1d8af1ca3a12c78b23937e9208b5c6 |
02-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
start removing old (pre-renderbuffer) span code
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/mach64/mach64_span.c
rivers/dri/r128/r128_span.c
rivers/dri/savage/savagespan.c
rivers/dri/tdfx/tdfx_span.c
|
c4fbdb090cb02f57e83e5f679cadf62c22ec286b |
01-Jun-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS makefile added Added Files: Mesa/src/mesa/shader/grammar/descrip.mms ----------------------------------------------------------------------
hader/grammar/descrip.mms
|
589a3a3f6e9c7191462b0123976847b5ab776f65 |
01-Jun-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpneVMS compilesupport Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_storage.c Mesa/src/mesa/shader/slang/slang_storage.h ----------------------------------------------------------------------
hader/descrip.mms
hader/slang/descrip.mms
hader/slang/slang_compile.c
hader/slang/slang_storage.c
hader/slang/slang_storage.h
|
f090fdc50b290566a5b6aaf57ddd31b340f58de5 |
01-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Move fallback and other debugging under TDFX_DEBUG using the same mechanism as other drivers.
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_tris.c
|
d638f6a0bbc7df246700ed78c11837af6e6c6246 |
01-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add no_rast option.
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_tris.c
|
f772e3dd1527dcc4a910cbaf3db5ff1a8096740e |
01-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 instead of GL_RGBA in driNewRenderbuffer of the backbuffer.
rivers/dri/tdfx/tdfx_screen.c
|
c7264415b662225a5bdbad3157ecae6b2a3183e2 |
01-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT error
ain/fbobject.c
|
1b93953fbcbeb3c88dc50004a989a3d44d7fd99b |
01-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querie
ain/fbobject.c
|
0009e3d97d1945ece440f82ff52b298fff5877e4 |
01-Jun-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bugzilla #2708: Disable the fallback on GL_SPHERE_MAP. It appears to hurt more than it helps, and we seem to have a handle on how to fix it.
rivers/dri/r200/r200_texstate.c
|
628b18b8cac5e691e7145deb1026e91d3cf03094 |
31-May-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
4ec6eceea93e613b5078dc388925cf866ed8c88b |
31-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Causes lockups on some rare cases.
rivers/dri/r300/r300_ioctl.c
|
8c2a9a916636f32192903b0f25bbf5aff8277862 |
31-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also do some cleanups on the span macros. This does not deal with the brokenness of depth spans, but makes the code more readable.
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_tris.c
|
ef377c3c007611e57aef176cb66d8b4c18f1a6c3 |
31-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Correct the descriptions of the glBlend{Equation,Func} fallbacks in r128, and remove those descriptions and the corresponding bits on r200, where they're no longer used.
rivers/dri/r128/r128_tris.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_swtcl.c
|
b79c47e90ce421426e4608c85461148f3962f9a0 |
31-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Remove unused CTX_ARG2 define.
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/sis/sis_tris.c
|
8a1df968627de01d04f3d692fd81108ba6492c18 |
31-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cuts about 200 lines from the code and 25k from the binary, while matching other drivers more closely. In the worst case (tcl_mode=0) it appears to have a performance cost of 4.4% +/- 0.3% on quake3 (800x600 demofours, 1ghz p3, rv200). Tested on ut2004, ut, q3, projtex. Submitted by: Andreas Stenglein <a.stenglein@gmx.net>
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_swtcl.c
|
9dff2ca07a6a74f65d831269b1cee8c3ee2c0103 |
31-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Move fallback debugging under MACH64_DEBUG=fall (matching other drivers) and add pretty descriptions of the bits. GC one of the bits that was unused. Also, now only the first thing triggering a fallback and the last thing requiring one do the debug output. This also matches other drivers.
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_tris.c
|
12eabeb3b9ffe12032ded88959430d36d4ced419 |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Pull locking out from HW_LOCK/UNLOCK into SpanRenderStart/Finish. Provides a factor of 5+ improvement in no_rast glxgears and 2.3 in no_rast quake3 (n=1, 320x240, 16bpp, low qualities, 1ghz p3)
rivers/dri/mach64/mach64_span.c
|
c7f8d3645132b704a8cde9053c0a836874174e5f |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Fix software fallbacks by being safe with macro arguments in READ/WRITE_DEPTH. Convert to spantmp2.h while I'm here. Tested with 16 and 32bpp no_rast glxgears.
rivers/dri/mach64/mach64_span.c
|
993d8ad5ef6d0485c578cd632cbe0621887dafee |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add the no_rast debug option to mach64. It shows that software fallbacks are pretty broken.
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_tris.c
|
b328dded7513c6092861197f6ba2edf9341e46d3 |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Pull hardware locking out into SpanRenderStart/Finish rather than HW_LOCK/UNLOCK. Provides a 61% performance improvement in no_rast=true quake3 (n=2, 320x240, 16bpp, p4 1ghz), and a factor of 3 improvement in no_rast glxgears.
rivers/dri/mga/mgaspan.c
|
c1b87b2a063034a0584d20ac21d5349f1e85d58a |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add the description of the no_rast option fallback so that MGA_DEBUG=fall doesn't segfault with no_rast.
rivers/dri/mga/mgatris.c
|
0936eeb456e005535b976fd22eed1a54157edfaa |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add the no_rast debug option, which I used in some testing.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
|
f2149a7a66f251da1cf55eca27d58dd651881757 |
30-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Remove unused CTX_ARG2.
rivers/dri/r128/r128_tris.c
|
0b73889d54add35aadbf5e623ac5441d70439e6f |
29-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Put some fallback debugging output under DEBUG_FALLBACKS.
rivers/dri/radeon/radeon_texstate.c
|
2962f88189c46e0bfe3fc33a1d46be9409cb9c10 |
29-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add a missing EnsureCmdBufSpace, matching r200.
rivers/dri/radeon/radeon_swtcl.c
|
f054fa85d8e9f5eadf4fe845764905e102802e88 |
28-May-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Add a freebsd-dri-amd64 config, and quiet makedepend slightly by making an EXPAT_INCLUDES config variable (set on FreeBSD) which is then used in Makefile.template's INCLUDES.
rivers/dri/Makefile.template
|
2ed4c296d93c2df905684fad374a516c828022b7 |
28-May-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Some fixes
rivers/dri/r300/r300_fragprog_swz.c
|
0bae91562ed1e974e2c1361371a170255de8058d |
28-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Up MAX_AOS_ARRAYS to 16. Do we need more?
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
|
908dbc44c23ee96415ba758dc05050ae5fb0ca3c |
28-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Play with swizzling a bit.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
|
74e412c6956676d69adcd5210ca7046061629eec |
28-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Programmable per-vertex point sizes and proper result reg assigns.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
0080faf83ed9bd7a0516b92249b8c585526ac956 |
27-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
More optimal r300Clear.
rivers/dri/r300/r300_ioctl.c
|
d322810e13f8fed7d7830e5ba9ca02bd9fd72340 |
27-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
properly pop the GL_TEXTURE_GEN_ enable state
ain/attrib.c
|
70dbbbf89af4c1d6d9b52cbbb79ee7f9ad654592 |
26-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix gl_enums.py so that enums that are listed with the same name in multiple places don't get generated multiple times.
lapi/gl_enums.py
ain/enums.c
|
497dd3e920bef8f72cd6a85b2551cd309fb7b631 |
26-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Minor correction to EXT_framebuffer_object XML. Fix gl_table.py so that it generates the correct script name in the generated output.
lapi/gl_API.xml
lapi/gl_table.py
lapi/glapitable.h
lapi/glapitemp.h
|
249db89b009e64812d4bcec80d0c5a64f1d65aeb |
26-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Make a couple minor corrections to gl_API.xml. Fixes the name of an extension that was missing the GL_ part and uses the core GL type names for vertex buffer object functions instead of the ARB names. Also commits the resulting changes to the generated code. Some how, the #if sequence disappeared in the 1.52 version of glapi_x86.S.
lapi/gl_API.dtd
lapi/gl_API.xml
lapi/glapitemp.h
86/glapi_x86.S
|
020225496ecd47374a2f147974c23519c706b867 |
26-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Bump driver date.
rivers/dri/unichrome/via_context.c
|
ae516306b4df5d4a2a4bb67c8e705aa67891681a |
26-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
constant tracking
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_state.c
|
e45b5a4fa8f5c8abf6853c528da2dfb1756a9440 |
26-May-2005 |
Dave Airlie <airliedfreedesktop.org> |
use shared-core rather than shared
rivers/dri/x11/Makefile
|
8e5099d6a026d1267c8c2a52c95901e791704b25 |
26-May-2005 |
Dave Airlie <airliedfreedesktop.org> |
use shared-core instead of shared
rivers/dri/dri_client/Makefile
|
d2ee346a935d20e60068e14c9e98cbe82f784148 |
25-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix a couple typeos in enum names.
lapi/EXT_framebuffer_object.xml
|
170999a103023c35e58f8475210026b5f66963a7 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
change local var names from "asm" to "assem" - I guess it caused gcc 3.3.5 to break, but not tested it
hader/slang/slang_assemble.c
|
d1834e8c107bc3242a3f95e096fca408103bcba8 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
a small utility to convert .syn files to its binary forms; does not require any command line params;
hader/slang/library/gc_to_bin.c
|
0432411837d206d8c69973d24bbb6d7d99e9fbe9 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
silencium gcc warnings
hader/slang/slang_assemble_assignment.c
|
0f71c6691ee2147ab839e9d059d1bb7c947590ef |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
add shader/slang/slang_assemble_assignment.c
ources
|
fc534034cc3403f3e597c49a0daa9965c07a0f72 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
more slang code
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_assignment.c
hader/slang/slang_assemble_assignment.h
hader/slang/slang_compile.c
hader/slang/slang_storage.c
|
1de60fe47f83b4397601b258c8587046085bca51 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
ncrease stack size
hader/slang/slang_assemble_conditional.h
hader/slang/slang_execute.h
|
c16264b13857abc9ede2c4c795a8555298c1a153 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
update grammar_mesa.c path
ources
|
1aadf1c039ef88168ddb7bee9e7a31d9c340fb6a |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
moved from mesa/shader to mesa/shader/grammar
hader/grammar.c
hader/grammar.h
hader/grammar.syn
hader/grammar/grammar.c
hader/grammar/grammar.h
hader/grammar/grammar.syn
hader/grammar/grammar_mesa.c
hader/grammar/grammar_mesa.h
hader/grammar/grammar_syn.h
hader/grammar_mesa.c
hader/grammar_mesa.h
hader/grammar_syn.h
|
1008f57f6f47920071107df8abafda57cc679930 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
remove the GLSL spec wording; reorder some elementary operators; disable assignment "=" and equality "==" "!=" operators - they are handled internally by the assembly generator; fix minor typos
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_core_gc_bin.h
|
2b73e5aaafc9bc3e495fa2da059644bed75c4278 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
add mesa/shader/grammar to include list
ources
|
863eca99730622851f5c8ab294abd139acd2fa76 |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
stand-alone vertsions of grammar_mesa - used by utilities; DO NOT BUILD UNDER MESA
hader/grammar/grammar_crt.c
hader/grammar/grammar_crt.h
|
39e14d2cffb8627bf8b6587a6d5590f50c6910b0 |
25-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Provide initial values for some variables.
nl_dd/t_dd_tritmp.h
|
741b9804336e291d6ea1f1b664a68e08d77d2e24 |
25-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
add special case for flat shaded + separate specular triangles
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
3f6d9857532ee5161ae4032f9aa3d9d375c1b43a |
25-May-2005 |
Michal Krol <mjkrol@gmail.org> |
change the behaviour of enter and local_addr instructions
hader/slang/slang_execute.c
|
49109d01c00d4f18de57c919256dec1804ebb903 |
25-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Disable polygon stipple - it seems to break if certain specific stipple patterns are used, including the one generated by conform.
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
|
8286abd7986564d22e540cef26aaa00ea164bb52 |
25-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix various issues with cliprects and MakeCurrent
rivers/dri/unichrome/via_context.c
|
53d13e014fbe29a3789f7845443c858e94430097 |
25-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
- Remove one of the loops in emit_arith - Handle REPL_ALPHA in emit_arith (possibly incorrect for some things) - Start on getting demos/arbfplight.c to look right. Won't be animated yet, need to re-work const emit so we can update consts without re-translating the entire program. Assertion in r300_state.c::setup_rs_unit needs to be disabled for it to work.
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_reg.h
|
e87ab8c05fb08c39432f5838c05df3b50e9a2694 |
25-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Only use x86 / SSE assembly when USE_X86_ASM / USE_SSE_ASM are defined. This makes the driver build on x86-64 again.
rivers/dri/unichrome/via_memcpy.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_tris.c
|
6b5afb003645d2cbaabf7d9c0733f1f7891cb0a0 |
25-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Cleanup some Windows junk.
ain/glheader.h
|
f7c0c4f485ca4d661b6f033aaece5e3450d13931 |
24-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
moved to windows build dir
rivers/osmesa/osmesa.dsp
rivers/windows/gdi/gdi.dsp
ath/math.dsp
hader/shader.dsp
wrast/swrast.dsp
wrast_setup/swrast_setup.dsp
nl/tnl.dsp
|
b4c8b34534b087175d60cd100c8bcde911377818 |
24-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
moved to windows build dir
rray_cache/array_cache.dsp
lapi/glapi.dsp
ain/main.dsp
|
45ab8cb08aaf641a397c1a30ac19f0942498430b |
24-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Major code cleanup and begin using new render buffer interface.
rivers/windows/gdi/colors.h
rivers/windows/gdi/mesa.def
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
b31b1f44f15f385f61e4cd42c10bb967cd2e5b91 |
24-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Change prototype for TextureMemCpy to return void* (was void).
ain/dd.h
|
2d5f12ae6b08420592e2b94ff557f327bc471a74 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Initialize hw stencil renderbuffer.
rivers/dri/unichrome/via_screen.c
|
afa7f6a0f5b3e4266a455a0d4deca749dca1dc7e |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Disable recent sse change pending more testing.
rivers/dri/unichrome/via_tris.c
|
eeada484979e9784ebb03f635f207e717a04e311 |
23-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Implement enough of ARB_fragment_program for Keith's texenv program generation in Mesa. Requires most recent Mesa cvs to work correctly. Swizzle code is possibly slow/buggy and will probably be replaced. Old behaviour can be controlled by a #define in r300_context.h, if no-one minds I'll remove the old code later on. Also, disabled cube map extension. AFAIK We don't support it yet, and it causes issues with UT2004.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fragprog.c
rivers/dri/r300/r300_fragprog.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texprog.c
|
0c4731b27ccf5faa1393102107862c28642b3d76 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use SSE for vertex emit -- another good speedup.
rivers/dri/unichrome/via_tris.c
|
17bcf9f816db3098db42acd7f0672f64554dd6a0 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Import Thomas Helstrom's SSE memcpy code from the via X.org driver. Add a TextureMemCpy callback, called from texstore.c when copying texture data via the memcpy_texture() path. Enable this code in the via driver - 100% speedup in texdown.c results.
rivers/common/driverfuncs.c
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/via_memcpy.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
ain/dd.h
ain/texstore.c
|
eb9d6f44a963d985d67991deff57a6f8d7d3f0f6 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
silence gcc warnings
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_execute.c
|
241b6b7ab1a1a11c7fc516d1b6ff2c1bc8aba238 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Detect use of disabled textures as tex_env_crossbar sources.
ain/texenvprogram.c
|
2dea6df80b51ad8c5e2e88c2eb214b55889821c6 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Support ARB_texture_env_crossbar. Changes the way programs are generated somewhat, with all TEX instructions now emitted at the head of the program.
ain/texenvprogram.c
|
6fe176a64859798db17fbaed6858cccc646aae38 |
23-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Restore the negate() function. Add Ben Skegg's ATI_texture_env_combine3 support.
ain/texenvprogram.c
|
eb8be5d923f1e3063aac330ced9fc7c7b63b2a88 |
22-May-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Small change to handle native case (7 natives case)
rivers/dri/r300/r300_fragprog_swz.c
|
446980473d6f2449b139ffca48679179be6c0d87 |
22-May-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Adding r300 fragment program swizzle tab. Please some one reread macro at begining see if i made any error. A full reread would also be usefull there may be some errors for some swizzle despite the great care i took to done them :)
rivers/dri/r300/r300_fragprog_swz.c
|
b70a47736ad42bf10a9d6d051204fb140c1c67e8 |
20-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Add support for modes with a depth-buffer but no stencil-buffer. This eliminates various "3D driver claims to not support visual" messages in 16-bit color mode.
rivers/dri/intel/intel_screen.c
|
3cc2f82bb512edbe529aabfd772ece95b18ca839 |
20-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove debug printfs
rivers/x11/xm_tri.c
|
923515b3f81019c59aa4348b4dde8a0110b98b46 |
20-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Re-enable X11 optimized triangle funcs.
rivers/x11/xm_tri.c
|
063efce6ee9928ae98dbcbd6ec89279260a55197 |
20-May-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update openVMS compile support Modified Files: Mesa/progs/demos/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
hader/slang/descrip.mms
nl/descrip.mms
|
bab559b1fa2db0127bd7ff4f89d34f8df52c6dab |
20-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Remove some debug output Add #if DEBUG_FRAG in s_nvfragprog.c
rivers/dri/fb/fb_egl.c
wrast/s_nvfragprog.c
|
18a74321aa825c355392f98f1563a971871794cc |
19-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Invalidate current fastpath on changes to attribute size or offset within the vertex. Use existing facilities to check for sse2 and enable when available. Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is defined. Disable with "MESA_NO_CODEGEN=t".
nl/t_context.h
nl/t_vertex.c
nl/t_vertex_sse.c
|
c2745ffa49e25aa2ff685ee8538a79baad4de54f |
19-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Cope with the common 3ub and 1ub cases. Fix a few typos. Note that sse_movss sets high dwords to zero when reading from memory. Fix a few related bugs.
nl/t_vertex_sse.c
|
9557401a98b9585289fe8f65be33b6c5fda79095 |
19-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Re-initialize viewport shadows each time.
nl/t_vertex.c
|
c70dace6942feda07d797feb845782d136097f5c |
19-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix EGL fbdev palette problem. demo3 can save ppm of screen
rivers/dri/fb/fb_egl.c
|
6040d34109cdca111df3ed86f9854ddb6d90525c |
19-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename emit functions to reflect instruction set in use (ie x86,sse,sse2,mmx). Add paths for sse+mmx vs. the initial version which assumed sse2 was available everywhere.
nl/t_vertex_sse.c
|
8608978aba6df58b3b642b69410853fac3648acb |
19-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the XFree86 ID line
rivers/dri/common/depthtmp.h
|
02168254a8bc269511093e20411c863979b2afac |
19-May-2005 |
Michal Krol <mjkrol@gmail.org> |
intermediate code generator (not finished); generic back-end interpreter (interprets directly intermediate code)
hader/slang/slang_assemble.c
hader/slang/slang_assemble.h
hader/slang/slang_assemble_conditional.c
hader/slang/slang_assemble_conditional.h
hader/slang/slang_assemble_constructor.c
hader/slang/slang_assemble_constructor.h
hader/slang/slang_assemble_typeinfo.c
hader/slang/slang_assemble_typeinfo.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
hader/slang/slang_execute.c
hader/slang/slang_execute.h
hader/slang/slang_storage.c
hader/slang/slang_storage.h
ources
|
e5ff2b94ff16a05d4c5928a85199291e2e7f234e |
19-May-2005 |
Michal Krol <mjkrol@gmail.org> |
add static_assert macro
hader/slang/slang_utility.h
|
216f89318ee455ec5e74f836184c1e55e8ec8a92 |
19-May-2005 |
Michal Krol <mjkrol@gmail.org> |
fix info log grabbing
hader/shaderobjects_3dlabs.c
|
e3cdbca63f93420043001857eee2c8b333588fc9 |
19-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Ditch unused code and features that arent in subject to get supported any near time.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
6bc9ea1df92a102c60c409c2f2261151503890b4 |
19-May-2005 |
Ian Romanick <idr@us.ibm.com> |
In addition to dead-code removal and other clean-up, bump the required DDX version from 1.0.0 to 1.1.1. 1.1.1 is over a year and a half old at this point, so it should be pretty widespread. This allows the linecomp_sane field to be eliminated from mga_screen_private_s.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/server/mga_dri.h
|
9a1b5af3331361177cf73c1d0b18cea4e260688b |
18-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix inverted y for egl fbdev, add egl demo3
rivers/dri/fb/fb_dri.c
|
2b2bd08589099cb480b983835b01cc76a766a3c4 |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove old t_vertex.c codegen infrastructure, tie in new code. Currently disabled, can enable with MESA_EXPERIMENTAL=t.
ources
nl/t_context.h
nl/t_pipeline.c
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_c.c
nl/t_vertex_codegen.c
nl/t_vertex_generic.c
nl/t_vertex_sse.c
|
dc7fc173966e314f89502473044933a099c838ae |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix a few typos, initialize p->identity.
nl/t_vertex_sse.c
|
96582f4f28851f55f6726d1bba8a7f2616c327a4 |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Eliminate a couple of swizzles.
nl/t_vp_build.c
|
dd4c1dd0382277b080fb4981e027250e10658ae8 |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Generates working SSE code for gears under the swrast driver.
nl/t_vertex_sse.c
|
b745bf08cd5e772f86360267995a96e9b73384b0 |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Checkpoint commit: Preliminary version of a facility to emit x86/sse code to implement vertex emit functions for the t_vertex.c mechanism.
nl/t_vertex_sse.c
|
2f74adc41f59db372d9d0fe58155bceb1654bd4d |
18-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Stick texture LOD back on.
rivers/dri/r300/r300_state.c
|
e53fc72f67c2ba7f273a78740bb15de37f96baeb |
18-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Polygon mode fixes.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
bd565e4bb7c4cff44d6fe7ac422ac7a6219f07dd |
18-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix for writing the wrong sysfs variable when blanking
rivers/dri/fb/fb_egl.c
|
9a3da7ea7b61fcd71dd5caf9be9eaf485aa7947d |
18-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Implement fbdev swapbuffers()
rivers/dri/fb/fb_egl.c
|
6e56f905d00f27257f252be3c2666dad52aeab45 |
18-May-2005 |
Ian Romanick <idr@us.ibm.com> |
More comments. More dead-code removed. More clean-up.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
|
2860e5f5360aeb06f1f6f973e696d53a3da3f398 |
18-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Disable leftover debug statements
rivers/dri/i915/intel_tris.c
|
22652f952fbd3968f3d5a3db7898911508d76145 |
17-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures)
rivers/osmesa/osmesa.c
|
ae818ed1da5ba8bbe06fe35b916a851750ef9080 |
17-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include strings.h
ain/texenvprogram.c
nl/t_vp_build.c
|
2ec2e94e2e22dff7b2912fb87c6ffe12dcb301f7 |
17-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Check error return from _eglInitPbufferSurface() correctly
rivers/dri/fb/fb_egl.c
|
40c1c723fb77b0d9c1a1958498597403d2238ee7 |
17-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Compute stride in the right order
rivers/dri/fb/fb_egl.c
|
bf7f998f39852f5126ea455b1f48007f02d1ad11 |
17-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added software-based pbuffer support (untested). Use _eglConfigToContextModesRec() function and remove need for the _EGLConfig->glmode struct. Silence some compiler warnings.
rivers/dri/fb/fb_egl.c
|
e03b5cdf3fb4dafe565c06179124644e218e9cde |
17-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Make EGL_NO_MODE_MESA work.
rivers/dri/fb/fb_egl.c
|
d06da508880e9baee403b0d0046764b31087cdfd |
17-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix several internal problems with generating the list of configs.
rivers/dri/fb/fb_egl.c
|
c1082804a853233eee123c5b2408ba9b3faa7fd9 |
17-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Rearranged some code and added some comments to mgaAllocDmaLow. The modified code performs identically, but cuts 16KiB from the resulting mga_dri.so.
rivers/dri/mga/mgaioctl.h
|
ffd97d20aaa1cf7fa683d25deb0391f24ff14589 |
17-May-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Don't use _mesa_swizzle_ubyte_image if all three texture formats involved in _mesa_textore_argb/rgba8888 (source, base-internal, destination) differ. _mesa_swizzle_ubyte_image knows only about two of the formats and can't handle the case that all three are different correctly. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3111.
ain/texstore.c
|
3e8001a465ae67dbbbd1262115b71e7d4ef4c281 |
16-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Add error about write permission to fbdev attribs
rivers/dri/fb/fb_egl.c
|
af1a72997224610420b1105f967b0f5a8272858d |
16-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
another GLX / XCB patch (Jeremy Kolb)
lapi/glX_proto_send.py
|
cf4f3c5061423ab7241ea2a59d4949dbfb9a3278 |
16-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Deal better with indirection and indirection accounting, developed with Ben Skeggs.
ain/texenvprogram.c
|
4cf20d923627aa5f8fdce129b4259eef97f230c7 |
16-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Apply r200 tcl fix to radeon - compiles but untested.
rivers/dri/radeon/radeon_tcl.c
|
7bfe8df08aa53f04031f0812d3bd4164581df559 |
16-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
define M_E if needed
ain/imports.h
|
fdeda9c45831457ee0c30b80d5947d2d90006ed8 |
16-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove MESA suffix from _eglInitScreenSurface, use swAlpha value
rivers/dri/fb/fb_egl.c
|
efeea95dcc9094528dcce59abc475046835ecd6a |
15-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GetRow parameters (Nicolai Haehnle)
wrast/s_depth.c
|
45472672a2764e2ceaf499f586d7c337ddba731c |
15-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
A few egl patches needed for glitz, mainly config BITS
rivers/dri/fb/fb_egl.c
|
aca2e0da3cd1e394673913b2a02ab85396a368a2 |
14-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Make gleans polyoffset test happy.
rivers/dri/r300/r300_state.c
|
d5084d42d4b91b5f5c368673d95f729b5cbb590f |
14-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Dont assume GLbooleans are ones when true.
rivers/dri/r300/r300_state.c
|
578f63f2bfac3481eece30a484cb963a9f987a19 |
14-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Cleanup blend state generation. Do not set the NO_SEPARATE bit, as it causes problems with some combinations of blend functions.
rivers/dri/r300/r300_state.c
|
09f433b97cc8fa36452a49c3f062b9d9d0c33b9e |
14-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
The kernel doesn't like command buffers over 64KB, so we don't allocate buffers bigger than that.
rivers/dri/r300/r300_cmdbuf.c
|
9cf35d2876917ce79ee4f74ccc949549163244df |
14-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Remove dead span functions code.
rivers/dri/r300/radeon_span.c
|
11bd5c1ac41b08c35c773264fc85c69ec8411b5b |
14-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Fix span functions for stencil buffer access.
rivers/dri/r300/radeon_span.c
|
686e9b9f571cc9b6f2acd09be309af26f43890a3 |
14-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Don't print debug messages unless the user explicitly requested them using the RADEON_DEBUG environment variable.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
|
5cb977fedf525f4cdc7348bbb271f32288bdd662 |
14-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Forgot to add fb_egl.c
rivers/dri/fb/fb_egl.c
|
296428dcf49cee49ce525baa52628466afbb1fc6 |
13-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Make software fallbacks work again: We need to plug in swsetup functions into the TNL module's callbacks. Also, resize the framebuffer size when the drawable size changes.
rivers/dri/r300/r300_context.c
rivers/dri/r300/radeon_lock.c
|
ee83a1302fc54b82f496133d9bcc34426baa7acb |
13-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Remove quiescence sequence from r300ClearBuffer. The DRM is responsible for emitting this quiescence sequence when appropriate.
rivers/dri/r300/r300_ioctl.c
|
7012d01d888d482f2c6ad1180231a482026d213a |
13-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
First attempt at getting egl support up on dumb framebuffer. Seems to be mostly working. Not all of egl API is implemented.
rivers/dri/Makefile.template
rivers/dri/fb/Makefile
rivers/dri/fb/fb_dri.c
|
a6ed129dfc4ccfd898d347543f745f0b7745e31d |
13-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Patch from Jeff Smith: The type of vertex data is opaque in the emit_* functions, so use GLvoid* instead of char*. This also eliminates some compiler warnings.
rivers/dri/r300/r300_maos.c
|
733bc876eeb7bc09136651bffe74c70c35d714b4 |
13-May-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Patch from Jeff Smith: Fix a WARN_ONCE format string.
rivers/dri/r300/r300_texprog.c
|
64034c4fb5c56f63d37faa6f64f3183ca106856a |
13-May-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Remove MAX_VISUAL limitations of 100. If running dual head this can be easily consumed. There are no limitations now and the VisualTable is realloced when necessary.
rivers/x11/fakeglx.c
|
846eb333aee2eeece35a6ec2f8ac8b40e99c5fcd |
13-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Calculate render inputs for tcl stage correctly (hint: they aren't the same as tnl->render_inputs). Fixes recent tcl problems.
rivers/dri/r200/r200_tcl.c
|
c9a69a69689e0cc26fb4708f7f76ab632af88eca |
13-May-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove some unused structure fields, add some comments, and ifdef out some dead code. This is just some clean-up work which should not have any functional impact.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgapixel.c
|
269e3895d9837ac7303b91948f003ca5c12c0fe4 |
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
new MESA_DEBUG option: disassem
ain/debug.c
ain/mtypes.h
ain/texenvprogram.c
|
5c72837af9d3e358459c7f2e3ef9263c160d2a70 |
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Rein in debug slightly
ain/context.c
|
5f430c9976c71d7167f9327623e1df5fce53a970 |
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn disassem off (oops).
nl/t_vp_build.c
|
714be699be31352af0faef0d99d11b8c4364ef00 |
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add check for mask == NULL to the one routine missing it.
rivers/dri/common/depthtmp.h
|
10432bcc0a2c89916bc98921bcf01e0fbb422dc5 |
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
When lighting is enabled, but no lights are enabled, the scenecolor becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications.
nl/t_vp_build.c
|
69a2f7cdd53f022dcac541a0e03317e105a85494 |
12-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
fix warnings in r300_texstate.c (Jeff Smith)
rivers/dri/r300/r300_texstate.c
|
4e68f4c1faa67c072fefe040271edf2c3a334eb7 |
11-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
VBOs.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texprog.c
|
1e5772f0ba7300e19d1980c0e30e358e71c5c685 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't let FragmentProgram._Active influence choice of vertex vs pixel fog.
wrast/s_context.c
|
ac6728d2d9208c4e8147b1ebfde50efdf37a8428 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Previously in TXP and TEX instructions, lambda was passed to fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly.
wrast/s_nvfragprog.c
|
49d8cbe8d110e5c0a23300b5b82d110286bc3609 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use _mesa_memset rather than memset
nl/t_vp_build.c
|
9d148e6b2be33fe7ac72aaa3be239dc1bc8878a9 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't let FragmentProgram._Active influence choice of vertex vs pixel fog.
wrast/s_span.c
|
363d0bcf01b1e7b77c5a8d317bb0c6df8697a836 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Test for texcoord[3] == zero before dividing. Not so sure about this test - if texcoord[3] is zero, we'd probably be fine except for an ASSERT in IROUND_POS() which gets triggered by the inf values created.
wrast/s_nvfragprog.c
|
e490242b9aeb50bd96fed7a9afbf529295a8ac0e |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix glean/conform problems. Don't generate so much output when disassembling.
ain/texenvprogram.c
|
a5820159056fb9c3f5da6b3ae4570cd97b95835d |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix valgrind complaint, conform vertex order test.
wrast_setup/ss_tritmp.h
|
3509fd8c1b38d955a066a2bad429dbfba162fa30 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTemps rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
nl/t_vp_build.c
|
93cd9237d793e38ba4479d1367be7548853f67f4 |
11-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix logic for allocating texture temporaries (Ben Skeggs). Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
ain/texenvprogram.c
|
1243b829bb776478619c16cf140ecbd2efd68b0d |
11-May-2005 |
Adam Jackson <ajax@freedesktop.org> |
int -> size_t to fix compile on LP64.
hader/grammar.h
|
2fcaf7a529f1e8bbdfbea6c8d9d6703adf5f17ba |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Ensure programs don't overflow allocated instruction store.
nl/t_vp_build.c
|
a42fe19d8d16e082880900fb5376144696cb7304 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some valgrind complaints
hader/program.c
|
e57d5c47428313a846f587e02693fc4fb2e30dc6 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
fix some valgrind complaints
rivers/dri/i915/intel_ioctl.c
rivers/dri/intel/intel_screen.c
|
5a5b4436cb71575884f76bc079156f77e30d72a7 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Improved detection of program changes.
nl/t_vp_build.c
|
3ffe8731e6cc07692be5ba1114d080bd4383477c |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Double-buffer generated instructions and only notify driver when the generated program differs from the previous one.
ain/texenvprogram.c
|
c5f5055097e8fa23e8ba8bd39b0d9b747148c996 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some valgrind complaints
hader/program.c
nl/t_save_api.c
|
dbeea25bb834479a29712100888c862348112018 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Double-buffer generated instructions and only notify driver when the generated program differs from the previous one.
ain/texenvprogram.c
nl/t_vp_build.c
|
f29f2fc29464780eea6d877569cd5b7032266b88 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
reduce the use of malloc and strdup for parameter lists
hader/program.c
hader/program.h
|
ab81d1fd999b1696df4c733a86b651e4c38b9bcc |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
don't be fooled into emitting padding for wpos when not used
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_program.c
|
d9fdb6c2bb52b4909265f504287ee8e4bc2d919f |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Missing from previous commit
nl/t_vb_arbprogram.c
nl/t_vp_build.c
|
9eef0da109414228bfd2b2c6409bcb948694be0f |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Update for FragmentProgram._Active
nl/t_context.c
|
8b88f62fbd62153500fc3483003f438561366a00 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Better driver notification on changes.
ain/texenvprogram.c
|
948fa3b295d384592ebc9396413a38aba4edf4a6 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
get fog working with _TexEnvProgram
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
|
586f2c59fe80a31b6342805e6ffc39ca878b098d |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Temporary fix - delete and recreate texenvprogram so that drivers notice when it changes.
ain/texenvprogram.c
|
e3b0c19ec98cb97138e1d13d46fdb4a5449837f1 |
10-May-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
rivers/x11/descrip.mms
ain/descrip.mms
wrast/descrip.mms
|
9ca8815d3ba56ad718ba1c48c73aae3cdc0b8db0 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix texenv segfault. Reported by Ben Skeggs.
ain/texenvprogram.c
|
ecb6bfc0ce33b1daa84093dceeb58a4b741283e9 |
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Try not to use the same temp reg as a TXP destination more than once, as this also constitutes a texture indirection. Reported by Ben Skeggs.
ain/texenvprogram.c
|
fee163a61ac42e7ea00c8c7e708e0e879cc10ab0 |
10-May-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
pathetic attempt to accomodate new frambuffer changes (still some work to do)
rivers/glide/fxapi.c
|
0e26580c903a9b8b5952feeaac2e579a309ebf31 |
10-May-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodate new frambuffer changes
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
|
c8542705f712732d178d07da5ee1b7b25362db4b |
10-May-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
fix some typos in FX code
rivers/x11/xm_api.c
|
435eff8b852f59e13554a57f83a48bf8035ec794 |
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
i915 will use _TexEnvProgram (if active)
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_tris.c
|
276330b2412910777f7016f427909085f02acbb8 |
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use driver functions to create TexEnvProgram, TnlProgram
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
|
ff6723e3264df15d443a0d6af8baafbab141089c |
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
check for null DrawBuffer values
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_state.c
|
1180fc13db5fba0a3ec95630f520128f628c58ac |
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fallback (rather than fail) on unknown program targets.
rivers/dri/i915/i915_fragprog.c
|
5c6aec2f39e1c3bbb218ad19b5b475028125105a |
08-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
dri fb works using renderbuffers now in RGBA mode
rivers/dri/fb/fb_dri.c
wrast/s_buffers.c
|
86300c694501a8b2ca7c4a03f74e68af24586010 |
07-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
fbdri can draw double buffered now. Next step is to convert it to use RenderBuffers.
rivers/dri/fb/fb_dri.c
|
fc3bc1ae14e7aa769fe01c007a1d68f2ff6db7b8 |
07-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some dead code
rivers/osmesa/osmesa.c
|
2eb147e7f5754a97cb1a5617db7d529754cfe002 |
07-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Patches for XCB (Jeremy Kolb)
lapi/glX_proto_send.py
|
6f3d16c64aee2ef0eb94aa0e4ab1ce53fd4a5579 |
07-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted warning clean-ups for x86_64, etc (Mikko T.)
ain/texcompress_fxt1.c
|
42fa81275c67d7d1ad8d255120af0ffeeb46b963 |
07-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
x86-64 transform optimizations (Mikko T.)
akefile
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_xform.c
ources
86-64/Makefile
86-64/calling_convention.txt
86-64/matypes.h
86-64/x86-64.c
86-64/x86-64.h
86-64/xform4.S
86/assyntax.h
86/gen_matypes.c
86/glapi_x86.S
|
883d20791ae08a81ff8c2da7a26474aa70a4c792 |
06-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix cpp / bytesPerPixel problem (bug 1196554)
rivers/dri/unichrome/via_screen.c
|
b1d0ac64ab2e8285fd8a1f6b52f86a967162ae35 |
06-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove bad assertion, added new ones in clear_pixmap()
rivers/x11/xm_dd.c
|
c64573997c4cfb13de5d82f6f83040b206bf6fd0 |
06-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
restore call to SetBuffer() in clear_color_buffers(), only temporary
wrast/s_buffers.c
|
e133984f517f2273236ca8b22c2a94276c950c55 |
06-May-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Updated for EXT_framebuffer_object changes. I don't know if this is correct, but it seems to work
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_span.h
|
bd8162aaac225fdbdc228c4419d08fa3751b9af6 |
06-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix problem generating mode db. Miniglxtest works now. Miniglxsample is still broken with double buffering issues.
rivers/dri/fb/fb_dri.c
|
4a55d4ffa704956c8eed5a78aea847e7de06d5c3 |
06-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Missing setups that cause all kinds of problems with hw tnl.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
6258b76c49f49a56a7c713914b798e80c6553b06 |
05-May-2005 |
Karl Schultz <kschultz@freedesktop.org> |
Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
ain/api_arrayelt.c
ain/bufferobj.c
ain/extensions.c
ain/glheader.h
ain/imports.c
ain/imports.h
ain/texstore.c
ath/m_translate.c
hader/arbprogparse.c
hader/arbprogram.c
hader/grammar.h
hader/grammar_mesa.c
hader/nvfragparse.c
hader/nvprogram.c
hader/nvvertparse.c
|
203dcb733d36cc91107554b0d323ed8ccef6e105 |
05-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix for renderbuffer (Andreas Stenglein)
rivers/dri/common/spantmp2.h
|
bd1d9d96b2c52948a4178e3bcbba2af251252890 |
05-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some test code
rivers/x11/fakeglx.c
|
1c39d183c4c14ffd86c4de74e07074616b4f75b3 |
05-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Getting rusty... 4278 was already there.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
fd4f7064e24654c89248be6d76f39c7baf22fce4 |
05-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Fix up origin in dri/fb driver Calculated fbBPP
rivers/dri/common/dri_util.c
rivers/dri/fb/fb_dri.c
|
db46e2a7ddc91ee1322897d68a2ae97912f28ed3 |
05-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Flat shading and bunch of clarifications to r300_reg.h .
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
|
e7769cb34898ca20adb5b0e329161e6321403fc9 |
05-May-2005 |
Adam Jackson <ajax@freedesktop.org> |
Refactor COMMON_SOURCES up to Makefile.template
rivers/dri/Makefile.template
rivers/dri/fb/Makefile
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/i915/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/s3v/Makefile
rivers/dri/savage/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/trident/Makefile
rivers/dri/unichrome/Makefile
|
d83c4e6dd164e97fbcce4c6ee5cc06e4338d24d4 |
05-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Minor touchups to fbdev renderbuffer support
rivers/dri/fb/Makefile
rivers/dri/fb/fb_dri.c
|
73e8ffe9f36da6b857341a44cfdb94d957d50f31 |
05-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Pack tex coord regs at vertex program backend.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
286c4cc201390e868c4f9b5ebe14c40db2d74a5d |
05-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
more updates for users of s_spantemp.h
rivers/dri/fb/fb_dri.c
rivers/osmesa/osmesa.c
wrast/s_spantemp.h
|
b3e878ad900b9ab9d417fb31175a116c9dc1edc8 |
05-May-2005 |
Adam Jackson <ajax@freedesktop.org> |
Add drirenderbuffer.c to COMMON_SOURCES
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/i915/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/s3v/Makefile
rivers/dri/savage/Makefile
rivers/dri/sis/Makefile
rivers/dri/trident/Makefile
rivers/dri/unichrome/Makefile
|
eae0439ae6027ba64fba49fe13360d105700905f |
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix s_spantemp.h includes
rivers/osmesa/osmesa.c
|
79c0bb5264dd1f036b354c8eb4dc463594dd4150 |
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
FBO changes
rivers/x11/xm_span.c
wrast/s_spantemp.h
|
41a93f544e5e1df8cf4bd46cfa3ed4c17bb473f4 |
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix xm_span2.c reference
ources
|
e4b2356c07d31fbeeabb13b2fb47db703b473080 |
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Major check-in of changes for GL_EXT_framebuffer_object extension. Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
rivers/common/driverfuncs.c
rivers/dos/dmesa.c
rivers/dri/common/depthtmp.h
rivers/dri/common/drirenderbuffer.c
rivers/dri/common/drirenderbuffer.h
rivers/dri/common/spantmp.h
rivers/dri/common/spantmp2.h
rivers/dri/common/stenciltmp.h
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_ioctl.c
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_span.c
rivers/dri/i830/i830_span.h
rivers/dri/i830/i830_state.c
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_span.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state.c
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_dd.c
rivers/dri/s3v/s3v_screen.h
rivers/dri/s3v/s3v_span.c
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagedd.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_context.h
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/fbdev/glfbdev.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa8.c
rivers/x11/fakeglx.c
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xm_buffer.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ain/accum.c
ain/attrib.c
ain/blend.c
ain/bufferobj.c
ain/buffers.c
ain/buffers.h
ain/config.h
ain/context.c
ain/context.h
ain/dd.h
ain/depth.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/fbobject.c
ain/fbobject.h
ain/framebuffer.c
ain/framebuffer.h
ain/get.c
ain/get_gen.py
ain/matrix.c
ain/mtypes.h
ain/pixel.c
ain/polygon.c
ain/rastpos.c
ain/renderbuffer.c
ain/renderbuffer.h
ain/state.c
ain/texformat.c
ain/texformat_tmp.h
ain/texrender.c
ain/texrender.h
ain/texstore.c
ources
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_auxbuffer.c
wrast/s_auxbuffer.h
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_imaging.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_nvfragprog.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_spantemp.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_tritmp.h
nl_dd/t_dd_tritmp.h
|
f5581bb9943c4b711ce5e7bea4979adacd9b85d8 |
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't call XTranslateCoordinates() if rendering to pixmap
rivers/x11/xm_span.c
|
47b29f511a8e917c65536fde90397d54d2ad23d3 |
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a facility to route all rasterization through a fragment program which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
ain/context.c
ain/mtypes.h
ain/state.c
ain/texenvprogram.c
ain/texenvprogram.h
ources
wrast/s_aalinetemp.h
wrast/s_context.c
wrast/s_fragprog_to_c.c
wrast/s_nvfragprog.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_triangle.c
nl/t_vp_build.c
|
c3f764f7bb5a0571ddb0bc8b37aff9d663188d79 |
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Sort instructions for clarity.
hader/nvfragprog.h
|
3151b27b0a10c46d25f1c97169f7a2543d869ce0 |
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Include negate information in disassembly output.
hader/arbvertparse.c
|
209b090241d2b4e7bf557e34f7417c847b23f596 |
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Mark unused registers as undefined so dissassemblers can recognized them easily.
hader/arbprogparse.c
|
d8f9599403bb1b1ec433b071141db62e47599b9e |
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Improve the quality of the disassembly output for fragment programs.
hader/arbfragparse.c
|
c6e1569b7f1f7004a3cb458ae60babde47ca3e1d |
04-May-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS compile update Modified Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
hader/slang/descrip.mms
|
82761cb08bc3c1883d15c95bd363725d79e3863c |
04-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
DRI fbdev driver getting better. Now I can see something on the screen but it isn't the right something yet.
rivers/dri/fb/fb_dri.c
|
884b5ade869de84a80ae6625458f8cc7afba9081 |
03-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Import all texture coordinate arrays. Import them only once.
nl/t_array_import.c
|
138b7ef4d97734aea56d86c3d9add15dfa841dcf |
02-May-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add support to external tnl switcher and disable hw tnl by default.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_vertexprog.c
|
3a934557bf695febc4710875764964f0dd4b18d4 |
01-May-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Bumped the Savage driver date (a bit late) to mark S3TC support.
rivers/dri/savage/savagedd.c
|
5f0bf772557e3c62a77c686667d61aa26afd14e5 |
01-May-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed and cleaned up programming of watermark registers. There may be a marginal speedup, but I'm not sure this has the same effect on all hardware. Tested on Savage IX and ProSavageDDR. For experimenting with different values see the macros at the start of savagestate.c.
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
|
8af7ff1ded97af2f1d34b740cbbb2cf7f6d51603 |
01-May-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Improve the DRI fb driver, now it compiles. Added code to support NEW_INTERFACE. It still doesn't work. Made it build from make linux-solo.
rivers/dri/fb/Makefile
rivers/dri/fb/fb_dri.c
|
1c54579e8687feee98a439b65c41d06f26804492 |
30-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and regenerate get.c
ain/get.c
ain/get_gen.py
|
7d33053e47c8e70a1530d810babab6294ae19782 |
30-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
r300 side support for fixed function pipeline. This isnt functional with current Mesa.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texprog.c
rivers/dri/r300/r300_vertexprog.c
|
47d18cbb6457316896524eb383f864d0ac0d638d |
30-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed bogus ENUM_TO_BOOLEAN in _mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
ain/get.c
|
f1d053b19ad3839fb9d1d39350336f4420da255f |
30-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added S3TC support to the Savage driver with some help from Mark Cass's S3TC support for an older driver version. On Savage3D/IX/MX GL_EXT_texture_compression_s3tc can't be enabled because DXT3 and DXT5 are not supported. However GL_S3_s3tc is enabled on all Savage chips. Tested on a Savage IX and a ProSavageDDR
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetex.c
|
5f534aa1e2c53360bb1ae42fb196e41aa29d0d3d |
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.
nl/t_vp_build.c
|
e9e20fc47d0cf80caa585c814c12160883f49a7d |
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add DISASSEM define, similar to other program generator files.
nl/t_vb_arbprogram.c
|
5c81a4b9cd621d6685d8cf41818484e157bb8f47 |
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Put back not-so-redundant #ifdef.
rivers/fbdev/glfbdev.c
|
a6ebcdfe7d577073212e1b2b4889a63cd98802c4 |
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove redundant #ifdef, fix compiler warning
rivers/fbdev/glfbdev.c
|
15e75e00c7dc79c28aeac84891bcf18ffc77cff9 |
29-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Maintain a fragment program for current texturing state.
ain/texenvprogram.c
|
d59054e60bd98f42f41f53f96c782b0dc713f13c |
28-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't trashed by color index updates
nl/t_vtx_api.c
|
5cef1a1fedc583a5860f260d53b9b188a05f1e16 |
28-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Stop gcc-4.0 complaining about "type qualifiers ignored on function return type".
lapi/glapi.c
|
545515cbea96d1653f1953b57fc813417ca46efc |
28-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Stop gcc-4.0 complaining about "type qualifiers ignored on function return type".
lapi/glapi.h
|
97e1e60b1c83f2c797409776022e4803dc8b0135 |
27-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move set_component_sizes() to fix bug 3135
ain/colortab.c
|
55d8dd4078e58e6d2fe2c513861ff06b6bc114fc |
26-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak previous fog/fragment program fix
nl/t_context.c
|
d09df24082d69e534470f9a5f667b30c34ae6d74 |
26-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added interpolate_fog()
wrast/s_span.c
|
c03b6f40baae1d11deaa9d1c7951ec8b5f80be81 |
26-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable fog render input if fragment program fog option set
nl/t_context.c
|
c039af165d5919008c6df599795951f85dea164d |
26-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments and minor clean-up
ain/texstore.c
|
c3259fa436cb512bd3c3a446252c8e11a3aec432 |
25-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix as suggested by Ben Skeggs.
rivers/dri/r300/r300_texprog.c
|
b83aadb0e4cc61638ead165af25b954e5e070d07 |
25-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Ensure all VB->AttribPtr[] are populated. Reported by Aapo Tahkola
nl/t_array_import.c
|
576caad33e2db8f6950a33848e05cf3d42e2d918 |
25-Apr-2005 |
Jon Smirl <jonsmirl@gmail.com> |
Minor changes to make linux-solo build again
rivers/dri/common/mmio.h
|
cbc8d7596a9939dcbaa2a1a2aaa65d7fc9d70127 |
24-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Software fallback for glColorMask. Can be avoided on Savage4 when all channels are masked (disable draw update). Bumped driver date to reflect recent correctness fixes. The driver now passes all glean tests except exactRGBA on both Savage4 and Savage3D-based cards.
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagestate.c
|
6ffd0a4cf1aae2b5ea0fd683a2d7607e59cd3f68 |
24-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Modifying to build against current Mesa. Disabled r200*.c files since they didnt want to build anymore.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_screen.c
|
5c906924ed6ee664ba61764dd21bee36dce06d02 |
23-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed a segfault introduced by Keith's pipeline changes.
rivers/dri/savage/savagerender.c
|
9b4536a654774e3df330e9f238475aa20e30f7a3 |
23-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Texturing fixes for Savage3D/MX/IX: - force emitting texAddr when the texture image changed (flush caches) - set transparent texture color key to something improbable (couldn't find a way to disable it completely) - fixed texture environment modes GL_DECAL and GL_REPLACE - made texture environment mode GL_BLEND a software fallback - added two custom texture formats for promoting from GL_ALPHA to ARGB8888 and 4444. Since the hardware can't be made to ignore the RGB color components, set them to 1 instead of 0. This gives the correct results - disabled GL_EXT_texture_env_add on Savage3D/MX/IX - map both GL_CLAMP and GL_CLAMP_TO_EDGE to hardware mode "wrap". It doesn't match either mode exactly by the spec, so we should either fall back on both or none. I chose the latter. - fall back to software when s and t wrapping modes differ (hardware has only one bit for both)
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
|
df943a40411d2b71381e5053d7c59e8cd2400fff |
23-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix the worst problems with dangling edgeflag references in display lists. These mainly arise from edgeflag being the only attribute no longer stored internally as a float and requiring various special case paths to accomodate it.
nl/t_context.h
nl/t_save_api.c
nl/t_vtx_api.c
|
0d4af83f252d51f504b7df59a9fab7f83672b9ba |
23-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Updates for pipeline_stage struct changes.
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
|
bf87f864934e174b3493592d5d107f012aac0842 |
23-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
First pass at updating these drivers with pipeline_stage struct changes.
rivers/dri/gamma/gamma_render.c
rivers/dri/i810/i810render.c
rivers/dri/i830/i830_render.c
rivers/dri/i915/intel_render.c
rivers/dri/mga/mgarender.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/s3v/s3v_render.c
rivers/dri/savage/savagerender.c
rivers/dri/unichrome/via_render.c
|
963586b871e77d8bc34c2a02500f8f5313825fd4 |
22-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added a French translation of option descriptions by Stephane Marchesin.
rivers/dri/common/xmlpool/Makefile
rivers/dri/common/xmlpool/fr.po
rivers/dri/common/xmlpool/options.h
|
a661654a33ba38990719ac9f5aea2910a5d5bf77 |
22-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Move the call to _tnl_UpdateFixedFunctionProgram to make it easier for hardware drivers to test this out.
nl/t_pipeline.c
nl/t_vb_arbprogram.c
|
6f973f33679e034b7cb63806f1ddfabdbdd70123 |
22-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify the pipeline_stage structure - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
ain/mtypes.h
ources
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_save_playback.c
nl/t_vb_arbprogram.c
nl/t_vb_cull.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vp_build.c
nl/t_vp_build.h
nl/t_vtx_exec.c
|
6a13c7da4c79f7e811fbddc68f59441070ff0cc8 |
22-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
ain/config.h
|
addcc6afbd5a94bf0c35ad04e914503056d0e994 |
22-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
Add more error checking.
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
19fb77ee7b02782b383f5ffe30854d0b36dc845e |
22-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
Cosmetic changes.
hader/slang/slang_preprocess.c
|
b10d080b1e1f64c2663dde5532b7bcae4fa75325 |
22-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
Move some utility functions to slang_utility.c.
hader/slang/slang_compile.c
hader/slang/slang_utility.c
hader/slang/slang_utility.h
ources
|
3ed1f07686d33abae54f6599260aa4e77354f901 |
22-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
Provide precompiled binary versions of built-in library .gc sources to dramatically improve shader compiling performance.
hader/slang/library/slang_common_builtin_gc_bin.h
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
hader/slang/library/slang_core_gc_bin.h
hader/slang/library/slang_fragment_builtin_gc_bin.h
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin_gc_bin.h
|
2cbbd3dc50eb3656cfabbd948a594e03c8134943 |
22-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
undef DEPTH_TYPE at end
wrast/s_tritemp.h
|
a7fcac5e9252101610b3b48a019a36527096ca9b |
21-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed some suspicious pointer casts that caused lots of compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good thing in general, so I'm giving up waiting for feedback. See also https://bugs.freedesktop.org/show_bug.cgi?id=2924.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
|
07d91bbb59e42abb9c5c6d84c850d004db1d964c |
21-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. Disabled the use of hardware texture format I8 as it produces garbage at least on ProSavageDDR.
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagetex.c
|
b3474de7b50fc2a3e3531f4343e47e8aea50736d |
21-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Adding some comments.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_vertexprog.c
|
7c26b61f9366a397e353d7b7f1f1d1f6d0dcd0c7 |
21-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Reduce the size of mesa's internal fragment and vertex program representations by switching to packed structures for registers and instructions.
rivers/dri/i915/i915_fragprog.c
ain/mtypes.h
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbvertparse.c
hader/arbvertparse.h
hader/grammar.c
hader/nvfragparse.c
hader/nvfragprog.h
hader/nvvertexec.c
hader/nvvertparse.c
hader/nvvertprog.h
hader/program.c
hader/program.h
wrast/s_nvfragprog.c
|
88b69d799800bfec061943204de1627989f42fad |
21-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_pow() for LIT (bug 3087)
hader/nvvertexec.c
|
f069e5e412eebabe64286d35598173caac5c132e |
21-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Facility to construct a vertex program which executes the current fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.
nl/t_vp_build.c
|
0ff98b03c6a54db609c82620d6093dbd24cdaec3 |
21-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
New software implementation of ARB_vertex_program. Similar in speed to existing version, but with the potential for good improvements.
nl/t_vb_arbprogram.c
|
70375aff48292fe0ee78c4a93758166b1324c020 |
21-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.
rivers/dri/r300/r300_vertexprog.c
|
52bf0054258a2b5220e2f93a2f366954a70b6f82 |
21-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix state.light[n].spot.direction.w value (bug 3083)
hader/program.c
|
8d51bbf2a3b4bac379855c84ebeed86c3578d0c6 |
20-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up buffer creation code
rivers/x11/xm_api.c
|
fc8f2021815b692b0e2b8d3e879edee0db538a11 |
19-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Reorganized shader stuff.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_shader.c
rivers/dri/r300/r300_vertexprog.c
|
c4e1fd5a7f429c4ba3a10ace3346e2e40cf20361 |
19-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fixes for bugs that were nailed down when compairing against software vertex shading.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_vertexprog.c
rivers/dri/r300/vertex_shader.h
|
f8ed0aa26804558cb732f6ea41fe0ebe3da91efe |
19-Apr-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fixing and enabling elt buffers by default.
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
d03ab104db0b9ebacb4265787d4c924fc721fcda |
18-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
If the file name passed to parse_GL_API is None or "-", read from standard input. This allows use of GL API scripts in pipelines.
lapi/gl_XML.py
|
93d2d54e7a11cf1a01c976ede37db2320ccc2dff |
18-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Refactor a bunch of common code from the "leaf" scripts to a new functions, parse_GL_API, in gl_XML.py.
lapi/glX_XML.py
lapi/glX_doc.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_enums.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
lapi/gl_x86_asm.py
|
8ea22650bd2f791f72b9b2970b88236d59234d61 |
18-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Fill-in function offsets and correct a couple typos.
lapi/EXT_framebuffer_object.xml
|
2510ba618d8b48819098b062fb30fec7b19c75ff |
18-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Convert all Python scripts to use XML namespaces.
lapi/glX_XML.py
lapi/glX_doc.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_SPARC_asm.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_enums.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
lapi/gl_x86_asm.py
|
b7142567bc6badc952c1dac9b1b095c4517b2492 |
18-Apr-2005 |
Peter Zubaj <pzubaj@gaya.sk> |
Alpha test fix
rivers/dri/r300/r300_state.c
|
61f08d8094cebffd18e47eb684bb6bcd54d17189 |
18-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Move the DTD to its own file.
lapi/gl_API.dtd
lapi/gl_API.xml
|
f905145b6087fca66368bfff5c62788a626f1298 |
18-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments and clean-up
rivers/x11/xm_dd.c
|
b52673117b87d679def52d82085c8ad26a9a7556 |
18-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/NORMAL/FOG/ (J.P. Delport)
ain/api_noop.c
|
49b1d95c1cae4547199eeb7f7a045edb16611474 |
18-Apr-2005 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Updates for OpenVMS : New makefiles added some type-casts Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/program.c Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_preprocess.c Added Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
hader/descrip.mms
hader/program.c
hader/slang/descrip.mms
hader/slang/slang_compile.c
hader/slang/slang_preprocess.c
|
e9a3d8a7726823efae8ed27f7f669e96a445950a |
16-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SLANG_SOURCES to SOLO_C_SOURCES
akefile
|
635ee2df37898fe408be565d189c2fb4dc5f61b1 |
15-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_share_state()
ain/context.c
ain/context.h
|
509710cfd7c45a21bf03c3746d78c0f155b8418b |
15-Apr-2005 |
Ben Crossman <bencrossman@freedesktop.org> |
more gldirect compile fixes. Getting near the linking stage now. No build file yet.
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dglwgl.c
rivers/windows/gldirect/dll_main.c
rivers/windows/gldirect/dllmain.h
rivers/windows/gldirect/dx7/gld_texture_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx7/gld_wgl_dx7.c
rivers/windows/gldirect/dx8/gld_texture_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx8/gld_wgl_dx8.c
rivers/windows/gldirect/dx9/gld_texture_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/dx9/gld_wgl_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
|
efb41b07ff213735e8ea08f38a7799f9d80459fc |
15-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove carriage returns
ain/config.h
ain/get.c
ain/mtypes.h
hader/slang/library/slang_shader_syn.h
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
78803b2667c1dfe1dc47e09b61a4c29303e09d0b |
15-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec: The "w" component of the program parameter variable is filled with the alpha component of the front diffuse material color. Make sure matrix inverses are uptodate also.
hader/program.c
|
a131d50fb76cfa4c129c2a9d6ec2a0c83d51b85a |
15-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
add shader/slang/slang_preprocess.c
ources
|
e3a846b0e32920f8c7750a77d263e5c5fd87b0b9 |
15-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
implement info log; parse #version directive
hader/shaderobjects_3dlabs.c
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
65ce50897eb8d7547e4ef1cc1edf82a03e4a697d |
15-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
slang preprocessor
hader/slang/slang_preprocess.c
hader/slang/slang_preprocess.h
|
885566448995ec186ffe65bb336bf8c5516c0f19 |
15-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
slang #version directive syntax
hader/slang/library/slang_version.syn
hader/slang/library/slang_version_syn.h
|
35725a92be64ecb2b5fd7ced66b585b496e50a54 |
15-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
change __asm statement semantics
hader/slang/library/gc_to_string.py
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
d8aa5ffed5986587e5b93ca802c79d28be68aa8d |
15-Apr-2005 |
Ben Crossman <bencrossman@freedesktop.org> |
Reverted the last change back to fix bug 3035
lapi/glapi.c
nl/t_context.c
|
067e788acd80b5bb276aa0c1c6d7a67b234990da |
15-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute. The main difference is that white-space is used to separate the names instead of comas.
lapi/gl_API.xml
lapi/gl_XML.py
|
73b4c1b3885bacb3a0ec5be645dbfbbefb99b658 |
15-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Refactor the handling of the '(true | false)' enumerated attributes.
lapi/glX_XML.py
lapi/gl_XML.py
|
a3deff2404403fb75089c731d4189dd59ced21c0 |
15-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Modify the DTD to use NMTOKEN, enumerants, and explicit default values wherever possible. Correct a couple mis-uses of the 'counter' attribute when 'count' was intended. Fix some errors in the DTD and in the data with 'doubles_in_order'.
lapi/gl_API.xml
|
6cae4f3bc9b92f9bbda753843e8ff0f0bbbb8fb3 |
14-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of the variable. Without this, GET_CURRENT_CONTEXT would *always* result in a call to _glapi_get_context (because _glapi_Context is a const pointer to NULL in TLS builds).
lapi/glapi.h
lapi/glthread.h
ain/context.h
|
369404299c6e23ee0cc4b572c95e5533314064d7 |
14-Apr-2005 |
Ben Crossman <bencrossman@freedesktop.org> |
A few getenv() that werent using the mesa wrapper version
lapi/glapi.c
ain/imports.c
nl/t_context.c
|
b2b01a60dbba4ebd130898509c14ca80a847a679 |
14-Apr-2005 |
Ben Crossman <bencrossman@freedesktop.org> |
Some initial compile fixes. Still some left and warnings that need fixing. No where near runnable yet.
rivers/windows/gldirect/dglpf.c
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_ext_dx7.c
rivers/windows/gldirect/dx7/gld_pipeline_dx7.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx7/gld_texture_dx7.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_ext_dx8.c
rivers/windows/gldirect/dx8/gld_pipeline_dx8.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx8/gld_texture_dx8.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_ext_dx9.c
rivers/windows/gldirect/dx9/gld_pipeline_dx9.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/dx9/gld_texture_dx9.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
|
60e2810ae45b358699e6db0ddc95e0a4c1f45338 |
14-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Disable CLOD (Lod constant) state emit. The values emitted were possibly negative, hence clobbering the leading register-id byte. Fixed the calculation of the values to prevent negative numbers being emitted, but the code still doesn't implement texture LOD bias correctly, so leave it disabled overall.
rivers/dri/unichrome/via_state.c
|
99b329ca13f92bc723c3e67d35a974adac235323 |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
hook to _slang_compile()
hader/shaderobjects_3dlabs.c
|
ed5f790919da3ca982a0c3d2f0c705093ed6163f |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
cosmetic changes
ain/state.c
|
8c01903114c770e735b66e343302d9d9f122d22e |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
ARB_fragment_shader state
ain/hint.c
|
6372ea0da03a4d5fcfaa5b59032d0299bd7ef965 |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
ARB_fragment/vertex_shader state
ain/get.c
ain/get_gen.py
|
2a37053fd5591eeb21db33aa8f6ee444da1eee7a |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
ARB_shading_language_100 bit; Fragment shader derivative hint
ain/mtypes.h
|
1e8fc5ffea10f01ae7dffefbe4d44c39e39aab43 |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
add GL_ARB_shading_language_100; reorder GL_ARB_shader_objects and GL_ARB_fragment/vertex_shader stuff
ain/extensions.c
|
5c968cbc5e1d355a362018defde7ebe926dd1f65 |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
add FEATURE_ARB_shading_language_100; remove FEATURE_shading_language; add ARB_fragment/vertex_shader max values
ain/config.h
|
98e35025ba22261bb82b9a6fce72c68179e52b57 |
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
do not use isdigit() - can cause link errors
hader/arbprogparse.c
|
25fe93f0a11e6f4c8d470441ff91b9cddf7b3023 |
13-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Add TLS support to libGL and, by virtue of using glthread.h and GL_CALL, all DRI drivers. A TLS enabled libGL can load a TLS or a non-TLS DRI driver, but a TLS DRI driver requires a TLS enabled libGL. This fixes bug #1822.
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapi.h
lapi/glthread.h
86/glapi_x86.S
|
c604e457d1ebe9a884b0a1fb08af38a0ce486699 |
13-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Revert revision 1.13. This allows server-side libGLcore (in X.org) to build with Mesa CVS. This change was wrong in the first place, and the issue that necessitated it has been resolved. For more background on the problem see: http://marc.theaimsgroup.com/?l=mesa3d-dev&m=111333880529935&w=2
rivers/dri/common/dri_util.c
|
9a5ba4794c87c5798f7e8cddb641f42b0e5c4b13 |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
add SLANG_SOURCES
ources
|
fa2802d4d0b563c5bb9463d5882046e3fda6265a |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
clean-up stuff
hader/shaderobjects_3dlabs.c
|
0e7836b500a8ec1e8dd8714204d69314d95b91b7 |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
simple front-end compiler
hader/slang/slang_compile.c
hader/slang/slang_compile.h
|
d3ea221d3ea12d4d42049db22fa9502d57c55070 |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
add __fixed_input and __fixed_output qualifier support; fix for_init_statement output;
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
|
2f951683be5766b7b9537cbb691f662cd1f49b16 |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
cosmetic changes; add __fixed_input and __fixed_output qualifiers for built-in variables;
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_fragment_builtin_gc.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang/library/slang_vertex_builtin_gc.h
|
5a382001224df9aad6137c825fbfc2d058b220b1 |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
cosmetic changes; fix syntax errors;
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_common_builtin_gc.h
|
f18d70b80493bf795e901424231b0e157251e0ad |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
cosmetic changes; change first parameter's qualifier from inout to out for __operator =; remove __asm instructions: int_add, int_multiply, int_divide, int_negate, int_less, int_equal, bool_equal;
hader/slang/library/gc_to_string.py
hader/slang/library/slang_core.gc
hader/slang/library/slang_core_gc.h
|
cfcf86b37dbba0799cc143219f8f2c6bb5a8896a |
13-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
converts a .gc file to a C header containing string form of the file
hader/slang/library/gc_to_string.py
|
0ad2ef20a79a317c6648326b7c0bf109703a84c1 |
12-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added a Spanish translation by David Rubio Miguélezand a Dutch translation by Manfred Stienstra.
rivers/dri/common/xmlpool/Makefile
rivers/dri/common/xmlpool/es.po
rivers/dri/common/xmlpool/nl.po
rivers/dri/common/xmlpool/options.h
|
ad0dbe6b04f5d6d580a0a5dfe2018027f986acbd |
12-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Changed escaping of double quotes.
rivers/dri/common/xmlpool/gen_xmlpool.py
|
41bddcfa7bbc65bcd2fc60ada9761d3065e71388 |
12-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
PF_8A8R8G8B pixel format (Dave Reveman)
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
55ba0dccc92797a0411ce315328100e28f6343b7 |
11-Apr-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Manage option translations in separate .po files to make translations easier for non-programmers familiar with GNU gettext. For now there is only a German translation but more translations are encouraged. Translatable strings are extracted from t_options.h containing option definitions with English descriptions. A corresponding header options.h with all available translations of option descriptions is generated by gen_xmlpool.py and included by xmlpool.h. Many option descriptions were rephrased to make them unambiguous for translation without context. They are hopefully more helpful to users at the same time.
rivers/dri/common/xmlpool.h
rivers/dri/common/xmlpool/Makefile
rivers/dri/common/xmlpool/de.po
rivers/dri/common/xmlpool/gen_xmlpool.py
rivers/dri/common/xmlpool/options.h
rivers/dri/common/xmlpool/t_options.h
|
aaa5a664331600139347039419cd5c8d9493b8aa |
10-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
set table size to 1023 and use new HASH_FUNC() macro
ain/hash.c
|
5f92c38f0efddf575466381a2ab47046255b29f1 |
09-Apr-2005 |
Adam Jackson <ajax@freedesktop.org> |
Bug #2945: Fix math error that left half the hash buckets empty.
ain/hash.c
|
db382c5b1d3357cc9add8a55306ce702a5df0e5e |
09-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove all the radeon_subset files. They were completely unused. Keith Whitwell says, "[T]he radeon subset code can probably be archived now." This "fixes" bug #1623.
rivers/dri/radeon/radeon_subset.h
rivers/dri/radeon/radeon_subset_bitmap.c
rivers/dri/radeon/radeon_subset_readpix.c
rivers/dri/radeon/radeon_subset_select.c
rivers/dri/radeon/radeon_subset_tex.c
rivers/dri/radeon/radeon_subset_vtx.c
|
a657c1aee85b7a2466d8608d8f3d44ebd015e476 |
08-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Use the same dispatch.c source file for "normal" Mesa builds and DRI libGL builds.
ain/dispatch.c
|
d9c389dff6836ea0e3b79f3682378f6998875399 |
07-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add shaderobjects_3dlabs.c back into build but use #ifdef FEATURE_shading_language to enable/disable relevant code.
hader/shaderobjects.c
hader/shaderobjects_3dlabs.c
ources
|
481bdd383ac309cda8e471215b8fd3d6b5fa8cad |
07-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix Fake_glXChooseFBConfig so passing NULL attribList causes a list of all fbconfigs to be returned.
rivers/x11/fakeglx.c
|
bfc8a8dc6324f5e984566208bd0a1fa472102917 |
06-Apr-2005 |
Ian Romanick <idr@us.ibm.com> |
Make linux-dri-x86-64 more like linux-dri-x86. Add ARCH_FLAGS. This is where things like "-m64" or "-m32" should be specified. Using this, a 32-bit DRI build can be done on an x86-64 system by doing 'ARCH_CFLAGS=-m32 make linux-dri-x86'. Minor tweaks to linux-dri to support these changes.
rivers/dri/Makefile.template
|
5234d17514d88ad4e32bbe256aed31583df92c9b |
05-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't call PrimitiveNotify with an invalid primitive. Fix ipers wireframe mode.
rivers/dri/unichrome/via_tris.c
|
a92100a3c6f13597b9f9c47987d232dadd4ebe93 |
04-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated warning string to match patch in bug report 2868
rivers/x11/xm_api.c
|
fe1230f1c88fbe2e756f159625988ec3c66be2e6 |
01-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use FEATURE_shading_language to control whether the shading language compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
ain/config.h
hader/shaderobjects.c
|
26772ac988ee0f125da6b7bb15990bbf40d5f944 |
30-Mar-2005 |
Adam Jackson <ajax@freedesktop.org> |
Disable _mesa_3dlabs_create_{program,shader}_object references.
hader/shaderobjects.c
|
425569bbc530992560aa5a5955d4dd73eeaf85dd |
29-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Disable C++ shading language code yet again. Doesn't compile with older g++ installations.
hader/shaderobjects.c
ources
|
93b52d9484c9b4221aeeb53799e395f3ad9cd62e |
29-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-enable shading language sources
ources
|
1706ba410187688b6d419171f39c140c5b549ad7 |
29-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-enable _mesa_init_shaderobjects_3dlabs() call
hader/shaderobjects.c
|
9a54843a94801a2253a05e2b4b93fbaf09b59e96 |
29-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a variety of warnings/errors
hader/slang/Include/Common.h
hader/slang/Include/PoolAlloc.h
hader/slang/Include/ShHandle.h
hader/slang/Include/Types.h
hader/slang/MachineIndependent/Intermediate.cpp
hader/slang/MachineIndependent/PoolAlloc.cpp
|
cb80e3905cfc3f38dc47cdf8936b6e33fdab9648 |
26-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable 3dlabs shading language code until build is fixed
ources
|
32e845f05eee2c0752d2b2e8ebb034afa215a2bc |
26-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable _mesa_init_shaderobjects_3dlabs() call until build is fixed
hader/shaderobjects.c
|
00e599e7836804fad0cba8d6112eda12994e36af |
25-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
implement gl2_3dlabs_shhandle interface; resolve few TODOs
hader/shaderobjects_3dlabs.c
|
1d7f71924dcfb7b44cb143ffaaad292d038d3ede |
25-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
cleanup query functions
hader/shaderobjects.c
|
05ab19ef432d3859b9fbc3f75d496ada59aede2d |
25-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
add _mesa_init_shaderobjects_3dlabs() declaration
hader/shaderobjects_3dlabs.h
|
a095aa4f4b954d42e42ae41013c7541c85a41b53 |
25-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
fix comments; fix TBuiltInResource typedef
hader/slang/Include/ResourceLimits.h
|
675f802542679665eb2df9541617bf5be609bf41 |
25-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
fix comments; disable DLL linkage for WIN32
hader/slang/Public/ShaderLang.h
|
116986bad573f0b6b2ca10bcf9785b051d7774d8 |
24-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS.
rivers/dri/savage/savagetex.h
|
798e753e072822781e57febe8bf58257deb03565 |
23-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Initialize texture addresses to something valid.
rivers/dri/savage/savagestate.c
|
ce1d7ee5ee482c05bbd4196d946590cdb93d8354 |
23-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
remove file after merge
rivers/dri/unichrome/via_texstate.c
|
8fb17f5b3f918e13e1f2f7164bbff75a0a959a95 |
22-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
rename mesaVis to try and improve clarity
rivers/dri/unichrome/via_context.c
|
3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 |
22-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
add FreeTexImageData hook to help single-copy texturing in drivers
rivers/common/driverfuncs.c
ain/context.c
ain/dd.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
|
050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 |
22-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
merge unichrome changes from branch
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_fb.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_texcombine.c
rivers/dri/unichrome/via_texmem.c
rivers/dri/unichrome/via_tris.c
|
59b4b7e07e1374d63eede85c93665e4630a359b1 |
22-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove test for defined(DRM_USE_MALLOC) around definition of drmSIGIOHandler().
rivers/dri/dri_client/xf86drm.c
|
7f8e10f96c1970d2c81ec8d4f3a45a3b006b3be1 |
22-Mar-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Calculate haveAccumBuffer, haveDepthBuffer and haveStencilBuffer in driFillInModes().
rivers/dri/common/utils.c
|
e7c7a0f3536ad23fa0a5b8bba973da8fef9d72ce |
19-Mar-2005 |
Michel Dänzer <michel@daenzer.net> |
Add support for production version of ATI RN50/ES1000. (ATI Technologies Inc.)
rivers/dri/radeon/radeon_screen.c
|
6bd390743da6e01410f3fc124d79956629e2a6f2 |
18-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Misc fixes.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
2fb2e27e28569371bd0d12aa74504d53bb04edc0 |
18-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
update against 03-Feb-2005 release
hader/slang/Include/BaseTypes.h
hader/slang/Include/Common.h
hader/slang/Include/ConstantUnion.h
hader/slang/Include/InfoSink.h
hader/slang/Include/InitializeGlobals.h
hader/slang/Include/InitializeParseContext.h
hader/slang/Include/PoolAlloc.h
hader/slang/Include/ResourceLimits.h
hader/slang/Include/ShHandle.h
hader/slang/Include/Types.h
hader/slang/Include/intermediate.h
hader/slang/MachineIndependent/Gen_glslang.cpp
hader/slang/MachineIndependent/Gen_glslang_tab.cpp
hader/slang/MachineIndependent/InfoSink.cpp
hader/slang/MachineIndependent/Initialize.cpp
hader/slang/MachineIndependent/Initialize.h
hader/slang/MachineIndependent/IntermTraverse.cpp
hader/slang/MachineIndependent/Intermediate.cpp
hader/slang/MachineIndependent/MMap.h
hader/slang/MachineIndependent/ParseHelper.cpp
hader/slang/MachineIndependent/ParseHelper.h
hader/slang/MachineIndependent/PoolAlloc.cpp
hader/slang/MachineIndependent/QualifierAlive.cpp
hader/slang/MachineIndependent/QualifierAlive.h
hader/slang/MachineIndependent/RemoveTree.cpp
hader/slang/MachineIndependent/RemoveTree.h
hader/slang/MachineIndependent/ShaderLang.cpp
hader/slang/MachineIndependent/SymbolTable.cpp
hader/slang/MachineIndependent/SymbolTable.h
hader/slang/MachineIndependent/glslang_tab.h
hader/slang/MachineIndependent/intermOut.cpp
hader/slang/MachineIndependent/localintermediate.h
hader/slang/MachineIndependent/parseConst.cpp
hader/slang/MachineIndependent/preprocessor/atom.c
hader/slang/MachineIndependent/preprocessor/atom.h
hader/slang/MachineIndependent/preprocessor/compile.h
hader/slang/MachineIndependent/preprocessor/cpp.c
hader/slang/MachineIndependent/preprocessor/cpp.h
hader/slang/MachineIndependent/preprocessor/cppstruct.c
hader/slang/MachineIndependent/preprocessor/memory.c
hader/slang/MachineIndependent/preprocessor/memory.h
hader/slang/MachineIndependent/preprocessor/parser.h
hader/slang/MachineIndependent/preprocessor/preprocess.h
hader/slang/MachineIndependent/preprocessor/scanner.c
hader/slang/MachineIndependent/preprocessor/scanner.h
hader/slang/MachineIndependent/preprocessor/slglobals.h
hader/slang/MachineIndependent/preprocessor/symbols.c
hader/slang/MachineIndependent/preprocessor/symbols.h
hader/slang/MachineIndependent/preprocessor/tokens.c
hader/slang/MachineIndependent/preprocessor/tokens.h
hader/slang/OGLCompilersDLL/Initialisation.cpp
hader/slang/OGLCompilersDLL/Initialisation.h
hader/slang/OSDependent/Linux/osinclude.h
hader/slang/OSDependent/Linux/ossource.cpp
hader/slang/OSDependent/Windows/osinclude.h
hader/slang/OSDependent/Windows/ossource.cpp
hader/slang/Public/ShaderLang.h
hader/slang/Public/ShaderLangExt.h
|
5b641a516ecde984027d4fc1fe198195b7b861a7 |
18-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
enable all 3dlabs front-end compiler sources
ources
|
706bb1c714683fe8ff39962f38938e57301f9fc1 |
18-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
a little program to change // comments to /* */ ones
hader/slang/MachineIndependent/preprocessor/cpp_comment_fix.c
|
1d5c727bbabf80b0d92dd3fb3822e476a42f347f |
18-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
glslang flex and bison sources: flex glslang.l bison -t -v -d glslang.y mv glslang.tab.c Gen_glslang_tab.cpp (shouldn't be .c?) mv glslang.tab.h glslang_tab.h
hader/slang/MachineIndependent/glslang.l
hader/slang/MachineIndependent/glslang.y
|
a890ceee639e37e2dba5a17dcef668aac5ba6fe0 |
17-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix to get doom3 started.
rivers/dri/r300/r300_vertexprog.c
|
8a7dcd97bdc560a12cb7ea6bd66b17939946d5a6 |
17-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
xmllint fixes. Revert 'note_unflushed' changes that were accidetnally committed in the last version.
lapi/gl_API.xml
|
a78bbd0816a894a366bf3824fbbfbc5c794cd61d |
17-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Simple TCL stage and ability to disable vps.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
80a939cafb7a67837a9fc82e45b5ec85c5912a06 |
17-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Enable the generation of server-side __glGetBooleanv_size and related functions. There are two parts to this. First, a size element with a name "Get" is shorthand for having four separate size elements with names "GetIntegerv", "GetDoublev", "GetFloatv", and "GetBooleanv". Additionally, a count of "?" is treated specially. This causes a call to a handcoded function named "__gl<base name>_variable_size". This is *only* needed to support GL_COMPRESSED_TEXTURE_FORMATS. That enum can return a variable number of values depending how many compressed texture formats are supported by the implementation. Fix a problem with glGetProgram{Local,Env}Parameter[df]vARB, glAreProgramsResidentNV, and glGetVertexAttribivNV. These changes only affect code generated for the server-side. The changes to enum.c are caused by enums added for the server-side __glGetBooleanv_size functions.
lapi/glX_XML.py
lapi/glX_proto_size.py
lapi/gl_API.xml
lapi/gl_XML.py
ain/enums.c
|
6af6a6931240b1e05b3bb7cc2b56df29193ea65a |
17-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Minor refactoring and code tweaking. The only notable chage is that FilterGLAPISpecBase::xref is replaced by FilterGLAPISpecBase::functions_by_name. The notable difference between the two is that ::functions_by_name includes all functions, whether they have an assigned offset or not. This feature will be useful (necessary) when more server-side code is generated.
lapi/glX_XML.py
lapi/gl_XML.py
|
00e760c971ccd6ffab7895a157b5256d54aba24e |
17-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Refactored some of the code for PrintGlxReqSize_[ch]. This ensures that the same set of functions will be iterated for both the generated C-source file and the generated header file.
lapi/glX_proto_size.py
|
3f35fbbf668dab4c1a572f77a0912f4b7c8d857c |
17-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix the handling of zero-sized output parameters (i.e., those with type 'GLvoid *'). This fixes the GLX protocol for glGetProgramStringARB. This fixes bugzilla #2747. Remove the 'ignore="true"' from glVertexAttrib4bvARB. This fixes bugzilla #2746.
lapi/glX_proto_send.py
lapi/gl_API.xml
|
c1aa3d1e6f6fd3971df93b11d4db139bec824c91 |
16-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
dd9da8cdb58873daf51dd60839aa2b514a737c47 |
16-Mar-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Fixed some strangeness when mixing textured/flat primitives. Skipping texture units should render correctly also. Aapo, I dont think I broke glxgears again on you...
rivers/dri/r300/r300_state.c
|
fbe5296d1463e1052590b744f3d62ebb9e5d5dd4 |
15-Mar-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add support for user-configurable brilinear filtering on r200
rivers/dri/common/xmlpool.h
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_sanity.c
|
75417943737d49670dd4fbc600cd05dc29e2ba51 |
15-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix to get glxgears display anything.
rivers/dri/r300/r300_state.c
|
3c4c86aff2b2536085d909344dfe3e23b9a2ea3c |
15-Mar-2005 |
Ben Skeggs <darktama@iinet.net.au> |
For some reason the Makefile didn't commit..
rivers/dri/r300/Makefile
|
34dd4843d7b86eee8e0d18de275dd963ac2e3ffd |
15-Mar-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Initial multitexturing support. Old behaviour can be re-enabled by changing ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texprog.c
rivers/dri/r300/r300_texprog.h
|
bd5bba84705fd96ebf11493130d54e547a83d0fc |
14-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
When timestamping textures, need to emit the event with SAVAGE_WAIT_3D set. Otherwise the 3D engine may still be using a texture that is being overwritten. In order to minimize the cost of waiting, timestamp textures only when needed: when a texture image changes, when a different texture is bound to a texture unit or when a texture unit is disabled. (Used to be after flushing every command buffer.)
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagetex.c
|
e2e4a5c992c7655cdd4374b962d339ec62bb5f5c |
14-Mar-2005 |
Peter Zubaj <pzubaj@gaya.sk> |
Stencil support Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
02eb36fa8d51b9652fba546ea3e88e7be1d2ace8 |
14-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
re-enable slang sources
ources
|
0c7d2fff1e67ff45e8846871a64c35c5433def44 |
14-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
make it compile under linux
hader/slang/MachineIndependent/Gen_glslang.cpp
|
5c9d21df3dc10a0b5fd7bedae54ca3b63beddd5e |
14-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
make it compile under gcc 3.3.2
hader/slang/MachineIndependent/ParseHelper.h
|
8998de569c2f22fb91ec6c6a6a59fda0992df5b2 |
14-Mar-2005 |
Michal Krol <mjkrol@gmail.org> |
fix enum comma
hader/slang/Include/BaseTypes.h
hader/slang/Include/InfoSink.h
hader/slang/Include/intermediate.h
hader/slang/Public/ShaderLang.h
|
278c6025f93e51e2b9c3a8c7b53a1576d0964b61 |
13-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Replacing alpha test bits with values that give desired results as compaired to software rendering. Alpha test in textures is still completely broken as can be seen in progs/demos/fire and various games.
rivers/dri/r300/r300_reg.h
|
4f05e61543b890682b265a6abd986a89ef024fbb |
13-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Updated savage_dri.h from Xorg CVS. This removes definitions that are not part of the DDX->DRI interface and should never have been in this file in the first place.
rivers/dri/savage/server/savage_dri.h
|
45f26f9979f19e1d15b78a5a3ef47092e6c9cbbf |
13-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Removed savagedma.[ch]. They have been unused for a while and were only kept around for reference. Now that command DMA is implemented in the DRM module they are no longer needed.
rivers/dri/savage/savagedma.c
rivers/dri/savage/savagedma.h
|
203bd3e8ecf923bba3733b5ebe861c5700ffcb79 |
12-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
91c219d9063bf7d3a181ee0b289c68b4a68f3db6 |
11-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Add support for ARB_draw_buffers and ARB_occlusion_query. The GLX protocol for these extensions (as well as ARB_vertex_program and ARB_matrix_palette) was just approved by the ARB on 8-Mar-2005. Now the only extension missing for 1.5 support is ARB_vertex_buffer_object. The opcodes for ARB_matrix_palette were also added to gl_API.xml. Since this extension isn't supported by Mesa, no code is generated for it. Some tabs were also converted to spaces in the comment for GetCompressedTexImageARB.
lapi/gl_API.xml
|
522ea4271804b75d90f9bc72b81bfd025bb137d0 |
11-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)
ath/m_matrix.c
|
e24a9c10b54e4804812081e5f119b7a321657c92 |
11-Mar-2005 |
Paul Mackerras <paulus@samba.org> |
Add suitable definitions for the _REV formats, plus a comment explaining why they are the same as the non-REV formats now that textures don't get byte-swapped on their way to the chip. Fix the ARGB4444 and L8 formats. Add entries for the A8 and RGB332 formats.
rivers/dri/r300/r300_texstate.c
|
96035d54f3c223e6d2f6dea79fb68dbfb2b74f0a |
10-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
- Flush before updating the timestamp of a texture heap from a bound texture. - Flush before using a new texture or before disabling a texture unit, because savageFlushCmdBuf can only update the timestamp of the last used texture. This fixes corruption in quake2 with single-textured lighting.
rivers/dri/savage/savagetex.c
|
746df5671789aa5338c82a8e1b7fb50d342198e0 |
09-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
If the texture image changed force emitting the texture address, even if it didn't change. This seems to flush texture cashes. Fixes multi-textured lighting in quake2.
rivers/dri/savage/savagestate.c
|
5737fda093f8e1f4daabda3d55762dc7c4fe8ed9 |
09-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Don't use R200 texture constants - R300 fields are all different.
rivers/dri/r300/r300_texstate.c
|
439f7feab1ed90eb1c323420f0fd608a2a155177 |
09-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Deal with texture formats in a more robust way.
rivers/dri/r300/r300_texstate.c
|
f0d484fa5aaa532c49d13c2b4a3bd5a37e1524d7 |
08-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Replacing some RADEON cmd types with r300 counterparts.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_texmem.c
|
2579c32a5f53a0ad89f5af6111d5935529fd3b45 |
08-Mar-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
0bd5373d94c9b74a7b724d74e2b2bc94c8d5bd77 |
06-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Actually *use* the count_scale value associated with a parameter.
lapi/gl_XML.py
|
9d05d3dd308c4655673a710d0c10f09cac9c0d83 |
06-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Don't synchronize after each frame. Allow the GPU to be one frame ahead of the CPU for more parallelism of CPU and GPU. Unfortunately there seems to be some broken hardware (like my ProSavageDDR) on which status register updates are delayed sometimes. This leads to very jerky animation if the hardware can buffer more than the current frame. A new option "sync_frames" can be used as a remedy on such broken hardware.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
|
e6aa21156ace5bea0a8bcc8c58aceacb748e2627 |
06-Mar-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
- Fixed two bugs related to DMA buffer handling that showed up with the new DRM version 2.4 and command DMA. - Flush less. - Bumped the driver date.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagetris.c
|
a30402b56a979a865d445c8bca2ccdfad1a3a114 |
05-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add format 15. It turned out to be X,X,X,X,X8.
rivers/dri/r300/r300_texstate.c
|
07561c6b32d55128222283a7450c65c95d21df59 |
05-Mar-2005 |
Dave Airlie <airliedfreedesktop.org> |
Fixing memset on ia64 & other archs From: Stephane Marchesin
rivers/dri/common/memops.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/radeon/server/radeon_dri.c
|
a4296239d41101ec778ef6cf998847d341433b72 |
05-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Enable VB mode rendering by default. If anyone thinks this is wrong, *please* feel free to change it back. My reasons: * immediate mode is broken * vb mode is faster * vb mode is the right way to do it.
rivers/dri/r300/r300_render.c
|
3f9467c946ab79cd2ccb1858e78af4337f3603e2 |
05-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Do properly initialize ALPHA_TEST register instead of carefully preserving bogus value. This fixes many, many rendering issues which I wrongly blamed on texture programming or performance..
rivers/dri/r300/r300_state.c
|
87030f6618cce065f8f552471648344de2f1d920 |
05-Mar-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove one of the two _tnl_isolate_materials function calls
rivers/dri/radeon/radeon_context.c
|
bc6bf401f54ffaf0330de6e6b5ba37eff7354119 |
04-Mar-2005 |
Rune Petersen <rune@megahurts.dk> |
Set pipes for R420 cards. Gives a nice speedup. This needs to be tested on r420 cards with less than 16 pipes.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
984d52762665d0a23b55e950a33e89174279eda3 |
04-Mar-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add a couple of helper functions for completeness.
rivers/dri/r300/r300_emit.h
|
fdb5a87f91c80e271f78cdaaa3359c7b4d81319b |
03-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix some errors in the parameter descriptions in serveral vertex / fragment program related functions.
lapi/gl_API.xml
|
ce77d372647f025854d497c263e45882d6f6b0a6 |
03-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
Check for some common function parameter description errors in the endElement handler for <function>. This catches the errors as early as possible and makes debugging other code easier.
lapi/gl_XML.py
|
6e776f25fd4d275722494824e2d5149a25ed4036 |
03-Mar-2005 |
Ian Romanick <idr@us.ibm.com> |
When building in the X-Server, attr.depth doesn't exist. Instead, use (XMesaDrawable)w)->depth in the error message.
rivers/x11/xm_api.c
|
c1f2f9090bcca309b9aeef7ae57acc280704db81 |
03-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change gl_buffer_object's Size field to GLsizeiptrARB type
ain/bufferobj.c
ain/mtypes.h
|
fff3b2f318a1d05228d0128f59fe556652c70dda |
02-Mar-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4V
nl/t_save_api.c
nl/t_save_playback.c
nl/t_vb_program.c
nl/t_vtx_api.c
|
b960c14cbb4eb701ea500f54695aec1c5948d3f1 |
02-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added a bunch of new comments, minor code clean-ups.
nl/t_vb_light.c
|
3db7ae3a38f712a89a44dab8c0f6975250683db0 |
02-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Using glColor3 commands to update materials could result in an undefined alpha value. Fixed.
nl/t_vb_light.c
|
7cd2ae9d97377bc68f66ce3c7734f56e3f5dfa6b |
01-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added stub functions for GLX_MESA_allocate_memory
rivers/x11/glxapi.c
|
80875253ce0e166bd8f529ba9b869139ce82902a |
28-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)
nl/t_context.h
|
d1e40c9bddc3516da0facf0d2f3f7db4533a1396 |
28-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
6c0c91714c17da75d0386a48f7de7b558b3ec1a9 |
27-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warnings
ain/fbobject.c
|
87a2f3df641af0683ebddd34d31196f5ec394b02 |
27-Feb-2005 |
hmarson <hmarson> |
Added 0x4e51 - Saphire 9600 256MB 0x4e71 - Saphire 9600 256MB - Second Head...
rivers/dri/r300/radeon_screen.c
|
ab7312ef63434d180eadad734b554f7210e3403b |
27-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
precedence precedence precedence.. add some brackets
rivers/dri/r200/r200_context.c
|
67742383e87734130e35d08d7c63c75b9adcf655 |
26-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename _mesa_update_buffers() to _mesa_update_draw_buffer_bounds() and do additional checks. Replace _mesa_init_buffers() with _mesa_init_scissor() and _mesa_init_multisample().
ain/buffers.c
ain/buffers.h
ain/context.c
ain/state.c
|
4932ba28adc2694161ec3fa7964cd76e3742182a |
26-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
Add a dri config option to enable the max texture level hack make ycbcr depend on a CHIPSET define .. needs to be filled in though
rivers/dri/common/xmlpool.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
|
f3a6e4fa5b40f2ae09e43b4fe0d46244e96f6505 |
26-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Fairly significant changes to enums.c and the way it is generated. enums.c now contains 3 static tables. The first table is a single, large string of all the enum names. The second table is an array, sorted by enum name, of indexes to the string table and the matching enum value. The extra string table is used to eliminate relocs (and save space) in the compiled file. The third table is an array, sorted by enum value, of indexes into the second table. The [name, enum] table contains all of the enums, but the table sorted by enum-value does not. This table contains one entry per enum value. For enum values that have multiple names (e.g., 0x84C0 has GL_TEXTURE0_ARB and GL_TEXTURE0), only an index to the "best" name will appear in the table. gl_enums.py gives precedence to "core" GL versions of names, followed by ARB versions, followed by EXT versions, followed, finally, by vendor versions (i.e., anything that doesn't fall into one of the previous categories). By filtering the unneeded elements from this table, not only can we guarantee determinism in the generated tables, but we save 364 elements in the table. The optimizations outlined above reduced the size of the stripped enums.o (on x86) from ~80KB to ~53KB. The internal organization of gl_enums.py was also heavily modified. Previously enums were stored in an unsorted list as [value, name] tuples (basically). This list was then sorted, using a user-specified compare function (i.e., VERY slow in most Python implementations) to generate a table sorted by enum value. It was then sorted again, using another user-specified compare function, to generate a table sorted by name. Enums are now stored in a dictionary, called enum_table, with the enum value as the key. Each dictionary element is a list of [name, priority] pairs. The priority is determined as described above. The table sorted by enum value is generated by sorting the keys of enum_table (i.e., very fast). The tables sorted by name are generated by creating a list, called name_table, of [name, enum value] pairs. This table can then be sorted by doing name_table.sort() (i.e., very fast). The result is a fair amount more Python code, but execution time was reduced from ~14 seconds to ~2 seconds.
lapi/gl_XML.py
lapi/gl_enums.py
ain/enums.c
|
40af76bbaa9e8909d63d8eeab4689ed2dfe1e19c |
25-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Add GLX protocol support for ARB_fragement_program, ARB_fragment_program_shadow, ARB_vertex_program, NV_fragment_program, NV_fragment_program_option, NV_fragment_program2, NV_vertex_program, NV_vertex_program1_1, NV_vertex_program2, NV_vertex_program2_option, NV_vertex_program3, and ATI_text_fragment_shader.
lapi/gl_API.xml
|
1fd3bbc42e8ad267c552a3818f64b0850c188927 |
25-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Convert the static functions read_pixel_reply, read_reply, setup_single_request, and setup_vendor_request to the global functions __glXReadPixelReply, __glXReadReply, __glXSetupSingleRequest, and __glXSetupVendorRequest. This will make it easier to add handcoded Single / VendorPrivate / VendorPrivteWithReply functions.
lapi/glX_proto_send.py
|
ac8020ea9cad98471f0cb6529982d585b3e0b03d |
24-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Another nasty struct size bug found.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
2c6f911e10761c0946261d494bf149b19072821d |
24-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
rivers/common/driverfuncs.c
ain/dd.h
ain/fbobject.c
ain/fbobject.h
ain/mtypes.h
|
7b7d00ca62d18c71cd3a14a81f5dc12e73248757 |
23-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Don't forget to update a heap's timestamp when a texture image is changed. Other drivers don't need to do this because they're swapping modified textures out of texture memory, which implies a timestamp update.
rivers/dri/savage/savagetex.c
|
2b1ec683d3501845c89fa3983c079cc96d6949fb |
23-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Put quotes around $(CC) and $(CXX) so that 'CC=cache gcc' will work.
akefile
|
ba0fe1832e3573c7ec872ba9bfb1cf1773e384c6 |
23-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes to aid debugging, and a new comment
rivers/x11/fakeglx.c
|
540b260cbd39c103c045410b5312d4c57a569e33 |
23-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
With Savage DRM version 2.3.x or later use event counters for texture heap aging, similar to the way it's done in the i810 and i855 drivers. This avoids idling the engine on every texture upload.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagetex.c
|
8f5f6b3d59fa2ee25654283a235991f332bc8960 |
23-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Sort the enums in the Python code, instead of at runtime. (Zack Rusin)
lapi/gl_enums.py
ain/enums.c
|
6614766f3e8f0ff472d328b3c42677117781d1e4 |
23-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Corrected the value for X_GLrop_SecondaryColor3svEXT.
lapi/gl_API.xml
|
cb83f62e307be90532fcc58a0e5dd3e8cc7411b2 |
22-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
now generated with Python script
ain/enums.c
|
78123bb38b1e4638747f55ddaef39e561cd81d6e |
22-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate enums.c file (Zack Rusin)
lapi/Makefile
lapi/gl_XML.py
lapi/gl_enums.py
|
3c69df8a70efee6ae89615f28d25aac2323275ab |
22-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
New elt buffer code should be fairly stable.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
e00b72971629e41d5ac0e85391a466655c790d66 |
21-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add code to autogenerate vertex shaders. This is needed for multitexturing to work properly.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_state.c
|
eb6560bf2b1f4775045eb648abfa5b5ccbad8a7b |
20-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Adding support for front buffer mode, removing some code we dont really need and some new debugging stuff.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
35bc4ac68062afeae17f96b8f4173a599cfc7f05 |
19-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Minor fix to border and blend color.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
ff3ce3dd96376d61e245cb5c34d320128b8f95a8 |
19-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Disabling some fallbacks as they cause misc programs not to start and adding some comments.
rivers/dri/r300/r300_render.c
|
42896b2a18a89c74a2f95e491bed0b7352bef0aa |
19-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
10b892af96afa4fd8493810f5cf84a97c2e4adaa |
18-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Print an error if idling the engine before the buffer copy fails. Be a bit more useful about the sync message after flushing command buffers. Add an "allmsg" debug name that enables all log messages but does not enable syncing.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/radeon_screen.c
|
9605806d81bc8a378dc70e9a89199bce11f419e2 |
18-Feb-2005 |
Michel Dänzer <michel@daenzer.net> |
fd.o bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.)
rivers/dri/radeon/radeon_screen.c
|
3f22c0966dcc26b3a8310afd8baa238ab857b611 |
18-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
r300RefillCurrentDmaRegion: Retry buffer acquisition only once, after waiting for the engine to idle. There's no way for another buffer to become free anyway once the engine is idle.
rivers/dri/r300/r300_ioctl.c
|
8281cca82fb89001edd3e2360202e358bdc6bda7 |
18-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Always submit command buffers, even when there are no cliprects, so that we no longer leak DMA buffers (plus, this just might fix some state-setting related problems, if there were any - but that's unlikely). Update the DRM to cope with cmdbuf->nbox == 0.
rivers/dri/r300/r300_cmdbuf.c
|
4d73f1af35aed1483804b7a9639f231be1ee4bf1 |
18-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
We dont need to call r300EmitAOS if we arent going to draw anything(r300_get_num_verts returns 0).
rivers/dri/r300/r300_render.c
|
26d812ae00e0bb5abb23e95a36492ef59d416c16 |
18-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Reset nr_released_bufs to 0 after the command buffer has been submitted. Added a more verbose comment about nr_released_bufs in r300_context.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
|
f448e632b60c3bb81cc3a01d92430f5e4a110327 |
18-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
XMesaGetDepthBuffer() returned wrong bytesPerValue (Karl Schultz)
rivers/x11/xm_api.c
|
49f7430b12eec93287af96058026ede1649ba007 |
18-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/0/NULL/ (Jeff Muizelaar)
rray_cache/ac_import.c
|
d73b929ef25cccb12258545ddc9e06ef5ee061f0 |
18-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==
rivers/dri/r300/r300_render.c
|
6f37e76272a3a4b3898426b943304d1c5903d0ee |
17-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Fixing *lots* of warning messages, especially concerning unportable whitespace before preprocessor commands. Please, can you try to keep the warnings down? Try running make with make -s sometime to see just how bad an offender the current code is.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_fixed_pipelines.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_span.c
|
74477b24a8faef4ce0870b4a68270e586d107ff7 |
17-Feb-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
RADEON_DEBUG is a bitfield, so use & instead of ==. Also, put the hash in preprocessor directives at the beginning of the line to fix error messages.
rivers/dri/r300/r300_render.c
|
78152f85e7c1330d6038752381b9a7f2f732ce62 |
17-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Switching to start_index32_packet.
rivers/dri/r300/r300_render.c
|
002a64cc48edea1dcd6f257c754dc1d2fcfe3e31 |
17-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
magic_1 handling...
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
|
ca4116bfceb26d033ddbc7ee43f0b97af6646291 |
17-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
oops.
rivers/dri/r300/r300_render.c
|
0846e52d46b36c411f79908df010072e03bb6437 |
17-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/0/NULL/ (Jeff Muizelaar)
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/r200/r200_vtxfmt_x86.c
|
6e2fd966274af5818ce2ac16b2b35ea84f1ac034 |
17-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove extern (Jeff Muizelaar)
rivers/dri/r200/r200_cmdbuf.c
|
a9eb712fc9400f4f61806a5128aeeddbef816f8d |
17-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Make immediate code do a LOAD_VBPNTR again
rivers/dri/r300/r300_render.c
|
934be3266fe7c873f8fa1154af20d378282d2d47 |
17-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix some 0->NULLs
rivers/dri/common/mm.c
|
c8af2b5a52570cf8a9082c88e71cf99a0f07fe85 |
17-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Cleanup formatting a little bit.
rivers/dri/r300/r300_texstate.c
|
41d180c899c9008edadc6ff4538fc33e9793259c |
16-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Support for idx buffers. Leaving it on by default as it doesnt seem to cause any lock ups nor other issues. Tests with one object using elts should pass. Introducing more than one object will cause indices to mix up as far as i can see. DRM update is needed for this code to work\!
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
|
8eeef423e9d4f0c9e7ac6393288b8772d5c62190 |
16-Feb-2005 |
Rune Petersen <rune@megahurts.dk> |
small cleanup, remove some warnings
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texmem.c
|
1ff8f50f2f9dae5a190d21ef1ba54a70b5984d3b |
16-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed problems with parse_float() (fd.o bug 2520)
hader/arbprogparse.c
|
2c28dd892cfb43445d7e54df8b6a8331192f4e99 |
16-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/0/NULL/ (Jeff Muizelaar)
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/radeon/radeon_vtxfmt_x86.c
|
5c2f3d5d3aea45363d49bab0079ffe0219eaaaed |
16-Feb-2005 |
reist <reist> |
get two textures to work
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_texstate.c
|
d588311dbb5eff92bb71ba88bcf5342328a428ce |
16-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Don't enable fog. It's broken
rivers/dri/r300/r300_maos.c
|
f44602765670a4ccf284dd71e2b1af5ac9200d03 |
15-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Share routing code between immd/vb. Fix breakage of vertex programs in vb mode.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
233d93d47e12cd5084be7bed9ae78a05da02085f |
15-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
Add missing texture formats for completeness
rivers/dri/radeon/server/radeon_reg.h
|
70f2be9cc6e04de4aed369198af5c977b21649ea |
15-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
add some missing texture formats and bits from r200 docs
rivers/dri/r200/r200_reg.h
|
9e5a0b88952e887d7984ca055ea2a80bea1e4735 |
15-Feb-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Added texture format table for big endian (this is a tempory hack).
rivers/dri/r300/r300_texstate.c
|
e82cb7852b6d51325cbdbda2354f391bfea6d30b |
14-Feb-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove accidentally commited printf for tiling support
rivers/dri/radeon/radeon_context.c
|
0340663eb732d39a64b8e047cab3b2bfa19ce912 |
14-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Support for blend color(not tested), "proper line width/point size" clamps and fix for glxinfo problem.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
8352666a9db11cfc5f41b9ca0b135750b606d2f2 |
14-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa-fix-one-bit-signed-bitfield.patch from Jeff Muizelaar
rivers/dri/common/mm.h
|
8d12a6d537ca346291bc3e3bc90cc73509f4b419 |
14-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix some signed vs unsigned warnings
rivers/dri/common/depthtmp.h
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/spantmp.h
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810tris.c
|
fbdd7a5e7487849bfe06a7bef68b4dad75f5d58c |
14-Feb-2005 |
Dave Airlie <airliedfreedesktop.org> |
fix signed vs unsigned comparison warnings in tnl_dd
nl_dd/t_dd_triemit.h
nl_dd/t_dd_tritmp.h
|
aeee36a3117955ac6567fd2560432d07f391e0e0 |
14-Feb-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
killed a few warnings
rivers/windows/fx/fxwgl.c
|
2f99f6558cd59fed6cbea3c6c8b08f53d74f6533 |
14-Feb-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
added a bunch of const in the decoder
ain/texcompress_fxt1.c
|
b6082fd236286c50d2b47eb42f1686989516a69c |
14-Feb-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
`static const' instead of `const static'
nl/t_vertex.c
|
0a13cebaa178f63c0ecf9275ae0f359b18bb28c7 |
14-Feb-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
ProgramCallbackMesa must match the prototype
hader/program.c
|
baa832d311cf36785bbe300412b946781d15d5c2 |
14-Feb-2005 |
Eric Anholt <anholt@FreeBSD.org> |
Change another usage of __AMD64__ to the standard __amd64__, and remove __AMD64__ from the linux configs so it won't creep back in as easily. Fixes hang on FreeBSD on the first lock grab.
rivers/dri/dri_client/imports/xf86drm.h
|
d5e008b84bc8cab491a1c9dd2b7577d1a9de19ba |
13-Feb-2005 |
Michel Dänzer <michel@daenzer.net> |
Typo fix.
rivers/dri/radeon/server/radeon_macros.h
|
32713903628bc4e6af56c9d32475cd9e1c90f4c3 |
12-Feb-2005 |
Rune Petersen <rune@megahurts.dk> |
initial r400 support: r400 cards are treated as RV350 for now.
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
|
37cbb521d3ab8d96a8fcc0199424c0ddc70f0435 |
12-Feb-2005 |
Michel Dänzer <michel@daenzer.net> |
MMIO endianness fixes for Radeon drivers.
rivers/dri/common/mmio.h
rivers/dri/radeon/server/radeon_macros.h
|
2752177ade76f36229dda8da42948b173bdf08bc |
12-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
unlock mutex upon error return (Jeff Muizelaar)
ain/bufferobj.c
ain/texobj.c
|
f640ee2f6e1b69e332b46e48b3b4e9f33bbc6e39 |
12-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fall back properly when GL_COLOR_LOGIC_OP is enabled and != GL_COPY. Add missing per-primitive fallback for polygon stipple.
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetris.c
|
25817dc26bbb195ad3d94a6289ad5075b920c7a0 |
12-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Offset LOD bias by about 0.3 to match software rendering more closely. Another small tweak to subtile upload (mostly cosmetic).
rivers/dri/savage/savagetex.c
|
ed9119b72a62cca2cbbf36ecca0efc7f7d6c1535 |
12-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Make glean's masked clear test pass.
rivers/dri/savage/savageioctl.c
|
0872b85b1ea97850d42972c80c2d3350d5ae2d44 |
12-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Savage3D-based chips seem so use a constant tile stride of 2048 for vertically incomplete tiles, but only if the color depth is 32bpp. Nobody said this was supposed to be logical!
rivers/dri/savage/savagetex.c
|
6125515cec54ce31521bb815d0d6f216a1ca0c3d |
12-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Enabled vertex buffer mode as default.
rivers/dri/r300/r300_render.c
|
cc701764461b5761b3a5cfd4595a69667c9f1c29 |
11-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn _via_fastrender_stage back on.
rivers/dri/unichrome/via_context.c
|
a0c85249244e1af8dac88076d5f384cf4bd01236 |
11-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa-main-0-NULL.patch from Jeff Muizelaar
ain/api_arrayelt.c
ain/bufferobj.c
ain/dlist.c
ain/enums.c
ain/getstring.c
ain/light.c
ain/texcompress.c
ain/texobj.c
|
2d10924a14c439376816c5398cecd46e940482fd |
11-Feb-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Port of r200 VB code. VB path should be as fast as the immediate path now, tuxracer should render correctly. Immediate path was left enabled.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_maos.c
rivers/dri/r300/r300_maos.h
rivers/dri/r300/r300_render.c
|
4837ea30208d002bc36a836d2117f826d40c8bfa |
10-Feb-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add texture micro and macro tiling to radeon/r200 driver. This can improve performance up to 15% in texture-intensive applications. Convert the driver to use the correct blit format and blit width instead of fixed blit format and blit width when uploading textures to make it work.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
|
26d31591257d575362776972439f614948366dd1 |
10-Feb-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add the new RADEON_CUBIC_OFFSET/FACES state packets/registers to radeon (and r200) sanity code
rivers/dri/r200/r200_sanity.c
rivers/dri/radeon/radeon_sanity.c
|
b66251f76da2e2b0419bc1fbaec4dd0c9f8867b2 |
10-Feb-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
(Andreas Stenglein) fix projected textures with swtcl, they need the w coordinate of the vertex (bugzilla #1648)
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
d9468c94052c4e99b4121deb231c81388722c37f |
10-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, fix zoffset error test
ain/fbobject.c
|
1982a6683843c2de3ee132a41578c9652043ff6e |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Added kindly note about single buffer mode.
rivers/dri/r300/r300_context.c
|
3f9bae90c36424763e11b7ac9d0e31fc9acd5b2e |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Updating master copy of r300_reg.h and turning immediate mode back on
rivers/dri/r300/r300_render.c
|
b97e478fe90f612041e27852eb8c95f45467bde8 |
10-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa-tnl-0-to-NULL.patch from Jeff Muizelaar
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_pipeline.c
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vertex.c
nl/t_vertex_c.c
nl/t_vertex_codegen.c
nl/t_vtx_api.c
nl/t_vtx_eval.c
nl/t_vtx_exec.c
|
a9a4c5489ec12f6aa768d44578c332f654c536ea |
10-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Catch no-op vertex buffers consisting only of vertices which will also appear in a future buffer.
nl/t_vtx_exec.c
|
a85eb9c0a7eee87b76fc8deec5081628ed3e2ba8 |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Removing some regs that are wrong and adding some comments to r300_reg.h .
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
dd951e6ddeb35a7321980e41acc39a529633900a |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Support for PolygonMode. Not too far from working even though i almost gave up once already.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d1907348757938295dbebbe5667bd34ce8b2089c |
10-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Fix copy'n'paste errors. Print command buffer sizes during startup (TODO: remove 1 || when the driver is more mature).
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_state.c
|
4afa1d7abbf4bdd368ebfbc5e18dc02f8b8ec21a |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Turns out unknown5 was border color. texwrap looks good now.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
58010eb35ca55e487251a2b62965d42e18e5ef18 |
10-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Adding support for selecting line width. Stipple patterns still cause lots of trouble.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
4f1f5e336b50ac9f7ea615a550e3b65201350305 |
09-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.
ain/get.c
ain/get_gen.py
|
fe7aa08ad982ebca9d867905eccb5315fa4ed23a |
09-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Enabled user-defined point size, enabled zbiases for rest of the primitives and fixed bad vertex number checks triggered by nurb.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
1f6735a6a539021cf4576d6eb66de3f19c331b53 |
09-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial support for GL_EXT_framebuffer_object
ain/buffers.c
|
f0bbbf66b8ab846ae55adf2f66941f05b5500071 |
09-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement the 'completeness' tests
ain/fbobject.c
ain/fbobject.h
|
d863424032deb7c6bcb3a0b906be29b573f18c2d |
09-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Generate GLX protocol for pixel single commands.
lapi/glX_XML.py
lapi/glX_proto_send.py
lapi/gl_API.xml
|
799bc13da22e05b6554695988b16f2a79abea9d0 |
09-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed stride of incomplete tiles.
rivers/dri/savage/savagetex.c
|
4754fc653f43903265dc878f27826ebcf26dfdcb |
08-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
SUBPIXEL fixes from Dieter
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
85199453cce81738af8e28ee73277caf55ba2989 |
08-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Remove #ifdef's around PolygonOffset function. Print number of missing entry for texture format. Add alpha-luminance format.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
a91e0218a3965c0617b959b2b42e07e63fc9cc54 |
08-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Correct a couple problems / omissions in the DTD.
lapi/gl_API.xml
|
5e4a7581df02f08edfee180383068cfeaad85dd3 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Typo..
rivers/dri/r300/r300_tex.c
|
6a04cff065c9a28495fe515fb5d9cd159d53de71 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix the bug and get zbias back into shape. There might still be some problems with initial zbias...
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
3dec3c7a74035bc85eab31a3c442e362d41ffe6d |
08-Feb-2005 |
Michel Dänzer <michel@daenzer.net> |
Call _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect rendering in bzflag 2.0. (Alexander E. Patrakov)
rivers/dri/r200/r200_state.c
|
8e5f0e62dd7d6465dcd906d38dffd0b1b476e3b5 |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clamp anisotropy against max value
ain/texstate.c
|
46cde1715f29dddf5d0a41d8c91ee117208d9685 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer clears and other things not to work. This bug can be triggered by extending struct r300_hw_state by two struct r300_state_atom's from its current size. Everything zbs and unk42B4 related is now covered with HAVE_ZBS and GA ifdefs. Who wants to fix it? Not i. :)
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
4885a9eb207655ac23b64274034e1d51d2c8e6ce |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Better fix to get tuxracer working.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
1764b78ee9ebb7c0d9740f275b97f3354fc32aa9 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
fog + immediate mode = bad things
rivers/dri/r300/r300_render.c
|
315afce941a7247ecf79da520d974a59534e8779 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Implemented checks that prevent r300 from locking up when bad number of verts are given. Also tweaked WARN_ONCE a bit to handle va-args.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
|
3f847b73f3f480eb823f58e73edf53c2a5317a55 |
08-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Let Polygon Offset be turned on and off.
rivers/dri/r300/r300_state.c
|
923b6fc4d96d342cdc7b33b660a8d3d193c9165e |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some comments
ain/fbobject.c
|
1864c7d79a0ef0bda54c503bad15977b62e0ed57 |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
a bunch of assorted fixes
ain/fbobject.c
ain/fbobject.h
|
386e997f450649f105f0986c3b55faae42e4349c |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in GL_EXT_framebuffer_object functions
ain/state.c
|
3d2e10564e8ee9041ffc3cb12f323351fb05dabf |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_EXT_framebuffer_object tokens
ain/glheader.h
|
78e6e5947776b72cc594e3bc711a9129de4edffc |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add new entrypoints for GL_EXT_framebuffer_object.
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
86/glapi_x86.S
|
87440f531cf48d248e0fb0a5eeaf14f47e1ecb5e |
08-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Definitions for EXT_framebuffer_object. Just <include/> it in gl_API.xml when ready.
lapi/EXT_framebuffer_object.xml
|
6cfd4f7e5583aefebfcc66e0b3ee04f95ae3257c |
08-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Add the ability to include other XML files by using a <include name="file"/> element as a sub-element of <OpenGLAPI>.
lapi/gl_XML.py
|
463642c0be7a6b8c0552bb32b5bc8e86ee352d67 |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
checkpoint latest work
ain/fbobject.c
ain/fbobject.h
|
d1b1b372704c93a0672b78be11fc5ea92b828c27 |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing prototype
ain/texstore.h
|
0d22b9054094c863062c7787b45e1fb4d3834a67 |
08-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
indentation fix
ain/teximage.c
|
27f75a863e0d7e2bcfbfab1ebddb1d83e4ca4199 |
08-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
To cut the long and boring story short, polygon offsets should now work. vb mode colorbuffer clears are still mysticly broken by offsets... Maybe we need to merge zbs and unk42B4 together?
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
049290c584f19d5f551b234292e76154e2857179 |
07-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved warning message
rivers/x11/xm_api.c
|
71699df7de8cc732caf6d4b8adb4ab2d1f0c7c1f |
07-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
argb8888 optimizations from via branch
ain/texstore.c
ain/texstore.h
|
8d621b3bdd0ca43e5ba2ae8b4471fcf716decc78 |
07-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
More texture enums (Andreas Stenglein)
ain/enums.c
|
1f2b715988ff6bba6f31ef34081c29a5c63b3d60 |
07-Feb-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
GL_ARB_texture_rectangle enums (Andreas Stenglein)
ain/enums.c
|
3deaa01c2bd576ae81fc6d3ea67c583cb3c22159 |
07-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional work on GL_EXT_framebuffer_object
ain/config.h
ain/context.c
ain/extensions.c
ain/fbobject.c
ain/fbobject.h
ain/get.c
ain/get_gen.py
ain/glheader.h
ain/mtypes.h
|
1e42244e82e387282849b0182bb71b6803ac27d3 |
06-Feb-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Added PCI id (0x4152).
rivers/dri/r300/radeon_screen.c
|
66b48d6df6a586be57a9e442410b1ec90d58019e |
05-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Disable vertex DMA on SuperSavages.
rivers/dri/savage/savage_xmesa.c
|
5bdf2bc6c707f0a815cc46fb0bab7e2a209110a3 |
05-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
- Fixed scissor rectangle not moving with the window (Xorg bug #1731). - Flush buffered primitives before changing scissors. - Require Savage DRM version 2.1.0, so that the broken single-cliprect code can finally rest in peace. - Removed some more dead code.
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
|
d9d972a944c9953d99ff09deeb2a739386aa0a76 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added fbobject.c to sources
ain/descrip.mms
ources
|
ddc82eefca591f0ee93d3a77e1268571629a6d5c |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial work on GL_EXT_framebuffer_object.
ain/config.h
ain/context.c
ain/fbobject.c
ain/fbobject.h
ain/mtypes.h
|
28865793244938bf7794d62b94e5af5fec7f4282 |
05-Feb-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Added PCI id (0x4152).
rivers/dri/r300/radeon_screen.c
|
bb7d5f8837a9c7658a18dbaf02d52583e29443e3 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the Shared->TexObjectList pointer and Next field from gl_texture_object. Was only used by two drivers to walk over all texture objects. Can do that via the hash table instead. Cleaned up some comments for struct gl_texture_object.
ain/mtypes.h
ain/texobj.c
ain/texobj.h
|
8c3ddf4270ff075ee783a67e5d5d04fa16a9cb45 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
add a few comments
ain/teximage.c
|
f955218bf165905ac0f75dad64b7f58085aef51f |
05-Feb-2005 |
Jerome Glisse <glisse@freedesktop.org> |
Modified hw state for big endian computers.
rivers/dri/r300/r300_state.c
|
7aafcc86c74a68206f4f48ca99c12faf469d47e0 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove dependency on Shared->TexObjectList
rivers/windows/gldirect/dglwgl.c
|
ce657cf7527bb5bb417577280a634a1e7b657509 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded code
rivers/dri/tdfx/tdfx_context.c
|
cf899d400d480d7017311d92f2cfd94391b785b4 |
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed need for Shared->TexObjectList, walk over texture hash table entries instead
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_texman.c
|
557dce9bc2e9a705a08969bef110f870ca8b37e3 |
05-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed a typo in an assertion. (Don't understand how this ever compiled.) Found by Andreas Stenglein.
rivers/dri/common/texmem.c
|
b64d4a27cb44325803a348e3b2ccb7ef12af4ccd |
05-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Warn of unknown texture formats.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
a02b83115a865a58d3f0d118a6b3ad2922a0ab75 |
05-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix some mixed spaces / tabs issues in generated code. Commit generated files that have been trivially changed by other recent commits.
lapi/glX_proto_send.py
|
0a755ade51be419488ba621d843de939749ad76c |
04-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Enable client-side GLX support for texture compression extensions.
lapi/gl_API.xml
|
19064f818a4a5124fe52de1cee79e84372da172b |
04-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added an option texture_heaps that allows selecting which texture heaps will be used. Implemented this option in the Savage driver. On my ProSavageDDR uploads to AGP memory are about 1.5 times as fast as uploads to card memory. On non-IGP hardware the difference may be even bigger. Now mplayer -gl is getting really usable.
rivers/dri/common/xmlpool.h
rivers/dri/savage/savage_xmesa.c
|
cbff5db516f58304fbc24ae2c4653f426ef68947 |
04-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Made subtile upload a template. This speeds up tiled texture uploads by about a factor 1.3.
rivers/dri/savage/savagetex.c
|
64b85b456384c22834749a278d073eefd3056611 |
03-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Use all texture heaps in a fair way when textures need to be kicked in order to make room for new textures. In particular this fixes texture trashing on the first heap when the second heap is occupied by currently unused textures (observed with Torcs and the Savage driver). Heaps are weighted by their sizes by default but drivers can override these and apply their own weights based on relative texture upload speeds to the respective heaps.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
|
9ea600ff3ffcddbb1431e478ae24517672d32423 |
03-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Removing some trash and disabling fog fallback as it seem its causing more harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway...
rivers/dri/r300/r300_render.c
|
fe58074deac37d2a3601164857275d8ffd9babeb |
03-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Changing vb code to handle inputs correctly.
rivers/dri/r300/r300_fixed_pipelines.h
rivers/dri/r300/r300_render.c
|
c326f9ffae6992ceb499106518f7d8661c50fa81 |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Start beginning of pixel shader generator..
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
54b03eefda5288d96f5f9bf46b7b3ed74e27566b |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Forgot to increase the length.
rivers/dri/r300/r300_fixed_pipelines.h
|
d26e464b6ab391be93f7c7cef8193f6e1567e0cf |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Looks like we need at least one instruction for pixel shader.
rivers/dri/r300/r300_fixed_pipelines.h
|
4c56261075500d7434e24fb47bf5b1a0196b2b11 |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get vertex programs supplied by the user work properly with immediate mode - vertex buffer mode worked by accident. Fix alu_offset in SINGLE_TEXTURE_PIPELINE.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_fixed_pipelines.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
19b260119a8ef78bbe1815d8011ff64a22208b3d |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Since high bits can be used for flags, mask them out. This stops arbvpwarpmesh from segfaulting and it actually works - with immediate mode rendering.
rivers/dri/r300/r300_vertexprog.c
|
3f0926b612ca2aaf7a38c2b0ac9a48baa0d7502d |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Remove redundant instructions from fixed pipelines, looks like they do not do anything, at least on my hardware.
rivers/dri/r300/pixel_shader.h
rivers/dri/r300/r300_fixed_pipelines.h
|
cb085044c9e09742187bb5a1060473bbf03f1e13 |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Mark ZBIAS definitions.
rivers/dri/r300/r300_reg.h
|
f350617c24470f4b5ef4305e2951f8b9c07bb210 |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
This was too optimistic sorry - all that register does is something weird with polygon culling.
rivers/dri/r300/r300_state.c
|
f46de6f23b93cdcae5c33a5c107a3c1578cb9ed1 |
03-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get Polygon offset fill to work. Make WARN_ONCE message more informative.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
94a20cbadfb5266d1acbb0597dba16aacfa1fe32 |
03-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Added a bunch of extensions that were previously supported but weren't in the gl_API.xml database. Add "official" support for SGI_color_matrix and SGI_texture_color_table. These were previously supported only by way of ARB_imaging.
lapi/gl_API.xml
|
eba5b610b9d0c782e669efafa7ee1b785ce3254d |
02-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Check for heap == NULL before driSetTextureSwapCounterLocation.
rivers/dri/savage/savage_xmesa.c
|
2eb9e67a5a53eeb386aaafb42e382c73c3873a4d |
02-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Don't try to kick textures from a NULL tex heap.
rivers/dri/common/texmem.c
|
8b21166c142392f8b9f12fa6400a4598d66714b3 |
02-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed flushing of client-side vertex buffers.
rivers/dri/savage/savageioctl.c
|
1a141b916123e147f3677babad3bdf4bbcad4e42 |
02-Feb-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed some debug output that was unconditionally enabled.
rivers/dri/savage/savagetex.c
|
6286dda286515790daa8b827e5de43b548a4ff68 |
02-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clamp viewport against ctx->Const.MaxViewportWidth/Height instead of MAX_WIDTH/HEIGHT
ain/matrix.c
|
1a1c49f8a6b0e46c1b551409534b3e2ebbbb401d |
02-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Changed parts of r300_setup_routing to use WARN_ONCE.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
3fec8c24ec14a5e07953828beba7e03d6367ae34 |
02-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Small refactor. Add glXFunctionIterator, which derrives from glFunctionIterator and is used by GlxProto. The difference between the two iterator classes is that glXFunctionIterator skips functions that the GLX protocol code does not care about. Replace all the remaining occurances of glParameter::p_count_parameters and glFunction::count_parameters with the count_parameter_list. Add GlxProto::size_call to generate the C code to calculate 'compsize'. These trivially modify the generated code.
lapi/glX_XML.py
lapi/glX_doc.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_XML.py
|
6b158a7d23b8d2c290589a53d604f2e50d435922 |
02-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add a missing break and a reminder.
rivers/dri/r300/r300_vertexprog.c
|
b5c90ca7d9f4437e8d4ce4dda24aa1147f6a8ea3 |
01-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Implement appropriate src checks for attribs/params.
rivers/dri/r300/r300_vertexprog.c
|
b5128c6e82cd2af564d2c161ffef28dcefd03549 |
01-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Implemented bunch of ops.
rivers/dri/r300/r300_vertexprog.c
|
7bccfa10269f228844d65ee198414970ad8cc881 |
01-Feb-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Vertex programs work now with some restrictions. I expect arbvptorus to work correctly when normals are delivered. Please note that some programs only start in vb mode as there is something wrong in immediate mode vb code.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
5dd4030e761d1c880e0860ba0d5173e8272da8d0 |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Make WARN_ONCE messages more informative.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
|
6d419feec75ab30fde2033db8d99b65da41cc4fe |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Reduce noiseness of the driver.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/radeon_span.c
|
88e155e353cfa8fb7531c01c0187d74576e27631 |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get alpha in textures to work properly.
rivers/dri/r300/r300_fixed_pipelines.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
d4697b0997a56df21105005dc1536173576a424c |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Properly set ABLEND and CBLEND registers. The older code worked, but by accident.
rivers/dri/r300/r300_state.c
|
4a3c6095fcf6900ddb7a8f1110de4b4162673356 |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Looks like we can define FIRE_VERTICES correctly.
rivers/dri/r300/r300_state.h
|
0ab7fb56f58689474920cfd7ebd20829921c2df1 |
01-Feb-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
It helps to print actual values instead of random ones.
rivers/dri/r300/r300_texstate.c
|
c2803587b6f2533514e1cfa9793d0a448e9c2c85 |
01-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Small refactor. Move several utility functions from glX_XML.py to FilterGLAPISpecBase (in gl_XML.py). When these functions are used to emit common #define lines, the will automatically be undefined in FilterGLAPISpecBase::printFooter if header_tag is set (i.e., the file is a header file). These changes do not modify the generated code.
lapi/glX_XML.py
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_XML.py
|
ba09c19ed65051cd9244c8a5ff380d08e7db1aed |
01-Feb-2005 |
Ian Romanick <idr@us.ibm.com> |
Add GlxProto::createEnumFunction and add a 'context' parameter to the glXEnumFunction constructor. The allows sub-classes of GlxProto to over-ride the concrete class used for glXEnumFunction. In addition to tracking p_count_parameters in glParameter, break the comma separated list of parameter names into a Python list called count_parameter_list. It is now possible to query if a name is the name of one of the count parameters just by comparing param.count_parameter_list.count(n) to zero. Eventually the remaining uses of p_count_parameters will be replaced with uses of count_parameter_list. Make sure that 'void *' parameters are handled correctly in glParameter::size_string. Add PrintGlxReqSize_h and PrintGlxReqSize_c. These classes emit prototypes and functions used on the server-side to determine the expected size of an incoming GL command.
lapi/glX_XML.py
lapi/glX_proto_size.py
lapi/gl_XML.py
|
886280763c8dfa7202bdacdeacf84ced69609b98 |
01-Feb-2005 |
Adam Jackson <ajax@freedesktop.org> |
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
rivers/dri/Makefile.template
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
rivers/dri/gamma/gamma_lock.h
rivers/dri/gamma/gamma_macros.h
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.h
rivers/dri/mga/mga_xmesa.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.h
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_pixel.h
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_vtxfmt.h
rivers/dri/s3v/s3v_lock.h
rivers/dri/s3v/s3v_macros.h
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_common2.h
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.h
|
e61c8a5c6305d67ede3f69fd3ac83b3d196908ff |
31-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add magic sequence to prevent ClearBuffer from locking up. Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
|
9c1773e505307140f78eae139060feff09f9bc4f |
31-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL). This fixes segfault in tuxracer-demo. It locks up after this though.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
|
15f108335aa315cf576fd02bc9294d690b072329 |
30-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
My bad, the old code works fine if updated to newer Mesa tree.
rivers/dri/r300/r300_vertexprog.c
|
0cd936c01ff0c65f58cf8c4e5b7200879de4a9f3 |
30-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
struct ati_fragment_shader was not defined anywhere, define it to get r300_vertexprog.c to compile.
rivers/dri/r300/r300_vertexprog.c
|
b55117042fb0efbff17931af5d4b38e6b28d06af |
30-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix max viewport query
ain/get.c
ain/get_gen.py
|
29d021cd31faa1d3892122e2ed2d4753a9e92c27 |
30-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix for compiler warnings.
rivers/dri/r300/radeon_screen.c
|
3aa69b39bf9a79f97f1e049e3a8429cdfc4389f4 |
30-Jan-2005 |
Dave Airlie <airliedfreedesktop.org> |
add number of passes count to ati_fragment_shader
ain/mtypes.h
hader/atifragshader.c
|
5ff53cb448aa8dcf752ceaa9eb47a7c8a9c3ab0c |
30-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
* Fixed uploading of textures of certain sizes. * When glTexSubImageND is used, track the set of changed tiles in a bit vector and upload only dirty tiles later. This should improve the performance of dynamic light maps and gl movie player plugins. * Renamed debug item "lru" to "tex". Indicate which levels are uploaded completely or partially.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
|
9ff3c49ef2390d79f6a0bdd03af54ae4b02ba3d2 |
29-Jan-2005 |
hmarson <hmarson> |
Added 0x4e54 (Thinkpad r50p) as PCI_CHIP_RV350_NP
rivers/dri/r300/radeon_screen.c
|
941d6b008fbfef4f98a98198fe270e2f5e53ee9e |
29-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Beginings of program generation. This code havent been tested nor hooked up.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_vertexprog.c
|
3bde211549b3a819c33793fb87f80121d0f028f2 |
29-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove stray span.y++
wrast/s_bitmap.c
|
58f4d67703381003c23fecbd3fe114ef9d1730c3 |
29-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix initial viewport size bug
rivers/osmesa/osmesa.c
|
fbb478c946cc78177164a63e50ae1d7dbeee5e08 |
29-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Cleaning up.
rivers/dri/r300/r300_vertexprog.c
|
16c3c7401846bbc7c300e6a9b433584ec5b68699 |
28-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Refactor the code to emit multiple-inclusion protection to FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be used to generate multiple header files, add an option to specify the define that is used for multiple-inclusion protection. The changes to the header files in this commit are just a side-effect of the changes to the Python scripts.
lapi/Makefile
lapi/glX_proto_send.py
lapi/glX_proto_size.py
lapi/gl_XML.py
lapi/gl_offsets.py
lapi/gl_table.py
lapi/glapioffsets.h
lapi/glapitable.h
|
8d27148bbd13fbc8192f9c5aeeb9b39b92f1045d |
28-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
move file
hader/slang/library/slang_common_builtin.gc
hader/slang/library/slang_core.gc
hader/slang/library/slang_fragment_builtin.gc
hader/slang/library/slang_shader.syn
hader/slang/library/slang_shader_syn.h
hader/slang/library/slang_vertex_builtin.gc
hader/slang_common_builtin.gc
hader/slang_core.gc
hader/slang_fragment_builtin.gc
hader/slang_shader.syn
hader/slang_shader_syn.h
hader/slang_vertex_builtin.gc
|
54584df8cc0e663d931de0576a967ffec7fd3ce4 |
28-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Properly annotate variable-length output parameters. Make sure that the client-side code doesn't try to calculate the size of the output parameters. The server will tell the client how big it is.
lapi/glX_XML.py
lapi/glX_proto_send.py
lapi/gl_API.xml
|
20b8d9c1b927f30390093750af0f4008adbfa5cf |
28-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can be parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
lapi/gl_API.xml
|
fdb0527ddce8eb2927631d4fbf38e6625b0af8b1 |
28-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Slightly modify the meaning of the 'handcode' attribute in a 'glx' element. The attribute can now take one of 4 states. "false" (the default value) means that no handcoding is required for the function. "client" means that the function must be handcoded on the client-side only. "server" means that the function must be handcoded on the server-side only. "true" menas that the function must be handcoded on both the client-side and the server-side. Version 1.14 of glX_proto_send.py accidentally contained a line of this change.
lapi/glX_XML.py
lapi/glX_doc.py
lapi/gl_API.xml
|
1fca5632325e1da42e278909e404dd57e0a62252 |
28-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Add an option to emit extra debug code in the generated protocol functions. The debug version of indirect.c has proven very helpful during the development of new client-side and server-side GLX protocol code. This is put here instead of in the DISPATCH and DISPATCH_RETURN macros in dispatch.c for two reasons. 1. I only want the debug information when indirect-rendering is used. 2. Functions that require a reply from the server, some of which do not have a return value (e.g., glFlush, glFinish, glGetLightfv, etc.), do not need the extra glFinish call.
lapi/glX_proto_send.py
|
b365d286278a0864e771c17ba6fdec8c3a77689a |
28-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fix wrong comment.
rivers/dri/r300/r300_vertexprog.c
|
e451a95ecc1eef2eddd732f157ad8a663ba406dc |
28-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Forgot one comment...
rivers/dri/r300/r300_vertexprog.c
|
f856b3f10f5c0feb5243d3f78c733099f47e1c54 |
28-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add basic sceleton for vertex programs + some other fixes
rivers/dri/r300/Makefile
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
rivers/dri/r300/r300_vertexprog.c
|
6398a97affb8d2dde90dd77cb65aef8e9827e63d |
27-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Mark a couple more function parameters as counters.
lapi/gl_API.xml
|
82e22f50f1e1640d60dbe243ea093960aa682be1 |
27-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Add numerous 'get'-type functions to most of the enums supported by the server-side GLX implementation. Correct the protocol for EXT_convolution. Several functions were incorrectly listed as 'sop' that should have been 'vendorpriv'. Remove TexParameter[if]v from the list of functions associated with TEXTURE_RESIDENT. The state associated with this enum is read-only. Sort the enums by value for each particular size. This ensures that the signature is the same no matter what the ordering is of the enums in the XML file. The side effect is that there are some extra changes in indirect_size.c.
lapi/glX_XML.py
lapi/gl_API.xml
|
d77359822443a323827c5259a44c43f4e179c030 |
27-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add vector distance operator for vertex programs.
rivers/dri/r300/r300_reg.h
|
5aa6dc329b983b95071700c3af9353e3b35454d9 |
27-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
The 'mode' setting of a function within an 'enum' element is now used. Parameters to glX_proto_size.py are now used to determine whether to emit either get-type function, set-type functions, or both. When only get-type functions are emitted, they can optionally alias set-type functions. This would be useful if, for example, the two types were in different source files. The real work to implement this is in SizeStubFunctionIterator class. All of the logic for which functions to iterate and in which order is implemented there.
lapi/Makefile
lapi/glX_XML.py
lapi/glX_proto_size.py
|
a205137423e42010a025c70b05af98a6c0564f28 |
26-Jan-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
(Stephane Marchesin, me) Add support for color (framebuffer) tiling to the radeon and r200 driver
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
7104ce0a0e8f25bf097ad695d007b1a4b3e5d051 |
26-Jan-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
new version check to allow to test for a range of ddx major versions, instead of just one major version
rivers/dri/common/dri_util.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
|
914746b400abd85b5e416ef9e212604b68743de0 |
26-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove a bunch of temporary #defines, now that glext.h was updated
ain/glheader.h
|
0cbc25480f3108a9a49277d57ba2b9e2332d3ccd |
26-Jan-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
replace magic number with macro constant RADEON_ZBLOCK16
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/server/radeon_reg.h
|
8f029f175e839e10f1fa5cadd35ea015eae59d7f |
26-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just comments/clean-up
ain/depth.c
ain/depth.h
|
7c58a00a5052f2cba6316ee4d33ad49b11c2e050 |
26-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added mutex to-do comment
ain/texobj.c
|
d01292bc546b8ea4beacffa6aa466d51478d371a |
26-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
just fix a comment and update date
ain/texformat_tmp.h
|
b07390c8fddfc88016a9fcb2d46b9fc3c918685b |
26-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha channel, instead of 1.0F
ain/texformat_tmp.h
|
38e6e09cb86ef0bfea87a907def49f00af67fd8f |
26-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Add a glFunctionIterator class to iterate over the functions stored in a higher-level API object. Use this type of object to implement the printFunctions method. Modify other functions that iterate over the list of functions to use this type of object.
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_procs.py
|
e4d41524a229aa1e0788668b28151125b9c6581e |
25-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Fixes for clamp modes.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
f106493d8b9ee3575a0eea8a33eab1c22f2f3abf |
25-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use the _mesa_HashNextEntry() function to walk over all textures in the hash table. Moving toward removing the gl_texture_object's Next pointer (only used by glide and tdfx drivers).
rivers/glide/fxtexman.c
|
01ec76dbd56a3f2137603db1acbc3782b4d0cfb4 |
25-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Stupid text editor...convert wayward tabs to spaces.
lapi/gl_API.xml
|
85f0fa3761f8673ef48e46e0670ac816a34f000a |
25-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Add a "count" attribute to "enums" elements to set the default count used for "size" sub-elements. In the future the "count" attribute may be removed completely from "size" sub-elements, so gl_API.xml was also updated. Support was added for a (currently unused) "mode" attribute for "size" elements. Basically, functions are marked as either "get" or "set". This will be used in generating size functions for the server-side (where the "get" functions have to know how much data to return). It could also be used to help generate code for src/mesa/main/get.c.
lapi/glX_XML.py
lapi/gl_API.xml
lapi/gl_XML.py
|
cb59bd44dbf0e56058dbb4595ca7fbbbacbd3670 |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Correctly set the name of the generating script.
lapi/glX_proto_size.py
|
00772ac42f0f7201d37d1d3bfb2f0b6f9623dfbc |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Move all the code for generating "size" related functions to its own source file.
lapi/Makefile
lapi/glX_proto_send.py
lapi/glX_proto_size.py
|
ad15f1bdeadd5370fba445b6565d60d8824101c8 |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Correct some of the dependencies and clean things up a bit.
lapi/Makefile
|
5ff2b94630e89da1586628f14eb869b513071154 |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Remove glEnum::startElement, but refactor out some of the common code from there and glXEnum::startElement to glEnum::process_attributes.
lapi/glX_XML.py
lapi/gl_XML.py
|
0246b2a5c0f45788a5c418d62ccf5a3a72d16d4a |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Since only one of the places that used glXFunction::command_payload_length actually used both values, it was refactored into command_fixed_length and command_variable_length. glXFunction::offset_of_first_parameter was also added.
lapi/glX_XML.py
lapi/glX_proto_send.py
|
7f958e9e11badab294339c8b83e7b2e58f7dfe21 |
24-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Make sure that functions added to gl_API.xml that do not have any GLX section are marked as ignored. Also ignore any functions that don't have assigned dispatch offsets. Fold Adam Jackson's changes to indirect_size.c into the generator scripts so that they don't get lost. "DO NOT EDIT" really means "DO NOT EDIT". ;)
lapi/glX_XML.py
lapi/glX_proto_send.py
|
f9f2db513211809bd7c6c5c9f5252444f2c5066e |
24-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
border_color causes lockups with vertex buffers. Disabling for now.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
d7d54423a850aeefb07c131a9cc3dbbd5244468c |
24-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Remove lots of old code that dealed with "magic" texture formats.
rivers/dri/r300/r300_state.c
|
428a5e82fc41689d1737d34560b10d921f28b98b |
24-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Converted the Savage texture management to use Ian's common texmem code.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
|
c74ffb8266dc55914cba6a37143b38b5fd05b01c |
24-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added _mesa_HashNextEntry() function to allow walking over all entries in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc.
ain/hash.c
ain/hash.h
|
72e3664996721263858f3096e4a618a406550402 |
23-Jan-2005 |
Dave Airlie <airliedfreedesktop.org> |
reapply Keiths workaround for zbs emit that got dropped during state change patches....
rivers/dri/radeon/radeon_ioctl.c
|
0b5a5a9efb7eebe41012f95122a4914285650f55 |
23-Jan-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Remove unused variables from r300_context
rivers/dri/r300/r300_context.h
|
4ced594aa82aa5aeb52655cd38a9292313560064 |
23-Jan-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Fix more warnings and compilation issues.
rivers/dri/r300/r200_context.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_context.h
|
cb77dcf0b98b22503c10190edae7f5600f732c0f |
23-Jan-2005 |
Nicolai Haehnle <prefect_@gmx.net> |
Synchronize r300_reg.h. Fix unportable whitespace before preprocessor commands.
rivers/dri/r300/r300_reg.h
|
150ed2e43d5541556d282cae728cebeec692e07a |
23-Jan-2005 |
Dave Airlie <airliedfreedesktop.org> |
add sync debugging to the radeon driver
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_texmem.c
|
e82d5f2be944b1b4cbdfa5d531657766d427a34f |
23-Jan-2005 |
Adam Jackson <ajax@freedesktop.org> |
silence makedepend warnings about non-portable whitespace
rivers/dri/s3v/s3v_common.h
rivers/dri/s3v/s3v_macros.h
rivers/dri/s3v/s3v_tex.h
|
8736c228cb20e5e62cff01ae86c300633d607bad |
23-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed initialization of draw destination to front buffer on single buffered visuals. Also don't change span draw/read buffers in savageDDDrawBuffer. Now glean's polygon offset test works (and PASSes with fixed point depth buffer) with single buffered visuals without winding up in an infinite loop.
rivers/dri/savage/savagestate.c
|
3b50f004333a922a259a4f733395c27002965ded |
23-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
My last attempt to fix polygon offsets with the reversed viewport depth range used by the savage driver by negating ctx->MRD broke polygon offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets for hardware rendering but not for software fallbacks. For software fallbacks depth values are reversed after polygon offsets have been applied by the depth span functions.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetris.c
nl_dd/t_dd_tritmp.h
|
36a35c5614336bffdac4827c1e04bcaa8ab2fa27 |
22-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Determine ahead of time whether a display list will include vertices which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems.
ain/dd.h
ain/dlist.c
ain/mtypes.h
nl/t_context.h
nl/t_save_api.c
nl/t_save_api.h
nl/t_save_playback.c
|
8fca9bdc35bfb5220012cfa5041504b0a05d2440 |
22-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Properly configure routing - based on advice by Keith Whitwell.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
f4cafc8d13ed196388bfb27edeccdf3a67cec046 |
22-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed polygon offset with reversed viewport depth range.
rivers/dri/savage/savage_xmesa.c
|
4ac53aed6c3f217d44e60b5004d3424b0e034e3e |
21-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Properly input stencil info contributed by Wladimir.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
308fbb7b64c9adb73bd1f875e75b7842c6093987 |
21-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add getstring.c; remove arb*.h nv*.h stuff
ain/main.dsp
|
8346c5ee1d545c129d4f271b9c08ea132dea7482 |
21-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add slang/traverse_wrap.h
hader/shader.dsp
|
b39665950e7eadc691065b9955bb97c32cf7beef |
21-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
Handy TIntermTraverser class wrapper
hader/slang/traverse_wrap.h
|
e51b0b1d3072719090f8df3c6673d99fbbbf5a73 |
21-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence the 'using AGP/PCI' string unless VIA_DEBUG is used.
rivers/dri/unichrome/via_fb.c
|
fa15f6c840bcab5a37e42bca4b80668024352c98 |
21-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Small cleanup: * Remove some unused (mostly empty) functions * Added context parameter to WAIT_IDLE_EMPTY[_LOCKED] for consistency * Added debug messages to WAIT_IDLE_EMPTY[_LOCKED] * Don't flush empty command buffers
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
677d1d07c41050e7474f44c592641b14ffd73e8c |
20-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
* Added options for disabling the fast path (render stage) and vertex DMA * Fixed disabling of the render stage * Added debug output for per-primitive fallbacks * Bumped driver date
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagetris.c
|
edb9a165c14bd90938340a74a636ac5f65ac4c35 |
20-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added support for ELTS to the _savage_render_stage. Requires at least Savage DRM version 2.2.0. Otherwise the render stage is disabled.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagerender.c
|
ddfa61ee194b9d4ec88d499c71cd6810e7f6a022 |
20-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Enclose passed macro values in brackets to ensure correct read/write span values.
rivers/dri/gamma/gamma_span.c
rivers/dri/i810/i810span.c
rivers/dri/intel/intel_span.c
rivers/dri/mga/mgaspan.c
rivers/dri/r128/r128_span.c
rivers/dri/sis/sis_span.c
rivers/dri/unichrome/via_span.c
|
ea2943efd95c0760a5423236ed37655d863b8a5e |
20-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update glDeletePrograms/Buffers() so that the ID is freed immediately, like texture objects.
ain/bufferobj.c
ain/mtypes.h
hader/atifragshader.c
hader/program.c
|
10378919d76a6ad4bc4fbb921424807cb469d791 |
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed gl_texture_object's DeletePending. Changed a comment.
ain/mtypes.h
|
42fee73aadd7f37a4f18e57c167e98b7a6294508 |
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change behaviour of glDeleteTextures as discussed on ARB list. glDeleteTexture makes the texture ID immediately free for re-use while the actual texture object lingers until its reference count goes to zero (when no longer bound by any rendering context).
ain/texobj.c
|
140f99f81cf801ac4ea69fa4da3e9648da3b1046 |
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make sure the new instruction Data pointer is set to NULL
hader/arbprogparse.c
|
7948bc02ed3e2a95eb31c6d60e6c019d1f40ccdb |
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a typo
hader/arbprogparse.h
|
4ef0e046ec66d1f54e24d32c7c1a857ba14bdaf7 |
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor formatting fix
hader/arbvertparse.c
|
2aa34ea98430047e28b4ac47d09421d53c4b77a2 |
19-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Bring the texcombine fixes to the trunk.
rivers/dri/unichrome/via_3d_reg.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_texcombine.c
rivers/dri/unichrome/via_tris.c
|
bdb5725bab0fdfffb20bbfb4f2c3d7aa3482c1bc |
19-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Always use ARGB8888 hardware texture format when mesa specifies MESA_FORMAT_ARGB8888. Previously attempted to use ARGB0888 under some circumstances, but glean failed and demos/texenv.c was also incorrect.
rivers/dri/unichrome/via_texstate.c
|
c98323bd896d51d1ad91b46e73e6eeebcfe78c4f |
19-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
make sure we avoid assertion failure wrt VB->ColorPtr[1]->stride
rivers/glide/fxvb.c
|
59c2e16e755c0cba78b27525681cd79456a2f496 |
19-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
There is no point trying to detect SSE at all, when MESA_NO_SSE is defined. I am committing this because the current WIN32 SSE detection code crashes UnrealTournament2003.
86/common_x86.c
|
c47d19a1a2f42df3131d5e9e41cb2d4be2fbd417 |
18-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor reorg of shader files, disable building for now
ources
|
41db4e1be580bc9cd310f7e517fd8b07c29919c2 |
18-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove some debug
rivers/dri/unichrome/via_tris.c
|
95be63771aa798b0492fd337161ba6f192d7c7c9 |
18-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests)
rivers/dri/unichrome/via_tris.c
|
4cfd97e3a8e6fcfe4d07afe6526c04f11f7e5181 |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
remove #ifndef linux, it isnt defined on Linux, where should I define it?
hader/slang/OSDependent/Linux/osinclude.h
|
c57a312978fa6873b07537204a74af5efbcb8470 |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
comment out _THROW calls, dont want to compile under Linux
hader/slang/slang_mesa.cpp
|
fa32c92ea569babc7771b01201fe5cab2cd5e38e |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add shader/slang/slang_mesa.cpp
ources
|
a885c7a6e086fb4c96aac2fd64fa2a01114cf5df |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
change .cc suffix to .cpp
akefile
|
619f006bba9035204b84bb842c9630c2292fd950 |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add slang preprocessor C sources; add slang include directories
ources
|
955190fbad82d760e397bd3dcc335da0c6ef4b34 |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
fix // comments
hader/slang/MachineIndependent/preprocessor/atom.c
hader/slang/MachineIndependent/preprocessor/atom.h
hader/slang/MachineIndependent/preprocessor/compile.h
hader/slang/MachineIndependent/preprocessor/cpp.c
hader/slang/MachineIndependent/preprocessor/cpp.h
hader/slang/MachineIndependent/preprocessor/cppstruct.c
hader/slang/MachineIndependent/preprocessor/memory.c
hader/slang/MachineIndependent/preprocessor/memory.h
hader/slang/MachineIndependent/preprocessor/parser.h
hader/slang/MachineIndependent/preprocessor/preprocess.h
hader/slang/MachineIndependent/preprocessor/scanner.c
hader/slang/MachineIndependent/preprocessor/scanner.h
hader/slang/MachineIndependent/preprocessor/slglobals.h
hader/slang/MachineIndependent/preprocessor/symbols.c
hader/slang/MachineIndependent/preprocessor/symbols.h
hader/slang/MachineIndependent/preprocessor/tokens.c
hader/slang/MachineIndependent/preprocessor/tokens.h
|
092af29ea18723558a194e20375dce6e53a06bd8 |
18-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
fix MAX_VERTEX_ATTRIBS_ARB query
ain/get.c
ain/get_gen.py
|
af72b4dd8e7f752786ae785795c726c2aada6ae8 |
18-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix calculation of last_count in _tnl_wrap_buffers()
nl/t_vtx_api.c
|
7443c2caa6313bbc1655a41e25a192c8ad88817a |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added rule for compiling C++ sources
akefile
|
db99b8b29dc392097463e06a6dd5933c1c8f6058 |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add slang/ directory tree
hader/shader.dsp
|
ea28a5b5b30658771ce3da210e534d449be56805 |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use FABSF(fogCoord) to fix fog calculation problem (Soju Matsumoto)
wrast/s_fog.c
|
7d079fd7802763efd8c2d8856117b5df0b3a14e4 |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
2005-oct-19 3dlabs slang compiler, tweaked a little bit
hader/slang/Include/BaseTypes.h
hader/slang/Include/Common.h
hader/slang/Include/ConstantUnion.h
hader/slang/Include/InfoSink.h
hader/slang/Include/InitializeGlobals.h
hader/slang/Include/InitializeParseContext.h
hader/slang/Include/PoolAlloc.h
hader/slang/Include/ResourceLimits.h
hader/slang/Include/ShHandle.h
hader/slang/Include/Types.h
hader/slang/Include/intermediate.h
hader/slang/MachineIndependent/Gen_glslang.cpp
hader/slang/MachineIndependent/Gen_glslang_tab.cpp
hader/slang/MachineIndependent/InfoSink.cpp
hader/slang/MachineIndependent/Initialize.cpp
hader/slang/MachineIndependent/Initialize.h
hader/slang/MachineIndependent/IntermTraverse.cpp
hader/slang/MachineIndependent/Intermediate.cpp
hader/slang/MachineIndependent/MMap.h
hader/slang/MachineIndependent/ParseHelper.cpp
hader/slang/MachineIndependent/ParseHelper.h
hader/slang/MachineIndependent/PoolAlloc.cpp
hader/slang/MachineIndependent/QualifierAlive.cpp
hader/slang/MachineIndependent/QualifierAlive.h
hader/slang/MachineIndependent/RemoveTree.cpp
hader/slang/MachineIndependent/RemoveTree.h
hader/slang/MachineIndependent/ShaderLang.cpp
hader/slang/MachineIndependent/SymbolTable.cpp
hader/slang/MachineIndependent/SymbolTable.h
hader/slang/MachineIndependent/glslang_tab.h
hader/slang/MachineIndependent/intermOut.cpp
hader/slang/MachineIndependent/localintermediate.h
hader/slang/MachineIndependent/parseConst.cpp
hader/slang/MachineIndependent/preprocessor/atom.c
hader/slang/MachineIndependent/preprocessor/atom.h
hader/slang/MachineIndependent/preprocessor/compile.h
hader/slang/MachineIndependent/preprocessor/cpp.c
hader/slang/MachineIndependent/preprocessor/cpp.h
hader/slang/MachineIndependent/preprocessor/cppstruct.c
hader/slang/MachineIndependent/preprocessor/memory.c
hader/slang/MachineIndependent/preprocessor/memory.h
hader/slang/MachineIndependent/preprocessor/parser.h
hader/slang/MachineIndependent/preprocessor/preprocess.h
hader/slang/MachineIndependent/preprocessor/scanner.c
hader/slang/MachineIndependent/preprocessor/scanner.h
hader/slang/MachineIndependent/preprocessor/slglobals.h
hader/slang/MachineIndependent/preprocessor/symbols.c
hader/slang/MachineIndependent/preprocessor/symbols.h
hader/slang/MachineIndependent/preprocessor/tokens.c
hader/slang/MachineIndependent/preprocessor/tokens.h
hader/slang/MachineIndependent/unistd.h
hader/slang/OGLCompilersDLL/Initialisation.cpp
hader/slang/OGLCompilersDLL/Initialisation.h
hader/slang/OSDependent/Linux/osinclude.h
hader/slang/OSDependent/Linux/ossource.cpp
hader/slang/OSDependent/Windows/osinclude.h
hader/slang/OSDependent/Windows/ossource.cpp
hader/slang/Public/ShaderLang.h
hader/slang/Public/ShaderLangExt.h
|
cc9ab78158049cee104101c608d4fa8082079214 |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
slang to mesa compatibility, tested only under Windows
hader/slang/slang_mesa.cpp
hader/slang/slang_mesa.h
|
434f622ede0fa8663025fd858d8f445a1bc3f494 |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add 3dlabs_shhandle interface
ain/mtypes.h
|
0a7ea2b0c3a2bab1c548b7a4fd60dde1a9f1760f |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add [.slang] to INCDIR, fix comma in OBJECTS
hader/descrip.mms
|
389e292a1b9fb0fb16e45eb1c922f93f8d3dc94d |
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add src/mesa/shader/slang to INCLUDE_DIRS
ources
|
ff39c65dee231b316acde81ba9be02bb16654999 |
17-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
cleaned up warnings
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
|
714c36c1202cd49c58cf6462afd391fd059b96c2 |
17-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
allow more internalFormat/format combinations (i hope i got it right)
ain/teximage.c
|
d98c47300ad0640f8456caced6f03675de06d3a9 |
17-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
fix compilation error for fx/Mesa
rivers/x11/xm_api.c
|
0a360cfab5a871a6e2c87129a1136f3c8ffc7d63 |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning
hader/arbprogparse.c
|
848ff851575241454935c205eace88e799966563 |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up gl2 structs
ain/mtypes.h
|
fc3028d2c7d72be621545aebd2dafe519c3550f9 |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a bunch of warnings
hader/shaderobjects_3dlabs.c
|
6c58ddae17f63cd14b10d9022baee2ca6346fad2 |
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few warnings
wrast/s_atifragshader.c
|
b4199a1f71a29dc143e7beb0902a06b74fdfe718 |
16-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
added getstring.c
ain/descrip.mms
|
169a723d2ba90f91e3c16f7e186d0ed238da9a65 |
16-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_GetInteger/Float/Boolean/Doublev() are now generated with the new get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.
ain/get.c
ain/get_gen.py
ain/getstring.c
ources
|
c07ec046b7492602f32f9139a13bfcc8db0253c3 |
16-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
make tnl_clipspace_attr->insert field const, to silence warning
nl/t_context.h
|
14aea4a485346ad8241cc3285ac76b7f5a8e70e0 |
16-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
This fixes it but why mipmaps still work? It doesnt look like filter constants in r300_reg.h would define number of levels.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
781d512a0bd58eb2254b2b192240c71823244ff2 |
16-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
I was wrong...
rivers/dri/r300/r300_state.c
|
82d14217362faf9893fd47940981a2c5162cc623 |
16-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Looks like masking masking t->filter isnt needed anymore. texwrap still shows some problems with clamp mode with nearest filtering.
rivers/dri/r300/r300_state.c
|
ad360a81bdc9076cc09f9241176116efdbba43e4 |
16-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added a fast path for emitting unclipped primitives directly to a vertex buffer. ELTS are not supported yet (missing functionality in the DRM). You need at least Savage DRM version 2.1.3, which fixes a bug that screwed up triangle fans and strips. Moved the texture normalization stage to savagerender.c.
rivers/dri/savage/Makefile
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagerender.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetris.c
|
ca710a0a7f0ae7e637e3e73cc4edac0a81f6fe1c |
15-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
On the way to getting stencil working.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
76de160b642aa7eac41db05883a9c6b414d17cb5 |
15-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
On the way to getting stencil and texture formats working. Looks like the matter of texture formats is a lot simpler, with the wrong display in quake explained by the fact that we are not handling texture combine modes.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
b5f49e6f91664a82f2356d667eaa8504ba56b7c0 |
15-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Converted to use spantmp2.h.
rivers/dri/savage/savagespan.c
|
c478a09a5b44fe0aff4851094a00775bf3f33757 |
15-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Use HW_READ_LOCK and HW_READ_UNLOCK in assembler-optimized span read functions.
rivers/dri/common/spantmp2.h
|
dbb3ec35a7acdc795d8d428f2ac35f6167aab464 |
15-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Use symbolic constants to describe pixel shader ALU instructions.
rivers/dri/r300/r300_fixed_pipelines.h
|
ffe7496ac37a61b94c1db676e105fda2c3e6eb18 |
14-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Added fixes for filter modes and support for anisotropy filters. Wrap modes would work perfectly but i messed up something when cleaning up the code :/ Border color code is incomplete because i forgot to check how to set border size :)
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
|
afa05e68b8e0f7a1fac60439218b8b543b0fcf30 |
14-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Enable line stippling.
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
4ccee80190532fc70631331eab66b9e5712adbe9 |
14-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix previously un-noticed issue with flat-shaded points.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
faf96a157df67281ece24fe19a72e7b557e628da |
14-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence a warning
rivers/dri/unichrome/via_tris.c
|
42cfcce8d44d145b8f01ca9de71813608a7f2be4 |
14-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Get PolygonStipple working.. (or seemingly too). It seems to do the right things now given the demos I've used and passes glean's paths test.
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_state.c
|
38595eda3912c29b48b4e5ddef39aab7b7dec17a |
14-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
16bpp doesn't support masked clears, so fallback when they're enabled.
rivers/dri/unichrome/via_ioctl.c
|
96d375c682fdefbd0cfe0cfa26c1d3ef41ebed87 |
14-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Populate WriteMonoDepthSpan in 24/8 modes.
rivers/dri/unichrome/via_span.c
|
52f5ff525b18c360a2b4a2c96609905cacc36391 |
14-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Remove redundant register. Hook up some functions in r300Enable().
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
517ac1bf252de9618a7bfb93732bf2188ed46dac |
14-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Reduce amount of stderr output. Switch to using R300_EASY_TX_FORMAT() macro everywhere.
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
2821b05a0fbe9e3fe4428e71fe03a6bc0f444505 |
14-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Incorporate latest data from Wladimir van der Laan.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
|
d2001bd88ff10b191fa13a84b8d8a77352616fa6 |
14-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Sync with master copy.
rivers/dri/r300/r300_reg.h
|
288114b9db2d6c20e1be06db7664f765dce10159 |
13-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove some dead texture code
rivers/dri/unichrome/via_tex.c
|
a7ab2b2e0b56e64d1d11a811e31309793f6a8caa |
13-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Make sure DMA buffers are released in savageDestroyContext. Usually the DRM would reclaim DMA buffers, but if one process creates and destroys many contexts it can still run out of DMA buffers.
rivers/dri/savage/savage_xmesa.c
|
b1d322a1e76f27a22b4c876ef96655728f4de692 |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix loop for quads-as-triangles.
nl_dd/t_dd_dmatmp.h
|
c06f8cb9e55078b307caf35cb863943cbde45562 |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename via_fastrender_* to avoid confusion with similar functions in via_render.c.
rivers/dri/unichrome/via_tris.c
|
a0371b0b3cdf3901985215d98e265b1a2131455a |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify viaChooseVertexState slightly.
rivers/dri/unichrome/via_tris.c
|
d9af44f358653db808597a838804fbc2dfddbeb6 |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove misleading comment.
rivers/dri/unichrome/via_state.c
|
edd21a6f72d91fa4e50f9e9002619bac9ccb511d |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Typo
rivers/dri/unichrome/via_texcombine.c
|
db19ae89f293282711dd7e1e77b844b4aa6d8ed9 |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Emit constant colors for texunit 1 blending. Change comments and some code to match naming used in the docs.
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texcombine.c
|
436f4bbd62b1470f26f375bbbaa89aae52e8f1eb |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add s_atifragshader.c, s_atifragshader.h
wrast/swrast.dsp
|
7f3e2dac7a5099c1d41f17f190ac19aed3f5e2f7 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
3dlabs glslang frontend
hader/shaderobjects_3dlabs.h
|
302a414b34ec4ebba1c52c1e2491d43cd2e6a391 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
3dlabs glslang frontend, not complete
hader/shaderobjects_3dlabs.c
|
01d38cdf0c4c964fc4d59ebd51444f4638d9747a |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
cosmetic changes
hader/shaderobjects.h
|
6324f73b932bea74329f6f617021e593274e637c |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
implement ARB_shader_objects, not complete
hader/shaderobjects.c
|
8b7cc45f3d218ec125cc9cef72d79c23cd84d829 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add atifragshader.c, shaderobjects.c, shaderobjects_3dlabs.c, atifragshader.h, shaderobjects.h, shaderobjects_3dlabs.h
hader/shader.dsp
|
b05e75bf696e99631c9a56156a3638af50e584d3 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add shaderobjects_3dlabs.c
hader/descrip.mms
|
3d52858c784cebaafc80d51608898ef571fef7b7 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add ARB_shader_objects interfaces, shared and context state
ain/mtypes.h
|
0e85388ba8e54569c14306b5715c5cb1c20b6cb9 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
enable ARB_fragment/vertex_shader
ain/extensions.c
|
9b3752c8ab721325d02759e1292f94ce566aa3ae |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
init ARB_shader_objects subsystem
ain/context.c
|
8f8534f691e92e85053a96bd222603d7bac23100 |
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add shader/shaderobjects_3dlabs.c
ources
|
df14522540365d04e0077a3da5666084aafb68c7 |
13-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
cut out dead texture state code
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texstate.c
|
5bd6a5f2dfe855ad6aabb2126c518245cdc20e37 |
13-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
revert some makecurrent code
rivers/dri/unichrome/via_context.c
|
db93e6165e437ca76c4fecd238e0243c1472a42e |
13-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix glean scissor test
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_state.c
|
d4330fc3223c9809042b3102b3e1551ca58dd404 |
13-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Prevent "disabling 3D acceleration" message from printing - we do not define raster functions anyway.
rivers/dri/r300/r300_context.c
|
d456ef48e5e23bc8c9d90bfe80f781eafe65eb39 |
13-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Incorporate TX_FORMAT information contributed by Wladimir van der Laan. Attempt to use it in r300_state.c We are still missing something and the formats do not quite work. Perhaps something in texture management code ?
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
3ff4eca05c67b2969386db36ee8123fc8a5e55ac |
13-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
As we fallback for polygon stipple on the CLE266 for now, ensure we don't turn on the polygon stipple hardware bit.
rivers/dri/unichrome/via_state.c
|
cce4d5cb700ae700795aad22a12f35b5f1be7ad7 |
13-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Use the faster span read/write template for 16bpp
rivers/dri/unichrome/via_span.c
|
88440d2d7524c64c4db52a93d1952d4ab859e5ce |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't special-case 16bpp for colormask register - not needed.
rivers/dri/unichrome/via_state.c
|
8e5281fbe1a7b9beea77b93a9cdd1e842a3edfa0 |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify usage of drmHash functions and fix bug in __driGarbageCollectDrawables which would get confused while walking the hash values.
rivers/dri/common/dri_util.c
|
0aca086f7a8d13efa548753c6c7836a98719dbde |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
free buffer in t_vertex_c.c on context delete
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_c.c
|
8e46534b3b776f1dd0f96fc6ba5244f16a2868ab |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove bogus write to freed memory (valgrind).
rivers/dri/unichrome/via_context.c
|
118b82145ae94e082c60b7c377ab90266e0ff331 |
12-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check for deletion of currently bound context Other minor cleanups
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
|
7ea2084513d59a26a25c05cf881b7c3313fad30c |
12-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fixes lockups initializing AGP DMA.
rivers/dri/unichrome/server/via_dri.c
|
4676a6ab7b9346e88ad15f5f0a255e4559d5f547 |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Expand out the N(x) macro so that tags can find functions like drmHashFirst(), etc.
rivers/dri/dri_client/xf86drmHash.c
rivers/dri/dri_client/xf86drmRandom.c
rivers/dri/dri_client/xf86drmSL.c
|
2937d403db37e04d9523b8ed268dfc4afac5aec9 |
12-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes and enable agp dma
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_regs.h
|
708e25142b0ce7b01028613481dc43f1e628786b |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add flag to clear texture caches after texture upload.
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texmem.c
|
5ba7d85fea3c3fc687fbd309226a894077afb91c |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't emit HC_SubA_HSPXYOS on CLE266.
rivers/dri/unichrome/via_ioctl.c
|
09ac1d1125d6b69dafc548c24a4175d268c7a7bb |
12-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Allow two GL primitives to be combined to one HW primitive if possible.
rivers/dri/unichrome/via_tris.c
|
26dcb88fb97e2ecea11b5da770c7c6e65f0b790b |
12-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix multitexturing. The multiarb test works now when disabling texunit0/1.
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
a9531eb2c54bbdbedd7f03583d540a32d9fd918f |
12-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
some "safer" type-punning (gcc optimizes float moves with integer moves, anyway).
rivers/glide/fxtris.c
rivers/glide/fxvb.c
|
2a34e66d6aad93af9247d1a7d10da169a731437a |
12-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
OpenGL 2.0 StencilFunc/Op/MaskSeparate functions
86/glapi_x86.S
|
a9e34c68ac0538699a144f67d3ce83ccb8f49be9 |
12-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/dd.h
ain/dlist.c
ain/state.c
ain/stencil.c
ain/stencil.h
|
ff04e50e2e4f423b7d8866b85d299c9acce5fed6 |
12-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Mipmapping and other texture filters now work. Beaware that R300_TX_MIN_FILTER_MASK might be incorrect because i havent been able to confirm that all filters operate correctly. Because of this its also pretty pointless trying to get other features that use filter field to work. Lod bias should also work but have been unable to test it because lodbias test doesnt work.
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
d24e49f301db9612349ed09594e476a8dbc896a5 |
11-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Put quotes around the CC and CXX variables passed to mklib. This make them work with multi-work compiler names (e.g., "ccache gcc").
akefile
rivers/dri/x11/Makefile
|
5b28844dba15c0bcce4c5a9ee9f3ed82d6b90fdc |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix a typo
rivers/dri/unichrome/via_state.c
|
3bd6e3d532d5c4e0d1c7ef17b13d9784589771c4 |
11-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Disable bogus pbuffer code (though this could be revived with a little attention). Correctly advertise FBConfigs with GL_BGRA rather than GL_BGR.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_screen.c
|
5b5e6cc120727a38592d7e4d240ed54f759f446d |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix the calculation of the alpha reference value which negates the need for the big nasty fallback - so I've commented out that code.
rivers/dri/unichrome/via_state.c
|
aac4d8857af31984108896c11ea1ac98b9776b3e |
11-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Temporarily disable pageflipping assert.
rivers/dri/unichrome/via_context.c
|
8e039bf40af71b574bf409b9e145f98a4ce3fe70 |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
uncomment
rivers/dri/unichrome/via_state.c
|
f29aaf80a47e28f03cd60ebba0948961e8a73524 |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix ColorMask
rivers/dri/unichrome/via_state.c
|
cdb65416342d5ca9635685b898c68a76f4a6e862 |
11-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototype _mesa_init_ati_fragment_shader()
hader/program.c
hader/program.h
|
43343913b98d7e113977940bc9c49f9df45add29 |
11-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
aliasing was broken
hader/arbprogparse.c
|
b13eaf269895df3b688e2c014c9fdfb93de48462 |
11-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a big nasty fallback for AlphaTest -- seems to always be wrong on CLE266 because Z values are written even for fragments which fail the test.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_state.c
|
51365b2d0daf0e340074f07b2362896ae9c60a9e |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
fallback on polygon.stippleflag (thanks Keith)
rivers/dri/unichrome/via_state.c
|
94dd520210293750ab6f3094a6a8c67e23f61ef2 |
11-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
applied Keith's patch for "safe" type-punning. made IS_NEGATIVE produce a boolean (useful when xoring with other booleans).
ain/imports.h
|
5358682aa7b8d495c45991fcd750250883e78444 |
11-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix usage of texture units, when TEX1 is enabled, but not TEX0.
rivers/dri/unichrome/via_tris.c
|
0cb0a36d8c0a5c201eece033d331b0f9321abf22 |
11-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get NeHe lesson08 to work. Note: it appears the filtering does not work properly. Need to find place where it is broken and put an fprintf() complaining about it.
rivers/dri/r300/r300_state.c
|
d5432ac584f922527922c6813f39f6caa00b9037 |
11-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Switch back to using immediate mode code - use of AGP space is interfering with texture management. Ideally, r300_render is ready to be rewritten to use standard Mesa include files, but I don't think I'll get around to it.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
864137984a80b2ad2c26d54f9281546b4b43c6ae |
11-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Move the few definitions from r300_lib.h still in use to r300_emit.h. Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos. Remove references to r300_lib.h and r300_lib.c Remove r300_lib.[c,h].
rivers/dri/r300/Makefile
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
086ca3dffbf0003eac20fe5fe6fbcf993c414f0b |
11-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h. This fixes potentially buggy memcpy()'s between potentially different structures.
rivers/dri/r300/r300_state.c
|
dd4837502c5cd22db63fa5be80769074a2eaaedc |
11-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Copy sample pixel and vertex shaders to r300_fixed_pipelines.h
rivers/dri/r300/r300_fixed_pipelines.h
|
86f1439f82e499f1d8de965510a503404426ad9e |
10-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixes to cope with the lack of AGP textures. This is all that's needed to support PCI Savages on the Mesa side. Bumped driver date.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagetex.c
|
9db66a3f9f745267d7ed20f1d6fde0272bd37949 |
10-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fallback on PolygonStipple for CLE266 hardware. Only upload stencil configuration when a stencil buffer exists.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
|
eaf2b170fffbd573ca8482a7dfa30af24f39a4a1 |
10-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Windows/ReactOS patch (Gregor Anich)
86/common_x86.c
|
574f3c7daf755c6b61aee661a1d322e1226d9cbe |
10-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
More changes to cope with color stride == 0
nl_dd/t_dd_tritmp.h
|
a887a44b2da48dfa50b5c19c2be9ebbef79ae2db |
10-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extras
nl/t_vertex.c
|
8c231d2e28fde9e9218da3da74dc431075e6fd3f |
10-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Bring vertex buffer code up to date..
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_render.c
|
6867117b589d46e496886b7cca99c37e6ec5b36b |
10-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
For some reason we need r300Flush when using textures. Perhaps the problem is with BITBLT_MULTI call ?
rivers/dri/r300/r300_render.c
|
5f61c6f21f08be622112630dba2cbdc05e118022 |
10-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Clean up the code and make it unnecessary to issue extra calls to Setup*Shaders in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
8ad31013b2d540645c14f37587ec6b418b865b03 |
10-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
e9acd0ca5f0449588e3772024546e107b1e807c4 |
09-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Implement a more elaborate hashing scheme for texture formats. Still not perfect. Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c. The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
b45ce5c6079afc9be98e2c2ad50897455b33c5bc |
09-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
* Flush and wait in per-primitive fallback functions. Fixes flickering stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible.
rivers/dri/savage/savagetris.c
|
e4499ed2768ab3ba71e45cb724d5d0591d619058 |
08-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added missing break; to fix infinite recursion between choose_emit_func and emit_viewport4_bgra4_st2_st2.
nl/t_vertex.c
|
675b92515ab016038ab47f37d83631fb3713384e |
08-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added state debugging option (SAVAGE_DEBUG=state). Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagestate.c
|
ccaa15a0812f3cdac5669cb315e5e7e9eaba9685 |
08-Jan-2005 |
Adam Jackson <ajax@freedesktop.org> |
Parallel build fix. Multiword variables on the target side of a : get expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.
rivers/dri/r200/Makefile
|
f1481aa2d7fe24dfe03e3c54305e4ed8111aae9f |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add t_vb_cull.c (Bernard Blackham)
ources
|
f0e4f5e5567a91e362cdefce4bca0103ae9d56b4 |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
And fix the obvious bugs in higher-numbered templates.
nl/t_vertex.c
|
ae73b3d5edc1361a666fc83b9d47e461f8dffda3 |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Templatize the fastpaths.
nl/t_vertex.c
|
fa1362241b2e315578040143a9ea1a7facca143a |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add some more hardcoded fastpaths.
nl/t_vertex.c
|
5fff0c135da68f58914b926cb73c21d9a6620045 |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Cope with the possibility that incoming vectors may have count < VB->Count. Remove code to deal with the (should-be) impossible situation of null input vectors.
nl/t_vb_texgen.c
|
5911d8731564e6bdadcb011b949dd6cde5b46f64 |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the 'to' vector to determine the loop count.
ath/m_copy_tmp.h
|
e0be62e2c53991986ac5aa8caab285c55045cb6c |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove -C flags for install which aren't universally supported.
rivers/dri/Makefile.template
|
85243b8120c1a61c88e57b578ea927c322a5170b |
07-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed: ptex drawing functions were overridden with standard drawing functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set.
rivers/dri/savage/savagetris.c
|
b3d772bd9a09cfdcfbbf31c54d888d88311318ee |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a clean target to remove generated files.
86/Makefile
|
5cd24d4dc2dc8520a60b61fc696a899062de6e5c |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a noop install target
rivers/dri/dri_client/Makefile
|
8764441b58a2490600494a30ad40645982bcbbaa |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Improve the semantics of the 'install' target to make sure the right file is really being installed. Useful if you have multiple versions of a single driver directory hanging around and want to switch between them for testing.
rivers/dri/Makefile.template
|
000dd4afe2f4bad50101da6882354ea67444aeb2 |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add an install target
rivers/dri/Makefile
|
1837dda4d868b65441062942ec27ce8dd56e12bc |
07-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Make clean in the x86 directory. Propogate 'install' target down to dri driver directory.
akefile
|
a11659adaf95d68ec03aed89ad59f344ad0dd567 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Use GNU AS label aliasing, if available. This must be enabled by adding '-DHAVE_ALIAS' to DEFINES in the config file used for building. On the linux-dri-x86 build, this cuts 4KB from libGL.so. HAVE_ALIAS is not currently enabled in any of the configs.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
0f34f3efb894fb78c293e94cd51fe20a65cf9ae4 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Script to generate rough GLX protocol documentation (as might be seen in an extension spec). It's not perfect, and it doesn't support certain functions that other scripts here can (e.g., pixel functions). However, it is a good start and has already proven useful to me.
lapi/glX_doc.py
|
a285acbbef997d223de819e960d55724f52757d4 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Track the GLX protocol names for GL types.
lapi/gl_API.xml
lapi/gl_XML.py
|
5f1f229f8da255ca9b390da1757ad781978cf619 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Pixel oriented render functions are now generated by the glX_proto_send.py script. This eliminates ~600 lines of non-generated code. With proper compiler optimization settings, it also decreases the size of libGL.so by about 3KB.
lapi/glX_XML.py
lapi/glX_proto_send.py
lapi/gl_API.xml
lapi/gl_XML.py
|
3385d7cec3308129f6f1fc5990023417e4e4be47 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
The generic_*_byte functions did not rount the command size to a multiple of 4 correctly in some cases.
lapi/glX_proto_send.py
|
7e3379b1a0f1837e432323f60885e5c8e38c2699 |
07-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
Revert some accidental cross-merge changes. Remove i915GetString. Migrate a couple extensions that appeared in both device-specific card_extensions strings to the shared one.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
1f98ee90228aa56df207cdbd223bb4b8c0bb15d9 |
06-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In choose_visual() we need to know if we're being called from glXChooseVisual() or glXChooseFBConfig() so that we handle the GLX_DOUBLEBUFFER and GLX_STEREO tokens correctly. Added some new error checking in those functions too.
rivers/x11/fakeglx.c
|
8bb717d2d54c6e74db3008d30ea90200e578e42c |
06-Jan-2005 |
Aapo Tahkola <aet@rasterburn.org> |
Add radeon 9550 pci id.
rivers/dri/r300/radeon_screen.c
|
a2db56b34b7fe0fb58441d293ba56b8ed48141a8 |
06-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add Intel i915GM support, and these extensions. * GL_ARB_texture_cube_map * GL_EXT_blend_equation_separate * GL_ATI_blend_equation_separate * GL_ARB_point_parameters * GL_NV_blend_square * GL_EXT_cull_vertex * GL_ARB_depth_texture * GL_SGIX_depth_texture * GL_ARB_shadow * GL_EXT_shadow_funcs * GL_3DFX_texture_compression_FXT1 (Keith Whitwell, Tungsten Graphics)
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
9f149bf2068c8897497d2b795006ae7334cfc3f6 |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
semantic in parameter names
rivers/dri/tdfx/tdfx_vb.c
|
d401faf877f0b6e98b179e1e1d0bb83cfdf4a9fb |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
semantic in parameter names. changed emitter function.
rivers/glide/fxvb.c
|
4c1d373ce17ad0831a986c9e88f65425e5dab4f4 |
06-Jan-2005 |
Thomas Hellström <thomas@tungstengraphics.com> |
Small Unichrome fixes: 1. Unlock hardware before aborting and dumping DMA buffers. Otherwise display system may deadlock. 2. Fix DMA init IOCTL call that got mixed up in one of the previous commits. 3. Fix AGP command alignment
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_tris.c
|
dd1ef7c0d78fdb2dd6587c87394680c6e8c79648 |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
semantic in parameter names
rivers/glide/fxdrv.h
|
5135d37813fe23a3a1ea19c6e116933052faf1b3 |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
solved classic "char*" vs "char[]" conflict. we were mimicking a pointer variable at desired location and then we took its address. using array is more intuitive, as they give us the starting address instantly.
nl/t_vtx_x86.c
|
ed1fc20199856d20f904f3d2c3d0f8b40e485fc2 |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
protected against elfish directives
86/assyntax.h
|
9b7367154baaa7abcbb58c413490278095fd798b |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
semantic in parameter names
rivers/dri/tdfx/tdfx_vb.h
|
994d5cc5f48cc2f08c59ccd6de31b7fb05f8349e |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
removed detritus
rivers/dri/tdfx/tdfx_tris.c
|
7047cb08ebf4045b33738d67281170ab64926f28 |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
added "default" branch in `convertPalette'
rivers/dri/tdfx/tdfx_tex.c
|
50122c9d2de568f7b8f37bd63ea252898008010b |
06-Jan-2005 |
Daniel Borca <dborca@users.sourceforge.net> |
fix dstRGB factor
rivers/dri/tdfx/tdfx_state.c
|
e09c843c137d91a20e5c705c6c4b8a75579d8232 |
06-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Turns out the kfountain.kss (as well as lesson19) had a bug - the size was set wrong. Fixed.
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_texstate.c
|
91538b44322ca8970f8423395ff37cb1c38e8c32 |
06-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add texture format to get lesson19 working again.
rivers/dri/r300/r300_state.c
|
dbc125eedeb79a218031c51f2eacbe0e4c58278a |
06-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Switch to a more complicated scheme of choosing texture formats, as it looks like the old one was prone to collisions (different value of format field was required for same values of t->format going in). Now use a hash for these purposes - this got kfiresaver.kss and lesson06 workingfrom the same code.
rivers/dri/r300/r300_state.c
|
7b51aa54be958b3bf5710df7eedf1b7a2aeddd84 |
06-Jan-2005 |
Ben Skeggs <darktama@iinet.net.au> |
Added GL_POLYGON primitive. Single primitive between glBegin()/glEnd() now works.
rivers/dri/r300/r300_render.c
|
3e4d4aca77479f7c9cef8fdc218c20d1f2876433 |
06-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
* Fixed handling of scissors * Only set scissor regs directly if drmMinor < 1 * Don't set texaddr to 0 when a texture unit is disabled. That would trigger the tightened texture state check in the DRM if the texaddr and texdesc registers were not emitted atomically.
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
ee2761f2f33f95330f087977c54fa8bcb2859202 |
05-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Only try to free the front buffer when it's a pbuffer.
rivers/dri/unichrome/via_context.c
|
699fc6baf99f2997d7405651c84d0ea0b7e6423a |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Make the format of the fastpaths cleaner at the expense of a little performance. Add fastpaths for some more common vertex formats.
nl/t_vertex.c
|
609e54820cfee142c9ec89c7fc22a0eeb091780e |
05-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix build problem
rivers/dri/tdfx/tdfx_vb.c
|
99fc261c47005b0674e2e45f5c6445bc2ce0d8e4 |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Improve some quad paths, gives gears a little boost.
nl_dd/t_dd_dmatmp.h
|
dd9666bc1def9e99a5050545ab71d24037cf5af0 |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Give attributes with zero-stride a count of 1 to make it easier to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba*
nl/t_array_import.c
nl/t_save_playback.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vtx_exec.c
|
30f64862766c573505fb7cd03a1c10bbf584c183 |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
make alloc-dma functions inline, rearrange some debug
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_tris.c
|
830e046972842482283f8d0eade8544780ae455f |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Avoid a segfault in multiarb.c
rivers/dri/unichrome/via_state.c
|
e3fe80a60f36fad8f12220ba435bfecc8685c264 |
05-Jan-2005 |
Alan Hourihane <alanh@tungstengraphics.com> |
Bring VIA driver up-to-date with regard to drm_*_t changes and remove the xf86drmVIA.[ch] files. Bring in the IRQ handler and Ring buffer code, but ring buffer is disabled as it is with the Xserver. It certainly locks up the CLE266.
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/xf86drmVIA.c
rivers/dri/unichrome/xf86drmVIA.h
|
9a8a9fb01fa5beeb843415277b48b086b099aa97 |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a couple of hardwired fastpaths to t_vertex.c.
nl/t_context.h
nl/t_vertex.c
|
d5b1605449b3a29c02ee74e042a0a32720f3561a |
05-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
If there is only one normal, don't transform it multiple times.
nl/t_vb_normals.c
|
380ba2daec31a72d3484aabb6bc34905463c46c9 |
05-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Reduce the amount of debug output, while still printing important messages. Make guessing texture formats easier.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
e99f390ff6b46495625b207e0e51f9431a564866 |
05-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Play a little bit with texture formats. Get NeHe demos 06, 07 and 19 working.
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
065f725672434319da6e5d91cc17c37a2e9c50eb |
04-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Sync with master copy.
rivers/dri/r300/r300_reg.h
|
6b185aaedfacf3cc435d575585cc5f2e029bece6 |
04-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Port code from r200 that implements color blending. Seems to work. This can be tested with lesson19 from NeHe. This has also shown that the alpha code does not work - we pick up a red tint for transparent pixels somewhere.
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
55ee1daaf929b9dca436a238f87715caec184445 |
04-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Unify rendering of textured and non-textured primitives.
rivers/dri/r300/r300_render.c
|
638faa92fc4ae01bd41b299ac11f66a1733e67b5 |
04-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Major code restructuring: * move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_tex.h
|
932dee87e3002be87dc3bcc49efd8ac9ac3e1fa4 |
04-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
use HIDDEN macro to export fewer symbols (bug 2210)
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/assyntax.h
86/common_x86_asm.S
86/mmx_blendtmp.h
86/read_rgba_span_x86.S
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
bdbdab837eb8d84e2c2388ff2a780f5c0931473f |
04-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
directfb changes (Claudio Ciccani)
akefile
|
6650264802ae5da354ccdd5e4d6f6ae7d394f8ab |
04-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add GL_EXT_fog_coord
rivers/dri/unichrome/via_context.c
|
31c25f2edcda018730d829b80977a9b3de202a3b |
04-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add GL_EXT_secondary_color
rivers/dri/unichrome/via_context.c
|
e024cae14bc19c1ce7519d3d05140e3e63383ddf |
04-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Turn specular lighting state on/off appropriately.
rivers/dri/unichrome/via_state.c
|
b6ab7a1bf1b6d4c6e44c4b167e072c4169e6923c |
04-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Change to use the t_vertex.c mechanisms for building vertices, including Felix's ptex code. Re-enable some assembly for performance.
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texcombine.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb.h
|
e3748eb19ba444f411ad66905dfddbe809225ca0 |
03-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added support for floating point depth buffers on Savage4-based hardware. By also reversing the depth range this can compensate the loss of accuracy of far objects caused by the projective transformation. Software fallbacks work but are slightly slower since floats in a custom (non IEEE) format have to be encoded and decoded. I havn't done anything about polygon offsets yet. There doesn't seem to be an easy way do get it right except making the offset unit as big as the lowest resolution of depth values. For now float depth is disabled by default but can be enabled through driconf (though I have seen only positive effects so far).
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
|
87889aeab46ece5800cca9390fe95e83515b313d |
03-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Added a boolean option for a floating-point depth buffer.
rivers/dri/common/xmlpool.h
|
3276c192b7bfe4fd21967224b3d13e1c1681758e |
03-Jan-2005 |
Ian Romanick <idr@us.ibm.com> |
The opcode and command length fields of RenderLarge commands were mistakenly emitted in the wrong order.
lapi/glX_proto_send.py
|
a5039af357f58369bb9db007f911a86b5ff123f2 |
03-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add structs describing vertex and pixel shader state to r300_state. Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
81ca616e7e84768cf91234e4132df9d737b98d94 |
03-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
DirectFB driver (Claudio Ciccani)
rivers/directfb/Makefile
rivers/directfb/idirectfbgl_mesa.c
|
6563c16e381c2302ef8f76d78f8283e68aa3eb07 |
03-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Jouk
hader/descrip.mms
wrast/descrip.mms
|
25faa2d56e2c417d64c3ad50f43e421002bcd29a |
03-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Turns out I left flat primitives in vertex buffer mode. Switch them back to immediate which works correctly..
rivers/dri/r300/r300_render.c
|
63473a8e76dadc0f56e222866066bb4a242700d9 |
03-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Enable code to compute other constants that were used by R200 code. Add fprintf to print these constants. Correct t->size computation, so it works now.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_texstate.c
|
2fc9351ee768ce0c123ce1d9b210dc6958ab41b2 |
03-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Port texture allocation code from R200. Hook it up, so lesson06 displays red colored textures.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_tex.c
rivers/dri/r300/r300_tex.h
rivers/dri/r300/r300_texmem.c
rivers/dri/r300/r300_texstate.c
|
63fd67e561e0bf303981c0800dc2dee02ba93487 |
02-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add texture units registers
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
f50a1964d1296a1aaf0685134b402cc9c42f4673 |
02-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Cleanup ! I can not trigger any lockups now..
rivers/dri/r300/r300_render.c
|
d6be8dd651dc9d57a85aa408bfd572bc142bb6a1 |
02-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
I think I fixed the lockups issue.
rivers/dri/r300/r300_render.c
|
9a04b25c60a2dd18839f5e69ae5c9abee9635d84 |
02-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get textures to work with NeHe lesson06. The code is still disabled since we are displaying random image data instead of actual texture and because I had to put a sleep(1) in lesson06 drawing loop to prevent lockups.
rivers/dri/r300/r300_render.c
|
3c80f5c56b835f15eddade6dd86e109a8a340f73 |
02-Jan-2005 |
Adam Jackson <ajax@freedesktop.org> |
linux-dri-x86 build fix from Andreas Stenglein.
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_dd.c
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_dd.c
|
7a231da442838bbdd20ae3121dc4ec9ddcf8145a |
02-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Improved the performance of software fallbacks by not waiting for idle in every single span function. Instead flush and wait in the SpanRenderStart hook and in wrappers around _swrast_Copy/Draw/ReadPixels. Misc. cleanups in savagespan.c while I'm there.
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagetris.c
|
1067ce0cea1392b4ea1cc1c2c940cec33efb9c96 |
01-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Removed all direct hardware access (MMIO, BCI) from the Savage DRI driver. It uses the new DRM version 2.0.x now, which has just been committed to DRM CVS.
rivers/dri/savage/Makefile
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedma.c
rivers/dri/savage/savagedma.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
rivers/dri/savage/server/savage_dri.h
|
467d64a177d611293c6db14daf97997b389f3cb0 |
01-Jan-2005 |
Felix Kuehling <fxkuehl@gmx.de> |
Use DRM headers from $(DRM_SOURCE_PATH)/shared-core instead of .../shared.
rivers/dri/Makefile.template
|
404d925b58b8fa0322ba79e7dfb14132ac57ae56 |
01-Jan-2005 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add a convenience function to issue CP delays.
rivers/dri/r300/r300_emit.h
|
e443d1ec470b252e694a15d782b1386122b4f085 |
31-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
92d47e79f1dcd9101de0116835782084bc4f7209 |
31-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Sync with master copy.
rivers/dri/r300/r300_reg.h
|
11374bdb86bf7d5d57850be2e014c0801d4e8424 |
31-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add texture drawing code. Note: it is broken at the moment and is disabled in CVS. However, all hooks are there. Fix vertex buffer drawing code.
rivers/dri/r300/r300_render.c
|
24b5e4914138a31599f55e1059ef3e34063a5917 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Rework slightly r300_get_primitive_type - make it clearer and more compact..
rivers/dri/r300/r300_render.c
|
179cc373f1ecb4d65a413fdc64c74f98e27dac79 |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Get scissor test working again. Passes glean scissor test.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
c664f0c5155da800c34de1783754313e86654eda |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Calculate DEPTH_SCALE correctly for polygon offset.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_tris.c
|
8be4747fd642aef719f9ee55a42f05fe69a043eb |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify viaBlit a bit more. Implement masked clears.
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_state.c
|
4a04f002dbc1c39059216dfad4be3d6c874c5408 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Add missing files.
rivers/dri/r300/pixel_shader.h
rivers/dri/r300/vertex_shader.h
|
8f1ba083baa14182d508cdb9f94e2e41726984e9 |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Initialize depth pointer correctly.
rivers/dri/unichrome/via_span.c
|
58cc2e9124dc76492f2e7d8843f74df511e4054e |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't need to adjust for drawXoff in fallback clipping.
rivers/dri/unichrome/via_span.c
|
18551e75ea20ad49a10309b4f7e9eeea76d45290 |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
fix regression with fallbacks from recent commits
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
6fcc6c49654d9e87fbcadba14bc2f45e9bdbf8f7 |
30-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix MagFilter state for texunit 0
rivers/dri/unichrome/via_state.c
|
bcd1a9ed68cee96022af0816a1d22de86691fc77 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Update vertex buffer code (still does not work properly..)
rivers/dri/r300/r300_render.c
|
2269445f6d20c49e6fc64f60dca8954a6ac0176c |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Update to recent r300_lib. Cleanup code that is not relevant anymore. Play with unknown2 parameter.
rivers/dri/r300/r300_render.c
|
b53030a94cf582da007f0ce3d427618989aa7dea |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Hooked up projection matrix - the gears actually rotate !
rivers/dri/r300/r300_render.c
|
a656dc251e1a7ee1b989e05a0e46939376c64e85 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Restructure code. Add drawing code that uses vertex buffers - does not lockup, but does not draw correctly either.. Perhaps something to do with vertices being overwritten ? Start using hardware state retained by the driver and cut back on direct register writes significantly.
rivers/dri/r300/r300_render.c
|
51050efe0e1cc8fb690808e1258eea96a57a54c5 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Change default RS settings so that glxgears will display something..
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
7d8c1fb03a738d63706eb07708a87712bd6fe102 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Clarify some of the unkXXXX atoms.
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
|
74bf43051c5a0abbe83f431ca8e1d8d4d2b068c4 |
30-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Port viewport setting code from R200. Take it outside R300ResetHwState.
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
|
5be14fd59a24612afd09da13688d611a1711d6da |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix some wrapping bugs in the last commit. Probably there are more remaining.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tris.c
|
490e764d7affc093feff80192ed3f3d4642fcb8f |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplfy clear() and swapbuffers() code. Fix various mishandling of cliprects. Allow multiple primitives to be emitted to a single dma buffer, which was largely impossible previously. Re-enable the fast unclipped render stage.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_fb.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
|
ef494c06b6e4dc720f32700f899ddad7cadb0a95 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use Point._Size in calculation
wrast/s_points.c
|
54ef88109b3e135f7cc1feabbbc7dbf640a5d8cc |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
use clamped Line._Width in calculations
wrast/s_aalinetemp.h
wrast/s_lines.c
|
e158292ee39646c57280fd8a23deec2392bfe0e6 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't advertise wide lines or points.
rivers/dri/unichrome/via_context.c
|
e972497310f752994a8b42636a51239d2b9d0c44 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Make line stipple a fallback. Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
f102f7ae3d45a4a6d6a00d9e389c061a9d4bb852 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't pingpong cliprects through sarea on CopyBuffer().
rivers/dri/unichrome/via_ioctl.c
|
cb0cc796d2eb21bceb3202c7f1cbfa72389cdb56 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fallback on 3d textures correctly.
rivers/dri/unichrome/via_texstate.c
|
3b486d795d0aa5384846aabf0669b25b95e521b1 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Get twoside-lit triangles working again
rivers/dri/unichrome/via_tris.c
|
13ae06cf36f9d04c0a04cdc19196f400d7a8c642 |
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Large update - Remove via duplicates of shared template files - Update driver to work with current versions of the above - Rework dma accounting - Rework emitting to dma to use a consistent set of macros The handling of cliprects in the driver is still pretty questionable.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dd_tritmp.h
rivers/dri/unichrome/via_dd_vbtmp.h
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_texmem.c
rivers/dri/unichrome/via_texstate.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb.h
rivers/dri/unichrome/via_vb_cliptmp.h
rivers/dri/unichrome/via_vb_rendertmp.h
|
7b05b70c2af9f76222a40941b393b5f04ce83048 |
29-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Rearrange code so we don't dump state as often.
rivers/dri/r300/r300_render.c
|
4c3f0418629f81c921d30b2e8d593dea3b3a3329 |
29-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Get most primitives working using immediate mode. Glxgears displays "rotating" gears, all in the same place (no transform mode, remember ?) Work needs to be done to understand how to have glxgears working properly.
rivers/dri/r300/r300_render.c
|
5bdb4652f9f9b5bfd40ada2865e673ee3b9e5d4e |
29-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Bring in latest revision of r300_lib. New capabilities: using vertex buffers, immediate vertex data, immediate indices.
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
6a50fc43cb856ce3e3b2a5ad7ca67bd5135cf4c6 |
28-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Use R300_CMD_END3D for end_3d().
rivers/dri/r300/r300_emit.h
|
c6cca6a3b8f3572687544514be52fb400e578878 |
27-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Fix read-from-uninitialized in s3vMakeCurrent()
rivers/dri/s3v/s3v_xmesa.c
|
29c88396db888e117c3b4408ba0c816b8ad4386b |
27-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Unused variable cleanup.
rivers/dri/tdfx/tdfx_screen.c
|
d9fcfa27976788365c2b7846e13d3081bb3aa9d1 |
27-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1859: Initialize 'size' before first use in intelTryReadPixels()
rivers/dri/intel/intel_pixel.c
|
c3eaa17b37ef83d43a4de211c1b4f616b3bc0a3d |
27-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Get s3v building with a minimum of warnings.
rivers/dri/s3v/Makefile
rivers/dri/s3v/s3v_common.h
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_dri.h
rivers/dri/s3v/s3v_render.c
rivers/dri/s3v/s3v_screen.c
rivers/dri/s3v/s3v_screen.h
rivers/dri/s3v/s3v_span.c
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/s3v/s3v_tex.h
rivers/dri/s3v/s3v_texmem.c
rivers/dri/s3v/s3v_texstate.c
rivers/dri/s3v/s3v_tris.c
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/s3v/s3v_vb.c
rivers/dri/s3v/s3v_xmesa.c
|
99edafd4e87fdfb53a46d10d497250a9ba1fa91b |
27-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Implement rendering of (flat color) QUAD primitives as an experiment.
rivers/dri/r300/Makefile
rivers/dri/r300/r300_emit.h
rivers/dri/r300/r300_render.c
|
83fcf49647f423741a0a2143e03dbaa2d43d31a1 |
27-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed two problems with the handling of GLX protocol replies. The logic for determining when extra data needed to be read after a reply (to ensure 4-byte alignment) and the logic to determine whether or not to read reply data after the SingleReply packet were both slightly wrong.
lapi/glX_proto_send.py
|
3cbc2bd833b426057c4174ad44ae21ecb04f96e5 |
26-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Expose primitive types being rendered, in preparation to implement fixed pipeline primitive drawing. Note: these are only visible when export LIBGL_DEBUG=verbose is specified.
rivers/dri/r300/r300_render.c
|
1b2a6555211567202f458fcfa6c3ce4bd1b46ba4 |
26-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Update with most recent version.
rivers/dri/r300/r300_reg.h
|
46a35b2284211e2c068c4c37f8bd3aced240e47a |
24-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Get trident building and -Werror clean. - Added Makefile - Deleted references to old headers - Added prototypes all over the place - Lots of type updates (drmHandle -> drm_handle_t etc.) - Added __driCreateNewScreen(), deleted __driCreateScreen() - Fixed context creation to match other drivers - Fixed various bitfield names - Bumped driver date Still nowhere close to usable, the DDX isn't DRI-aware and there's no DRM.
rivers/dri/trident/Makefile
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_context.h
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_dri.h
rivers/dri/trident/trident_lock.h
rivers/dri/trident/trident_state.c
rivers/dri/trident/trident_tris.c
rivers/dri/trident/trident_vb.c
|
1c86c7ad9c38b5ef1baa19677b78076889b60e7f |
23-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Simplified and optimized _savage_texnorm_stage.
rivers/dri/savage/savagetris.c
|
3deaf2174544f25df812af886c424383ba1dafdf |
23-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove the VIA_PERFORMANCE code. A step towards moving the driver back to using the shared template files.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dd_tritmp.h
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb_cliptmp.h
rivers/dri/unichrome/via_vb_rendertmp.h
|
9876730f7ac0497dcb6342997006be752536b0e3 |
23-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Chop out more dead code. Get the drawXoff adjustment working a bit better. Seems to pass the glean orthoPos tests.
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_texmem.c
rivers/dri/unichrome/via_texstate.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
|
15da29b5e74a92437b9dc95590a9289e33e0a9a6 |
22-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix merge error.
rivers/dri/unichrome/via_ioctl.c
|
7db50bb3a893ba0ec0ec2fe1ec54a07ff6472435 |
22-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead code. Fix 24/8 depth/stencil visuals.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tris.c
|
922bfd70ffdf5e668f197d06937bd79ff6026557 |
22-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Enabled hardware rendering of 1D textures. No need for a software fallback.
rivers/dri/savage/savagetex.c
|
80dd3c79172227ab8826d7449b65bfdf53ee15f8 |
22-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
- Fake projective textures on a single texture unit. A fallback is only needed if a second texture unit is enabled. - Also worked around an application bug in Chromium B.S.U.: it sends 3D texture coordinates while only a 2D texture is enabled. This used to trigger a PTEX fallback. Now the 3rd coordinate is just ignored. - Fixed the _savage_texnorm_stage to never normalize homogenous texture coordinates.
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedma.c
rivers/dri/savage/savagetris.c
|
8bdaa927ebca0a23a3bdeed3f4bb11b0f1600684 |
22-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove debug code which referenced an old global variable.
rivers/dri/unichrome/via_ioctl.c
|
990dec7ea0ad9eca8340d39fd022baa151c05a03 |
22-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Used GCC's __builtin_expect when available. Change the way code is generated for commands that can use RenderLarge packets. Tweak the code for __glXFlushRenderBuffer slightly.
lapi/glX_proto_send.py
|
302c5694c681fb19e4b1855ed82a87c2d0ba5de4 |
21-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Push a number of global variables into the viaContext struct. Remove the bogus 'current_vmesa' pointer.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_texmem.c
|
1d27084043855d2609b54d3435f0bd85e39762e2 |
21-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Added some comments and fixed typeos. Slightly refactored the way function parameters are iterated. There are no changes in the generated code.
lapi/glX_XML.py
lapi/glX_proto_send.py
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_x86_asm.py
|
b756990b8407d67a15cf7f63683d50dd7f9e3a4e |
21-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
`t' was not initialized (use `texture' instead?)
ain/texobj.c
|
3ec0631e955cb79cf6009e391cd9b4f6a263b989 |
21-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug in _mesa_IsTexture()
ain/texobj.c
|
50694eeff993043df45b6343eb853d92589946a5 |
21-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Note that state is dirty on contended lock. Allows two applications to run together correctly, though scheduling between them still isn't great.
rivers/dri/unichrome/via_context.c
|
3955313e7caac1a085ab87253b268578923153c0 |
21-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add missing swap-control calculations. Remove debug printf.
rivers/dri/unichrome/via_ioctl.c
|
314f8e4d9d600f9db95977ebf931a3fb9bb8ce79 |
21-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add vsync swapbuffers. This waits on the irq so gears run in this mode will have a very low cpu utilization (and also a very low framerate). Fix up the pageflipping code. This works now but is totally oblivious to the X server (ie. it works but it's broken). Turned off by a #define.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_texstate.c
|
91a04617c40a740ade27e2f60e78a761a297a1d3 |
21-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added GL_EXT_stencil_two_side (yes, it works)
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
|
d7b9d6046d0cca704c712ebb8823b78dc06f9bf5 |
21-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
missing `or' in preprocessor conditional
ain/get.c
|
14bc68499025127060e794781cf67fcf4bcf7ee2 |
20-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove #ifdef DEBUG's in code, but still allow compiler to remove debug code if DEBUG not defined.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dd_tritmp.h
rivers/dri/unichrome/via_dd_vbtmp.h
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_texmem.c
rivers/dri/unichrome/via_texstate.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb_cliptmp.h
rivers/dri/unichrome/via_vb_rendertmp.h
|
b51600716e0f9563dee2fe6990ade91a96d62801 |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
put back clipmask code; it proved to be a MinGW/gcc 3.3.x error in t_vb_cliptmp.h(47), where it would still send clipped vertices to the hw... oh, dear...
rivers/glide/fxvbtmp.h
|
6bb1be010e4fdfafe68230b743ef12b6df846043 |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use float constants. fixed a small debug error.
rivers/glide/fxtris.c
|
77992944599b52fa0af4d80b7884cf38958f47eb |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
removed ifdef'ed out code (to whom it may concern: it can be found in dri/tdfx driver)
rivers/glide/fxsetup.h
|
16d4166d1439e36a0a66a5330182fd4a18439ea8 |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
removed detritus (ncc).
rivers/glide/fxsetup.c
|
7b50d773d3ee85fede5f220eed9265dda5ab681c |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
comment reorg. removed detritus (ncc).
rivers/glide/fxddtex.c
|
ad149e3e65f441669f3067b3fb428ff3472aa6a0 |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
made some functions static.
rivers/glide/fxddspan.c
|
9e821269fc0842d88cca37f7aca38fb934695c9d |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
comment reorg. made some functions static. hide vp behind an envvar. removed unnecessary multitex constraint for napalm hw.
rivers/glide/fxdd.c
|
6a7b4690e32daac59bb66af3eba7de8585ee598f |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
allow greater swappendingcount for older hw (v1/v2)
rivers/glide/fxapi.c
|
0d7da6c3e00b62be901645418c2d525ec7b1a341 |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
allow ARB vp/fp query program errors
ain/get.c
|
2982dce27e242c89e4bc99979a878263df33ad2f |
20-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
really protect against npot compressed textures (logbase2 never returns -1).
ain/teximage.c
|
0d84c68313cba241b8020f12211f2abdfd53a955 |
20-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Use GLX protocol code generated by glX_proto_send.py.
lapi/Makefile
|
46be433c47027ad1bed6ccaa0200fa2ffa6a7b2c |
20-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
No GLX protocol for GL_ATI_fragment_shader.
lapi/gl_API.xml
|
55fb41ade81b46685dd0fcb145a9b1161b197110 |
19-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
Fix cut and paste error (reported by Jerome Glisse)
rivers/dri/r300/r300_state.c
|
7f752fed993e5e9423abac200dd59141edbada56 |
19-Dec-2004 |
Dave Airlie <airliedfreedesktop.org> |
Implement software ATI_fragment_shader no error detection, slow, may not be 100% correct but a good start
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/config.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/enums.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
hader/atifragshader.c
hader/atifragshader.h
hader/program.c
ources
wrast/s_atifragshader.c
wrast/s_atifragshader.h
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
86/glapi_x86.S
|
a803b0c891404dcd7c376e91f6a033cd4e42abc3 |
18-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_lines.c
wrast/s_pixeltex.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_triangle.c
|
feac30256730614bd60debe2167202bccb577aea |
18-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_pixel_buffer_object extension string
ain/extensions.c
|
2a5afe3ab8d4c3624ed72b99a11b6a9017078d1c |
18-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added PRINT instruction for GL_NV_fragment_program.
hader/nvfragparse.c
hader/nvfragprog.h
hader/nvvertparse.c
hader/program.c
wrast/s_nvfragprog.c
|
6cec977773c87ac95ca66089eb50850c9f0a27ed |
18-Dec-2004 |
Thomas Hellström <thomas@tungstengraphics.com> |
Unichrome DRI driver: Fix for proplem where polygons partly outside the drawing window would get one vertex clamped to the opposite window side. This bug could also cause a hardlock. (Bugzilla #2066, Yann Vernier)
rivers/dri/unichrome/via_vb.c
|
3d0487980196d386e75235fe9be0513546083613 |
17-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Made debugging output controllable via environment variable SAVAGE_DEBUG. Added fallback debugs. Added no_rast option to disable hardware rasterization (everything as software fallback).
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
cf9516954295203b6d40887da6e73269b811a0a2 |
17-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fxRasterPrimitive wasn't always receiving the reduced primitive
rivers/dri/tdfx/tdfx_tris.c
|
02978f109265f7a598a4a6a8d81d134d8308785e |
17-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fxRasterPrimitive wasn't always receiving the reduced primitive
rivers/glide/fxtris.c
|
0d39c4ebc9a5558c6b7514e33297e14445c5853f |
17-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Added a TNL pipeline stage that normalizes texture coordinates as a workaround for bad Savage hardware interpolation of big texture coordinates.
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetris.c
|
c403bcb8a7be437976d5adce41189fff1e7f690f |
16-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Import s3virge and trident drivers. Not functional yet; no Makefile, no DRI-aware DDX.
rivers/dri/s3v/s3v_context.c
rivers/dri/s3v/s3v_context.h
rivers/dri/s3v/s3v_dd.c
rivers/dri/s3v/s3v_inithw.c
rivers/dri/s3v/s3v_lock.c
rivers/dri/s3v/s3v_lock.h
rivers/dri/s3v/s3v_macros.h
rivers/dri/s3v/s3v_regs.h
rivers/dri/s3v/s3v_render.c
rivers/dri/s3v/s3v_screen.c
rivers/dri/s3v/s3v_screen.h
rivers/dri/s3v/s3v_span.c
rivers/dri/s3v/s3v_state.c
rivers/dri/s3v/s3v_tex.c
rivers/dri/s3v/s3v_tex.h
rivers/dri/s3v/s3v_texmem.c
rivers/dri/s3v/s3v_texstate.c
rivers/dri/s3v/s3v_tris.c
rivers/dri/s3v/s3v_tris.h
rivers/dri/s3v/s3v_tritmp.h
rivers/dri/s3v/s3v_vb.c
rivers/dri/s3v/s3v_vb.h
rivers/dri/s3v/s3v_xmesa.c
rivers/dri/s3v/s3virgetri.h
rivers/dri/trident/trident_context.c
rivers/dri/trident/trident_context.h
rivers/dri/trident/trident_dd.c
rivers/dri/trident/trident_state.c
rivers/dri/trident/trident_tris.c
rivers/dri/trident/trident_vb.c
|
8662c5d98febd8efaf5f8ee47d34c7fcfd597ce3 |
16-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typos in texcoord setup - fixes perspective correction bug
wrast/s_aalinetemp.h
|
7771c92d3548cd0964f79af6b2c3e002b83935ab |
16-Dec-2004 |
Vladimir Dergachev <volodya@freedesktop.org> |
The types uint32_t and uint8_t are not used in Mesa tree. Put a couple of defines to use GL counterparts.
rivers/dri/r300/r300_context.h
|
575700fbdcdde9c31ee6ccdd0369604b8ee2df91 |
16-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Experimental PRINT instruction for NV_vertex_program. Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging.
hader/arbvertparse.c
hader/nvvertexec.c
hader/nvvertparse.c
hader/nvvertprog.h
hader/program.c
|
c75900e7a2ad17ecf832e7e9aa41e714a1a78f2a |
16-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't divide texcoords by q if using a fragment program
wrast/s_pointtemp.h
|
d16aa9859c9f5a3a7bf74a13dbbdd20688d3ad84 |
16-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Also PUBLICize the config option table
rivers/dri/ffb/ffb_dd.c
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_context.c
|
3d7aec70c983ed12beac0ad0aa528ac270b6b01a |
16-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Mark __driCreateNewScreen PUBLIC
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
|
791ce022442f70943b2ce4654d337efe5b3a84db |
16-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
_glapi_* is effectively PUBLIC API for the DRI drivers.
lapi/glapi.c
|
2719b54f532d12fe860deab12ba59e2f04ba6a7e |
15-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
fxt1_decode_1() needs to be non-static for the tdfx and glide drivers.
ain/texcompress_fxt1.c
|
20456d6a3d18970988eedc1ab84ccde13d1ce900 |
15-Dec-2004 |
Thomas Hellström <thomas@tungstengraphics.com> |
Unichrome DRI: Updated the driver to the new VIA security mechanisms in DRM. All command submissions now passes through DRM ioctls. If the DRM AGP ring-buffer is not enabled, it will use a DRM mechanism for submitting commands to the hardware via a PCI bus mechanism. Removed all direct write accesses to the hardware. Among other things the VQ was previously turned off for the PCI path, apparently for Tuxracer. That seemed unneeded and was removed. No visible impact on Tuxracer. Abstracted all buffer blit operations in via_ioctl.c. The blitter context is now reprogrammed before each blitting operation. Updated driver date and drm version requirement. (Bugzilla Bug #1950, Thomas Hellstr�m)
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/xf86drmVIA.c
rivers/dri/unichrome/xf86drmVIA.h
|
b4f58e99ebfa7d746781b992aca8189821fb26b0 |
15-Dec-2004 |
Thomas Hellström <thomas@tungstengraphics.com> |
Unichrome DRI: Stop the driver from giving empty texture levels with erroneous HW addresses to the hardware. These will get caught and rejected in the DRM command verifier.
rivers/dri/unichrome/via_tris.c
|
de541439d31415a4cd7393e3507e980d2ab1fc19 |
15-Dec-2004 |
Thomas Hellström <thomas@tungstengraphics.com> |
Unichrome DRI: Fixed an apparent race condition during locking and drawable info updating, the result of which was the DRI client leaving traces on the screen rendering where the drawable previously had been. If the driver hangs X for a second or so and then restarts, this is probably the place to look. (Thomas Hellstr�m)
rivers/dri/unichrome/via_context.c
|
a47c4c37ce7ca45974b10f2bbb49bc88fad64a54 |
15-Dec-2004 |
Thomas Hellström <thomas@tungstengraphics.com> |
Unichrome DRI driver: Check for texture allocation failure (Bugzilla #1633, Bartlomiej Krol) Reenabled AGP textures (Thomas Hellstr�m)
rivers/dri/unichrome/via_texmem.c
|
58f5b91b1bd3d329f98969c7d6c8434107b3ec6d |
15-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Added configuration support to the Savage driver. Three options are supported so far.
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
|
489ccef3982267b0d35c8548921f58d553c25a3a |
15-Dec-2004 |
Adam Jackson <ajax@freedesktop.org> |
Fix up glx/x11 to work when built with -fvisibility=hidden.
ain/glheader.h
|
5566127701df5c97aca94dd99b066f94943ea969 |
15-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed GL_CLAM_TO_EDGE. It's not supported in hardware. Use GL_CLAMP instead of GL_REPEAT.
rivers/dri/savage/savagetex.c
|
e9fbc23024bb831ae781060c414b7906cdfa6d34 |
15-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed initialization of some stencil-related S4 registers, which was misplaced in savageDDInitState_s3d, where was overwriting completely unrelated S3D registers with garbage.
rivers/dri/savage/savagestate.c
|
91fd299b6b781f0e62723ceba050e005a794710c |
15-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Moved some code from savageCreateContext to savageInitDriver, where it belongs. Removed some obviously useless code. Fixed computation of MaxTextureLevels.
rivers/dri/savage/savage_xmesa.c
|
9fb668c57641d68f4b47b8335ea62f21f9773bba |
15-Dec-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed some missing uint8_t -> u_int8_t.
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savageioctl.h
|
cc488b03a387aeb2ea25bb7ed22548cbf612fce2 |
15-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add _mesa_delete_texture_object() call to viaDeleteTexture [Freedesktop BUG 2080]
rivers/dri/unichrome/via_tex.c
|
3f1205819abc893151c8572b72be51ae5f5bc150 |
15-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated makefiles for gcc 3.4.3 and bnu 2.15
akefile.DJ
akefile.mgw
|
654dccfd856329bbb66f10d6096a206e33fa397a |
15-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added DMesaProc type to prevent gcc 3.4.3 warnings. sw tc is disabled by default
rivers/dos/dmesa.c
|
ea3885812704645944752887d892c38a46710956 |
15-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
protected elfish code against non-elf compilers
86/read_rgba_span_x86.S
|
3df033a93b45e206329e1d3d91ae20558a6ba6c0 |
15-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes for fragment programs
wrast/s_pointtemp.h
|
69a5896238c3553422fcf80feebe5fa39e636006 |
15-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
init span.w, dwdx, dwdy in case we're running a fragment program
wrast/s_linetemp.h
|
55481b3a2977179f47b6d8cec0700e0991dba462 |
15-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweaks to the LIT instructions
hader/nvvertexec.c
wrast/s_nvfragprog.c
|
968cbf94d90755a6bfb016ac501aca4d9006cbc8 |
14-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
uint*t -> u_int*t
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagedma.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
fc84bec654cced24883696bf97db2b52c86bc721 |
14-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix warning
rivers/dri/i915/i830_context.c
|
38b317d508a2a3a4cc6d700ebca80c3b06c913e2 |
14-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
uint*t -> u_int*t changes
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/mmio.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgaspan.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_state.c
ain/colortab.c
ain/enable.c
ain/enums.h
hader/arbprogparse.c
86/common_x86.c
|
9fb024ba970b808d357a00ab7b8739a78559b39e |
14-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Added many (hopefully all) missing 'output="true"' attributes. Added missing enum information for GL_EXT_cull_vertex and GL_SGIS_texture_color_mask. Added GL_SUN_mesh_array. Corrected the spelling of the "length" parameter to GetActiveUniformARB.
lapi/gl_API.xml
lapi/glapitable.h
lapi/glapitemp.h
|
dea44ca491f379094b9da5848e532cd2f0553995 |
13-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Trivial shell script to search the API definition file and print out the next numerically available API entry-point offset.
lapi/next_available_offset.sh
|
8c0b1d882612800d7c70cba27dceabd066a22271 |
13-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disabled ClipMask usage in vb emitter (clipping bugs?)
rivers/glide/fxvbtmp.h
|
af808afbe7c6c066ba35248b881f2c2c69ba7e40 |
12-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix recursion problem introduced on Nov 27
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
|
68d293b03535ca50daf70650b32db780f1718a3b |
12-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added driver hooks for GetTexImage() and GetCompressedTexImage(). Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c
rivers/common/driverfuncs.c
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
|
3cc28c96cd2003f9a598a36520305bba58d6489f |
10-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
allow GetTexImage with RGBA format and COLOR_INDEX internalformat
ain/teximage.c
|
8597dd3e96fdf36d3b6e13b4014c2fd064e99050 |
09-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if using a PBuffer in clip_for_xgetimage()
rivers/x11/xm_span.c
|
da3e15c2fd5c08a7f28c1bda5a2f3298a8b09a15 |
09-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Get linux-solo dependencies building correctly, Make sure symlinks are built in driver directories before running makedepend.
rivers/dri/Makefile.template
rivers/dri/r200/Makefile
|
2fc3a958a4f2ac1439715e7bea011f3072c07103 |
09-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
make sure we're cleaning up everything
akefile.mgw
|
a280d3347a639c2f41986733b77eced1c89738d0 |
09-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
simplistic ICD implementation for fx/Mesa
rivers/windows/fx/fxopengl.def
rivers/windows/fx/fxwgl.c
|
0e01b23798825774cd398d7a694d6b68386a9b47 |
09-Dec-2004 |
Dave Airlie <airliedfreedesktop.org> |
back out Keiths last checkin - for Solo the include order is important
rivers/dri/r200/Makefile
|
b2ad61fd40bd5a689ec6cd3ce21886f20decd30b |
09-Dec-2004 |
Dave Airlie <airliedfreedesktop.org> |
fixup pci code for Jon's last checkin for changing page size
rivers/dri/radeon/server/radeon_dri.c
|
b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab |
08-Dec-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
(Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
rivers/dri/common/xmlpool.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/server/radeon_reg.h
|
fc236723273d4d872ae5e7cac876ea20175df10d |
08-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Improve the behaviour of the build system wrt depend files. - Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.
akefile
rivers/beos/Makefile
rivers/dri/Makefile.template
rivers/dri/dri_client/Makefile
rivers/dri/r200/Makefile
rivers/dri/x11/Makefile
|
c69d60fbe458bec800583bc57d5b3bad61fa72e4 |
08-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
Use union type to avoid strict aliasing problems.
rivers/dri/common/dri_util.c
|
c63f3cf85d9719581262b4cf9d69789926879eba |
08-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence warnings
ain/vtxfmt.c
hader/grammar.c
|
86356155018fce96ba3367fd1a48a18cd6db3c40 |
08-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check for some header defines before redefining functions. Silences warnings.
rivers/dri/common/dri_util.h
|
03dc05a6051abe94590f21dd1451dc45ec0ac306 |
08-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence warning
lapi/glapi.h
|
23b033ad28331e40287ab8b5c9150bc6be5c608f |
08-Dec-2004 |
Dave Airlie <airliedfreedesktop.org> |
From: Stephane Marchesin <marchesin@icps.u-strasbg.fr> Attached is a patch that adds pci init code for mesa solo on radeon. It's been tested on an itanium 2 with a radeon 7000 and it works here. The patch adds a new field in the miniglx.conf config file, to choose between pci and agp.
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
|
e1b4fec71c1a22ea7415a115700802a93b52fcc7 |
08-Dec-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix depth/stencil readback if coordinates are larger than 1023 (https://bugs.freedesktop.org/show_bug.cgi?id=2010). Should now work up to 2047, which is the current limit for 3d rendering.
rivers/dri/r200/r200_span.c
|
3b65cab455fb74156258af063aa1278124c65788 |
07-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed an include path
rivers/windows/fx/fxwgl.c
|
c049d4bc897f92fd25ed961f1acedaa9d33cc5af |
06-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
explicit cast in a few places
ain/texcompress_fxt1.c
|
d033ce63da2c78044c4fbef52e8583b908637d6f |
06-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disable junk for mingw
ain/glheader.h
|
ac7091078fab404284bdac5d38f5cd26838f5c76 |
06-Dec-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small fix for debug paths
rivers/glide/fxdd.c
|
86cbfc2fac1a447cbb55847460376d9f68fbfc8b |
05-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
direct bug reports to freedesktop.org
ain/imports.c
|
74764061facb8f518c3ac7ebdb844bcd27a36ee0 |
03-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Move common GLX code to glX_XML.py. This will make adding glX_proto_recv.py easier later on.
lapi/glX_XML.py
lapi/glX_proto_send.py
|
47719fda0c2fba13c81e84e33523d5489263182e |
03-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a minor bug in glXEnumFunction::PrintUsingTable. Add some comments. Add the (currently unused) utility funciton glXFunction::opcode_real_value.
lapi/glX_proto_send.py
|
cbc527cd17f587242944158319e32187458e1651 |
03-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
mask color indexes against palette size, per the spec
ain/texformat_tmp.h
|
0fdb7ef8779adf6ae07c73bb0559651846fbe8c6 |
03-Dec-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
only enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, since yuv textures do not work for some reason on the other chips.
rivers/dri/r200/r200_context.c
|
de7b071b5534fc423a056abd521de8bf9120f89e |
03-Dec-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable GL_EXT_stencil_wrap (patch from idr), including some hacks for original radeons which have some broken stencil ops.
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/server/radeon_reg.h
|
25b67e64049c291bd4e845c076d450653ba45f8d |
03-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use the GL datatypes. Lots of assorted clean-ups.
ain/texcompress_fxt1.c
|
404055216d22167365ac0522268a1f12e971d9e3 |
03-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning
wrast/s_tritemp.h
|
2d846b712c44ebcf7bedce43bb58765c7493d89e |
03-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-disable TRACE
nl/t_vb_lighttmp.h
|
a760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 |
03-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a variety of warnings found with g++ 3.4.2
rivers/x11/xm_span.c
lapi/gl_procs.py
lapi/glapi.c
lapi/glprocs.h
ain/blend.c
ain/buffers.c
ain/context.c
ain/image.c
ain/texcompress_fxt1.c
ain/texstore.c
nl/t_vertex_c.c
|
025aa9efcd8213ce530818cfd8be1b6d9e945b2c |
02-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
silence warnings
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/x11/xm_tri.c
|
869428505332df2468ff954539f211fdec12f2e7 |
02-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
reverse some debug that slipped through
rivers/x11/glxapi.c
|
22ae633d1ea636e0e07ba044a0f8fa2195c83bc6 |
02-Dec-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
Fix some warnings
rivers/dri/common/xmlconfig.c
rivers/x11/glxapi.c
ain/teximage.c
hader/program.c
wrast/s_alphabuf.c
wrast/s_linetemp.h
wrast/s_texture.c
nl/t_vb_lighttmp.h
|
ba807fbe2914cf1135297428f7a3163707203073 |
02-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Updated the schema. Added comments explaining some of the non-obvious attributes. Modified a couple handcode functions to use the count_scale attribute instead.
lapi/gl_API.xml
|
00d153eb726b6869ad9aa6a099c5ce31013d5535 |
02-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Corrected a problem with the sizes of the MAP[12]_* enums.
lapi/gl_API.xml
|
5ee2f9aed427c28ebab992ff5f97e278e60ab1c6 |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Added a couple missing always_array annotations and a couple trival enum-only extensions.
lapi/gl_API.xml
|
b53df18624a1b3870c1dcfe3981c07c089efe262 |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Slightly tweak the format of the size prototypes.
lapi/glX_proto_send.py
|
e9789cf07186e710ee212effb2c25be96f7cbff2 |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Python script to generate various bits of client-side GLX protocol code.
lapi/glX_proto_send.py
|
4f0a75e7241ca1545b67ccabe007b94c8cf9b429 |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Added the ability to get the size of a parameter as a string. Changed the meaning of "variable length array" to include variables that are "counted" instead of just ones that use an enum to map to a count. Added glParameter to the glItemFactory.
lapi/gl_XML.py
|
9001d673094b884e91a65389699b104a715f8203 |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
Added enums for GL_OES_read_format.
lapi/gl_API.xml
|
6106502fdfaef6a9fe08c17b7a0d29f396dc9d9d |
01-Dec-2004 |
Ian Romanick <idr@us.ibm.com> |
PrioritizeTextures, GetClipPlane, and WindowPos3fMESA don't need to be handcoded, but Enable and Disable do. Corrected some minor problems in the PixelMap functions and some ARB_vertex_program functions. Added size data for the enums that can be passed to the Map[12][fd] functions. Added the enums for EXT_pixel_buffer_objects.
lapi/gl_API.xml
|
dc991a2085f2115d4f2faa35fc1b8939306ce8ba |
29-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a warning
rivers/svga/svgamesa.c
|
e25c7c2ad51787fcfaba7f23242eca7fe7d94487 |
29-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
update from Jouk
hader/descrip.mms
|
9cf65c5a5b2cccf180b5850c7a7346c4ca339932 |
28-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix missing width/height error
rivers/x11/xm_api.c
|
65a66f5bc37383c00423c21baf8ba9d6771e0259 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport(). Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
rivers/allegro/amesa.c
rivers/beos/GLView.cpp
rivers/dos/dmesa.c
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_state.c
rivers/dri/intel/intel_context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
rivers/dri/x11/x11_dri.c
rivers/fbdev/glfbdev.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/svga/svgamesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_dd.c
ain/context.c
ain/matrix.c
ain/mtypes.h
|
118a8bad73bda88fc54f802b2beeb687c8ddb45a |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments and assertions
wrast/s_accum.c
wrast/s_auxbuffer.c
wrast/s_depth.c
wrast/s_stencil.c
|
29926a11b16ec7a235947d95e9a46777605dd30e |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the redundant width, height fields in xmesa_buffer struct. Just use the values in the contained GLframebuffer. Removed some other unneeded code.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
b371e50d6d249a455e0952f7a66760dbc6ac6f5a |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _glapi_add_entrypoint() calls, they're already in context.c
ain/rastpos.c
|
de43484c73a4e5b5b229afc3736fecbf794dc878 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
add a few functions in add_newer_entrypoints()
ain/context.c
|
b5b8d22c4ee921dff99b898a5907023b20670a27 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change the dispatch offsets for the VertexAttrib*NV functions so they don't alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
rray_cache/ac_import.c
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_noop.c
ain/api_noop.h
ain/dd.h
ain/dlist.c
ain/state.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
wrast/s_lines.c
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_vtx_generic.c
86/glapi_x86.S
|
91d09a9ffad4ed838d7604ca39d301844c17812f |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set symbol visibility to 'default', if supported by gcc.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
819b5195346c2f3661d5c6643feb6622a112c8ab |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new PUBLIC macro for symbol export
ain/dispatch.c
|
1d97c277e0cb2b75559d495a58222f2511212a66 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
new GetOverlayInfo() function to reduce code and silence warnings
rivers/x11/fakeglx.c
|
4d880987d248ff078845027cc21ba437564ac07d |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Have OSMesaGetProcAddress() return new OSMESAproc typedef.
rivers/osmesa/osmesa.c
|
21f6978c532eae50d9daefd481b5ab936225fd27 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up code related to dispatch table initialization
ain/context.c
ain/dlist.c
ain/dlist.h
ain/state.c
ain/state.h
|
11a0a99d1b0bccc45b484cd24eeaf97cda0e8d86 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use @ to silence some unneeded output
akefile
|
209bd3a5b41c2bc4fa6ec4667e6acbbb32101d98 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
make get_static_proc_address() return a _glapi_proc
lapi/glapi.c
|
7ee79c80ea19a7df6069265fc3656f0b29e78d7a |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _glapi_proc
ain/state.c
|
767e15a78afdb2042cc5eb693afb5791c046c995 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use new _glapi_proc typedef instead of void * for function pointers. Misc clean-ups in glapi.c
lapi/gl_apitemp.py
lapi/gl_procs.py
lapi/glapi.c
lapi/glapi.h
lapi/glapitemp.h
lapi/glprocs.h
|
1136412013d76a5cc197a10fcab99da03c642378 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo, update version/date
ain/dispatch.c
|
911a8bc62cb274b3264bc85ad65f3c8ad03796d9 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the GLAPI/GLAPIENTRY defines - they're already in gl.h
ain/glheader.h
|
568f7578d3789f58d52394d9d42a818b85d9a196 |
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed GLCALLBACK stuff - apparently never used anywhere. Removed GLWINAPI stuff - only used (unnecessarily?) in enums.c
ain/enums.c
ain/glheader.h
|
d2c1027d40d744e043742d5f2ef957feb1dc0edc |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added X11 and OSMESA source to ALL_SOURCES, updated etags command
akefile
|
59651a076dfc6ca16e4141907954e8aacfd946df |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
update some type names
hader/nvvertexec.c
hader/nvvertexec.h
hader/shaderobjects.c
|
c5f9aa7750633e2989a6a139c283419d536ee3f7 |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use a generic function typedef instead of void * to avoid gcc 3.4 warnings.
rivers/osmesa/osmesa.c
|
be2de8b299c9fc7bdc22372ed799e894a8582c62 |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use __GLXextFuncPtr type instead of void * for generic functions to avoid gcc 3.4 compiler warnings. Remove the unused/obsolete GLX_render_texture stuff.
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
rivers/x11/realglx.c
rivers/x11/xm_dd.c
|
4dafbc3dc75be565704f437016f70a63c48d1539 |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some new comments, clean-up formatting, etc.
ain/mtypes.h
|
936028f8b0db83595fda77ed4b9f30452cdf9c8b |
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Started some assorted clean-ups in #defines, typedefs, etc. Next: move all the Windows/WGL stuff into the drivers/windows/ directory.
ain/glheader.h
ain/imports.h
|
7a293a996224aa4fcb20bee70609f863a534d0de |
25-Nov-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Update expected DRM version to 2.0.0
rivers/dri/unichrome/via_screen.c
|
6dbb8ead0ff4ea788d92e0c5f49d6996e96e3527 |
24-Nov-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for several additional enum-only extensions: ARB_texture_rectangle, EXT_texture_env_dot3, EXT_texture_mirror_clamp, ATI_texture_mirror_once, IBM_texture_mirrored_repeat, NV_packed_depth_stencil, and NV_texture_rectangle.
lapi/gl_API.xml
|
e0a1cd31126c9b74e3126e81f629a13f22f65b49 |
24-Nov-2004 |
Ian Romanick <idr@us.ibm.com> |
Added information about numerous enums to aid the development of automatic code generation for GLX protocol. This includes adding support for several additional enum-only extensions: EXT_filter_anisotropic, NV_expand_normal NV_fog_distance, NV_texture_env_combine4, SGIS_generate_mipmap, SGIX_clipmap, SGIX_depth_texture, SGIX_fog_offset, SGIX_shadow, SGIX_shadow_ambient, SGIX_texture_coordinate_clamp, SGIX_texture_lod_bias, and SGIX_texture_scale_bias.
lapi/gl_API.xml
|
6b6c96bdeb580052cb9fa3831f1cd574f0e85728 |
24-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
update _mesa_store_teximageXd() comments and minor code clean-up
ain/texstore.c
|
ba6274126180368cf108b3afff2dbb0a0b34e8b5 |
23-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
revert enabling of hw quads for swtcl. It lead to problems with quad_strips, since they'll get reduced to quads sometimes if hw quads are enabled. But this needs more thought, since it looks like clipped primitives will always be emitted as polys, so the reduced primitives for triangles, quads, quads_strips, polys all need to be the same, otherwise get lockups with for instance the olympic test. Render templates would probably need to be changed for this to work.
rivers/dri/r200/r200_swtcl.c
|
180b0db3440833b58303990b9095318f56c11b75 |
23-Nov-2004 |
Ian Romanick <idr@us.ibm.com> |
Set the "ignore" flag for any functions that the open-source libGL doesn't already support GLX protocol for.
lapi/gl_API.xml
|
a789252feb41e82e753ba5976311e25b10ad375c |
22-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't allow queries/etc of buffer object 0 - it's invisible to users. Misc clean-ups.
ain/bufferobj.c
|
ebe8d3152d864b9f4a0501c868c54e472c9d67a4 |
22-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_RED/GREEN/BLUE to is_color_format()
ain/teximage.c
|
d0a82a652ddf0a8621e3e9c8be1e47e643e7af7a |
22-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning, minor clean-up
parc/sparc.c
|
c247c7f66f7d38bb35cedb84b1a2c3655c356ac1 |
22-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied SPARC patch (freedesktop bug 1898)
lapi/gl_SPARC_asm.py
lapi/glapi.c
parc/clip.S
parc/glapi_sparc.S
parc/norm.S
parc/sparc.c
parc/sparc_matrix.h
|
263317d00a4b3c4ee083cd74470c38083038e1ee |
22-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
include <X11/Xthreads.h> instead of "Xthreads.h"
lapi/glthread.h
|
f76be3d6f2b054e5316aeb7b265ed28bda28c8ae |
22-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
handle ENABLE_BIT for EXT_stencil_two_side
ain/attrib.c
ain/mtypes.h
|
c0be56e5e8b0f42110b86eb5e9b888ed8ff3534b |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
moved windoze specific code outside drivers/glide/
rivers/glide/fx.rc
rivers/glide/fxopengl.def
rivers/glide/fxwgl.c
rivers/windows/fx/fx.rc
rivers/windows/fx/fxopengl.def
rivers/windows/fx/fxwgl.c
|
4ffc5fa7a58519853a7578838f5574b65e9f39a3 |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
work around a bug in gcc 3.3.3 (which duplicates ASM block)
rivers/dos/dpmi.c
|
fdd74136b32e27c9193748176be1e2b87fae4075 |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fix _mesa_image_address2d invocation
rivers/glide/fxdd.c
|
37918cf3d9b75fe924d05e2c8c80216c3f2c6944 |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use float constants
ain/texcompress_fxt1.c
|
fd9b30750a0690a1fd13fcddb9141cdcaa61b117 |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use parentheses to avoid warning
ain/attrib.c
|
16e6f057725982731d38fda05effb1baaca96f0a |
15-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
the win32 interface will be moving under windows/
akefile.mgw
|
e6cd5d675ffb8d50347f15d574463489e7be2470 |
12-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable hw quad primitive for swtcl
rivers/dri/r200/r200_swtcl.c
|
ce055c26f08556a46ee8b4b88e5fd15eb4d2acd1 |
12-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefully fixes lockups (?) (from r200 driver)
rivers/dri/radeon/radeon_ioctl.c
|
8e3926575264d31b3caacb9cbb606f8f2914f57d |
12-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
(from r200 driver) If an application cleared before any state had been emitted, that clear would happen before any state had been set, causing a hang later on. Fix this by calling radeonFlush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in radeonClear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
rivers/dri/radeon/radeon_ioctl.c
|
6cf002c0c2b4025492281840fb24eb2764eccc6f |
12-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
nl_dd/t_dd_tritmp.h
|
0676fc357a12879531e6509354ecc7447c99d148 |
12-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added a few sanity checks made coding style a bit more consistent
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/null.c
rivers/dos/vesa.c
rivers/dos/vga.c
rivers/dos/video.c
|
885f10706a096037eea815803dbf4b4d28c3bd27 |
12-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device drivers
ain/debug.c
ain/enable.c
ain/mtypes.h
|
f37383c1c6a9cf83c556f2131fab1adef0efc17e |
12-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
wip hack for EXT_stencil_two_side
nl_dd/t_dd_tritmp.h
|
79a98dea915463803ee13768ee0cacf9b547d963 |
12-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
pop(stencil) for EXT_stencil_two_side
ain/attrib.c
|
a2c2393d9185030bded93311880a770aa62f931d |
12-Nov-2004 |
Adam Jackson <ajax@freedesktop.org> |
brown paper bag, r100 can't do hardware quads.
rivers/dri/radeon/radeon_tcl.c
|
4d17d00bfc8ad5cb331e2fca235df60d84310b32 |
12-Nov-2004 |
Adam Jackson <ajax@freedesktop.org> |
make render_quads_verts call EMIT_PRIM with the arguments in the right order, and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now.
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_tcl.c
nl_dd/t_dd_dmatmp2.h
|
60909388ab136d849d99eab49e782a53772a618f |
10-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_subset_bitmap.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/glide/fxdd.c
rivers/x11/xm_dd.c
ain/bufferobj.c
ain/bufferobj.h
ain/colortab.c
ain/convolve.c
ain/dlist.c
ain/histogram.c
ain/image.c
ain/image.h
ain/pixel.c
ain/polygon.c
ain/teximage.c
ain/texstore.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
f00d7edd746e4d1eec2d497419f21fb3b04f8bd4 |
10-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added shaderobjects.c
hader/descrip.mms
|
de08b0d7ed8af9d56bf8f82762095de3fe094c95 |
10-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add some chip ids
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
|
b12594d2a0bbe22da092b6b08917259b9f5871b7 |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
do clipping prior to XGetImage, just in case the image would extend beyond the screen's bounds
rivers/x11/xm_span.c
|
2a10ad16a65696163e91e46452845f3d4a60f7ad |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use the new _mesa_clip_readpixels() routine
wrast/s_readpix.c
|
e677da9e54e836609f94a3aaca27d68a0bacbb96 |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment and assertion in _mesa_clip_drawpixels() for PixelZoom
ain/image.c
|
c55c963f4c3ec6101241501de0f759520b985853 |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.
rivers/x11/xm_dd.c
wrast/s_drawpix.c
wrast/s_drawpix.h
|
4084e3c215d4db6370422fc718217bade7445618 |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_clip_drawpixels() and _mesa_clip_readpixels()
ain/image.c
ain/image.h
|
4f28c9c35a27c6171073b4045f173a6deeceb604 |
09-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use ctx->Pack, use the function argument
wrast/s_readpix.c
|
83889ffd970a807074d834849677fd233c031dc7 |
08-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove need for defining _MSC_VER when building Mesa for windows with a non MS C compiler (MinGW). (Gregor Anich)
akefile.mgw
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
ain/glheader.h
|
5849e3d353d956643dd40a3d5f53c31e79ae8cf0 |
05-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
shorter error messages when calling a GL function without a bound context (FDO bug 1775)
lapi/glapi.c
|
d294f79190a5b25ef0fbbbf3ac94b15c9402d009 |
03-Nov-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
|
bdd53efe8302e85fd1be4ceda0aa576e0119b14e |
02-Nov-2004 |
Ian Romanick <idr@us.ibm.com> |
Added MMX optimized version of the RGB565 ReadRGBASpan routine.
rivers/dri/common/spantmp2.h
86/read_rgba_span_x86.S
86/read_rgba_span_x86.h
|
2302cc1a25f7ab55b7e7d6647175308cd64ab7f1 |
02-Nov-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
No visible changes, but commit the groundwork for further experiments: - Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
rivers/dri/r300/Makefile
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_render.c
rivers/dri/r300/r300_state.c
|
b187341e63f417c191b5d13be6b76cbd63555802 |
02-Nov-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
Add culling registers, sync versions of r300_reg.h
rivers/dri/r300/r300_reg.h
|
cc78e40172589a2154f9f74c5ff4461b93db14fd |
01-Nov-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Nicolai's sw-clipspan-fixes.patch
rivers/dri/common/depthtmp.h
rivers/dri/common/stenciltmp.h
|
3d2b4bfa95c6a1d8c481f0ee2a18585c4d0627da |
01-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleaned up the mess a bit
ain/texcompress_fxt1.c
|
95e2a8099ba162b17479b0425e3f3bfdf9f22c29 |
01-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small aesthetic correction
nl/t_vtx_x86.c
|
e14119f143c42621f96754c0e086c627f4731191 |
01-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated "clean" target in makefiles
akefile.DJ
akefile.mgw
|
63a2f2a9774d21aa1983b9c8b5b2c7532d5d4a3c |
01-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
protected against old djgpp distros
rivers/dos/dmesa.c
|
3c17d73c87ca2dc49487a9ab26c0d654e404b782 |
01-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed compilation error
nl_dd/t_dd_vbtmp.h
|
051cf9df6a729fcac37e054fd0632521e990c3ae |
01-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix convolution regression from revision 1.48 to 1.49
wrast/s_copypix.c
|
a6c21a2af15fa768c5a0df14cee6f62521f98a85 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't advertise GL_ARB_vertex/fragment_shader until they're done
ain/extensions.c
|
a196565e04d1aa82b71c2ba3fb67be518b22f908 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a cast to ADD_POINTERS macro
ain/imports.h
|
effb720882c94fc92fd5ad80ba2966e2101d77f1 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
indentation fix
ain/convolve.c
|
450e917c9d71f696bca2ba11960a521e64385ec2 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use the _mesa_scale_and_bias_rgba() function in the convolution functions. Minor clean-ups.
ain/convolve.c
ain/image.c
ain/pixel.c
ain/pixel.h
|
331cc1dcba8705116288e487f43f460852c2159f |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
PBO support for gl[Get]PixelMap functions
ain/pixel.c
|
66f3231322c8c1c398cc95617813da5b4aa6bddc |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.
ain/colortab.c
wrast/s_imaging.c
|
bd3b40ad75d50483aaa99ad2d08a3dd8f20cdb42 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
PBO support for glConvolutionFilter1D/2D, glGetConvolutionFilter, etc.
ain/convolve.c
wrast/s_imaging.c
|
d56928f10dee6a60f0df83391564550ec9d44b80 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for PBOs
ain/histogram.c
|
b6f97582dd0327eee1bdbef38d5e96d83d88b86f |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glPolygonStipple() and glGetPolygonStipple() updated for PBOs.
ain/polygon.c
ain/polygon.h
|
1c868139226c07b1537e1951ad237bc070585161 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
PBO support for glGetCompressedTexImage().
ain/teximage.c
|
b46712ca9d379d9c091f5543500088d82cf9776c |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glGetTexImage() now works with PBOs.
ain/teximage.c
|
c0ebc4931a003b7b14e92c3b537b6ba76259507c |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Map/Unmap PBO as needed so that the texstore routines can work with hardware-based PBOs in the future.
ain/texstore.c
|
ba164c4614288f1642fc8e2f83d2895991b22d70 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed _swrast_validate_pbo_access(). In x11 driver, map/unmap PBO as needed in DrawPixels functions.
rivers/x11/xm_dd.c
wrast/s_context.c
wrast/swrast.h
|
355467bed8cf34cf5967c7be3c5f1b87ff08f845 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands to work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
7eab337d9c85105ee18a4b5b3ba7b070d5857840 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_unmap_buffer by default
rivers/common/driverfuncs.c
|
2daa4137b658569da542180442fc32ebc5608102 |
31-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove redundant error checking. Added _mesa_buffer_unmap(). Minor clean-ups.
ain/bufferobj.c
ain/bufferobj.h
|
efb8b3e251aa07029a2b001dc637d28f3a52a649 |
29-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
slang syntax conforming spec rev. 1.10.59
hader/slang_shader.syn
hader/slang_shader_syn.h
|
b0996b19f0af063da5a563778acd3119cde7ce09 |
29-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
make sure we don't generate random alpha
nl_dd/t_dd_vbtmp.h
|
03501e7a29138e030b43746dcc71781b9652a113 |
29-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
decoder "width" parameter represents "stride-in-pixels"
ain/texcompress_fxt1.c
|
7faf519233aaea368f0e5ea28fe35ff011ca9f15 |
29-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
VertexAttrib3svNV was incorrect
ain/api_loopback.c
|
4e120c97187b28b98a78f42d7c278784663afa23 |
29-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
lapi/APIspec
lapi/apiparser.py
lapi/glapitemp.py
lapi/gloffsets.py
lapi/glprocs.py
lapi/glsparcasm.py
lapi/gltable.py
lapi/glx86asm.py
|
98fa2bf3641633bbde6a8f037c242bc3cd5ec0d9 |
28-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups, found with pychecker
lapi/gl_XML.py
|
fa557e904d02c4869cd1d57f2f09437c3585c7d2 |
28-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
name parameter to glGetActiveAttribARB() should not be const. Added shaderobjects.c to sources file.
lapi/gl_API.xml
lapi/glapitable.h
lapi/glapitemp.h
ources
|
af7a8076509600f644497629a36ef6f34284a165 |
28-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
renumber ARB_shader_objects and ARB_vertex_shader offsets to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
lapi/APIspec
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
86/glapi_x86.S
|
948f2720f754450b048ba6f7a60b842bbf8e633a |
28-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Use the generic __amd64__, instead of __AMD64__ which has to be defined by hand.
ain/imports.h
|
3291de6d06ea4d51f3aeef2936c726064b9648ab |
27-Oct-2004 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not export it via glXGetProcAddress. These are not supported anymore, so print an error message to that effect.
rivers/dri/common/dri_util.c
|
b28031d57e27c37e47e244157cd59409cd51c269 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
remove unused entries
hader/shaderobjects.h
|
80d468c1c976d9e3c00edcf82e56f42e168c8b9a |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
fill api entries for ARB_shader_objects and ARB_vertex_shader
ain/state.c
|
678ea6cd5cb68d22668c93bf4ed830226ef26b0c |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add entries for extensions ARB_shader_objects, ARB_fragment_shader and ARB_vertex_shader
ain/extensions.c
ain/mtypes.h
|
2f11cbd15bed4422d96b3c6809f7bb13c670d043 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add FEATURE flags for ARB_shader_objects, ARB_vertex_shader and ARB_fragment_shader
ain/config.h
|
c1fe4698704b098df77ebe6bf3ea04d822d77f69 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
by karoshi - ARB_shader_objects implementation empty routines by now
hader/shaderobjects.c
|
ed2c18c08c54119aecda603458710cdfc73b8ea7 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
by karoshi - header file for ARB_shader_objects implementation
hader/shaderobjects.h
|
26bf36ce49b1766e763a84b23861c6f22f63f37a |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add support for ARB_shader_objects and ARB_vertex_shader
86/glapi_x86.S
|
beb95542736c70e3a3db1be6cfeef1fbe0f6ed7b |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add support for ARB_shader_objects and ARB_vertex_shader
lapi/glapitemp.h
lapi/glprocs.h
|
a97bc422d6e46a85bd6bab0230adf7fb8c6aa4a0 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
assign api offsets for ARB_shader_objects and ARB_vertex_shader
lapi/gl_API.xml
|
71eb0a7fd6d2efeff68b1d85c729511c41213261 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
regenerate with correct script
lapi/glprocs.h
|
b7293dc2b7396470c274eefdbbe66cca250882b3 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
regenerate with correct script
lapi/glapitemp.h
|
ec3ad666965aabf2b2464dd9918e902fe77ee222 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
fix DrawBufferARB entry
lapi/glapitable.h
|
1c0f9d71bdcf68338fb559d4add18cf6ec79e247 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
fix DrawBuffersARB entry
lapi/glapioffsets.h
|
455c8177adbd0c003cd4a284d1032ec4a0c84481 |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
the file was empty!
lapi/glapitemp.h
|
b15fd4ba766b6a8451fafc6dbf32a362f0cace9a |
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
by karoshi - add support for ARB_shader objects and ARB_vertex_shader
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
|
95ba3524970f9f63aa518d6c3dd4e702c4941861 |
26-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.
rivers/dri/common/mmio.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_ioctl.c
|
640492aec90b955820a762ce7724ebf681f924a8 |
26-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added an attention-getting comment for developers who get stopped in _mesa_test_os_sse_support() while debugging
86/common_x86_asm.S
|
7badefa6c4918b5c3198a4cd798556c9f52adde6 |
25-Oct-2004 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.
rivers/dri/Makefile.template
|
5a9fd2afc67ce526c5255505c2e35fb3a9495112 |
24-Oct-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
Implement ColorMask
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
|
d586540eaf43a61e53a0c0e4b087d2757f0f4ca5 |
24-Oct-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
Hardware accelerated depth clear
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_span.c
|
94987beb2c9e87d9c55db5cb7c089dc77f78df94 |
24-Oct-2004 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1682: Mesa core code that gets linked into DRI drivers should never call through the GL API directly, but should instead use the GL_CALL macro.
ain/api_arrayelt.c
ain/dlist.c
hader/arbprogparse.c
nl/t_save_loopback.c
nl/t_vtx_eval.c
|
0aa0343fb00eb1058e07d8c17bda77d73be1d71a |
23-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fixes from J.P. Delport
wrast/s_spantemp.h
86/Makefile
|
74b00800862e917673a0bf06eace2c5266b531ac |
23-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Big-endian fixes for R200 sw TCL path.
rivers/dri/r200/r200_swtcl.c
nl/t_vertex.c
nl/t_vertex.h
|
cb499595aa157254a88b431aee82927e604cf227 |
22-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
- add decimal literal integer support - fix bug with c-style comment closing - sequences like /***/ were not correctly parsed
hader/grammar.syn
hader/grammar_syn.h
|
c69ceaf8ebfe0f8f2c1d085e05d5974fe8b9b295 |
21-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
forgot about revision increment
hader/arbprogram.syn
hader/arbprogram_syn.h
|
b80bc055bc94b8b13fad68705e497be8bd2bff71 |
21-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
- use new program option values from arbprogram.syn - remove redundant check of parsed program target - remove redundant check of relative addressing range - use faster grammar interface
hader/arbprogparse.c
|
ed60e19d8a5ad0d22e3164ebfe8b056a352106d4 |
21-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
remove redundant check of parsed program target
hader/arbfragparse.c
hader/arbvertparse.c
|
718ba9773bf570b9f5e2cf2a98a6ccf4980da537 |
21-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
change program options numbering to accommodate future options (up to 256)
hader/arbprogram.syn
hader/arbprogram_syn.h
|
cbef98c2eae6f4ec3874a226af65f25c5b8526e2 |
20-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add new grammar_check_fast entry for faster parsing
hader/grammar.h
|
904ef741de76b41825d9f18153e3535a89390d5b |
20-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
- speed up syntax parsing - the parser is now 4 times faster note: to use it you must use grammar_check_fast entry - allow decimal format for literal integers in .syn files - raise am error if syntax has duplicate or unreferenced symbols - do some little clean-up with linked-list stuff - make macro APPEND_CHARACTER a function - fix minor typos and bugs
hader/grammar.c
|
a7855e835dc5e806a232a50ee7f2bea0ceb7dc9b |
20-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed compilation errors
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
|
05517d02be557d49b3ce043a4b2c179320e42412 |
19-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fix compilation error in `convertPalette' (still have to fix the issue, though)
rivers/dri/tdfx/tdfx_tex.c
|
f404ff7b76d70a495d4246851127125a194a1adf |
19-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Small optimization for big-endian (e.g., PowerPC) systems.
rivers/dri/common/spantmp2.h
|
f459b9f9c0ac4f0634028a7edb6275bb1201a055 |
18-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
conform to shader spec 1.10.59
hader/slang_common_builtin.gc
hader/slang_fragment_builtin.gc
hader/slang_vertex_builtin.gc
|
cfb62331bc9cd229eea6aa6b96339c570456495d |
18-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
conform to language version 1.10 rev 59 resolve TODOs
hader/slang_core.gc
|
a0720cf1046621734540138618768d6c123b7946 |
18-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
print an error message in convertPalette before dying. this is NOT a fix, but it'll have to wait a little...
rivers/dri/tdfx/tdfx_tex.c
|
c99a99b3bc4595162f8a8927b8d2d53c78edc1a0 |
18-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small fix to match new _mesa_rescale_teximage2d
rivers/dri/tdfx/tdfx_tex.c
|
1cfe1e8925f8e1b89df5330895255a038be7f122 |
18-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
changed _mesa_rescale_teximage2d to allow rescaling of padded images
ain/texstore.c
ain/texstore.h
|
8cd728f43639f0f0a1f9ad22ea00821b0ccd2b80 |
18-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added dstRowStride to dxtCompressTexFuncExt; good for subimages, padded images and such. NB: intentionally, this is the last parameter, to avoid breaking the current API! adding a new parameter is not harmful, at worst it will be ignored, since all platforms use a CDECL calling convention.
ain/texcompress_s3tc.c
|
13ec04c480a9b681f35b191d93e5aa00ded70b54 |
18-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use RowStride instead of Width in texel fetchers. changed some pointers to be (char *) instead of (long)
ain/texcompress_fxt1.c
|
b430a1ae226308c04dab2a62b5e9127dfed25b2c |
18-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix compile errors when DEBUG is defined.
rivers/dri/r200/r200_texstate.c
rivers/dri/tdfx/tdfx_tex.c
|
48da4a4a86fb17d972c4aa536a18988a3cdc51c1 |
17-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix t_vertex byte-ordering issues for PowerPC. This was tested with gears and tunnel (for fog).
rivers/dri/r128/r128_tris.c
|
40e852271b1a2f6a41e335c2089e683b24afe57c |
17-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Add ARGB modes to support big-endian systems.
nl/t_vertex.c
nl/t_vertex.h
|
add38812f0b878e083419027fa451eaa24893867 |
17-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix hangs on big-endian (e.g., PowerPC) hardware.
rivers/dri/r128/r128_ioctl.c
|
ff42a00402deab3034163c2b76c2082cce39d901 |
17-Oct-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
- FIX: flickering - Scissor support works now
rivers/dri/r300/r200_context.h
rivers/dri/r300/r200_state.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
|
3152b1586cfdb06df204c5291db7b0f3850d8cb9 |
16-Oct-2004 |
Ville Syrjala <syrjala@freedesktop.org> |
Removed two unnecessary variables.
nl_dd/t_dd_dmatmp.h
|
63e9a968ffabb0d7adcfd39aeb2f019b943ebb59 |
16-Oct-2004 |
Ville Syrjala <syrjala@freedesktop.org> |
Fixed off by one errors in clipping.
rivers/dri/mga/mgastate.c
|
b1ebd306bf4fdc4076d3d3daa410b08f477cb4c4 |
16-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add code to support projective texturing and fix mixed enabling of texture coordinate generation. Original code by Roland Schiedegger, with changes by myself. While here, ensure that the swtcl path does tnl_install_attrs enough when fog/specular are being (en/dis)abled. Notable effects: - projtex test works with TCL and is closer with swtcl (Bugzilla #1461) - 8/9 squares work in texgenmix instead of 3. - texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the hardware can actually support it). - flickering in doom3 replaced by just plain darkness. - blocktube fixed (Bugzilla #984) - fixes stex3d
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/r200/r200_vtxfmt_c.c
|
a1af92877d3d91886cf01be9e6c65311960e3baf |
16-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Always turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears that the current cases for turning it on were insufficient (Bugzilla #1519, 729, 814) and it has no significant performance impact. Performance tested with quake3 in GL_LINEAR mode both with and without anisotropy, with the workaround always on or always off.
rivers/dri/r200/r200_texstate.c
|
33899b7c351fda77bed6dee5e5d02e31c2f7e0e5 |
16-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Add support for OES_read_format. As soon as glext.h is updated with the enums for this extension, the changes to gl.h can be removed.
ain/context.c
ain/extensions.c
ain/get.c
ain/mtypes.h
|
83c74b72792928b5a5ac540eeef65fca3145ddb6 |
16-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)
hader/arbprogram.c
|
1aa37f97c484dbe62bfd8b27ed6d9b0c744a2b35 |
16-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format matches what they optimized versions actually expect.
rivers/dri/common/spantmp2.h
|
12b53f207919bd02506bd3b337ab501ee2c8092b |
16-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed a few places that should have been using GET_SRC_PTR.
rivers/dri/common/spantmp2.h
|
ea6786b453dfd5d1acf0dffcbe845c70d69debdc |
16-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert MGA driver to use new spantmp2.h interface.
rivers/dri/mga/mgaspan.c
|
5696710f96f9517d24958208fb90a5a72d145a26 |
15-Oct-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
Huge dumb drop. State: - Color buffer clear is accelerated, but flickers (possibly caused by a recent DDX or Mesa change or bad merge) - Everything else uses software fallback rendering - There should be no clipping-related artifacts with the sw-clipspan-fixes.patch against Mesa (posted on dri-devel) - Multiple clients should be rock solid with a DDX patch that is soon to come (soon = within the next hour or so)
rivers/dri/r300/Makefile
rivers/dri/r300/r200_state.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_state.c
rivers/dri/r300/radeon_state.h
|
06487945186f546094b78cc7021a2bc1e695c17b |
14-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Add support for optimized versions of the code underlying ReadPixels (and DrawPixels). The R200, R128, and Unichrome drivers get support in this commit. Other drivers would be easy enough to add for people that have the cards. The DRI (CVS) build will need to be updated to account for the new source files.
rivers/dri/common/spantmp2.h
rivers/dri/r128/r128_span.c
rivers/dri/r200/r200_span.c
rivers/dri/unichrome/via_span.c
ources
86/read_rgba_span_x86.S
86/read_rgba_span_x86.h
|
dc45ee7a4b07603646a0b0f502f74941a4b73f3d |
14-Oct-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a license to this file. It was written on VA's watch, so they get the honours.
rivers/dri/common/spantmp.h
|
07bd4c585ccd01b47d6462385a710f0c7a0486b2 |
14-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Added some documentation that I managed to figure out through experimentation.
rivers/dri/unichrome/via_3d_reg.h
|
82f2e80f14240aae25b23744264c6ebc5af00536 |
14-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Make the GL_RENDERER string include the actual chipset information instead of always saying "CLE266".
rivers/dri/unichrome/via_context.c
|
447cdd536fe4539b724e8a7024659e3f4cd724d1 |
13-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Initial support for PowerPC specific code in Mesa and DRI drivers. DRI drivers built on PowerPC systems should now show things like "PowerPC" or "PowerPC/Altivec" in the GL_RENDERER string. The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions. I chose this not because I work for IBM but because it's a LOT shorter to type. :)
rivers/dri/common/utils.c
ath/m_xform.c
pc/common_ppc.c
pc/common_ppc_features.h
ources
|
b72ed81818e63a70c1ded2789b9e22ee4c516aae |
13-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Refactor the code in driGetRendererString a bit to make it easier to add support for features of non-x86 CPU types.
rivers/dri/common/utils.c
|
81f67fc4e9621f08f46c8219f5ab5dc5c329b146 |
13-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Eliminate the funky SSE exception test from DRI builds. It's not need (see the comment in the code), and it's just annoying.
86/common_x86.c
|
dfe508ca7af1a6d1099cd65e257512ed1e17d893 |
13-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix minor fog / fragment program state bug. Don't add diffuse and specular colors when using fragment program.
wrast/s_context.c
wrast/s_context.h
wrast/s_fog.c
wrast/s_span.c
|
886df0926fe6b3d8f82cff62747abfdb95540aa0 |
13-Oct-2004 |
Adam Jackson <ajax@freedesktop.org> |
Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)
rivers/dri/tdfx/tdfx_tex.c
|
f58c61ddb5cf62c96ad0a5d536d636f1e0ccda06 |
13-Oct-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Let's build again after the support for GL_ARB_draw_buffers was added.
rivers/beos/GLView.cpp
|
d334067193271f366b54836e8f50c7d145a7dee0 |
13-Oct-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Fix a potential memory leak.
rivers/beos/GLView.cpp
|
ac855a66886520aa2e8e1488f960eb621b126cf6 |
13-Oct-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Implement BGLView::CopyPixelsIn/Out(). BGLView::ErrorCallback() is now actually called on error! Plus usual minor changes.
rivers/beos/GLView.cpp
|
701c289ff351386240763dc92ba43cc2f2e73ac5 |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
support for external libraries
akefile.DJ
akefile.mgw
|
3c9faa448ccef15a514a5580fe76838822dd2a9e |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
SWTC trick (disabled for now)
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
2bff8bd8de1cdb0398a4c6f4519c5716c90343ab |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
SWTC trick, enabled new extensions
rivers/windows/gdi/wmesa.c
|
92e1d5fd34491814c48310e4e6d5207c434dcc3f |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
SWTC trick
rivers/dos/dmesa.c
|
189f7e31d652064e5c8a4b492206b180c6d99020 |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
avoid the patch if Mesa_DXTn flag is set
rivers/glide/fxddtex.c
|
76908ab9d46a46c08815162971395176dfc7780a |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
add more mess to the dynamic linking system
ain/texcompress_s3tc.c
|
3d322f6c5ee8a504ea9c554696da4807e37ecdc0 |
12-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
add newline to end of file
hader/arbprogram_syn.h
|
def29a3f870b1f857152fa633b2721782a36a125 |
12-Oct-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fix strange white space that gcc didn't like.
hader/arbprogparse.c
|
ab2c0bed5a0d1b7e55826390a5f98e840edb0463 |
11-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
Prefix operator and constructor keywords with two consequtive underscores ( __ ). This will be more compatible with glslang spec.
hader/slang_core.gc
|
ad22ce8143c86cc3d61ba64022b1a8b638d386c1 |
11-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
Enable draw_buffers only if GL_ARB_draw_buffers string is present in GL_EXTENSIONS string. Parse OPTION ARB_draw_buffers.
hader/arbprogparse.c
|
739823d25075a5676e566f4af14e114bd4b99069 |
10-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
This statechange is vtx state, not tcl.
rivers/dri/r200/r200_texstate.c
|
57f1b25caf9c3ef6c274bff18785901cb9ec8b3b |
09-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Use the right FALLBACK macro for projtex so that projective textures actually cause a fallback, and simplify the tmu handling a little.
rivers/dri/r128/r128_tris.c
|
ea6f4f6079de8f35b6e3d597525d958bcedc7bad |
09-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by default so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_tris.c
|
b4d269f35f0f0e0c87793a319a77f571a54a5a47 |
09-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't be used in that case, and it wanting WRITE_DEPTH was making r128 die on the undefined symbol.
rivers/dri/common/depthtmp.h
|
f6cdaa9c81611f03f6e1eb2e4a5920b858f1673f |
08-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for NV_blend_square, and print errors if an unsupported blend function is used.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_state.c
|
3eccddb746b797b4674d147839956116d8b40ae7 |
08-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Massively cleaned up the code that calculates front/back/depth buffer pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
|
a2dc424acfe83f3c66d3509f5a1efc24ce884367 |
08-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Reject unsupported texture formats passed to glCompressedTexImage?D. This fixes Mesa bug #1028405.
ain/teximage.c
|
cb1642a75cc5fd795d43d15f79118162d922f429 |
08-Oct-2004 |
Alex Deucher <agd5f@yahoo.com> |
Apply Eric's stencil wrap patch (Eric Anholt)
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedd.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
|
d09209f5530e8bba78e4e0ec62b2027c588cc8f3 |
08-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add Roland Scheidegger's S3TC patch. This patch does not implement the (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
rivers/dri/common/xmlpool.h
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_tex.c
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_screen.h
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_tex.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
ain/mtypes.h
ain/texcompress_s3tc.c
|
554e5a2eaf4b681b5c43b6aeb66f100a66da4a42 |
07-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Prevent Y-offset from exceeding valid range in texture upload code. This fixes bugzilla #960.
rivers/dri/r200/r200_texmem.c
|
1695cfe991984356ffd4c8971c2ae3212ad227ed |
07-Oct-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fix emitting fog without secondary color and vice-versa.
rivers/dri/savage/savagetris.c
|
89353febc0fdb1db6ff14633da604a59eee3913a |
06-Oct-2004 |
Karl Schultz <kschultz@freedesktop.org> |
*** empty log message ***
wrast/s_pointtemp.h
|
fb170c8bd71e649807a9e86e7290c973bc34b206 |
06-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL_ARB_draw_buffers updates from Michale Krol
hader/arbprogram.syn
hader/arbprogram_syn.h
|
0b89f7a93a234491b4fa967450de500c4e29e789 |
06-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GetVertexAttrib problem
hader/arbprogram.c
|
be50caa52c6dd87f5b4e430d67265adca7584126 |
06-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert tdfxDDInitExtensions to use driInitExtensions.
rivers/dri/tdfx/tdfx_context.c
|
e9be96d39e5f6e31f7c8e6048bd41a69a69c1ac7 |
05-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
put Rush in the list of supported HW
rivers/glide/fx.rc
|
0efa4a8f966d9f306e9402c0eb7bf9d4dea2a194 |
05-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
stencil wrap works, either HW or SW (Ian Romanick)
rivers/dri/tdfx/tdfx_context.c
|
cb932046a8241279436d78754b067d6590aceb4f |
05-Oct-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
enable 2_0 extensions
rivers/dos/dmesa.c
|
617add69cade28c21b80b0c4f7cd55cf3afa72e2 |
05-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Use the driFillInModes utility function.
rivers/dri/mga/mga_xmesa.c
|
ee3b7e390a8d4f20b4571254b93193bca72c3332 |
05-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Also export fbconfigs with 0/0 depth/stencil modes. This fixes "driver claims not to support visual 0xXX" warnings in X.org 6.8.1.
rivers/dri/mga/mga_xmesa.c
|
b82333db3e88b86e36c090a5b20b20d021b54b89 |
04-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Add some Savage3D stencil documentation based on discussions during the 20-Sep-2004 #dri-devel meeting.
rivers/dri/savage/savage_3d_reg.h
|
ddfec59bcdf84f26b7be206bf8c7fca9b8426cca |
04-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
make clean should remove depend.bak too (Sérgio Moneiro Basto)
akefile
rivers/dri/Makefile.template
rivers/dri/dri_client/Makefile
|
be76b7fe1e09ae52204f6225331355414c05f91d |
04-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
ARB_fp support for GL_ARB_draw_buffers (Karl Rasche)
hader/arbprogparse.c
hader/arbprogram.c
hader/arbprogram.syn
hader/arbprogram_syn.h
|
00fb3a054a7499a9db6f87088356bee5c4e8f135 |
04-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits. This fixes bugzilla #1511.
rivers/dri/unichrome/via_context.c
|
5e243bd57e4c53206a986d67a2bd05450e7fc238 |
04-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
The alpha post-scale and the RGB post-scale were mistakenly reversed.
rivers/dri/unichrome/via_texcombine.c
|
e8250c6271c87c0dbe90214a86d5be7b3528c048 |
03-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Remove empty r128_vb.h.
rivers/dri/r128/r128_vb.h
|
58d84409a3cb11fe49cc8517bb2e1ce1302b8570 |
03-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
put glapi_x86.S into the x86/ directory
lapi/Makefile
|
788ff5b5c7eca4f9ca689a4224a2cf944ee60edc |
03-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused413 stuff, glDrawBuffersARB uses that slot now
lapi/gl_apitemp.py
lapi/glapitemp.h
lapi/glapitemp.py
|
feac4f6ba56d12c5d865b5a4b976f1939b557602 |
03-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_draw_buffers
86/glapi_x86.S
|
3298ec4670378c69eda8c54ea81effe7bd327b51 |
03-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix _DrawDestMask[0][0] typos
rivers/dri/unichrome/via_span.c
|
53f82c5aadbb15585754bfacf3237093eccdb2ce |
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for GL_ARB_draw_buffers
rivers/common/driverfuncs.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_state.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_state.c
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/glide/fxdd.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
lapi/gl_API.xml
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/buffers.h
ain/config.h
ain/context.c
ain/dd.h
ain/dlist.c
ain/extensions.c
ain/extensions.h
ain/get.c
ain/glheader.h
ain/mtypes.h
ain/state.c
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_span.c
wrast/swrast.h
|
289ffee2a017308a9a97689662293613dc62d9e9 |
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix indentation
hader/grammar.c
|
cbef8c47760425c6e77b57deec8ee52d096040ff |
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a comment
ain/image.c
|
83fb8c34fb1f5ea79b0300b763fb22fcf3174eb8 |
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.3
ain/version.h
|
9ca83924848070d02a5ac2f0aa4e20444eec2183 |
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix LoadProgramNV regression when I had fixed the RefCount bug
hader/nvprogram.c
hader/program.c
hader/program.h
|
599ea624a3b95f397d7837a0254c39c9bd0ab0ed |
02-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
If an application cleared before any state had been emitted, that clear would happen before any state had been set, causing a hang later on. Fix this by calling r200Flush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in r200Clear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_ioctl.c
|
e5856a2960b6a65e1e5bb55d98a7e40498b5bf6d |
02-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Convert Rage 128 over to t_vertex.c. While it's slightly slower (10% in ipers) it's not that big of a deal in more normal apps, and axes a good bit of code. And I assume that t_vertex will only get faster. Removes ~43k from compiled binary. Tested with: quake3, ut, ipers, texcyl, chromium, tuxracer, neverball (kinda)
rivers/dri/r128/Makefile
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_vb.c
rivers/dri/r128/r128_vb.h
|
fc552c530fa663b47961b947be5600a061a0b116 |
02-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add an option for vertices emitted to be swapped CPU_TO_LE32, to be used by the r128 code.
nl_dd/t_dd_triemit.h
|
5b73371e05e48d1b835579b8db81b12df203ce67 |
02-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Cut out all of the old texture environment code and rewrote it from scratch. There were just too many cut-and-paste errors in the code, and it was too hard to follow. This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but I'd like to do some more testing before I close that particular bug. Additionally, this cuts almost 4,600 lines of code from the driver.
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texcombine.c
|
bf4b63f8366c752e665caf96f9250364313a3638 |
01-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Replace the numerous switch-statements to derive GL_COMBINE post-scale state with a function. This function sets the bits correctly. Did some trivial refactoring on some of the GL_COMBINE code. First pass at replacing classic texture environments with GL_COMBINE. This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
rivers/dri/unichrome/via_state.c
|
75e2f0698e6977989e0b4425dbd7b48d35b77450 |
30-Sep-2004 |
Ian Romanick <idr@us.ibm.com> |
Factored out code for setting texture coordinate wrap bits. Added support for GL_ARB_texture_mirrored_repeat. Enabled GL_NV_blend_square. It has always actually been supported. Removed redundant EXT versions of ARB extension strings.
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_state.c
|
ba467e86fe2a6f6e34221e5f3f718f9c708df1b4 |
30-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
set span.y prior to each span write in draw_depth_pixels, like Karl's other fix
wrast/s_drawpix.c
|
6a2ca962db23f6affb4b93458211849db5a73044 |
30-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Bugzilla #1058: Fix some potential 64bit pointer issues by storing differences between pointers in appropriate types. Submitted by: Ronny V. Vindenes <s864@ii.uib.no>
rivers/dri/r200/r200_ioctl.c
|
7a086dc05e665a78f7e9d069aa4fc70e844b8988 |
30-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
OK, one more time. Simplify the state-backup system by just storing the full state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported where the check() could return differently during backup-and-emit than it should have if it were called at the right time. Move the lit emission before most of the TCL state emission on r200, which fixes neverball issues. Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_state_init.c
|
fa569c0a73576d3cca7cd1d0363064be099a6a22 |
28-Sep-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Fix bug in glDrawPixels when writing color indexed images on color indexed devices. In draw_index_pixels(), use the correct variables for the span Y and span end values.
wrast/s_drawpix.c
|
f30d53e0498a558100a1b9d9651ff375a7b3c7b4 |
28-Sep-2004 |
Nicolai Haehnle <prefect_@gmx.net> |
Initial revision
rivers/dri/r300/Makefile
rivers/dri/r300/r200_context.h
rivers/dri/r300/r200_ioctl.h
rivers/dri/r300/r200_reg.h
rivers/dri/r300/r200_sanity.h
rivers/dri/r300/r200_state.h
rivers/dri/r300/r200_tcl.h
rivers/dri/r300/r200_tex.h
rivers/dri/r300/r300_cmdbuf.c
rivers/dri/r300/r300_cmdbuf.h
rivers/dri/r300/r300_context.c
rivers/dri/r300/r300_context.h
rivers/dri/r300/r300_ioctl.c
rivers/dri/r300/r300_ioctl.h
rivers/dri/r300/r300_program.h
rivers/dri/r300/r300_reg.h
rivers/dri/r300/r300_state.c
rivers/dri/r300/r300_state.h
rivers/dri/r300/radeon_context.c
rivers/dri/r300/radeon_context.h
rivers/dri/r300/radeon_ioctl.c
rivers/dri/r300/radeon_ioctl.h
rivers/dri/r300/radeon_lock.c
rivers/dri/r300/radeon_lock.h
rivers/dri/r300/radeon_screen.c
rivers/dri/r300/radeon_screen.h
rivers/dri/r300/radeon_span.c
rivers/dri/r300/radeon_span.h
|
bbe364603c4ff74ecdc0adb9ccdfd43926c5ef33 |
28-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use GLuint instead of uint
rivers/dri/common/depthtmp.h
|
293ad985103ceab90c126236af2f75617fce6b2b |
27-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
VBO RefCount fix (David Reveman)
ain/bufferobj.c
ain/varray.c
|
e60c9311daeba49fcc221da82c29b35558ffc6ab |
27-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
stencil wrap works, either HW or SW (Ian Romanick)
rivers/glide/fxdd.c
|
8018f7104b9f33f3574823a1ee5550b5065ff394 |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Bump driver_date for today's fixes.
rivers/dri/sis/sis_dd.c
|
97ac8282f518210f640293e427b0e811801f7b9f |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Can't bail in sisDDLogicOpCode when logicop is off, because it's called with GL_COPY to turn off logicop. Fixes glean's logicop test.
rivers/dri/sis/sis_state.c
|
18c459c10b7906791b4bfc092cf43071bcdc9038 |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Triangle stipple is a fallback, since we don't have code for the stippling. Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct.
rivers/dri/sis/sis_tris.c
|
5565d32b57e06a83a36fb5d43c4f09a3fe9bfbf8 |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Correct a couple of comments.
rivers/dri/sis/sis_reg.h
|
7b363b0dd492e7222e8503e24f35c651de0a0bfc |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hang the hardware. Re-enable AGP by default.
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
|
5562fe653cf88454bbf2c50f77a8b56b0dafe01b |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
The previous code would emit a full set of state during the first EmitState on a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on unlock. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Provides a 10-15% improvement in ipers performance in my tests, along with other apps. Tested with: ipers, glxgears, quake3
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_subset_tex.c
rivers/dri/radeon/radeon_texmem.c
|
4010481ba3bce98d95a20e9a061fb62922bdcb83 |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Fix texturing in quake3. Some code was left over from the dirty/clean list setup that now removed atoms from the atomlist on texture deletion.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_texmem.c
|
b4e2e9c65a8c840031065812d3c16add9d61b98b |
25-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Bump DRIVER_DATE for yesterday's changes.
rivers/dri/r200/r200_context.c
|
328a039413fd2b8649511f1ca130df2a59f2c71c |
24-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)
rivers/dri/common/depthtmp.h
rivers/dri/common/spantmp.h
wrast/s_depth.c
wrast/swrast.h
|
d9873c59ef4d14b5e3137cb2d7c765797f82ac56 |
24-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added (back!) option to use non-packedcolor
rivers/glide/fxapi.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
|
303c342d5353e7fb1b480da97ce505357eafe0c0 |
24-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
-O -Wall warnings cleanups in r200.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt_c.c
|
cddd5c99e526f0e8e550caffcbf87100957845b8 |
24-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Clean up some warnings in the R100 driver with -O -Wall.
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_vtxfmt_c.c
|
106ab07acd3de9450ddbd675bf512707d96ba6a9 |
24-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Remove an unnecessary calculation of the dest pointer.
rivers/dri/r200/r200_cmdbuf.c
|
529e0a98d477e33f41f680926f8b9c745aebbe90 |
23-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't test for NULL pixels pointer here, do that in the 'store' routines after validating PBO address
ain/teximage.c
|
7e0c5888eaf72483319533a805ce491e2ea7de92 |
23-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment in BindTexture
ain/texobj.c
|
7287bbf4fc7c52da2aa31cae897ed70deda645bb |
23-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some comments and formatting changes
rivers/x11/fakeglx.c
|
a1f8ecf9627271110b11e04e3ff2dba37b4932be |
23-Sep-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix for Erics new emit state code, rework out the dest pointer after we check the buffer
rivers/dri/r200/r200_cmdbuf.c
|
0c8f8d3dc9d60ed34eeca7f3606651420a81753c |
22-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
The previous code would emit a full set of state during the first EmitState on a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the case of context switching). This was rather inefficient. Instead, after flushing a cmdbuf, mark the state as needing to be saved on UNLOCK. Then, at the beginning of flushing a cmdbuf, if we actually have lost the context, go back and emit a new cmdbuf with the full set of state, before continuing with the cmdbuf flush. Also, remove the dirty/clean atom lists, since atoms are emitted in a fixed order these days, and go with a simpler single list. Provides a 14% improvement in ipers performance in my tests, along with other apps.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_state_init.c
|
029ee9c680cd097b82d3d301b3854d57993d4464 |
21-Sep-2004 |
Dave Airlie <airliedfreedesktop.org> |
Add xmlconfig to the i810 makefile
rivers/dri/i810/Makefile
|
e2b13e4af3a31da9097ec8a1bbbaaf897c52b8f3 |
20-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
clamp size of wide points
rivers/glide/fxtris.c
|
c59270e2b82abe9bcb0af6a1593b81772f6306d3 |
19-Sep-2004 |
Ian Romanick <idr@us.ibm.com> |
Add GL_ARB_texture_cube_map support for i830. Most of the code was lifted from the i915 side. i830 will now report version 1.3! Hurrah! With the exception of GL_EXT_texture_compression_s3tc, the i830 driver now supports all the extensions that its Windows counterpart supports.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
b9bbe780313d584974307389a67ca94ad65de3c0 |
19-Sep-2004 |
Ian Romanick <idr@us.ibm.com> |
Added GL_ARB_point_parameters support for i830.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
be3359bad5930a7aa27237d48aa67e6c7b11975b |
19-Sep-2004 |
Ian Romanick <idr@us.ibm.com> |
Merge in all the i830 functional differences from the old i830 driver.
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i915_context.c
rivers/dri/intel/intel_context.c
|
ffe52c64448a4a3cf10565d3b01591fa9f520c42 |
18-Sep-2004 |
Karl Schultz <kschultz@freedesktop.org> |
rearrange a couple of lines of code to avoid compilation error in VC 6, probably due to a compiler bug.
rivers/windows/gdi/wmesa.c
|
6616146698834eb99d1413b6ca400bc47aa0d217 |
17-Sep-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Symbol names are prepended with an underscore on CYGWIN as well. X.Org Bugzilla: 1079 Submitted by: Alexander Gottwald <ago@freedesktop.org>
nl/t_vtx_x86_gcc.S
|
b18715fea310978683ba8eacdfcef6f746d0b2c4 |
15-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein
rivers/dri/ffb/ffb_vtxfmt.c
|
d4aaa68979c96df01fbe7122a1dcd663ef83b441 |
15-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
in _mesa_problem() include version number in error message
ain/imports.c
|
765f1a12c6256282fe175ec92a0d01b45e4322c7 |
15-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
also fix possible delete bugs with buffer objects and vertex/fragment programs
ain/bufferobj.c
ain/mtypes.h
hader/program.c
|
f18fc687071a71a6f821a779a83b435f80d55b64 |
14-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash. Added a DeletePending flag to texture object struct to fix that. Other misc clean-ups.
ain/mtypes.h
ain/texobj.c
|
c3912b66abb23ce2db00723a4cb79ac84ae4a086 |
13-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*(). Define 2.0 point-sprite related tokens in glheader.h (temporary).
ain/attrib.c
ain/get.c
ain/glheader.h
ain/points.c
wrast/s_pointtemp.h
|
4ef9ad22ae07b861e7f7ec6448ed589b14ac15d8 |
13-Sep-2004 |
Ian Romanick <idr@us.ibm.com> |
Minor extension string tweaks. Added support for vertex program extensions. Tested with arbvptorus, arbvpwarpmesh, vptorus, and vpwarpmesh.
rivers/dri/mga/mga_xmesa.c
|
051f6a5cb01c3dc8cb2225ab09757f8b360256dd |
13-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove ARB_texture_non_power_of_two from _mesa_enable_1_5_extensions()
ain/extensions.c
|
114246eb86c3f0571d5596e01e2586f955ccfb24 |
13-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak texcoord for sampling texture rectangles (Dave Reveman)
wrast/s_texture.c
|
b66f674410dfb48c0da66374da99bfc3c3b13205 |
13-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup and bugfixes for fxDDClear()
rivers/glide/fxdd.c
|
802632e62d68896047a0ab14787589e4da0f383f |
13-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup and some changes towards GL_ARB_point_sprite (two-zero)
rivers/glide/fxtris.c
|
eabfd43ad402539f58bcb16bc736e71516bb9aba |
13-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup
rivers/glide/fx.rc
rivers/glide/fxapi.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxtexman.c
rivers/glide/fxvb.c
rivers/glide/fxwgl.c
|
a9ea1628da5f17274cd7ee023f438046dc992073 |
13-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
changes towards GL_ARB_point_sprite (two-zero)
ain/attrib.c
ain/get.c
ain/mtypes.h
ain/points.c
wrast/s_pointtemp.h
|
89ac4fc6bf745f7e2d9eb264f24b508317acb782 |
11-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied patch #1026109
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
0cabfa68c37041028d634a7697daf6de9fc10c72 |
10-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted updates (bug #1025977)
rivers/ggi/default/linear.c
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa.h
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
8a970af976ef1b0c37a7a6d5967b5ad698688c77 |
10-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated error msg
ain/state.c
|
7f76b8ffd141f3cee89b3f751e0a6985b88fa049 |
10-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
reset error state before parsing (David Reveman)
hader/arbprogparse.c
|
253204f9f0a1942a65e45d876f8d5f16d1a196a1 |
10-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
More updates for Doxygen.
lapi/glapi.h
ain/context.c
hader/program.h
wrast/s_context.h
|
375457bcef0b43c4b7a022b4fe74207dd1faf6dc |
10-Sep-2004 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Update the doxygen configuration file. Minor updates/fixes to the source documentation.
ain/bufferobj.c
ain/colormac.h
ain/colortab.c
ain/config.h
ain/context.c
ain/macros.h
|
2dab997cb9ddbe47ff414b74679fb99346bb9a06 |
09-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a bug in analyse_from_scratch() reported by Wes Bethel
ath/m_matrix.c
|
7dc9a8827d7c248826adc5db0d1bf148d2e233f7 |
09-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups and comments
ath/m_matrix.h
|
d86d1483ac7da934e935372722999164bfcf6ef7 |
09-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another attempt at fixing name mangling and gl__unused413().
lapi/gl_apitemp.py
lapi/glapitemp.h
|
c18fe0c92b69e25a95f773875825f092caa43cc2 |
08-Sep-2004 |
Dave Airlie <airliedfreedesktop.org> |
updated patch for vertex program
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
|
0866b67fdb8503b38715da310ddf78dd15c92f8f |
07-Sep-2004 |
Dave Airlie <airliedfreedesktop.org> |
This patch enables GL_ARB_vertex_program and GL_NV_vertex_program support in the r200 driver. Both extensions can be enabled via options, GL_ARB_vertex_program is on by default, GL_NV_vertex_program off. Option descriptions are in german, english and french. From: Philipp Klaus Krause
rivers/dri/common/xmlpool.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_tcl.h
|
58c4937e124138dd11bfd36e37d401ff73f5e7c4 |
03-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
make sure the HW is clean before shooting the pipeline
rivers/glide/fxtris.c
|
f3d960054eed561addcd48c08e88e4de6874e46a |
02-Sep-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
r200-maybe-flush-less-3.diff
rivers/dri/r200/r200_tcl.c
|
72b395fbbae9e32793432917f20672e409a1ff87 |
01-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
also test for __arm__ for setting USE_IEEE (X bug 1155)
ain/imports.h
|
535408addad103421f8cc82705385de754871963 |
31-Aug-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
The i915 driver was merged after EMIT_*_BGR bug was fixed. This brings the driver into line with the correct meaning of those symbols and fixes color corruptions.
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_texprog.c
|
c372549036c8784e8e86d040f13685faa76f6d4d |
31-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
newer Glide3x snaps vertices internally for V1/VR/VB
rivers/glide/fxapi.c
|
171614abbd3a6aee9aba8d49b1a9340d5608ba16 |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
remove CR
ain/dlist.c
|
367850dbfed810a58a8351d74290798f1082079e |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup
akefile.mgw
|
7a42f1562d74e631616e03aed20190a27c22859b |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
revived unused code, but got rid of warnings
ain/texcompress_fxt1.c
|
5b2434c5d1fea37889d4e854041dee9ba236cbfc |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleaned up extensions a bit
rivers/dri/tdfx/tdfx_context.c
|
d4462dc975c5e542e6feb3f37925eb2e65f7099c |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
clamp lodbias
rivers/dri/tdfx/tdfx_render.c
|
d17c1769cab04cc6f78f28e66d461056db7b94ef |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed automatic mipmap generation
rivers/dri/tdfx/tdfx_tex.c
|
554321af7b6b33fe0e6e6578a6444362110d891d |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fog really needs W
rivers/dri/tdfx/tdfx_vb.c
|
b1f709cc881138d8aef06381edb0fde927f69307 |
30-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
remove CR
rivers/windows/gdi/wgl.c
|
a9aa19e4cebaa999bc9e1699309f6aaa177ed858 |
26-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
ICD update from Gregor Anich
rivers/windows/icd/icd.c
rivers/windows/icd/mesa.def
|
b7d048405cbcefc49dba56e5e3abee0d621f6c18 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
move (void) foo; instances after local declarations
ath/m_clip_tmp.h
|
d0bdae8a28c3d20fc679154b9d998e1e6efba6ea |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
print internalFormat value in r200ChooseTextureFormat() error message
rivers/dri/r200/r200_tex.c
|
a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
rray_cache/ac_import.c
rivers/windows/gdi/colors.h
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
lapi/glapi.c
ain/api_noop.c
ain/bufferobj.c
ain/context.c
ain/debug.c
ain/dlist.c
ain/get.c
ain/image.c
ain/imports.c
ain/imports.h
ain/light.c
ain/pixel.c
ain/state.c
ain/texcompress.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat_tmp.h
ain/teximage.c
ain/texobj.c
ain/texstore.c
ain/vtxfmt.c
ath/m_clip_tmp.h
ath/m_xform_tmp.h
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbvertparse.c
hader/grammar.c
hader/nvfragprog.h
hader/nvvertexec.c
hader/nvvertparse.c
hader/program.c
wrast/s_auxbuffer.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_span.c
wrast/s_tcc.c
wrast/s_texture.c
wrast/s_triangle.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_vb_render.c
nl/t_vertex.c
nl/t_vertex_codegen.c
nl/t_vtx_api.c
|
866286936ac34070826382f1d1cd28b613dd4bd1 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
regenerated with license info
lapi/glapioffsets.h
lapi/glapitable.h
|
0e9929ac1007fe72d54e984be6a255b7ed26f5fb |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Makefile for python-generated files (Ian Romanick)
lapi/Makefile
|
cd248854290579b621f9f6450687e8f9ef653b49 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use version generated from the XML database
lapi/glapitemp.h
|
d99e5505f39459cc2980a9b2df0ceb0723379d2a |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix MGL namespace warning (patch 1014800)
lapi/gl_apitemp.py
|
9554411af6f8fab535b17e63e0397e6219a8a56d |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
return type for MapBuffer was not specified
lapi/gl_API.xml
|
5920b722b7fb59c340b82ea279033c13a2a01508 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix mgl name mangling (patch 1014800)
lapi/gl_x86_asm.py
86/glapi_x86.S
|
86e001b78cb46c1d5a216dd50b3d7fe32db23575 |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Windows ICD driver code (patch 1014800)
akefile.mgw
rivers/windows/gdi/wgl.c
rivers/windows/icd/icd.c
rivers/windows/icd/icdlist.h
rivers/windows/icd/mesa.def
ain/glheader.h
|
7c544d36850c6e3627adbbd66df9b12bbe0f185b |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a couple bad casts
ain/texstore.c
|
3b550e1e3c4d84a24130a50c24b7140c7696656e |
25-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
work around a param bug (Adam Jackson)
wrast/s_fragprog_to_c.c
|
f43cc67616e5f48265be50e9b3867f004f69a61b |
24-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Disable x86 iround() version on BeOS with gcc < 2.95.x, as it choke GAS. BTW, that's remove the requirement to build Mesa on BeOS with gcc 2.95.3. Still recommanded for performance, thought ;-)
ain/imports.h
|
c2530b573076fe0b257710a456a2b8cd714c0d0a |
22-Aug-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Converted the Savage driver to the new DRI interface and enabled compilation in the Mesa tree.
rivers/dri/Makefile.template
rivers/dri/savage/Makefile
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/server/savage_dri.h
|
17386de1d91e8849adf5a175ce4c0205464d5cf8 |
22-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
cast to fix a warning (in disabled code anyway)
hader/arbprogparse.c
|
bc3a5336d941239cdfd5d9cfd6b407e769c2ac70 |
22-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use __FUNCTION__ - not portable
nl/t_vertex_c.c
|
370b47802ecd54a7830dbb6c22d78e9838170dfa |
22-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026)
ain/imports.h
|
5f9c21ae6767b65ee51ba50a22feaee7feaa784b |
22-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
also check for __hppa__ and hpux for IEEE support (bug 1003026)
ain/imports.h
|
edfe0fe78b299cd3ddc5b447459cbcf9e94f534f |
20-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
enabled GL_ARB_texture_rectangle
ain/extensions.c
hader/arbprogparse.c
|
d4edb532012bffbeac7b3aa038aba11977cdf572 |
20-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
hide GL_ARB_texture_compression from non-VSA cards
rivers/glide/fxdd.c
|
b160cbf87a19dbf6388d2fdafb9dd1e9a786297a |
19-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.2
ain/version.h
|
a1dad07249ad9bbb4ff1683b9e19e2499555c3ff |
19-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't check for ARB_texture_non_power_of_two for OpenGL 1.5 (Philipp Klaus Krause)
ain/get.c
|
b8e148c2c95c362b94a795b8bc132decb61b1174 |
19-Aug-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Missing .'s Modified Files: Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
nl/descrip.mms
|
5d0efec19051d874e79394ebce63f35d742cc009 |
19-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
why is GL_ARB_texture_env_combine different from EXT?
rivers/glide/fxdd.c
|
50a84ce41e669f6e370112f803e377b128656764 |
19-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
"const int _nc" was really stupid...
rivers/glide/fxddspan.c
|
55497973be7c8afa888581204e1cc0ba4f4ce99c |
19-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup
rivers/glide/fxwgl.c
|
fd9757d3b98b89b68dbf62bb9eee0f9dca30d95b |
19-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
silence compiler warnings
rivers/glide/fxddtex.c
|
efb2ade520f47187ac70abe57185358017b63caa |
18-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for either GL_NV_vertex_program or GL_ARB_vertex_program for some enables
ain/enable.c
|
e41460bf774f5afb4ec60b9c4f70e3dd0d80ef94 |
18-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Jouk
ain/descrip.mms
nl/descrip.mms
nl/t_vertex_c.c
|
626f825bcc91a3068e2e1c68e7467b42826c51ea |
17-Aug-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the last commit. I've been convinced by keithw that it's sufficient, and put a note in the code about it. Close another race for state in the Clear functions. I made the situation worse in my last commit, but this should fix things. Might be a slight performance hit, which could be regained by splitting the R*_FIREVERTICES calls in r*Clear up so that the EmitState doesn't happen in a separate new cmdbuf.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.h
|
ffdea1ae80a1405fe805cd197c7650d9c5157e2e |
17-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't enable the float texture and GLhalf pixel extensions yet
ain/extensions.c
|
6fc61be869a5db3842aa3ca95565984c754251cd |
17-Aug-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed an assembler warning / error (depending on the version of GAS used). Fixed a crash in the optimized pthreads dispatch path.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
6f3cc6a5226fd4b5d44cca91e2f76216ecaff831 |
17-Aug-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Close some races with locking on R100 and R200 which could manifest as rendering errors on r100 and rendering errors and hangs on r200 (same for R100 without OLD_PACKETS). If a command buffer filled after some state (EmitState or a VBPNTR write) was emitted, the lock was grabbed, the buffer flushed, a new buffer prepared, and the lock dropped. Another client could come in, set its own state as part of rendering, and when the first client flushed the rendering commands depending on the previous state, it got the 2nd client's state. This is fixed by checking for enough space before beginning a set of state emits and rendering, and flushing the buffer first if so. This guarantees that the buffer won't wrap. Also, move the "lost_context = 1" from the end of cmdbuf flushing to UNLOCK_HARDWARE for clarity (at a minimum) that any time the lock is dropped, state may get overwritten. We don't have enough information at the point of the LOCK_HARDWARE to reset our state to the last UNLOCK_HARDWARE point in the case that we did lose our context, but saving the information to rebuild that state may be a useful optimization (ipers data suggests up to 5%).
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
|
7e27ab4c6ae528daa0f64b9ce79231ff39a58b79 |
16-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace clean-up, new 'clean' commands
akefile
|
ac07d89fd37cb2b145c175b5557ef0475179c7f3 |
16-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Stupid me. I don't know why I moved the GLView.h here at first, but now I know why I shouldn't: Official BeOS GLView.h defines a virtual ErrorCallback(GLenum) method, assuming a unsigned long GLenum. But under Mesa, GLenum is unsigned int. To keep binary compatibility, BeOS apps including Mesa GL/gl.h MUST include *our* GLView.h, or linker will report a missing ErrorCallback(unsigned int) symbol. Glup.
rivers/beos/GLView.cpp
rivers/beos/GLView.h
|
ddff3525869850229a6a79ee2bd58b391c8bbfe6 |
16-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup
rivers/glide/fx.rc
rivers/glide/fxapi.c
rivers/glide/fxddspan.c
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
|
624477afbba684922d02fa5c76b4d10664df9063 |
16-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed texture fetchers, fixed automatic mipmap generation, some cleanup
rivers/glide/fxddtex.c
|
cd643491ad57fc1d21a1638de7e7d79881ccfac1 |
16-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed pixel drawing routines, some cleanup
rivers/glide/fxdd.c
|
616a5b64f9303a804072445eec3f58fe94fd889f |
16-Aug-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disabled stereo checking in wglChoosePixelFormat
rivers/glide/fxwgl.c
|
0de671f19a49fb55906803e112e4b1d2c2fc09f5 |
16-Aug-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Remove unused HAVE_INDEX define.
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
|
931ef21c423768d2ff9999fcb0c1067c8053dcae |
14-Aug-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Update Visual Studio Project file for src tree updates.
rivers/windows/gdi/gdi.dsp
ain/main.dsp
wrast/swrast.dsp
nl/tnl.dsp
|
7a7e04039ee1165d0de783f61f12b1323ce78194 |
14-Aug-2004 |
Karl Schultz <kschultz@freedesktop.org> |
New Visual Studio project file for this directory.
hader/shader.dsp
|
cec756ae3a4639d2ceb9bbe2c119ccc00d8554b7 |
14-Aug-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Minor tweaks to deal with vsnprintf and __FUNCTION__ on WIN32
nl/t_vertex_c.c
|
21841f0ae5ca9b55ee23ecaa3513e91b6752aa16 |
14-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some memory leaks (bug #1002030)
ain/context.c
ain/depth.c
ain/occlude.c
ain/occlude.h
hader/program.c
hader/program.h
|
8c6f59ce549f716b8572623b1d4a6075db0c67d5 |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Forgot to commit this valuable file! :-)
rivers/beos/Makefile
|
18985fb2316ef40b04f014047c660399916dd11c |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Remove obsoleted BeOS-specific makefile as the main Makefile system now support BeOS platform too.
ain/Makefile.BeOS-R5
|
41ea1558786cade1c313cb86d6c50d8827b0a5f3 |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Obsoleted. Now, the BeOS targets build by main Makefiles chain.
akefile.BeOS
|
428be67663d238f1ddd44053f2c4bfb3a115e80b |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Silent compiler "variable may be used uninitialized" warnings.
ain/texcompress_fxt1.c
|
b4907820c23887e3f2447586d925cb52fd38ea41 |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function because she called create_sem(). Now the semaphore creation is made at first _glthread_LOCK_MUTEX() call.
lapi/glthread.h
|
4b3be4d8be05da426e9f9b06d6d8317e86e70d68 |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Fix a bug that set RGBA bits length always to 0 (reported by Marcin Konicki). PPC byte order now supported (thanks Nathan Whitehorn). Double buffering is now always forced. Unlock the BGLView looper only if needed. Should fix the GLUT-based apps crash at window closing. SwapBuffers() now can wait for next vertical retrace. And several other minor changes...
rivers/beos/GLView.cpp
rivers/beos/GLView.h
|
7b0c30574c7bb74036c3afb925cc702a4d7fe0b1 |
14-Aug-2004 |
Dave Airlie <airliedfreedesktop.org> |
build fix from XFree86 tree
rivers/dri/r128/r128_texstate.c
|
31848304870b5ddba91b82545a4ed7a097f7ec4c |
14-Aug-2004 |
Philippe Houdoin <phoudoin@freedesktop.org> |
Move BeOS build into main Makefiles chain.
akefile
|
1cdfb6911638c65fd7659152d55b2f14e6adade9 |
14-Aug-2004 |
Dave Airlie <airliedfreedesktop.org> |
bring over change from xorg trunk - let build on non-i386
rivers/dri/i915/intel_tris.c
|
56999adb21648d2578ed562269f5a8df6c79aeff |
14-Aug-2004 |
Dave Airlie <airliedfreedesktop.org> |
bring over build fix from xorg tree
rivers/dri/i915/intel_context.h
|
b292642de04af01a0e6050bb144de3244ffdbfe3 |
12-Aug-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Fix dri_util.c build with new headers. Submitted by: John Lightsey <john@nixnuts.net>
rivers/dri/common/dri_util.c
|
dfbb84ea2c0d1ddcc563ca3ec61b6a50ec68479a |
10-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some handy debug code (disabled)
nl/t_vb_vertex.c
|
cec85c778f66c60452ab83c16a4cb18121ecec0f |
10-Aug-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few more debug printfs (disabled)
wrast/s_nvfragprog.c
|
8bd0a627fd97fea7c0a87625a71f6f587d14d941 |
03-Aug-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESS
rivers/dri/r200/r200_sanity.c
|
a032297b32fd692459d0d143068ef2b065886c0a |
31-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
xorg-r200-uninitialized-variable-used.patch from Redhat xorg
rivers/dri/r200/r200_pixel.c
|
d9166e132e150945e04d2fc9214da0796cd36a02 |
29-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disabled automatic mipmaps until we can handle 565 textures.
rivers/dri/tdfx/tdfx_context.c
|
10e768c11b5b4e86e17c4b9356dd18cde1a8a61d |
29-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed conflict between depth & alpha in 16bpp
rivers/dri/tdfx/tdfx_render.c
|
27df1ec1cde0b83871cfe1f2d594ac6fd1c85897 |
26-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disable W1 when single-texturing
rivers/glide/fxvbtmp.h
|
146852881fab329e0116044b55fc53bce0b0272e |
26-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)
wrast/s_drawpix.c
|
fff87eecbe94ca3ac4ca0e7e8647ee7cae7fae56 |
26-Jul-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed hash table allocation to avoid an assertion failure due to a bad config file. Fixed two more typos.
rivers/dri/common/xmlconfig.c
|
dec1191d45f08ab916aa9d6581a00efdb1f76383 |
26-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Rush is back on ZBUFFER added DrawPixels555 and DrawPixels565
rivers/glide/fxdd.c
|
6b41bf3afc027ce2ca00ff659cd73e866fa91d48 |
24-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use GL_CALL() macro (Andreas Stenglein)
rivers/dri/radeon/radeon_vtxfmt.c
|
dfa5c2bfbbba1e24829582863caeafd97f124d5e |
24-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
new MESA_GLX_DEPTH_BITS env var
rivers/x11/fakeglx.c
|
eae26ca4ba62506f6751ec6ca3e3d50709f28d81 |
24-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor comments
nl/t_vb_vertex.c
|
a13331d59b535aa4a1ddad695420de5d6f814550 |
23-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for MESA_GLX_FORCE_ALPHA env var
rivers/x11/fakeglx.c
|
b8f29f29eb611c92d43aaf8ffcd2d9743b3af967 |
23-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
ALIGN16 macro repairs
ath/m_debug_clip.c
ath/m_debug_util.h
ath/m_debug_xform.c
|
a48edcf69ca6320e34d160bd7b6e69a3549fe8f2 |
23-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed pixelpiped DrawBitmap / DrawPixels (clipping was upside-down)
rivers/glide/fxdd.c
|
1635040a9e4fcf20b421ff2a6124ee777c7eef4f |
21-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
partial GL_BLEND for Voodoo1
rivers/glide/fxsetup.c
|
1b868b1e548b491c3e873824b60eb4b22f1ae202 |
21-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a bug in clear routine
rivers/dos/dmesa.c
|
782a32b847d097c33a8fc44d3443be08f967e616 |
20-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix compare w/ zero warnings (bug 988766)
rivers/dri/i915/i915_debug.c
nl_dd/t_dd_dmatmp.h
|
5fe90292f8720671704236552079412a319308b8 |
20-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
error message fixups and some debug code
hader/arbprogparse.c
|
bd997cd11fd30908fe35bacd5bfb0c2dd5fdde30 |
20-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix compare w/ zero warnings (bug #988766)
hader/arbprogparse.c
hader/grammar.c
|
6beec975219ee8216c2c7347d4dbec4572487595 |
20-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
GL_EXT_texture_env_add shouldn't be conditioned by multitex, or should it?
rivers/glide/fxdd.c
|
e7e86eaf3efcd35b2aceeb64cdf83063ae1360ab |
19-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
trying vertex_program...
rivers/glide/fxdd.c
|
1c2a498119d3b6a194033bca6bfe5d3fb4665371 |
19-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
several new bugs
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/tdfx/tdfx_vbtmp.h
|
25f0e8227f1f8131a1add3cdcd8eb47a1e7e8f89 |
16-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
minor corrections
rivers/glide/fxdd.c
rivers/glide/fxvb.c
|
1ff6188c0937f0425d1a9b6cd10a42c7cf9f50c1 |
16-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
GL_MODULATE/GL_REPLACE multitex (wasteful, but apparently needed by some apps)
rivers/glide/fxsetup.c
|
0f7eb92249e3ea229e8c22f0c9a71d76b577d9fb |
16-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
SGIS_generate_mipmap
rivers/glide/fxddtex.c
|
84e6b16d8fcaaf676474488d369d2df0c2117160 |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
add debugging for compresssed textures
rivers/dri/intel/intel_tex.c
|
c058917343e51610ddc4f1ad32e3f02d7c131129 |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix up heights for i830/i915 texture compression
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
|
78e19b5f9891705e845f2d21a4f7370504fd0d31 |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
move config options to same place as other drivers (again for S3TC patch later)
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_screen.c
|
620c998b165da6b26b61b6f750bf97339798e48c |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
use a switch statement makes integrating the s3tc patch easier
rivers/dri/intel/intel_tex.c
|
11a03a18addacb2c893786830331029e7ab79f93 |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
enable FXT1 texture compression for ixxx chipsets commented out Keiths extensions strings
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i915_texstate.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_tex.c
|
43942fd5e32b2c7e64959ba2ab5901a4ef79f228 |
15-Jul-2004 |
Dave Airlie <airliedfreedesktop.org> |
move over changes to intel driver from i830 driver for modes
rivers/dri/intel/intel_screen.c
|
ba3d088e27aa1a2bba9b91fd452cc4091aab1fe1 |
13-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed vertex RGBA
rivers/dri/tdfx/tdfx_vbtmp.h
|
9a9614e4e90e7f22772afecde0665bdbba97bee0 |
10-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Make solo radeon/r128 drivers track fix for DRI bug 849
rivers/dri/r128/server/r128_dri.c
rivers/dri/radeon/server/radeon_dri.c
|
bdf3e2ba1fa8c0505262e94effadd6cb81acce60 |
10-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.
rivers/dri/fb/fb_dri.c
rivers/dri/i810/server/i810_dri.c
|
65293d8f73cfaf783607d8ba42648a43cb905cba |
10-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Fix unichrome solo build to not need X11 headers. Minor change to use mesa_alloc/free.
rivers/dri/unichrome/xf86drmVIA.c
|
486e5c26dc3164493b4f045b533fc1b9e1847581 |
10-Jul-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Make GET_PROGRAM_NAME work with uCLibc using the __progname hack. Improved that hack to remove leading directory names.
rivers/dri/common/xmlconfig.c
|
368f3c551befc29051d0061c33f408249c88b1f8 |
09-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Fix mesa-solo config to define _GNU_SOURCE so that program_invocation_short_name will be correctly defined.
rivers/dri/common/xmlconfig.c
|
d53d429ed298c500cf785991e648b2862e130dda |
06-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
use tnl_emit_func, it's safer
rivers/glide/fxvb.c
|
d2dbb253726c48758b774877bbf53d87cdc165d8 |
06-Jul-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
correct X86_DISPATCH_FUNCTION_SIZE if THREADS is defined
lapi/glapi.c
|
550009441375e55bda3896eba7375b9228c7fdec |
06-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Convert miniglx to use Ian's fancy new driver config code. This removes the miniglx driver function InitContextModes(). All of the server directories were edited to remove the implementations.
rivers/dri/i810/server/i810_dri.c
rivers/dri/i915/intel_ioctl.c
rivers/dri/mga/server/mga_dri.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/tdfx/server/tdfx_dri.c
rivers/dri/unichrome/server/via_dri.c
|
10b3bf60137b1f5faae46d2266f54faa89798570 |
06-Jul-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix typos in comments.
lapi/glapi.c
|
6c5402bccdc83173f645de34830a45cbb52436a4 |
06-Jul-2004 |
Ian Romanick <idr@us.ibm.com> |
Another "if it ain't broke, don't fix it" moment. Revert some more code in _glapi_set_dispatch to its 1.74 form. This fixes a "problem" with buggy apps that make GL calls with no bound GL context (i.e., Enemy Territory during shut-down).
lapi/glapi.c
|
cbc96b705d1dc1c6aedba29ad6ce16d526e3b50e |
05-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
patch for AIX (bug 983144)
ath/m_debug_util.h
|
cacf47373251e4d17eae6d2f77c78096ed6f5c53 |
05-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added cast to fix AIX color interpolation problem (bug 983144)
wrast/s_tritemp.h
|
3e94fd34449210c8b548a2a30f248fb5bd73478b |
05-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added GL_ARB_point_sprite. color masking correctly implemented for 15bpp. small fixes for textures and tri engine.
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
|
fd003824ad18fd78cbecf32fb5e8e58cf2f9cdba |
05-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed non-threaded codepath
lapi/glapi.c
|
3e77737955104879ca8747f82bdd5fd5b0169cc1 |
04-Jul-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead of 1.0.
rivers/dri/r128/r128_tris.c
|
aaebfc88c08c79cd70f1e0d1d262a25e9ded47d1 |
04-Jul-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Patch removes _SOLO definition needed for mesa-solo. mesa-solo uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
rivers/dri/common/utils.c
rivers/dri/common/vblank.c
rivers/dri/common/xmlconfig.c
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/intel/intel_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/server/r128.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_screen.c
|
2371033bbaf6e7477bfa893654a0467a084f335b |
02-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
document some assumptions made about compressed texture tile size
ain/teximage.c
|
1675058a346a57d89a18147799579c0ad574bfd2 |
02-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few comments
ain/mtypes.h
|
bbea6ec0b62fbb2dd082b59ed5b2cfa4ed28e9dd |
02-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable some debug printfs
nl/t_vertex.c
|
3bdc8535fc7be3e0524e9dd728ef9f63532fd789 |
02-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
init some vars to silence warnings
ain/texcompress_fxt1.c
|
009542a0f7c2f90e3057f10bd1b17ae65f906d72 |
02-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added GL_EXT_fog_coord. added GL_EXT_blend_equation_separate. minor cleanup.
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
|
3aa364c8e11f10cc7cec384869ef59ff2f57c249 |
02-Jul-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
put back the correct dispatcher for non-threaded builds. fixed x86 entrypoints for Mingw/DJGPP.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
d14d103a0c786e895fa6a801587ed5d807df6da4 |
02-Jul-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a potential race condition. Fix a couple of places where _glapi_DispatchTSD wasn't properly handled.
lapi/glapi.c
|
2491d5135ba9aa595041b3db1639ad06e6424f99 |
02-Jul-2004 |
Ian Romanick <idr@us.ibm.com> |
Make sure THREADS is set no matter which threading model is selected.
lapi/gl_x86_asm.py
86/glapi_x86.S
|
3d38361b718d490e1e7fda64519952ec887cd149 |
01-Jul-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename the various function types in t_context.h to include a tnl_ prefix.
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_vb.c
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810vb.c
rivers/dri/i830/i830_tris.c
rivers/dri/i915/intel_tris.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_vb.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgavb.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_vb.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/savage/savagetris.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb_cliptmp.h
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/windows/gdi/wmesa.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
wrast_setup/ss_triangle.c
nl/t_context.h
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_render.c
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_c.c
nl/t_vertex_codegen.c
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_generic.c
nl/t_vtx_x86.c
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_dmatmp2.h
|
c3c8c71846fb507b57282128d53ba9666e66fe03 |
01-Jul-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove __driRegisterExtensions
rivers/dri/intel/intel_screen.c
|
f8b1825f9725f5d270ecf52f560e59ce651de254 |
01-Jul-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename 'emit_func' usages in drivers. Will also rename the ones in t_context.h.
rivers/dri/ffb/ffb_vb.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_vb.c
|
869fc59b63ee99ced26fbfa02492abb8cd16586d |
01-Jul-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix for older gcc's (from freedesktop bug id #419)
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_vtbl.c
|
160215bdeb252c73547cc5247c47e8c5770972e3 |
01-Jul-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add t_context.h include for drivers.
nl/t_vertex.h
|
009aa3ef5ea6bc13c903d6f902b7039adef8fc74 |
30-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add infrastructure for t_vertex.c codegen. Add an example driver for this which spits out C code for the generated functions.
lapi/glapi.c
ources
nl/t_context.h
nl/t_vertex.c
nl/t_vertex.h
nl/t_vertex_c.c
nl/t_vertex_codegen.c
|
8e77da1cd7d63af5e7ffcf7ea220cdaf1bdc8162 |
29-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
First phase of TLS work. At this point SPARC assembly dispatch is broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004.
rivers/dri/common/dri_util.c
lapi/gl_apitemp.py
lapi/gl_x86_asm.py
lapi/glapi.c
lapi/glapitemp.h
lapi/glapitemp.py
lapi/glthread.h
ain/glheader.h
86/glapi_x86.S
|
c61c7cb8e4100476d5feb976c39a23b1ed7b564a |
29-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
This should make most linux-solo drivers work again. Mainly a fix for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver is still broken.
rivers/dri/Makefile.template
rivers/dri/fb/fb_dri.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/radeon/server/radeon_dri.c
|
fc84e82b282e97e6f09a05509847df29ce94a2e2 |
29-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix another bug in get_register_pointer()
hader/nvvertexec.c
|
80cc018a68e1b07689e329635951de72c5c0c65d |
29-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
the get_register_pointer() function was pretty well broken in a few ways
hader/nvvertexec.c
|
ac33dd1312530e0bab0c7e5d25c9d70f4e884753 |
29-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable some debug code
hader/nvfragparse.c
hader/nvvertparse.c
|
824fdf035ee4f1119f1bf811e27aa14111f7ad32 |
29-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove trailing whitespace and misc clean-ups
hader/program.c
|
26755698c8b8981be8778527c4381d69f790e291 |
29-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c
rivers/dri/r200/r200_sanity.c
rivers/dri/radeon/radeon_sanity.c
|
d322dc1469587d4dc9274c803561f6074c21ed42 |
29-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glBegin/EndQueryARB didn't work inside display lists
ain/dlist.c
|
c2bffec91a5b6ba72514c875b70dbc96ac97431d |
26-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Mesa-solo builds with these changes. There are still more fixups needed to get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
rivers/dri/Makefile.template
rivers/dri/common/dri_util.h
rivers/dri/fb/Makefile
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
|
e16f6e3f234391027b300ec2ca8b56fc13aac825 |
26-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Re-enable SPARC assembly on sunos5-gcc platform.
ain/context.c
parc/sparc.c
|
9eecb03226a534e0fe59973133371b72e7c0d63d |
26-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Make sure mklib sees the definition of CC and CXX. Make mklib respect the definitions of CC and CXX on Linux. This fixed build issues with sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set to a GCC 3.x compiler.
akefile
rivers/dri/fb/Makefile
rivers/dri/x11/Makefile
|
74b380b2ec16b387628b4e01f25eca7baf634048 |
25-Jun-2004 |
Erdi Chen <erdi@freedesktop.org> |
Corrected a float to ubyte conversion bug with fog enabled.
rivers/dri/unichrome/via_dd_vbtmp.h
|
c9a415663ad92a703b5b1e1e70cd41727114b760 |
25-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove program from hash table when deleted (bug 979514)
hader/program.c
|
939dd17653245621bf7488803f09418244b7b0b7 |
24-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix HP occlusion testing when using generic span path
wrast/s_span.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
de67b3ea18c68f69e0303f1ba88dbb26066049de |
24-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix capitalization, new comments, etc
wrast/s_context.c
|
adf6d0d9f7bf4942f72b3563cdf77dfecea5ec7d |
24-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
hack for compressed textures with aspectratio greater than 8:1
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
|
701987c877b5346f39b2258c45cf2b6c989fd9cc |
24-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disabled unnecessary assertions in texture replicator
ain/texstore.c
|
b3eda2443ad0e260997c9c3df789b297326114c1 |
24-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added back x86 entrypoints
akefile.DJ
akefile.mgw
|
0349b4b2abac65f67a638a9f8bb5d1a3d48ddf95 |
24-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers. Removed some unneeded lines, other minor clean-ups.
wrast/s_triangle.c
|
d7ea75061c1678bfca422e8776bd35f6546066f5 |
23-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
revert accidental change from rev. 1.10
rivers/dri/radeon/radeon_texstate.c
|
ea93e6d3785cdcd17da1d7cc47a394ba684735db |
22-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Don't include glapi_*.S files in DRI / solo builds.
ources
|
a64feeffcabef7d7146fd362b59cb595e7761ff1 |
22-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for NULL pointer to glTexImage (fix verified by Adam Jackson)
rivers/dri/tdfx/tdfx_tex.c
|
3ea9cf0d5ceb9c1451e9919e5252cbb2d0423fc7 |
21-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added support for non-64bit compilers
ain/texcompress_fxt1.c
|
0590786f8af98bb849cee11fffd51be7db04f1b5 |
20-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes problems found with Cg demos.
hader/nvprogram.c
|
26359143b673db7793d06ff2b4217198aa0266d6 |
20-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits
hader/program.c
|
7576b9b19d433f90c7f9daae01888e7bfea7e7b9 |
20-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
store's to RC/HC didn't work (bug 976287)
wrast/s_nvfragprog.c
|
f252f64430ccb957698fcf85e84c9d64008147eb |
19-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Big-endian texture fixes from Michel Dänzer.
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
ain/colormac.h
ain/teximage.c
ain/texstore.c
|
07694b8935f69f69352648dd7ebf59a7222f1c8e |
19-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove ADD_POINTERS code from import() function - it broke UT2004. Code clean-ups, reformatting, const-correctness, etc.
rray_cache/ac_import.c
|
f0f23aaba820d64d57b60e8bc113d15038e9f1b5 |
19-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Hack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer
rivers/glide/fx.rc
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxsetup.c
rivers/glide/fxwgl.c
|
1e93e197f962a3133eba08c91aa39874ee4cbaba |
18-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use correct macros for packing pixel colors -- this bug is probably present in many of the other drivers as well.
rivers/dri/intel/intel_span.c
|
594c3f67ac8fceb061e47b090ec4d149c55a1940 |
18-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
add missing license texts
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/intel_reg.h
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_span.h
rivers/dri/i915/intel_tex.h
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
8ad28091aef4e98916e3ae45de5e405dc0988904 |
17-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texstate.c
|
e3f926ad514d915a983a873540f201fc19d8d913 |
17-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texstate.c
|
6c1833e37223edbcb818b6d98bd62058ce14dd86 |
17-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix tex env mode GL_BLEND for GL_INTENSITY texture formats
ain/texstate.c
|
919498e41c7fd766165db6905ca2f36449d27522 |
17-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
Fix up texture compression mipmapping .. not sure if it fixes FXT1 but with S3TC patch it fixes those
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
|
85ffbdd8d7ee03698dabb15db0c479f0d49599b7 |
16-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix component indexing bug in _mesa_texstore_al88()
ain/texstore.c
|
ed60bc6fdcccde800a242bfe4c39670951b03ed3 |
16-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use // comments (Thomas Hellstrom)
rivers/dri/unichrome/via_dd_vbtmp.h
|
972ff46a0bf76e617d5d6ea4813f440ae2786a38 |
16-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
remove unused mode function
rivers/dri/i830/i830_screen.c
|
1a544b0500ebacb52a7412ad17c4a2002a00ff94 |
16-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
switch to using driFillInModes fix depthbuffer = 0
rivers/dri/i830/i830_screen.c
|
6d43ce54024ede3ef91fc00d00bf19b815f6396e |
16-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix batch.ptr when dropping a batchbuffer segment due to zero cliprects.
rivers/dri/i915/intel_ioctl.c
|
fff749e893b0adbfb57d08370cb4d2a10608bc52 |
15-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a couple typeos in the tables for driFillInModes.
rivers/dri/common/utils.c
|
997e81fe75ce32ed3d8bb4d8f73a226644cf3a2f |
15-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
added more compressed formats to is_color_format()
ain/teximage.c
|
09c9bfb22d40228a6d11319a20e6e82acfd363c7 |
15-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fix correct parameters passed to StoreImage
rivers/dri/tdfx/tdfx_tex.c
|
f449e370db9ebca0799f7713b905399155196680 |
15-Jun-2004 |
Adam Jackson <ajax@freedesktop.org> |
_really_ fix parameters to StoreImage calls.
rivers/dri/tdfx/tdfx_tex.c
|
3405708e21ae36ce3ea92bbaea900bacc70a0034 |
14-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added compressed formats to is_color_format() and updated some comments
ain/teximage.c
|
3dc3cc9d40ea37dcf69d242d00f623e580ed9bde |
14-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Fixed a bug in vertex emitter (untile we move to t_vertex.c)
rivers/glide/fxvbtmp.h
|
7aa0e6125d9bf5f29023b21e073129589228bd7b |
12-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
just a comment
wrast/s_auxbuffer.c
|
5b05a187dc34fa3ab6b5ab6bc1a6e98df80a2553 |
12-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the 1.5 spec
ain/image.c
|
916e749241e86fe6f2e418f38bbff770e834a020 |
12-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
ain/buffers.c
|
8b33258d07650a9c97e0ab0828fcee2c97feafdc |
12-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the 3dfx CatchSignals stuff (the var was alwasy set)
rivers/glide/fxapi.c
ain/context.c
ain/mtypes.h
|
beef59e73aad91ca52d72fd0224e696826038318 |
11-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
ain/teximage.c
|
3f3d11d067034be167861fcce8230911956e8c51 |
11-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some minor glitches in glGetTexParameter code
ain/texstate.c
|
7cbc9663240bf43c5715607c2b1e53a0e04af71c |
11-Jun-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
re-enable rect texture
rivers/dri/i915/i830_context.c
rivers/dri/i915/i915_context.c
|
4102a3045cb64a7875c524a58f13766a48bbe164 |
11-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix minor typo in comment
wrast/s_texture.c
|
601df9c742939c1f77de489561fe3e1d02f49618 |
10-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Additional error checking for glTexImageXD. Only allow 1D and 2D GL_DEPTH_COMPONENT textures. Make sure internal format and user format are in same catagory.
ain/teximage.c
|
13ad04719e292a2bee7e1b3155da74a97921c035 |
10-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Roland's patch to fix promotion of alpha or luminance textures to the luminance_alpha format. In particular, using the al88 format to store GL_ALPHA textures with r200 driver.
ain/texstore.c
|
41b58954e1742493452b91d9ecdb761db5de3bed |
10-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
New driver for i915 as well as older i830/i845/i865 chipsets.
rivers/dri/i915/Makefile
rivers/dri/i915/i830_context.c
rivers/dri/i915/i830_context.h
rivers/dri/i915/i830_metaops.c
rivers/dri/i915/i830_reg.h
rivers/dri/i915/i830_state.c
rivers/dri/i915/i830_tex.c
rivers/dri/i915/i830_texblend.c
rivers/dri/i915/i830_texstate.c
rivers/dri/i915/i830_vtbl.c
rivers/dri/i915/i915_context.c
rivers/dri/i915/i915_context.h
rivers/dri/i915/i915_debug.c
rivers/dri/i915/i915_fragprog.c
rivers/dri/i915/i915_metaops.c
rivers/dri/i915/i915_program.c
rivers/dri/i915/i915_program.h
rivers/dri/i915/i915_reg.h
rivers/dri/i915/i915_state.c
rivers/dri/i915/i915_tex.c
rivers/dri/i915/i915_texprog.c
rivers/dri/i915/i915_texstate.c
rivers/dri/i915/i915_vtbl.c
rivers/dri/i915/intel_batchbuffer.h
rivers/dri/i915/intel_context.h
rivers/dri/i915/intel_ioctl.c
rivers/dri/i915/intel_ioctl.h
rivers/dri/i915/intel_reg.h
rivers/dri/i915/intel_render.c
rivers/dri/i915/intel_screen.h
rivers/dri/i915/intel_span.h
rivers/dri/i915/intel_tex.h
rivers/dri/i915/intel_tris.c
rivers/dri/i915/intel_tris.h
rivers/dri/i915/server/i830_common.h
rivers/dri/i915/server/i830_dri.h
rivers/dri/intel/intel_batchbuffer.c
rivers/dri/intel/intel_context.c
rivers/dri/intel/intel_pixel.c
rivers/dri/intel/intel_screen.c
rivers/dri/intel/intel_span.c
rivers/dri/intel/intel_state.c
rivers/dri/intel/intel_tex.c
|
d4dcc6b5c0e2e23c5da3515b8595dfa6ac0b2e45 |
10-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
Add FXT1 compression support to i830 driver
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_tex.c
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
|
932e6fb420f3148cba101b321b0e031757bc6915 |
10-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Fix an "overflow in implicit constant conversion" warning in mEndPrimitive when more warning flags are enabled (such as in the DRI tree). Make the second line prettier, too. Reported by: ajax
rivers/dri/sis/sis_context.h
|
8a41ead407bde36dfd7a632aa2607b4757b09e84 |
10-Jun-2004 |
Adam Jackson <ajax@freedesktop.org> |
silence a warning
rivers/dri/tdfx/tdfx_screen.c
|
b3a4a07c61775f8be4251765c9873ee64b53f3e8 |
09-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
remove unused stuff, fix non-native build
rivers/dri/mach64/mach64_context.h
|
15be94fc2641fe7bcb376ab9213146c7e01081a3 |
09-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix mach64 non native.. no reason to use it...
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_vbtmp.h
|
59b0db30087b2937845ae3530278598c72b16473 |
09-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Fix reflect demo: We were using the 3D Clear path unnecessarily, which appears to be broken in the stencil case for unknown reasons.
rivers/dri/sis/sis_clear.c
|
695a69029fbf6c83a301a10dcefbdbe88f2e3325 |
09-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all. * Clean up definition of _SIS_NEW_RENDER_STATE.
rivers/dri/sis/sis_tris.c
|
e5a916d5b99fb827cc57ace8478139b3cfbe53da |
09-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
make rm for common not complain
rivers/dri/Makefile
|
9e9feacb437b58bb3f250174a5d1797e2abc3c72 |
09-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
remove depend on clean
rivers/dri/Makefile.template
|
37a94995cfa062d41b311e035f65af980bf57bec |
09-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest fix but it does work
rivers/dri/i830/i830_tris.c
|
0590895ea78cb3e7be25ca833bfeca5f56dc7e21 |
08-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix parse error in sign of exponents (bug 968323)
hader/arbprogparse.c
|
7c381a267aa97b44620ae37aeec7c4b45583e1e2 |
08-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
Fix rectangular textures on i830 - well texrect at least
rivers/dri/i830/i830_tex.c
|
e84f77be215ec1fc7a27388819b6c3a711057e4a |
08-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
* Convert to use t_vertex.c instead of sis_vb.[ch] * Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers first. This makes things more uniform between AGP and MMIO paths, cleans up some locking ugliness, and makes the driver look more like other drivers. * Don't use the AGP Cmd buffer provided by the server. Instead allocate one in the client, which avoids the need for lots of synchronization stuff. * Mark some MMIO accesses volatile that should have been. * Disable the AGP submission path by default (agp_disable=true) due to unresolved issues in the new code. The old code had its own (serious) errors with AGP, so this is not really a step backwards.
rivers/dri/sis/Makefile
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/sis/sis_tritmp.h
rivers/dri/sis/sis_vb.c
rivers/dri/sis/sis_vb.h
|
a94185474d38f88f141d45d8d42bf9ea081c483d |
08-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
corrected a bug wrt point_size
rivers/glide/fxtris.c
rivers/glide/fxvb.c
|
06668ed20ac0ae3fd031ee3f99e61ca58476995c |
08-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Clean a little whitespace that's been bothering me.
rivers/dri/sis/sis_reg.h
|
7c46033130b1b4d6098647d85c2710367572e079 |
07-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix up some remaining include issues. Replace Xmalloc / Xfree with _mesa_malloc / _mesa_free. Replace Bool with GLboolean.
rivers/dri/common/dri_util.c
rivers/dri/common/glcontextmodes.c
|
03d7596b84bbe1e913206ebca91b9d05ed57e0ab |
07-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
The required DDX and DRI version numbers were switched. This went unnoticed on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/tdfx/tdfx_screen.c
|
635ba1565cfbb02fbdd19de72651dbda9bb3c3b3 |
07-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add NEW_INTERFACE bits.
rivers/dri/sis/sis_screen.c
|
1312498709d864b8d28b3179cfa7597a92f12bbe |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix all those warnings
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
|
f9b107d876327a115509e2740a75f15912176851 |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
use the mesa defines
rivers/dri/mach64/mach64_context.h
|
6fc70e87ed34b641957448c257405d5afdad1157 |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
oops fix a bug I introduced
rivers/dri/mach64/mach64_context.c
|
cbf863ee71196fb06e3d2466a2d4c813dc36bfe3 |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix the versions
rivers/dri/mach64/mach64_screen.c
|
2c161cf395b84576427d7dad53aea99072f325a3 |
07-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small corrections
ain/matrix.c
|
edea87529ef3505a3f5f6b12d9c6c7f46fa88b89 |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
make endian code work on BSD
rivers/dri/mach64/mach64_context.h
|
4ffbb81bd3a7af8a1297e93d1fd4dda61f012a53 |
07-Jun-2004 |
Dave Airlie <airliedfreedesktop.org> |
Remove use of X windows include
rivers/dri/mach64/mach64_context.h
|
e1a7f31c2b47e053ad70f5c4c519e294c273724c |
06-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove the rest of the need for glxclient.h and remove it from the tree.
rivers/dri/common/dri_util.h
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
rivers/dri/dri_client/imports/glxclient.h
|
a704e44f0ad4401409892559975642a80d815426 |
06-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.
rivers/dri/ffb/server/ffb_dac.h
|
45e7b47d5659f435ab8a134e47b2db280b62c476 |
05-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Enable use of new DRI interface in Unichrome driver.
rivers/dri/unichrome/via_screen.c
|
e3a07ba609b844de1d8378056261c8dd9f073cdb |
05-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Start to "modernize" the driver.
rivers/dri/unichrome/via_context.c
|
e3789ebe7ddd6fafdaaa38d7570173bd26d226f9 |
04-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Replace 'Display *' with '__DRInativeDisplay *'.
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
|
98e7d810e1dc67405075efef83a46504c35b8a19 |
04-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Enable GL_EXT_blend_subtract and GL_NV_blend_square. GL_EXT_blend_subtract was already enabled via GL_ARB_imaging, but now one of the added modes is supported in hardware. GL_NV_blend_square was tested with progs/tests/blendsquare on an Rage128 Pro with PCI ID 1002:5046. I know there are some differences with some versions of the chip.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_state.c
rivers/dri/r128/server/r128_reg.h
|
d672f38709352da01b5a4a04a1777f3a40d09180 |
04-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Redo of removing __driRegisterExtensions(). I accidentally undid the previous check in.
rivers/dri/fb/fb_dri.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/x11/x11_dri.c
|
82a558108950ff74a0384a8ba243296f25d0cf90 |
04-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Enable use of new DRI interface in Rage128 driver.
rivers/dri/r128/r128_screen.c
|
4d8c0398f19c249d3e3917d52311acf5cf8cccd9 |
03-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix minor signedness issue in assertion
rivers/dri/r200/r200_texstate.c
|
da1766f12f79ae512007ab3457bdd34ec65347ab |
03-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove fill_in_modes and use driFillInModes instead.
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
|
74396056977776919aaa7c22be1a3d17774ae321 |
03-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Add a new function, driFillInModes, that is to be used by drivers to create the set of support __GLcontextModes. This should replace the current driver-specific fill_in_modes functions.
rivers/dri/common/utils.c
rivers/dri/common/utils.h
|
173bc32195f2dbce8d148d0efec3a5b3f6e5c2a2 |
03-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix problems when sizeof(Node) != sizeof(float)
ain/dlist.c
|
93c91c3863737808ceca6f17e3bc61114bca2eeb |
03-Jun-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
masked out unsupported glBlendColor (some games check only the proc addr)
rivers/glide/fx.rc
rivers/glide/fxapi.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxopengl.def
rivers/glide/fxwgl.c
|
8f980b0e748f7c5a49e75c00ef4fa0b077d78197 |
03-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out
rivers/dri/common/dri_util.h
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/unichrome/via_screen.c
rivers/dri/x11/x11_dri.c
|
ba3d643c49ce16f8dcddac56308588839c55bc87 |
03-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
kill __driRegisterExtensions(), none of the functions did anything
rivers/dri/fb/fb_dri.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/r128/r128_screen.c
rivers/dri/x11/x11_dri.c
|
5b98ada88071a752b6000756949a1951183cdd0b |
03-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
driCheckDriDdxDrmVersion uses a function that is not available to drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in that situation. Add a new function, driCheckDriDdxDrmVersion2, that is passed in the version information that is already supplied to __driCreateNewScreen. Part of the reason that information is supplied to __driCreateNewScreen is so that the driver doesn't have to make those calls to get it! Modify all drivers that support the new interface to use the new function instead of the old. As soon as all drivers support the new interface, driCheckDriDdxDrmVersion can be removed.
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/tdfx/tdfx_screen.c
|
ffb36d57a5f6359b5b91b73af60482a0016dd431 |
03-Jun-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Removed need for sarea.h, various touch ups to get rid of type mismatches.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/dri_client/imports/sarea.h
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/server/mach64_common.h
rivers/dri/mach64/server/mach64_sarea.h
rivers/dri/r128/server/r128_dri.h
rivers/dri/r200/r200_tex.c
rivers/dri/sis/server/sis_dri.h
rivers/dri/tdfx/server/tdfx_dri.h
|
1960182ece3f1eca06d2e439f64dd61be8a03ff5 |
03-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Require libGL API version 20040602, which actually exports __glXGetDrawableInfo. Make sure driCreateNewDrawable sets pdraw->private to NULL for all failure paths.
rivers/dri/common/dri_util.c
|
5c113461df885d2de7eae405e058fb97cf4028dc |
03-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is defined.
rivers/dri/common/dri_util.h
|
48ccaf200940613032dfaaafe71382947f398004 |
03-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add support for more than 2 texture units (max 6, default 4). use hang workarounds only for r200, not derivatives.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxtmp_x86.S
|
2665a4e74ca0aa56f21ddc91eacc83ec2472cbda |
02-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.
rivers/dri/radeon/radeon_texstate.c
|
bb45fec07460748f7762e709eeed8b7111c5a3c8 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Minor changes to make it work better outside X. "Success" is replaced by explicit 0. Several functions that are not needed with DRI_NEW_INTERFACE_ONLY are blocked with '#ifndef DRI_NEW_INTERFACE_ONLY'. Some further work is still required to make it build without any X include files, though.
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
|
6632a751be851699eebc85082ebb83a2c3a9da79 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Replace use of XID with __DRIid.
rivers/dri/common/dri_util.h
|
e3490edc59c86068c9e2b0e59ae4866bb3348a85 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Re-import from DRI tree.
rivers/dri/dri_client/imports/sarea.h
rivers/dri/dri_client/imports/xf86drm.h
rivers/dri/dri_client/xf86drm.c
|
318aa8409983f3292b4919196df2ca42f4de6a16 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
XF86DRIDestroyContext, XF86DRICreateDrawable, and XF86DRIDestroyDrawable are all called directly from DRI drivers using the new interface. Therefore, prototypes, using available datatypes, must be available in dri_interface.h. Since the prototypes are available there, xf86dri.h is no longer needed for DRI_NEW_INTERFACE_ONLY builds.
rivers/dri/common/dri_util.c
rivers/dri/dri_client/xf86dri.h
|
9fcb9c3ac7adb7eaa37a8da4e741ce99dcd651a2 |
02-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix stencil index bug (#964704)
wrast/s_stencil.c
|
c06b25594e5effe34a90c067e1a3da0f61cf2b13 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_screen.h
rivers/dri/i810/i810context.h
rivers/dri/i810/i810screen.h
rivers/dri/i810/server/i810_dri.c
rivers/dri/i810/server/i810_dri.h
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_screen.h
rivers/dri/i830/server/i830_dri.h
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_screen.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_screen.h
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/savage/savage_init.h
rivers/dri/savage/savagecontext.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.h
rivers/dri/tdfx/server/tdfx_dri.c
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/xf86drmVIA.c
|
d203091d204ea2e543cd41ea85d0fc57aa794a4b |
02-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Check for NULL texture object when choosing texture sampler. Fixes segfault when fragment program references an incomplete texture
wrast/s_context.c
wrast/s_texture.c
|
a4436a8f4476344f1ec81cacf35f5693d58dcc06 |
02-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix dumb mistake from a previous commit. __driCreateScreen is now properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/tdfx/tdfx_screen.c
|
7a6eda7137b4b4a384022b7e0e7db7f9ef98fbbc |
02-Jun-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add support for GL_ARB_texture_env_crossbar
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_texstate.c
|
60b0e12830310e7c05b4043857ed277b28b1c781 |
01-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert 'Display *' to '__DRInativeDisplay *'. Only portions of the interface that are not *strictly* part of the old interface were changed. Replace GetDrawableInfo type (dri_util.h) with PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen (in drivers that use the new interface) with '#ifndef DRI_NEW_INTERFACE_ONLY'.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/tdfx/tdfx_screen.c
|
ec032cb17b2ffb7b9401604258234998612b445f |
01-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a couple issues related to GetDrawableInfo. In the new DRI interface, it must be available from libGL, and the the typedef in dri_util.h was wrong.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
0521ab46c1340d785ecfe64f4041c86912bc86af |
01-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Replace occurances of GLXDrawable and Drawable with __DRIid.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
|
a249ad756f72835c5894e389150207b98532e114 |
01-Jun-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
rivers/dri/common/dri_util.c
|
0c0f5c2b728da25e7f390922c6ceb252b42ce0ff |
01-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Remove unnecessary #include "mach64_common.h" which breaks the build for me.
rivers/dri/mach64/server/mach64_dri.h
|
f016e2509efd07f789793c12cf44caacc8bac9aa |
01-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Missed in last commit: Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
rivers/dri/Makefile.template
|
2fb5d15ce38d8d298c4fbf8c0bb336154a314b13 |
01-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
akefile
rivers/dri/Makefile
rivers/dri/dri_client/Makefile
rivers/dri/fb/Makefile
rivers/dri/x11/Makefile
|
c1311d80bd0b2661581bb510c18780d7603cd014 |
01-Jun-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Use MKDEP make variables instead of hard-coding.
rivers/dri/dri_client/Makefile
|
e35282cc13acc61d1a789ab729ae6a0ea72aa17b |
31-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
reworked FXT1 minor fixes to fxMesa
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxtris.c
ain/texcompress_fxt1.c
|
54f4f44843a2ea422cf78a04720562ecc1a5abfd |
31-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
fixup mach64 for newer build/types
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_texmem.c
|
11b3028e7ba2fc3b985ab84d7227c290608f83f6 |
29-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)
rivers/x11/fakeglx.c
|
2ac56c66d2d935786eb76b9fea4f94a78cdc41ff |
28-May-2004 |
Adam Jackson <ajax@freedesktop.org> |
use new interface for tdfx (phase 2)
rivers/dri/tdfx/tdfx_screen.c
|
cd630037a2ec50296f60f22a25ed101b7663324a |
28-May-2004 |
Adam Jackson <ajax@freedesktop.org> |
Fix type conflict.
rivers/dri/i810/i810ioctl.c
|
1071162b366d733ff2f46f6234d66e1db5282f32 |
28-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
update so it compiles again (untested driver path!). Basically ported changes from r200_maos_arrays.c cvs rev. 1.3-1.5.
rivers/dri/radeon/radeon_maos_arrays.c
|
957b7343228e28d62a1c1e96903bb2a0b74dec20 |
28-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and unused R200_OLD_PACKET macro
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos.c
rivers/dri/r200/r200_maos_vbtmp.h
rivers/dri/r200/r200_maos_verts.c
|
8cdccc82d7948daee256e092a5253d49e277ef75 |
28-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without including glxext.h.
rivers/dri/common/dri_util.c
|
b3981ab6e6762b4205ca5302d93be129f648a9cf |
28-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.
rivers/dri/common/dri_util.c
rivers/dri/common/dri_util.h
rivers/dri/common/glcontextmodes.c
rivers/dri/common/glcontextmodes.h
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/dri_util.c
rivers/dri/dri_client/dri_util.h
rivers/dri/dri_client/glcontextmodes.c
rivers/dri/dri_client/glcontextmodes.h
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
rivers/dri/x11/Makefile
|
aaaf38d37215aa1536ff34ec370ecfc04111af22 |
27-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_tcl.c
|
7867799c72c3420994389406c5f64263304b74d6 |
27-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Modify glprocs.h to have two tables instead of one. The first table is just a huge string will all the function names in it. The second table contains offsets into the first table instead of pointers to strings.
lapi/gl_procs.py
lapi/glapi.c
lapi/glprocs.h
|
c1d455f5827e7044dcb316dadc755a6f91299906 |
27-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.c
lapi/glthread.h
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_noop.c
ain/dispatch.c
ain/vtxfmt_tmp.h
nl/t_array_api.c
nl/t_save_api.c
|
e6e0ba781b0a6a1b8747cae49ca622a6a61b1bf8 |
26-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
only use simple_z_textured_triangle if depthBits <= 16
wrast/s_triangle.c
|
3953e12890a7c1d45705126f581ae4c0893e917b |
25-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added a couple fog coordinate related register defines.
rivers/dri/r200/r200_reg.h
|
a1cafadb260f1407af715653fa1b7f0727c6c2e3 |
25-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Modify the generate assembly code to not use global registers %g2, %g3, %g6, or %g7. This should eliminate the warnings about global registers used without a ".register" directive.
lapi/gl_SPARC_asm.py
|
680d390550ab4f4e62e3253256bc21c9a7d5b98d |
25-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
oops
ain/texcompress_fxt1.c
|
6db87bc889ce33a1483ae2299e7e534c6fe235d6 |
25-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
FXT1 texture compression (initial draft)
ain/texcompress_fxt1.c
|
fb4449033bfb1363cdffefd8810247fe7a92dc0d |
25-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed a bug that caused every dispatch function to call glNewList.
lapi/gl_SPARC_asm.py
|
0f8a2718a3b4f5f89b6a0ba324da890e3a0377bf |
25-May-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.
rivers/dri/savage/savageioctl.c
|
bbd557fc53669132fb1f93f7bb28b2939fa70f51 |
24-May-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Clean up some warnings by making sis_fatal_error a macro, and let it take an argument of a message to print. Make some assert(0)s use sis_fatal_error.
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_tex.c
|
8c805fed0f8ec97ce8748918e382ceafab291c8d |
24-May-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add missing sisInitDriverFuncs call. Fixes segfault.
rivers/dri/sis/sis_context.c
|
958103c77c7857ed3ba768814ceccd944567c0f8 |
24-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Generates assembly dispatch stubs for SPARC. Generates different output than glsparcasm.py, but the assembled code should be the same. The seems to only work with GCC version >= 3.0. The older preprocessor doesn't like the embedded # in the GLOBL_FN macro. On the SPARC system I used, /ccs/bin/as didn't like the @function, it would only accept #function.
lapi/gl_SPARC_asm.py
|
257e474474b929b9a407e284601c8665cdc42111 |
24-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
stop crash when debugging
rivers/dri/i830/i830_debug.c
|
cbde37a31c3e5a91686c1d1c89f2939329a9c4a7 |
21-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug #957792 (swap buffers), plus misc clean-ups
rivers/dri/fb/fb_dri.c
|
1bf9499ee172b25a9021e7b00b766e97faa34ad4 |
21-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix constant texture environment color setup for texture units > 0
rivers/dri/r200/r200_state_init.c
|
ad447964e07031a1fe722e938351668e50ddf51d |
21-May-2004 |
Ian Romanick <idr@us.ibm.com> |
s/sop/rop/ in a couple places to fix some bugs. Added some parameter information to several functions.
lapi/gl_API.xml
|
0c963b31422fda4de5ef3c001787b2125332b549 |
20-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added all of the missing ARB extensions. Added all the enums and types for all core versions and ARB extensions. Converted all tabs to spaces.
lapi/gl_API.xml
|
a863d4bffba3abfa7226e7b727d3c44bbb8d82be |
20-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
doc update; minor changes
rivers/glide/fxwgl.c
nl/t_vtx_x86.c
|
033728555cb2f39d8c77f228e1eccc45329bb40a |
20-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Add support for GL_EXT_blend_[func|equation]_separate. Fix GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
|
a671fea40498153605a529e5fc93a7293cceb733 |
20-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLOR
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
|
b6933b68114a6eeeab7ad064a553e20b64e16e82 |
20-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add missing R200_RB3D_BLENDCOLOR register
rivers/dri/r200/r200_reg.h
|
a9d033c4603b9e5d5ed05fd4b3738e61f1ee4e72 |
20-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added some in-code documentation. Modifed glParameter to be a subclass of glItem.
lapi/gl_XML.py
lapi/gl_apitemp.py
|
d54549df239cd0fd64c94f59d632a64cf3115b75 |
19-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Re-ordered categories. Added extension number information.
lapi/gl_API.xml
|
fc332f008c8de215de59436c0ff5550b7ffd08e2 |
19-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added GL_NV_blend_square fixed alpha blending modes for Napalm minor fix in compressed texture aspectratio adjust
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
|
73f59b01eacf62c2e0ba720d4fbf250773aeabf2 |
18-May-2004 |
Ian Romanick <idr@us.ibm.com> |
New scripts for processing the XML version of APIspec. Mail is being sent to mesa3d-dev with a more detailed description.
lapi/gl_API.xml
lapi/gl_XML.py
lapi/gl_apitemp.py
lapi/gl_offsets.py
lapi/gl_procs.py
lapi/gl_table.py
lapi/gl_x86_asm.py
lapi/license.py
|
3e15e861b266d7bb7effc3664a299e4141759264 |
18-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added some core-level extensions
rivers/glide/fxdd.c
|
b7460bb62a6a021b4a0541c45437e2c6686c60d2 |
17-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some bogus array enable tests (Soju Matsumoto)
rray_cache/ac_import.c
|
de4b3bb7766f242cd7c46841250405f5fd6bb7d3 |
15-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor doxygen updates
ain/config.h
ain/dd.h
ain/macros.h
ain/pixel.h
|
d72834dd0ba471bbd7fe16aedc800f290ea46651 |
14-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor fixes/optimizations to type conversions in draw_depth_pixels(). Fix off by one errors in a few assertions.
wrast/s_drawpix.c
|
b9cbd5272452dcaae1d1b2462ed3001d64dc55e8 |
14-May-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix errors when blending is disabled (set blend equation and function to default values).
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
|
d359f96a180596389e975746c1de0df0a24ca59c |
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
cast driHwLock assignment
rivers/dri/i830/i830_context.c
|
f4bc136273576ec73a9cf57513b6e71f56856890 |
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning in assignment to gp.value
rivers/dri/mach64/mach64_screen.c
|
7d749ec9beaba62c5d5264eb9657cd9651bd4769 |
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix parameters to StoreImage()
rivers/dri/tdfx/tdfx_tex.c
|
defb035b6cf03c555318d9dd48864242ed036f39 |
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another pass at implementing byte-swapped texture formats. More code re-use this time. Most formats now tested/debugged with new packedpixels.c test.
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
db862e4d4c575fa9ea306fd4d271b58d1b77e83b |
13-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_BGR can't be used with the packed types, according to the GL spec. Enforce such.
ain/image.c
|
f35b47fa623991b296b7a9a4e280956a5106f976 |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
some component ordering bugs in extract_float_rgba()
ain/image.c
|
ba8788fee7fccafa2db7dd4ee3c7878031ef9fc5 |
12-May-2004 |
Erdi Chen <erdi@freedesktop.org> |
Fixed code that has computed incorrect number of modes.
rivers/dri/unichrome/server/via_dri.c
|
c318d507170d1b7cec14b76647e93ab28fb93462 |
12-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for GL_EXT_blend_equation_separate and GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX blending modes were handled.
rivers/dri/i830/i830_3d_reg.h
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_state.c
|
0e22d598e679b2d2c56b4dbd63c3212a5800d999 |
12-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed a bug that showed up in several multitexturing games (Quake3 and ThinkTanks were tested) that was related to the recent 4 TMU changes. Removed the un-needed TexBlendColorPipeNum field from the hardware context.
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_texstate.c
|
2e66f7eef79610675d66624aba97190ecca26299 |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix parameters to StoreImage calls
rivers/dri/tdfx/tdfx_tex.c
|
71e373f18648584ade680bca7840a57e0d3cb725 |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove last remnants of NEWTEXSTORE stuff
rivers/dri/tdfx/tdfx_tex.c
ain/texformat.h
ain/texstore.h
|
751c9d096d7bca4cc7d2f8a8a4660d160d785134 |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete in favor of regular Makefiles
akefile.solo
rivers/dri/fb/Makefile.solo
rivers/dri/ffb/Makefile.solo
rivers/dri/gamma/Makefile.solo
rivers/dri/i810/Makefile.solo
rivers/dri/i830/Makefile.solo
rivers/dri/mach64/Makefile.solo
rivers/dri/mga/Makefile.solo
rivers/dri/r128/Makefile.solo
rivers/dri/r200/Makefile.solo
rivers/dri/radeon/Makefile.solo
rivers/dri/sis/Makefile.solo
rivers/dri/tdfx/Makefile.solo
rivers/dri/unichrome/Makefile.solo
|
8813cb56b0e5c61cfcf1a33ed887f46d4f5dbf09 |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
yank bgr233 texformat. minor comment updates.
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstore.c
ain/texstore.h
|
e61d60eb813ae1891e5c9f65c16f23cc45a48841 |
12-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
minor fixes
rivers/glide/fxapi.c
rivers/glide/fxdd.c
|
a156b49800c1419785d0709b78ef0d35e6dab5df |
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added big-endian texture formats. Moved CI->RGBA palette lookup into texel fetch function.
ain/colormac.h
ain/mtypes.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
wrast/s_texture.c
|
366a27d2b99ef9e15623d139e74b596161ddb4de |
11-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a possible segfault caused by the SGI_make_current_read changes.
rivers/dri/i830/i830_context.c
|
4e0d575c64536bef8d3221ba5b9bd2410a8d330b |
11-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't call calculate_derived_texenv() from in _mesa_TexEnv(). Minor code rearranging.
ain/texstate.c
|
352d4dbfb24c65f327759c00c7db7d30a9482e35 |
10-May-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add EXT_vertex_cull support to mesa
ain/clip.c
ain/clip.h
ain/enable.c
ain/extensions.c
ain/matrix.c
ain/mtypes.h
ain/state.c
ath/m_xform.h
nl/t_context.h
nl/t_pipeline.h
nl/t_vb_cull.c
nl/t_vb_render.c
nl/t_vb_vertex.c
nl_dd/t_dd_dmatmp.h
|
39fe9a7fe38081d6f40c4bf388a132c583330912 |
10-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed bugs in fxddtex.c cleaned up win32 definition files
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/windows/gdi/mesa.def
lapi/mesadef.py
ain/mesa.def
|
1cbee9c159384e210e7dbbe0f5acd9d78cf4ce23 |
09-May-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Fix solo build, add missing #ifdef NEW_INTERFACE
rivers/dri/i830/i830_screen.c
|
302781f6cc09434c379b3c39a80edab346910915 |
08-May-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Added german translation to option texture_units.
rivers/dri/common/xmlpool.h
|
c753f367eb838030c90d9dd07e317c1d810fa3e3 |
08-May-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Don't mix variable definitions and other statements (fixed build on old compiler).
rivers/dri/unichrome/via_ioctl.c
|
c94a96bae4225f6c31b5908f633703c03aee7079 |
08-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Add support for GLX_SGI_make_current_read.
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_span.c
|
3d769b81faea6a066c07c4e5ee0df9cf12870b92 |
08-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Warning clean-ups.
rivers/dri/i830/i830_debug.c
rivers/dri/i830/i830_state.c
|
ed046bf842a6c29b84539af5b8e11b5b7e958e35 |
07-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Enable use of new DRI interface in i830 driver.
rivers/dri/i830/i830_screen.c
|
d81d2aeca8ee43ddec39a043a5acb4cb44be70ac |
07-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Add support for the 3rd and 4th texture units. The actual number of available units is configurable via the texture_units option.
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_debug.c
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_screen.h
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
rivers/dri/i830/i830_tris.c
|
f539860f792feaec69f8033f2b0b86cc2212ee0b |
07-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added a config option to set the number of available texture units. A German translation is still needed.
rivers/dri/common/xmlpool.h
|
54f1027362fa9463dde0caa195c8fb2940aa2042 |
07-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Refactor "classic" texture environments to be implemented in terms of ARB_texture_env_combine state. Add support for ARB_texture_env_crossbar. Combiner state is only emitted for operands that need to be emitted for the combine operation.
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_texstate.c
|
4ab8b77520f77a7a28a688c7599c917703f1a5e7 |
06-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix rectangle texture clamping and border-related code
wrast/s_texture.c
|
eec8dbd512cc4fd197df85a1805009d0829909c0 |
05-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove a debug printf that should not have been left in.
rivers/dri/r200/r200_vtxfmt.c
|
95a0bd6762737bb25bdf5c4147da9d1372f6aac3 |
05-May-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for the 3rd texture coordinate for cubemaps and 3D textures. progs/demos/cubemap and progs/demos/stex3d seem to work correctly at all tcl_mode settings. x86 / SSE codegen is currently disabled.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/r200/r200_vtxfmt_x86.c
|
9c1b13ff6a2fb873cada61271f382a912ad99631 |
05-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few bugs when using GL_REDUCE convolution mode
ain/texstore.c
|
2b012578ee519561365640e23272b71898378c45 |
05-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a bug on the convolution path
ain/texstore.c
|
71f88aeb10d67766d7b69e59e2cd94ba2c55ef1d |
04-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
akefile.OSMesa16
|
07281d37a7d37f9d5b49cee786dc158a0e5b48c6 |
04-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded line
hader/program.c
|
bdd15b5749b45929fa642c3e47997f52eb07fbe5 |
04-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix minor warnings found with g++.
ain/mtypes.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texstore.c
hader/arbprogparse.c
hader/grammar.c
wrast/s_auxbuffer.c
wrast/s_bitmap.c
wrast/s_feedback.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
nl/t_context.h
nl/t_vertex.c
|
33ffbd1c58dc8582f67d946f9eb26127e9851a10 |
04-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
texture compression: getting warmer
rivers/glide/fxddtex.c
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texstore.c
ain/texstore.h
|
abe4a72cfcde712d4b18832e2751d26b94a7718e |
04-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
add r200 x86 sources
rivers/dri/r200/Makefile
|
0a8b528bf5e2fc7f2af2f478fd2fdd36ee57245f |
04-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
switch to X86_SOURCES
rivers/dri/radeon/Makefile
|
4d6f05c971a042eed200984233e33522ca3ed4e7 |
04-May-2004 |
Adam Jackson <ajax@freedesktop.org> |
Skeletal fallback-only DRI driver. Initial checkin, not quite working yet.
rivers/dri/x11/Makefile
rivers/dri/x11/x11_dri.c
rivers/dri/x11/x11_dri.h
|
e25dd06b4ac56efa7a73cb7d320876c271debadc |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
remove this use the one from the DRM
rivers/dri/dri_client/drm.h
|
e8e5b418628e228abaa911c26d7c6396b98f1a26 |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
the config is included by the Makefiles that includes this file...
rivers/dri/Makefile.template
|
47244a8181e1eedd390116a5787d79d17ed94c72 |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
add asm sources
rivers/dri/radeon/Makefile
|
d388f64c0ea5df7b50232642da25e4046cf8d58c |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
clean up the common objects..
rivers/dri/Makefile
|
5f0b6c9f8f72af9c2e1acde4596173d00e47bb69 |
03-May-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
unbloat namespace
ain/texcompress_fxt1.c
|
aa9767c683b5fc09f58b7b73fa2d8214951e8015 |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
get rid of last few XF86DRIClipRect
rivers/dri/mga/mgapixel.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
|
f7423f462882ce96725e84cf7f28cee2c45f801b |
03-May-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix up build for solo/dri
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/dri_util.c
rivers/dri/dri_client/dri_util.h
rivers/dri/dri_client/xf86dri.h
rivers/dri/i810/server/i810_dri.h
|
edc09004fdfda4fec1fd5345b5ee78938e2c896f |
02-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix StoreImage calls, remove dead code (Adam Jackson)
rivers/dri/tdfx/tdfx_tex.c
|
80fc5ea53e0f1dac9df529965687c159acae057f |
02-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
restored _mesa_rescale_teximage2d()
ain/texstore.c
ain/texstore.h
|
883e7a5906b3e287520c1e52bdb76c47ba9bb4a5 |
01-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor vertex/fragment program tweaks
ain/extensions.c
|
c5cb215e3e89f9307c02395cdfb45f303228d628 |
30-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
FXT1: getting warmer
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
ain/texcompress_fxt1.c
|
ef5c82bd02926ac851537f1382352f8f6af33ece |
30-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
If we can't allocate the rowimage - bail
rivers/x11/xm_api.c
|
739f50f542392b06fcec1a2dcafcb4a8ef85441d |
30-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Define GLX_DIRECT_RENDERING in Makefile.template
rivers/dri/Makefile.template
|
69ab4fec1220d831afbabc3f578634094bc63b2b |
30-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
AMD64 changes from Ronny V. Vindenes.
ain/imports.h
|
4d46e4b26a1b93507663f3c25f8bf9d5a8466ce0 |
30-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove several files that are only used in the XFree86 / Xorg libGL.so. They are *not* linked into the *_dri.so drivers.
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/XF86dri.c
rivers/dri/dri_client/dri_glx.c
rivers/dri/dri_client/dri_glx.h
rivers/dri/dri_client/xf86dristr.h
|
74d563cdfbfb07cc666d60dc909e90ddb9949cbb |
29-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
rivers/dri/Makefile
rivers/dri/Makefile.template
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/XF86dri.c
rivers/dri/dri_client/dri_util.c
rivers/dri/dri_client/dri_util.h
rivers/dri/dri_client/imports/glxclient.h
rivers/dri/ffb/Makefile
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/server/i810_dri.h
rivers/dri/i830/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/Makefile
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/Makefile
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/Makefile
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/Makefile
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
|
c35dcfcf0adb335a28fdb1503447655dbb809927 |
29-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
FXT1 preparations
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
ain/texcompress_fxt1.c
|
af503f3438c53962c1ee65ec69c07cb584672198 |
28-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated makefiles
akefile.DJ
akefile.mgw
|
eb2281f8c4790085a3c6e208fbbf902ea57099ae |
27-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Use the dispatch table directly instead of calling GL functions.
rivers/dri/r200/r200_vtxfmt.c
|
d100dfbf27f4695fef039ed5de6ec4ee4c3023d3 |
27-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove include of texutil.h to get build working.
rivers/dri/i830/i830_texstate.c
rivers/dri/mga/mgapixel.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_tex.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
|
65fdeaca6c1d61dd0297464f22f8073584eedc34 |
27-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated other makefiles
ain/Makefile.BeOS-R5
ain/Makefile.win
ain/descrip.mms
|
8f04c12e0ad876baa7eb9ed379e2b00150b376e0 |
27-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed the old teximage code. Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
rivers/common/driverfuncs.c
ain/context.c
ain/dd.h
ain/texcompress.c
ain/texcompress.h
ain/texcompress_fxt1.c
ain/texcompress_s3tc.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
ain/texutil.c
ain/texutil.h
ain/texutil_tmp.h
ources
|
bc04d041eb0365913553cdea2c07b83dab8f5414 |
27-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers)
ain/texformat.c
|
5be4c27b28e141506578008a176f41bc1a15fa75 |
26-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodate newtexstore fixed wgl interface for fxMesa
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/glide/fxwgl.c
ain/texutil.c
|
18514500c47ce8f30bb9cc93ab48bf55ccdb9873 |
26-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove DitherValues
rivers/x11/xm_api.c
|
462183fe4cb6df6d90632d9e2cee881c8d26b1cb |
26-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
bring over build fixes from stable branch
rivers/dri/common/texmem.c
rivers/dri/common/utils.c
rivers/dri/common/vblank.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/i810/i810texmem.c
rivers/dri/i830/i830_texmem.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgavb.c
rivers/dri/r128/r128_ioctl.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_vtxtmp_x86.S
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxtmp_x86.S
rivers/dri/sis/sis_alloc.c
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_texman.c
rivers/x11/xm_api.c
ain/imports.h
ain/texstore.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_xform.c
parc/clip.S
parc/norm.S
parc/xform.S
nl/t_save_api.c
nl/t_vb_lighttmp.h
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/assyntax.h
86/common_x86.c
86/common_x86_asm.h
86/mmx_blend.S
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
|
41318937efb006e71614633caf2a6272ffb9d945 |
24-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
rivers/dri/mga/mga_xmesa.c
|
f7b4e0d376359cdbf365337b060127100c41c4d5 |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fixes for entrypoint name mangling
lapi/glapi.c
|
e946688edac5cdf153652defae3ef732a3487416 |
23-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert R200 driver to use the t_vertex interface.
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
|
f2f33507748260fe766742a0ed8b02c49d548bd8 |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_DOUBLE doesn't follow GL_FLOAT, fix indexing (Keith Harrison)
ain/api_arrayelt.c
|
948dff8932ff52eb90ebd86b24ebb926fd2620f3 |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
init mgaScreen->irq (Tilman Sauerbeck)
rivers/dri/mga/mga_xmesa.c
|
6d460af6af77a0d5a5b568bcd6094b98e249ba93 |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
rray_cache/ac_import.c
ain/api_noop.c
ain/api_validate.c
ain/context.h
ain/drawpix.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
ain/texstate.c
hader/program.c
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
wrast_setup/ss_triangle.c
nl/t_array_import.c
nl/t_context.c
nl/t_save_playback.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vtx_api.c
nl/t_vtx_eval.c
|
031e86b59723af208f0602afdcc5b729abc055b7 |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some errant code from previous check-in
wrast/s_span.c
|
6e167151f950f024ece04716cc26f977a71fbc8c |
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s,CHAN_BITS/8,sizeof(GLchan),
ain/texformat.c
|
6d3dc3b8d66843ae23d374ab2d69b8e0c9717a68 |
22-Apr-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix bracket at wrong place
rivers/dri/tdfx/tdfx_tex.c
|
7bd5343990ccccdc5d2d06b8b11dd20fa8e04255 |
22-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix order of EMIT_4UB_4F declarations
rivers/dri/i830/i830_tris.c
rivers/dri/savage/savagetris.c
nl/t_vertex.h
|
5b45c1148624f0ee2b93cc15f5c3ae21667f5463 |
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use FetchTexelf() in GetTexImage() to return float textures correctly
ain/teximage.c
|
3623733472905773957158444aff7d4606d640ff |
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some include file glitches
ain/texformat.c
|
362f1df210d4142259f22d51c5269ed89dc396f3 |
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
akefile.X11
|
f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 |
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
New glTexImage code. The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
rivers/dri/r200/r200_tex.c
rivers/dri/tdfx/tdfx_tex.c
ain/colortab.c
ain/convolve.c
ain/extensions.c
ain/glheader.h
ain/histogram.c
ain/image.c
ain/image.h
ain/imports.c
ain/imports.h
ain/mtypes.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texstore.h
ain/texutil.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
05a6f2fd484bab59c6e6a381f58808adc26619f1 |
21-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up some assorted issues with initialization of vertex program registers. Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
ain/mtypes.h
hader/nvprogram.c
hader/nvvertexec.c
hader/nvvertexec.h
hader/nvvertparse.c
nl/t_vb_program.c
|
6164ae2b5a7ad00181aa2a80634e80e58c8c3fb6 |
21-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
only init temp regs to zero if executing NV fragment program
wrast/s_nvfragprog.c
|
c45b7364dab6c3daebc1f1d8d11124af4129074a |
21-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check return values of _swrast_CreateContext, etc
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
|
74339bf471b2719b0385a0a6062ceee18c663464 |
20-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add printing for recently added opcodes.
ain/dlist.c
|
485438e2be08c6d57110101f76dd41a5f484a4ee |
20-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
add SciTech's GLDirect driver for Windows. This code is donated to Mesa which allows the usage of a Direct3D layer (DX7, DX8, DX9 or complete software fallback). No build system exists for this code yet, that will come.....
rivers/windows/gldirect/ddlog.c
rivers/windows/gldirect/ddlog.h
rivers/windows/gldirect/dglcontext.c
rivers/windows/gldirect/dglcontext.h
rivers/windows/gldirect/dglglobals.c
rivers/windows/gldirect/dglglobals.h
rivers/windows/gldirect/dglmacros.h
rivers/windows/gldirect/dglpf.c
rivers/windows/gldirect/dglpf.h
rivers/windows/gldirect/dglwgl.c
rivers/windows/gldirect/dglwgl.h
rivers/windows/gldirect/dll_main.c
rivers/windows/gldirect/dllmain.h
rivers/windows/gldirect/dx7/gld_driver_dx7.c
rivers/windows/gldirect/dx7/gld_dx7.h
rivers/windows/gldirect/dx7/gld_dxerr7.h
rivers/windows/gldirect/dx7/gld_ext_dx7.c
rivers/windows/gldirect/dx7/gld_pipeline_dx7.c
rivers/windows/gldirect/dx7/gld_primitive_dx7.c
rivers/windows/gldirect/dx7/gld_texture_dx7.c
rivers/windows/gldirect/dx7/gld_vb_d3d_render_dx7.c
rivers/windows/gldirect/dx7/gld_vb_mesa_render_dx7.c
rivers/windows/gldirect/dx7/gld_wgl_dx7.c
rivers/windows/gldirect/dx8/gld_driver_dx8.c
rivers/windows/gldirect/dx8/gld_dx8.h
rivers/windows/gldirect/dx8/gld_dxerr8.h
rivers/windows/gldirect/dx8/gld_ext_dx8.c
rivers/windows/gldirect/dx8/gld_pipeline_dx8.c
rivers/windows/gldirect/dx8/gld_primitive_dx8.c
rivers/windows/gldirect/dx8/gld_texture_dx8.c
rivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c
rivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c
rivers/windows/gldirect/dx8/gld_wgl_dx8.c
rivers/windows/gldirect/dx9/gld_driver_dx9.c
rivers/windows/gldirect/dx9/gld_dx9.h
rivers/windows/gldirect/dx9/gld_dxerr9.h
rivers/windows/gldirect/dx9/gld_ext_dx9.c
rivers/windows/gldirect/dx9/gld_pipeline_dx9.c
rivers/windows/gldirect/dx9/gld_primitive_dx9.c
rivers/windows/gldirect/dx9/gld_texture_dx9.c
rivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c
rivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c
rivers/windows/gldirect/dx9/gld_wgl_dx9.c
rivers/windows/gldirect/gld_debug_clip.c
rivers/windows/gldirect/gld_debug_norm.c
rivers/windows/gldirect/gld_debug_xform.c
rivers/windows/gldirect/gld_dispatch.c
rivers/windows/gldirect/gld_driver.c
rivers/windows/gldirect/gld_driver.h
rivers/windows/gldirect/gldirect.rc
rivers/windows/gldirect/gldlame8.c
rivers/windows/gldirect/mesasw/colors.h
rivers/windows/gldirect/mesasw/gld_wgl_mesasw.c
rivers/windows/gldirect/opengl32.def
rivers/windows/gldirect/opengl32.ref
rivers/windows/gldirect/pixpack.h
|
319f5fd5ec85b4ca845028e6cdb94cca0a00d3d5 |
20-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify last fix slightly, apply to vtx paths as well.
nl/t_save_api.c
nl/t_vtx_api.c
|
30a8a0b8fa9e66efb97aef630765e4cdf6d9cb68 |
20-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
When upgrading copied vertices, distinguish between an attribute entering a vertex for the first time and one which was already present but increasing its size. Fixes Brian's normal.c bug.
nl/t_save_api.c
|
8be72c5b5dca9b8390914a6d7b8b8a3fb6196df8 |
20-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
apply texgen/texture matrix in glRasterPos
ain/rastpos.c
|
ac96356300c90a21f9088eaac5e7f876b00b5d94 |
19-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
in TexEnv functions, check if pname == GL_TEXTURE_ENV_COLOR and fetch appropriate number of param values
ain/dlist.c
|
e63cb85cbc13c083f5d9f4640bb81ba9417a4f28 |
19-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
do texcoord projective division in _swrast_span_default_texcoords()
wrast/s_span.c
|
8e048e72c1cb943a066dc8481a14fcd60257bc04 |
18-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for __ia64__ when setting USE_IEEE
ain/imports.h
|
eca88f80195334bd8f1d9be6433468c0a1f48082 |
18-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing SHADER_SOURCES to ALL_SOURCES
akefile
|
d8b82147c3cb17a06bf41e97141b8427b4580459 |
18-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions. Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
hader/nvfragparse.c
hader/nvfragprog.h
wrast/s_nvfragprog.c
wrast/s_span.c
|
c83d09e3b09b0b7a48eb0e025c220e95453c2033 |
16-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Make sure ctx->Driver.NeedFlush is set for Eval-generated attributes.
nl/t_vtx_api.c
|
aa9049591564130c236463c3b733ab6b6a50a20d |
15-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Make _SAT instructions compile correctly.
wrast/s_fragprog_to_c.c
|
4d914b80e1f7b8a0ce9ce9566699eaf7847728e4 |
15-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
make sure matypes is built
akefile
|
5772d998f4e0aa10ff06b12d37671d3849f719b1 |
15-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
add drm source dir for solo includes
rivers/dri/Makefile.template
|
85dc9fe5436e9eadb8cae09915e7ec9ba1fb7684 |
15-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
get the libraries the right way round..
rivers/dri/radeon/Makefile
|
a7abda582082ca345bf1b883cc3c125b3918d5b8 |
15-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
set default page flipping to zero can be changed in header file
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.h
|
643020dd82e05d0e4b06824b2d1b6aa9852a4a17 |
15-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
wrap file in #ifdef USE_TCC, otherwise compilation failes
wrast/s_fragprog_to_c.c
|
6fb235661a3a78174e7554b292332a1dbb24f171 |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
ain/mtypes.h
ources
wrast/s_context.h
wrast/s_fragprog_to_c.c
wrast/s_nvfragprog.c
wrast/s_tcc.c
|
f2b3d0828e154f4e3bbd57a88b82fa851b07f26b |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Hack to get things compiling - include "drm.h" instead of "xf86drm.h". Need to fix this, or get maybe rid of xf86drm.h which seems redundant in a standalone build.
rivers/dri/i830/server/i830_dri.h
|
6b3780cd83a5c8aade00d99e3d1517b4f6b7bb5b |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Link against GL_LIB_DEPS
rivers/dri/Makefile.template
|
01e6ff312ee36f50b00ff38a2b74e40fcb4322be |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove mesa.a when making clean
akefile
|
e61df587295e585a3643b523c499d6594962f76a |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
First attempt at building a dri module in this tree -- make target is linux-dri -- will attempt to build i830_dri.so The object builds but hasn't been tested.
rivers/dri/Makefile
rivers/dri/Makefile.template
rivers/dri/i830/Makefile
|
680ec7f85158eae58fd5ab56da8c66a645883cb0 |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
First pass at support for building DRI drivers in mesa tree.
rivers/dri/dri_client/Makefile
rivers/dri/dri_client/XF86dri.c
rivers/dri/dri_client/dri_glx.c
rivers/dri/dri_client/dri_glx.h
rivers/dri/dri_client/dri_util.c
rivers/dri/dri_client/dri_util.h
rivers/dri/dri_client/drm.h
rivers/dri/dri_client/glcontextmodes.c
rivers/dri/dri_client/glcontextmodes.h
rivers/dri/dri_client/imports/glxclient.h
rivers/dri/dri_client/imports/sarea.h
rivers/dri/dri_client/imports/xf86drm.h
rivers/dri/dri_client/xf86dri.h
rivers/dri/dri_client/xf86dristr.h
rivers/dri/dri_client/xf86drm.c
rivers/dri/dri_client/xf86drmHash.c
rivers/dri/dri_client/xf86drmRandom.c
rivers/dri/dri_client/xf86drmSL.c
|
00e01091ceeb7f2d9e81962a7e0e57077e4d37f7 |
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't try to use .c=.o rule on .S files when building mesa.a
akefile
|
3a590805d17579dc4a4744aa448208a1bb77ba0f |
14-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
disable under _SOLO build
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
|
edf4f53c15254ac53ab80ed127f3ff88f35dff8d |
14-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
documentation updates Glide3 driver: POINTCAST palette fixes
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxglidew.c
|
f833df0781d8b32009f6b52a4eff97750968041b |
14-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
get agpmode from config file
rivers/dri/radeon/server/radeon_dri.c
|
50a8b7b611b324ee837db61efe6fdac8fb062086 |
14-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
Add shader sources for solo build
akefile
|
e4e323f388767e2e94713fb735dbdafef7b9b385 |
13-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)
ain/imports.h
|
563dadd674c7679d6246abfd982019287b4d58e7 |
13-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Build a single string containing the generated 'C' code.
wrast/s_fragprog_to_c.c
|
bfaca5c64907c78589ed41a2e6bd11c7c7f5640a |
13-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix the usage of GLX_MESA_allocate_memory
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
|
fb7766853d7fe77b1416afb32f32fb6dc2c442d1 |
13-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated Glide driver documentation fixed SAL/SAR in assyntax.h (NASM) fixed a bug wrt NULL pointer assignment in t_vtx_api.c cosmetics to t_vtx_x86.c & t_vtx_x86_gcc.S enabled STDCALL with codegen (MinGW)
akefile.mgw
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
86/assyntax.h
|
4ba589bbf076f49bd899c7bca90fb186434f23da |
13-Apr-2004 |
Dave Airlie <airliedfreedesktop.org> |
make this exactly like XFree86 .. allows 4x to work
rivers/dri/radeon/server/radeon_dri.c
|
c0b0b48e5be32a23ad347ab4e80e1c1406bd5b86 |
13-Apr-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Add DRM_SOURCE_PATH to make system. Needed for linux-solo to build
rivers/dri/fb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
|
231603893db712d1c467e1b31c5818a9d84ad9e1 |
13-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Missed one with the last commit.
nl/t_vtx_api.c
|
ee22ed2fb4294612e3c4d5d6723e28d723bbb45e |
13-Apr-2004 |
Ian Romanick <idr@us.ibm.com> |
Conditionally compile code for x86 specific TNL codegen. This fixes problem with x86-64 and PowerPC. Reported by: sublett on #dri-devel.
nl/t_vtx_api.c
|
7873f856848ce5489f05c79581e2439aaff4bae7 |
12-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fix for VMS
ain/imports.h
|
2db8fe2906ee3942dcd18d86eba2841e6539018e |
10-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix minor glitch with GL_DEPTH_COMPONENT textures
ain/texstate.c
|
089645799cad23784d02db229cec44422c46cdce |
09-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix max buffer size test (Kyle Bateman, bug 912828)
rivers/x11/xm_dd.c
|
fb31a01f879610341b4000921ce395a0ce97d053 |
09-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SPECULAR flag for sprite point functions
wrast/s_points.c
wrast/s_pointtemp.h
|
d0c8352853fe4775a09f57c4fb079dd084a958e7 |
09-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA
rivers/dri/savage/savagedma.h
|
a3df5990d79220e3461c4d18dd54caa6b2d4afc7 |
09-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fix
akefile
|
18e9b2e5f838ee18170f229c17974673f5af0024 |
09-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of Makefile updates for new build system
rivers/dri/fb/Makefile
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
|
01eab7c83403b67bda60dcc42cf5fc25c46d797d |
09-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
move pSAREAPriv declaration to be C-compliant
rivers/dri/r128/server/r128_dri.c
|
b303217c1459134e242e6078088088a2428547b8 |
08-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_tex.c
rivers/dri/mga/mgapixel.c
rivers/dri/r128/r128_tex.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/tdfx/tdfx_texstate.c
|
caa5f7e75ecdbfa8bae03acfb9369a77baa7833e |
08-Apr-2004 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove non-portable whitespace
86/3dnow_normal.S
|
9f4ccd8aa004054a023cf4add15c990499ac8fc1 |
08-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new MKDEP, MKDEP_OPTIONS variables
akefile
|
216aedbbc6b2e3532821feec173a089f99fdf340 |
08-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use # comments instead of //, etc (ajax@nwnk.net)
nl/t_vtx_x86_gcc.S
|
cdd6ba3096769a441096655923758b4eb9362fa8 |
07-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
removed wfx makefiles
akefile.wfx
|
d3746ca27ece1052c23b4fc1b7d78e5b79868e07 |
07-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
revived linux-glide build process some small Makefile changes for MinGW & DJGPP
akefile.DJ
akefile.mgw
nl/t_vtx_x86_gcc.S
|
40322e1dfa3366a779ba3f4a6ec4418ab9227715 |
05-Apr-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Correction on last commit (My FTP-server on linux is playing games with <CR>'s) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
rivers/common/descrip.mms
ain/descrip.mms
hader/arbprogparse.c
hader/descrip.mms
wrast/descrip.mms
nl/descrip.mms
|
8cc059ea6474c13bbba4f520ea1a63fd97a32450 |
05-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
protected all codegen behind AllowCodegen
nl/t_context.c
nl/t_vtx_api.c
nl/t_vtx_x86_gcc.S
|
8ef874f1a543c693cfef9c935bed05903800fbfe |
05-Apr-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Updated OpenVMS compile support due to shader directory. Removed <CR>'s in arbprogparse.c Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
escrip.mms
rivers/common/descrip.mms
ain/descrip.mms
hader/arbprogparse.c
hader/descrip.mms
wrast/descrip.mms
nl/descrip.mms
|
c2b989f351f160e2c2d6942822903e3187a1d07e |
03-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweak
akefile
|
8b7da14b823145646da44e10cced0adeaa29d884 |
03-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some assertions, just to be safe
ain/dlist.c
|
ec38d1c22c5960cf4a611b28e872ea6b07c45782 |
03-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bad array indexing in _save_current_init() that caused context state to get clobbered
nl/t_save_api.c
|
ff1a015ca86ed4ea2ca3fdd49ed9daaae19359a2 |
02-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement ARB_f_p KIL correctly.
hader/nvfragparse.c
hader/nvfragprog.h
wrast/s_nvfragprog.c
|
17355e8b38d4581a069d3daf1d1bba87f1eb3612 |
02-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
add braces to silence warnings
hader/grammar.c
|
7feb5289056993f7e29a93296f06278cb162898b |
02-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FLUSH_CURRENT() call in GetMaterial() calls
ain/light.c
|
f17980cdb7ff544a366a16775688e3bb237acc57 |
02-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
got rid of the notify routine as intermediate step
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
|
94922b9d2d801b780b00b030d4ec60381c2eef26 |
02-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
disabled naughty cheats and protected the choosers behind AllowCodeGen
nl/t_save_api.c
nl/t_vtx_api.c
nl/t_vtx_generic.c
|
77865f81c9ce422b6f23bb105c632c2c6fb9bd67 |
02-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added codegen'ed choosers
nl/t_save_api.c
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_generic.c
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
|
8b0afe0a67ee348bd0d71cc52d980e570f6daa2c |
02-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix error in rgb332 texel fetch function
ain/texformat_tmp.h
|
96f17ea93811e77f35f7d23d8c89e5256c45f9ad |
01-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename _x86_ symbols to avoid conflict with r200 driver
nl/t_vtx_x86.c
|
f41579cd9edca26a9d601fc94deaf50ffdd87996 |
01-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove test for USE_X86_ASM & HAVE_NONSTANDARD_GLAPIENTRY
nl/t_vtx_x86_gcc.S
|
d1c1056309dcfd771da97cf53d46676533b9e419 |
01-Apr-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Define empty _tnl_x86_exec_vtxfmt_init if USE_X86_ASM is undefined. This fixes a missing symbol in libGLcore.a.
nl/t_vtx_x86.c
|
e5c7f44009cdc9817d7026fda2a3fadbba0e65df |
01-Apr-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
codegen'ed versions of the 2nd level dispatch
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_generic.c
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
|
13822537a7b0149034edee1b43ac51fd62dcb977 |
31-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fine-tuning x86 gcc codegen
nl/t_vtx_x86.c
nl/t_vtx_x86_gcc.S
|
b48c575983dcd6bbffa3925565d45cadbb95fae2 |
31-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
dynfn --> _tnl_dynfn
nl/t_context.h
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_x86.c
|
3e280b3fe7e295b063c7985273c0623a4a2e22bd |
31-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
these are now in the shader/ directory too
ain/program.c
ain/program.h
|
27eb79c9dc2ac16114bf617d6c2919e702086354 |
31-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
these files now live in the shader directory
ain/nvfragparse.c
ain/nvfragparse.h
ain/nvfragprog.h
ain/nvprogram.c
ain/nvprogram.h
ain/nvvertexec.c
ain/nvvertexec.h
ain/nvvertparse.c
ain/nvvertparse.h
ain/nvvertprog.h
|
bcc6a02afc1c6e3bfc233d3fad8d2fd9e85d3130 |
30-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Why are there two copies of this file?
ain/nvfragprog.h
|
41356014599ff1ce23279e49a8a1f5b209497d5e |
30-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Make the output a little more likely to compile...
wrast/s_fragprog_to_c.c
|
a7f52a9ba1175174efb98a145248da331c9d4c54 |
30-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Reorder some code so we don't upset program state when there's a parsing error. Be sure to assign program.Base.String pointer.
hader/arbfragparse.c
hader/arbprogparse.c
hader/arbvertparse.c
|
41d389909bc87d21cf7ef8639bead1b4494e3b0e |
30-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Insert original fragment program instructions as comments. s/__inline/INLINE/
wrast/s_fragprog_to_c.c
|
257c085db9df083673e2826c93b7625345aa959d |
30-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Amusing utility to print ARB_fp programs as C code
wrast/s_fragprog_to_c.c
|
d1c38f74722b03427a3fb015220b05455d3d7488 |
30-Mar-2004 |
Ian Romanick <idr@us.ibm.com> |
Add #ifdef protection around the file to prevent DRI build breakage.
nl/t_vtx_x86_gcc.S
|
388c45596052823b9b3dbc132c5e801a3408acf8 |
29-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix array indexing for UP4B and UP4UB
wrast/s_nvfragprog.c
|
eeb5eeb2a62627d2a547f6739105c1418caf6d9d |
29-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.
ain/nvfragprog.h
hader/arbfragparse.c
hader/arbprogparse.c
hader/nvfragprog.h
wrast/s_nvfragprog.c
|
292fa335d68ba82184e46b2dce87091f85e29e46 |
29-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Take a stab at updating the VMS files.
ain/descrip.mms
hader/descrip.mms
|
788461fc819d7954461e98cce4cad60dda3193e0 |
29-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix the build
hader/grammar.c
ources
|
076c1c200082ae8062f2bd49b76bdc8f929cf3ae |
29-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
new files
nl/t_vtx_generic.c
nl/t_vtx_x86.c
|
2861e737e84e4884109b9526ac645194ba892a74 |
29-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Moved from src/mesa/main
hader/nvfragparse.c
hader/nvfragparse.h
hader/nvfragprog.h
hader/nvprogram.c
hader/nvprogram.h
hader/nvvertexec.c
hader/nvvertexec.h
hader/nvvertparse.c
hader/nvvertparse.h
hader/nvvertprog.h
hader/program.c
hader/program.h
|
c8100a02d28c8a424f69723778abebd950914bc6 |
29-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code. Enable with env var: MESA_CODEGEN=t.
ources
nl/t_context.c
nl/t_context.h
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_x86_gcc.S
|
638ea113b962bfba322033ffc4658335a10cb865 |
29-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
This wont be needed any more
ain/arbvp_grammar.txt
|
cfccb7e0ca7d8df3ac925efc338d1af6ba510019 |
29-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Moved to src/mesa/shader and renamed to arbprogram_syn.h
ain/arbparse_syn.h
|
31df7c92a2bf1b5f21d99e8236cb8c50e4f04b1d |
29-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Moved to src/mesa/shader and renamed to arbprogparse.[ch]
ain/arbparse.c
ain/arbparse.h
|
9661d911ee91122ea5829e8f3c9a0e2967cc76a6 |
29-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Moved to src/mesa/shader
ain/arbfragparse.c
ain/arbfragparse.h
ain/arbprogram.c
ain/arbprogram.h
ain/arbvertparse.c
ain/arbvertparse.h
|
71c7c1feb6ed3453d1f3238ffefa8f7827ad2c8a |
29-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
code cleanup heheh
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxsetup.c
rivers/glide/fxvb.c
|
238693544cc77c53395b8cdade0c5df3b844aaa7 |
27-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.
rivers/dri/savage/savagestate.c
|
79b372b92a42aeee11f0500fefe8fc92126e39e3 |
27-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some warnings
ain/api_arrayelt.c
ain/arbparse.c
ain/dlist.c
|
58fa2a8c5049b209b6bcaffe2530daea0314ef27 |
27-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Enable drawing directly to the (now tiled) front buffer.
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
|
df8bc572587f04b29055bb3a36f8c3b724c63b96 |
26-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Don't use pushd/popd.
akefile
rivers/dri/Makefile
|
46727c74964faa1e165be81cdbe61c6dbd105b4c |
26-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Tweaks for make clean / realclean.
akefile
|
7a5eb9a7606bd951cb9cba56b0ff96c121084d44 |
26-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
increase MAX_TEXTURE_LOD_BIAS to 11.0
ain/config.h
|
1f54fc9b8256ba8cad9148cd4f5125af67d0da87 |
26-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OSMESA_DRIVER_OBJECTS and COMMON_DRIVER_OBJECTS
ources
|
de0ee3187c8fffb52327f9a5680a3eafea872276 |
26-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
New Makefile system
akefile
rivers/dri/Makefile
rivers/dri/fb/Makefile
rivers/dri/ffb/Makefile
rivers/dri/gamma/Makefile
rivers/dri/i810/Makefile
rivers/dri/i830/Makefile
rivers/dri/mach64/Makefile
rivers/dri/mga/Makefile
rivers/dri/r128/Makefile
rivers/dri/r200/Makefile
rivers/dri/radeon/Makefile
rivers/dri/sis/Makefile
rivers/dri/tdfx/Makefile
rivers/dri/unichrome/Makefile
86/Makefile
|
3623579e43b4c3a8d2eb7edb6efaa6f178279ec9 |
26-Mar-2004 |
Ian Romanick <idr@us.ibm.com> |
Make sure drivers don't dereference a NULL pointer if __driUtilCreateNewScreen returns NULL.
rivers/dri/i810/i810screen.c
rivers/dri/mach64/mach64_screen.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_screen.c
|
77b47bb27bb8f36d2b0980ed78175d859a7d2bed |
25-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-order arguments to mklib
akefile.X11
|
f28570679f3f1ab90ce8a36d8f92e1c75ca5f419 |
25-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Recalculate the viewport matrix in savageEmitDrawingRectangle.
rivers/dri/savage/savagestate.c
|
bb9054b96d6ffe805b253882fae0fd16aea14c94 |
25-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
The OpenGL Shading Language Runtime Library for Legacy Target. Sounds good :)
hader/slang_common_builtin.gc
hader/slang_fragment_builtin.gc
hader/slang_vertex_builtin.gc
|
f61487947b226369594d308ef4205374406e532e |
25-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small changes (version string)
rivers/glide/fx.rc
rivers/glide/fxapi.c
|
6e963e965cd00d69de0d868882c2c5322b39f578 |
25-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
More state management changes: - Don't lock in savageDDUpdateStatte, don't call savageEmitHwStateLocked - Need to grab the lock for texture uploads now - New SAVAGE_NEW_CULL bit in new_state to make sure that culling state and raster_primitive are not examined at the wrong times.
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
adf33a1c6f087075b65f0fbc756839481a38e10d |
24-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Make sure hardware culling is disabled for unfilled primitives, points and lines.
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetris.c
|
844585be4c392d7e06a8954e56c3756cafa74a39 |
24-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)
wrast/s_span.c
|
e1e439c51239f8129e678e437d7afb999232db8a |
24-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Missing in last commit.
rivers/dri/savage/savage_xmesa.c
|
67d03433772867abc23272c9cf323b15285dde47 |
24-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Buffer vertices and emit them in batches. Still using conventional drawing commands, no vertex DMA.
rivers/dri/savage/savagedma.c
rivers/dri/savage/savagedma.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
ae608522067dce62c6c9afa9780c58b1dd13753e |
24-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Slang internal include file defining constructors and operators for built-in data types.
hader/slang_core.gc
|
645778fe6928c698afdab2512f99434cc7dd1351 |
23-Mar-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Adding s_auxbuffer.c for compilation Modified Files: Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
wrast/descrip.mms
|
3b6eb9005006f786eefdc5331c1cd31e7f24ac9a |
22-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added s_auxbuffer.c
wrast/descrip.mms
|
1cb63cfc984065f01bb0ce0ed4de77289a0bc58d |
22-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
more i810 to new interface
rivers/dri/i810/i810screen.c
|
03762ba8dac3cc5db199fb0354adba66db56995b |
21-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
ctx->Const.MaxTextureLevels is not the highest mipmap level but the number > of levels, including 0.
rivers/dri/savage/savage_xmesa.c
|
7e4a56d110bbac1fa7887253385006010940717e |
21-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Improved MaxTextureLevel computation to take the nr. of tex units and both texture heaps into account.
rivers/dri/savage/savage_xmesa.c
|
894844a8d956a0ee5f95836331dc318f49fdb845 |
21-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented support for software-based AUX color buffers. Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
rivers/allegro/amesa.c
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/ffb_state.c
rivers/dri/gamma/gamma_span.c
rivers/dri/i810/i810context.c
rivers/dri/i810/i810span.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_span.c
rivers/dri/i830/i830_state.c
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_state.c
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagestate.c
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/via_span.c
rivers/fbdev/glfbdev.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/osmesa/osmesa.c
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/blend.c
ain/buffers.c
ain/config.h
ain/context.c
ain/dd.h
ain/get.c
ain/mtypes.h
ain/pixel.c
ources
wrast/s_alphabuf.c
wrast/s_auxbuffer.c
wrast/s_auxbuffer.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_span.c
wrast/swrast.h
|
009501642533c7378fc4f061f1abe2ed4473a3f6 |
21-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix array index error in _swsetup_Translate (Felix)
wrast_setup/ss_context.c
|
7ab89a977037efdfa4cf3a44234a8a72a04a59c5 |
21-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Removed some useless definitions, artifacts from the Utah-GLX i810 driver.
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savagestate.c
|
21fb1f9180918d6dc40967b412c4146f8d1492a2 |
21-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
Add new interface support don't switch on yet ..
rivers/dri/mach64/mach64_screen.c
|
416b7a87889b99de392db182796b913e75d89cd3 |
21-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
unsigned int -> uint32_t, unsigned char -> uint8_t where the size matters. A bit more cosmetics. Improved state emit on Savage 3D/IX/MX.
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savagedma.c
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetris.c
|
9d688919018ee8cfd74e1aee119e6765c37c7e38 |
20-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed texture LOD bias.
rivers/dri/savage/savagetex.c
|
fd8a7dc26b48876de025ff9b93cc6dea5659496b |
20-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resulted in another small speedup. Fixed a problem that was masked by that WAIT_IDLE_EMPTY: - flush command buffer and WAIT_IDLE_EMPTY before uploading textures
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagetex.c
|
ef8cb129f452555a11e0c347b5b4f16604124c3b |
20-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Cleaned up and fixed stencil fallback.
rivers/dri/savage/savagestate.c
|
a212e9670ba31b062c48ed9dd23f28f08fa15b5e |
20-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/texobj.c
|
23be8efd6f2fd9b7075448c0f60ae1603bac4804 |
20-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
make null-terminated copy of program string so that parse works correctly
ain/arbparse.c
|
e29ac89dcd1b31cddfa645d2575a73235967e907 |
20-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing else statements
ain/arbprogram.c
|
00d2b873a980ac6ec9339ffaffdea9c9b8c0a26f |
19-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
Add includes to make mach64 build
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_screen.h
|
dde10b7c12e805a1446e71c44d71a6c30078168e |
18-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove redundant call to ctx->Driver.Viewport(), and clean-ups
ain/matrix.c
|
6af3dca18a2315ea431b5ea868913093d2111491 |
18-Mar-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/mga/mga_xmesa.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
|
16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 |
17-Mar-2004 |
Ian Romanick <idr@us.ibm.com> |
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/mga/mga_xmesa.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_vb.c
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
|
35de80d0cb9889e2557373e8896ab4062f593803 |
16-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
extend SOLO code so the DDX version isn't checked
rivers/dri/common/utils.c
|
c5fb1b79226a52864e8b29a10e9641226b049fdc |
15-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Sketch of codegen templates for t_vtx_api.c, not complete
nl/t_vtx_x86_gcc.S
|
5262dcccc87caf8083cb7867155d91ac2f38ffef |
15-Mar-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Streamline the error path in VertexAttrib functions. Makes things slightly easier for codegen.
nl/t_context.h
nl/t_vtx_api.c
|
d83e9d9c00e0e89051bc756d58c6e227fd35f9f7 |
15-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
unfinished SOLO driver for TDFX
rivers/dri/tdfx/server/tdfx_dri.c
|
e8036d23d7bb6b705f12a175c1d4736c0b361a9d |
15-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
couple of steps closer still not fully working.. something amiss in ring buffer ..
rivers/dri/i810/server/i810_dri.c
|
6ff468d19e369f61834b7576b1d3244fdb447839 |
15-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
Initial i810_dri.c for miniglx isn't fully functional yet...
rivers/dri/i810/server/i810_dri.c
|
f4d07d41188a52ddc84beefe4ab56e8be50a9d3c |
15-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
use utility function to check versions
rivers/dri/i810/i810screen.c
|
7d05e484783cc81d2f9d4ceb2b1e1252555ffef0 |
14-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)
wrast/s_tritemp.h
|
3340a9ea9ea31e6bd7f37d5c1f25ffcc97f20a6b |
14-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix stride bug in RGB and BGR span rendering
rivers/osmesa/osmesa.c
|
fde4c53a7d460a7fed929ef457172f3b245d875d |
13-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added some comments. Minor const, int->GLint type changes, etc.
nl/t_context.h
nl/t_vertex.c
|
7a6b71ef2944bae1718e8167b2faaceb8422071c |
13-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implementation of GL_EXT_pixel_buffer_object extension. Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
rivers/x11/xm_dd.c
ain/attrib.c
ain/bufferobj.c
ain/bufferobj.h
ain/config.h
ain/dlist.c
ain/drawpix.c
ain/extensions.c
ain/get.c
ain/glheader.h
ain/image.c
ain/image.h
ain/mtypes.h
ain/pixel.c
ain/texstore.c
wrast/s_bitmap.c
wrast/s_context.c
wrast/s_drawpix.c
wrast/s_imaging.c
wrast/s_readpix.c
wrast/s_texstore.c
wrast/swrast.h
|
5498e8b9f34718aba506421988116ccb1e5e3de7 |
13-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more descriptive error messages for matrix stack over/underflows
ain/matrix.c
|
6ddfdff659196cf4eeb0e5fed70ddd1ced0d16fc |
12-Mar-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Adjust includes to help DRI build
rivers/dri/ffb/ffb_context.h
rivers/dri/gamma/gamma_context.h
rivers/dri/i810/i810context.h
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgavb.c
rivers/dri/radeon/radeon_context.h
rivers/dri/sis/sis_context.h
rivers/dri/tdfx/tdfx_context.h
|
d613cca2e47b5b2b4ce6f5222fde2cf137e989ef |
12-Mar-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Adjust mga drivers to remove redundant h file for sarea and IOCTLs
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/server/mga_common.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_sarea.h
|
ba5c49ab427d33915562b2c257db582c84eb7dd0 |
12-Mar-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Make R128 driver use sarea/defines from DRM. removed r128_common.h and r128_sarea.h since they are redundant now.
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/server/r128_common.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_sarea.h
|
5fb0763d2ea6eeb12000f40b96ce556c35fe115f |
12-Mar-2004 |
Jon Smirl <jonsmirl@gmail.com> |
These files are redundant now. Definitions come from DRM files.
rivers/dri/r200/Makefile.solo
rivers/dri/radeon/server/radeon_common.h
rivers/dri/radeon/server/radeon_sarea.h
|
ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 |
11-Mar-2004 |
Jon Smirl <jonsmirl@gmail.com> |
Adjustments to make everything use IOCTL/sarea defines in DRM instead of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
rivers/dri/fb/Makefile.solo
rivers/dri/ffb/Makefile.solo
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/gamma/Makefile.solo
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/Makefile.solo
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/server/i810_dri.h
rivers/dri/i830/Makefile.solo
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_ioctl.c
rivers/dri/i830/server/i830_dri.h
rivers/dri/mach64/Makefile.solo
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/server/mach64_sarea.h
rivers/dri/mga/Makefile.solo
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_sarea.h
rivers/dri/r128/Makefile.solo
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_sarea.h
rivers/dri/r200/Makefile.solo
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_maos.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_sanity.h
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_texmem.c
rivers/dri/radeon/Makefile.solo
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_sanity.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/sis/Makefile.solo
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_screen.c
rivers/dri/tdfx/Makefile.solo
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_state.c
rivers/dri/unichrome/Makefile.solo
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_ioctl.c
ain/enums.h
|
157ec8bcf8b56d7951416d9ee13c98b7e82d099d |
10-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Moved from src/mesa/main.
hader/arbprogram.c
hader/arbprogram.h
|
ab928e57b9637abd253c5114d0c90d7e3cb3f7fd |
10-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't futz with GL_CLIENT_ACTIVE_TEXTURE in glClientActiveTexture (Robert Merrill)
ain/varray.c
|
30e6dda36837c47dfc75e5d54eef998c998e2a9a |
10-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Fixed a number of typos.
hader/arbprogparse.c
|
7463640e177cd3eec4e62a3dbca67fba583d7af2 |
10-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
add xmlconfig.c to solo build
rivers/dri/i810/Makefile.solo
|
d4b672425339307d39b31c4733273cf994f51e05 |
10-Mar-2004 |
Dave Airlie <airliedfreedesktop.org> |
back port span changes from i810, these have been in my tree for a while seem fine ..
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
|
b2dd5095c42a2e1323c5ccf8d657c7b37d3e8c2e |
09-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded casts
wrast/s_aatritemp.h
|
1e4731f6443a6efdfc4e425977490ddd5387caa3 |
09-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix color index mode rendering. Changed SWvertex's index field to GLfloat and fix a few other bits.
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
|
7bcada8c278a17e6170e35f1aaf74dd88294ddc5 |
09-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fxMesa: remove buffer_obj_ext, cos it breaks UT2004
rivers/glide/fxdd.c
|
15941b1d90f133453fbe34efe0add9e9ad641953 |
09-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Cleaned up and slightly optimized the texture upload code.
rivers/dri/savage/savagetex.c
|
f76314a69ad6ece95cc319b18be90e0a045a3cce |
08-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove redundant macros (also in m_matrix.h)
ath/m_xform.h
|
0c19008f099861923d936cad00b51b520f38737d |
08-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Voodoo Rush fixes
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxglidew.c
|
446d8d0b86d05089c56d53e9887cdf03574a1441 |
08-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Swapout textures who's space is claimed by a new texture. Don't destroy. This finally really fixes assertion failures in savageBindTexture. I think the same situation with several contexts is still broken though.
rivers/dri/savage/savagetex.c
|
a5c68c872ddcac6b844aa666edee72196af93a4a |
08-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed texture tiling format for 8bit texels on ProSavage and Twister.
rivers/dri/savage/savagetex.c
|
156df3e83417149efc1f18e9e47ed7d5dbba629c |
07-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Rewrote tiled texture upload. Small mipmap levels work correctly now.
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
|
2cd815b66009eea8e06dc4b6dfd32cb7898ff416 |
07-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed two small problems in the vertex setup. - make sure that vertex setup is initialized - Savage seems to need the W coordinate for smooth shading
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagetris.c
|
2c8dacea5fa52e793bc594c97f6bc730459f915d |
04-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Small texture management fixes. Should get rid of assertions some people were getting in savageBindTexture.
rivers/dri/savage/savagetex.c
|
9b71f621d1e242c798c90062e06c49221f34c2b1 |
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in _mesa_BlendFunc into dispatch table
ain/dlist.c
|
d5e4f29cb9ef5af7214887e84fb31f27fbfe1100 |
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
a bunch of assorted clean-ups, etc to fix warnings, etc
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
f753320f0fd2be61c0fa99cffb1c3e5107109c4e |
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to silence warnings
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
|
c26c1ddd5644c40992ec050e81027b9a763bc4e5 |
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warnings
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgatexmem.c
|
94ec525ba5bc763210b1fb0198beeee2fe601b99 |
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
yet another take on VBO deleting and reference counting
ain/bufferobj.c
ain/mtypes.h
|
3f94cef027041f57029de4cc165e0bad1e6634fa |
04-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Initial changes after moving from src/mesa/main/. Needs testing - it havent been even compiled yet.
hader/arbfragparse.c
hader/arbfragparse.h
hader/arbprogparse.c
hader/arbprogparse.h
hader/arbvertparse.c
hader/arbvertparse.h
|
a904b493a9f86a9cfcfff032255352b7050ef271 |
04-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Added missing Copyrights.
hader/arbprogram.syn
hader/arbprogram_syn.h
hader/grammar.c
hader/grammar.h
hader/grammar_mesa.c
hader/grammar_mesa.h
hader/grammar_syn.h
|
2462f6bfa0ca71390439104f751310da89a69d1a |
04-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Clearing rectangle was one too big in each direction.
rivers/dri/savage/savageioctl.c
|
0e7b1d88118621c34f6a7b64abf3ff4b2ff20679 |
03-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Grammar package supporting 8-bit registers. TODO: - add checking for duplicate symbols (or is it done already?) - move all the statics (grammar objects list and last error message) to the GL context state; I think simple pointer initialized in a first call to ProgramString() is sufficent. - apply an optimized version of match() - this will be needed for glslang compiler.
hader/grammar.c
hader/grammar.h
hader/grammar.syn
hader/grammar_mesa.c
hader/grammar_mesa.h
hader/grammar_syn.h
|
e05d4fbf0f9382933ee7b817930f4377ad87b742 |
03-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Added support for ARB_fragment_program_shadow.
hader/arbprogram.syn
hader/arbprogram_syn.h
|
7bce4863270eb155debc8da6b13eb4e8935f4310 |
03-Mar-2004 |
Michal Krol <mjkrol@gmail.org> |
Initial registry for ARB_fragment_program and ARB_vertex_program.
hader/asmopcodes.reg
|
7c6a04f6d8ef3c8a47a708a76bb4f4ac65c6b20f |
03-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added clamping to polygon offset to prevent potential negative Z values and FP exceptions
wrast_setup/ss_tritmp.h
|
9a20a72cdcab2a6c1678b83c782b61c047e765e3 |
03-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments, capitalization, misc-clean-ups
ain/dlist.c
ain/dlist.h
ain/mtypes.h
|
e22540c2765e034fed558ea1d44488a03fbba170 |
03-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
wrast/s_nvfragprog.c
wrast/s_nvfragprog.h
wrast/s_span.c
|
26895aa797060a38b42dfad21301f4b34b7de0d2 |
03-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more changes to VBO reference counting and deletion
ain/bufferobj.c
ain/varray.c
|
5ee631c6ee0a7f60a310471df74d9bd24f40a261 |
03-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
_tnl_allow_*_fog(...)
rivers/glide/fxdd.c
|
3abf2e474026ea5f7704315c6f846315ea0f45d3 |
03-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
made NASM opcodes consistent
86/assyntax.h
|
fc17a6a35c94c1fbcbb95767db58ecab41c04283 |
03-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.
rivers/dri/savage/savagetris.c
|
2517a0ef217f2f66494c55fc5342362d49ee208d |
03-Mar-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed some small state tracking issues while hunting a different problem.
rivers/dri/savage/savagestate.c
|
af745e5d4d6077fe46bd5692408475890848d66c |
02-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed linux-osmesa16-static. Added linux-static config
akefile.OSMesa16
|
411b8faac47317e73ab9c285a85631a340a4ad53 |
02-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing error check in _mesa_BeginQueryARB (Cedric Gautier). minor clean-ups.
ain/occlude.c
|
fa21787b52d85a7aeaf5de64a39e019f39fcfa07 |
02-Mar-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
workaround for crash-upon-exit in verbose mode fxMesa now uses grQueryResolution minor fixes to X11 and DOS drivers
akefile.DJ
akefile.mgw
akefile.wfx
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxwgl.c
rivers/x11/xm_api.c
|
725a56f157506a0122912da9f8df92b275da5b98 |
02-Mar-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Fix calling fallback_drawarrays() with the wrong arguments
nl/t_array_api.c
|
8cff2ede6eec1dd480bb8a4835b6985955514d87 |
01-Mar-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Add support for the new DRI driver interfaces to the radeon driver (patch ported from the r200 driver, r200_screen.c rev. 1.8 - 1.12)
rivers/dri/radeon/radeon_screen.c
|
dbb0d2751f98da7630bfbfa86ca5f76d3dddbf72 |
01-Mar-2004 |
Michel Dänzer <michel@daenzer.net> |
Inline get_size as an interim measure to get rid of function call overhead.
nl/t_save_playback.c
nl/t_vtx_exec.c
|
cac8d425a8147210dafaa25cefd7becb9e23c446 |
29-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Corrected the maximum vertex size argument of _tnl_init_vertices.
rivers/dri/savage/savagetris.c
|
c6338e60ffac532a4e10013d5720597a431cbc34 |
29-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Reorganized hardware state data structures and state emission. Don't track which registers changed in all the functions that change the state. Instead check which registers changed in the end when the hardware state is updated. Tried to avoid cosmetic (whitespace) changes in this commit.
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
rivers/dri/savage/savagetex.c
|
4923e1926ad7b7eb7de017eda8e7db64d357e5c8 |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
ain/colortab.c
ain/context.c
ain/convolve.c
ain/image.c
ain/image.h
ain/mtypes.h
ain/texstore.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
94f9d4c0dd2b62e01032c2b0dd9b8a25466690c2 |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/image.c
|
833d96aa913dcb0c5ca085cc7ebee3df90f7fbf8 |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
ain/image.c
ain/image.h
ain/mtypes.h
wrast/s_copypix.c
|
8cfd08b6134e2036ddceb1facfa82e15026068a2 |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
rename some span pack/unpack functions for better uniformity
ain/colortab.c
ain/convolve.c
ain/histogram.c
ain/image.c
ain/image.h
ain/teximage.c
ain/texstore.c
wrast/s_drawpix.c
wrast/s_readpix.c
|
d0582776a619cc0633a0cbeea010a0db5e3e210f |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
ain/image.c
ain/pixel.c
ain/pixel.h
wrast/s_copypix.c
wrast/s_texture.c
wrast/s_texture.h
|
456734aa0a6da47ad586f2ec021a429526e3152a |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
consolidate some code
ain/colortab.c
|
aaad687d510b3c933e4ca532e1c12ec723d33588 |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace color table FloatTable boolean with Type enum
rivers/glide/fxddtex.c
ain/colortab.c
ain/mtypes.h
ain/pixel.c
wrast/s_texture.c
|
d14da2d5aefaaef6afb864098c15c6fc3ca746ee |
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
paltex demo from recent texcombine changes. Minor clean-ups
ain/texstate.c
|
e2df3d01afaa6919b82962a087056f517bb94193 |
28-Feb-2004 |
Michel Dänzer <michel@daenzer.net> |
Only print message about disabling HW TCL if the chip supports it in the first place, and make the message a bit clearer. + Remove some extraneous whitespace.
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
1cb11ce1c50feb1b911545a793934158097a0f44 |
27-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Create all the right modes for 16-bit screens.
rivers/dri/mga/mga_xmesa.c
|
ad1e06fafe8061984fd993b0fc2a70fb4aa94bf0 |
27-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a problem with 24-bit screens. Modes with 0 stencil bits were erroneously marked as GLX_SLOW_CONFIG.
rivers/dri/r200/r200_screen.c
|
db79b5683cfc3f2ea3f9b0aca8c4d149bf9a63f7 |
27-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
move _mesa_load_state_parameters() to state validation stage
wrast/s_context.c
wrast/s_nvfragprog.c
|
579ea7ff7a98c95ae5c11f7483910d4d82662ca3 |
27-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix PK2H, UP2H, PK2US bugs
wrast/s_nvfragprog.c
|
fca9121a21155701027b307897e508dc2e42bbc5 |
26-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for null paramList
ain/program.c
|
e6149fac64da1653a315687465a1d83bd8373612 |
26-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap
ain/drawpix.c
|
1ef3d3a7589eeabf0229cb3c6a9419d0eef2a681 |
26-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for invalid vertex/fragment program in glBegin
nl/t_vtx_api.c
|
04207ab7e2bd6be14ea946de7f741490a7194a95 |
26-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions
nl/t_array_api.c
|
89d04e4623635d07cde447f97dd35495a754e9db |
26-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.
rivers/dri/savage/savage_xmesa.c
|
76283a9079846e8b31c03719774b7d2e24832e48 |
26-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all savage vertex formats.
rivers/dri/savage/savagetris.c
|
229654d815766c732e45b0de70485b0bed5121fd |
26-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Forgot to remove savagevb.h in last commit.
rivers/dri/savage/savagevb.h
|
d9a033087200548efabbd1f0cf0a2e2ecbf5809f |
26-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Converted vertex setup to use t_vertex.[ch].
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagevb.c
|
795f1faf81b988ac969356945e25dc712bcc6a94 |
26-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Create all the right modes for 16-bit screens.
rivers/dri/r200/r200_screen.c
|
04bcaac383cb6d3d5bceb7ecf65ff97c10aa7111 |
26-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _tnl_allow_vertex/pixel_fog() calls
rivers/dri/gamma/gamma_context.c
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/mach64/mach64_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/sis/sis_context.c
rivers/dri/tdfx/tdfx_context.c
rivers/dri/unichrome/via_context.c
|
21893e56e0be42691611141d0adab86819fda8c9 |
25-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)
rivers/dri/savage/savage_xmesa.c
|
54056db8db4cba5163ef40a30511bbdd35f8a47a |
25-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
use ABS(Z) when computing blend factors
nl/t_vb_fog.c
|
20e25ca50a6335fda3769f746165b5bbc2dfa95b |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _tnl_allow_pixel/vertex_fog() funcs
rivers/dri/r200/r200_context.c
|
8d407300c2b94f32c955b6dd75c2e18d6d58caa5 |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
turns out we probably need a _tnl_allow_pixel_fog() function afterall
nl/t_context.c
nl/t_context.h
nl/tnl.h
|
4d5dddd125ec99f25bc0abafcca90033392a100e |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
jump through dispatch table instead of calling gl functions directly
ain/api_noop.c
|
9d1ff8c1bb56b9ba0d3bf4552351d8bff6620ef2 |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix incorrect texcoord attribute index
ain/api_arrayelt.c
|
2615e81620bf91cc642b3373c41353b440242fee |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some GLAPIENTRY keywords, minor clean-ups
ain/api_arrayelt.c
|
4a048e5e48c67ca358042e176548606c7232c25b |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/transform/tnl/
ources
|
1e3d868ffbec46eecb85b4aaf6990d9ad69e830f |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Yet another revision of _ae_update_state(). Issue both conventional AND generic vertex attribute commands, ignoring ctx->VertexProgram.Enabled since this function may be used during display list compilation.
ain/api_arrayelt.c
|
0f1e19c03cdf5bd8a7c3db59cf395a0833ab0173 |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some const keywords
ain/mtypes.h
ain/vtxfmt.c
ain/vtxfmt.h
|
ffa7eff9ff459060364f0ed93865351f7fc15035 |
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glDrawArrays loop was wrong
ain/api_noop.c
ain/api_validate.c
nl/t_save_api.c
|
cf20f8cc3f92fcc6441b55a793bcede0d83a2a69 |
23-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Erdi Chen
rivers/dri/unichrome/Makefile.solo
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_regs.h
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dd_tritmp.h
rivers/dri/unichrome/via_dd_vbtmp.h
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb_cliptmp.h
rivers/dri/unichrome/via_vb_rendertmp.h
|
001dc022fc8c463ff20030e2a54934c93d50c969 |
23-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
delete the textures
rivers/dri/mach64/mach64_tex.c
|
263581bba4d61291c54313648063a30c47106f0b |
22-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVS with modifications to make it work with current Mesa 6.
rivers/dri/savage/savage_3d_reg.h
rivers/dri/savage/savage_bci.h
rivers/dri/savage/savage_init.h
rivers/dri/savage/savage_xmesa.c
rivers/dri/savage/savagecontext.h
rivers/dri/savage/savagedd.c
rivers/dri/savage/savagedd.h
rivers/dri/savage/savagedma.c
rivers/dri/savage/savagedma.h
rivers/dri/savage/savageioctl.c
rivers/dri/savage/savageioctl.h
rivers/dri/savage/savagespan.c
rivers/dri/savage/savagespan.h
rivers/dri/savage/savagestate.c
rivers/dri/savage/savagestate.h
rivers/dri/savage/savagetex.c
rivers/dri/savage/savagetex.h
rivers/dri/savage/savagetris.c
rivers/dri/savage/savagetris.h
rivers/dri/savage/savagevb.c
rivers/dri/savage/savagevb.h
|
2aa84490c02bc304f31198c6f3d44a31093e664b |
20-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed some typos
86/assyntax.h
|
304d3aa9cb727eb4cd4797c33f8e13e5ac4285a9 |
19-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Refactored several variables out of XMesaVisual in favor of identical fields in __GLcontextModes (the base type). Removed the need to keep the XMesaVisualInfo pointer when building inside the X-server.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
0733dbb0110583894b9df028e48ffd074cfd5380 |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
A few more tweaks to fog code. Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
wrast/s_fog.c
nl/t_vb_fog.c
|
09da0b8e6621a831e3eeb9381430f2bed18a22ad |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
A bit of an overhaul of the fog code. glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
wrast/s_context.c
wrast/s_context.h
wrast/s_fog.c
wrast/s_span.c
wrast/s_triangle.c
wrast/s_tritemp.h
nl/t_context.c
nl/t_context.h
nl/t_vb_fog.c
nl/tnl.h
|
a60c89e8c8348a348dcdd770a033f4976ea93206 |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SPAN_W
wrast/s_context.h
|
230ebaff2aecdd9f2bf667889d54bfc3dd032bbe |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
just some reformatting
wrast/s_triangle.c
|
4250c7acacc35f29a3716f96b8e4fa31d9d30d2b |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
some debug code
ain/feedback.c
|
5cd79f9267c5ce71d9fc3355ab0ba8fe5fdf636a |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FogOption to fragment_program struct
ain/arbfragparse.c
ain/mtypes.h
|
c2f6d6d092cb769416af453a9b8e216b20747bec |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FixedToDouble() macro
ain/mtypes.h
|
84b4a3a087a1475d4e9bd713e4bae91ba6363a50 |
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles instead of GLfixed. (Justin Novosad)
ain/config.h
wrast/s_tritemp.h
|
bb1dcb4fadb86ba89eeb2ba5e0ade3ead219ef67 |
16-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
texture env combine refactor (Andreas Stenglein), following the same principles as the refactored code already present in the R200 driver
rivers/dri/radeon/radeon_texstate.c
|
477363455d250bf7545f1cf89271025f9183dfb5 |
16-Feb-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add _tnl_set_attr() to complement existing get_attr() call.
nl/t_vertex.c
nl/t_vertex.h
|
45f4c5ec3bf30d421dba1ffbffa97f5c4a14e942 |
16-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanup and some WGL PIXELFORMAT issues
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
|
05ad3078a908f33ab043de784e2961638f819fa0 |
15-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
some code clean-ups
wrast/s_tritemp.h
|
7c4a61c57fea4c8f112fc22278f643bee2fbaa45 |
15-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor clean-ups of variable scopes, initializations, etc. New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size and rasterization accuracy.
wrast/s_tritemp.h
|
0200947f5e35f1dc7baae776d2e3a8206860335a |
14-Feb-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove debug
ain/program.c
|
964e5325bdcca702cfb2f210e0b89809e42847ef |
14-Feb-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Make it easier for drivers to create "subclasses" of the existing program struct hierarchy. Add driver callbacks to enable the above and make it possible to track more changes to program objects.
ain/arbprogram.c
ain/dd.h
ain/program.c
ain/program.h
|
659dce40e2e914e7d897b98716ca0596b4f2bf75 |
13-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Minor tweaks to get the fbconfig list returned by __driCreateNewScreen to pass through filter_modes (in libGL) properly.
rivers/dri/r200/r200_screen.c
|
88bf0387080da5120fbdd37bb88d90066cf2d5c9 |
13-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
init secondary color to (0,0,0,1). remove some redundant initializations.
ain/context.c
|
85ad44b29294c2b40e147dba17cbdd8698355ca5 |
13-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
set buffer object default Usage and Access
ain/bufferobj.c
|
de47068b85758039826c6c29900cf0ba32329043 |
13-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, rename some stuff
nl/t_vb_fog.c
|
71996ddbe191b1289aa5f3d83d6b1c951d79eba0 |
13-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Fix a problem that caused the new interface code to not actually be used. Fix a couple problems that confound the fbconfig filtering code in libGL.
rivers/dri/r200/r200_screen.c
|
0370d0829b67a3e85cad81bb20fa8028a7381745 |
12-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Enable use of new DRI interface in MGA driver.
rivers/dri/mga/mga_xmesa.c
|
193d211a190ce26ca82923377c22941cdf184766 |
12-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor re-org of state for fog and precision options.
ain/arbfragparse.c
ain/arbparse.c
ain/arbparse.h
ain/arbvertparse.c
|
d03814f426123a4525c0bd6f6843957b8c315449 |
12-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
minor cleanups from t_dd_vb.c
rivers/dri/mach64/mach64_native_vb.c
|
7b6ceb5b124673df2d94c2fe7dd2e779629f0354 |
12-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
remove vertex_stride_shift, fix up code to not need it
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vbtmp.h
|
da8337ed5e52741321ee5171ce0b0c43f09036c9 |
12-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix up specular color/fog and triangle vertex retrieval
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_tris.c
|
9a78c29f7a48221e5211d918a53270a5edf9edaa |
12-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
fixup vertex building code ..
rivers/dri/mach64/mach64_native_vbtmp.h
|
d2f0be152e3eeb88639f44c13adfb4a23688a23b |
12-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
more updates , gears sorta works
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
|
0d4393a38a2237bb65fbd38b8da73ac328a967d0 |
11-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix the problem found with UT after I had added support for glVertexAttrib. The problem came from using the _glapi_Dispatch->VertexAttrib*fvNV pointers since they can change from one glArrayElement call to the next.
ain/api_arrayelt.c
|
d4baed717f8da74ab641338a134a610daeb2e7dd |
11-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
initialise VBLANK
rivers/dri/mach64/mach64_context.c
|
2020278d06f927eed0bcba919f70846df090fc45 |
11-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Do more bookkeeping of vertex buffer object reference counts. Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
ain/attrib.c
ain/bufferobj.c
ain/varray.c
|
0b87abd11bf53034bd368adbbd7f084e3c6eb850 |
11-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Initial pass at adding support for the new DRI driver interfaces to the R200 driver. Not as clean / well commented as it should / could be.
rivers/dri/r200/r200_screen.c
|
faaf78aeb0e18c75c9b204a634f296b9c056cf5c |
11-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
revert to version 1.18 for now to fix segfaults in some applications
ain/api_arrayelt.c
|
f64f940281f0d716e0ddc641e7ef1728f143d67f |
11-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
change lighting to use MULT instead of PREMULT (i.e. move some lighting color calculations to the GPU)
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
22633805fa4edf5771a4aa951de947e3346f76be |
10-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed back fxMesaGetCurrentContext to match MakeCurrent
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxddtex.c
|
a1b9b1a4409729fa8b6714e5847544576fcee404 |
10-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Changed lighting to use SOURCE_MATERIAL instead of PREMULT (moves some light color calculations to the GPU). Two-side lighting fallback no longer needed and eliminated.
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
|
1440f732122be143cb9e78efcc63d3728a2fcc88 |
09-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
reorganized DMesa to fxMesa wrapper
akefile.DJ
rivers/dos/dmesa.c
|
89625ef6341054743c0c24e92ac0c34cabf9abf3 |
09-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
deal with combine_ext refactor
rivers/glide/fxdd.c
rivers/glide/fxsetup.h
rivers/glide/fxwgl.c
|
53ad0369721966c67bf6edad59c74e9ba7891fa5 |
09-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Restore some of the previous code for handling conventional vertex attributes more efficiently. Remove switches/conditionals from vertex attribute wrappers. glMultiTexCoord is implemented in terms of glVertexAttrib.
ain/api_arrayelt.c
|
0aa8a1062a06616fad18a1901afb5fa67fdcf82a |
08-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated to handle generic vertex attributes accessed vi glArrayElement(). In fact, handle all conventional vertex attributes in terms of generic attributes (execept for edge flags and color indexes).
ain/api_arrayelt.c
|
08a45d4d4f01100d3c99d1c8fc4b7db1242b78ef |
08-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fully parameterize the macros for fixed-point arithmetic
ain/mtypes.h
|
875f763c9fbe00661335e6b252aa3740101ea8d0 |
08-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added an additional comment about mipmap generation
ain/texformat.h
|
529614cd1a1e426ca7ad019795a6b72ad51cd9e6 |
08-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement Fake_glXCreateWindow() to fix bug #890894
rivers/x11/fakeglx.c
|
54447772d5add50efccc5c6aa68ee1ee8e21eab6 |
07-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
removed MGA driver from DMesa
rivers/dos/mga/m_ttemp.h
rivers/dos/mga/mga.c
rivers/dos/mga/mga.h
rivers/dos/mga/mga_hw.c
rivers/dos/mga/mga_hw.h
rivers/dos/mga/mga_mode.c
rivers/dos/mga/mga_mode.h
rivers/dos/mga/mga_reg.h
|
d039b43e3074d14193944408ef211a9abf10608b |
07-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added NUL driver for DMesa
akefile.DJ
rivers/dos/dmesa.c
rivers/dos/null.c
rivers/dos/null.h
rivers/dos/video.c
rivers/glide/fxwgl.c
|
07d6a983595b7ee52c8448fc579d952ce36472b8 |
06-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Refactor "class" texture environments to be implemented in terms of ARB_texture_env_combine state.
rivers/dri/i830/i830_texstate.c
rivers/dri/mga/mga_texcombine.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/tdfx/tdfx_texstate.c
ain/attrib.c
ain/mtypes.h
ain/texstate.c
ain/texstore.c
wrast/s_texture.c
|
c71ee917e325e8b8c1591047d6e33adb4e051da8 |
06-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
inform driver of changed wrap/filter parameters due to binding of nv_texrect texture
ain/texobj.c
|
4c6b629b3856c3e4acb51bf18fd9915532345967 |
06-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove bogus check of texture target in R200TexParameter
rivers/dri/r200/r200_tex.c
|
c2f28a3fd1b3831efb34ce8cb472381efd9456b3 |
06-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
align blits for texture rectangles correctly, fix potential problem overwriting dma region
rivers/dri/r200/r200_texmem.c
|
786e822cd4e4f5fb7a4177f7711683b14d2f2bc9 |
06-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
fix potential problem overwriting dma region
rivers/dri/radeon/radeon_texmem.c
|
531b59db3c466aad00bc07ec2863b7dfac57148d |
06-Feb-2004 |
Roland Scheidegger <rscheidegger@gmx.ch> |
remove bogus check of texture target in RadeonTexParameter
rivers/dri/radeon/radeon_tex.c
|
e5a94ba138f9a628b1237fa815c2af9c9da077eb |
06-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added flags for _all_ extensions to the gl_extensions struct so that drivers can disable any extension if necessary.
ain/extensions.c
ain/mtypes.h
|
74eeb37c00e2ce0f6288628f195fc3304eacefa7 |
06-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix missing include for SOLO build
rivers/dri/mach64/mach64_ioctl.c
|
6c7bb5ebbde6dfe19ecf0e9c6790c28b8b2e8d1e |
06-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
Remove warnings from mach64 build, fix up some _SOLO stuff, update to newer Mesa interfaces...
rivers/dri/mach64/Makefile.solo
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/server/mach64_common.h
|
0fbeff2fa2e831e45e4dc6014c8f1e6abaa44aa1 |
05-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
Initial mach64 driver import for DRI mach64-0-0-6 branch, this compiles but I doubt it works but it is a better starting point than the branch
rivers/dri/mach64/Makefile.solo
rivers/dri/mach64/mach64_context.c
rivers/dri/mach64/mach64_context.h
rivers/dri/mach64/mach64_dd.c
rivers/dri/mach64/mach64_dd.h
rivers/dri/mach64/mach64_ioctl.c
rivers/dri/mach64/mach64_ioctl.h
rivers/dri/mach64/mach64_lock.c
rivers/dri/mach64/mach64_lock.h
rivers/dri/mach64/mach64_native_vb.c
rivers/dri/mach64/mach64_native_vbtmp.h
rivers/dri/mach64/mach64_reg.h
rivers/dri/mach64/mach64_screen.c
rivers/dri/mach64/mach64_screen.h
rivers/dri/mach64/mach64_span.c
rivers/dri/mach64/mach64_span.h
rivers/dri/mach64/mach64_state.c
rivers/dri/mach64/mach64_state.h
rivers/dri/mach64/mach64_tex.c
rivers/dri/mach64/mach64_tex.h
rivers/dri/mach64/mach64_texmem.c
rivers/dri/mach64/mach64_texstate.c
rivers/dri/mach64/mach64_tris.c
rivers/dri/mach64/mach64_tris.h
rivers/dri/mach64/mach64_vb.c
rivers/dri/mach64/mach64_vb.h
rivers/dri/mach64/mach64_vbtmp.h
rivers/dri/mach64/server/mach64_common.h
rivers/dri/mach64/server/mach64_dri.h
rivers/dri/mach64/server/mach64_sarea.h
|
e2e9dc221d4f091b26713169dabfd43a3d8a635c |
05-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring in Keith's _math_matrix_ortho() compiler work-around
ath/m_matrix.c
|
540bb3a8303a051ba690d7d9ecaee4d83b74cdbb |
05-Feb-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix ugly bug triggered by macro expansion
rivers/dri/i810/i810render.c
rivers/dri/i830/i830_render.c
rivers/dri/mga/mgarender.c
|
b3063ac398b72e6a4fd2015d4e220495b9779294 |
05-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glXChooseFBConfig bug 890167
rivers/x11/fakeglx.c
|
ef18e23bf8bfb793da9face514263598276f3541 |
05-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo
wrast/s_accum.c
wrast/s_accum.h
wrast/s_buffers.c
|
36ff43b596f3bc122f2379b2c161ff9d4e05eeec |
04-Feb-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix off-by-one in calculations for wrapped trifan, polygon primitives
nl_dd/t_dd_dmatmp.h
|
b19cb627e002ec06dc92ab42c8107a3e34f2d181 |
04-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix stores to vertex state program registers
ain/nvvertexec.c
ain/nvvertparse.c
|
867fa0b5726f7b6c56961eecc33049b6755e58bf |
04-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
another tweak to two-sided detection test
wrast_setup/ss_triangle.c
|
609f35274c9dcf8607673ec1970efff583c97ed7 |
04-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix two-sided lighting / vertex program bug (#887330)
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
|
20c831bb899301642e3b7f808315459a6126e731 |
02-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/getenv/_mesa_getenv/
86/common_x86.c
|
cc5d04574406a86d9a4d7991370359dc3c94f9a7 |
02-Feb-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Include context.h in radeon_state.c.
rivers/dri/radeon/radeon_state.c
|
3a99674980c1fd76649ac48a95402bedc75a5e46 |
02-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option
rivers/x11/fakeglx.c
|
4c7883e402dd0733a56870f4517e455e46523cf4 |
02-Feb-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a bug in GL_NEAREST sampler
rivers/glide/fxddtex.c
wrast/s_texture.c
|
1e71d2af5ee64d2eec4e2e4bad044d662ee5f066 |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor #ifdef fix
nl/t_pipeline.c
|
6bbcae9473eb29b4621aaa344013ebf3bb59ccf5 |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug)
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
|
041e66b0d69b0b3288fbec8814fd1b941af9dbbe |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't call gl functions directly, jump through _glapi_Dispatch table
nl/t_save_api.c
|
111156affeab383f6b6f4a1c104bcd5c14999ef7 |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glBindProgramARB wasn't getting compiled into display lists (bug 887383)
ain/dlist.c
|
f924a933b4ead8883e918f65ca59824c0dab1f8e |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor fixes for recent Mesa 6.1 changes
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_texstate.c
|
f18598cbd2802e61c2cbb1d610630da9b5951169 |
31-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Via Unichrome/cle266 driver (Erdi Chen)
rivers/dri/unichrome/Makefile.solo
rivers/dri/unichrome/server/via.h
rivers/dri/unichrome/server/via_dri.c
rivers/dri/unichrome/server/via_driver.h
rivers/dri/unichrome/server/via_priv.h
rivers/dri/unichrome/server/via_regs.h
rivers/dri/unichrome/via_3d_reg.h
rivers/dri/unichrome/via_common.h
rivers/dri/unichrome/via_context.c
rivers/dri/unichrome/via_context.h
rivers/dri/unichrome/via_dd_tritmp.h
rivers/dri/unichrome/via_dd_vbtmp.h
rivers/dri/unichrome/via_dmatmp.h
rivers/dri/unichrome/via_dri.h
rivers/dri/unichrome/via_fb.c
rivers/dri/unichrome/via_fb.h
rivers/dri/unichrome/via_ioctl.c
rivers/dri/unichrome/via_ioctl.h
rivers/dri/unichrome/via_render.c
rivers/dri/unichrome/via_screen.c
rivers/dri/unichrome/via_screen.h
rivers/dri/unichrome/via_span.c
rivers/dri/unichrome/via_span.h
rivers/dri/unichrome/via_state.c
rivers/dri/unichrome/via_state.h
rivers/dri/unichrome/via_tex.c
rivers/dri/unichrome/via_tex.h
rivers/dri/unichrome/via_texmem.c
rivers/dri/unichrome/via_texstate.c
rivers/dri/unichrome/via_tris.c
rivers/dri/unichrome/via_tris.h
rivers/dri/unichrome/via_vb.c
rivers/dri/unichrome/via_vb.h
rivers/dri/unichrome/via_vb_rendertmp.h
rivers/dri/unichrome/xf86drmVIA.c
rivers/dri/unichrome/xf86drmVIA.h
|
2726d77b2e0610c45019d0070ba21ee8ff47668d |
30-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more descriptive error strings
ain/buffers.c
|
bacd9d1739da02bf67a522820ea6c580dc96c39c |
30-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix extract_3f_xyw().
nl/t_vertex.c
|
4fe1303e833183319f50107a98b8627f36633c65 |
29-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
GL_TEXTURE_1D and other stories...
akefile.DJ
akefile.mgw
akefile.wfx
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxtris.c
rivers/glide/fxwgl.c
|
b72902e061b0efbe442945dc319e60fcbccf9e8e |
28-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Add GLAPIENTRY function decorations for correct operation on Windows.
ain/api_arrayelt.c
|
5e83c2a081f4806c2ee0ecc9dd7f36feb4b2b20a |
28-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak the #if test for defining _ASMAPI (fixes IRIX problem)
ain/glheader.h
|
253428f06a45d59cc50c9ccc4c8d17cd8c02c25d |
28-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface change.
rivers/dri/radeon/radeon_state.c
|
e8df62b5a7b2f9a973cdd1fa005c2e8799e09e04 |
28-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
patch from bug 885992
ain/arbparse_syn.h
|
c24d40b17897362913c3cc4373ed1ec96a6ea6a4 |
28-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/BlendEquatioRGB/BlendEquationRGB/
wrast/s_blend.c
|
27413ed249d5614de3057eda3401a6cc9ca5b324 |
28-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macro works globally.
ain/mtypes.h
ain/nvfragprog.h
|
43b57728340e70827a114c384192ed319abdb5c6 |
28-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use NEED_SECONDARY_COLOR() for checking specular state at all times when ctx->_TriangleCaps might be inaccurate (ie while ctx->NewState might be non-zero).
rivers/dri/i830/i830_state.c
rivers/dri/mga/mgastate.c
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_state.c
|
c78a89d761a104dfe92ab42d3d52bb69c43105c1 |
28-Jan-2004 |
Dave Airlie <airliedfreedesktop.org> |
fix breakage associated with pointers not being initialised in mesa_create_context
rivers/dri/i810/i810context.c
|
c93105eb9e2499efb237fd89dba0cebd48f18375 |
27-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for EXT_blend_equation_separate / ATI_blend_equation_separate. The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
rivers/common/driverfuncs.c
rivers/dri/ffb/ffb_state.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_state.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/tdfx/tdfx_state.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/attrib.c
ain/blend.c
ain/blend.h
ain/dd.h
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
parc/glapi_sparc.S
wrast/s_blend.c
86/glapi_x86.S
|
dd9e6e7e37fbb8c30c8085ed784539d94110aa3e |
27-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Catch and shortcircuit no-primitive and no-vertex cases in _tnl_wrap_buffers()
nl/t_vtx_api.c
|
da2be88f18756f9caca95491dff81f9e77cbe0e8 |
27-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Add new driverfuncs.
rivers/windows/gdi/gdi.dsp
rivers/windows/gdi/mesa.def
|
18fa367ac6e035341f5eb86ecc4231124b2921e3 |
27-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single array, texObj->Image[face][level].
rivers/d3d/D3Dvbrender.c
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_texstate.c
rivers/dri/i810/i810texstate.c
rivers/dri/i830/i830_texstate.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mgatexmem.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/radeon/radeon_subset_tex.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/sis/sis_texstate.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texstate.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texstore.c
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_nvfragprog.c
wrast/s_span.c
wrast/s_texture.c
wrast/s_triangle.c
|
727d345b41c396af419a389808fdaec11aeafc3e |
27-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove bogus assertion in DeleteTexture() function
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_tex.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_tex.c
|
8135a445f3b0ae207ec5e4485b5936050d438320 |
27-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Make the drivers using the common texmem code work with NewTextureObject in Mesa. This is analogous to changes idr made to the r200 driver. Patch submitted by Andreas Stenglein.
rivers/dri/i810/i810context.c
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_tex.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_tex.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_tex.c
|
ef167c63282bb9b98492f46f9a3ad8f861db1a30 |
26-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for recursion in generic_copy_pv_extras. Add a comment.
nl/t_vertex.c
|
cb7c689e1411ebf4a66b6bf36711257352abc822 |
26-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace MALLOC w/ CALLOC to silence valgrind warnings
nl/t_vertex.c
|
5d3568f36cbd58210914706fb07dc822adbdd6a9 |
26-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
minimize the number of DIVs
ain/texutil.c
|
d3682ce37616bb1b33c587263bcb6c4e4eeac313 |
26-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodate FetchTexel and fix some memory leak bugs
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
|
1749a25ca889d514889b34cf6311c8014d97bf66 |
24-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
New error checking in _mesa_GetTexImage(). Updated comments and some better function parameter names.
ain/teximage.c
ain/teximage.h
|
fe03108ce0349cf6016fc88b0496735a8db3e804 |
24-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial RGB and RGBA floating point texture formats.
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
|
83e0cfb8a0bf3a14b6f495060749251cf94719d9 |
24-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Parse radeon, not r200 configuration in radeonCreateContext.
rivers/dri/radeon/radeon_context.c
|
78bb0803cf722ad5273fc495791eb573bf8b4d21 |
24-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Fix hardware ROP state handling (Roland Scheidegger)
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
4d859f73fce9918381c65da55f046a7c605c9e65 |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added device driver hooks for BindProgram, NewProgram, DeleteProgram
rivers/common/driverfuncs.c
ain/context.c
ain/dd.h
ain/program.c
ain/program.h
|
f2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change software alpha plane pointers from void* to GLchan*, eliminate some casts.
ain/mtypes.h
wrast/s_alphabuf.c
|
292615071a3867ab90dc7c444f72bcfadd2869f3 |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
more fixing for tdfxUpdateTexturePalette
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
|
7f7b2d86bc9f6a1811bab65c3bd2a3af83fb135e |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few more tweaks
rivers/dri/tdfx/tdfx_tex.h
|
75a0d31aaaa6125152f0ce356a72bcc22680c861 |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix assorted compilation issues
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
|
3d06dc75816ef7f1c6e2c3f24a98dd2934c4c385 |
23-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodated new driver_func initialization added DMesaGetProcAddress some other minor fixes updated documentation
akefile.DJ
akefile.mgw
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxtris.c
rivers/glide/fxwgl.c
|
3abf746a7eae52220485cd031aecec2ca9e6103e |
23-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
ain/arbfragparse.c
ain/arbfragparse.h
ain/enable.c
ain/light.c
ain/mtypes.h
ain/program.c
ain/state.c
ain/texstate.c
|
5c161cf615a073a9a69916957babdd234eba2174 |
23-Jan-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Trying to remove the <CR> at the end of each line. Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms ----------------------------------------------------------------------
escrip.mms
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
|
ff2cc41ccb9f5a5f0411d4bbfe2d5eb9655c2cc4 |
23-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Modified error messages in _mesa_BlendFuncSeparateEXT to note that the same function is used internally for glBlendFunc and glBlendFuncSeparate.
ain/blend.c
|
a2c97eb2ffad0471aae34ab185461774318a57d6 |
23-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change (Roland Scheidegger), and update lighting state unconditionally there. Fixes lighting oddities in the xscreensaver endgame hack, bzflag and possibly elsewhere.
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
|
5d00e131d8a264498b8d050c3eded093ee5c42f2 |
23-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Fix attenuation hardware state handling, inspired by the R200 DDK reference driver (our r200 driver basically didn't do this at all, maybe got lost along the way?)
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
4f295cee73bae1f687efe2dc062522b40d90b1e4 |
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial support for floating point and signed texture formats. New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
rivers/dri/tdfx/tdfx_tex.c
ain/mtypes.h
ain/texformat.c
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
wrast/s_nvfragprog.c
wrast/s_texture.c
|
dca71ea44bc4a9d454550c70e20b38f678b18a7e |
22-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Minor tweaks to help out at a driver level.
ain/arbparse.c
ain/nvfragprog.h
ain/program.h
|
004d71f55429a97513457c1cc67b910d86e8bca9 |
22-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Corrected a comment about how the DOT3 hardware works in the R200.
rivers/dri/r200/r200_texstate.c
|
03166f73f33970245d22b61b629f91647196e0f1 |
22-Jan-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Updated OpenVMS compile support Modified Files: Mesa/Makefile.X11 Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Added Files: Mesa/src/mesa/drivers/common/descrip.mms ----------------------------------------------------------------------
escrip.mms
rivers/common/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
|
afa446db83ecf5dcb38ce46648fb12911628de32 |
21-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Silence some compiler warnings.
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
|
169223c9eee5ee365bb4575939d92f852383d562 |
21-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Make the R200 driver work with the NewTextureObject in Mesa. Other drivers that use the texmem interface will likely need similar changes.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_tex.c
|
34a78574114d5f3ff814cf55c222fe26bded334b |
21-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Silence a compiler warning DRI builds using gcc3.
ain/dlist.c
|
66691ef5b56862e98a0254703751177b883d454a |
21-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use new EMIT_PAD functionality for spec and/or fog as available. Fix a couple of problems with texture emit.
rivers/dri/i830/i830_tris.c
|
20a17e42d7fc9fe65aabe612fe1e513c3103d121 |
21-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Remove dd_function_table::BlendFunc. All drivers now use dd_function_table:BlendFuncSeparate. If a driver does not actually support EXT_blend_func_separate, it can assume that the RGB and alpha blend functions are the same.
rivers/common/driverfuncs.c
rivers/dri/ffb/ffb_state.c
rivers/dri/gamma/gamma_state.c
rivers/dri/i810/i810state.c
rivers/dri/i830/i830_state.c
rivers/dri/mga/mgastate.c
rivers/dri/r128/r128_state.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_state.c
rivers/dri/sis/sis_state.c
rivers/dri/tdfx/tdfx_state.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
ain/blend.c
ain/dd.h
ain/dlist.c
|
4d36f334c9b3ab6b4e6901802e64ee7391a422ef |
21-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Another mechanism to create vertices with holes - a new EMIT_PAD style
nl/t_vertex.c
nl/t_vertex.h
|
e98986bdd3bb33583e9c0f275a93e4cfddd3b11d |
21-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc
ain/api_loopback.c
|
a999e809af97e32cc1198ca816dcacc735a0a4af |
21-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove _mesa_check_driver_hooks() - it's really not too useful anymore
ain/debug.c
ain/debug.h
ain/state.c
|
4e713913fb88bc221eea1a18822cc782ca39af4d |
20-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Undo some bits from last check-in related to the ctx->Driver.NewTextureObject functions. Don't allocate the driver-specific data during texture object creation but do it later as needed (as code originally was).
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_tex.c
rivers/dri/mga/mgatex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
rivers/glide/fxddtex.c
|
d4636e74c86fad221c57a3a1704106e2367fc230 |
20-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a bug in VGA initialization routine
rivers/dos/vga.c
|
e755144e797ded1679d828ba58cff9e7861e59cd |
20-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
remove duplicate t_dd_* files
rivers/common/t_dd.c
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_dmatmp2.h
rivers/common/t_dd_rendertmp.h
rivers/common/t_dd_triemit.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
|
d3fd7ba8af15bead2f770d68a893449adeb11397 |
20-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Before calling _mesa_create_context(), initialize a dd_function_table struct by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
akefile.X11
rivers/dri/fb/fb_dri.c
rivers/dri/ffb/Makefile.solo
rivers/dri/gamma/Makefile.solo
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/Makefile.solo
rivers/dri/i810/i810context.c
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tex.h
rivers/dri/i830/Makefile.solo
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_ioctl.c
rivers/dri/i830/i830_ioctl.h
rivers/dri/i830/i830_tex.c
rivers/dri/i830/i830_tex.h
rivers/dri/mga/Makefile.solo
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/r128/Makefile.solo
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r200/Makefile.solo
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/radeon/Makefile.solo
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/sis/Makefile.solo
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/tdfx/Makefile.solo
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/fbdev/glfbdev.c
rivers/glide/fxapi.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
rivers/windows/gdi/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
ain/bufferobj.c
ain/context.c
ain/context.h
ain/dd.h
ources
|
988a8862c8379c0312d40353ee4b35537dff59a1 |
20-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_init_driver_functions() to initialize dd_function_table
rivers/common/driverfuncs.c
rivers/common/driverfuncs.h
|
8d97ad18a7bd34e91d2f990b9349ea59391d4053 |
20-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
some more count vs. end confusion
nl/t_vertex.c
nl/t_vertex.h
|
6bf808bc6c074028b51a98928b4883648c6dac05 |
19-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace -lm with $(GL_LIB_DEPS) to get -lexpat
rivers/dri/mga/Makefile.solo
rivers/dri/radeon/Makefile.solo
|
9c0b83556dae35cf7260567f30fc156efa8c9742 |
19-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace CALLOC with MALLOC in _mesa_new_texture_object()
ain/texobj.c
|
c929f13701634a145a217ebb1ddec80742234d5d |
19-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove incorrect comments, added _mesa_bzero() call in _mesa_initialize_texture_object()
ain/texobj.c
|
ed43ecee90ad6fdde1e604f7f820ef7f8cd1251b |
19-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Migrate i830 driver to t_vertex.[ch] for building hw vertices.
rivers/dri/i830/Makefile.solo
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_debug.c
rivers/dri/i830/i830_render.c
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_tex.h
rivers/dri/i830/i830_texstate.c
rivers/dri/i830/i830_tris.c
rivers/dri/i830/i830_vb.c
rivers/dri/i830/i830_vb.h
|
41abe9e73f4d6cebd7bdfcc187c566e715894f0d |
19-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glitch from previous check-in (pointer vs int)
rivers/dri/i830/i830_context.c
|
77d240858e83cdaae799ef95188f59b7f2eda464 |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes to silence warnings
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/r200/r200_state.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/tdfx/tdfx_context.c
|
6a82d44d9cb25b8ef1e1697adfcfe91a964c221f |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings.
rivers/dri/mga/mga_xmesa.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_ioctl.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_ioctl.c
|
87745ce771cb2e15d3f4c919a96f7a1e72fdfcbf |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
change Data ptr from GLbyte to GLubyte to silence warnings
rivers/dri/sis/sis_context.h
|
013dee06c19ac342a7ce6b94b4630f7f45b26aa9 |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
include texobj.h to silence warnings
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_tex.c
rivers/dri/r128/r128_tex.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
|
e093e94298d4c73974ed90213d4ae17b26a9ce2a |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/char/GLubyte/ to silence warnings
rivers/dri/fb/fb_dri.c
|
ef77464a7ab966996a7d07649d2e381713c904c9 |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
include sched.h to get sched_yield() prototype
rivers/dri/common/vblank.h
|
97fcc0e77b55f2d11a4fe34fbe71605d0550e6c8 |
18-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
make second param of driParseConfigFiles() const
rivers/dri/common/xmlconfig.c
rivers/dri/common/xmlconfig.h
|
66f2fd89ea6e46cd76ea62f59c0b2fcdf80b2247 |
17-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some missing FLUSH_VERTICES calls
ain/arbprogram.c
ain/nvprogram.c
ain/program.c
|
8d83242c8c90846082d15cc3cfe204f4f8a4937d |
17-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Fix cosmetic GL_RENDERER string problem (Andreas Stenglein)
rivers/dri/radeon/radeon_context.c
|
edc9ffc748d0a0a17f1968c0c31a5cb8b76b2666 |
16-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 6.1 (new development)
ain/version.h
|
4a53f7bc74fbbd84a3d0a28fc3316cdf5e826121 |
16-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Respect the 'in_use' field in the global LRU as a marker for kernel-reserved memory regions.
rivers/dri/common/texmem.c
|
48e89df25bb3f54a719f4c11fb51254206fc71a6 |
16-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed refresh rate control in Glide wrapper
rivers/dos/dmesa.c
|
46d6bd368d343a40eaa98a0583b524b982e9421f |
15-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
add casts to quiet compiler warnings
nl/t_array_api.c
|
4d5e6623d36183b9c0380aa5da8fa37a979ce441 |
15-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
_mesa_delete_texture_object and some other updates
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/glide/fxwgl.c
|
3663c0f82527d972a7e5b85937d8da60253eb6f3 |
15-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Cosmetic changes. Added a bunch of const qualifiers. Use _mesa_memcpy() instead of memcpy(), etc.
ain/arbparse.c
nl/t_save_api.c
nl/t_save_api.h
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vertex.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
|
5bae6b90f93bb1bc2d85efe3de963fb49a38fed1 |
15-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
change MALLOC to CALLOC to silence valgrind error in _playback_copy_to_current()
ain/dlist.c
|
ae7666385d6bb2885fce2590d4f07c6caa8b3260 |
14-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added blurb about NVIDIA extensions
ain/get.c
ain/nvfragparse.c
ain/nvprogram.c
ain/nvvertparse.c
wrast/s_blend.c
wrast/s_nvfragprog.c
wrast/s_pointtemp.h
nl/t_vb_texgen.c
|
8533b915437464f335f52bfacf93292098f64f4d |
14-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump MAX_WIDTH/HEIGHT to 4K pixels
ain/config.h
|
d48382c77895307eea9e9f615933feb81da47e2d |
14-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Generate mesa.def file for Windows.
lapi/mesadef.py
|
c85f0fa177db965a8759b8aed9b44df62dbcfeec |
14-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
Replace with version generated from new python script.
rivers/windows/gdi/mesa.def
|
eb7935c63b647df38325fcc77ce86587558fb7c5 |
14-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix up more confusions with count vs end in array functions
nl/t_array_api.c
nl/t_array_import.c
nl/t_array_import.h
|
43ed92b3a1abceb03dd2c0bcc05f466e9a3f620a |
14-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a bug in texture memory manager when in UMA mode
rivers/glide/fxdd.c
rivers/glide/fxtexman.c
|
067603db91072fc3b02e1583195641972f81168f |
14-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Fix initialisation of cubic tecture offsets (Andreas Stenglein)
rivers/dri/r200/r200_state_init.c
|
5da27de003e62a9086cacf0aca0534485c2ad1cb |
14-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
add new entrypoints
rivers/windows/gdi/mesa.def
|
e54f2601707a54be8869fb3b0be26503d1c9916e |
13-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for EXT_texture_mirror_clamp.
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_tex.c
|
7a28156666f73a4e89354bd06acecaa6bfb8f9f4 |
13-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
glDeleteProgramsARB() failed for fragment programs (bug 876160)
ain/program.c
|
09a4fcb59272afdf460032916b008e610d2d7eca |
13-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added support for textures bigger than HW can support (SW rescaling)
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
|
b005b8258d4c8ee5c99e4942575c20b8621f0435 |
13-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
re-enabled trilinearness
rivers/glide/fxddtex.c
|
d0753661073125dad9aaaa6a37385b5f84a50a40 |
13-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
small fixes
rivers/glide/fxsetup.h
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
|
66304ec6d12350073a339a54d308d625c3923125 |
13-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated FX wrapper
rivers/dos/dmesa.c
|
eba6bacc88461a7d4083cdd1d4799c7d37307a44 |
13-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Removed some dead code. R128 does not (as far as I can tell) support GL_ARB_texture_border_clamp. The ATI drivers for Windows support it, but I can see no way to make it work without a fallback.
rivers/dri/r128/r128_tex.c
|
3d8f7d4c8c9b28272f152aebbaf775bf0d788ab7 |
13-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Added some missing extension strings.
rivers/dri/r128/r128_context.c
|
c6c4cd8b6f1b4b34ad84bdb31095458bde011fb0 |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
silence compiler warnings
nl/t_save_loopback.c
nl/t_vertex.c
|
4f7a8f3a4753d4662c311e0dd99d94cb7dcd0f71 |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
remove unused variable
nl/t_array_api.c
|
1852f4fa338765bf62b21ea7644e43cc19a1d77f |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
change type of loop index var to remove compiler warning.
wrast_setup/ss_context.c
|
d575248903d0e012c8876c2b2ff4b268d70bedaf |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
add cast to quiet compiler warning
wrast/s_feedback.c
|
1c5a45eafe7dae6db88484540edcdc17c39a0ee6 |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
init an uninitialized variable. This doesn't fix a latent bug because the variable was multiplied by zero.
ain/varray.c
|
9bb7a55de9675e2e65c97eaa771554a9cef005ab |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
add casts to silence compiler warnings
ain/arbparse.c
|
d612d7e2eec591765e175e618a4eabd6df9da648 |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
add t_vertex.c to project
nl/tnl.dsp
|
22e68de957cb03d8831626c84491fe5c145c44e4 |
13-Jan-2004 |
Karl Schultz <kschultz@freedesktop.org> |
remove ss_vb.c from project
wrast_setup/swrast_setup.dsp
|
8bec7c09bbe3a22109f97312ca2cc4e46da282a1 |
13-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't call _tnl_draw_range_elements() unless start == 0.
nl/t_array_api.c
|
553a8e0e7b0e8ec2f208a582c6e644cd340dba53 |
12-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Removed redundant extension strings. The Mesa extension mechanism automatically enables "duplicate" extensions without the driver explicitly enabling them.
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
1b65e52fb19599688494e7dcb292ab3bd1eee1b3 |
12-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Glide driver (windowed mode) fix for Voodoo2
rivers/x11/xm_api.c
|
b673fc49b9d3a436c8fde79d1eb238afd72b55de |
11-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix vertex program debugger issues (Bug 874382)
ain/arbparse.c
ain/nvvertexec.c
|
8bc3ce92a2fa1b8b4ae2b928d4102389f2298917 |
11-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_delete_texture_object() from in the driver's DeleteTexture function
rivers/dri/gamma/gamma_tex.c
rivers/dri/i810/i810tex.c
rivers/dri/i830/i830_tex.c
rivers/dri/r128/r128_tex.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_tex.c
rivers/dri/sis/sis_tex.c
rivers/dri/tdfx/tdfx_tex.c
|
add9f2168a5d6b15eb9955ee761246c4f4cf8458 |
11-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some comments
ain/teximage.c
|
4dd4ac3fc0241910ecc8331659db09bf68399a60 |
11-Jan-2004 |
Michel Dänzer <michel@daenzer.net> |
Actually disable HW TCL capability when SW TCL is forced. + remove some gratuitous whitespace
rivers/dri/r200/r200_context.c
|
ff3515831e3aed708c2ab7452fa1d470eb1fa1ae |
10-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OSMESA_LIB_DEPS needed for some platforms
akefile.X11
|
bd09d49eb4c6b7e14b7ba68d83fd556976724fa5 |
09-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-enable SSE code, except for the _mesa_sse_transform_points4_identity() function. Use the x86 version instead
86/common_x86.c
86/sse.c
|
ed98b867af836d7b87529716e95bc611a5695d4d |
09-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change < to <= when testing counts against ctx->Const.MaxArrayLockSize, per Daniel Borca. Also, added XXX comments to mark where there may be a problem with the calls to _tnl_vb_bind_arrays(). Is the last parameter a count or index?
nl/t_array_api.c
nl/t_array_import.c
|
a05b1549f7b6da7d9313b9addf2d01b9c61f34d7 |
09-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Roland Scheidegger's r200_changeemitorder.diff.
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.h
|
0f47e002bcec7524545c03e41c8f949c4647b963 |
08-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Fixed a few typos in the german translation.
rivers/dri/common/xmlpool.h
|
088eb4fb9baef8350bc7af5fadcca646e2829fe0 |
08-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
set StringPos field in parse_vp_instruction (Mesa bug 873011)
ain/arbparse.c
|
332a6741d5a5399ba33fd5f038f3c5a6736366f1 |
08-Jan-2004 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefiles Modified Files: Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
wrast_setup/descrip.mms
nl/descrip.mms
|
fb2a95b39142a2507e710d8a8e973f107fffb654 |
08-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Perform check for dstclip[3] == 0.
nl/t_vertex.c
|
2fa774edba710b32bc6999a65b92ade2db415589 |
08-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
keeping things safe: sanity check back
nl/t_save_api.c
|
a71d4445b4c1666702f308a4ef462f5722ad4b80 |
08-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
envvars to control run-time
rivers/glide/fxapi.c
rivers/glide/fxvbtmp.h
|
1a2a1f039d8730aa45a1f41819a3f3827f905d10 |
08-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
updated makefiles
akefile.DJ
akefile.mgw
akefile.wfx
|
d994f6dda5fae94c0ad159e2cc36b73145bf4a9f |
08-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
removed unnecessary (now) sanity check
nl/t_save_api.c
|
94de418fd053a2a970d1a1312765f14be7aeb6f6 |
08-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Use hand-made number parsing functions as the libc routines are locale-dependent. Thanks to Pavel harry_x Palat for pointing that out.
rivers/dri/common/xmlconfig.c
|
49bef526fde084b3ab20e9ff19bb89ecc31d4e55 |
07-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
reindent the code
rivers/x11/xfonts.c
|
731852f8a17c39dd0b7be92175621373320bae5d |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
bugfix in texture swapping mechanism (multitex)
rivers/glide/fxtexman.c
|
6471160770601a5f9b71252549002aa439b4091e |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
temporary workaround for bad primitives in fx_render_vb_quads
rivers/glide/fxtris.c
|
4c75d90ad21d40ae9a1965868cc992470421caff |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
protect against broken apps
rivers/glide/fxwgl.c
|
63f025c5adba242c760fc3156b4aa92ee6f29f76 |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
teensy bit of optimization in interp code
rivers/glide/fxvbtmp.h
|
e1ecdc337e2047873e8dad63c7c0388348d1d5b7 |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
wgl interface
rivers/glide/fxopengl.def
rivers/glide/fxwgl.c
|
972f3ccedfbe0591a76bee95d8eabf4a4a588c29 |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
cleanups
rivers/glide/fxddtex.c
rivers/glide/fxg.h
|
17f2e550099db465f56081e4086c171b354e4faf |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
sanity check for vertex counter
nl/t_save_api.c
|
722cb89a1300e59725a5e584017f18d1946efa6e |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
no-op table on par with main dispatcher
lapi/glapi.c
|
ff1c766f7c83fd1da91acdb28ba50be396a5eeae |
07-Jan-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
Mingw3 prototypes
rivers/windows/gdi/wgl.c
|
203dca4287f263f4a2fd6e1fa15e5286894ac666 |
06-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Testing
nl/t_vertex.c
|
85138fa443f5d50fa54b3b154a208ec86075d668 |
06-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add comment regarding sse disable
86/common_x86.c
|
20caac0967dbe73306d1f130bea561be411fc067 |
06-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
SSE segfaults in conform - disable for now.
86/common_x86.c
|
38bf45d4bbc576a695a2f7bb7d9ae3caf28a6838 |
06-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixes for _swsetup_Translate()
wrast_setup/ss_context.c
|
44d4a8f64521fe9d398ecca5dc886171d8a40a7e |
06-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Apply attribute offset when calling extract(). Simplify stride calcs.
nl/t_vertex.c
|
10095c9024efb1767fb3df0b59672299c090ad10 |
06-Jan-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add support for Radeon IGP chipsets, based off of mcgrof-radeon-igp-v3.diff XFree86 bug: 314
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state_init.c
rivers/dri/radeon/radeon_screen.c
|
16f54219f53f9345836e3348cffd9d93b0646a33 |
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Slight cleanup
nl/t_vertex.c
|
fc9f313b9d8e19cebb828ef59dcda88117e0bf30 |
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove debug
nl/t_vertex.c
|
588225770c60834dfd2a95850435cc549167dc05 |
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Beef up t_vertex.c: - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices.
ources
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_context.c
nl/t_context.h
nl/t_vb_light.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vertex.c
nl/t_vertex.h
|
ce81fe69da00f86464a109243d6e109b71335329 |
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add t_vertex.c
ources
|
790734045b69c47b1525fbf9106a7ca5a8eb7416 |
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Re-commit t_vertex.[ch] changes to fd.o server.
rivers/dri/gamma/gamma_render.c
rivers/dri/i810/i810render.c
rivers/dri/i830/i830_render.c
rivers/dri/mga/mgarender.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
ain/mtypes.h
wrast_setup/ss_context.c
wrast_setup/swrast_setup.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_save_playback.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vertex.c
nl/t_vertex.h
nl/tnl.h
|
effc73931f86c7961b4eb296d2d4c5d91624a9e3 |
05-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Added def_max_anisotropy and no_neg_lod_bias options to radeon and r200. The def_max_anisotropy option breaks driconf. :( I'm going to upload a fixed version soon.
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_tex.c
|
dbfe7ae848dc008ec878a7da8c39e4091996bb74 |
05-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Added two new options: def_max_anisotropy and no_neg_lod_bias. The latter one is for disabling faked "anisotropy" in e.g. FlightGear.
rivers/dri/common/xmlpool.h
|
22d1acf2ee25280c3294c2cfded232e612ffac2e |
04-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
New, less expensive workaround for state-change lockups.
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
|
9741dd6cf40d90cc10357ce06ad9c48dbc0c678c |
04-Jan-2004 |
Felix Kuehling <fxkuehl@gmx.de> |
Reenable the vtxfmt code paths in the radeon and r200 drivers.
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.c
nl/t_vtx_api.c
|
41c310b20a97a9719100f61c6871e9fd4b3ff5f9 |
01-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace changes and new comments
ain/macros.h
nl/t_context.h
nl/t_vtx_api.c
|
27889274101df1c2dac05e9979d3b8002663bdc6 |
28-Dec-2003 |
Felix Kuehling <fxkuehl@gmx.de> |
Fix TCL_LIGHT_MODEL_CTL setting in radeonColorMaterial.
rivers/dri/radeon/radeon_state.c
|
7a57932a025cf786527d31f4951c8a6d0f25aeec |
27-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't allow lighting in model coordinates when fog is active, from radeon_state.c, noticed by Dieter Nuetzel.
rivers/dri/r200/r200_state.c
|
eff4abcbd87d59aec62370dbe489d97f926f3638 |
27-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)
ain/light.c
|
f903e1142d2c1c22071c4f620229de27e73199a2 |
23-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
the optimized UNCLAMPED_FLOAT_TO_UBYTE macro was broken
ain/imports.h
|
0ee5f6203c125898fdffbec8d5eea9269aa1559e |
23-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
reverted TMUs for proper multitexturing
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxvb.c
|
fabb9734ddd1a9b43e7835190f2f4828add2db3c |
21-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
new files
nl/t_vertex.c
nl/t_vertex.h
|
259b880bc77afd5ef288ac9c38a6d4cb31d286f5 |
21-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Version bumps, etc for Mesa 6.0
akefile.OSMesa16
akefile.X11
ain/get.c
ain/version.h
|
e9e98405e720845f06f7a375585491e938f4dacd |
19-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
DMesa: removed MGA2064W driver DMesa: added capability to query visuals fxMesa: WGL_3DFX_gamma_control fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
akefile.DJ
rivers/dos/dmesa.c
rivers/dos/internal.h
rivers/dos/vesa.c
rivers/dos/vga.c
rivers/dos/video.c
rivers/dos/video.h
rivers/glide/fxapi.c
rivers/glide/fxg.c
rivers/glide/fxopengl.def
rivers/glide/fxwgl.c
rivers/x11/xm_api.c
|
63a5cbb177a24988a89ab95867fe91debec438d6 |
17-Dec-2003 |
Ian Romanick <idr@us.ibm.com> |
Fix to work with the C preprocessor in GCC 3.3.x.
86/assyntax.h
|
63f4e198b41ad5a25200db3d126a6320d6cf8dcc |
15-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_MIN/MAX w/ glBlendFuncSeparate bug (Ian Romanick)
wrast/s_blend.c
|
f80220d05015c851879f4b347021f98c1690f93b |
15-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
EXT_secondary_color and EXT_separate_specular via multipass
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
|
7aa77b679d0d273b941029bb2c912f87f94d055b |
13-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
Problem computing specular value in OPCODE_LIT - pulled in value from vertex program execution of LIT
wrast/s_nvfragprog.c
|
82e9f0099d8ef50cb56289784b81cd37c2f864f5 |
13-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some matypes.h glitches
akefile.X11
|
3c7b7df6d5d7fefeec601c6e23024692a9ba77e7 |
13-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _ae_destroy_context() and _ae_invalidate_state() from the proper places
nl/t_context.c
|
c360a721e7081c08cd33621462056a62335908a7 |
13-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
init vars to silence warnings
wrast/s_tritemp.h
|
50f20ec7f5a10b3c07d41912be3bcec082c43711 |
13-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates from Philippe Houdoin.
akefile.BeOS
rivers/beos/GLView.cpp
rivers/beos/GLView.h
|
74466be8cb53109c519bb00e5b18df11802d05a7 |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
check swrast->NewState in Draw/CopyPixels functions
rivers/x11/xm_dd.c
|
4a3110fb213f419a47822eb44c5f2fcd74bb3b0d |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays()
ain/mtypes.h
ain/varray.c
|
d450d0b0e228e5b16c04b2a1acb9ea549aa690f2 |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Felix's patch for configuration system
rivers/dri/common/xmlconfig.c
rivers/dri/common/xmlconfig.h
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_screen.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_screen.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_screen.c
|
177db2bc9bc5ac1103068dc874865263f6aa600c |
12-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
- Test instruction count - Throw an error for VPs if we set position invariance and then write to the output position
ain/arbparse.c
|
ecc150c626a3722e26c4efd23d5e7ef735b060fe |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved makefiles
akefile.OSMesa16
akefile.X11
akefile.solo
|
107564b0902044d80a9518fb6099367a71cbe256 |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
lists of common source files
ources
|
b8cbca4807d6e477cccedaaf1a8ea0a9fe3a379d |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new Makefiles
rivers/dri/fb/Makefile.X11
rivers/dri/fb/Makefile.solo
rivers/dri/ffb/Makefile.X11
rivers/dri/ffb/Makefile.solo
rivers/dri/gamma/Makefile.X11
rivers/dri/gamma/Makefile.solo
rivers/dri/i810/Makefile.X11
rivers/dri/i810/Makefile.solo
rivers/dri/i830/Makefile.X11
rivers/dri/i830/Makefile.solo
rivers/dri/mga/Makefile.X11
rivers/dri/mga/Makefile.solo
rivers/dri/r128/Makefile.X11
rivers/dri/r128/Makefile.solo
rivers/dri/r200/Makefile.X11
rivers/dri/r200/Makefile.solo
rivers/dri/radeon/Makefile.X11
rivers/dri/radeon/Makefile.solo
rivers/dri/sis/Makefile.X11
rivers/dri/sis/Makefile.solo
rivers/dri/tdfx/Makefile.X11
rivers/dri/tdfx/Makefile.solo
|
013056ac651383579b1395c18ad96bd0dca620dd |
12-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
set MaxTextureImageUnits, MaxTextureCoordUnits
rivers/dri/gamma/gamma_context.c
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
rivers/dri/tdfx/tdfx_context.c
|
e01d671668a2f618de689e72cce5caf21f57d4a0 |
12-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
small bug wrt culling
rivers/glide/fxtris.c
|
379641956d134b8dc761b6411d7c4dca8f94a092 |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix visinfo typo
rivers/x11/fakeglx.c
|
a9a1c3f20f2d6aad4afc47cf2b29c5393fddb6b6 |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for null dpy in Fake_glXGetConfig()
rivers/x11/fakeglx.c
|
c3fb2558f036ca8dd9f9a62269b57636ca3b5e4c |
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall)
ain/glheader.h
|
d8be4a54fad35da25a2f29a5b327192eeb04d014 |
11-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT()
nl_dd/t_dd_dmatmp.h
|
7ed58285abede813fbf5fa0a2e29982043f1bbbe |
11-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
add driClipRectToFramebuffer helper function
rivers/dri/common/utils.c
rivers/dri/common/utils.h
|
844cdaf461e3e181bcf1d4c0ba79ef5c4140cb4e |
11-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Updates to tnl_dd_dmatmp.h - Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings.
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_vb.c
nl_dd/t_dd_vbtmp.h
|
2dc621f3fdb585f23013aa3e220f2148f9405538 |
11-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Updates to tnl_dd_dmatmp.h - Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings.
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810render.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_render.c
rivers/dri/i830/i830_tris.c
rivers/dri/i830/i830_vb.c
rivers/dri/i830/i830_vb.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_vb.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_maos_verts.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_vb.c
|
5bcf52b4d6951f9058b5ef00cf2438b3bdfbeea0 |
11-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed prototypes for wglGammaRamp3DFX
rivers/glide/fxwgl.c
|
2ed479784859e01441eeaffc67e916aa6b863def |
10-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix from DRI trunk
rivers/dri/radeon/radeon_sanity.c
|
28442852978e8ca0bcc5fda6393fc7b94fcf2bbf |
10-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
got rid of __FUNCTION__ :( Texus2 functions are dynamically linked now made getRegistryOrEnvironmentString more portable bugfix: unnecessary total SW fallback -- glColorMask bugfix: when shared palette was not loaded correctly point_attenuation_stage back in business (point size/atten) fxTexGetInfo is not required for fxIsTexSupported fxDDChooseTextureFormat optimized for RGB/RGBA textures accelerated Quads with Triangle_Fans more WGL extensions/functions (also updated export file) DXTC/S3TC -> FXT1 wrapping hack quick & dirty fix for Quake2
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxopengl.def
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
|
43be8ee414369f2745de0cf936f9767ee31df991 |
10-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix typo
rivers/dri/r200/r200_maos_verts.c
rivers/dri/radeon/radeon_maos_verts.c
|
527078afcaf27fc517ce3029e623235fa381877b |
10-Dec-2003 |
Eric Anholt <anholt@FreeBSD.org> |
Fix definitions for Intel compiler. Submitted by: Mikhail Teterin <mi@FreeBSD.org>
ain/glheader.h
|
b44fb3577089d4cab7d0f3ff87c6d9f4a7c42a35 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
In fact, bring all the changes from mesa/tnl_dd to mesa/drivers/common.
rivers/common/t_dd.c
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_dmatmp2.h
rivers/common/t_dd_rendertmp.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
|
10637fed2229586fb81a2bd1ff2f0247ae51499d |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove old ubyte-color support code. Update interp, copy_pv for float colors in VB arrays.
rivers/common/t_dd_vb.c
|
2e5ec27845930607ecd3f545b8f0a46aa09b52fd |
09-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
Arg. I can't code.. Test that we don't recongnize '0' as having a leading zero..
ain/arbparse.c
|
ff10a796feb5e10dea08927ca36df57bee4b1f83 |
09-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
- New grammar (0.5) from Michal Krol, merges many opcodes and adds range testing - Proper header on arbparse_syn.h - Handling of relative offsets for ARB_vp - s/MaxFragment/MaxVertex - Check for leading 0's in the fraction portions of floats in parse_float()
ain/arbparse.c
ain/arbparse_syn.h
|
057dfcb06c04883f156692633b0d4ca86396eabe |
09-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
- handle IsPositionInvariant - tweak assertion to allow for relative offets from ARB_vp
ain/nvvertexec.c
|
82efdff66f8ede02e4b673102081e8f794c17f9d |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo.
rivers/dri/gamma/gamma_tris.c
|
8069ada29bc7484df48e081289284b6df569c799 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
MGA only has one vertex format.
rivers/dri/mga/mgatris.c
|
9556a5286730aa6839b9aa7cbbb2fe815a318e28 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating point colors throughout mesa.
rivers/dri/gamma/gamma_tris.c
rivers/dri/i810/i810tris.c
rivers/dri/mga/mgatris.c
rivers/dri/sis/sis_tris.c
rivers/dri/tdfx/tdfx_tris.c
|
425deefdd04fbc58aa1c357697ce602ff3013516 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating point colors throughout mesa.
rivers/dri/i830/i830_tris.c
|
8592ba94b85b3f0f93ae875eece259b4626a6759 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix use of uninited value 'flags', removed unused vars.
rivers/dri/radeon/radeon_swtcl.c
|
c4f7de5d785266237fd46ee420d4715771f67dfb |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix VERT_SET_RGBA, VERT_SET_SPEC macros to account for change to floating point colors throughout mesa.
rivers/dri/r128/r128_tris.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/radeon/radeon_swtcl.c
|
47909141985a5aa38a49ea45b3aea795f1922dfb |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the non-parity code).
nl_dd/t_dd_dmatmp2.h
|
688193800789d0ad883ca72edf2da392295cf734 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Call UpdateMaterials when they have changed
nl/t_context.h
nl/t_save_api.c
nl/t_save_playback.c
nl/t_vtx_api.c
|
a70fa7129cf8549f8c01b01d5e317a5a07485706 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
clean up some compiler warnings
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vtxfmt.c
|
8a340279f4366e097adce479241a2ede8e977128 |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
No need to call UpdateMaterial() from RunPipeline().
rivers/dri/r200/r200_state.c
|
e6abd5c415ed391d1d749514abb4135e4432a25e |
09-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
No need to call radeonUpdateMaterial() from RunPipeline().
rivers/dri/radeon/radeon_state.c
|
7ac913362770b9f15093bd43769068d966bf913f |
09-Dec-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Small VMS issue : sys/param.h is not available on all systems and not needed anyway. Modified Files: Mesa-newtree/src/mesa/main/vsnprintf.c ----------------------------------------------------------------------
ain/vsnprintf.c
|
853bda3e7c4dfa7d8cc462729f6a3dce89e44963 |
09-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian.
ain/context.h
ain/nvfragprog.h
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_lines.c
wrast/s_span.c
wrast/s_triangle.c
wrast_setup/ss_vb.c
nl/t_vb_render.c
|
e8bec8832b50b8c2310e40951bea8bd78f89715c |
09-Dec-2003 |
Eric Anholt <anholt@FreeBSD.org> |
Remove usleeps from sis driver. We probably aren't doing anyone a service sleeping with the lock held. Also, rename cEngineState to engineState since it isn't a char any more.
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_tris.c
|
73c3c397e4c07b48dcc845add9d80df025e1f0cd |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix bogus assertion that checked for an empty texture heap list before deleting the textures. Essentially move the assertion after the destruction of the heap.
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/r128/r128_context.c
rivers/dri/r200/r200_context.c
rivers/dri/radeon/radeon_context.c
|
6b9e8279dd734d2fa82be485bd335262c2ad2b34 |
08-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Provide dummy definitions of __driConfig externs
rivers/dri/ffb/ffb_dd.c
rivers/dri/i810/i810context.c
rivers/dri/i830/i830_context.c
rivers/dri/tdfx/tdfx_context.c
|
1cb5d2e01a756ed1d7d10c0e0c70849b0d19fac9 |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
some changes for SOLO build
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/server/ffb_dac.h
rivers/dri/ffb/server/ffb_drishare.h
rivers/dri/ffb/server/ffb_regs.h
|
8ed323166978145afaa10651039e473367d78a63 |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build in SOLO environment
rivers/dri/tdfx/server/tdfx_dri.h
rivers/dri/tdfx/tdfx_screen.c
|
243093f544ab79ed92cac9d615b5b9659f56dea3 |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
kill a warning
ain/arbparse.c
|
07851ca039a3c9c54a21f8e364e740f918e8b3ec |
08-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
get ffb compiling
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vbtmp.h
|
c11039979c0736877d161c219cd9cd257300bf21 |
08-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
get tdfx compiling
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vbtmp.h
|
8fee8dfcaaf2dae5a8a022077f2d888b9943b5a2 |
08-Dec-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)
nl/t_vb_texgen.c
|
034da5d817971ca8a8d25f6aab8c3c301cce5640 |
08-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove PRIM_PARITY reference
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/tdfx/tdfx_tris.c
|
58f88a29d2eeb9cc5f4658113d0ebe11f60ab61c |
08-Dec-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS compile issues Modified Files: Mesa-newtree/progs/tests/cva.c Mesa-newtree/progs/tests/dinoshade.c Mesa-newtree/progs/tests/multipal.c Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/src/mesa/tnl/t_vtx_api.c ----------------------------------------------------------------------
ain/descrip.mms
nl/descrip.mms
nl/t_vtx_api.c
|
2799d2535ab013ec82c79e3f98f92cdef43dbdf3 |
08-Dec-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Solves array boundary out of bound which causes problems on OpenVMS (and maybe other systems) Modified Files: Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h Mesa-newtree/src/mesa/tnl/t_vtx_eval.c ----------------------------------------------------------------------
nl/t_vb_lighttmp.h
nl/t_vtx_eval.c
|
173f9ae031b43ae15d4d1ff1563eefeb83647895 |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add SETPARAM ioctl
rivers/dri/radeon/server/radeon_common.h
|
99ef0a03292e7dc6aa2465aaaa620f394d2c286b |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge some more of the radeon DRI driver from the DRI trunk
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state_init.c
|
273e52f86fa41564f573c8e84d013f995e01a8f0 |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
sync some more of the r200 driver from the DRI trunk
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state_init.c
|
297807d431aed30d7fff3749eea91bde84f60cfa |
08-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge i830 DRI driver from DRI trunk
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_texstate.c
|
a5a7d208c484c114990ee0a575629d073d847016 |
06-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added drivers/fbdev/glfbdev.c
akefile.X11
|
8172cec94308d39a7da22df7c9101624cd3ec5b2 |
06-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
conditionally define GLAPIENTRYP to prevent some warnings in linux-solo
ain/glheader.h
|
a763123b35ac4f7bd1b3a47b5b3180f217a3b81d |
06-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
glFBDev driver from embedded-2 branch. Probably won't be actively used/maintained, but bring it to the trunk so it doesn't get lost.
rivers/fbdev/glfbdev.c
|
fe54ba39522f6ebed447e083936d88b07b46189b |
06-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Relax assertion to account for empty primitives.
nl/t_save_api.c
|
cc140115965210d1d9aa37d6b91d4632381ab60a |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix _SOLO build problem
rivers/dri/sis/sis_screen.c
|
87ae8db37441e09b9af8be95c271c12258cff390 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix a _SOLO build problem
rivers/dri/sis/Makefile.X11
|
e616ad78d8daa333ea4bac23d0a8ceab61b00bad |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix _SOLO build problem
rivers/dri/mga/mgaioctl.c
|
e412eef73f21a60161bc22e9f3b41dfa7aa2e066 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix some _SOLO build problems
rivers/dri/r128/r128_ioctl.c
|
d907a75498360fb96ec2314bb0abb105be74d500 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
xmlconfig fixes
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_tex.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_tex.c
|
e4b5ff8e773eb376e0b370df3d61c5b9bb02ea64 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
xmlconfig fixes for the new options
rivers/dri/r200/r200_context.c
|
94965f2738c42b894f84fc8b46a979568f8f095f |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge r128 DRI driver from DRI trunk
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_tex.c
|
98165fb1cf6d490ab152084710f11aee559bfec6 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge i810 DRI driver from DRI trunk
rivers/dri/i810/i810texstate.c
|
a87bf1599c970a61a56f6271e2fb0b107c299893 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix compiler warning
ain/imports.c
|
c0b0b1790a1a055013ae43be534d449a9167daa8 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove duplicate declarations
ain/histogram.h
|
fcf02034b4d8cf8c678bba653047e187a23fc02d |
05-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Backout last change on the displaylist path to fix gears (and probably everything else).
nl/t_save_api.c
|
b25439a3bcce95befbfa2ec0969dd117a361c225 |
05-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glheader.h first, to prevent warnings about GLAPIENTRYP being redefined
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vtx_api.c
|
dd7f735f5318735752c2c82d33eb7fb9148c5348 |
05-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include GL/gl.h, define GLAPIENTRYP if not defined
lapi/glapitable.h
lapi/gltable.py
|
a6ad01c14e8b7d819783d81c1febfa8e72063bf3 |
05-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix a front/back CopyPixels glitch.
rivers/x11/xm_dd.c
wrast/s_copypix.c
|
eed5ac284cb4edca5400d55040e83fdf2f329f84 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
bring over latest mga DRI driver from DRI trunk
rivers/dri/mga/mga_texcombine.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
|
1f2d9ae69fa6d368b1df3f316e7bb7186ca8f746 |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
bring in common from DRI trunk
rivers/dri/common/xmlpool.h
|
0cbb006942560788b70a9706694f53f3f034e8ee |
05-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
disable some DEBUG
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
|
9b9a57a25cc63200a7ec86c96433924351674650 |
04-Dec-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Change #define GLAPIENTRYP __stdcall * to #define GLAPIENTRYP GLAPIENTRY * These two defs end up doing the same thing, but the compiler can squawk because they look different. Also matches the way it is declared in gl.h. Do same for GLCALLBACKP.
ain/glheader.h
|
fed1cda2ade715a62ffd57be18ece18cc3934f51 |
04-Dec-2003 |
Karl Schultz <kschultz@freedesktop.org> |
update files
ain/main.dsp
nl/tnl.dsp
|
44c00033f2bfc28cc100ebedd3a8b845516a8f00 |
04-Dec-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add missing GLAPIENTRY
nl/t_save_api.c
nl/t_vtx_api.c
|
d6745697b625a6a5b7d6e3d7dd5f5510f96e277a |
04-Dec-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add missing GLAPIENTRY
ain/api_arrayelt.c
ain/api_arrayelt.h
ain/api_loopback.c
ain/api_noop.c
ain/api_noop.h
ain/dlist.c
|
ddd3fad6e510a765bbbdd1406d9100d753e3dc2b |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
use _swrast_CopyPixels for XFree86
rivers/x11/xm_dd.c
|
e78dd78e4af644fbad6cd8f3135ec7364bd54a5f |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge latest DRI sis driver changes from the DRI trunk
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_common2.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_debug.c
rivers/dri/sis/sis_debug.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/sis/sis_tritmp.h
rivers/dri/sis/sis_vb.c
rivers/dri/sis/sis_vb.h
|
ecb1a5f7f98b9e42965318db99b6996f12b87e59 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fix
rivers/dri/common/utils.c
|
21a218f5bf18255c3f4db50a1fe232dc5eccf442 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_tex.c
|
164c703e98e5e2e195b6ca124a8a91913645a6ab |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_dd.c
86/common_x86.c
|
4abac931e8711468b874071a0d611f52d7aa2c9b |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vtxfmt.c
|
1d7b75c3adfaccb37a2fe8b3c0792c759968c8b7 |
04-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use new glDrawPixel routines in Xserver
rivers/x11/xm_dd.c
|
8ea178d68f23fe04e9a83ad7f96083318ad1cc92 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove duplicate declaration
ain/bufferobj.h
|
b97faf113d31b376c8a84d3cfa43b62d3be0dbeb |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/tdfx/tdfx_state.c
|
4e638426fdf7b585b0cb12a306e6b8c4e79bce17 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fix
rivers/dri/r128/r128_ioctl.c
|
84f6b5206fba0aadf01caf3879f381c4198a880a |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_points.c
|
13e6a4849c6800eac454fd1010cb2320874f2ed6 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add SPARC ffb DRI driver
rivers/dri/ffb/Makefile.X11
rivers/dri/ffb/ffb_bitmap.c
rivers/dri/ffb/ffb_bitmap.h
rivers/dri/ffb/ffb_clear.c
rivers/dri/ffb/ffb_clear.h
rivers/dri/ffb/ffb_context.h
rivers/dri/ffb/ffb_dd.c
rivers/dri/ffb/ffb_dd.h
rivers/dri/ffb/ffb_depth.c
rivers/dri/ffb/ffb_depth.h
rivers/dri/ffb/ffb_fifo.h
rivers/dri/ffb/ffb_fog.c
rivers/dri/ffb/ffb_lines.c
rivers/dri/ffb/ffb_lines.h
rivers/dri/ffb/ffb_linetmp.h
rivers/dri/ffb/ffb_lock.h
rivers/dri/ffb/ffb_points.c
rivers/dri/ffb/ffb_points.h
rivers/dri/ffb/ffb_pointtmp.h
rivers/dri/ffb/ffb_rendertmp.h
rivers/dri/ffb/ffb_span.c
rivers/dri/ffb/ffb_span.h
rivers/dri/ffb/ffb_state.c
rivers/dri/ffb/ffb_state.h
rivers/dri/ffb/ffb_stencil.c
rivers/dri/ffb/ffb_stencil.h
rivers/dri/ffb/ffb_tex.c
rivers/dri/ffb/ffb_tex.h
rivers/dri/ffb/ffb_tris.c
rivers/dri/ffb/ffb_tris.h
rivers/dri/ffb/ffb_tritmp.h
rivers/dri/ffb/ffb_vb.c
rivers/dri/ffb/ffb_vb.h
rivers/dri/ffb/ffb_vbtmp.h
rivers/dri/ffb/ffb_vtxfmt.c
rivers/dri/ffb/ffb_vtxfmt.h
rivers/dri/ffb/ffb_xmesa.c
rivers/dri/ffb/ffb_xmesa.h
|
15af25aca0ed6a2390fe9e0d91055cfc01134ce2 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
build fixes
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/tdfx/tdfx_dd.c
|
e05ab2795b7463a053562b233d75e62f4138e0d3 |
04-Dec-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add tdfx DRI driver
rivers/dri/tdfx/BUGS
rivers/dri/tdfx/Makefile.X11
rivers/dri/tdfx/X86/fx_3dnow_fastpath.S
rivers/dri/tdfx/X86/fx_3dnow_fasttmp.h
rivers/dri/tdfx/dri_glide.h
rivers/dri/tdfx/tdfx_context.c
rivers/dri/tdfx/tdfx_context.h
rivers/dri/tdfx/tdfx_dd.c
rivers/dri/tdfx/tdfx_dd.h
rivers/dri/tdfx/tdfx_glide.h
rivers/dri/tdfx/tdfx_lock.c
rivers/dri/tdfx/tdfx_lock.h
rivers/dri/tdfx/tdfx_pixels.c
rivers/dri/tdfx/tdfx_pixels.h
rivers/dri/tdfx/tdfx_render.c
rivers/dri/tdfx/tdfx_render.h
rivers/dri/tdfx/tdfx_screen.c
rivers/dri/tdfx/tdfx_screen.h
rivers/dri/tdfx/tdfx_span.c
rivers/dri/tdfx/tdfx_span.h
rivers/dri/tdfx/tdfx_state.c
rivers/dri/tdfx/tdfx_state.h
rivers/dri/tdfx/tdfx_tex.c
rivers/dri/tdfx/tdfx_tex.h
rivers/dri/tdfx/tdfx_texman.c
rivers/dri/tdfx/tdfx_texman.h
rivers/dri/tdfx/tdfx_texstate.c
rivers/dri/tdfx/tdfx_texstate.h
rivers/dri/tdfx/tdfx_tris.c
rivers/dri/tdfx/tdfx_tris.h
rivers/dri/tdfx/tdfx_vb.c
rivers/dri/tdfx/tdfx_vb.h
rivers/dri/tdfx/tdfx_vbtmp.h
|
b305028464f02947c0cce0476af0e35f4ed1fafa |
04-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
ain/convolve.c
ain/extensions.c
ain/teximage.c
ain/texstore.c
ain/texutil_tmp.h
wrast/s_drawpix.c
wrast/s_pointtemp.h
nl/t_pipeline.c
nl/t_vb_lighttmp.h
86/assyntax.h
86/mmx_blend.S
86/mmx_blendtmp.h
|
03e29a5f77c13b7b888bd8443cb2752850e47d6a |
04-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix some problems with glDrawElements and vertex buffer objects.
ain/api_validate.c
ain/varray.c
nl/t_array_api.c
|
6ff60049a4ab1abac46e5c8e317b0dd842e088c2 |
03-Dec-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Ensure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped.
nl/t_save_api.c
nl/t_save_playback.c
nl/t_vtx_api.c
|
ce0f8fef8672b509d4c8fe014ff4d8d679658fa7 |
02-Dec-2003 |
Karl Rasche <karlrasche@gmail.com> |
Remove things having to do with ARB_matrix_palette/ARB_vertex_blend
ain/arbparse.c
|
9a90cd40c6e510484e018afd087a4c239b616ee0 |
01-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix __sparc_v9__ test to exclude linux (bug 852204)
lapi/glapi.c
lapi/glsparcasm.py
parc/clip.S
parc/glapi_sparc.S
parc/norm.S
parc/sparc.c
parc/sparc_matrix.h
|
06cfb4456455afad149955dbaa853b9f4f18a066 |
01-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated list of files since merging vtx branch
akefile.OSMesa16
|
870a9acd0218f074515ede9211ed40481ca15899 |
30-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/texUnit->Enabled/enableBits/ (Karl Rasche)
ain/texstate.c
|
1df1547f9e76232459a471c30b37cc0eaeb783ab |
30-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Fixed compiler warnings Assign the correct thing to TexturesUsed[]
ain/arbparse.c
|
de0dd65aeec33284019a766ac113028cf9bffe5b |
29-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when possible (when pixel formats match and drawing to front buffer with no raster operations). Results in 10-100x speed-up when applicable.
rivers/x11/xm_dd.c
|
e90de7883a3bd9afd27ac83314f08cf9f03f60e3 |
29-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix generic/conventional vertex array glitches. Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and generic enable bits do not alias. In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc. In t_array_import.c give priority for generic arrays over conventional arrays on an individual basis, not all or none.
rray_cache/ac_import.c
ain/mtypes.h
nl/t_array_api.c
nl/t_array_import.c
|
afb6fe034c3df9377ca8c0393a60c7996af92faf |
28-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more tweaks to error checking and reporting
ain/occlude.c
|
deb4a63a867d58b400a2b8d45ea5db5a54d71fac |
28-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
if id==0 in glGetQueryObject, raise GL_INVALID_OPERATION
ain/occlude.c
|
c99e2dd1d38db25d393a33870778a8eeb1a23020 |
28-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an error test
ain/occlude.c
|
326bc7150d31e052f018bb40f23cf9f60cb9c35d |
28-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Save and restore front colors on backfacing triangles rather than trying to pull them again from the VB pointers. Avoids stride issues.
wrast_setup/ss_tritmp.h
|
854b4a3b5456e0a381df49de854fdb315899dfc2 |
26-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodate vtx-0-2-branch
akefile.DJ
akefile.mgw
akefile.wfx
rivers/glide/fxglidew.h
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
nl_dd/t_dd_rendertmp.h
86/3dnow_normal.S
86/gen_matypes.c
86/norm_args.h
86/sse_normal.S
|
0f3cd3f894612d156de454178effa4c732f96da7 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
current raster color index should be GLfloat
ain/feedback.c
ain/feedback.h
ain/get.c
ain/mtypes.h
ain/rastpos.c
wrast/s_bitmap.c
wrast/s_span.c
|
7939ed0e8e36ddea89cbc4076a05dd2502499a2a |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Otto Solares' patch to add radeon 9200
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_dri.c
|
8236a534b7c31b5d3b688323de05cfa5e446f70d |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix assorted g++ warnings
ain/program.c
ain/program.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vbtmp.h
nl/t_save_api.c
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vb_render.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
|
2c9f50dd4acc65ddfeb8e3fde98137711167e579 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts for g++
ain/api_validate.c
ain/dlist.c
ain/image.c
ain/rastpos.c
|
3bc7f3f864e76e20c644910620f22b23e03547dc |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a lot of warnings found with g++
ain/arbparse.c
|
97d8a35fa8bf906be5413dbde822e828f9075604 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a warning
rivers/x11/xm_api.c
|
47b0bc1a36f4a6c3af1c9c76ee96e97c29376d71 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove __FUNCTION__ hack
ain/glheader.h
|
4ccbe9e666b55b97e6482e0655277c33e434ff32 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a cast
ain/texobj.c
|
b65bc4f87b356cf6228151cd2f341432e80dc6b8 |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove unnecessary usage of __FUNCTION__. #define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
ain/api_noop.c
ain/context.h
ain/mtypes.h
nl/t_save_api.c
nl/t_save_playback.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
|
e749be22b03312c3927964c85d589868e3292977 |
25-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
- New version of the syntax rules from Michal Krol + Handles '1' as a float, just like '1.' + Remove switch collision between vp and fp #defines + result.color.xyz no longer requires result.color.primary.xyz
ain/arbparse.c
ain/arbparse_syn.h
|
9bc3753a513f2045f3613389c2ddb604df8693e7 |
25-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
added support for generic vertex attributes (ARB_vp) and their error checking
ain/arbparse.c
ain/config.h
|
18199d395465537e993edd27c5e29112cb82b9bc |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated after APIspec fixes
86/glapi_x86.S
|
2171fadc262e32c2c079dd977d4346264bdc0def |
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
oops, fix glitches in 1.5 functions
lapi/APIspec
lapi/glapitemp.h
|
e1a107c4e7eeae3bb070e7f1f842ea1590b34867 |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor cast fixes
nl/t_array_import.c
|
62b6eb320e210225931f88fe71ba97814e214d14 |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate the OpenGL 1.5 entrypoints
lapi/APIspec
lapi/glapitemp.h
lapi/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
b52559eb8c87b4910a27eb07ca5e776b03b33fbd |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
set the VB->FogCoordPtr with the other legacy pointers
nl/t_array_import.c
nl/t_save_playback.c
nl/t_vtx_exec.c
|
c515f90ec3adca875e93b4a705e14f4a0a1661b4 |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix YCBCR assertion and disable assertion in auto-mipmap code
ain/texstore.c
|
7f28ab7d243671b0ee17c18f3cb750f6eb3f8733 |
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
remove dead files
nl/t_eval_api.c
nl/t_eval_api.h
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_elt.c
nl/t_imm_eval.c
|
8a299e78882f10b1895ad1af7bbbf778d20b7e33 |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
whitespace and comment changes
ain/arbparse.c
ain/nvvertexec.c
|
7e86eb991b50e0f52e6a0404289ca73126da6414 |
24-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor error string improvement
ain/texobj.c
|
ae0eaf93e092ac8e8b1c98f3e986de96940663fa |
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge vtx-0-2-branch
akefile.X11
rray_cache/ac_context.c
lapi/gltable.py
lapi/glx86asm.py
ain/api_arrayelt.c
ain/api_eval.c
ain/api_loopback.c
ain/api_loopback.h
ain/api_noop.c
ain/api_noop.h
ain/context.c
ain/context.h
ain/dd.h
ain/dlist.c
ain/dlist.h
ain/get.c
ain/macros.h
ain/mtypes.h
ain/state.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
ath/m_vector.c
ath/m_vector.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_alloc.h
nl/t_imm_debug.c
nl/t_imm_debug.h
nl/t_imm_dlist.c
nl/t_imm_dlist.h
nl/t_imm_elt.h
nl/t_imm_eval.h
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_save_api.c
nl/t_save_api.h
nl/t_save_loopback.c
nl/t_save_playback.c
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_eval.c
nl/t_vtx_exec.c
nl/t_vtx_sse.c
nl/t_vtx_x86.c
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_dmatmp2.h
nl_dd/t_dd_tritmp.h
nl_dd/t_dd_vb.c
nl_dd/t_dd_vbtmp.h
86/assyntax.h
86/common_x86.c
86/gen_matypes.c
86/sse.c
|
57c9814b9e87924696df4c741861c29d4236d1eb |
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Import vtx-0-2-branch
rivers/dri/fb/Makefile.X11
rivers/dri/fb/fb_dri.c
rivers/dri/gamma/Makefile.X11
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_vb.c
rivers/dri/i810/Makefile.X11
rivers/dri/i810/i810context.c
rivers/dri/i810/i810render.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810vb.c
rivers/dri/i830/Makefile.X11
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_render.c
rivers/dri/i830/i830_vb.c
rivers/dri/mga/Makefile.X11
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgavb.c
rivers/dri/r128/Makefile.X11
rivers/dri/r128/r128_vb.c
rivers/dri/r200/Makefile.X11
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/radeon/Makefile.X11
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/sis/Makefile.X11
rivers/dri/sis/sis_vb.c
rivers/glide/fxdd.c
rivers/glide/fxvb.c
rivers/windows/gdi/wmesa.c
|
79e0dad79e24668fbb35aad970cb2b7b629a11fa |
23-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
- parse_alias() Was totally borked - forgot a ++ in texSrcBit switch - copy/paste error in arbfragparse.c
ain/arbfragparse.c
ain/arbparse.c
|
4eebfa14e72c7c1f2572dbbc3bc7e85cf71f5926 |
23-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
- Create a dummy program to keep from segfaulting when parsing fails - Change to grammar .emit to fix single LOCAL/ENV param usage
ain/arbfragparse.c
ain/arbparse.c
ain/arbparse_syn.h
ain/arbvertparse.c
|
4774cd9568b42e780f9694b7720dfdd8c9b23819 |
22-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass ctx to fetch_vector4_deriv()
wrast/s_nvfragprog.c
|
96ad2cde2c03bc0fe352b473e61f6e97a2baedbc |
22-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_point_sprite is not part of 1.5
ain/get.c
|
533733d1d497aa3f9b41884b52c6bc92807972fe |
22-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
updated core makefiles to include arbparse
akefile.DJ
akefile.mgw
akefile.wfx
|
a1769b0287ef77d003fa99fb30e1deb848f9d8ab |
21-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some bugs in computation of DDX, DDY commands
wrast/s_nvfragprog.c
|
b9c5672d223f02820c8b1e9a44cdd7dd639cfced |
21-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/byte/GLubyte/ and other minor clean-ups
ain/arbparse.c
|
6d66ba171ed03263a50a98f9822e31217a1fdced |
21-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
reformat comments for 80-column viewing
ain/arbparse.c
|
ba254c08c0fa896ac425961c7900b99775979e16 |
21-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a bunch of warnings
ain/arbfragparse.c
ain/arbparse.c
ain/arbvertparse.c
|
663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a |
21-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
more texture compression
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
ain/extensions.c
ain/mtypes.h
ain/texcompress.c
ain/texformat.c
ain/teximage.c
|
8b07e9d8a4342ec2a24fec37932398189ef80eb5 |
21-Nov-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . - Added arbparse.c to OpenVMS makefile - Added 2 type casts in a strcmp call to make my compiler happy. Modified Files: Mesa-newtree/src/mesa/main/arbparse.c Mesa-newtree/src/mesa/main/descrip.mms ----------------------------------------------------------------------
ain/arbparse.c
ain/descrip.mms
|
a6a4257f76abbdd1ced815f3262525ee8b067ab0 |
21-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Caught missing parse_color_type() [Jacob Jansen]
ain/arbparse.c
|
c07cd5b99f6b6487fa2279cbd230e81f6b717a40 |
20-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
small matters
rivers/glide/fxg.c
|
00ad4e109a101cff6169ea47b3e96699989cb435 |
19-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Initial checkin of new ARB frag/vertex program parser
akefile.X11
|
75b5cb43173cda966682c8c9b9353c48ab6ad285 |
19-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Initial checkin of new ARB_frag/vertex program parser
ain/arbparse.c
ain/arbparse.h
ain/arbparse_syn.h
wrast/s_nvfragprog.c
|
1c27a1e957546ed849b3fd0c35904e9680f113f8 |
19-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Initial checking of new ARB_frag/vertex program parser
ain/arbfragparse.c
ain/arbvertparse.c
ain/extensions.c
ain/mtypes.h
ain/nvvertexec.c
|
ef563d011b5a11dc5f7a0da6445e68f14cc33062 |
18-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
doc updates; GLUT timer additions; fixed compilation warnings
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxwgl.c
|
aa0d6dcd652ca3f6ece2e9314020283589d79a2a |
18-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added reference to original half/float conversion code
ain/imports.c
|
10b09212e8e3adc1751ae32bb632ad9bd8287c64 |
18-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing <type> error checking in read_index_pixels()
wrast/s_readpix.c
|
7eb3e9b9648938500c6172a88fb2998e6264467f |
18-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some groundwork for supporting GLhalf datatype.
ain/image.c
ain/imports.c
ain/imports.h
|
56fe4dc391b78c93c63c41052ec0a12f718c55da |
18-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix comments about Cr==V, Cb==U
ain/texformat_tmp.h
|
a4e65d69dc745a78fb3dbcbb0ee194e1b6877c5d |
17-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix texgen bug 597589
nl/t_vb_texgen.c
|
3a0e0b284fd74aa6cb7b380a59cf20e62f8f8ffd |
13-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
no-op glAccum in selection/feedback mode (per Mark Kilgard's updates to the 1.5 spec)
ain/accum.c
|
af6162e3406ec4e0c58e4c58d225e371c05d5008 |
13-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
vanilla extensions disabled
rivers/glide/fxdd.c
|
57857ca0925116d6d254fef7e705cfe0b650d77f |
12-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Ville Syrjala's logic op patch
ain/blend.c
ain/enable.c
ain/mtypes.h
wrast/s_blend.c
wrast/s_context.c
wrast/s_span.c
|
80ee4b1e9dbf62f9aa86c3b8531615d14f077dd9 |
12-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
dirty hack to advertise vanilla extension names
rivers/glide/fxdd.c
|
a2b9bad251b058f6255fa037b842c5465c0609a2 |
10-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Redo array element checking for vertex array buffers. Now, compute ctx->Array._MaxElement as the min of enabled array's max element. Test against ctx->Array._MaxElement in glDrawArrays/Elements. Note: testing in glArrayElement not done yet. Only do element checking if ctx->Const.CheckArrayBounds is set.
ain/api_validate.c
ain/context.c
ain/mtypes.h
ain/state.c
nl/t_imm_api.c
|
33267a41e014633b7b252b16473315387b728d62 |
07-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix comments
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
|
c5853c63d0b333b71fef0ae3b7ffa6434ce694cb |
07-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/xoffset/zoffset/ (Cedric Gautier)
ain/texstore.c
|
d96651bdc59b1ddd6909a70b803ad60f07654cb5 |
07-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
NCC fixes and some cosmetics
rivers/glide/fx.rc
rivers/glide/fxddtex.c
rivers/glide/fxopengl.def
rivers/glide/fxwgl.c
|
afa6e978b9c74bcd013571a53aca47cbb8ca7b10 |
05-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix AccessViolation bug (#835861)
rivers/windows/gdi/wmesa.c
|
0768744fde0b31b1a05f86bedb52ff0168d60608 |
03-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
small fixes wrt texture handling
rivers/glide/fxddtex.c
|
ef387549bda21c6338817c83ecfb248dc92cd001 |
03-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
small fixes wrt texture handling
rivers/glide/fxddtex.c
ain/texcompress.c
|
313e12e05843dadb12a3a53d2dd161478c9b3202 |
03-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
Voodoo2 happiness
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxsetup.c
|
7093114285bb315070af572ff4aecc204c400ef4 |
03-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
accomodate decorated names
akefile.wfx
|
f807a35cd24b22c625fb5ea2921c40db2e123809 |
31-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
removed detritus
rivers/glide/fxddtex.c
|
e81b180065f0a9f80c1310ac447509b1debc4559 |
30-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
bugfixes wrt texture compression
rivers/glide/fxddtex.c
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxvb.c
|
63a5ca08f3bdaee975c9b059caf15ffd3ddd8d38 |
29-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
changes to accomodate texture compression
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
|
40bd9d0b190e11d39350d1b08d2c2b28e3040bca |
29-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
texture compression
ain/dd.h
ain/texcompress.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
|
73d4f69283cba75e85f5058e646d5fd2092f2f66 |
27-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Pass $(MKLIB_OPTIONS) to mklib script to allow setting extra options.
akefile.X11
|
c0d83cd054bd6d90f0707812787bef1752863fa1 |
23-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
entrypoints... again
akefile.wfx
|
79fa6b98818bc0e6e1bfb221aeccbe3b08d7ae8a |
23-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
more MinGW fixes
akefile.mgw
lapi/glx86asm.py
86/glapi_x86.S
|
76692c5ce2a5fab129c91f870e9b9459edd9838e |
23-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint */GLvoid */
nl/t_array_api.c
|
3fe2af23ef323b9b25b54e171aa29c7004fe05fd |
23-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
added a few missing GLAPIENTRYs to make MinGW compile again
ain/lines.c
ain/program.c
|
c5b1e81de48de5d8830bf5d92ff767ad1985e46e |
23-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for bounds checking of vertex arrays and vertex buffer objects. Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
rray_cache/ac_context.c
ain/api_validate.c
ain/arbprogram.c
ain/get.c
ain/mtypes.h
ain/nvprogram.c
ain/varray.c
wrast_setup/ss_context.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_vb_light.c
|
15c37348a5d47ece17ffef38978aa8253363e6ee |
22-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
More SciTech SNAP updates. Some of these files didn't really change, but they show up in the list (GLU stuff) for some reason. The major change here is the addition of code in the glx86asm.py file to generate assembler stub entry points with the correct name decorations for _stdcall calling conventions so this can be used on Windows boxes.
lapi/glx86asm.py
wrast/s_context.c
wrast/s_context.h
86/glapi_x86.S
|
23f45833aa6c9b90f48ce5aa08dca6dadc49f62f |
22-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
cosmetics and memos
rivers/dos/dmesa.c
rivers/glide/fxsetup.h
|
e87d106d66619791c54c71908c957af1d869c6fc |
22-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
small fixes to accomodate Intel compiler/linker
akefile.wfx
|
758cbc68de49ee7735611c1d50fc678698849731 |
22-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed a typo (array size)
ain/arbvertparse.c
|
c329e5a3d81a56437de4e19fec1de3eca2a1afb7 |
22-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Updates to SSE assembler support for Open Watcom
wrast/s_context.c
86/common_x86.c
86/sse.c
|
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c |
22-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Added GLAPIENTRY decorations for all first level OpenGL API function entry points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
lapi/glapitable.h
lapi/gltable.py
ain/accum.c
ain/accum.h
ain/api_loopback.c
ain/arbprogram.c
ain/arbprogram.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/bufferobj.c
ain/bufferobj.h
ain/buffers.c
ain/buffers.h
ain/clip.c
ain/clip.h
ain/colortab.c
ain/colortab.h
ain/context.c
ain/context.h
ain/convolve.c
ain/convolve.h
ain/dd.h
ain/depth.c
ain/depth.h
ain/dispatch.c
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.c
ain/enable.h
ain/eval.c
ain/eval.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/hint.c
ain/hint.h
ain/histogram.c
ain/histogram.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/nvprogram.c
ain/nvprogram.h
ain/occlude.c
ain/occlude.h
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/program.c
ain/program.h
ain/rastpos.c
ain/rastpos.h
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
ain/varray.c
ain/varray.h
ain/vtxfmt_tmp.h
nl/t_array_api.c
nl/t_array_api.h
nl/t_eval_api.c
nl/t_eval_api.h
nl/t_imm_api.c
nl/t_imm_api.h
|
b1ca87a565033a767042120288b2c45723cf79cc |
21-Oct-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
prevent from optimizing out by some compilers (from XFree86 CVS)
rivers/x11/xm_api.c
|
b4590f1c94872dd61a291b12ba0c609fbfafe711 |
21-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
wrap in #ifdef FX / #endif
rivers/glide/fxg.c
|
ce8e13dc794d86872f5448cba58e3aecd6146c49 |
21-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an error message
ain/bufferobj.c
|
1b6cca67b5f7c658b6a141e83bbb20ce45a3b85c |
21-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
documentation update; also new makefiles for Win32 MesaFX build
akefile.wfx
|
1d61db5f314e7b7e2f1ab4a5cb4452f6a458ed34 |
21-Oct-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . The latest version of the OpenVMS DECCRTL contains (v)snprintf If this one is beeing used the (v)snprintf routines are not compiled in from mesa's source. Modified Files: Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/main/imports.c ----------------------------------------------------------------------
ain/descrip.mms
ain/imports.c
|
6d4afe2a959f9ce7733ab50d032402c60610fbda |
21-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
fixed some NASM opcodes; added segment overrides and temporary labels
86/assyntax.h
|
f03cb2e4eea23fd82e9837e05f0ab3a83cb474c7 |
21-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
Napalm total immersion
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxsetup.h
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
|
3f60e4f21b9ff5bf3a83734d38ee90aff8a67fa0 |
21-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
cosmetics; translated asm routines for use with ASSYNTAX.H
rivers/dos/dmesa.c
rivers/dos/mga/m_ttemp.h
rivers/dos/mga/m_ttemp2.h
|
1aa28b3fe398f083f73d805a6eb004b3eed02aae |
21-Oct-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Clean out some unused files
rivers/dri/common/hwlog.c
rivers/dri/common/hwlog.h
rivers/dri/r200/r200_state.c~
|
bcc6eddd335e97d49ed2ef3a1440f94d58dce12d |
21-Oct-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Update DRI drivers to current DRI CVS and make them work.
rivers/dri/common/mm.c
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
rivers/dri/common/xmlconfig.c
rivers/dri/common/xmlconfig.h
rivers/dri/common/xmlpool.h
rivers/dri/mga/Makefile.X11
rivers/dri/mga/mga_texcombine.c
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgavb.c
rivers/dri/r128/Makefile.X11
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_vb.c
rivers/dri/r200/Makefile.X11
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_maos_vbtmp.h
rivers/dri/r200/r200_maos_verts.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_pixel.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/r200/r200_vtxfmt_x86.c
rivers/dri/r200/r200_vtxtmp_x86.S
rivers/dri/radeon/Makefile.X11
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.h
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/radeon/radeon_vtxfmt_x86.c
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_common.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/radeon/server/radeon_sarea.h
|
3e4a50f0d28f90791f1c2eec2ece660c53dd4845 |
20-Oct-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Fix Makefiles to copy lib to $(TOP)/lib if missing
rivers/dri/fb/Makefile.X11
rivers/dri/gamma/Makefile.X11
rivers/dri/i810/Makefile.X11
rivers/dri/i830/Makefile.X11
rivers/dri/mga/Makefile.X11
rivers/dri/r128/Makefile.X11
rivers/dri/r200/Makefile.X11
rivers/dri/radeon/Makefile.X11
rivers/dri/sis/Makefile.X11
|
0f85b91c8ace21c25329b455e041bb39218c812f |
19-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move initialization of default ctx->Driver.buffer-object-functions into bufferobj.c so all the drivers don't have to worry about them.
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/bufferobj.c
|
e8db87ee886f9ab1167c074027183c8606a52d28 |
16-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
ain/mesa.conf
|
3fc0db95e4b44fab108fd0495933f0d83c9b6336 |
16-Oct-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Minor changes to make linux-solo build again
akefile.X11
rivers/dri/gamma/Makefile.X11
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
|
f62b8985d6f1a73b46aa4ccdd7ed8289352d9bc6 |
15-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
protect whole file with #ifdef FX
rivers/glide/fxg.c
|
16927d02bcf99e12942c735d13fad73eaa082e88 |
15-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize GetBufferSubData pointer
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
|
49aefce5e593c3e522f3a155824548c060167e54 |
15-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweaks
ain/bufferobj.c
ain/bufferobj.h
|
9b77fb7dab3fd4e4a9228e5c0609cc494aa01211 |
15-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Updates to x86 assembler support for Open Watcom and SNAP
lapi/glx86asm.py
ain/dispatch.c
86/common_x86.c
|
0bb281ba2184313eb211a230dc99697d0c064268 |
14-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
bufObj->Access wasn't being set
ain/bufferobj.c
|
0219d1168e14efc3277822f64aa3d822b7bf5bba |
14-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
minor fixes + doc update
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
|
4b6f6e1b3d50a972fa82ea90e1409f28eda26550 |
14-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fix in buffer_object_get_target()
ain/bufferobj.c
|
fd83bc2b33f34195f05300eee6ebfe18570177a0 |
13-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
glide driver (wip)
akefile.X11
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxwgl.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
2655e68504786b62a8463d04eaa74a953e5d2871 |
11-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some sphere texgen bugs (reported by Daniel Borca)
nl/t_vb_texgen.c
|
4128d88b98e22676fa05ed586da1641c85a0bde2 |
11-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/
rivers/osmesa/osmesa.c
|
5dce1e5c420872ae096854841a9665f8d3d649fb |
11-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't request accum buffer in color index mode
rivers/osmesa/osmesa.c
|
dd29e04bd6097ad169bb841bd137ecabf3d7a3de |
11-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use color table's format to determine texture env functions
wrast/s_texture.c
|
e6804945b332c90c72dd919feff565e6151414cf |
10-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add switch defaults to silence warnings
ain/program.c
|
db40aec48c3db8164968df24184750a41be6e99f |
10-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove bogus _swrast_texture_table_lookup() call (Eric Plante)
wrast/s_context.c
|
78f8292a54b8518ee0db58dc2d6c35fe6775bec1 |
10-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
old/unused
ain/Makefile.OSMesa16
ain/Makefile.X11
|
1c4b7116c4841d08f24cb2853dae44a8051423fc |
10-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Eric Plante's updates for OSMesa16.
akefile.OSMesa16
|
d4155bd1dfb042e28574d15ff9bfbdb42de02b1d |
10-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Added missing #undef SPAN_VARS to swrast/s_spantemp.h
wrast/s_spantemp.h
|
1ffdad4939f7e52f27a131670a02749a3e251196 |
09-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
FEATURE_ARB_vertex_buffer_object
rivers/dos/dmesa.c
|
d9f1e453ea775f2394d6e9cf0d307ab4e5334fec |
09-Oct-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
Reorganized combiners. Added optimized span functions.
rivers/glide/fx.rc
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
|
bcb3957b6c22caf35d9b300440648c3e656e8b4c |
09-Oct-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Eric's mesa-depth32.diff
ain/depth.c
ain/mtypes.h
|
2cdd699a77f7801b1e37b72108a33fa95354e67a |
08-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
More SciTech SNAP specific changes to glheader.h. Also modified the macros in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
rivers/dri/fb/fb_dri.c
rivers/osmesa/osmesa.c
ain/glheader.h
ath/m_debug_util.h
wrast/s_spantemp.h
|
4e5b58f48382862922dbc387080bfb2378a43b47 |
07-Oct-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
index wasn't being calculated correctly (result was being discarded) in light_ci()
nl/t_vb_lighttmp.h
|
a4fc8035f154c4c24b263f629308a0a659ce4563 |
06-Oct-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
VertexAttrib4fv wasn't being installed (4f was).
ain/vtxfmt.c
|
3e291c01ea426247326e83bfd46a22d417e1fca7 |
06-Oct-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo
ain/vtxfmt_tmp.h
|
5fd77da4f691ee7ace6dfa9d2ff49535899f895d |
03-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved 'clean' targets (Otto Solares)
akefile.X11
rivers/dri/r200/Makefile.X11
|
7d8eb0604ab8b59bea5977741729e719f7327363 |
03-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Removed bogus OS/2 floating point->integer conversion routine
ain/imports.h
|
d7fe183f76c4e96d5c264c84b7dfc1665b69038b |
03-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Fixed incorrect Watcom assembler macros
ain/imports.h
|
adbbea9b5123b7866cf5b31a6011b428b5ccc079 |
03-Oct-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Fixed bugs in Mesa software span rendering for color index modes
ain/glheader.h
wrast/s_spantemp.h
|
a75246f8f5fa951d62b6b40db5bf47517b50d459 |
02-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Daniel Borca
akefile.DJ
akefile.mgw
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxg.c
rivers/glide/fxg.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxopengl.def
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
86/assyntax.h
|
d6643331ab1a2215338be19177296d255170c798 |
30-Sep-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Updates required for building the SciTech SNAP version of Mesa. This includes: 1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__ is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper that defines a bunch of necessary stuff and then included GL/gl_mesa.h which is the normal Mesa GL/gl.h header file renamed. 2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header files. This will better support other compilers like IBM VisualAge C++. I added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so existing code will compile the same, but when the SNAP version is being built we will use the correc definitions for the target compiler. 3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom compiler complaints. 4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for now). Probably not necessary, but the original macro was wrong and we use that macro in our code. 5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when using a compiler that has a case insensitive link.
ain/glheader.h
ain/texstore.h
ain/version.h
nl/t_eval_api.c
nl/t_imm_api.c
nl/t_imm_api.h
|
7214e1a1c45ea444777816d4241e09dcd91125a6 |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
char -> GLubyte
rivers/dri/gamma/gamma_vb.c
|
e508f7f08e6fa4292136a377150fc058c041fbc0 |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add gamma driver - no kernel driver yet (build tested, not physically tested)
rivers/dri/gamma/gamma_client.h
rivers/dri/gamma/gamma_context.c
rivers/dri/gamma/gamma_context.h
rivers/dri/gamma/gamma_dd.c
rivers/dri/gamma/gamma_inithw.c
rivers/dri/gamma/gamma_lock.c
rivers/dri/gamma/gamma_lock.h
rivers/dri/gamma/gamma_macros.h
rivers/dri/gamma/gamma_regs.h
rivers/dri/gamma/gamma_render.c
rivers/dri/gamma/gamma_screen.c
rivers/dri/gamma/gamma_screen.h
rivers/dri/gamma/gamma_span.c
rivers/dri/gamma/gamma_state.c
rivers/dri/gamma/gamma_tex.c
rivers/dri/gamma/gamma_texmem.c
rivers/dri/gamma/gamma_texstate.c
rivers/dri/gamma/gamma_tris.c
rivers/dri/gamma/gamma_tris.h
rivers/dri/gamma/gamma_tritmp.h
rivers/dri/gamma/gamma_vb.c
rivers/dri/gamma/gamma_vb.h
rivers/dri/gamma/gamma_xmesa.c
rivers/dri/gamma/server/glint_common.h
rivers/dri/gamma/server/glint_dri.h
rivers/dri/i810/i810screen.c
rivers/dri/i830/i830_screen.c
|
0f2e1869263ef04b3bc47d9817278a555201bda8 |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add the SiS driver - no kernel driver yet (build tested, but not physically tested)
rivers/dri/sis/Makefile.X11
rivers/dri/sis/server/sis_common.h
rivers/dri/sis/server/sis_dri.h
rivers/dri/sis/sis_alloc.c
rivers/dri/sis/sis_alloc.h
rivers/dri/sis/sis_clear.c
rivers/dri/sis/sis_common2.h
rivers/dri/sis/sis_context.c
rivers/dri/sis/sis_context.h
rivers/dri/sis/sis_dd.c
rivers/dri/sis/sis_dd.h
rivers/dri/sis/sis_debug.c
rivers/dri/sis/sis_debug.h
rivers/dri/sis/sis_fog.c
rivers/dri/sis/sis_lock.c
rivers/dri/sis/sis_lock.h
rivers/dri/sis/sis_reg.h
rivers/dri/sis/sis_screen.c
rivers/dri/sis/sis_screen.h
rivers/dri/sis/sis_span.c
rivers/dri/sis/sis_span.h
rivers/dri/sis/sis_state.c
rivers/dri/sis/sis_state.h
rivers/dri/sis/sis_stencil.c
rivers/dri/sis/sis_stencil.h
rivers/dri/sis/sis_tex.c
rivers/dri/sis/sis_tex.h
rivers/dri/sis/sis_texstate.c
rivers/dri/sis/sis_tris.c
rivers/dri/sis/sis_tris.h
rivers/dri/sis/sis_tritmp.h
rivers/dri/sis/sis_vb.c
rivers/dri/sis/sis_vb.h
|
525dda4f2689469bd3179eb0ee21fd7e04413a1c |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix cut & paste errors
rivers/dri/i830/Makefile.X11
|
6bec5b30e1144fb530971b34087e86afd7162441 |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add the i830 driver - no kernel driver yet (build tested, but not physically tested)
rivers/dri/i830/Makefile.X11
rivers/dri/i830/i830_3d_reg.h
rivers/dri/i830/i830_context.c
rivers/dri/i830/i830_context.h
rivers/dri/i830/i830_debug.c
rivers/dri/i830/i830_debug.h
rivers/dri/i830/i830_ioctl.c
rivers/dri/i830/i830_ioctl.h
rivers/dri/i830/i830_render.c
rivers/dri/i830/i830_screen.c
rivers/dri/i830/i830_screen.h
rivers/dri/i830/i830_span.c
rivers/dri/i830/i830_span.h
rivers/dri/i830/i830_state.c
rivers/dri/i830/i830_state.h
rivers/dri/i830/i830_tex.c
rivers/dri/i830/i830_tex.h
rivers/dri/i830/i830_texmem.c
rivers/dri/i830/i830_texstate.c
rivers/dri/i830/i830_tris.c
rivers/dri/i830/i830_tris.h
rivers/dri/i830/i830_vb.c
rivers/dri/i830/i830_vb.h
rivers/dri/i830/server/i830_common.h
rivers/dri/i830/server/i830_dri.h
|
73b0420bba16b5dcfbb75b32bc519295f925041a |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
add the i810 driver - no kernel driver yet (build tested, but not physically tested)
rivers/dri/i810/Makefile.X11
rivers/dri/i810/i810_3d_reg.h
rivers/dri/i810/i810context.c
rivers/dri/i810/i810context.h
rivers/dri/i810/i810ioctl.c
rivers/dri/i810/i810ioctl.h
rivers/dri/i810/i810render.c
rivers/dri/i810/i810screen.c
rivers/dri/i810/i810screen.h
rivers/dri/i810/i810span.c
rivers/dri/i810/i810span.h
rivers/dri/i810/i810state.c
rivers/dri/i810/i810state.h
rivers/dri/i810/i810tex.c
rivers/dri/i810/i810tex.h
rivers/dri/i810/i810texmem.c
rivers/dri/i810/i810texstate.c
rivers/dri/i810/i810tris.c
rivers/dri/i810/i810tris.h
rivers/dri/i810/i810vb.c
rivers/dri/i810/i810vb.h
rivers/dri/i810/server/i810_common.h
rivers/dri/i810/server/i810_dri.h
rivers/dri/i810/server/i810_reg.h
|
5b5142b54376493081835cb2b4836b81a652cb36 |
30-Sep-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
mkdir the server directory, as using cvs with -P would prune an empty directory
rivers/dri/r200/Makefile.X11
|
8f7141e97041a88d3f00ea60fb2aa05b38777642 |
23-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
akefile.X11
|
d01681d6c9dbbc42d74b35ce96b3723ffdb944cd |
23-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove a _TriangleCaps reference
rivers/glide/fxtris.c
|
d11bb2b297a69878a50bf135e9d1f96ce6d3d65d |
23-Sep-2003 |
Karl Rasche <karlrasche@gmail.com> |
Add extra cases and enums for _mesa_fetch_state(), and set the length of program_parameter.StateIndexes[] to 6, used for fetching matrix state
ain/program.c
ain/program.h
|
9d553944711c7dcd1027c1505d6e41f74ceb5ff0 |
22-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
apply patch #740145 from SourceForge
rivers/ggi/default/linear.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/debug.h
|
a13fb034cb50007051ba38b59ee9d59bead3f4ba |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts
ain/varray.c
|
e4fcea2e06571b71a85b4f100c95d866a82f7c19 |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Assorted casts to silence g++ warnings.
rray_cache/ac_context.c
lapi/glapi.c
ain/arbprogram.c
ain/bufferobj.c
ain/dlist.c
ain/extensions.c
ain/program.c
wrast/s_aatriangle.c
wrast/s_nvfragprog.c
wrast_setup/ss_vb.c
nl/t_imm_alloc.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_fixup.c
nl/t_vb_light.c
|
74c33393b4ebcc1616c0d8f1b6f43d658aed3f22 |
19-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add include for context.h to define NEED_SECONDARY_COLOR.
wrast/s_aatriangle.c
|
ff750fe8cb0085cb043b90f5c335a9c88d9b6ad8 |
19-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Make binary - even though this is a text file, common practice is to store MS studio files as binary
ath/math.dsp
wrast/swrast.dsp
wrast_setup/swrast_setup.dsp
nl/tnl.dsp
|
b263802bcfbf7207a96cd9df411ab87d991364e5 |
19-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Make binary - even though this is a text file, common practice is to store MS studio files as binary
rray_cache/array_cache.dsp
rivers/osmesa/osmesa.dsp
rivers/windows/gdi/gdi.dsp
lapi/glapi.dsp
ain/main.dsp
|
98cdf71f5a4776b673e90da32a18ac419d01baeb |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few less occurances of _TriangleCaps
rivers/glide/fxvb.c
|
29b4076f9acff96a867760fc885f5eaeb7586977 |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move away from using the ctx->_TriangleCaps bitfield. New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
ain/context.h
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_lines.c
wrast_setup/ss_triangle.c
wrast_setup/ss_vb.c
nl/t_vb_render.c
|
1a8ebb8c2f939609004a13b75d2b85236e709716 |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak an error message
ain/imports.c
|
87f858dd7cbca2280c983c77a239013a187c3e9a |
19-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_backface_sign/_BackfaceSign/
rivers/dos/dmesa.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_triangle.c
wrast/s_tritemp.h
|
315e78b0b5cd51c3838618d1b76dab03d6de2b7b |
18-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Update with current set of gl* entry points.
rivers/windows/gdi/mesa.def
|
2c5f5dc7fe3f69eac75b6a31a91e3294de26a760 |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move macros from header to C file. Updated some comments
ain/dlist.c
ain/dlist.h
|
06588db3fa2c8292db57b3537bb3ad8811d82f46 |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move context ASSERT/FLUSH macros to context.h
ain/context.h
ain/mtypes.h
|
3173277e20d7a2ed640298aa4f536f3903a0ef8b |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove MESA_TRACE stuff
ain/context.c
ain/mtypes.h
|
8512074b90ce965166b8a82f0bba7d98a2c4a6e5 |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
version tweaks
ain/get.c
ain/version.h
|
bd3096edc30530a2b77770b773d725081c4d804f |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused NoRaster and Rendering fields from GLcontext
ain/debug.c
ain/mtypes.h
|
99823b37443044fd0d96e75d52c747f0c77d1730 |
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove FLT_MIN definition to imports.h Assorted code clean-ups in light.c
ain/imports.h
ain/light.c
|
0c415bca5c718468449535f075652ce86aa8461f |
18-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Copy the DLL files to the lib directory instead of libexec.
rivers/osmesa/osmesa.dsp
rivers/windows/gdi/gdi.dsp
|
4ba2986c06651daf558f9ad18a3af28555fdab5e |
18-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add symbols to export private entry points to osmesa.
rivers/windows/gdi/mesa.def
|
a01566e46811cf976996a763d2a2c4ef612e0ff6 |
18-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to prevent double->float conversion compiler warnings.
wrast/s_nvfragprog.c
|
df8d337eec9b9f6f1d6ed0b4a7044b4f4420c52b |
18-Sep-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to prevent signed/unsigned compare compiler warnings.
ain/bufferobj.c
ain/program.c
|
bbd9a0c2b4d314059e7212f973034fcc774093e0 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused Target field from gl_buffer_object
ain/mtypes.h
|
66e6e3e8e114e5dde95640d0f532129aebf3be1b |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed/added some error checks. Allow one buffer to be bound to multiple targets. Rebind buffer 0 when deleting currently bound buffer.
ain/bufferobj.c
|
ea7bf8b130604bcf5bcc455d510515fd3a6b30fb |
17-Sep-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Add cast to remove compiler warning
nl_dd/t_dd_tritmp.h
|
6296276ebe2b30080af0eb8503b15f5b379c9b87 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
unbind vertex arrays from buffer in DeleteBuffersARB()
ain/bufferobj.c
|
d2afb39d1997e9f2e3c64fc9fa49393e2839d8a1 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement GL_ELEMENT_ARRAY_BUFFER_ARB for buffer objects.
ain/varray.c
nl/t_array_api.c
nl/t_array_import.c
|
1a5709dc5bb5dcb0dbb1b0e6c7b058c7a3039f16 |
17-Sep-2003 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Change the hyperlinks names in the main page to match the Doxygen generated ones.
ain/context.c
|
57d882b6847128fe5f72575f61a2b2dace7ac46c |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_vertex_buffer_object working now, at least for non-indexed vertex arrays.
rray_cache/ac_context.c
rray_cache/ac_import.c
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/api_arrayelt.c
ain/imports.h
ain/mtypes.h
nl/t_array_import.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
|
5543901b96660b467549b09265bd9ff35aff4af5 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new casts
nl/t_imm_eval.c
nl/t_imm_fixup.c
|
84351999ec6ad07e0cfc31c0b3a8c86da4134bfe |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added call to _mesa_enable_1_5_extensions()
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
|
148a2847a105ce9d9189ad3081091de60f803a33 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
More work on ARB_vertex_buffer_object. Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
rray_cache/ac_context.c
rray_cache/ac_import.c
ain/arbprogram.c
ain/bufferobj.c
ain/bufferobj.h
ain/context.c
ain/get.c
ain/mtypes.h
ain/nvprogram.c
ain/varray.c
nl/t_imm_exec.c
nl/t_vb_program.c
|
4561f8418331f74cabf29649e9a4df7e92504a90 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed a comment
wrast/swrast.h
|
278ce9917189da468521c4e7b4e6869b930a062d |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move a comment
wrast/s_context.h
|
b04633d7270aa326519cd1ce14581df681d708db |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move some functions, add some comments
ain/dd.h
|
458c900d3b6fcf9a939884f843e1cadd5be1ed22 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
set ARB_vertex_buffer_object in _mesa_enable_sw_extensions()
ain/extensions.c
|
978646d86fd19c0f564b01a469ffe0432fc5ab98 |
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix up FEATURE_* defines
ain/config.h
|
1d57658ee545f6ad01c378dea46058e5513f629c |
15-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor simplification
ain/get.c
|
aa00d122b81a118eca3b43c66f17d988b1aa62d3 |
15-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some work on ARB_vertex_buffer_object. Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
ain/arbprogram.c
ain/bufferobj.c
ain/config.h
ain/get.c
ain/mtypes.h
ain/nvprogram.c
|
b29b8ca47d322f1f93f5321be7529cf0c440c695 |
13-Sep-2003 |
Kendall Bennett <KendallB@scitechsoft.com> |
Updates to fix problems building with the Open Watcom compiler.
ain/dlist.c
ain/glheader.h
ain/imports.h
ain/vtxfmt_tmp.h
|
973da83f6237b5af4a9ee77f32fdfa5c04ecabc8 |
12-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow glTexImage1/2/3D to specify width/height/depth = 0. This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs.
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
|
5c480a4887aaca56bd70bde91bddbc13f71e721e |
09-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
display list support for ARB_vertex/fragment_program
ain/dlist.c
|
90f673e3ecdf5546b13ab8b549bb1b7023669107 |
09-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in vertex buffer object functions
ain/dlist.c
|
c7b872a2774e14d06b7e041d444c9e6e922ce5f5 |
09-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added prototypes for internal functions to bufferobj.h. Minor code clean-ups.
ain/bufferobj.c
ain/bufferobj.h
|
0207b47aafebc06cf83fbdb8c9b01f63374fac66 |
09-Sep-2003 |
Ian Romanick <idr@us.ibm.com> |
Added most of the infrastructure required to support ARB_vertex_buffer_object. THIS IS INCOMPLETE.
ain/bufferobj.c
ain/context.c
ain/dd.h
ain/mtypes.h
|
054fedb4558788bf9e40936faddad2cb75009998 |
05-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo
ain/program.c
|
94f944762d5ea51a1a573184ec2583c75b84b121 |
05-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move GL_MESA_program_debug code into program.c
ain/arbprogram.c
ain/arbprogram.h
ain/program.c
ain/program.h
|
054b5aef924a04bffd16c7f6422319eb0e6f6c16 |
05-Sep-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Added missing include files. Modified Files: Mesa-newtree/progs/demos/isosurf.c Mesa-newtree/src/mesa/main/nvvertexec.c ----------------------------------------------------------------------
ain/nvvertexec.c
|
d402cb97bd241d8bb762ace76967eb084f2021a6 |
05-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement SWZ and TXB. some code clean-up
wrast/s_nvfragprog.c
|
0d08399d8df6d7c52b1d85b0b54ec8d4c4fa6a28 |
05-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move SWIZZLE_ZERO/ONE tokens to program.h
ain/nvvertprog.h
ain/program.h
|
9c9c2cd7255a50559c97c512416c2be17b869a03 |
04-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added new opcodes for ARB_fragment_program, like ABS, CMP, TXB, etc.
ain/nvfragprog.h
wrast/s_nvfragprog.c
|
feb9e4c4324c494a79dbad8e43c15d0c9c4c3a4b |
03-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
ARB_point_sprite is not part of OpenGL 1.5
ain/extensions.c
|
c8363a31cfcd8e3c60387df31525158847ab1457 |
02-Sep-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for EXT_texture_mirror_clamp and the single wrap mode that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
08dbe5664dac538c7c9fa2b2c287f5874dc66d4d |
02-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing glNormal, glVertex calls (Michal Wozniak)
ain/api_eval.c
|
0d4da529bd2012469ea620cb13f0ab18b3f99bbe |
02-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix fog.End error
ain/program.c
|
2b7a01a39ba5257407dddde38ef049856c34aa01 |
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
always assign texcoord[i][3] to silence valgrind
wrast/s_span.c
|
7961e67c2ae75f6cd32d7ac7cbe9f887da10c865 |
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
update parameter indexing
wrast/s_nvfragprog.c
|
1c5ff572aaaf533377f91dbd4bcd4411d855fabc |
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added program.c plus minor fixes
akefile.DJ
akefile.X11
|
bd7a3de4b35f8bb1a1ea033ba2893315a4efcc29 |
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added minor assertion
ain/drawpix.c
|
04a81da03bef5020d863e46aa597eddf7aaac016 |
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved some shared vertex/fragment program code into new program.c file. Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state.
ain/Makefile.X11
ain/arbfragparse.h
ain/arbprogram.c
ain/arbprogram.h
ain/context.c
ain/descrip.mms
ain/dlist.c
ain/main.dsp
ain/mtypes.h
ain/nvfragparse.c
ain/nvfragprog.h
ain/nvprogram.c
ain/nvprogram.h
ain/nvvertparse.c
ain/nvvertprog.h
ain/program.c
ain/program.h
ain/state.c
|
e38a55ecb27562a52d48bf1d673803a10d8a5bce |
30-Aug-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Generate browse info for Debug version.
rray_cache/array_cache.dsp
rivers/osmesa/osmesa.dsp
rivers/windows/gdi/gdi.dsp
lapi/glapi.dsp
ain/main.dsp
ath/math.dsp
wrast/swrast.dsp
wrast_setup/swrast_setup.dsp
nl/tnl.dsp
|
dc24230de7f913969b52dee3579bb8fa3d50a8c0 |
30-Aug-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
ain/api_loopback.c
ain/arbprogram.c
ain/arbvertparse.c
ain/depth.c
ain/dlist.c
ain/imports.c
ain/macros.h
ain/matrix.c
ain/nvfragparse.c
ain/nvprogram.c
ain/nvvertexec.c
ain/occlude.c
ain/rastpos.c
ath/m_norm_tmp.h
wrast/s_lines.c
wrast/s_nvfragprog.c
wrast/s_tritemp.h
|
d12a871b21adee531661f4cf6561d2ffda685359 |
29-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/GLuint/GLint/
wrast/s_texture.c
|
e39a334f1aadefdea619d14adb589a5d641bf3c1 |
29-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix minor warnings with casts
ain/nvfragparse.c
ain/nvvertparse.c
|
c769a7febf03e449724dfb92ecd390edd2d3e918 |
29-Aug-2003 |
Karl Schultz <kschultz@freedesktop.org> |
add arbfragparse.c to project.
ain/main.dsp
|
f5515cb4af6a4d745e4764d4ca1ed2eb30932319 |
29-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move clamping of texture LOD bias to texture application time.
ain/texstate.c
wrast/s_texture.c
|
760960028f189e3afcbfef1f877dbd5b86fd1ae4 |
28-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates from Daniel Borca
akefile.DJ
rivers/dos/dmesa.c
rivers/dos/video.c
|
781fb93877ea3a6faeefcdb48d9b463da7d954a3 |
28-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OpenGL 1.4's per-texture LOD bias.
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/texobj.c
ain/texstate.c
wrast/s_texture.c
|
a6ed6f48e6bf4ca5427d921cac863cf3b42f7efc |
27-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
make _glapi_get_proc_address() return NULL if function doesn't start with gl prefix
lapi/glapi.c
|
d49acd629b67ad0a59038f47aab7be578a62db72 |
27-Aug-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Added a type cast to silence the OpenVMS DECC compiler Modified Files: Mesa-newtree/src/mesa/swrast/s_nvfragprog.c ----------------------------------------------------------------------
wrast/s_nvfragprog.c
|
f9dbd07e148fe2044b331d6b4cfbf90381878cd5 |
24-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
regenerated for GL_IBM_multimode_draw_arrays
parc/glapi_sparc.S
86/glapi_x86.S
|
dc22a652c98187b68114c03f7fd7a0facdef1a4b |
24-Aug-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Fix compile problems with `glMultiModeDrawArraysIBM' Adjust makefiles to create depends and not store it in CVS Remove dependency on kernel pci_ids.h
rivers/dri/mga/Makefile.X11
rivers/dri/r128/server/pci_ids.h
rivers/dri/r128/server/r128_dri.c
lapi/glapitemp.h
|
d620015abd42d166d4417344bc742e4d5954c496 |
23-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
indentation fix
wrast/s_drawpix.c
|
4be6c0f04b9ba81dba144b45f92ab807e141755f |
23-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work
wrast/s_drawpix.c
wrast/s_zoom.c
wrast/s_zoom.h
|
a3a10e6dfc4eadcb8a11b884decdeee607dcf535 |
23-Aug-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Add missing assembly file from radeon build
rivers/dri/radeon/radeon_vtxtmp_x86.S
|
e28a4c147c93fdd03b38de250c28c1cead5f711d |
23-Aug-2003 |
Jon Smirl <jonsmirl@gmail.com> |
Remove files not used in current MGA driver
rivers/dri/mga/mgabuffers.c
rivers/dri/mga/mgabuffers.h
rivers/dri/mga/mgatexcnv.c
|
1da1f1e4baf9899cf85e69ad133863bd7621d8bd |
23-Aug-2003 |
Jon Smirl <jonsmirl@gmail.com> |
update fb makefile for new directory structure, add depends
rivers/dri/fb/Makefile.X11
|
63736723678ef30e7f90835cfbd48c520e39bf11 |
23-Aug-2003 |
Ian Romanick <idr@us.ibm.com> |
Trivial changes to add support for GL_ARB_point_sprite, which is a subset of GL_NV_point_sprite (which was already supported).
ain/attrib.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/points.c
ain/texstate.c
wrast/s_points.c
wrast/s_pointtemp.h
|
3baefe663bb15b4fd60921155de38c12ec2758c4 |
23-Aug-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for GL_IBM_multimode_draw_arrays. Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/context.c
ain/dlist.c
ain/extensions.c
ain/mtypes.h
ain/state.c
ain/varray.c
ain/varray.h
parc/glapi_sparc.S
86/glapi_x86.S
|
5df82c82bd53db90eb72c5aad4dd20cf6f1116b1 |
22-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
patch to import Jon Smirl's work from Bitkeeper
akefile.X11
rivers/dri/mga/Doxyfile
rivers/dri/mga/Makefile.X11
rivers/dri/mga/mga_texstate.c
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/server/mga_common.h
rivers/dri/r128/Makefile.X11
rivers/dri/r128/r128_context.c
rivers/dri/r128/r128_context.h
rivers/dri/r128/r128_dd.c
rivers/dri/r128/r128_dd.h
rivers/dri/r128/r128_ioctl.c
rivers/dri/r128/r128_ioctl.h
rivers/dri/r128/r128_lock.c
rivers/dri/r128/r128_lock.h
rivers/dri/r128/r128_screen.c
rivers/dri/r128/r128_screen.h
rivers/dri/r128/r128_span.c
rivers/dri/r128/r128_span.h
rivers/dri/r128/r128_state.c
rivers/dri/r128/r128_state.h
rivers/dri/r128/r128_tex.c
rivers/dri/r128/r128_tex.h
rivers/dri/r128/r128_texmem.c
rivers/dri/r128/r128_texobj.h
rivers/dri/r128/r128_texstate.c
rivers/dri/r128/r128_tris.c
rivers/dri/r128/r128_tris.h
rivers/dri/r128/r128_vb.c
rivers/dri/r128/r128_vb.h
rivers/dri/r128/server/r128.h
rivers/dri/r128/server/r128_common.h
rivers/dri/r128/server/r128_dri.c
rivers/dri/r128/server/r128_dri.h
rivers/dri/r128/server/r128_macros.h
rivers/dri/r128/server/r128_reg.h
rivers/dri/r128/server/r128_sarea.h
rivers/dri/r128/server/r128_version.h
rivers/dri/r200/Makefile.X11
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_tcl.c
rivers/dri/radeon/Makefile.X11
rivers/dri/radeon/radeon_compat.c
rivers/dri/radeon/radeon_context.c
rivers/dri/radeon/radeon_context.h
rivers/dri/radeon/radeon_ioctl.c
rivers/dri/radeon/radeon_ioctl.h
rivers/dri/radeon/radeon_lighting.c
rivers/dri/radeon/radeon_lock.c
rivers/dri/radeon/radeon_lock.h
rivers/dri/radeon/radeon_maos.c
rivers/dri/radeon/radeon_maos.h
rivers/dri/radeon/radeon_maos_arrays.c
rivers/dri/radeon/radeon_maos_vbtmp.h
rivers/dri/radeon/radeon_maos_verts.c
rivers/dri/radeon/radeon_sanity.c
rivers/dri/radeon/radeon_sanity.h
rivers/dri/radeon/radeon_screen.c
rivers/dri/radeon/radeon_screen.h
rivers/dri/radeon/radeon_span.c
rivers/dri/radeon/radeon_span.h
rivers/dri/radeon/radeon_state.c
rivers/dri/radeon/radeon_state.h
rivers/dri/radeon/radeon_state_init.c
rivers/dri/radeon/radeon_subset.h
rivers/dri/radeon/radeon_subset_bitmap.c
rivers/dri/radeon/radeon_subset_readpix.c
rivers/dri/radeon/radeon_subset_select.c
rivers/dri/radeon/radeon_subset_tex.c
rivers/dri/radeon/radeon_subset_vtx.c
rivers/dri/radeon/radeon_swtcl.c
rivers/dri/radeon/radeon_swtcl.h
rivers/dri/radeon/radeon_tcl.c
rivers/dri/radeon/radeon_tcl.h
rivers/dri/radeon/radeon_tex.c
rivers/dri/radeon/radeon_tex.h
rivers/dri/radeon/radeon_texmem.c
rivers/dri/radeon/radeon_texstate.c
rivers/dri/radeon/radeon_vtxfmt.c
rivers/dri/radeon/radeon_vtxfmt.h
rivers/dri/radeon/radeon_vtxfmt_c.c
rivers/dri/radeon/radeon_vtxfmt_sse.c
rivers/dri/radeon/radeon_vtxfmt_x86.c
rivers/dri/radeon/server/radeon_common.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/radeon/server/radeon_sarea.h
nl_dd/imm/NOTES.imm
nl_dd/imm/t_dd_imm_capi.h
nl_dd/imm/t_dd_imm_napi.h
nl_dd/imm/t_dd_imm_primtmp.h
nl_dd/imm/t_dd_imm_tapi.h
nl_dd/imm/t_dd_imm_vapi.h
nl_dd/imm/t_dd_imm_vb.c
nl_dd/imm/t_dd_imm_vbtmp.h
nl_dd/t_dd.c
nl_dd/t_dd_dmatmp.h
nl_dd/t_dd_dmatmp2.h
nl_dd/t_dd_rendertmp.h
nl_dd/t_dd_triemit.h
nl_dd/t_dd_tritmp.h
nl_dd/t_dd_unfilled.h
nl_dd/t_dd_vb.c
nl_dd/t_dd_vbtmp.h
nl_dd/t_dd_vertex.h
|
4778beb76129fa68dd57b74ac2f25fd604465289 |
22-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Daniel Borca
akefile.DJ
akefile.mgw
rivers/dos/dmesa.c
|
12c037dbff3d5a812e31624645d577413cd54122 |
20-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Use correct conversions when translating array colors.
rray_cache/ac_import.c
ath/m_trans_tmp.h
ath/m_translate.c
ath/m_translate.h
nl/t_imm_elt.c
nl/t_vb_light.c
|
9ec58c2c5bbf90428a0e8e1c4f4af3805c602cd3 |
19-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS and glide driver updates from Daniel Borca
akefile.DJ
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxopengl.def
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
|
9d73b81068182b72e332b762786d3e89f8dcac71 |
19-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix glPixelMap: s/GLint/GLsizei/
ain/pixel.c
ain/pixel.h
|
d4576154e60d1cc574de15e76fea8fd26c45e230 |
19-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
glPixelMap[f/ui/us]v()'s size parameter is GLsizei, not GLint.
lapi/APIspec
lapi/glapitable.h
lapi/glapitemp.h
|
bb9387013343261d6a6c58e6a73d6204c6469de6 |
19-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplify some python code
lapi/apiparser.py
|
8a033fa13514e3b78612ba1678182c9ea8290cd4 |
18-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor code improvement in glGenTextures
ain/texobj.c
|
01bb309cce71fde03945f3d9ded7855f71674224 |
17-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
register file changes
ain/nvprogram.c
|
f2dd273322cc9ec0cfe80a609f9a1e5db5931e2e |
17-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org of register files for vertex/fragment programs. Will be easier to hook in global state references, etc. for ARB programs.
ain/arbprogram.c
ain/arbvertparse.h
ain/context.c
ain/macros.h
ain/mtypes.h
ain/nvfragparse.c
ain/nvfragprog.h
ain/nvvertexec.c
ain/nvvertexec.h
ain/nvvertparse.c
ain/nvvertprog.h
wrast/s_nvfragprog.c
nl/t_vb_program.c
|
3bbe68510f70c0ad140608a3353792280c16483a |
11-Aug-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefile due to new source files. Modified Files: Mesa-newtree/src/mesa/main/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
e17c1abd672f6baf4c87f3c014d3182ddfc86c0a |
06-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added arbfrag/vertparse
akefile.X11
|
b5a41d6050a06204f5450f63a98862e70585b7f9 |
06-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
prep for OpenGL 1.5
ain/extensions.c
ain/get.c
|
2c50b922d615b5f3c6f4cb2e399e1bd6fec1e278 |
06-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a bunch of warnings
ain/arbvertparse.c
|
49555d14a89f4e240825682eabbb0d422d7e5a04 |
06-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove temporary prototypes
ain/arbprogram.c
|
8f44286b291ad5f1ec918018b8d4a0398bf7ffd8 |
06-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
placeholder files
ain/arbfragparse.c
ain/arbfragparse.h
|
93a458840c77b784fb74738f734ba2c5d22ca7a7 |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Shared dri driver resources
rivers/dri/common/depthtmp.h
rivers/dri/common/hwlog.c
rivers/dri/common/hwlog.h
rivers/dri/common/mm.c
rivers/dri/common/mm.h
rivers/dri/common/mmx.h
rivers/dri/common/spantmp.h
rivers/dri/common/stenciltmp.h
rivers/dri/common/texmem.c
rivers/dri/common/texmem.h
rivers/dri/common/utils.c
rivers/dri/common/utils.h
rivers/dri/common/vblank.c
rivers/dri/common/vblank.h
|
b32a036059932fa5000e63a2ecb6d90d98864eb5 |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Not-quite-functional swrast-only dri driver
rivers/dri/fb/Doxyfile
rivers/dri/fb/Makefile.X11
rivers/dri/fb/fb_dri.c
|
b93652d67ed976562edc121b319b0594f79cc00a |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Shared radeon/r200 init code
rivers/dri/radeon/server/radeon.h
rivers/dri/radeon/server/radeon_common.h
rivers/dri/radeon/server/radeon_dri.c
rivers/dri/radeon/server/radeon_dri.h
rivers/dri/radeon/server/radeon_macros.h
rivers/dri/radeon/server/radeon_reg.h
rivers/dri/radeon/server/radeon_sarea.h
|
848ff108a06c1a8171bab879669c08c9274908f5 |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
mga driver, brought over by Jon Smirl
rivers/dri/mga/Makefile.X11
rivers/dri/mga/README
rivers/dri/mga/mga_xmesa.c
rivers/dri/mga/mga_xmesa.h
rivers/dri/mga/mgabuffers.c
rivers/dri/mga/mgabuffers.h
rivers/dri/mga/mgacontext.h
rivers/dri/mga/mgadd.c
rivers/dri/mga/mgadd.h
rivers/dri/mga/mgaioctl.c
rivers/dri/mga/mgaioctl.h
rivers/dri/mga/mgapixel.c
rivers/dri/mga/mgapixel.h
rivers/dri/mga/mgaregs.h
rivers/dri/mga/mgarender.c
rivers/dri/mga/mgaspan.c
rivers/dri/mga/mgaspan.h
rivers/dri/mga/mgastate.c
rivers/dri/mga/mgastate.h
rivers/dri/mga/mgatex.c
rivers/dri/mga/mgatex.h
rivers/dri/mga/mgatexcnv.c
rivers/dri/mga/mgatexmem.c
rivers/dri/mga/mgatris.c
rivers/dri/mga/mgatris.h
rivers/dri/mga/mgavb.c
rivers/dri/mga/mgavb.h
rivers/dri/mga/server/mga.h
rivers/dri/mga/server/mga_bios.h
rivers/dri/mga/server/mga_common.h
rivers/dri/mga/server/mga_dri.c
rivers/dri/mga/server/mga_dri.h
rivers/dri/mga/server/mga_macros.h
rivers/dri/mga/server/mga_reg.h
rivers/dri/mga/server/mga_sarea.h
|
adbec39bbf671ad80f6c557801e274cac0d305fa |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
r200 driver, brought over by Jon Smirl
rivers/dri/r200/Doxyfile
rivers/dri/r200/Makefile.X11
rivers/dri/r200/r200_cmdbuf.c
rivers/dri/r200/r200_context.c
rivers/dri/r200/r200_context.h
rivers/dri/r200/r200_ioctl.c
rivers/dri/r200/r200_ioctl.h
rivers/dri/r200/r200_lock.c
rivers/dri/r200/r200_lock.h
rivers/dri/r200/r200_maos.c
rivers/dri/r200/r200_maos.h
rivers/dri/r200/r200_maos_arrays.c
rivers/dri/r200/r200_maos_vbtmp.h
rivers/dri/r200/r200_maos_verts.c
rivers/dri/r200/r200_pixel.c
rivers/dri/r200/r200_pixel.h
rivers/dri/r200/r200_reg.h
rivers/dri/r200/r200_sanity.c
rivers/dri/r200/r200_sanity.h
rivers/dri/r200/r200_screen.c
rivers/dri/r200/r200_screen.h
rivers/dri/r200/r200_span.c
rivers/dri/r200/r200_span.h
rivers/dri/r200/r200_state.c
rivers/dri/r200/r200_state.c~
rivers/dri/r200/r200_state.h
rivers/dri/r200/r200_state_init.c
rivers/dri/r200/r200_swtcl.c
rivers/dri/r200/r200_swtcl.h
rivers/dri/r200/r200_tcl.c
rivers/dri/r200/r200_tcl.h
rivers/dri/r200/r200_tex.c
rivers/dri/r200/r200_tex.h
rivers/dri/r200/r200_texmem.c
rivers/dri/r200/r200_texstate.c
rivers/dri/r200/r200_vtxfmt.c
rivers/dri/r200/r200_vtxfmt.h
rivers/dri/r200/r200_vtxfmt_c.c
rivers/dri/r200/r200_vtxfmt_sse.c
rivers/dri/r200/r200_vtxfmt_x86.c
rivers/dri/r200/r200_vtxtmp_x86.S
|
fb4d5492e01dffc83ce9129263409eebf4b220aa |
06-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Newer version of this file
nl/t_vtx_api.c
|
ff56908e09c0351179478deb19677cf56eec1f64 |
05-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Store material attributes in an Attrib[] style array. This is a first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
ain/api_noop.c
ain/attrib.c
ain/light.c
ain/light.h
ain/mtypes.h
ain/rastpos.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
|
e6dea091c0a1fe9ad9720c07ddf7164e5fc45ac6 |
05-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix samples/fog.c regression - missing test for NeedEyeCoords.
ain/light.c
|
304d11e0e152d48902becd73004c4e8768b78f3e |
05-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates from Daniel Borca.
akefile.mgw
rivers/windows/gdi/wgl.c
ain/glheader.h
|
288066985374bcad743c5923474257fb2c52a623 |
01-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo (& instead of &&) to fix olympic.c bug
nl/t_imm_exec.c
|
1a615070ed959359c949aecc3b52a199b999b2a5 |
31-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace assertion with conditional
ain/rastpos.c
|
f88d84625594cfb6fc7b77462417824cf33a8585 |
26-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Moved.
rivers/windows/core/core.dsp
rivers/windows/osmesa/osmesa.dsp
rivers/windows/swrast/swrast.dsp
rivers/windows/tnl/tnl.dsp
|
1b41c0d3d83b10ca1ae9762003da04e7b3c8ea3a |
26-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
VC 6 Project File
rray_cache/array_cache.dsp
rivers/osmesa/osmesa.dsp
lapi/glapi.dsp
ain/main.dsp
ath/math.dsp
wrast/swrast.dsp
wrast_setup/swrast_setup.dsp
nl/tnl.dsp
|
00d7f16dbd8c4dd1407fbc19001126164018e2a9 |
25-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
cleanup - add comments and sort names.
rivers/windows/gdi/mesa.def
|
a3286498e68c4fcff70aaba137d2b82372c639f5 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
add symbols needed by osmesa.
rivers/windows/gdi/mesa.def
|
bd36e5f17b5d074b0744b8bc92038e17523f889c |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Project file for osmesa
rivers/windows/osmesa/osmesa.dsp
|
4e245c334d1e5b6ff91d4f8bc51dd9c0f4d95cd2 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
moved to top of tree.
rivers/windows/Mesa.dsw
|
3a25e2350a110031c14921b04c49232d1d4512ff |
24-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
if texture color table is enabled, use the color table's format to evaluate the texture env function
wrast/s_texture.c
|
df03f8ed6d6ad7e35e1f17b8af2d91d694ece483 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
fix location of mesa.def
rivers/windows/gdi/gdi.dsp
|
adb5e0bb1d210fc61200e7dec2a5a077d8d9bddc |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
linker exports defs
rivers/windows/gdi/mesa.def
|
b6a74a4f6e17dc95c5b3fed73f77fb9b7d9ea806 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Source code for GDI driver.
rivers/windows/gdi/colors.h
rivers/windows/gdi/wgl.c
rivers/windows/gdi/wmesa.c
rivers/windows/gdi/wmesadef.h
|
fbd052efedfe1a405ece5edf0b35dce48fa82f27 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Project file to build gdi driver and OPENGL32.DLL.
rivers/windows/gdi/gdi.dsp
|
9baab01c1faa58195b5a7e298b232ad0ed81c90e |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Project file to build tnl - creates static LIB that is later linked to make a DLL.
rivers/windows/tnl/tnl.dsp
|
bff1bf9794388a8b72e64cca778673e43aeacf0b |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Project file to build swrast - creates static LIB that is later linked to make a DLL.
rivers/windows/swrast/swrast.dsp
|
b1bc0dc3f45e38cd7070edd18e9ea7a15847c88e |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Project file to build core mesa - creates static LIB that is later linked to make a DLL.
rivers/windows/core/core.dsp
|
341313b60169d8604fcd871b7d216b25a5e50bf1 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Visual Studio Workspace file for building Mesa. This workspace contains projects for building core mesa, backend drivers (e.g., gdi, dx7, ...), GLU, and GLUT. The project files are placed in the appropriate places in the Mesa tree.
rivers/windows/Mesa.dsw
|
f78311ed643255b88954b7a17043c58e12c455c6 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Removing from this directory. Will be added to new gdi driver directory.
rivers/windows/colors.h
rivers/windows/wgl.c
rivers/windows/wmesa.c
rivers/windows/wmesadef.h
|
6ff00f91c8f0164fc529a0ce023c4cd9536e7543 |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Remove obsolete file.
rivers/windows/mesa_extend.c
rivers/windows/mesa_extend.h
rivers/windows/stereo.h
rivers/windows/wing32.def
rivers/windows/wmesaBackup.c
rivers/windows/wmesaOld.c
rivers/windows/wmesa_stereo.c
|
6b4716c63aeaec28ba488be971aa7d524133299c |
24-Jul-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Windows does not define HUGE_VAL, so use the IEEE hex constants.
ain/nvvertexec.c
|
9c7b81697b2a381d7083e8e4c52f919f36ea9fa1 |
23-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a few more glitches from last big check-in
ain/image.c
ain/pixel.c
ain/state.c
|
9f9bed9c8ea8a1baa922320debbf04128b2b58de |
23-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_SGI_texture_colortable bugs
ain/pixel.c
wrast/s_texture.c
|
ad6ecf022787aa65830aa12e445aacbafcd763fa |
22-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove printf
ain/dlist.c
|
05944c031cd6bea985050f0e88a19f0794f57887 |
22-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Restore more code lost during last big merge. Rename colortable-related functions.
ain/arbprogram.c
ain/arbprogram.h
ain/colortab.c
ain/colortab.h
ain/context.c
ain/occlude.c
ain/occlude.h
ain/texobj.c
ain/texstate.c
|
f7fda86c6dcb7894157bd35a0cf15d003d48b441 |
22-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement debugger callback, etc for vertex programs. Misc clean-ups.
ain/arbprogram.c
ain/get.c
ain/mtypes.h
ain/nvprogram.c
ain/nvvertexec.c
ain/nvvertparse.c
ain/nvvertprog.h
wrast/s_nvfragprog.c
|
08ff059f203f05a0cc417a46fe37f83929963db5 |
21-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial implementation of GL_MESA_program_debug - a vertex/fragment program debugging extension.
ain/arbprogram.c
ain/arbprogram.h
ain/config.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/nvfragparse.c
ain/nvfragparse.h
ain/nvfragprog.h
ain/nvvertparse.c
ain/nvvertparse.h
ain/nvvertprog.h
wrast/s_nvfragprog.c
|
190c11e06d0f33c6815c19f36bb6f8f90d2ac2be |
18-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Numbered productions for ARB_vertex_program grammar (Karl Rasche)
ain/arbvp_grammar.txt
|
9a0d97a21c94f8e1ae673b8b96737956a27ae201 |
18-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Karl Rasche's ARB_vertex_program parser
ain/arbvertparse.c
ain/arbvertparse.h
|
f44898c0883c15f3565d0af55a66d82fe3da169f |
18-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up FEATURE_* defines in config.h _glapi_add_entrypoint() updates in context.c
ain/config.h
ain/context.c
|
702ca20bf08be7a4007defc5d91094e8b7d2ef8e |
18-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up some loose ends from the last big check-in.
ain/context.c
ain/depth.c
ain/extensions.c
ain/matrix.c
ain/texstate.c
|
c19cbb58cd2862393d67b62a5fc523b6fa1ac9a6 |
17-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more DOS updates from Daniel Borca
rivers/dos/dmesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
|
6dc85575000127630489b407c50a4b3ea87c9acb |
17-Jul-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge Jose's documentation and core Mesa changes from embedded branch
ain/accum.c
ain/accum.h
ain/api_loopback.c
ain/api_loopback.h
ain/arbprogram.c
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/bufferobj.c
ain/buffers.c
ain/buffers.h
ain/clip.c
ain/clip.h
ain/colormac.h
ain/colortab.c
ain/colortab.h
ain/config.h
ain/context.c
ain/context.h
ain/convolve.h
ain/dd.h
ain/debug.c
ain/debug.h
ain/depth.c
ain/depth.h
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/enable.c
ain/enable.h
ain/enums.h
ain/eval.c
ain/eval.h
ain/extensions.c
ain/extensions.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/glheader.h
ain/hash.c
ain/hash.h
ain/hint.c
ain/hint.h
ain/histogram.c
ain/histogram.h
ain/image.c
ain/image.h
ain/imports.c
ain/imports.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/mtypes.h
ain/nvfragparse.c
ain/nvprogram.c
ain/nvvertexec.c
ain/nvvertparse.c
ain/occlude.c
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.c
ain/rastpos.h
ain/simple_list.h
ain/state.c
ain/state.h
ain/stencil.c
ain/stencil.h
ain/texcompress.c
ain/texcompress.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
ain/texstore.c
ain/texstore.h
ain/texutil.c
ain/texutil_tmp.h
ain/varray.c
ain/varray.h
ain/vtxfmt.h
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_matrix.h
ath/mathmod.h
nl/t_imm_exec.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
|
44c699949ac09459771304a8aec8f2fc622057fb |
11-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates from Daniel Borca
rivers/dos/video.c
|
f6e76fe9b5c4c57ac6dc81143b4474ebfee879d2 |
07-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix conformance glitch introduced with NPOT extension
ain/teximage.c
|
ef751eb08b055d3c5b86ee10edc834a8767b7bc3 |
07-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fixes in _mesa_TexGen[id]v() to silence valgrind
ain/texstate.c
|
92d31641d2116110da84a1b1fc1d882b7aa1b095 |
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix int/float conversion for GL_TEXTURE_PRIORITY in gl[Get]TexParameteri[v]
ain/texstate.c
|
887e2cf01a99f7fe1b7c94320b7bdbbf0d6ad2f8 |
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).
rivers/x11/xm_dd.c
ain/extensions.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
wrast/s_texture.c
wrast/s_triangle.c
|
32bac60519dab482cd3f44355563750a4521f4cb |
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak checks for display list zero
ain/dlist.c
|
de4f460e20cf76ece883530ffe3f82a0afc817f3 |
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify extension string handling.
ain/context.c
ain/extensions.c
ain/extensions.h
ain/get.c
ain/mtypes.h
|
9826ca3ef533bf6155511b169509ffc09e9701ef |
02-Jul-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
rray_cache/descrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
lapi/descrip.mms
ain/descrip.mms
ath/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
|
4e28d962ffdf0ae34c562cddfef95ead3a8cb2e7 |
30-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates (Daniel Borca)
rivers/dos/video.c
|
a58214e4172925c9332a14895dd7bcd109346e2a |
27-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add a few more digits to PI to make Evgeny happy
ain/imports.h
|
ccb8284a5b98315bffdbc1df56f54c7ba23e123c |
17-Jun-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
rray_cache/descrip.mms
escrip.mms
rivers/osmesa/descrip.mms
rivers/x11/descrip.mms
lapi/descrip.mms
ain/descrip.mms
ath/descrip.mms
wrast/descrip.mms
wrast_setup/descrip.mms
nl/descrip.mms
|
642699a19f1c07336a6fadacd6d5a9028f5d346f |
16-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates for new tree (Daniel Borca)
akefile.DJ
rivers/dos/blit.S
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/mga/m_ttemp.h
rivers/dos/mga/m_ttemp2.h
rivers/dos/mga/mga.c
rivers/dos/mga/mga.h
rivers/dos/mga/mga_hw.c
rivers/dos/mga/mga_hw.h
rivers/dos/mga/mga_mode.c
rivers/dos/mga/mga_mode.h
rivers/dos/mga/mga_reg.h
rivers/dos/vesa.c
rivers/dos/vesa.h
rivers/dos/vga.c
rivers/dos/vga.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
710207c46f523ca3607c522ffa45a7c07a3354b4 |
16-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix include paths (Daniel Borca)
rivers/glide/fxdd.c
rivers/glide/fxtris.c
|
b17a722ca3989e8563ee04cb2939f4835f8a171e |
13-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_occlusion_query (not 100% finalized).
akefile.X11
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
lapi/glprocs.h
ain/config.h
ain/context.c
ain/extensions.c
ain/mtypes.h
ain/occlude.c
ain/occlude.h
ain/state.c
parc/glapi_sparc.S
wrast/s_context.c
wrast/s_span.c
wrast/s_triangle.c
86/glapi_x86.S
|
0c0e583c01116c9e26ac99735e581ea2b842a88d |
13-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
More clean-ups and re-org
akefile.X11
|
93db675bd9d46bfeb51c7ffd7282da5453645212 |
13-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new GL_ARB_v_p instructions
ain/nvvertexec.c
ain/nvvertprog.h
|
6a0db5626987adebb5078bacf7548d89976576a4 |
12-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/ATTRIB_h/ATTRIB_H/
ain/attrib.h
|
5ac9e660a65f4ab06120abbc20598a93a87ded49 |
11-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added null pointer check in tnl_copy_to_current()
nl/t_imm_exec.c
|
b1d53d909d1077f312d8f1750e025c7986a4cb2f |
11-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new buffer/context visual compatibility test (Phil Brown)
ain/context.c
|
196a90b5111b5170b9517d83e24d454363a09dd5 |
11-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing types to _mesa_VertexAttribPointerARB()
ain/varray.c
|
5c08c5bff3178c1f5b8e8b3d891daa2eaa0be9be |
11-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up _tnl_copy_to_current()
nl/t_imm_exec.c
|
f499860de4c72243c71a9c43f08e3558574fb67b |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved from main/ to glapi/
lapi/glprocs.h
ain/glprocs.h
|
de5496d2a6a3138ec5924026de5ef5afe92419cc |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Further makefile clean-up, concentrated on the x86 assembly files.
akefile.X11
parc/sparc.c
|
5f3439916b74ed792ad12d1e614a2a5bc0a94b3a |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes for x86 builds
akefile.X11
ath/m_xform.c
wrast/s_blend.c
86/gen_matypes.c
|
66a83c9e175c948d1ed8dd860fba42b4cb42ee34 |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_CURRENT_VERTEX_ATTRIB_ARB queries
ain/arbprogram.c
ain/nvprogram.c
|
cd0fbde699cd61cb037d887f601fe33d97e69ce6 |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing vertex attribs in _tnl_copy_to_current()
nl/t_imm_exec.c
|
829703316dc3c84cf6f0dd5a49dfcd3e4fedaea5 |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed secondary color typo
nl/t_imm_api.c
|
b953bebc250b36c9a01dbeafe420f808aa3522d6 |
10-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated old-style makefiles for new tree
akefile.X11
|
9ac51f57efe07ed43a1e4224a7f5daddec401b36 |
05-Jun-2003 |
Ian Romanick <idr@us.ibm.com> |
Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/acache.h
rivers/x11/glxapi.c
rivers/x11/glxapi.h
rivers/x11/glxheader.h
rivers/x11/realglx.c
rivers/x11/realglx.h
rivers/x11/xfonts.c
rivers/x11/xfonts.h
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
lapi/glapi.c
lapi/glapi.h
lapi/glthread.c
lapi/glthread.h
ain/KNOWN_BUGS
ain/Makefile.OSMesa16
ain/accum.c
ain/accum.h
ain/api_arrayelt.c
ain/api_arrayelt.h
ain/api_eval.c
ain/api_eval.h
ain/api_loopback.h
ain/api_noop.c
ain/api_noop.h
ain/api_validate.c
ain/api_validate.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/bufferobj.h
ain/buffers.h
ain/clip.c
ain/clip.h
ain/colormac.h
ain/colortab.c
ain/colortab.h
ain/context.h
ain/convolve.c
ain/convolve.h
ain/dd.h
ain/debug.c
ain/debug.h
ain/dispatch.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.h
ain/enums.c
ain/enums.h
ain/eval.c
ain/eval.h
ain/extensions.h
ain/feedback.c
ain/feedback.h
ain/fog.h
ain/get.h
ain/glheader.h
ain/hash.c
ain/hash.h
ain/hint.c
ain/hint.h
ain/histogram.c
ain/histogram.h
ain/image.c
ain/image.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.h
ain/nvfragparse.h
ain/nvfragprog.h
ain/nvvertprog.h
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.h
ain/simple_list.h
ain/state.h
ain/stencil.c
ain/stencil.h
ain/texcompress.h
ain/texobj.c
ain/texobj.h
ain/texstate.h
ain/texutil.c
ain/texutil.h
ain/texutil_tmp.h
ain/varray.h
ain/vtxfmt.c
ain/vtxfmt.h
ain/vtxfmt_tmp.h
ath/m_clip_tmp.h
ath/m_copy_tmp.h
ath/m_debug.h
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_dotprod_tmp.h
ath/m_eval.c
ath/m_eval.h
ath/m_matrix.c
ath/m_matrix.h
ath/m_norm_tmp.h
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
ath/mathmod.h
wrast/s_aaline.h
wrast/s_aalinetemp.h
wrast/s_aatriangle.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_drawpix.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_imaging.c
wrast/s_lines.h
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_nvfragprog.h
wrast/s_pixeltex.c
wrast/s_pixeltex.h
wrast/s_points.h
wrast/s_pointtemp.h
wrast/s_readpix.c
wrast/s_span.h
wrast/s_spantemp.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texstore.c
wrast/s_texture.h
wrast/s_triangle.h
wrast/s_trispan.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.h
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_array_api.h
nl/t_array_import.c
nl/t_array_import.h
nl/t_context.c
nl/t_eval_api.c
nl/t_eval_api.h
nl/t_imm_alloc.c
nl/t_imm_alloc.h
nl/t_imm_api.h
nl/t_imm_debug.c
nl/t_imm_debug.h
nl/t_imm_dlist.h
nl/t_imm_elt.h
nl/t_imm_eval.c
nl/t_imm_eval.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_vertex.c
nl/tnl.h
|
b9e1411660d80612ec9706c443eacb0f46caefad |
04-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments regarding window sizing
ain/buffers.c
ain/matrix.c
|
3c28d1e2a9d758583efd8e51c42992987e6be982 |
04-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added GL_EXT_texture_rectangle (identical to GL_NV_texture_rectangle)
ain/extensions.c
|
09dbc1e5aea9d584d7d031bcf0c945aa16cef2a1 |
02-Jun-2003 |
Ian Romanick <idr@us.ibm.com> |
Removed fields from 'struct gl_extensions' for extensions that don't need them. Added "always on" extensions for extensions that are part of core versions 1.1 and 1.2.
ain/extensions.c
ain/get.c
ain/mtypes.h
|
a189e4c1e13f0c1fbbbe4b2346fa96cce9a4853e |
02-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)
ain/buffers.c
|
c9ab99ced1fbfb230b3ccead51eb6c544a39e4fe |
02-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated rule for make OSMesa lib (Brad King)
ain/Makefile.X11
|
45e9a5c46b8e18e7815ce69d0c2da9200b323f0f |
02-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added GL_LIB_NAME / GLU_LIB_NAME so the default name for the libraries can be overridden (Brad King).
ain/Makefile.X11
|
698e67d40996b48720453337826c7da9972437ab |
01-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove test file
ain/Makefile.X11
|
3ba8a49c810d5976c705160e8c96ae682ab85250 |
01-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove a bunch of really old/obsolete configs. Use the new mklib script.
ain/Makefile.X11
|
f1163a37695ad07d9d4a5cdd1a9104932c157535 |
01-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
setup default programs for GL_ARB_vertex/fragment_program
ain/context.c
|
236d2dbc7289cd9106729e619714a509bc402fd7 |
31-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor error check tweaks for NV_light_max_exponent
ain/get.c
|
882caa18c6c551cbe60f205795b00a6a5361a986 |
30-May-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for NV_light_max_exponent.
ain/api_noop.c
ain/context.c
ain/extensions.c
ain/get.c
ain/light.c
ain/mtypes.h
nl/t_imm_api.c
|
dc3e0f0f5da32be3d5350438a2e8bd19c1ad14bd |
28-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/_T_VBXFORM_H/_T_IMM_EXEC_H/
nl/t_imm_exec.h
|
d18c08fe890e100269be8d5cccbaf7cd7bf9916d |
28-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence some warnings (Evgeny Kotsuba)
ath/m_trans_tmp.h
ath/m_translate.c
nl/t_imm_api.c
nl/t_imm_elt.c
|
0b52018df2a64a159f697756fbda47bcd1de3ef4 |
28-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added MESA_VERSION() macro, etc (Holger Waechtler)
ain/version.h
|
e8e93e9cc641e31c9c0e6a2bb1ac3e44d0bdec5a |
28-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB). Removed VertexAttrib*ARB() stubs.
ain/arbprogram.c
ain/arbprogram.h
ain/nvprogram.c
ain/state.c
|
2c5f93784ea1ba28ae15181917ff3e47656a93ad |
27-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Version defines. include "version.h" in a few files.
rivers/x11/fakeglx.c
ain/get.c
ain/version.h
|
8750668ad71d45d97a0b07a2c23e68322aac4b10 |
27-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
check buffer->UseSoftware*Buffer in _mesa_free_framebuffer_data()
ain/context.c
|
a3793214e941607b31faac33e73a23387ed2163e |
26-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
a couple casts (Evgeny Kotsuba)
ain/imports.h
|
0421ce4b46a3bfe43d06e31cfc6cc62060004657 |
15-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
autoconf/automake updated for newer versions (bug 734362)
rivers/ggi/default/stubs.c
|
12f8fb60844be2e074b878b8d6f55ef724b65ac3 |
15-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a couple casts
ain/imports.h
|
e591ad7350c4386f2d61e12f19724ec3e4ce5e95 |
10-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_vertex_program functions
ain/api_loopback.c
|
0295088118674c87f49b8061c6391be6fe206b3d |
10-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize condition codes before running program
wrast/s_nvfragprog.c
|
3fdb8fbfc5eb82822ac8b5f3e2376249ae7c73ca |
10-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix scalar literal parsing glitches
ain/nvfragparse.c
ain/nvfragprog.h
|
ea31ca47200d96b7cc687989ee7f9953819fddbb |
10-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix MapBufferARB() return type
lapi/APIspec
lapi/glapitable.h
lapi/glapitemp.h
ain/bufferobj.c
ain/bufferobj.h
|
baa42c3364b58a7eaf08856c7d213d9ae0e3b021 |
10-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
clamp fog color
ain/fog.c
|
a96d596be9349d83eda992235eedd26746fa46ee |
08-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comment about MAX_WIDTH and textures
ain/config.h
|
e53aa5022f5d70abe81d5b97dccebcb389cf4647 |
02-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more docs (Klaus Niederkruger)
nl/t_context.h
|
92f9785c727ea10ff5f8dc9770f0e8f388fcea70 |
02-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places. Misc vertex array / vertex program changes.
rray_cache/ac_import.c
ain/api_arrayelt.c
ain/arbprogram.c
ain/arbprogram.h
ain/context.c
ain/get.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
ain/varray.c
ain/varray.h
wrast/s_context.c
wrast/s_context.h
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_exec.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
|
f34de59b3eb631f98db907aea04b055c87f77900 |
29-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't try to clear non-existant buffers
ain/buffers.c
|
370d7ad007fc9a083c958fe12c1fa834aefb3c61 |
29-Apr-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Updating OpenVMS compile support Modified Files: Mesa/src/descrip.mms Mesa/xdemos/glxgears.c ----------------------------------------------------------------------
ain/descrip.mms
|
9e3a7cd6dd02b12f880d9e9e220bfdadc09417e1 |
28-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
LOG2() clean-up (Klaus Niederkrueger)
ain/imports.h
|
c8f2f456f94232671511745e1b236339af6b44ce |
28-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments (Klaus Niederkruger)
nl/t_context.h
|
a83b4b1f2ce4fbff173a1ba5d0da9231b6ae3be2 |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded fragment program test
wrast/s_triangle.c
|
464bc3b6747108dd32e4a9fcfe6549a9d4a52a95 |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unneeded unsigned int / zero comparisons
ain/api_validate.c
|
7bb832f9f7f417616c949e7152b955572b9d0212 |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix DDX, DDY instructions (probably not finished though)
wrast/s_nvfragprog.c
|
e5b244ff7f984805c1bcc020342f1300f2639c71 |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_EXT_depth_bounds_test.
ain/depth.c
ain/depth.h
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_span.c
|
b0b9b798ac0620aeba15143f84c1d1ef2ddd44db |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
alias ARB/NV program functions where possible
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/arbprogram.c
ain/arbprogram.h
ain/context.c
ain/glprocs.h
ain/nvprogram.c
ain/state.c
parc/glapi_sparc.S
86/glapi_x86.S
|
e4eae45512d11f29d821ec95206bb08626bd3b19 |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning
ain/texutil_tmp.h
|
e5db876329126ff799999223fcd0813c3e5ed95c |
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use INDEX8_SPAN_ARGS
rivers/x11/xm_span.c
|
edd677454dc38a590bd6fc1cd3e2759d2a4d55e3 |
18-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org of program matrix, program local parameter limits
ain/arbprogram.c
ain/config.h
ain/context.c
ain/get.c
ain/matrix.c
ain/mtypes.h
|
77eec61e21cf1ff4ef3c95fcc42700ca4a0a2c4f |
18-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL_ARB_vertex/fragment_program bits
ain/enable.c
ain/get.c
|
5e92a7c7457f53fed576b65105a7a996a6044f55 |
18-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some glBindProgramNV/ARB details
ain/arbprogram.c
ain/nvprogram.c
|
da74a60e4cf49a7bb59b878843a014ea2676b766 |
17-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added LoadProgramNV and RequestResidentProgramsNV
ain/dlist.c
|
5960105ca35d5f51ef3881d201faf2cda99ead0c |
17-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added arbprogram.c to Makefiles. Added display list support for GL_NV_fragment_program. Assorted clean-ups.
akefile.X11
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/arbprogram.c
ain/descrip.mms
ain/dlist.c
ain/nvprogram.c
ain/nvprogram.h
ain/state.c
|
451f31093e950e2c76e8d7dee3cb097049a906b5 |
17-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
ain/arbprogram.c
ain/config.h
ain/context.c
ain/mtypes.h
ain/nvprogram.c
ain/nvprogram.h
ain/nvvertexec.c
ain/nvvertexec.h
ain/nvvertparse.c
ain/nvvertparse.h
|
2db8041ffed9db2e68c55f18eedeaa95c23ac761 |
14-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix depth texture tex env bug (#719903)
wrast/s_texture.c
|
d0492cf1377897c8113a109aa936ee7a7084b9c8 |
11-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some groundwork for GL_ARB_vertex/fragment_program.
ain/arbprogram.c
ain/arbprogram.h
ain/config.h
ain/context.c
ain/extensions.c
ain/mtypes.h
ain/nvfragparse.c
ain/nvprogram.c
ain/nvvertparse.c
wrast/s_nvfragprog.c
|
6cfaff16334981a247694b2ca30fffc398a330d0 |
10-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove a const
nl/t_array_api.c
|
bf7128a682fad669aa215d7fadd9b50a6de49a32 |
10-Apr-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
drawarrayrange fix
nl/t_array_api.c
|
aac732546a235ca52b3236e3bceb493d77ba7326 |
09-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
basic work on GL_ARB_vertex_buffer_object
ain/bufferobj.c
ain/get.c
ain/mtypes.h
ain/nvprogram.c
|
c708ac2afe2a03ed2323f3e078895fc0843c8976 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix string compare bug
ain/nvprogram.c
|
38c619bf15609037e89d9b6377fe1d033d707ff1 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing return in raster_pos4f()
ain/rastpos.c
|
dcf3d8d61dbc22353560a66af8d72e620e94b147 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some problems parsing scalar source arguments
ain/nvfragparse.c
|
36a0a3252e1e20df69b53f70ba93bc74c4a4bf0e |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx->Texture._EnabledCoordUnits bitfield. Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
rray_cache/ac_import.c
ain/mtypes.h
ain/nvfragparse.c
ain/nvprogram.c
ain/state.c
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_bitmap.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_nvfragprog.c
wrast/s_points.c
wrast/s_span.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast_setup/ss_vb.c
nl/t_array_import.c
nl/t_context.c
nl/t_imm_elt.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_render.c
|
0cebd5822a39ad3b3d7621f8e59efab329bfb5b9 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_realloc()
ain/imports.c
ain/imports.h
|
b8ca0172e7562f2ed92ef99903980aae2e806a94 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
scalar source reg can be a scalar or vector literal
ain/nvfragparse.c
|
071a4ddd92229b102b0b67410303505681114cd7 |
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize attribute vectors to 4 components
nl/t_vb_program.c
|
14995b3d3b8e83bb53fa026d08d76d13e5989bc1 |
07-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor parser fixes, program print-out fixes
ain/nvfragparse.c
|
670c8780f79675a9771e6f21dc96c3efba7c5e55 |
07-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo
ain/nvvertprog.h
|
0e7f2952fe6cb3fb61cd734b184c39b42fe104af |
07-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix color array mixup
nl/t_vb_program.c
|
e3dd0a4e7fefb3d095f64f5bdf6464d689b019a0 |
07-Apr-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this may break driver callbacks.
nl/t_imm_exec.c
|
69ffa43656d97595e620718e97b8b5526c40f022 |
07-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added gcc-sl target and shared lib shell script (Philip Brown)
akefile.X11
ain/Makefile.X11
|
33ce405e8678f7f939b1aba21487a5f42a17bda2 |
05-Apr-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Pass 4th element correctly in loopback_VertexAttrib4svNV
ain/api_loopback.c
|
ce7f006e66533da9f6db61e368273f1ffcc12ace |
05-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fragment program named constants and named program parameters basically work now
ain/mtypes.h
ain/nvfragparse.c
ain/nvfragprog.h
ain/nvprogram.c
wrast/s_nvfragprog.c
|
738318bb75dea8dac4465f53850987f6062a732d |
04-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/config.h
ain/teximage.c
ain/teximage.h
ain/texstore.c
ain/texstore.h
|
b0e90cc839c6b7fcd3bd76759862eb3bc423e50a |
03-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more memory-related fixes
nl/t_imm_fixup.c
nl/t_vb_program.c
|
78233887446a8f5fe66d674caf1b7ee838647ac1 |
03-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
some texture compression odds & ends
ain/texcompress.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
|
bb5ebf17248d1d389525d4fcd9e238fb13b695bf |
03-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplify CEILF, FLOORF, FABSF stuff
ain/imports.h
|
0983163fde91f1026146903155fd414725a79879 |
02-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix double-memory free in XMesaDestroyContext
rivers/x11/xm_api.c
|
27f4484fb73ac7bf4f790ca2d3efd50b6bea25c3 |
02-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()
ain/teximage.c
|
dd26d02889d038aa1cdb88a187f00568c82b3e32 |
02-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up current state initialization
ain/context.c
|
12fca20e1f2fe38a6ccedae8ab097b71d8a4ed8e |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_FRAGMENT_PROGRAM_NV (Alan Matsuoka)
ain/get.c
|
b852f048ee01b8ccbc8834139d46ab2bd9cb1f1b |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor initialization fixes
ain/context.c
|
8d7a2504c36a855949d57a9fe3f972abb88e267a |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
improve some error messages
ain/texstate.c
|
4b28b5a885078dc4c8274a26c263c6586166e2e3 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_SECONDARY_COLOR_ARRAY_SIZE_EXT query was returning stride
ain/get.c
|
97bc3d7e78926ada206511dae2381468c608865c |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_FOG_COORDINATE_SOURCE_EXT query was missing
ain/get.c
|
525f04389f7f73ae2651f97590331d216b8ac10d |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_LIST_MODE, GL_CURRENT_MATRIX_STACK_DEPTH_NV and GL_CURRENT_MATRIX_NV queries
ain/get.c
|
f0805670a1b8e624c6f9a468a14c4bfbca446d1c |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix default compare mode
ain/texobj.c
|
6fafc7ad19a8b7400e57a86b588766b6f3811a05 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/gl_ctx/mesa/ and misc clean-ups
rivers/osmesa/osmesa.c
|
1e24d3318df57b36e3b68695ff64b4b8bd822c9e |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use structure containment to derive xmesa_context from GLcontext
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
a3f137094cd965d27e1b088499dd609b81a91906 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
New device driver hooks for texture object and texture image creation to allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/context.c
ain/dd.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstore.c
|
926c34f89453c9b0455910bbdbe20b52d909d962 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
nl/t_imm_dlist.c
|
e9f4ee87d84eefd3dadc3801fc4027f6b28204e6 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_realloc() fix
ain/nvfragparse.c
|
b8b50cc5c45faaed6a89c889a004de60112cb043 |
01-Apr-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . added bufferobj.obj Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
dc27b33fb46b6419e2f3075af9733077909387b4 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove dead code. Replace blocks of per-attribute code with for-loops. New comments/docs.
nl/t_imm_fixup.c
nl/t_imm_fixup.h
|
d78c57e8b545685e3e239b9259821dda229da5f8 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups, const qualifiers
nl/t_imm_elt.c
|
6045b0501d8301a42a76962a1e78fd73bf3027b9 |
01-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups, const qualifiers
nl/t_imm_dlist.c
|
05b26510668fc1e5039c6c9088247f9b3c508cb7 |
31-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
reduce memory needed for vertex attributes (allocate on demand)
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_fixup.c
nl/t_imm_fixup.h
|
c765d446507b25f3531be3a116d1b5de598bb9ad |
31-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bad texgen Q problem
nl/t_vb_texgen.c
|
408722351d1ad7dab1fff017ba2403642f231df5 |
30-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable 1.4 extensions
rivers/beos/GLView.cpp
|
56fe21b3e7eb84a9bc9afaa69e7ce60381b9f004 |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove debug printf
nl/t_imm_alloc.c
|
1c455e4843e2dabc5e2fa2ce60c2d605643bf5df |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove duplicate line
akefile.X11
ain/Makefile.X11
|
6061df09a45c42745253965df012ddf76910ea33 |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Basic infrastructure for GL_ARB_vertex_buffer_object.
akefile.X11
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/bufferobj.c
ain/bufferobj.h
ain/config.h
ain/descrip.mms
ain/extensions.c
ain/mtypes.h
ain/state.c
|
88e3ed2d816cd619b26a20755262bae85e05175e |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable normal xform code for now
86/3dnow.c
|
29af3b2be65de1f0768fa51637835d115c00772c |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_print_nv_vertex_instruction()
ain/nvvertparse.c
ain/nvvertparse.h
|
52334967edb3bf79c3eecbd599dcef667ba63239 |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
proper dispatch for NV_fragment_program functions
ain/nvprogram.c
ain/nvprogram.h
ain/state.c
|
c6d030a5972c5b1b2902df76a125febe10d8586b |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program entrypoints
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
861a60fd406aed96d64395646eba1fbebb1ff840 |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added entries for GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program
lapi/APIspec
|
183aea64d3d45bfed30f07079a0c68fa7165bc0b |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates from Daniel Borca
rivers/dos/dmesa.c
ain/Makefile.DJ
|
a8d4963fbcfe370a571671a250a1ae8dd894a94a |
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix EXP instruction and ARL-relative addressing
ain/nvvertexec.c
|
8856cece54df5183853aaebc1af8c60436d699c0 |
28-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups, comments, etc
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_dlist.c
nl/t_imm_fixup.c
|
98fc9b36b641ab323da9826d2ea430b1441e9d96 |
27-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed ColorMask problem for front-buffer rendering
rivers/x11/xm_dd.c
|
a5607f2a04e6a85bec6bc9f016313713289fc8c6 |
25-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some unfinished code accidently checked in
rivers/x11/xm_dd.c
|
a46bd6f96a78525dc98bcb2176494e6d6dce5dce |
25-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
histogram code move, remove s_histogram.[ch] from Makefiles
akefile.X11
rivers/x11/xm_dd.c
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/descrip.mms
ain/histogram.c
ain/histogram.h
|
45bc887da226403f2c41077e40ca38b6f60f1359 |
25-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_drawpix.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_imaging.c
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_nvfragprog.c
wrast/s_points.c
wrast/s_pointtemp.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
|
af1bfb7281eb8175adb7bb9774aeafa020e3831b |
25-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
store correct EXP result
ain/nvvertexec.c
|
6d6efd605f662c1f07e183e58416db804f0a058f |
25-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable prototyped GLX_ARB_render_texture extension
rivers/x11/fakeglx.c
|
ee2b34215fc91b1c8b36b0b998df4ec9d9526fb8 |
24-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add 2, not 4, in _mesa_get_compressed_formats()
ain/texcompress.c
|
d40f9fa0ec4699627aad37f0c06409ead5ee002a |
21-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GL_COLOR_MATERIAL bug
ain/enable.c
|
b0f347872d20d7a3540522de01e1770a8951bf2e |
19-Mar-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Added some type casts Modified Files: Mesa/src/swrast/s_nvfragprog.c ----------------------------------------------------------------------
wrast/s_nvfragprog.c
|
451566305287161d51eb5643a5fd398809ac03c1 |
19-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rewrite of fragment program named parameters, constants, etc. Not done.
ain/mtypes.h
ain/nvfragparse.c
ain/nvprogram.c
ain/nvprogram.h
wrast/s_nvfragprog.c
|
762c115242d8f410b7a54b3bc6e3d677755a9c1e |
19-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comments
ath/m_clip_tmp.h
|
aaa46798f1d0b009e35fcd88504f6f1e1f69672f |
17-Mar-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo
ain/stencil.c
|
c6dcb0fe89aed5ca3659c9bd0206bbd6ab352e44 |
17-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move #include glheader.h before extern C namespace
ain/imports.h
|
54e92e8420a028f07b0971ee8aa93be9b4214579 |
16-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Store partial derivative values in sw_span structure. Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet.
wrast/s_context.h
wrast/s_nvfragprog.c
wrast/s_span.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
a79b55ae65a4a85a2aeaa2a5b1cb757c6e88849d |
16-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use TEX_UNIT_LOOP macro to coalesce some code
wrast/s_tritemp.h
|
dec3ed69e21baa1113938132e344761f39320f5f |
16-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups, re-org in preparation for fragment program work
wrast/s_tritemp.h
|
350353adcd75f94fda63c787c86961716114e0bf |
15-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up some fragment program texture enable issues. Implemented TXD instruction.
ain/enable.c
ain/nvfragparse.c
ain/nvfragprog.h
ain/state.c
wrast/s_context.c
wrast/s_nvfragprog.c
wrast/s_span.c
wrast/s_span.h
|
f386f73f9e4054a750d453fa2f5449c2f1d2e242 |
14-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up of parser error handling/reporting. Basic fragment program texture instructions are limping along.
ain/nvfragparse.c
ain/nvfragprog.h
ain/nvprogram.c
ain/nvvertparse.c
wrast/s_context.c
wrast/s_nvfragprog.c
wrast/s_triangle.c
|
a2da1155c285fde2a5e5824d50ee8a57c6e982f5 |
14-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
include macros.h
wrast/s_aaline.c
|
24e81fda4d3c55003294a818de7c0faf7ae1552d |
10-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix/improve glAreTextures/ProgramsResident (Jose Fonseca)
ain/nvprogram.c
ain/texobj.c
|
47d8adde43c71f32d3677bb8ad965f262b6f3150 |
08-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS update (Daniel Borca)
rivers/dos/blit.S
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/mga/m_ttemp.h
rivers/dos/mga/m_ttemp2.h
rivers/dos/mga/mga.c
rivers/dos/mga/mga.h
rivers/dos/mga/mga_hw.c
rivers/dos/mga/mga_hw.h
rivers/dos/mga/mga_mode.c
rivers/dos/mga/mga_mode.h
rivers/dos/mga/mga_reg.h
rivers/dos/vesa.c
rivers/dos/vesa.h
rivers/dos/vga.c
rivers/dos/vga.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
009bbccb69fbf9a6872b34c22c32f55d5aa6888a |
07-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OS/2 version of IROUND (Evgeny Kotsuba)
ain/imports.h
|
b5a56e2480c71581a5c1345fa4b6acc2d67f17cf |
05-Mar-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Removed src/mmath.c from OpenVMS makefile Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
cc9464e082b82179e3c4b51ea460212c10b2bf0c |
04-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GLchan=GLfloat problems
rivers/osmesa/osmesa.c
wrast/s_texture.c
wrast/s_tritemp.h
|
612cf792dbcb8b69819751c62f8df5fe47aae9b4 |
04-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a GLchan=GLfloat warning with a cast
ain/texstore.c
|
f9b1e5241facc8cf255c258082d5cb5b04783e93 |
04-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)
ain/imports.c
ain/imports.h
ain/macros.h
ain/nvvertexec.c
ath/m_norm_tmp.h
wrast/s_aalinetemp.h
wrast/s_nvfragprog.c
wrast/s_span.c
nl/t_vb_texgen.c
|
386578c5bcc5c6701a6b9692cdc04cfe4064ca06 |
03-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable using optimized _mesa_sqrtf() for now
ain/imports.h
|
42ad8664f972aaecff80934b5ec7d135d04ea767 |
03-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
better error messages (Leif Delgass)
ain/dlist.c
ain/texstate.c
|
a59ce9041df800936905f64287b82bc2d42d1c8b |
02-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added extern "C" for C++
ain/imports.h
|
0168240c5c9fb7b2f072b16c6937637eb7ba8b9f |
02-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed extra _mesa_memset16() prototype
ain/imports.h
|
490a8b83152a5c6bf79ef6e9805eabe6230c812e |
02-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some MESA_DEBUG stuff
ain/mtypes.h
|
27558a160a9fe91745728d7626995cd88f8fe339 |
01-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
akefile.X11
rray_cache/ac_context.c
rray_cache/ac_import.c
rivers/dos/dmesa.c
rivers/dos/internal.h
rivers/glide/fxdd.c
rivers/glide/fxvb.c
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/api_eval.c
ain/api_noop.c
ain/buffers.c
ain/clip.c
ain/colormac.h
ain/colortab.c
ain/context.c
ain/drawpix.c
ain/enable.c
ain/eval.c
ain/feedback.c
ain/get.c
ain/glheader.h
ain/histogram.c
ain/image.c
ain/imports.c
ain/imports.h
ain/light.c
ain/lines.c
ain/macros.h
ain/matrix.c
ain/mtypes.h
ain/nvfragparse.c
ain/nvvertexec.c
ain/points.c
ain/rastpos.c
ain/state.c
ain/texformat.c
ain/teximage.c
ain/texutil.c
ain/varray.c
ath/m_debug_norm.c
ath/m_matrix.c
ath/m_norm_tmp.h
ath/m_translate.c
ath/m_xform.c
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_accum.c
wrast/s_alpha.c
wrast/s_bitmap.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_fog.c
wrast/s_lines.c
wrast/s_nvfragprog.c
wrast/s_points.c
wrast/s_span.c
wrast/s_texstore.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_zoom.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_eval_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vtx_exec.c
nl/t_vtx_x86.c
|
7acd88c6d9bc62fd04551a3f82d7d35705f02562 |
28-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor typo
wrast/s_context.h
|
a20ed720032d1a04a5206374020234140dd5ef08 |
28-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix GLchan==GLfloat bug in solve_plane_chan (bug 694546)
wrast/s_aaline.c
|
13c4c046a5ff6130fa27385bb93d2464e0ff0f83 |
28-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a cast (bug 694546)
wrast/s_aaline.c
|
65098ec9f57b8d3a8883c186965220ff12986873 |
27-Feb-2003 |
Karl Schultz <kschultz@freedesktop.org> |
fix compilation warnings on Windows
wrast/s_texture.c
|
72baa3126bb43a7ad0d54206c4def862faa0620e |
27-Feb-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Fix function definitions for Windows.
ain/nvprogram.c
|
6a98bef96189fbacc326ad9e407c1d4423aa8572 |
27-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix float color interpolation (bug 694461)
wrast/s_span.c
|
759c8f92e9640128ea476fef6761f14e1319f87d |
26-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
More clean-ups. Parse scalar/vector literals and defined identifier sources.
ain/nvfragparse.c
|
730c924943e08aa4b53e699c27d910eb933d8933 |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/Parse_SwizzleSrcReg/Parse_VectorSrc/. Parse +/- and absolute value syntax.
ain/nvfragparse.c
|
9f4d812aa70bfd9a4507d52b994e55f25e2d2c3d |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
set MAX_NV_FRAGMENT_PROGRAM_OUTPUTS to 3
ain/config.h
|
f9ff2657c4ee289edacd583b0ee943cb7356fc3b |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted clean-ups and improvements
ain/nvfragparse.c
ain/nvprogram.c
ain/nvprogram.h
|
8488c9f3cb5f549f48bfd100706ff6b5aab6eb93 |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass the instruction to store_vector4(). implement KIL.
wrast/s_nvfragprog.c
|
1bdc52f86edd88632a3748693fa01d1664f993c2 |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
parser clean-ups and simplifications
ain/nvvertparse.c
|
adb1a2911aaaa2dad09b955b20834eb3e1e9caf7 |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move matrix type enum out of GLmatrix struct
ath/m_debug_xform.c
ath/m_matrix.h
|
a10be7fb8546d985b532cabfca95d56726e79856 |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix-up pixel_format enum stuff
rivers/x11/xmesaP.h
|
4039cb8ca82d59451a6de8902fe35e693cdca3ba |
25-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to silence g++ warnings
rivers/osmesa/osmesa.c
rivers/x11/fakeglx.c
ain/texstore.c
wrast/s_drawpix.c
wrast/s_linetemp.h
wrast/s_zoom.c
|
b10c434a8f1b760e5a5516729761944d3e84d894 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _mesa_find_line_column()
ain/nvfragparse.c
|
d804fd1f4d84369f3d26878912e6742fba23e028 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
parser clean-ups (use struct parse_state)
ain/nvvertparse.c
|
25fea6be0a210199478da48dc7cb65a0f0f8a103 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_find_line_column()
ain/nvprogram.c
ain/nvprogram.h
|
736d10c2741397ca43ff9c41295a81be1d358d23 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence warning with a cast
ain/nvfragparse.c
|
25060c1f29f3ad52f9a3b5f6f68df238dbc2de8a |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
test if active texture is really changed in _mesa_ActiveTexture()
ain/texstate.c
|
b8d6607acd3b6d18dab0c7247d5e0fc72e98ceae |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move span stuff from swrast.h to s_context.h (it's private). Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling.
wrast/s_alpha.h
wrast/s_blend.h
wrast/s_context.c
wrast/s_context.h
wrast/s_depth.h
wrast/s_nvfragprog.c
wrast/s_nvfragprog.h
wrast/s_texture.c
wrast/s_texture.h
wrast/swrast.h
|
4e44d8c4c68c8a4e68b42f1fb2689d348369da86 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
parser clean-ups
ain/nvfragparse.c
ain/nvfragprog.h
|
14e6bbccffa0a4d6b9d505212e812521da3677b6 |
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added TEXTURE_*_INDEX tokens
ain/mtypes.h
|
3a4231e132bf56d15679c9608b6d5a100d06d9dd |
21-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use IROUND to convert depth values from float to int (bug 690728)
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
|
ea20dfa7a8788870959f136bff0c3a20e4c2bb31 |
21-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix zoom/clipping bug 689964
wrast/s_zoom.c
|
60f84fcc91c5fb86843c528416399303da113a2f |
20-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
latest DOS updates (Daniel Borca)
rivers/dos/blit.S
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/mga/m_ttemp.h
rivers/dos/mga/m_ttemp2.h
rivers/dos/mga/mga.c
rivers/dos/mga/mga.h
rivers/dos/mga/mga_hw.c
rivers/dos/mga/mga_hw.h
rivers/dos/mga/mga_mode.c
rivers/dos/mga/mga_mode.h
rivers/dos/mga/mga_reg.h
rivers/dos/vesa.c
rivers/dos/vesa.h
rivers/dos/vesa/blit.S
rivers/dos/vesa/vesa.c
rivers/dos/vesa/vesa.h
rivers/dos/vga.c
rivers/dos/vga.h
rivers/dos/vga/vga.c
rivers/dos/vga/vga.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
449e47f06a46c42fb9895d13f37b599600225e56 |
17-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace some #defines with enums. (Klaus Niederkrueger)
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ath/m_matrix.h
nl/t_array_api.c
|
85109b063c24945ec9d8e4878e961666cdf0039b |
17-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bad zoomed.zStep assignment (bug 687811)
wrast/s_zoom.c
|
04cbad84e8241ced16f146e36b6959e4c78cfac1 |
17-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement parsing of texture instructions and prototype execution. Misc parser clean-ups.
ain/nvfragparse.c
ain/nvfragprog.h
wrast/s_nvfragprog.c
|
2c1912fe84d110d4c8cccc207827a154c09dd09a |
17-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on DEFINE/DECLARATION statements, symbol tables
ain/mtypes.h
ain/nvfragparse.c
ain/nvprogram.c
ain/nvprogram.h
|
e07618fb572b79016c1d054aa68052c2cff5fdf7 |
10-Feb-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
cast GLfloat
ain/nvprogram.c
|
92d79350743d6f8d52bf78f866d9ffe69da70d02 |
08-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace _mesa_strtof() with _mesa_strtod()
ain/imports.c
ain/imports.h
ain/nvfragparse.c
|
b8e3eb95d079aaec8b1c4c5a7e67c612af0848f6 |
08-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable normal xform code - see bug 673938
parc/sparc.c
|
c8e28650c9cdec9611348cf077d3a3bda4305f59 |
06-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix assertion in transfer_teximage() (Laurent Desnogues)
ain/texstore.c
|
7d0522e16a73dcd356526fa37ead82ad4ad02c31 |
06-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace | with & (Laurent Desnogues)
wrast/s_texture.c
|
66dce0875ee6ed61fcfca56f23b367e75f1c9584 |
05-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug in popping texture color table state
ain/attrib.c
|
6cf845f338fc12022dcc68508bfe2d59117a558f |
04-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment for _tnl_need_projected_coords()
nl/t_context.c
|
dd5f1f43ac3c6ba531d6631e7f7423c2e6e34c41 |
04-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use 'ndc' instead of 'proj' terminology. Added a bunch of const qualifiers.
wrast_setup/ss_vbtmp.h
|
398c6b7980ac52ba15af78f45e71f49f33ded1aa |
04-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates (Daniel Borca)
rivers/dos/dmesa.c
rivers/dos/vesa/vesa.c
rivers/dos/vga/vga.c
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
c0f1a69a96e0101d4e49028333e2984fd650c0c8 |
04-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
print debug message when SSE is disabled by user (Klaus Neiderkrueger)
86/common_x86.c
|
839bef921c67c59eb6d8dfbce3e8ef8925df308f |
30-Jan-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Check only LEFT bits for clearing alpha buffer. (Evgeny Kotsuba)
rivers/windows/wmesa.c
|
4c3bb69a94d665b794e38024d7e99ef4722adb72 |
30-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix reported 3Dnow bug in _mesa_normal_tab (Felix Kuhling)
86/3dnow_normal.S
|
5c31f8678b7ad10145c434c00461115449a357e0 |
28-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix prefetch bug (Felix Kuhling)
86/3dnow_normal.S
|
02de45dcedc38b0e4ceacba440bfc11930ec90bb |
28-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move ltor computation
wrast/s_aatritemp.h
|
f4418f4d1c6dfe06af760226c5303e653b25b879 |
28-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
some casts (Evgeny Kotsuba)
ain/texstore.c
|
45b47d079f6a749c15498a6cef78d891f8acb665 |
26-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make GL_SGI_texture_color_table work per-texture unit. Clean-up and optimize _swrast_texture_table_lookup().
ain/attrib.c
ain/colortab.c
ain/context.c
ain/enable.c
ain/get.c
ain/mtypes.h
wrast/s_context.c
wrast/s_texture.c
wrast/s_texture.h
|
7cac85d00a6110aa92236b2e841faeeb34f684c1 |
26-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove bad assertion, fix minor bug in _mesa_lookup_rgba()
ain/pixel.c
|
9067c26e5dd2ad367c0c4aa4872e08c7790a30bb |
25-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimize compute_coveragef (Evgeny Kotsuba)
wrast/s_aatriangle.c
|
9d169138d03c38c5f138ef7e8edfe1b63353dcdc |
25-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture enums (Leif Delgass)
ain/enums.c
|
b3f717037dcba37b4ac32c9ec17061781414a8ca |
24-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence some warnings
ain/texstore.c
|
d737ad52720f2c6b10ea02cef1e3c046e52bee15 |
24-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed dither-related preprocessor symbols (bug 536406)
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
a7c52c61e5bb5dc1f1781453b757bdb9904f6a1e |
22-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
push/pop color table state (Eric Plante)
ain/attrib.c
ain/mtypes.h
|
a2473160d45f5f33f720a8af31444db227843abb |
22-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved solve_plane_chan() (Evgeny Kotsuba)
wrast/s_aatriangle.c
|
7ab14f00f02540520d6d36dd576b5e88db909923 |
22-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
glGet(GL_CURRENT_SECONDARY_COLOR) should return 4 values, not 3
ain/get.c
|
041d5d3aee42f06522baec9a12f353d8173fcde6 |
22-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing break (Leif Delgass)
ain/texstate.c
|
418ac00e7583bf3136816a43b3357e0d0b0c776d |
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_SGI_texture_color_table extension (Eric Plante)
ain/colortab.c
ain/context.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
wrast/s_texture.c
|
068a4812fc1d9e321aa65a91ceb8bc824bedc69a |
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
new X86 CPU detection code (Petr Sebor)
86/common_x86.c
86/common_x86_asm.S
86/common_x86_features.h
|
943f0c6a41aa66705ffba90a55cf75296b0bde1d |
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ATI_texture_env_combine3 extension
ain/enums.c
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
19ad3fee8c721f35ea3467c9ba4c84d1fd9ef10c |
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for NV_fragment_program for glGetString(GL_PROGRAM_ERROR_STRING_NV)
ain/get.c
|
64b4298181373d64ef2226935f70e9062536de8b |
20-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix an assertion
wrast/s_lines.c
|
a12d12d1190f1baecdedc74a0ff1b62d22615dab |
20-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use COPY_CHAN4 macro
wrast/s_aatriangle.c
wrast/s_aatritemp.h
|
8f95d790daee7c012364d689e7d86524340469c1 |
20-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use R/G/B/ACOMP indexes (Evgeny Kotsuba)
wrast/s_aatritemp.h
|
2e5c1dce4e6fc27a6968ac91986564200bc5f3bd |
20-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix IBM CPP warning (Evgeny Kotsuba)
wrast/s_tritemp.h
|
47ecdf55daa836b13f049fd28d0e2263dff8884f |
19-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
add some casts
ain/imports.c
ain/nvfragparse.c
|
5e9dd0407719be20b119259a3f4aeae1a0a1c8c1 |
16-Jan-2003 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix for framebuffer width and height when window hasn't been realized.
rivers/x11/xm_dd.c
|
1596bf398cdb4f791467ac89787f1268661af985 |
16-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
another fix for glDrawPixels + clipping
wrast/s_drawpix.c
|
08e1ef79ccaf98f64ee9f76c8a6e5a2405ce85ce |
16-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
update CurrentStack in glActiveTexture if needed (bug 669080)
ain/texstate.c
|
ed96f466373035c1b7033d57b22a483d7bd48185 |
16-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glDrawPixels hang when clipping
wrast/s_drawpix.c
|
b6f2dd2a99b49f1decf7ae258ef799634a679638 |
15-Jan-2003 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . the latest changes were in UNIX and not VMS makefile syntax. changed to VMS syntax. Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
ec4c882e4766d80bcc8a462af90c71bc3be98791 |
15-Jan-2003 |
Karl Schultz <kschultz@freedesktop.org> |
Fix SourceForge bug 664908. wglDescribePixelFormat should return the number of valid PFD's if the PFD pointer is NULL, without checking the validity of the other parameters.
rivers/windows/wgl.c
|
890bcc0be3c780ade5d92566d8a79dcffd03281d |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fragment program execution
wrast/s_nvfragprog.c
wrast/s_nvfragprog.h
|
610d59981a9f43fefe29b34ef19c184d28e2bef5 |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
First batch of code for GL_NV_fragment_program. Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
akefile.X11
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.win
ain/api_arrayelt.c
ain/api_noop.c
ain/config.h
ain/context.c
ain/descrip.mms
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/nvfragparse.c
ain/nvfragparse.h
ain/nvfragprog.h
ain/nvprogram.c
ain/nvprogram.h
ain/nvvertexec.c
ain/nvvertexec.h
ain/nvvertparse.c
ain/nvvertparse.h
ain/nvvertprog.h
ain/state.c
ain/texobj.c
wrast/s_aaline.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_vbtmp.h
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_debug.c
nl/t_imm_dlist.c
nl/t_vb_program.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
|
3c5bfac63bcbc4028c552fe74d904e6a3416ff36 |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial code for render-to-texture
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
rivers/x11/realglx.c
|
e1e446bf775a7f2ea93b4e54c7748ef603500977 |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove const from _mesa_strtof()
ain/imports.c
ain/imports.h
|
44257dacc0d5e2032b2d5eb6a6b35127c0f77a76 |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_strtof()
ain/imports.c
|
4097ea012a14656f468f3e41480ef4cbec926038 |
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
OSMesa16 updates (Eric Plante), added _mesa_strtof()
ain/Makefile.OSMesa16
ain/imports.h
|
dad19f51c3a68243987fac25aa921e5fb49ea784 |
13-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix fog stride bugs (Michel Danzer)
rivers/common/t_dd_vbtmp.h
|
ce352387fbff63f652ac0908659da41bdb767909 |
10-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove ADD_L altogether
86/common_x86_asm.S
|
e27f5e52543c339e753b23d3e1ec5b0d26c3ce70 |
09-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/16/32/ (Josh Vanderhoof)
86/common_x86_asm.S
|
25e38ce9e544d05910b668d629f16355829ac759 |
09-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved ADD_L instruction (Linus Torvalds)
86/common_x86_asm.S
|
e772bee10b036e8df0a4a0c44a416e02ae7b1545 |
08-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some float/ubyte mistakes (Daniel Borca)
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
|
ff9ef3baed31b7b6bf1706aedf7f1127fcfb6a1d |
08-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
move t->Image[i]->Format test (bug 659012)
ain/texobj.c
|
1e091f48f0434e8fb9713fbebc9d74ad68a75e34 |
08-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typo in rotation code (bug 659677)
ath/m_matrix.c
|
fa268adc9df30c8e3413990ee0e68c139ca0c069 |
08-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glCopyTexSubImage2D error checking (bug 661907)
ain/teximage.c
|
95249b2d189de093ff4a19af3f27efe4ad3e82cd |
30-Dec-2002 |
Alan Hourihane <alanh@tungstengraphics.com> |
Check that ActiveTextureARB doesn't overflow MaxTextureUnits
ain/texstate.c
|
0070285b32e06a1b33b96af30bdf96d0e1ef3a84 |
19-Dec-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Add missing break statements
nl/t_array_api.c
|
10d2259baa7fff40bbef7fe4ffd8c3f998e63d1b |
19-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
rivers/dos/dpmiint.h
rivers/dos/videoint.h
|
2df7cd4f0ceee806abf19c9189b8bb1b2b6918b0 |
19-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates
rivers/dos/vesa/blit.S
rivers/dos/vga/vga.c
rivers/dos/vga/vga.h
|
03516d9efa76720be2b0b8677573a5f93845c2da |
18-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates from Daniel Borca.
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/internal.h
rivers/dos/vesa/vesa.c
rivers/dos/vesa/vesa.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
c0fc0d4e5f5c246fc2459348a3d114b232d0c545 |
18-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
comment changes
wrast/s_drawpix.c
wrast/s_triangle.c
|
866023da660d25c60ef4646a8273dd42fb23d27d |
18-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved error message
ain/texstate.c
|
e15fd85727636627e0cc7d4fd2d5367e178e42cc |
12-Dec-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Add mechanism to destroy mutexes. Important on OS's where mutex initialization allocates memory (like FreeBSD).
lapi/glthread.h
ain/context.c
ain/hash.c
ain/texobj.c
|
6f458650bf27fc7a86e90338cf583bd44fc630c2 |
06-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
let _mesa_problem() take variable arguments
ain/imports.c
ain/imports.h
|
46b99c9016860af0cf4c4b19329fa82bddecb8ee |
05-Dec-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't crash if End received without a Begin...
nl/t_imm_api.c
|
6cb5b3475d0d4a40479702e93b3c6a7a4129bb41 |
05-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_print_texunit_state() for debugging
ain/texstate.c
ain/texstate.h
|
93e0ba8b80338e3526dcf686afef369e39391b45 |
05-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
properly handle very wide images
wrast/s_drawpix.c
wrast/s_zoom.c
wrast/s_zoom.h
|
6e179ad9efe2b9febec6411704b7b08f769c434f |
05-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-ups, comments
wrast/s_copypix.c
|
91e98cd153da9e17fa1abda2acf9c4bd5ee0976a |
04-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bad _mesa_printf() calls (mesa bug 646753)
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_vector.c
|
2a7243481a40dee437d4a95ac39b84e550aa98f6 |
03-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_DEPTH_COMPONENT to two assertions
ain/texstore.c
|
e7cf569475a2baed8f372d81657fc3516666d6ac |
01-Dec-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
declar vsnprintf for OS/2 and VMS (Evgeny Kotsuba)
ain/imports.c
|
d37363d4c042c951cf270dfb88926590658f3262 |
30-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added const to casts
lapi/glapitemp.h
lapi/glapitemp.py
|
0f8daaf6704090fb720a2462710d2342e532308a |
28-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
mask is always non-null in write_rgba_pixels and write_monorgba_pixels
wrast/s_spantemp.h
|
957a0cdb13d2564a17c1fc9f6600d6cd56cb48d7 |
26-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing call to _mesa_write_mono_alpha_span()
wrast/s_span.c
|
f345c61a59d9d979eb31fe7e9c6a035f71ac2075 |
26-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bad clear value
wrast/s_alphabuf.c
|
a87514f58e1ef21bad296e1d75b75627ca1f0568 |
25-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing ctx parameter to _tnl_flush_immediate() calls
nl/t_imm_api.c
|
3ac375b1749102f434e34197f1a67212c33797b9 |
25-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
set default texcoords for glBitmap/glDrawPixels
wrast/s_bitmap.c
wrast/s_drawpix.c
|
e44bf40402f27171305df8506e6d53c7ba9c596b |
25-Nov-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Flush IM if very small number of verts left -- prevent copy errors
nl/t_imm_api.c
|
3ac8105e9cbed4c531c38636f83065b2ef3ab002 |
20-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed cube texture auto-mipmap generation bug (641363)
ain/texstore.c
|
3a212032e76898df9cf32e179cade2fa5eb60732 |
19-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
put FEATURE_NV_vertex_program around vpstate.h include
ain/context.c
|
d6113fc20d68f5720740b89c594227d0312bab3e |
18-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring in a few AGP-related bits from 4.0.4
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
a8f002f4f494aca72eaddeb47c754ac5a0b46681 |
18-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable 1.4 extensions
rivers/dos/dmesa.c
|
1fe3b1d96459b59381be449a8dc869421071a430 |
15-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more clean-ups
wrast/s_linetemp.h
|
69e3c8b323d5bbbc0b9a228f7dd0bffa3c5df6c8 |
14-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump version to 5.1
rivers/x11/fakeglx.c
ain/get.c
|
22a47c5251ee7b91dc8f7f4f7dbeb3ad5a117b70 |
14-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of line drawing template code. Make better use of sw_span mechanism.
rivers/osmesa/osmesa.c
rivers/x11/xm_line.c
wrast/s_lines.c
wrast/s_linetemp.h
|
483982458717a285e18ff86b3a69250c7f507948 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix compilation problem (Philippe Houdoin)
rivers/beos/GLView.cpp
|
1b260aee248c7a84d52685793e95f05593d87149 |
13-Nov-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add _mesa_enable_1_4_extensions and _mesa_problem
ain/mesa.def
|
9c799cdc49e9200f5a1c7c7d9787d5729b5b0082 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of clean-ups. Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc)
rivers/osmesa/osmesa.c
|
b4497c58439455297440635b297e9c87b7904fdc |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
template code for span functions for flat, memory-based frame buffers
wrast/s_spantemp.h
|
cdf2da368d180205df3573697b51b8764048ad6e |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved function declaration into the template, define the NAME to specify the function names
rivers/dos/dmesa.c
rivers/x11/xm_tri.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
36723b6538f1b9b59981cb6402a2dd807debee27 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for NULL span argument
rivers/x11/xm_span.c
|
e21a79bfdd75b77385fb7e196c2898d96420d478 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comments about NULL mask parameter to span-write functions
wrast/swrast.h
|
4d7a1289ed5e82004ef675ba2fbb084b968d96b7 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized color buffer clear fallback (use mono-color span functions
wrast/s_buffers.c
|
21709b354b45ad6aa4669d9ef028df9c902d3552 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
init facing to zero
wrast_setup/ss_tritmp.h
|
62d821786c2b80f6b2a663f106a39e69116b02d5 |
13-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
include imports.h
86/common_x86.c
|
7069a7e3d670a27573aa158fe53c9e906f40fe19 |
12-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
apply scale factor before clapping for DOT3
wrast/s_texture.c
|
68b1d5c3158f48ef29287aa9568299285f8fea5c |
11-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
compilation fixes
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgapix.h
|
f104619b8f6ece7a60aa365c859b03fbc1d74592 |
10-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes to vishandle usage to prevent segfault in some circumstances
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
ad8cd6111e022c90c93df106c0fde6f64d205816 |
09-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix float->int Z calculation in _mesa_span_default_z()
wrast/s_span.c
|
e307931314f1145305ac2946f13f5e2f020313ec |
09-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix one-bit error in float->int Z calculation
wrast/s_linetemp.h
wrast/s_pointtemp.h
|
b6d90e50ea363f642027cbf31ae1b98a25443c8a |
09-Nov-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
fix 3dnow misdetection on new p4's
86/common_x86_asm.S
|
2c9e7ae38baacc6d5167bca53b4ae1ac23a766d0 |
08-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed active stencil face query bug
ain/get.c
|
7a4a6a3c4ca06e90b5e74d5c361173042d76b2bf |
08-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a few category lines
lapi/APIspec
|
7348df59378a02172917f38c8793aed6d6926c93 |
07-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElements
lapi/APIspec
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
42ace1c150429d0c26fd550f48779e1a6ecf43a6 |
07-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing 1.4 glFogCoord functions
lapi/APIspec
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
f48216ad0f75dc2eecc34ab6978986f564c90334 |
06-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few dispatch pointers weren't set (glGenTexturesEXT for example)
ain/dlist.c
ain/state.c
|
66ab7271016615cf485fb0b71832833d2e0f99a7 |
05-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor multi-sample clean-ups
rivers/x11/fakeglx.c
|
aca31cf6de0116b65bf55aadf9ebdff7fea7dfd6 |
05-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed glTexParameteriv(GL_TEXTURE_BORDER_COLOR) error
ain/texstate.c
|
aa3029bce1bc5bb59e91373d15035653f75d6818 |
05-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates for DOS driver from Daniel Borca.
rivers/dos/dmesa.c
rivers/dos/vesa/vesa.c
ain/Makefile.DJ
|
8115e29ddc2ea0407c3680bcc17c845f0db86332 |
04-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
misc driver updates (Daniel Borca)
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxvb.c
|
026b40f41617d0cda62a253143136bb5657829d6 |
01-Nov-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a typo
ain/texstate.c
|
e89f0792eb224d8876321668a8a39d5c58e154ab |
31-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweak pipeline flags for vertex programming
nl/t_vb_vertex.c
|
e0e6bd7ae11c40e5141b2fb700a3e4bc186e1357 |
31-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix the occasional missing triangle bug
nl/t_vb_program.c
|
8d439768589ca61b24c006c2fdb21401d4de67ec |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment about future work
ain/imports.c
|
9167d04dea5b66e07cb0f133295d56367868e19c |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/getenv/_mesa_getenv/
ath/m_debug_clip.c
|
2ad5921cf3c9737796c3485bd5b9f738fb4a3cb9 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use wrappers from imports.h rather than stdio, stdlib, etc functions.
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_tri.c
|
e1e867c3b250506f7497dd8ecd1e3960d4d76354 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some stray debug/abort code
wrast/s_drawpix.c
|
4663bd50f1e2f219bd1b2a4d902b11b936512398 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't call abort()
wrast/s_copypix.c
wrast/s_triangle.c
|
68a7ee5cbbc93c0e746dc843e0fcc1e65ad1baf6 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/printf/_mesa_printf/
wrast/s_lines.c
|
36b518a7ca98e49d95c3fe54544700004716cdef |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/sprintf/_mesa_sprintf/
ain/teximage.c
|
f16a66e97dd2586179ca8f128bb9c6c181547b00 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove debug printf
ain/texstore.c
|
6ec6b845fdf3c44436028ad6fff9471d18928719 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/BZERO/_mesa_bzero/
rivers/osmesa/osmesa.c
ain/context.c
ain/imports.h
wrast/s_accum.c
wrast/s_depth.c
wrast/s_span.c
|
9dc11a3e38a0ac0e650675157a0ccb90dcdce976 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
test both XFree86LOADER and IN_MODULE to see if we're being built as the glx module
ain/glheader.h
ain/imports.c
|
c5934054f3f3e2174a9897e901409da17c1a296e |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix potential bug in _mesa_align_calloc/malloc (Frank van Heesch)
ain/imports.c
|
3160edec3305a81e13aa2b5a3387a0a75c1747bf |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more version bumps
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
|
42649700e2043602223cf8028f73e75169b34246 |
30-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
bump OpenGL version to 1.4, Mesa version to 5.0
akefile.X11
ain/Makefile.X11
|
9bd8f97ea48baf46fc1d688b15741c192adb5436 |
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
update versioning/extensions for OpenGL 1.4 / Mesa 5.0
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/x11/xm_api.c
ain/get.c
|
46b3f976542190dd3c217a46653159f77552764a |
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix culling problem (bug 630649)
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
05a4b37707d2c598ea68c05d07a3d65bcbf5a076 |
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated email addresses
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
rray_cache/acache.h
rivers/common/t_dd.c
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_rendertmp.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
rivers/glide/fxtris.c
rivers/glide/fxvbtmp.h
ain/api_arrayelt.c
ain/api_eval.c
ain/api_loopback.c
ain/enums.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texstate.c
ain/texutil.c
ain/texutil.h
ain/texutil_tmp.h
ain/vtxfmt.c
ain/vtxfmt.h
ain/vtxfmt_tmp.h
ath/m_debug.h
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_util.h
wrast/s_context.c
wrast/s_context.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vb.h
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_array_import.c
nl/t_context.c
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_debug.h
nl/t_imm_dlist.c
nl/t_imm_dlist.h
nl/t_imm_elt.c
nl/t_imm_elt.h
nl/t_imm_eval.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/tnl.h
86/clip_args.h
86/common_x86_asm.h
86/common_x86_features.h
86/common_x86_macros.h
86/gen_matypes.c
86/norm_args.h
86/xform_args.h
|
153f15497cad3fbcb7a61362deb50b40d45c91a0 |
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
init a few more fields in _mesa_initialize_visual()
ain/context.c
|
dec2a4d4b719069c0a306cc51280cacb1b61a18a |
29-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some casts for mallocs (bug 630379)
rivers/glide/fxdd.c
lapi/glapi.c
|
d3975341e743b3436a69dedd864ccedc56b0db03 |
29-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to quiet compiler warnings.
ain/texstore.c
wrast/s_texture.c
|
5f1651ddc5149633dc9027f81060b8de660c9432 |
29-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
export new functions.
ain/mesa.def
|
367d308b8267ad86cd7623590b7bfd4737b5fbf5 |
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
wrapped a few more C library functions
rivers/osmesa/osmesa.c
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
ain/enums.c
ain/extensions.c
ain/imports.c
ain/imports.h
ain/light.c
ain/light.h
|
e781aec85d30182eea1b6dab5fb9dd06594f5671 |
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
#include fixes
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa.h
|
92c195211a9f9d6cfcf369230c799a468fa2dc37 |
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove all.h, mem.h, mem.c
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.ugl
ain/Makefile.win
|
c2836e9ac6ab643d293f9db8b52239299132c5bf |
25-Oct-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Removed src/mem.c from OpenVMS makefile Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
46458ba2130ba60983f9e2a651eb84970246ec1c |
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
include GL/glx.h
rivers/x11/glxheader.h
|
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 |
25-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Header file clean-up: 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
akefile.X11
rray_cache/ac_context.c
rray_cache/ac_import.c
rivers/allegro/amesa.c
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdrv.h
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxwgl.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/fakeglx.c
rivers/x11/xfonts.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
lapi/glthread.c
ain/Makefile.X11
ain/accum.c
ain/api_arrayelt.c
ain/api_validate.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/clip.c
ain/colortab.c
ain/context.c
ain/context.h
ain/convolve.c
ain/debug.c
ain/depth.c
ain/dispatch.c
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/enums.c
ain/eval.c
ain/extensions.c
ain/feedback.c
ain/fog.c
ain/get.c
ain/hash.c
ain/hint.c
ain/histogram.c
ain/histogram.h
ain/image.c
ain/imports.c
ain/imports.h
ain/light.c
ain/lines.c
ain/matrix.c
ain/pixel.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/state.c
ain/stencil.c
ain/texcompress.c
ain/texformat.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
ain/texutil.c
ain/varray.c
ain/vtxfmt.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_norm_tmp.h
ath/m_translate.c
ath/m_vector.c
ath/m_xform.c
wrast/s_aatriangle.c
wrast/s_accum.c
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_logic.c
wrast/s_pixeltex.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texstore.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_zoom.c
wrast_setup/ss_context.c
wrast_setup/ss_vb.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_eval_api.c
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_debug.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/t_vtx_exec.c
nl/t_vtx_sse.c
nl/t_vtx_x86.c
86/gen_matypes.c
|
d0add7cf1a6b99cafd25e23fe2fc9d0b6657079a |
23-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing code to copy texrect state
ain/texstate.c
|
47fe2fc105dfa466aeade34d615e08a250b1674a |
23-Oct-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix projtex interp bug
rivers/common/t_dd_vbtmp.h
|
e9283774dc32c8f6526448e6b666b9975dae7230 |
22-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove debug printfs
ain/texobj.c
|
cf462086246692282a4b51db4412bfb89f9c8c9b |
22-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix refcount error in _mesa_DeleteTextures (Randy Fayan)
ain/texobj.c
|
e6962b183db6af2ed9d14b8b46eeaa42fde68b56 |
22-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
add missing texture rectangle code in _mesa_DeleteTextures()
ain/texobj.c
|
c7a219ec6f6047b691a9bb32e55ec4a889ba2814 |
21-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ATI_texture_mirror_once extension (Ian Romanick)
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
ac9a65b1dd6694fa9cd3bde640d253bbb996addc |
21-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
doxygen comments (Klaus Niederkrueger)
wrast/swrast.h
|
ef31f60b12abc2109568fb8d9a2aaa70ec5c71cc |
18-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new _mesa_max_texture_levels() helper function - not used everywhere yet
ain/teximage.c
ain/teximage.h
ain/texstore.c
|
2ce0654ebabc7fc6a2881f51e496e4e1f7533087 |
18-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
implement auto mipmap generation for compressed textures
ain/texcompress.c
ain/texcompress.h
ain/texstore.c
|
8eaa2902162e145cd07a9427ec99ab0ca85aa35a |
18-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to quiet compiler warnings.
ain/macros.h
wrast/s_aatriangle.c
wrast/s_alphabuf.c
wrast/s_pointtemp.h
wrast/s_texture.c
|
6ac04f2fc6e9a5448691df59495d680ddcc740c8 |
18-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)
wrast/s_texture.c
|
e71654961868eac559210ced359c1af114138d8a |
18-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supported
ain/teximage.c
|
798d83cf67098a7df293c711e0d2c8c296fc4c8f |
18-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add casts to quiet compiler warnings.
ain/api_loopback.c
ain/attrib.c
ain/teximage.c
ain/texstate.c
|
944ea204a8784789249d6fdd70c318380140a422 |
17-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/functionOffset/offset/
lapi/glapi.c
|
10d343f407bddf011be3d2b79a6541815759785a |
17-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
patches from Gerk Huisma for float-channel rendering
rivers/osmesa/osmesa.c
wrast/s_blend.c
wrast/s_tritemp.h
|
673077c613319218be6e9dcee55035d471f87977 |
17-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Philippe Houdoin's patch, plus minor clean-ups
rivers/beos/GLView.cpp
|
8dfc5b9863f08a713177fd92847573e17febbac9 |
16-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
surround vertex program code with #if FEATURE_NV_vertex_program/#endif
ain/config.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/state.c
nl/t_pipeline.c
|
e32b9090541f0e8e44d10953017617621edb5635 |
16-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some crud
akefile.X11
ain/Makefile.X11
|
2efb3029f0fb9431742cd6ed6c7726679d102076 |
15-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove lowpc.c and highpc.c
ain/descrip.mms
|
10882b17c9d2305283be49a1970ddfcef183a8d1 |
15-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed highpc.c and lowpc.c
ain/Makefile.win
|
f7657d037eb262ee6437d7714f709026f2ecea85 |
15-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
make a few static function non-static for highpc.c
ain/imports.c
ain/imports.h
|
d2ec14c4aacebd68a9918a9c2f280fa60eee8ebe |
15-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove 'beta' from GL_VERSION string
ain/get.c
|
60b6e4fd7e85ca0ad1c4ab22433b745bf97e9280 |
14-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
context-related cleanups (ex: _mesa_notifySwapBuffers instead of _mesa_swapbuffers)
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
ain/context.c
ain/context.h
ain/imports.c
|
2871f57bcfc0a630b00743d8e5262d3685a189f7 |
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check EXT_point_parameters before calling PointParameterfvEXT()
ain/attrib.c
|
32d0d5aec4f905fe443ffdfdfae20c5b92ffb0db |
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
init swrast->CurrentBuffer
wrast/s_context.c
|
8ad1076dc2afda8ed37e5a9f6a757583eba90375 |
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another round of glRead/DrawBuffer() clean-ups and simplifications. Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
rivers/allegro/amesa.c
rivers/d3d/NullProcs.c
rivers/ggi/ggimesa.c
rivers/glide/fxddspan.c
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/x11/xm_dd.c
lapi/glapi.c
ain/buffers.c
ain/context.c
ain/dd.h
ain/mtypes.h
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_context.h
wrast/s_span.c
wrast/swrast.h
|
9e84910749744efcba06670f622cc00d279f26f1 |
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
undo previous check-in (check if ctx->Color.DrawBuffer == mode)
ain/buffers.c
|
b110ca34f0d3926bed1bd4afe77baba93eba7f1e |
11-Oct-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
lineloop fix
rivers/common/t_dd_dmatmp.h
|
d54d4633fdfafef71d61486b5d740a237f380055 |
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check mode for no change in _mesa_Read/DrawBuffer()
ain/buffers.c
|
fbc236b401c6c0ddff2d5e9f82511a264045e71d |
10-Oct-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
add GL_UNPACK_CLIENT_STORAGE_APPLE gets
ain/get.c
|
23cdcede5d225f90928ae072edf42e2fe1b12ccc |
10-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check texImage->IsClientData before freeing memory
ain/teximage.c
|
71072be182f053873728ab7012bc0b92361297bb |
10-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable _glapi_set_warning_func() call as it's not present in older libGLs
ain/context.c
|
0670eb259d2ede9d1ca1762759737b8cc31a67a4 |
10-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old TEXTURE0_ defines
ain/mtypes.h
|
433a084130322a20a816d6603552e6c612eb13d1 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old VERT_* defines, use VERT_BIT_* instead
nl/t_context.h
|
008a5dd7bb0636e4faa0606e9e4aac51d5517e16 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new vertex bitfield tokens
nl/t_imm_api.c
|
c20579d65162d8e1b4d10aca27c277d9dee068c2 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
XFree86 fixes (clib macro wrappers)
ain/context.c
|
f2c5296dd7c990f566187621835414c3015058a1 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable XMesaCreatePBuffer() for XFree86
rivers/x11/xm_api.c
|
59c5cf35c92e969f66eefd27809e72089b731701 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finally get rid of ctx->Texture._ReallyEnabled field
rivers/dos/dmesa.c
ain/context.c
ain/mtypes.h
ain/state.c
wrast/s_drawpix.c
|
614301facaf7f9943270f227a5c6503b47871a90 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a typo
ain/vtxfmt_tmp.h
|
ece3e63c98f1e8aac91f4514d0abbd5972dc722f |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
change fog from GLfloat to GLfloat[4] (like other vertex attribs)
rivers/common/t_dd_vbtmp.h
|
5fd1cc2e0e3d0bd529c3f0e347b73517bb7f162d |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/glVertexAttrib4fNV/_glapi->Dispatch->VertexAttrib4fNV/
ain/vtxfmt_tmp.h
|
d3f6b0559f1465fa87b67e2e7f47e7ea9e95450f |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing dispatch code for new AGP-related functions
rivers/x11/glxapi.h
rivers/x11/realglx.c
rivers/x11/realglx.h
|
b5974db2771bff12508441a76f72648c8afb52a1 |
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
import from DRI CVS
rivers/common/t_dd_dmatmp2.h
rivers/common/t_dd_triemit.h
|
cf69eeb1aa566386a0b1923b2a5e4dfbce6de9da |
07-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old comment
ain/dlist.c
|
e4656003caee346d9c4eb23256d73409271291a7 |
05-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Pbuffers seem to work!
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
3265fe5f8e47bfa42dd9e5e4a0e717816ad058a0 |
05-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on fbconfig/pbuffer support
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
f42d366bb6fadefb5a0e4fe19c35f88ce1345906 |
05-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLfloat/GLchan updates
rivers/osmesa/osmesa.c
|
4b334b2db68b1f448165c37fe756cc0aa80b56c5 |
05-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
restore ACCUM_BITS to 16
ain/config.h
|
6640bc3bfa59f88c8665803c1f99baf8e4a41028 |
05-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
include procs for compressed textures
ain/mesa.def
|
248b3cf727211867fca05fb42f1ef7bbdd0862cf |
05-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
remove const storage class specifier for the decl of a var that isn't a const.
wrast/s_texture.c
|
fc80ad6e62fb2b53d53756593099330477a44c52 |
04-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed a number of context fields from GLchan to GLfloat (such as ClearColor). Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
rivers/allegro/generic.h
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/dd.h
ain/get.c
ain/mtypes.h
ain/texobj.c
ain/texstate.c
wrast/s_alpha.c
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_texture.c
|
f782b8189e718974a40d72ac4f6b8d213ca99e1e |
04-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
multiple GL_POINTS can now be rendered together into one fragment span
ain/context.c
wrast/s_context.c
wrast/s_context.h
wrast/s_pointtemp.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
f8acbed50d96d35d2a354f1fe7e81594d79a3186 |
04-Oct-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Fix for bug 618459. Mods to allow compilation on VC++ 5.0 (Michael Krause)
rivers/windows/wmesa.c
|
a42e7c9172f1c41dd15da739274cb83a827c31a3 |
04-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
record GL_INVALID_VALUE in glVertexAttrib*NV() if index > 15
nl/t_imm_api.c
|
be99e845bd7979fe46d38d9b294c1ba0a0aa95b8 |
03-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished up GL_EXT_stencil_two_side
ain/mtypes.h
wrast/s_span.c
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
|
0adce5d0ed20910a41c2115e4dd0173fdcc53cdb |
03-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused ctx->Polygon.OffsetMRD
ain/context.c
ain/mtypes.h
ain/polygon.c
|
641b2307ec77e70a5b1db75934438d2fbb75613c |
02-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ctx->Polygon._OffsetAny - not really needed
ain/mtypes.h
ain/state.c
wrast_setup/ss_triangle.c
|
d8419c730e73c3be2eadfb0bee176ab06885766a |
02-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
better error checking related to YCbCr images
ain/teximage.c
|
54f3aab0c7fb30dccb41c8c79ba9dc190dbb029e |
02-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
_glapi_get_proc_address() now always returns a valid dispatch stub function (provided we're on x86 or SPARC). Later, _glapi_add_entrypoint() will fix-up the dispatch offset (which was -1). This will allow DRI libGL to avoid probing for drivers.
lapi/glapi.c
|
a329d689038ce1873dea7f447b42981b96eb99bf |
27-Sep-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . texcompress.c added to OpenVMS makefile. Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
89fb06fcc11cbe3f23521312155d6c55d869f526 |
27-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture compression infrastructure
akefile.X11
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/x11/xm_dd.c
ain/Makefile.BeOS-R5
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/context.c
ain/dd.h
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
ain/texcompress.c
ain/texcompress.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texstore.h
ain/texutil.c
wrast/s_texstore.c
|
1a0bfdc8c1d798bf09daa3a07f9f873562f6c112 |
23-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug in index_mask() (bug 609837)
rivers/x11/xm_dd.c
|
681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 |
23-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
merge gl_texture_image RowStride from DRI 4.0.4
ain/mtypes.h
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
wrast/s_texture.c
wrast/s_triangle.c
|
551b65f13754e6760e5c272ff86f8873c9c13e5c |
21-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_MESA_pack_invert
ain/extensions.c
ain/get.c
ain/image.c
ain/mtypes.h
ain/pixel.c
wrast/s_readpix.c
|
c5b995066020191982b2315fc45d05e068eee761 |
21-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
ain/extensions.c
ain/image.c
ain/mtypes.h
ain/pixel.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texstore.c
ain/texutil.c
ain/texutil_tmp.h
wrast/s_texture.c
|
473e51f2fbfb003717bb88616ea585fc8d76f75e |
19-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated BeOS support (Philippe Houdoin)
rivers/beos/GLView.cpp
ain/Makefile.BeOS-R5
86/gen_matypes.c
|
cbc1fb0a9a4c97a36608fb20483246559b4c2f76 |
19-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
push and pop ESI (Daniel Borca)
86/common_x86_asm.S
|
a9be374f82ace523c126c661399030c869201dab |
17-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
pull-in changes from DRI/Mesa-4.0.4
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
wrast/s_context.c
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
|
e1cb2fb571ee47b59020db7627e554b7d227e454 |
17-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove GLint t, pass target to _mesa_init_teximage_fields()
ain/texstore.c
|
d5bbbd41c431ad93c0867d5b0b234426d8570499 |
16-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed _mesa_generate_mipmaps() target problem
ain/texstore.c
ain/texstore.h
wrast/s_texstore.c
|
8cd2d0e7828186f1ffffb775466b1dfd21eeef33 |
16-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more detailed _mesa_error() messages
ain/light.c
|
c84e84a7342f4a10a69c0ab96f649f54586afb9d |
16-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
doxygen comments
ain/hash.c
ain/hash.h
|
57aca2bf6e82cdab43575123530fce2ba54bf9c7 |
14-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed pixel pack bug in glGetTexImage()
ain/teximage.c
|
99683bd830b46737e83aa4adacfa0941c6e098bf |
12-Sep-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Mark destroyed context as not current. (Frank Warmerdam)
rivers/windows/wmesa.c
|
4991d0f9f39b3fca8458af77ad0a060e76eb5594 |
12-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimizations to _math_matrix_rotate() (Rudolf Opalla)
ath/m_matrix.c
|
3ce6dc7f1ded54f5345e2cf87f4c42b1e7c85cfd |
08-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more detailed _mesa_error() strings
ain/texstate.c
|
6c25e3a111e19587b288dcf5384b8e5eda3edc80 |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
incorrect dimenstion passed to texture_error_check() in compressed teximage functions
ain/teximage.c
|
3f25b1a3588f54d4c147df6c0768ed10e486f52a |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT
ain/get.c
|
e41c57758d30c59cf5986f50c6f2326815c6ac53 |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed glSampleCoverage typo
lapi/APIspec
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
7d7ec0ea917e6abb5711b7c8dad0b17c8469482f |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented glProgramParameters4[df]vNV()
ain/dlist.c
|
6a1e1623fd3dca1d7fc145979d9bc05146c31596 |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
hook-up dispatch for glActiveStencilFaceEXT()
ain/dlist.c
ain/state.c
|
fdaa72bc434394755353d2b649950871001e9cbf |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_stencil_two_side and GL_NV_fence
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_stencil_two_side extension, not 100% complete yet.
ain/attrib.c
ain/context.c
ain/dd.h
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
ain/stencil.c
ain/stencil.h
wrast/s_span.c
wrast/s_stencil.c
wrast/s_stencil.h
|
530d4611ebe639fab15a2de9ff03c68b108e06fd |
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OpenGL 1.4 entrypoints
lapi/APIspec
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
3a03211aeeec5f5232a711f2f0887a93be4013e2 |
05-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_IBM_texture_mirrored_repeat (Ian Romanick)
ain/extensions.c
|
e7abc078ab09525f449911c428c8892037d9bf21 |
05-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
test for ARB_texture_cube_map when getting GL version(Ian Romanick)
ain/get.c
|
0a7fc572a7defdb7f7f23d4288bf8bbbc1ca48bd |
05-Sep-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Adding vsnprintf support for OpenVMS (needed in src/imports.c) Modified Files: Mesa/src/Makefile.am Mesa/src/descrip.mms Added Files: Mesa/src/vsnprintf.c ----------------------------------------------------------------------
ain/descrip.mms
ain/vsnprintf.c
|
7e35cc53ceaa85be27ffc758d43c9f4114d009b0 |
04-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated wglGetProcAddress
rivers/glide/fxwgl.c
rivers/windows/wgl.c
|
05ed911aca5ad0a6842ea0d6f3ac99b79ec752db |
03-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Daniel Borca
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/dpmiint.h
rivers/dos/vesa/vesa.c
rivers/dos/vesa/vesa.h
rivers/dos/video.c
rivers/dos/video.h
rivers/dos/videoint.h
rivers/dos/virtual.S
ain/Makefile.DJ
|
b9f75444e60477e7a523e7eec1bb49a8232fd4e7 |
03-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved error string
ain/teximage.c
nl/t_imm_api.c
|
ba88dd0d92e818df20752ca5a4b1cd5fb0c49f76 |
03-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/5/NUM_TEXTURE_TARGETS/
ain/attrib.c
|
ed00b2ef33bc400f5baedbeefd065d53297beefa |
03-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed compilation problem for swdd->SetBuffer
rivers/ggi/default/linear.c
|
53880a85b647e2964b7d46c96483b00197007263 |
28-Aug-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Don't call _mesa_initialize_context because we are using _mesa_create_context. This avoids calling initialize twice and fixes memory leaks. Add call to free the GL context because we are creating it with _mesa_create_context, fixing another leak.
rivers/windows/wmesa.c
|
8fefafa2200d3ea44ec46592b190654a10685b46 |
22-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
stub functions for glXAllocate/FreeMemoryNV()
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
rivers/x11/realglx.c
|
2188d002df22ac4495444fa7705af1963508f766 |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor error message changes
ain/drawpix.c
ain/matrix.c
|
62166908a947602ba8909059794fb6b9fe6813b9 |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-enable ASSIGN_NORM_GROUP( 3dnow )
86/3dnow.c
|
1e0241d3c6b619f7024c9bb98c182598642a5bc2 |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace Current.Color with Current.Attrib[VERT_ATTRIB_COLOR0]
nl/t_context.c
|
713800a495152c5b39973a781ef3659835184d21 |
21-Aug-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
update colormaterial state on swtcl wakeup
nl/t_context.c
|
2b930072b382fc7b8bf284bd8d341bf8f09ad1e7 |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/DrawDestMask/_DrawDestMask/
rivers/glide/fxdd.c
|
b79e99ad6047c18f28b65c6b027ee703f5042918 |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/ProjectedClipPtr/NdcPtr/
rivers/common/t_dd_vbtmp.h
rivers/glide/fxvbtmp.h
|
3ac01f5e4780b90659a44b2e8d0834940548ab1f |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix problems in FXgetImage()
rivers/x11/xm_api.c
|
34713c1a3c140b58b6d582f0ccf49505bce0896f |
21-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed array index typo in VERT_SAVE_RGBA() macro
rivers/glide/fxtris.c
|
9f7011b88bd8dfeb0ddeed65c4c1ef39ad44798a |
17-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added error checking for glCallLists() type parameter
ain/dlist.c
|
3efe5beefc9f9665c565f1ec5e74287b12c117e9 |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix up resulting FOGC and PSIZ when needed
nl/t_vb_program.c
|
352c13f7835918c3d2cb07f8e7dbe33e8319fcab |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
init tmp->Normal.size = 3
nl/t_imm_exec.c
|
ebe671cfad0cdf185255b4a98b9ae561e6aa77b2 |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments
nl/t_vb_normals.c
|
ea53a5b5abcd22abce33a577daafa298bac0ab15 |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
change GLvector3f to GLvector4f for normal transformation
86/common_x86_macros.h
|
946ad2720a00696a59a253d81110ea96d397a463 |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
change dest stride to 16 bytes instead of 12
86/3dnow_normal.S
|
2a1abe3b46f6671610653059df00664a8b70399c |
08-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize SWvertex array to zeros
wrast_setup/ss_context.c
|
fb8ca95dff04eb9a7b7edf49394b616f9ac99f5a |
07-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed normal stride from 12 to 16 bytes since normals are now GLfloat[4] (for vertex program)
86/sse_normal.S
|
a4ac844979a17e0d6b6967e082974a11884f2655 |
07-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-check-in - something didn't work on the previous check-in
wrast/s_tritemp.h
|
77df88727cb0a423dd5cb41498c2302d9df4fce7 |
07-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
struct sw_span is again allocated on the stack, but the arrays of span data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_lines.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_pixeltex.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_zoom.c
wrast/swrast.h
|
2353e96c320d4bd26d10dc29b57df3e9f882e6d3 |
03-Aug-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Coerce vsnprintf to _vsnprintf for windows
ain/imports.c
|
c2656d588be17ba4bd453d2164b84f606be83dd2 |
01-Aug-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
define MAXSTRING and use vsnprintf to preven overflows
ain/imports.c
|
f1dee4fe8f2dd4049bd768ab09706f6d78cc915f |
29-Jul-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Catch up windows driver with recent context mods
rivers/windows/wmesa.c
|
54572c1b93559caab2c53fe08a2f56dc8cfb1b33 |
28-Jul-2002 |
Karl Schultz <kschultz@freedesktop.org> |
export new symbols for osmesa lib
ain/mesa.def
|
5c711e3671b9e01f0bf6c1b8e64e486c5c3afe6f |
12-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix patching offsets (Sven Panne) (patch 544637)
parc/sparc.c
|
902d2faadf37a5627ab2cbcd8993825c8749ec82 |
11-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Eric Anholt's patch for Athlon SSE
86/common_x86.c
86/common_x86_asm.S
|
8eaffa2a1c807f2f966f7f48c705c91fdd3b9ab5 |
10-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
re-enable X86 code
ath/m_xform.c
|
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c |
09-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xmesaP.h
ain/buffers.c
ain/colortab.c
ain/context.c
ain/convolve.c
ain/dd.h
ain/get.c
ain/macros.h
ain/mtypes.h
ain/state.c
ain/texformat.c
ain/teximage.c
wrast/s_accum.c
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_imaging.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_texstore.c
wrast/s_triangle.c
wrast/swrast.h
|
b4338e58879a4f2eabf8af09f9dfa7adf6e9f9f2 |
01-Jul-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Adding a missing ',' in a parameter list of a routine called Modified Files: Mesa/src/imports.c ----------------------------------------------------------------------
ain/imports.c
|
4336c28c843923db3d9c8dc0a0cb2440ba94f064 |
30-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)
rivers/osmesa/osmesa.c
|
e201bef913bbb869e9c4012fcfff2406e9d55393 |
30-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
blending fixes for CHAN_TYPE==GL_FLOAT (Gerk Huisma)
wrast/s_blend.c
|
e8ed14d0c20cf5b92147f8c52cbdd86bcf1ab228 |
30-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added unofficial dispatch offsets for GL_EXT_multi_draw_arrays functions
lapi/APIspec
|
2525bc7d305f6dcab3beb75535da25a488c969b0 |
30-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsEXT().
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/dlist.c
ain/glprocs.h
ain/state.c
ain/varray.c
ain/varray.h
parc/glapi_sparc.S
86/glapi_x86.S
|
1074d8c3613bb44f12ed5dc28aec4fd7fdd79f19 |
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
indentation fix
ain/get.c
|
487047c06040112e1a2648982e378e0cca4874b8 |
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
prep for OpenGL 1.4 feature set
ain/extensions.c
ain/extensions.h
ain/get.c
ain/mtypes.h
|
4e9676fb13f60ecdbc247b120031f18cd3febcb0 |
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls. Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
lapi/glapi.c
lapi/glapi.h
ain/colortab.c
ain/context.c
ain/context.h
ain/debug.c
ain/dispatch.c
ain/dlist.c
ain/enable.c
ain/enums.c
ain/get.c
ain/hash.c
ain/imports.c
ain/imports.h
ain/mtypes.h
ain/texformat.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
ain/texutil_tmp.h
ain/vtxfmt.c
ath/m_debug_clip.c
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_matrix.c
ath/m_vector.c
wrast_setup/ss_vb.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_imm_debug.c
nl/t_imm_fixup.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vtx_api.c
nl/t_vtx_exec.c
nl/t_vtx_x86.c
86/common_x86.c
|
f1ad551604122dd2679dbd31ae6b2fa1197e9848 |
26-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix CHAN_TYPE==GL_FLOAT compile problem
wrast/s_texture.c
|
7082420653d06d572ed04843abad651f71a9f90d |
25-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed extra right-paren
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
|
07bb9884a5decd19119d9474af06c0d7ddc726b5 |
25-Jun-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
FRONT_AND_BACK culling
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
|
82d9f3c034ca60da03f3f004f63f19ac51664410 |
25-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finish-up vertex program evaluators
nl/t_imm_eval.c
|
0c3f820bf069785723510f4ad2bf4b69ba7f72e0 |
25-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove an unneeded statement in update_polygon(), added a comment
ain/state.c
|
581cc2025f6f64dbca4c78ed19510800cb05d576 |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix problems in _mesa_debug/printf()
ain/context.c
|
8e7bd03760e8dec4600cb548e9027466aebdc15a |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some _mesa_debug() calls
ain/matrix.c
|
2abbb660a2d4d89b7577998e571011c8b56261a8 |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
checkpoint: updates for NV_vertex_program evaluators - a bit more left to do
nl/t_imm_eval.c
|
d65e0beb688210a74a9814dd86c896262c5f03de |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
set stage->inputs properly (I think), plus debug/comment updates
nl/t_vb_program.c
|
455d262c55c50f5693e4385c1a997e76e9416f62 |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for NV_vertex_program evaluators
nl/t_eval_api.c
|
837bf6e2dfe9600ed47701ec67fcf0d790776022 |
23-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added new bitfields to tnl_eval_store for NV_vertex_program evaluators
nl/t_context.h
|
775669f6efcc5c1ec5c6b1aa9db2b3a61d52824a |
19-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
put XSync in get_buffer_size(), plus clean-up
rivers/x11/xm_dd.c
|
02c03ef6b4762adf33b73528c9fd672ef4697763 |
18-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program). Finished all glGet* queries for GL_NV_vertex_program. Improved error reporting in glEnable/Disable/Get, etc.
ain/context.c
ain/enable.c
ain/get.c
ain/mtypes.h
|
f92298623872d0e67749479886a445918347fde5 |
18-Jun-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Added mtypes.h inclusion Modified Files: Mesa/src/imports.c ----------------------------------------------------------------------
ain/imports.c
|
10d7f540ff48aba45225463b36a5c274e5c8e173 |
18-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new fix for initial window size problem
rivers/x11/xm_api.c
ain/context.c
|
85d816028a2472e0378afda65e7ab6f7ff4d76b4 |
18-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Port glXCopyContext bug from 4.0 branch.
ain/attrib.c
ain/context.c
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
|
83b820aa98931ef30fa73c72b2a96fe23885955e |
16-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix glXCopyContext bug
rivers/x11/fakeglx.c
|
1043a6498a7f94922be5f4b5deac89fd05cfa670 |
16-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a comment
ain/state.c
|
d834e8da8847dd411d189684c56e1d7960f97303 |
16-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed window size initialization bug
rivers/x11/xm_api.c
|
8816c70a6116d790da856d8d18228d4013e7b8d6 |
16-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment
ain/context.c
|
d66ca10c53babe3d78b8b7e8a32a947566be3448 |
16-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some braces
nl/t_imm_api.c
|
8afe7de8deaf3c9613fd68b344de8c52b02b1879 |
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_NV_texture_rectangle extension. Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
rivers/d3d/D3Dvbrender.c
rivers/dos/dmesa.c
rivers/glide/fxdd.c
rivers/glide/fxsetup.c
rivers/glide/fxvb.c
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/attrib.c
ain/config.h
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstore.c
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_points.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_texture.c
wrast/s_triangle.c
wrast_setup/ss_vb.c
nl/t_vb_render.c
|
8bdd0dc8d0e9c9cb2c71fbdd4c77e982cfc0b350 |
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
#ifdef-out unused big-endian texel fetch functions
ain/texformat_tmp.h
|
9d47f3d6b8e8054602a637fad70d4769427df8b4 |
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing ctx parameter to _mesa_debug() calls
ain/feedback.c
ain/hint.c
|
4753d60dd070bb08d0116076bcc08025c86ce857 |
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx parameter to _mesa_debug() Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxvb.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/api_arrayelt.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/config.h
ain/context.c
ain/context.h
ain/dd.h
ain/depth.c
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/get.c
ain/glheader.h
ain/hint.c
ain/hint.h
ain/imports.c
ain/light.c
ain/matrix.c
ain/mtypes.h
ain/polygon.c
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/texobj.c
ain/texstate.c
ain/varray.c
ath/m_xform.c
wrast/s_accum.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_span.h
wrast_setup/ss_vb.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_exec.c
|
5e54ddc3a69df060c3ca2acbdd45247e30c947d6 |
13-Jun-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Added <stdarg.h> Modified Files: Mesa/src/imports.c ----------------------------------------------------------------------
ain/imports.c
|
f8035450bbc6c09e9c046b0206162de486cd5f71 |
13-Jun-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Removed config.c Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
d09a1d8b29ae5841ae39b5c24c3f4693dd750559 |
13-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more removal of fprintf() calls
rivers/x11/fakeglx.c
ain/context.c
ain/context.h
ain/polygon.c
ain/texobj.c
ain/texstate.c
ain/varray.c
wrast/s_context.c
wrast_setup/ss_vb.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
|
2f35d5e9d53165f6baf2d4a7fece3bb39d945323 |
13-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a couple dumb mistakes
ain/context.c
ain/context.h
|
9a33a11d714c90162d32781ebbd2c1dfab52cfd1 |
13-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
New _mesa_debug() function to replace fprintf() calls. Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
akefile.X11
rivers/allegro/amesa.c
rivers/dos/dmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_api.c
ain/Makefile.DJ
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/context.c
ain/context.h
ain/depth.c
ain/dlist.c
ain/enable.c
ain/feedback.c
ain/get.c
ain/glheader.h
ain/hint.c
ain/imports.c
ain/imports.h
ain/light.c
ain/matrix.c
ain/mtypes.h
|
1013e4650473ef0aceac7f3cd571b982ff249250 |
12-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved big/little endian code to glheader.h. Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.
ain/glheader.h
ain/macros.h
ain/texformat.h
ain/texutil.c
|
35883ceb9389f9e5b4be8233f2326367c6aecddb |
11-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix NASM problems, remove static var in SSE detection code. (Josh Vanderhoof)
lapi/glx86asm.py
86/assyntax.h
86/common_x86_asm.S
86/glapi_x86.S
86/x86_cliptest.S
|
b58c5ad7b0a2c3ed3ecf189f284e23118091fa68 |
10-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GGI driver updates (Filip Spacek)
rivers/ggi/default/linear.c
rivers/ggi/default/stubs.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa.h
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
dd41748f63b819c36c4234a525e5609660ceb395 |
08-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing texture cube map targets
ain/colortab.c
|
112f7cdeabebb487418ca10e5911920adfb7832b |
07-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed point sprite bug
ain/attrib.c
|
f21a4872e8218c0454107686a531eb0ff19c36bb |
06-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced hard-coded 4 with NUM_TEXTURE_TARGETS
ain/mtypes.h
ain/state.c
|
e0107e87a71ffcddc9400287ee675f0011cdc31b |
06-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANY
rivers/glide/fxvb.c
wrast_setup/ss_vb.c
|
241afd837c09d42d38a23f9c5e988c50bfacfc30 |
06-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
NASM fix for *_CONTENT() macros (Josh Vanderhoof)
86/assyntax.h
|
af2a1c1d679f870a8f30b17d3cf308807be3fb0e |
05-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more big-endian tweaks
rivers/common/t_dd_vertex.h
ain/macros.h
ain/texutil.c
|
28b03c6acb203bd4b523ea5ed39920bc52fc8fe5 |
04-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use CONTENT() macro on line 205 (Josh Vanderhoof)
86/common_x86_asm.S
|
f5a078197552bc956322e2fa292b034e4ccb9d82 |
03-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
bring over Michel Daenzer's DRI changes
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
ain/macros.h
ain/texutil.c
ath/m_clip_tmp.h
|
91d6f12b4ad4d5dde42ef0c86e4531a60f770dbd |
29-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added another spot-check to verify dispatch table correctness
lapi/glapi.c
|
60f1a3c288dd663ff420fada558763d7524e499b |
29-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added GL_NV_point_sprite functions: glPointParameteri[v]NV(). Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/dlist.c
ain/glprocs.h
ain/state.c
parc/glapi_sparc.S
86/glapi_x86.S
|
1d155c1dd878d59f7cfdb6c4dfd5fc2ac2853573 |
29-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_NV_point_sprite entrypoints
lapi/APIspec
|
a078d75a27b99252ede6520e24b145106ab98aa2 |
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
some initial work for fbconfigs/pbuffers
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
6c408b46678637959dba04663fbc34eb9c4bc397 |
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced experimental MESA_sprite_point with NV_point_sprite
ain/attrib.c
ain/config.h
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/points.c
ain/points.h
ain/texstate.c
wrast/s_points.c
wrast/s_pointtemp.h
|
23d8ef3937b3b66684f7feb62446abca8e91d307 |
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
dispatch offsets for ARB_window_pos
ain/dlist.c
ain/rastpos.c
ain/rastpos.h
ain/state.c
|
22538b23b4e6026211cc795e16645c8c4778b369 |
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated vertex program dispatch
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/glprocs.h
parc/glapi_sparc.S
86/glapi_x86.S
|
ee29d3b42adba1dbb685f9a1066199ca4e6e87c8 |
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated vertex program dispatch offsets to official values
lapi/APIspec
|
02e0de263eb784e19f23182652619a2f064d6dec |
11-May-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
another checkpoint of struct immediate replacement code
nl/t_vtx_api.c
nl/t_vtx_exec.c
nl/t_vtx_x86.c
|
002483e009e7c8610a5abfbf61a43694cb34e1d3 |
09-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor change to current raster position and texcoords.
ain/context.c
ain/drawpix.c
ain/get.c
ain/mtypes.h
ain/rastpos.c
|
9228a9362cbdc6894731bf6e4ba38162eea1e6db |
09-May-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix FETCH(argb1555) mask values
ain/texformat_tmp.h
|
f595212336ae63c981f0f39f4ea1dec67ff7fe25 |
02-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_texture_env_crossbar. Simplification of some of the texture application code.
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_context.c
wrast/s_context.h
wrast/s_pixeltex.c
wrast/s_span.c
wrast/s_texture.c
wrast/s_texture.h
|
c450d57991628318696ee7a2bd052f91f480cda3 |
26-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced GLshort with GLushort in _mesa_sizeof_packed_type()
ain/image.c
|
18385b0f4e9ceb0919c4870cd330c1d8fc240c3e |
26-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()
ain/texstate.c
|
57c35b162e0d857a7f6ee80c9248b5ac1b8ab98d |
26-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)
ain/texstate.c
|
df7bd4bf11dfab769cab2043c53ca99a347ca1a5 |
24-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
test mapsize against 1, not 0 in glPixelMap()
ain/pixel.c
|
fb689193622362976c8e0fe3d85b8f52e6a34246 |
24-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EDGE_FLAG_ARRAY_COUNT_EXT to glGetBooleanv() (Bug 548277)
ain/get.c
|
dc2270b461cd84df4ea02a7ac024198949f55e8b |
23-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Apply alpha buffer control fix to accum buffer too.
rivers/windows/wmesa.c
|
e694a8765a2406838354e39d5c40dab5fbb744e9 |
23-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Fix up alpha buffer handling for Windows. - add two new Pixel Format Descriptors that do not have alpha bits to mirror the two that do. - add logic to wglChoosePixelFormat to match PFD's with respect to alpha. - Create/clear software alpha buffer as required. Now a wgl or GLUT program can control the creation of a software alpha buffer via the PFD or GLUT parms, respectively.
rivers/windows/wgl.c
rivers/windows/wmesa.c
|
62c36a2ff39d775c1f1bc377b9ddbc69e2340799 |
23-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
ain/teximage.c
|
dec0131a29584171f88e6734c0ec6a429c22b007 |
22-Apr-2002 |
Alan Hourihane <alanh@tungstengraphics.com> |
Test for NULL pointer for LoadMatrix(), MultMatrix() and Load/MultTransposeMatrix() and return without recording any errors or doing any multiplication.
ain/matrix.c
|
bcc5d46b08ce81c993266f6bd73ee73892ecbadb |
22-Apr-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Remove __FUNCTION__ macro definition from CC compile definitions. (OpenVMS only) Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
61bac6014aa15e0bec134e290aebac18f9815299 |
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for vertex program mode
ain/api_validate.c
|
28c61d5b4918cec89ada335bfb9f83d5ae3872f0 |
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed assertion, replaced switch() with if/elseif
rray_cache/ac_import.c
|
12bab63f09975504c20a5dc9b9831a8072c43506 |
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program attribute arrays seem to work now. This includes fallbacks to the conventional arrays when attribute arrays aren't enabled.
rray_cache/ac_import.c
ain/mtypes.h
nl/t_array_import.c
nl/t_vb_program.c
|
f3781eaafa54d1e4fef0de427b294c02257a3c4d |
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for vertex program attribute arrays
rray_cache/ac_context.c
|
b7752724d930aa8b93617829d814b20509f85069 |
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program attribute array work
rray_cache/ac_context.h
rray_cache/ac_import.c
rray_cache/acache.h
ain/dd.h
ain/enable.c
ain/mtypes.h
ain/varray.c
|
1113e3266f1a9df3506fb80189bfe00d9681b55e |
20-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Width/Height cut&paste typo
wrast/s_span.c
wrast/s_stencil.c
|
04df3bbe8e12d7ac44936d5de75933b28a51a8e3 |
19-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Re-scheduling of the instructions according to the MMX pairing rules. This is dificult to quantify but the improvemnet reaches about of 0.7% in some cases in a Pentium III. In older Pentiums the improvements could be quite substancial due less capable integer pipelines.
86/mmx_blend.S
|
3fe2bb8933c15a7091838fd982dbad402fe6ad43 |
19-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Added min and max blend functions. Slight optimization of _mesa_mmx_blend_add.
wrast/s_blend.c
86/mmx.h
86/mmx_blend.S
|
4fa66fa85ccc1b35411c1deb65119cde6c9d44a4 |
19-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Provide a reasonable replacement for __FUNCTION__ when using non GNU C compilers. This allows Mesa to compile with non GNU C compilers again.
ain/mtypes.h
|
bf80e1ed620836e2ca0dd3f7d2d4cb187d17563d |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allocate a sw_span struct in the swrast context instead of allocating it on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_bitmap.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_pointtemp.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
05be7ae1253ad68d80816395c3d09665e5619ebc |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass context pointer to _tnl_free_immediate(), removed backref pointer
nl/t_context.c
nl/t_context.h
nl/t_eval_api.c
nl/t_imm_alloc.c
nl/t_imm_alloc.h
nl/t_imm_api.c
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
|
0c527ab0546eb1de9ee10cc31bc386a40e6b3f98 |
19-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
MMX add blending function added.
wrast/s_blend.c
86/mmx.h
86/mmx_blend.S
|
533e88824af9f60a926e7b70ddd40ad1386be686 |
19-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
MMX modulate belding function added. Factorization of more common MMX code.
wrast/s_blend.c
86/mmx.h
86/mmx_blend.S
86/mmx_blendtmp.h
|
68c48df2bf8dd57ce96db430fff1b69f40a793ce |
19-Apr-2002 |
Alan Hourihane <alanh@tungstengraphics.com> |
Correct check for noop array state change (Raystonn)
ain/enable.c
|
26e2fb062ad4513fe88cd7c40384c58b70d88819 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a stray debug printf
wrast/s_span.c
|
4c5f8a82072e7c88bec67fd1c971db28bd1e4462 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
C++ fix
rivers/x11/fakeglx.c
|
7322cccfb9a6b640743ca8cb527f7af922260cb8 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new casts
nl/t_array_api.c
nl/t_array_import.c
nl/t_imm_dlist.c
|
6c5b7029b3b805ecfae310a6e5fef15a5609a521 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added two (GLchan *) casts
wrast_setup/ss_vbtmp.h
|
a670c1280b78e6da3b298b61f623e4c733c6be94 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to fix GLint/GLuint mismatches
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_lines.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_zoom.c
|
db07de057f10ab7ab5be84352b674b200a0a9e22 |
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some casts
ain/api_arrayelt.c
ain/buffers.c
ain/context.c
ain/enable.c
ain/texstate.c
|
36c3df78f4592443de7c065b6d539f4c2914d870 |
18-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
restored writeAll = GL_FALSE test/assignment
wrast/s_depth.c
|
55d9ee83b4c29e8f7c373ee6326bbb4f77402bee |
18-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Definition of several utility macros for self-contained MMX operations such as scaling and lerping. Restructured the MMX blending function to use a template, being only necessary to specify the main loop, which is also used for making the runin and runout sections. Optimization of the MMX function after remembering that the multiplication was commutative (how can somebody forget this..) resulting in less register usage. Now there is no need for generate or read from memory any constant inside the loop. Assemblers other than the GNU assembler can choke on the output of the C preprocessor since it was necessary to add line separators ';' to the defined macros.
86/mmx_blend.S
86/mmx_blendtmp.h
|
9ff3e9d992bcd7b195feb39a2aacc7d0ea43bd5a |
18-Apr-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Core of the future vertex engine. Isn't built yet, nor will be for a while... Checkpoint commit.
nl/t_vtx_api.c
nl/t_vtx_api.h
nl/t_vtx_exec.c
nl/t_vtx_sse.c
nl/t_vtx_x86.c
|
ef65c60d887e47d9f5da72b415b52e215850988d |
18-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Removed code that was proven to have faster alternatives to reduce complexity and facilitate reusability.
86/mmx_blend.S
|
620735af454cc2617d3d2fc681cf86f1bf47f833 |
17-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Disabled SPARC cliptest functions for now. See bug report 544665.
parc/sparc.c
|
d60bb2fbc8b61e9748ce9c235acd4e870a2df613 |
14-Apr-2002 |
Jose Fonseca <j_r_fonseca@yahoo.co.uk> |
Remaining patch for the 255x255=255 identity correction be made also in the runin and runout section of the code.
86/mmx_blend.S
|
cffb351a62ebc0e1954422cf749458106671b9d6 |
12-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Jose's latest patch (GMBT_GEOMETRIC_CORRECTION)
86/mmx_blend.S
|
8c598cfd8280357de7777019afa2a3d6ae0a7781 |
12-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes for corrected GL_DOT3_RGB[A]_EXT token values
ain/texstate.c
wrast/s_texture.c
|
d23de4d33493e6d90f82bf067e4bbc663163258a |
12-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated a few comments
wrast/swrast.h
|
b7f5e92f1749ce4601a758f66ddc64959f11742b |
12-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive type, width, interp mask and array mask.
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_pixeltex.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
9add9a21d8c51ee4238169265541fa9a40f0a8b0 |
10-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new MMX blend code (Jose Fonseca)
wrast/s_blend.c
86/mmx_blend.S
|
0cd8a1ea13f013df8e3fd16793a2a0aea4fed68d |
10-Apr-2002 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefile Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
306d3fcdbad523428501833405e47e9897896def |
09-Apr-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
bring in changes from dri tcl branch
ain/api_arrayelt.c
ain/api_noop.c
ain/api_noop.h
ain/context.c
ain/dlist.c
ain/mtypes.h
ain/state.c
ain/vtxfmt.c
nl/t_array_api.c
nl/t_context.c
nl/t_context.h
nl/t_eval_api.c
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_dlist.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_render.c
nl/t_vb_vertex.c
|
e503d8b56f45aceb719adc3db3a855a0bda6bb13 |
09-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Update filelist to reflect two removed source files.
ain/Makefile.win
|
0a79baf1bff93718e50a3ba4bad6390ea1cfb01c |
09-Apr-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
remove dead vertex assembly
akefile.X11
ain/Makefile.X11
ain/context.c
ath/m_norm_tmp.h
ath/m_xform.c
parc/sparc.c
86/3dnow.c
86/3dnow.h
86/common_x86.c
86/common_x86_asm.h
86/sse.c
86/sse.h
86/x86.c
86/x86.h
|
c030a18ea6a07f10fc0873695fb34c11d8239423 |
08-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
tranforming display list normals by non-uniform scale didn't work (Carlos Pereira)
nl/t_vb_normals.c
|
ebe4e3237c65d85bd25e66c2cf7125c2cf536a1d |
05-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
repair Array.NewState flags (Michael Fitzpatrick)
ain/varray.c
|
14209028b611a6c0056d165c6ef0fa2234fb3754 |
04-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
export more symbols for osmesa (win32)
ain/mesa.def
|
4d030ba65177842dbc022160ba18d5451dc140e4 |
04-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
casts to silence compiler warnings
nl/t_context.h
nl/t_vb_program.c
|
42f916de5cb3f4362e4682cdaa5eea00fe2de857 |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some 3D texture image stride bugs when using 16-bit channels
ain/texstore.c
|
01dc182ee86922845ba0b17a2cda9af19150c93a |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OSMesaGetProcAddress()
rivers/osmesa/osmesa.c
|
486734a5d50ff9114b567b5e9eac6337248a80e6 |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Texture combine alpha subtraction was wrong. Fixed 16-bit channel glitches
wrast/s_texture.c
|
09784e1e158c6b025342a44b3a2e8e1c336199e3 |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use NULL lambda array for pixel texture
wrast/s_pixeltex.c
|
d5c94ef40d9dfef9ad4ecaa56218150f903014e3 |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed 16 bit/channel problem in blend_modulate()
wrast/s_blend.c
|
543381510d942246020dfe5f71748539fed0d290 |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed 16/32-bit channel problems in CopyColor[Sub]Table()
wrast/s_imaging.c
|
1d84421b7e29079e25689185edcff62e7ba42e0a |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixup float/ushort conversion macros
ain/colormac.h
|
6b50a004ffb885dd86dd611979348bdf69b1151c |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
blend_add() modified for GLfloat channels
wrast/s_blend.c
|
02ee456248c75cfee324164ec6fd81a3b77ec2bf |
04-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer size changes
rivers/osmesa/osmesa.c
|
99aab341998e84d9fa208c525cae8021b3845812 |
03-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
return NULL from Fake_glXCreateContext() if dpy or visinfo are NULL
rivers/x11/fakeglx.c
|
b63e8556fa9655bdfcc69fa04663e854f7fb2fbd |
03-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
more blending updates from Jose
wrast/s_blend.c
86/mmx_blend.S
|
31fe0ade35a4d09087c575e99ecbbe6505b6e4de |
02-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org
akefile.X11
ain/Makefile.X11
|
f9e75c31e8c22828ca9829a1a32226f6569cc5f2 |
02-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DJGPP updates
lapi/glx86asm.py
86/assyntax.h
86/glapi_x86.S
|
17b7cc4caeeb8f3daaf417d417e7e3a9a5d639d1 |
02-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
faster blending (Jose Fonseca)
wrast/s_blend.c
|
01bcd83defe1e258007a4449edb8bd3072f008b0 |
02-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from Jose Fonseca
86/mmx_blend.S
|
1537b63fce36f87b3606d0e7cdca2d10bbdffd56 |
02-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_point_parameters support
ain/dlist.c
ain/extensions.c
ain/points.c
ain/points.h
ain/state.c
|
86a7cc6f2c6ec49b5f09f03a872a49bce5afbe85 |
01-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor optimization in GL_TRANSFORM_BIT popping
ain/attrib.c
|
6c921af034525fc28f006e447f62a31e00649f2c |
01-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS driver update
rivers/dos/dmesa.c
rivers/dos/dpmi.c
rivers/dos/dpmiint.h
rivers/dos/video.c
rivers/dos/video.h
ain/Makefile.DJ
|
a97d216adb6cd97926d760a4b5eadfaf1fda29f7 |
30-Mar-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Add _glapi_get_context to export for osmesa.
ain/mesa.def
|
103bc0f75c00dfcf671dc50d8d9666f88a42a59d |
29-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
ain/attrib.c
ain/clip.c
ain/context.c
ain/enable.c
ain/get.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
nl/t_vb_cliptmp.h
nl/t_vb_vertex.c
|
23d319fc7dda3ae3639c05cd2c7a8bcdac9eac36 |
29-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()
rivers/osmesa/osmesa.c
|
a68b8dfd76fa25b8e4ecaf1c6961a958e0fdfd3b |
29-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use invert_matrix_general() instead of invert_matrix_perspective() because the later fails for some projection matrices (ala Vis5D with Chromium).
ath/m_matrix.c
|
f66de793654e20704a8180538207a4736ada7996 |
28-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
decrement Transform._AnyClip when clip planes are disabled
ain/enable.c
|
934bee04f2e89ecca9861672e48fa0f958c78867 |
28-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
popping of user-defined clip planes was broken
ain/attrib.c
|
7c8b5399f079e35a5b5d91fc7c59a2d969b51d85 |
28-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
reset span.end to zero after rendering the span
wrast/s_aalinetemp.h
|
c02861778493ca65508e4dbbc2b907751811c845 |
27-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed inequality in an assertion
wrast/s_blend.c
|
e6f2b4174b988b88d341d18d2d12ff031e8f1eb2 |
25-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a bad assertion
wrast/s_triangle.c
|
636b2801d981872d3111be0cd11aa79b4cc8643b |
23-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Test implementation of proposed GL_EXT_shadow_funcs extension. This just generalizes the R/texture comparision operators to include all eight of the depth test comparisons.
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
e69bfe74d7f887fb516f300f575d43b9903d9ab3 |
23-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS/Mesa driver updates (Daniel Borca)
rivers/dos/dmesa.c
rivers/dos/video.c
rivers/dos/video.h
ain/Makefile.DJ
|
819505ad2a77679bbb71a60a9aae8b2d6ddffa06 |
23-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed temporary GL_ARB_texture_mirrored_repeat enums
ain/glheader.h
|
8334c89e70cbbd57092e3e11b9c894138b3a7953 |
23-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed temporary ARB_texture enum defs
ain/texstate.c
|
80ac8d171ce5d20fb4b2fc125797694828758581 |
19-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem
rivers/x11/xm_dd.c
|
aeb4434563c4014a662ea334878b60d3031bb3c1 |
19-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
ain/context.c
ain/image.c
ain/teximage.c
ain/texstore.c
wrast/s_accum.c
wrast/s_alphabuf.c
wrast/s_depth.c
wrast/s_stencil.c
|
d0570646bd67eae8152b63ccaf5c73970b1f56ea |
19-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix Intel C compiler warnings (Gerk Huisma)
ain/convolve.c
wrast/s_linetemp.h
|
f7c830e35ca243c391bde1bfd0ae059c292ac649 |
16-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
rename ResizeBuffersMESA to ResizeBuffers
ain/state.c
|
31f12f504e61cb2ad65b8890a68eb7154edcb64b |
16-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
New mipmap lambda calculation. Previously, trilinear filtering could result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
bc6b60c4ff81c4d677251e4c7262c0df26cda6a6 |
16-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
buffer resize changes
ain/dd.h
|
18a285a5e244b7405b85feb7315a30d99920ec5d |
16-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of changes related to framebuffer/window buffer resizing. Basically, instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
rivers/dos/dmesa.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
ain/buffers.c
ain/context.c
ain/mtypes.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_buffers.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/swrast.h
|
8d687e7e58a148f3f16573636023e54755372010 |
15-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
protect currentReadable reference with #ifndef GLX_BUILT_IN_XMESA
rivers/x11/fakeglx.c
|
1d822ea8cfa765802fe63b1a5d8d2bd83118007f |
15-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments. removed dead code.
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
a72edf01ba366b305e37dae6bba5cef4e6323a7a |
15-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove a debug printf
rivers/x11/fakeglx.c
|
8843d52af1c139d78b9f831dfc117a8390a51fda |
15-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)
ain/texutil.c
|
612fc012934d9ec61972c3cfd914923937339611 |
14-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed pointer arithmetic error in glCopyPixels
wrast/s_copypix.c
|
d488af5b34e390a9b81dac96053bd45f34ffffff |
13-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_image_image_stride()
ain/image.c
ain/image.h
|
9a888bdc2a40fd329cbc68de1c465228a5c3887c |
13-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment
ain/context.c
|
f9708e45ac819a0c589e14ea81e635fbbc8033f8 |
13-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial work for NV_vertex_program1_1 extension
ain/extensions.c
ain/mtypes.h
|
1d01794e6efa2a366057412f24f82504cc3c2d87 |
12-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed the xm_context field from XMesaBuffer. It was preventing N threads from rendering into one window in parallel and wasn't really needed anyway.
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
1c91fe2e3f6d215129a33783ad62d13ec91b7b3d |
11-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
rivers/dos/dmesaint.h
rivers/dos/dvesa.c
rivers/dos/dvesa.h
rivers/dos/vbeaf.c
rivers/dos/vbeaf.h
rivers/dos/vbeafint.h
|
b43a828ad44d0ff092c667f0ba289b8200aef22c |
08-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS driver updates from Daniel Borca
rivers/dos/dmesa.c
ain/Makefile.DJ
|
7fd50afbbf8bb36642efe0254706039af3c9c588 |
08-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new DOS driver files from Daniel Borca
rivers/dos/dpmi.c
rivers/dos/dpmiint.h
rivers/dos/vbeaf.c
rivers/dos/vbeaf.h
rivers/dos/vbeafint.h
rivers/dos/video.c
rivers/dos/video.h
|
2b9ba3f84f98d81ab6af55d292499b44f92b7cad |
08-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new assertions, use INLINE macro (Klaus Niederkrueger)
wrast/s_texture.c
|
5104b4d9df28f5bcb879b16bf5cef4ab0addda85 |
07-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor patches from David Dawes
lapi/glapi.c
lapi/glthread.h
|
0b2fa873c6da02f169a76d74d3bedd91236f8e28 |
07-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
syntax fixes for Solaris (David Dawes)
86/assyntax.h
86/common_x86_asm.S
86/x86_cliptest.S
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
c5a76cbed41b5816d2f5284f90c70364b062aea4 |
01-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence gcc warnings (Marc La France)
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
wrast/s_tritemp.h
|
09a0cb464d2bc661859c6435f2145e8a5ece005a |
01-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments for CHAN_BITS=16 or 32
rivers/osmesa/osmesa.c
|
e0193a9425807cc61779c3b8680c5b551685ba65 |
23-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
DOS updates from Daniel Borca
rivers/dos/dmesa.c
ain/Makefile.DJ
|
c7a3356746b8751fa0f04c8c0b674e26d73fdb76 |
21-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed out-of-bounds memory write problem (CONVERT_TEXEL_DWORD macro). Renamed 'packing' to 'unpacking' since we're moving data from client -> GL. Rnamed DST_ROW_WIDTH to DST_ROW_BYTES.
ain/texutil.c
ain/texutil_tmp.h
|
d0271502f81a24cbe5959e1159eddba49b7d66ce |
21-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for initialized XMesaBuffer in XMesaGarbageCollect()
rivers/x11/xm_api.c
|
ad7306b23cbcc55cb9c943de8da2e3f80b3b46c4 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated 1D/3D/cube mipmapping code to work like the new 2D code.
wrast/s_texture.c
|
711e27fda27e4235b20a4cf73c2767c984ab2b81 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplified fog code.
wrast/s_fog.c
wrast/s_fog.h
wrast/s_span.c
wrast/s_span.h
|
983bc3e018ad6a36f0feeac70974cb30a90698b8 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include s_fog.h
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
4f252bd98048736a489b07f973c8e7f39d713877 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of improvements in the 2D texture sampling code. Fewer function calls and no more switches inside loops. To do: give the 1D/3D/cube routines the same treatment.
wrast/s_texture.c
|
c14a5a6c6285b29860a722359faa11a16da4eac9 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Optimized the interpolate_texcoords() function: Use fast approximation to log(). Check for dq==0 to avoid a per-pixel divide.
wrast/s_span.c
|
8baae48fb7e8cdc3490b9e090c1a7e321b243992 |
17-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed dead code
wrast/s_texture.c
|
9ac7182ec4558cb0c3a6481c72732f05feb50a60 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
use separate GC for SwapBuffers to avoid colormask problem
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
|
2e47ff7b9c4b7092c9a1d6c29eb03f440cd701a0 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finished up GL_ARB_depth_texture and GL_ARB_shadow
ain/mtypes.h
|
9a3061715cfa8339fa792f67d5c32ea12fee3def |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated VERT_BIT_* definitions
86/gen_matypes.c
|
4182cf60d96a077a66675e89694529b5f9e4b329 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finished up GL_ARB_depth_texture and GL_ARB_shadow.
ain/extensions.c
ain/texobj.c
ain/texstate.c
wrast/s_texture.c
|
c9ceef41fe89f5ba6e16ec51c1f9b7bfd8119c64 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_window_pos fog fix
wrast/s_span.c
|
a8f2efd1476878c3acad2a03f3164b5a691ea366 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished up GL_ARB_window_pos
ain/rastpos.c
|
70b8d304bb5224698aaf9d76dd603c8293d0bbf3 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a glClear() error check
ain/buffers.c
|
4ba35633d65be1ade60946bba36b5dd51880e13a |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a multitexture MatrixMode() bug
ain/matrix.c
|
c4c4213b69b599bcdefe1c7720908fe5884f44b6 |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
rivers/dos/DEPEND.DOS
rivers/dos/dosmesa.c
|
ce57201825e661800ce39e98eeae090ac118cdcf |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
uniformly pass texcoords as GLfloat [4]
wrast/s_texture.c
|
09700ee358cd07634161ac7802e97ddbe6c075bf |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added alternate glBitmap code (disabled)
wrast/s_bitmap.c
|
a048da076711e38829402418d1d96acfaa8360ee |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SPAN_SPEC flag in smooth_multitextured_line()
wrast/s_lines.c
|
3ff07d20621811178b64a935f1de0400bde902aa |
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed float->int conversion. Fix conditional for 16-bit Z buffer path
wrast/s_drawpix.c
|
ca7596e8348f3e065609b9840e8fe98d177aa89d |
14-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated GL_VENDOR string
rivers/x11/xm_dd.c
|
95e2c72fd52d87163eb543555345f115f050f3aa |
14-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
wrast/s_span.c
|
d4e02d60260cd93446d42fcf30b24430b396478e |
14-Feb-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove debug
nl/t_imm_exec.c
|
0cb28418d06c30e431bdff515c1d36a812d5950d |
13-Feb-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
More suport for t&l drivers Fix GLuint compare bugs Fix RESET_STIPPLE calls
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_vbtmp.h
ain/attrib.c
ain/attrib.h
ain/dd.h
ain/enable.c
ain/light.c
ain/macros.h
ain/mtypes.h
ain/state.c
ain/state.h
nl/t_context.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/tnl.h
|
12a1024d9d003afe1212cc48af04dac81c034299 |
12-Feb-2002 |
Karl Schultz <kschultz@freedesktop.org> |
fix compiler warning (windows)
wrast/s_blend.c
|
db41d2ea8c8b6ceddf54f87268085a83d8f342ba |
12-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Daniel Borca's new DOS/DJGPP driver.
rivers/dos/dmesa.c
rivers/dos/dmesaint.h
rivers/dos/dvesa.c
rivers/dos/dvesa.h
ain/Makefile.DJ
|
bcb148de9201c7f90a68c7c46434e7ebf7204000 |
06-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added an assertion, fix typo
wrast/s_span.c
|
2784dadafc82595e885fa3158ac8bdfb68c362a5 |
06-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo in depth_test_pixels(), should fix reported VTK failures
wrast/s_depth.c
|
c4afba36c3d4b45105bbba3252a3bd7f501bee22 |
06-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix evaluator data and matrix stack mem leaks (Robert Bergkvist)
ain/context.c
|
79c2f534916046fab91f53ebd37f705bd25f7dcb |
04-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up and remove dead code related to depth/stecil testing.
wrast/s_depth.c
wrast/s_depth.h
wrast/s_span.c
wrast/s_stencil.c
|
ac8c241e6419f1bd85aa37849a8d7b3c050ff97b |
02-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed references to removed source files
akefile.X11
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.ugl
ain/Makefile.win
ain/descrip.mms
|
b37a084357dd08573b86d6d8c5ba43d65bdc1bd7 |
02-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Converted line drawing over to new span code, pb no longer used. Big clean-up of line drawing code. Removed many obsolete span processing functions.
wrast/s_aalinetemp.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_blend.c
wrast/s_blend.h
wrast/s_context.c
wrast/s_context.h
wrast/s_depth.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_points.h
wrast/s_span.c
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texture.c
|
733a4b602bbbfda83ee03b7ae4f3737bbe659034 |
02-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
sw_span can now hold x/y arrays of fragment positions - getting ready to ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_accum.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_points.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_triangle.c
wrast/s_zoom.c
wrast/swrast.h
|
ceb39f4f8dc4863fde17d668c752533a2184476e |
31-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up and optimize alpha test code. Major clean-up of pixel zoom code.
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_zoom.c
wrast/s_zoom.h
|
e0bafefd7ac911ec101876f4ea0d201309e841f2 |
30-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8
wrast/s_triangle.c
|
1cefc83a8802deb53a176e20fd2d23b8ce47909f |
30-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32
rivers/osmesa/osmesa.c
|
eae38ca1b23cb78d0130d8b30d167a9d12b9f4b2 |
30-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problem
ath/m_trans_tmp.h
|
6e1666437ea091ecc50ab2b56d87129318f641d2 |
28-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Still more texture/span simplification and clean-up. Updated comments, fixed indentation, etc.
wrast/s_copypix.c
wrast/s_pixeltex.c
wrast/s_span.c
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
|
7956292a765910077f50352d7cd0174e1e66d26c |
28-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
More span improvements. Removed _mesa_write_monocolor_span(). Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
wrast/s_aatritemp.h
wrast/s_copypix.c
wrast/s_fog.c
wrast/s_span.c
wrast/s_span.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
f1e236987829393c81dc86ea19cb49eefe190317 |
28-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
More span clean-up, mostly texture-related. _mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_zoom.c
wrast/swrast.h
|
2a182a98973edc9ecf2936b1288485bb2b3fa722 |
27-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
LOTS of changes, building upon Klaus's work. struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_alpha.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_pixeltex.c
wrast/s_pixeltex.h
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
6ee7a02852e45efbfe2843c450dd72243f703430 |
22-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing IsEnabled() cases for fog coord and secondary color arrays
ain/enable.c
|
4c8fadc6d996c8c433826c4c763104b7d69cf7e5 |
22-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up/renaming of the per-vertex attribute bits, specifically, the VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
ain/mtypes.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_debug.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
86/gen_matypes.c
|
2ef866d1fc0a5cc5ef8543d65744dfd4da4dbbaf |
21-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Klaus's latest patches and some clean-up
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_depth.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_triangle.c
wrast/s_zoom.c
wrast/s_zoom.h
wrast/swrast.h
|
658702df9706860c0b6777593bf3a1791cc988e6 |
16-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed PB (pixel buffer) to use texcoord[4] array
wrast/s_lines.c
wrast/s_linetemp.h
|
028fe46fc5c48b6481be2850c0cfa8c929b45728 |
16-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
set PB->haveSpec in line functions that emit specular color
wrast/s_lines.c
|
72574b959c39981033069e367a12c5ae595dd93a |
16-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added another test in regions_overlap() (Klaus)
wrast/s_copypix.c
|
78940758e90069ceaca2b6cddb6438488fbad5cc |
16-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
latest changes from Klaus
wrast/s_span.c
wrast/s_span.h
wrast/s_triangle.c
|
4197c0ea9b6784d293b26d68c4c62e5edb87cda6 |
16-Jan-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Fixes for 24-bit Windows devices. The old code was trying to do 3-byte stores with a full DWORD store (yuk). (Jeff Lewis)
rivers/windows/wmesa.c
|
858b694b6478c0139fbe4a6da16fc97d99fcf5c4 |
15-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some missing error checks
ain/drawpix.c
wrast/s_drawpix.c
|
25c5f1b448bc45e10bfbcfbfa816239ab809cdab |
15-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed Windows compile problem with gl__unused413() function.
lapi/glapitemp.h
lapi/glapitemp.py
|
2ff30b21bc75d4121d4107e67b13f494664e5687 |
15-Jan-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Correct typo (vpstate.c) so that makefile works.
ain/Makefile.win
|
e19f5d7cb77c5ce019736c4729499a5492c4633b |
15-Jan-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Remove phantom tab on a blank line to allow compile on IRIX.
akefile.X11
ain/Makefile.X11
|
47507f4464ebe854c1c7ba05a28853ece971bc9a |
15-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed api_compat stuff
nl/t_imm_dlist.c
|
f2e5c19a2fb2265fc686c06c0f58e2980a11b0ef |
15-Jan-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Fixed pixel color component problem and clear code for 24-bit Windows devices. (Jeff Lewis)
rivers/windows/colors.h
rivers/windows/wmesa.c
|
807aea838b4e83d1aebd4b2c33e03a100c3c2e31 |
15-Jan-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Remove trailing CR's. No logical changes.
rivers/windows/colors.h
|
24f7c0c9448d53a3de694cb5d9c68acd1339068a |
14-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove api_compat.c
akefile.X11
ain/Makefile.X11
|
03c0c2e8aa5e5f1b430c4b3faa1f9ad92b1b71eb |
14-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed api_compat stuff, there's a better way. Fixed FogCoord / SecondaryColor mix-ups in api_arrayelt.c
ain/api_arrayelt.c
ain/api_loopback.c
|
fe9f62ff18a093bf3ecff6edea509cb72c9d14a6 |
14-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
oops, missed vpstate.c
ain/Makefile.win
|
7fc487d38bef888a8f59d582c304fc2b88e3846a |
14-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added vertex program sources
ain/Makefile.win
|
21cb88911a1976b4fcdfe4706d3e9853848d980d |
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't apply scissor box in read_fast_rgba_pixels()
wrast/s_readpix.c
|
3e276d43a22b043c1aa33c21ef3513a66d382dca |
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some comments
ain/mtypes.h
|
166718f7499b41f5fbab2c5d69b75174ef9fe66b |
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated some comments
nl/t_vb_program.c
|
c6755aa6d55493a000644ba74233387d408d070f |
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
set _NeedEyeCoords to zero if vertex program is enabled
ain/state.c
|
8e6d305c89fa2e6d36801707390ed4dbe14fd824 |
11-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed gl_client_array's Enabled field to GLuint so it can actually hold the flags we're storing in it!
ain/enable.c
|
2edd1807f85a5118dcd0c20156a2d68f5c23d145 |
11-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved _mesa_VertexAttribPointerNV into varray.c. Removed dead placeholder functions from vpstate.[ch]. Changed gl_client_array's Enabled field to GLuint so it can actually hold the flags we're storing in it! Always do the switch (type) code in the vertex array functions to that <type> gets error checked!
ain/mtypes.h
ain/varray.c
ain/varray.h
|
9927f1978da8530416f699d084dda099720e43e6 |
10-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_pixeltex.c
wrast/s_pixeltex.h
wrast/s_span.c
wrast/s_span.h
wrast/s_texture.c
wrast/s_texture.h
wrast/swrast.h
|
2e99cbd9539cf686a45ffdfb9ec6c6a88e3aaa47 |
10-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
init whole immediate struct to zero
nl/t_imm_alloc.c
|
0c5c1392abcd619f7f0a17c986b156d877738d40 |
09-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed int->float conversion bug in _mesa_TexEnviv()
ain/texstate.c
|
35e5e89f5614ebb032479b02dec888563f829b30 |
09-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_REPLACE / GL_RGB bug
wrast/s_triangle.c
|
fd1727bd1064ee2323c924cb4002d4d9a89780bf |
09-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
texture env color wasn't used correctly in GL_BLEND mode
wrast/s_triangle.c
|
97291208cb34ab97e63a3c32edacae2d580675a6 |
08-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
work-around for QNX compiler problem
wrast/s_stencil.c
|
571a1ac6eead573777b990b31fce16987d894adb |
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented vertex program point size control
ain/enable.c
ain/mtypes.h
wrast/s_points.c
wrast_setup/ss_vb.c
nl/t_vb_points.c
nl/t_vb_program.c
|
363049160da54f4aafe88f99bb2140a9bfed142b |
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another vertex program checkpoint: clean-up of vertex attribute storage in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
ain/mtypes.h
wrast_setup/ss_vbtmp.h
nl/t_array_import.c
nl/t_context.h
nl/t_imm_elt.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_fog.c
nl/t_vb_points.c
nl/t_vb_program.c
|
e2053d16901732f4947c702cdc5ef72993d8d130 |
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/eval.c
|
bc42c19f22c3b719712529d86faea818f34150a2 |
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
infrastructure for vertex program attribute evaluators
ain/attrib.c
ain/context.c
ain/enable.c
ain/eval.c
ain/mtypes.h
|
bd1a9dacf6a45e6aa6954eeb490d55ebcc80ace8 |
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program checkpoint commit: converted all vertex attributes (color, normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
rray_cache/ac_import.c
ain/mtypes.h
ain/varray.c
ath/m_debug_norm.c
ath/m_norm_tmp.h
ath/m_xform.h
wrast_setup/ss_vbtmp.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_debug.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_fog.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_program.c
nl/t_vb_texgen.c
|
ca209ae1f95760bef87a10bca031bdbd6fb3ac3c |
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments, clean-ups, added lots of const qualifiers
ath/m_norm_tmp.h
|
cab83b8aa9e8269ad9c6f905e1bc850689b8ef5c |
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments, clean-ups, added lots of const qualifiers
nl/t_vb_lighttmp.h
|
8d0499b75ed783fe52094d841b533b559aa3f2b1 |
04-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug 498555 - test for __GNUC__
86/assyntax.h
|
78c2aa0b51925bf617728842d7f9d4dc822a33d7 |
03-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
regenerated from updated glsparcasm.py script
parc/glapi_sparc.S
|
efe2baadb8752c7bc9e9f34f750aa1c6ea607461 |
03-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use macros, just expand them in-line
lapi/glsparcasm.py
|
1fb0a43c16190f4d043b8a0918361bee76b37e5f |
28-Dec-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove warnings about the difference between function pointers and (void *) pointers.
ain/api_arrayelt.c
|
1a6f4889084794827d61caa0dfa3074aef576e79 |
21-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add _compat_VertexAttrib4fNV
ain/api_loopback.c
|
2391f4cec627def55119738413592d8a1fbfc50f |
20-Dec-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Define finite as _finite for Windows.
ain/glheader.h
|
fc00cbe8d1ac48faf345e41a13757a8a1e2e5ebe |
20-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Further help with dri libGL version skew
akefile.X11
ain/Makefile.X11
ain/api_arrayelt.c
ain/api_loopback.c
nl/t_imm_dlist.c
|
1643203a936ae5503d5cf23177e444ac5971e7d1 |
20-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix clipping problem on mga
rivers/common/t_dd_vbtmp.h
|
a359d3488a31132d9fce3f9bc4586e730fde35bd |
19-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
some display list support for vertex program extension
ain/dlist.c
|
fa6b2fba7ad0504a63ab262f602c6f50f336ca1b |
19-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix a comment typo
wrast/s_triangle.c
|
f47efb5ab32534fc5c42b5bc88a6b24cb514ce53 |
19-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
have to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera bug)
wrast/s_triangle.c
|
c6a14906c61d3cc1a9849d20d587e719ba8672b9 |
19-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some cruft
nl/t_vb_lighttmp.h
|
30f51ae067379c2b3573c06b707d25a9704df7be |
18-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace old matrix stacks with new code based on struct matrix_stack. Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
ain/clip.c
ain/config.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/get.c
ain/light.c
ain/matrix.c
ain/mtypes.h
ain/pixel.c
ain/rastpos.c
ain/state.c
ain/texstate.c
ath/m_matrix.c
wrast/s_fog.c
wrast_setup/ss_vbtmp.h
nl/t_context.c
nl/t_context.h
nl/t_vb_fog.c
nl/t_vb_normals.c
nl/t_vb_program.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
86/gen_matypes.c
|
645ced29552da1af5c759d0497d98c8f55b72935 |
17-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable prototype matrix stack code
ain/context.c
|
aea09490f5fc23a1fb65cd1f113912b9c5cb0924 |
17-Dec-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update OpenVMS makefile for vertex-routines #ifndef __VMS added for one print statement containing __FUNCTION__ Modified Files: Mesa/src/descrip.mms Mesa/src/tnl/t_imm_api.c ----------------------------------------------------------------------
ain/descrip.mms
nl/t_imm_api.c
|
3ade8af7ffce434bb612df67f8e5a780885f991c |
17-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some debug printfs (disabled)
wrast/s_tritemp.h
|
10f30eb43835c57c00783390a02d72daf4f78e26 |
17-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
first checkpoint commit of Klaus's new span code (struct sw_span)
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texture.c
wrast/s_texture.h
wrast/s_trispan.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
57d6e1aebf1f850686a2c8d3a246fb388ec23979 |
17-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
first checkpoint commit of Klaus's new span code (struct sw_span)
wrast/s_triangle.c
|
c843a1a039685e143b21297ef5be0e16ea18dfd5 |
17-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove conditional in RESET_STIPPLE to fix conformance failure
nl/t_vb_render.c
|
54772892bd3d54ab0c257b6def639a704e640a66 |
16-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated vertex buffer identifiers
86/gen_matypes.c
|
e3a0f3982421aa8773735e9727b12bba8af6610a |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
divide by W and clipping now work - in pretty good shape now
nl/t_vb_program.c
|
56790ced1a1896244afcfeceb77f25b7c5b8991a |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
temporary hack for divide by W
nl/t_vb_program.c
|
b15a3b4d132cff44fa7881ac36313764f88e4340 |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
better api trace/log messages
lapi/glapitemp.h
lapi/glapitemp.py
ain/dispatch.c
|
d2237d48eccbd47a4e69078c25de09453730d298 |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program fixes
ain/vtxfmt.c
|
c3d90f3211d3214722a60c46ec5cef7c65836b39 |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable debug printf's, fix a crash
nl/t_imm_api.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_program.c
|
36c77a81add227cbd04489c679ede111b1d7754c |
15-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
free the NormalLengthPtr if non-null in _tnl_free_immediate()
nl/t_imm_alloc.c
|
9745d479913af5cff71821bb4bee42c3d9d0fb26 |
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added newline characters to trace strings
lapi/glapitemp.h
|
7c8db694ccb1034b103d212fe52493ceb4d1059e |
14-Dec-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Remove rules that were put into place to deal with compiling files that are in subdirectories of this directory. The list of rules that were here was out of date for Mesa 4 and would likely get out of date again. It is better to have make handle it (e.g., use pmake -v on IRIX).
akefile.X11
ain/Makefile.X11
|
15d4a2327d083c0161e2ab1a9609811dcd2d0d37 |
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweaks
lapi/glapitemp.py
|
b638c34381004aa2a778227bad51d259d05a9b53 |
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor dispatach table changes
ain/dlist.c
ain/state.c
|
86b842790b720cd6b1499ce8edca8a4e9c8dc029 |
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program check-in
akefile.X11
rray_cache/ac_context.c
rray_cache/ac_import.c
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/Makefile.X11
ain/api_eval.c
ain/api_loopback.c
ain/api_noop.c
ain/api_noop.h
ain/attrib.c
ain/context.c
ain/context.h
ain/dd.h
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/glprocs.h
ain/light.c
ain/matrix.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
parc/glapi_sparc.S
wrast/s_bitmap.c
wrast/s_copypix.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_debug.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_program.c
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
86/glapi_x86.S
|
680522f74c8b7bf982eab1bc127269521c48a632 |
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
add dispatch offsets for vertex program functions
lapi/APIspec
|
faaa88fc488c3046a7391dba6bb75c07e0aaebc5 |
13-Dec-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Remove const from save_TexParameteri to match prototype for glTexParameteri. Allows compilation on IRIX.
ain/dlist.c
|
d9331ae71ee6fbba0f2b17d68b2f0f45e98a38f9 |
13-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed errors in feedback for glDraw/CopyPixels and glBitmap
ain/drawpix.c
|
59235bd5da794557613463bc942de0c634d2d961 |
13-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
special case blend optmizations (Jeremy Fitzhardinge)
wrast/s_blend.c
|
c3209d45adc2d739ecec34fb1c9d2b675c2e4b21 |
13-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
call FLUSH_VERTICES() in _mesaTexParameterfv() (bug 491832)
ain/texstate.c
|
5246b6c9d1c67bf8ed9019e6c5ddfff62616ab1e |
13-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for ubyte colors
rivers/common/t_dd_vb.c
|
59e5b90452f069e44780420e681dba67c462ae88 |
13-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix primitive calculation in 1-line dlist immediates (molecules)
nl/t_imm_dlist.c
|
09fc9324f6fd0f408cf3191a2eac4f704de502ab |
11-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix glut tess lockup
rivers/common/t_dd_dmatmp.h
|
ef4f5b391e560e535b25b372f797e41edeef09f1 |
05-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add inf and nan tests to swrast functions
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_linetemp.h
wrast/s_pointtemp.h
wrast/s_tritemp.h
|
aecfb51c304a6d71810ba5ae6ab9c4e344b816a9 |
05-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed potential array overwrite problem
ain/pixel.c
|
014ec1ac5e98e86836285a176d7674bc43a00cd7 |
05-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/texobj.c
ain/texstate.c
wrast/s_texture.c
|
471a774f433c23b263828aa591415741e78a35da |
05-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
dispatch changes to minimize hassle with XFree86 libGL
lapi/APIspec
lapi/glapi.c
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/api_loopback.c
ain/dd.h
ain/dispatch.c
ain/dlist.c
ain/glprocs.h
ain/state.c
ain/vtxfmt.c
ain/vtxfmt_tmp.h
parc/glapi_sparc.S
nl/t_imm_api.c
86/glapi_x86.S
|
c34cb25bdd63766a26db771353d7a96c07f112a8 |
04-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
further tweak to dlist change
nl/t_imm_dlist.c
|
aa46094ca671a9a110338c4649a9f28bad83f5b9 |
03-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
guard ResetStipple calls
nl/t_vb_render.c
|
4ea18fc2dc25abc62427e8fb84d6f0655f46a587 |
03-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fx another place where PRIM_PARITY is calculated
nl/t_imm_fixup.c
|
a8b25ada45f7bb845cfda5c77855306ef2ba180b |
03-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
simplify drawarrays paths
nl/t_array_api.c
|
3a825a85f13b86b3a9658aeb7d3793b98fcb48cf |
03-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
avoid side-effects in macro param
nl/t_eval_api.c
|
bfd2ae6e99535a729d09f110b7c06cf62ad83041 |
03-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
correctly reset input after dlist execution
nl/t_imm_dlist.c
|
e6373ba6d7dcb667280d87065cd0bdff6900bdd7 |
30-Nov-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Corrected bad line breaks in macro definitions within code compiled when BEOS_THREADS is defined. This usually does not cause a problem when BEOS_THREADS is not defined, but the bad line break in this case put the "#name" text as the first non-white space in a line, causing the IRIX C preprocessor to think that it was a preprocessor directive, and that generated a distracting warning. I also fixed a couple of other line breaks that seemed wrong to me.
lapi/glthread.h
|
bce1689d5ba745d88cd2f56f7eebd61c43f68036 |
30-Nov-2001 |
Alan Hourihane <alanh@tungstengraphics.com> |
Don't reset _tnl_CurrentInput when in DestroyContext.
nl/t_imm_exec.c
|
7b2a146d3a7d3bb7ab6b60a829e25e076197da29 |
30-Nov-2001 |
Karl Schultz <kschultz@freedesktop.org> |
main trunk is now 4.1
rivers/osmesa/osmesa.def
ain/mesa.def
|
209e1348bd7bec0c9824819bed9d873939e9822b |
29-Nov-2001 |
Karl Schultz <kschultz@freedesktop.org> |
update to version 4.0
rivers/osmesa/osmesa.def
ain/mesa.def
|
4e6c835210bd0e8e8467a1c75723af6af4b41fb4 |
29-Nov-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
use smaller buffer when decomposing large drawarrays, for cache goodness
nl/t_array_api.c
|
d8af040f5eb2dd2e40339b83a02f4a42b64619ad |
28-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment about CHAN_BITS
ain/config.h
|
e4eba730604eaec5328988fb5236b461ad15de97 |
28-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use v2 color, not v0 in flat_ci_triangle()
wrast/s_triangle.c
|
2f3d6203989e3a9843a548796b2c2062f470517e |
27-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't directly call glSecondaryColor*EXT() or glFogCoord*EXT()
ain/vtxfmt_tmp.h
|
70c05e67814a25c5a61b359e78323eea9b6f512f |
27-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't use near and far for parameter names
lapi/APIspec
|
20517ce040bc9462129d286f084bfc5a50c587e4 |
26-Nov-2001 |
Karl Schultz <kschultz@freedesktop.org> |
avoid using near and far as variable names since they are reserved words in the windows compiler.
lapi/glapitemp.h
|
f660ec6ff82e06b08e088a7be93dbf75dc324039 |
26-Nov-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Possible fix for vtk tristrip bug
nl/t_imm_fixup.c
|
358ed73e1db4826fca3c33f78553ffd9322df109 |
23-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix for bug 474479, remove Trace/* stuff
akefile.X11
ain/Makefile.X11
|
cbf9731119647e5c75be9dbb3042155c9b952292 |
22-Nov-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Another locked drawarrys fix
nl/t_array_api.c
|
d3be9827839efc26516a0f90d7415e2d7b305fb0 |
19-Nov-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
3dnow normalize_normals broken, disable
86/3dnow.c
|
3f766b7a89cfb63867857fc3d97f8dca50895981 |
19-Nov-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
possible fix for cva ignore start index bug
nl/t_vb_render.c
|
71340e861edf35bfdeb536718cd230fc33c41ee2 |
19-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More span rendering optimizations from Klaus Niederkrueger
wrast/s_span.c
wrast/s_span.h
wrast/s_texture.c
wrast/s_triangle.c
|
71515b9175df29e0b230c1930a1786779325e70d |
19-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added test implementation of GL_ARB_window_pos
ain/extensions.c
|
6d9b899342af68a01dea9ab0891f8c488015fd04 |
19-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a glitch
lapi/glsparcasm.py
parc/glapi_sparc.S
|
5b7dab2e4c7df1fde0a7fcf28b8b54745b9fcd2e |
19-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added test implementation of GL_ARB_window_pos
lapi/APIspec
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/dlist.c
ain/glprocs.h
ain/mtypes.h
ain/rastpos.c
ain/rastpos.h
ain/state.c
parc/glapi_sparc.S
86/glapi_x86.S
|
a6a997c2340d54c02452c8217e796ce8a6384046 |
18-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
included by glapi.c
ain/glprocs.h
|
b5fd886ee12ef52126969f712dee0bd4b2eea706 |
18-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
API dispath updates
lapi/glapi.c
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/api_loopback.c
ain/dd.h
ain/dlist.c
ain/state.c
ain/teximage.c
ain/teximage.h
ain/vtxfmt.c
ain/vtxfmt_tmp.h
parc/glapi_sparc.S
nl/t_imm_api.c
86/glapi_x86.S
|
4fe0f9d2a92b4a35b3bf993fe5b6e828e84b4bda |
18-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
new, simpler API specification file
lapi/APIspec
|
6c0d72f9c05f490a52a9f8c8108cd8598e65942c |
18-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
new Python API generator scripts
lapi/apiparser.py
lapi/glapitemp.py
lapi/gloffsets.py
lapi/glprocs.py
lapi/glsparcasm.py
lapi/gltable.py
lapi/glx86asm.py
|
0ee6a5604d6e7c9d35733285941ed7624b6be63b |
13-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved AA subpixel sample positions (Ray Tice)
wrast/s_aatriangle.c
|
1b37d6c3055150fc5321e003bdca057a5b0daafa |
13-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
BeOS thread support (Philippe Houdoin)
lapi/glthread.c
lapi/glthread.h
|
4b7ccad6829d11c07f1ceac3b3d12f8aec9e640b |
06-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
casts to silence warnings from gcc 2.96
rivers/glide/fxddtex.c
rivers/glide/fxtris.c
rivers/x11/xm_api.c
wrast/s_lines.c
|
87c964d3885d84959f86d5d7d9c4358240b6da3c |
06-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
ain/config.h
ain/context.c
ain/get.c
ain/mtypes.h
ain/texstate.c
|
85e7d7c1d889f867762c6f62070729089f1877ac |
03-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix error in error checking conditional (bug 476846)
ain/teximage.c
|
dc31d67c0e48a8380baad738bec2673416c44911 |
02-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
init the hash table mutex in _mesa_NewHashTable (Won-Suk Chun)
ain/hash.c
|
acf0c0a1e1a5dd3e99e4ae41ae81a67d2b2864b7 |
01-Nov-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Updates for improved DirectDraw support (Daniel Slater)
rivers/windows/wmesa.c
rivers/windows/wmesadef.h
|
52ef4cc59a4205c2b469d2158f1a72124e9bddf8 |
01-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some (void *) casts to silence gcc 2.96 warnings
lapi/glapitemp.h
|
a4b42200e9f329ad31a322ef87d44a833964f437 |
26-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a bunch of missing breaks for multisample gets
ain/get.c
|
3de5462ab1bb00f534c6f3d10eeb3b422f04c7c5 |
23-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
version bumps, etc for 4.1
rivers/x11/fakeglx.c
ain/get.c
|
45d21ca58755098e8fd47e1083c68e244c4f903c |
22-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Andrew Lewycky's patches
86/3dnow_normal.S
86/3dnow_xform3.S
86/3dnow_xform4.S
|
52d4c6ebb52a40a707ea12058c07875b71c7f4e7 |
20-Oct-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
forgotten diffuse alpha fix
nl/t_vb_lighttmp.h
|
12e875ce4df9ddb15e76b3b52502730d3444b24a |
18-Oct-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/context.c Initializing ctx->Driver.CurrentExecPrimitive to 0, just after the allocation of the context. I hope this solved a very rare crash of the molecule mode of xlockmore on my VMS-machine. (I have not seen any crash the last week. Normally it crashed at least once in the 3 days) ----------------------------------------------------------------------
ain/context.c
|
5d2621928823a06006c1586efe78fe8bf65a7e1f |
18-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few comments
wrast/s_span.c
|
40ba618a6f3167ebc00759761d0254e12362b677 |
18-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
warning fixes (Karl Schultz)
wrast/s_texture.c
|
fca1ce3a2645ab68ec7b7b4c30c5cdd59a63b031 |
17-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new entrypoints for 1.3
parc/glapi_sparc.S
86/glapi_x86.S
|
e715c910004f6de30c983628ef5fc4e3e306ebff |
17-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for new glext.h
lapi/glapi.c
|
e11f089f821ea90754d8cbe56278eba4cf5665f4 |
17-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_mirrored_repeat
ain/extensions.c
ain/glheader.h
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
470d3cd4a2c49a36babfc66933140d57535d724f |
17-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor updates for new glext.h
lapi/glapitemp.h
|
439ded4e2a240f02e378eb0c4b482688d5c8b36e |
15-Oct-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Fix comments.
ain/Makefile.win
|
b66103971c77e55b1df060c71c8e74af996d2dec |
05-Oct-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Fix the clear() function - add checks for the ColorMask and IndexMask (like osmesa) - correctly handle the DD_*_BIT flags so that we don't also ask the swrast to clear the color buffer after we cleared it ourselves. (doh!) This gives nearly a 2X improvement in the frame rate in a program like gears.
rivers/windows/wmesa.c
|
8f475635594f0c0e00461d01b43ef6f42006aa88 |
04-Oct-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Need to define MESA_DEBUG in debug builds. Otherwise, NDEBUG gets defined, which is bad for things like assert().
ain/Makefile.win
|
47bcda78e2ebf72bf1829bf89cd972e9c7cc3e99 |
04-Oct-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Updated Windows driver for Mesa 4.0. Needs optimization.
rivers/windows/wmesa.c
|
d3788b60ae92f9f4aa011b34168675a742862881 |
04-Oct-2001 |
Karl Schultz <kschultz@freedesktop.org> |
remove extra CR chars
rivers/windows/mesa_extend.h
rivers/windows/wmesadef.h
|
31c40f0905331ca51d705f8a072a9d239d692966 |
25-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
use correct vertex for flatshading
rivers/osmesa/osmesa.c
|
954f511473e4e8cf643751d1f7c03d59c0bd48bf |
25-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Fix up Windows makefiles so that the debug build leaves debugger info in the libraries. Make with NODEBUG=1 builds optimized without debug info (doc'ed in top level Makefile.win).
rivers/osmesa/Makefile.win
ain/Makefile.win
|
968e557dcd6c4611d5517ea0550dc56256ccb99c |
25-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
disable some more code so that it compiles quietly on Windows.
rivers/windows/wmesa.c
|
2427575c21c7c04b52f4a3605ad87c142c01f840 |
23-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
[rgba]shift values weren't always correct, only effected blended lines
rivers/osmesa/osmesa.c
|
5ac8282a2214fe19504e89818b5d1f6d65ec7365 |
23-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some configure;make build problems. cleaned-up copyright info.
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
|
a573803ed3fe9ef6489f45bd4c5455b77cb33a43 |
23-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates for Mesa 4.0
akefile.X11
rivers/svga/svgamesa.c
rivers/x11/fakeglx.c
ain/Makefile.X11
ain/get.c
|
497d6eab6603699d57d6a742a7940557c430afae |
23-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
More of the same
rivers/common/t_dd_vertex.h
|
05ba9becc3211795af539d79b70c8a6af2688108 |
21-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
Make osmesa a DLL instead of a static lib (Windows). This is more consistent with the other modules and platforms. It also makes the API and linkage on Windows more consistent.
rivers/osmesa/Makefile.win
rivers/osmesa/osmesa.c
rivers/osmesa/osmesa.def
ain/Makefile.win
|
62eb2e59097da8b0ec312d64363e0a12b55db7b4 |
20-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
very brief overview of swrast
wrast/NOTES
|
fffc27015b60d4621316ef567a81c5c5dfcb182c |
20-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
(very) Brief overview of tnl module
nl/NOTES
|
7152305e0a7d963f49c05bc530e495dc3ad82e3b |
20-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ADD texture mode was incorrect, renamed some vars
wrast/s_triangle.c
|
7c4268176eaaeb45003db4d5042a518b84c9f6dc |
19-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
silence compiler warnings (last batch for src)
ain/convolve.c
ain/texstore.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_feedback.c
wrast/s_fog.c
wrast/s_pointtemp.h
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
2fc06af470da1929ac2fffc8d38a5d5ac87490bb |
19-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
set GR_STWHINT_ST_DIFF_TMU1 flag in the init() function (fixes multiarb demo)
rivers/glide/fxvbtmp.h
|
b6bcfc1f6a6d5f19cb54e61f96c5b9bd235f882a |
19-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix fallback for stippled polygons, removed a debug message
rivers/glide/fxtris.c
|
37f2d5e6961ad9563a50287d357eb18bb94c072c |
19-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
compute dst->ooz, not dst->z in clip interpolation function
rivers/glide/fxvbtmp.h
|
7b9fe820a3fba3849864682fbb1cb512362934ab |
19-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
more compiler warning fixes
ain/rastpos.c
ain/state.c
ain/teximage.c
ain/texstate.c
ath/m_eval.c
ath/m_matrix.c
ath/m_translate.c
wrast/s_aaline.c
wrast/s_aalinetemp.h
|
c98541f54bad9c706092b1eae81739f78660b000 |
19-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
remove some debug
rivers/glide/fxtris.c
|
e9479f24ab12081e6ad48b70b80822ff97f5cd3d |
19-Sep-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix FX driver to the point where gears & morph3d work. Textures are broken (eg. isosurf).
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxtris.c
|
573dd2206b1f3653fd10796e1de13c058d878e32 |
18-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
clean up makefiles some more for Windows
rivers/osmesa/Makefile.win
ain/Makefile.win
|
4742735a5c22f2400a2777965e08e757ec384979 |
18-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
compiler warnings
rivers/osmesa/osmesa.c
|
b14dcea4184f5b0a283e5a0d05ce203c9feee759 |
18-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
remove carriage return chars
rivers/osmesa/Makefile.win
rivers/windows/wgl.c
rivers/windows/wmesa.c
ain/Makefile.win
ain/mesa.def
|
94a6ec8f0c8a25aeeb5880e2285ae6042cfb99db |
18-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
compiler warnings
ain/dlist.c
ain/eval.c
ain/get.c
ain/light.c
ain/matrix.c
ain/pixel.c
|
57c946096eecbc07b385e4473e04e5a0cafdc12d |
18-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
compiler warnings
ain/attrib.c
|
fde5e2c5f182759aff78bdd12e6c928f3f13bbdc |
15-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more warning fixes (Karl Schultz)
ain/clip.c
ain/colortab.c
ain/context.c
|
04120f6cce0aa9e3604a64c740c25b99ca3999dc |
15-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Win32 updates (Karl Schultz)
rivers/osmesa/Makefile.win
rivers/windows/wgl.c
rivers/windows/wmesa.c
ain/Makefile.win
ain/dispatch.c
ain/mesa.def
|
7c276329e815c84ea2403bb08c44ff60179c0cd6 |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more warning fixes (Karl Schultz)
ain/accum.c
ain/api_loopback.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/light.h
wrast_setup/ss_tritmp.h
|
edf8c06270a0e62f33e3f45e1f0307acfeff3b5d |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more warning fixes (Karl Schultz)
nl/t_context.h
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_vb_fog.c
nl/t_vb_lighttmp.h
|
7cc49c2dc84ce17a9b4cc1a376da74515a724c92 |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence more warnings (Karl Schultz)
nl/t_imm_api.c
|
5ce1f374da35fb8f43874a790d27aab5b35a6969 |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence minor warnings
nl/t_array_api.c
|
94666c4b55c33c35994bfab2fb4177a7d5198fd1 |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL 1.3 updates
lapi/glapi.c
|
ba57e5297d60eef37e43dd4d7f10d1e62f5e97ce |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL 1.3 and GLX 1.4 updates
akefile.X11
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
ain/Makefile.X11
|
dcbe4d6d2f3eb2c099838875780991da34884646 |
14-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor optimizations for flat shading (Klaus Niederkrueger)
wrast/s_triangle.c
wrast/s_trispan.h
wrast/s_tritemp.h
|
d22554d2cec07d6a8c11d5aef07835aef8d9a030 |
13-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced some tabs with spaces
wrast/s_tritemp.h
|
097d2a025ea4195085b7cc3cabfcb1051ac969c7 |
12-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
|
e79f4b08d5005a4053230a1e4c66455fb9e56430 |
12-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
hook compressed texture functions into driver
rivers/osmesa/osmesa.c
|
30230a9cd171128c34c55bd751242dbe07dc3a89 |
10-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed s/w alpha bug 458411
rivers/osmesa/osmesa.c
|
9348cfc6e8d72dea6b4ee248b7ef69ad639efea2 |
07-Sep-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/tnl/t_imm_alloc.c added initialization for Normals ----------------------------------------------------------------------
nl/t_imm_alloc.c
|
190d34874cdf2a074364980d1cf2d3fa201ac7a1 |
01-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes, prototype Pbuffer support
rivers/x11/xm_api.c
|
7d5656bee7d3e0c4ba54005c7af6f59f4bf8aea0 |
01-Sep-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototype work for Pbuffer support
rivers/x11/fakeglx.c
rivers/x11/xmesaP.h
|
9bed64cbf193e87e0dba46edf5cfaec267b0d8e6 |
31-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed dangling pointer problem (Chris Burghart)
rivers/x11/xm_api.c
|
04ec0fd71e3ba758e0ddc950ec68c3af4c58b1ab |
29-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes to allow the driver to compile - still doesn't work though
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
|
a0037ad8b38e25bdb16e64e4da6e5c75cc66a9cd |
29-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OSMESA_MAX_WIDTH/HEIGHT queries
rivers/osmesa/osmesa.c
|
2a88946f9ad82350c2f7edc2185bf9394d2d4764 |
29-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
OpenGL 1.3 support
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
lapi/glapitemp.h
ain/get.c
|
c123a9b2edc5852cb50485f344219508254081a8 |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a semicolon in the USE() macro
wrast/s_lines.c
|
d9fc8e20e3e8fee60a603ed3e5f1a77ab8f998f3 |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
bumped version string to 3.5.1
rivers/x11/fakeglx.c
|
ac6daf97e173345e9a87b24d98fb1ed599c0ffac |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
better error messages
ain/texstate.c
|
df631a866dfae8826d1b2d3f841bfed613d1d333 |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
better error reporting
ain/get.c
|
233aafbb30594d0193b00705d0532be97060ebd1 |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
new debugging code
wrast/s_lines.c
|
976c26ca34f2ae8cc6f8b9f9b091efeba1311a94 |
20-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
WindML driver (Stephane Raimbault)
ain/Makefile.ugl
|
60174c1aef7c6650a800f16f103a4f9ed2d1004e |
14-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.
wrast/s_context.h
wrast/s_span.c
wrast/s_texture.c
wrast/s_tritemp.h
|
76a52525c7edcefcb40a1cbc9ce88d6c6e402f1a |
14-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Reenable, but only in the size four case...
nl/t_imm_eval.c
|
bd9b4056d7e93529782f104b9e7bd7fdfa685878 |
14-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Undo last change - breaks other stuff.
nl/t_imm_eval.c
|
3d1df5554e0038c9e8ea95e86317355050a74cc6 |
14-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Compute first partials before taking cross product to calculate normal. Fixes diego santa cruz' nurbs lighting bug.
nl/t_imm_eval.c
|
b1a2393bb7dfa4a930d5302a4dfd6afd9034c413 |
14-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix problem with colormaterial (bug #441859)
nl/t_vb_lighttmp.h
|
c8a27838a0b9e59d5c875f92202fccf49a0a3e44 |
14-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed optimizations (this code is now seldom used)
nl/t_array_api.c
nl/t_array_import.c
nl/t_array_import.h
|
d922109eb37e943661f1c88c6a97284f6b6267ea |
13-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_texture_edge_clamp
ain/extensions.c
|
b22fe91cdba8ba1d38a1e4cbae3f1c1806b733c9 |
13-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ss_interp.c
ain/Makefile.win
|
58cfa0fd903979bd0c5127262683cdd8aa48e133 |
08-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a glPush/PopAttrib bug related to texture binding (reported by Wes Bethel)
ain/attrib.c
|
c6182ab54c6d11371ad523a89e22380996cf0742 |
08-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in DEST_4F template function
ath/m_trans_tmp.h
|
94f494e780b8dc920c773189d458ccd733f39b27 |
08-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed some now bogus assertions (due to Klaus's latest optimization)
wrast/s_texture.c
|
ebc9f221b2f02a0256cd7c5426155933e50ab3b7 |
07-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed NewState update bugs in _mesa_PopClientAttrib()
ain/attrib.c
|
696cd3d2b6f2a76183a596886c0f9b593bd03250 |
07-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimization to sample_lambda_2d() (Klaus Niederkrueger)
wrast/s_texture.c
|
5e1680ce1d8296b2182e8909856927bbeddf3b95 |
07-Aug-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GLX context sharing bug (reported by Eric Plante)
rivers/x11/fakeglx.c
|
636fb6cae7d26b4ab453b204b305d91481e391e5 |
03-Aug-2001 |
davem69 <davem69> |
Use #function instead of @function in .type directive so it works with Solaris assembler as well as GNU assembler.
lapi/glsparcasm.py
parc/glapi_sparc.S
|
84170351dbac4b21238e7b84bcfdd3a27df42016 |
03-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix VERT_RGBA special case.
nl/t_imm_fixup.c
|
76ca0f5232682665a899841026c47f171c7ec05c |
03-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix SGL testLights.exe bugs (interaction of copying and fixup in display lists)
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
nl/t_vb_lighttmp.h
|
554ceab8ecc9805afb89cfa5975852fd57cad1e6 |
02-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix SGL testGeoSets.exe polygon mode problem (wrong interpretation of count parameter in DrawArrays)
nl/t_array_api.c
|
51184566fb6686ae34a39a5532812d7f1d8edb94 |
02-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix SGL monoindexed bug (glDrawRangeElements in dlist)
nl/t_array_api.c
|
c618005dcff0d4011a77cfebd109880eb784d581 |
01-Aug-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix copying problem (light spots) on evaluated surfaces.
nl/t_context.h
nl/t_imm_debug.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_lighttmp.h
|
3670e206a76d3c197bdfab8293e48623a87c7827 |
28-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix core in fixup_normal_lengths
nl/t_imm_dlist.c
|
46af1f87c897ef03470d205e9fd147e93911cbce |
28-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove _BaseAlpha, fix reflect lighting bug.
ain/light.c
ain/mtypes.h
ain/rastpos.c
wrast/s_context.c
nl/t_vb_lighttmp.h
86/gen_matypes.c
|
616f470629487f303979c7e878062d66658ac812 |
27-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GLAPIENTRY fixes (Karl Schultz)
nl/t_imm_dlist.c
|
8a8d4740683197aa47f5b62bc23cdd0cd268fe3c |
27-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
undo previous check-in (restore the @ symbols)
parc/glapi_sparc.S
|
dae1774e206188d951332d2285ea9cf8796d1a64 |
27-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check if deleting _Current texobj in _mesa_DeleteTextures (Bart Barenbrug)
ain/texobj.c
|
24d9350897a69b972fbb46bc2848f858368e749e |
27-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced @ with ## or # to allow compilation on SunOS 5.6 (Bug 442742)
parc/glapi_sparc.S
|
73fc243420574801a6a9aa0888b57b1e531b2bec |
27-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
wglUseFontBitmapsA() update (Frank Warmerdam)
rivers/windows/wgl.c
|
172281dad8d1f1d32f5f31583a5fa565aa1bf5da |
26-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixes for proxy cube map texture images
ain/context.c
ain/teximage.c
|
e2df5de01cbaf73c7f2b52459b318f9951f1e85a |
26-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use GLAPIENTRY when declaring a couple function pointers (Gerk Huisma)
nl/t_imm_dlist.c
|
d4cff4f2fa43b22effdd5c339bd48508669a0a42 |
26-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Applied Klaus Niederkrueger's latest flat-shading clean-ups and some of my own.
wrast/s_triangle.c
wrast/s_tritemp.h
|
bbf6a41d2fd4a3d54e6b5dea50bba24768c01ece |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLchan and GL_ADD clamping changes (Klaus Niederkrueger)
wrast/s_triangle.c
|
62c734f49948df7aeef55ad23a6664cbf3e11533 |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)
ain/teximage.c
|
ae40b2281de9df67e3ba9ea76e420b1600720aa7 |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
rename ERROR macro to TE_ERROR (Gerk Huisma)
ain/texstate.c
|
3c03f3232dcd490b76b3e73d92f1039e4366d7b5 |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix some Win32 warnings (Gerk Huisma)
nl/t_imm_dlist.c
|
4fa5c1966a985f81c615a9f5ef2f64dd466b252a |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't clamp colors if GLchan==GLfloat in add_colors()
wrast/s_span.c
|
55180f4b9216f8feb86dd6ecb4426fc6394c54b3 |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLubyte -> GLchan change
wrast/s_copypix.c
|
f3b85c983f469875ac76081a61539a6c7b26777c |
23-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for pixels=NULL in _mesa_store_teximage[123]d()
ain/texstore.c
|
48f3bdaeb3e60455364efed4f276c1d75263595d |
19-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLchan changes
wrast/s_pointtemp.h
|
fd28445e102800b84e49e3f2299ef7dd8af8b89d |
19-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)
rray_cache/ac_context.c
ain/context.c
nl/t_context.c
|
2a9eca0ed4d07329141bf8226b60eef83101a216 |
18-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
do some 16-bit GLchan computations in floating point (Gerk Huisma)
wrast/s_texture.c
|
277fd2e66e0f43d415c63d140075d08b01a2870b |
17-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix Alan Barnett's 'try10' display list bug.
rivers/glide/fxtris.c
nl/t_imm_dlist.c
nl/t_imm_fixup.c
|
53560311294814ae0daa8457307a2b25077bf4e9 |
17-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Lighting now emits colors as CHAN_TYPE, as it used to. This will require minor adjustments in the dri drivers for twosided lighting to work again.
rivers/common/t_dd_tritmp.h
wrast/s_context.c
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_vb_light.c
nl/t_vb_lighttmp.h
|
461b99050811b345e77de01f4610e7c22a259141 |
16-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable MMX blend code until it gets fixed
wrast/s_blend.c
|
a1503b00f863a48a517939a42d512f9cfe77f79c |
16-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)
ain/colormac.h
ain/config.h
ain/glheader.h
ain/imports.c
ain/teximage.c
ain/texstore.c
|
96385fa15569e25cd0977e678c0ff3bdab6ef316 |
14-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on float colors (still not finished)
rivers/osmesa/osmesa.c
ain/Makefile.OSMesa16
ain/colortab.c
ain/image.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_trispan.h
wrast/s_tritemp.h
|
ac3958ea1bf8f7b1648f9c1b2ffbe93ffd40b602 |
14-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused tiny triangle test code
wrast/s_tritemp.h
|
ee6cf4c6b081dbad7366b80637718d068530d79c |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
undo previous check-in (unfinished code)
wrast/s_aatritemp.h
|
f431a3fb4dc1bf860203d79e54657e3a62bc50df |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted changes for supporting GLfloat color channels (not done)
rivers/osmesa/osmesa.c
ain/Makefile.OSMesa16
ain/config.h
ain/mtypes.h
ain/pixel.c
ain/teximage.c
ain/texstore.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_alphabuf.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
bc07a99cc3faeb1aa48700065b34baa76c201e7d |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced __inline with INLINE
nl/t_vb_cliptmp.h
|
cff1cfd90d94548c7b9499ffcac5bd13ca338f85 |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence an uninitialized var warning
nl/t_imm_dlist.c
|
5c749d9e3c7824c0ba5b22e37d0ea5cbd54d6d2d |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a warning
ain/texstore.c
|
b23f5b5a5ccf5910f1d11d749c2e440e6a46259b |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changes
ain/teximage.c
|
77a4754d73ae4b9f69e8a3b7fdb0f17cb000c84a |
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed two bad casts (Stephane Conversy)
wrast/s_copypix.c
|
0cab1db7763392f9df2c3dfa598d6a81d5af4606 |
13-Jul-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Mesa/src/FX/fxtris.c Mesa/src/FX/fxvb.c -updated OpenVMS makefile -fixed compilation if FX is NOT defined. ----------------------------------------------------------------------
rivers/glide/fxtris.c
rivers/glide/fxvb.c
ain/descrip.mms
|
1182ffeec39bf419928ba862c225e80a439fee7a |
13-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make it clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
akefile.X11
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/Makefile.X11
wrast/s_context.c
wrast_setup/NOTES
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_render.c
|
fae7b778b81b686ef419f971064b5fe12fb4ead3 |
09-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed flat shading bug in affine_ and persp_textured_triangle() functions
wrast/s_triangle.c
|
571c8ecc8f9442fb8bbaa1f29b1d0d4f8e5b3cad |
09-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing \'s
wrast/s_triangle.c
|
ac541734146071e279a8c379bce98f40195069e5 |
05-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed segfault (NULL _ShineTable[0]) in shade_rastpos()
ain/rastpos.c
|
5233ca8d3061e9e126c73073dccf56c65869bb61 |
05-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed logic error in OSMesaMakeCurrent() for 565 pixel support (Lars Andersson)
rivers/osmesa/osmesa.c
|
8564f0536b2b3f6166c80ce43ae1ba44cf81d72a |
02-Jul-2001 |
pesco <pesco> |
More .cvsignore updates.
rivers/ggi/default/.cvsignore
rivers/ggi/display/.cvsignore
|
47a28c0b4d4ca27592e3cbb8e4b17d1cd8f7997d |
28-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
restore normal length optimization in dlists
ath/m_norm_tmp.h
nl/t_context.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_normals.c
nl/tnl.h
|
206eda8b69ab3c63e9597015189f49d1bda9356f |
27-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
support for RGB_565 pixels (Lars Andersson), untested
rivers/osmesa/osmesa.c
|
9c38ae35ebc66cf184068c75dd570e6ad0562496 |
27-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add -f to rm in make clean to avoid error messages
akefile.X11
ain/Makefile.X11
|
acc722d4b890da7ed0ede24751e2bcaf28cc1468 |
26-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More raster fog coord fixes. New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet.
ain/drawpix.c
ain/mtypes.h
ain/rastpos.c
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
33170eeb185f5fe766374a749464497cdfab6931 |
26-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized texture triangle updates (Klaus Niederkrueger)
wrast/s_triangle.c
|
8c2f6c5059a60d845716277973c826f4069926e6 |
26-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_IBM_rasterpos_clip extension
ain/attrib.c
ain/context.c
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/rastpos.c
|
5e7591f94ca8c7fe909d6088430358861d668124 |
21-Jun-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Modified Files: Mesa/src/descrip.mms Removed obsolete .obj files. ----------------------------------------------------------------------
ain/descrip.mms
|
d491f7bc1444b48c36885881e7dcf29f9b64b331 |
20-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed beta from version string
ain/get.c
|
af197f5f8f182c04ab29cd3c7a18a0cb95a1d9b7 |
19-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_span.c
|
1b258989462e907e45abbdf8743b0a75f22c02b3 |
18-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Consolidated source files. Since the re-org a number of source files only had one or two functions left in them.
akefile.X11
ain/Makefile.OSMesa16
ain/Makefile.X11
ain/Makefile.win
ain/attrib.c
ain/blend.c
ain/blend.h
ain/buffers.c
ain/buffers.h
ain/descrip.mms
ain/dlist.c
ain/drawpix.c
ain/drawpix.h
ain/rastpos.c
ain/rastpos.h
ain/state.c
ain/texstate.c
ain/texstate.h
|
24ae7c4c1f18c3086a779a2ee8f480ee5f4e7612 |
15-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added fi_type union typedef to glheader.h. Replace various float/int casts with the fi_type union cast. Fixes -fstrict-aliasing problems.
ain/glheader.h
ain/texutil.c
nl/t_imm_api.c
nl/t_vb_render.c
|
e4276667dafc8de0c6e64af8300fc7598437de6e |
15-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
rivers/x11/xm_api.c
ain/dd.h
ain/extensions.c
ain/extensions.h
ain/state.c
ain/texformat.c
ain/texformat.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
|
65c6ca91795a71cf38dbe5f49f2d73fd9d4049cd |
15-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace 255 with CHAN_MAX
rivers/osmesa/osmesa.c
|
2db44ffe9d591b0686755e2128ae9a6a1611f2a5 |
14-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a comment
rivers/osmesa/osmesa.c
|
e9ba8e92141f9824bdb0cb3db91467bb2f0c51d7 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled an assertion that doesn't seem to be needed
nl/t_imm_fixup.c
|
cd1cefae9146fc14b35ee93a04bdb1b1590fba7b |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow different max texture sizes for 1/2D, 3D and cube maps.
rivers/glide/fxdd.c
ain/config.h
ain/context.c
ain/get.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
|
cc22179cd855dad85a28c40416873a07e8b7cc0c |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed an assertion
ain/image.c
|
1178ed817f835e2a9b1fdd33b32d39e2d6070cc8 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a +/- typo in the Y coord setup
wrast/s_tritemp.h
|
ae47121fa336f53c5ab51df3dc699db018feff18 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old, redundant CurrentTransformUnit state var
ain/context.c
ain/get.c
ain/matrix.c
ain/mtypes.h
ain/texstate.c
|
1676268eab04523fe4fe325d39d427fc098e52a5 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
always feedback unit 0 texcoords
wrast/s_feedback.c
|
baace9ffca69dd7919b5c3cf53bd87affa9c1e25 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't compile glClientActiveTextureARB() into display lists, per the spec
ain/dlist.c
|
5ed63e089564a3d10e65bc22902ac722f92bdd29 |
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
disable pixel transfer ops for glGetTexImage(), per the spec
ain/teximage.c
|
a2162e42280f2aa17a5dfd36b18ff4f6026dade5 |
12-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Snap triangle x,y vertices to 1/16 subpixel positions. Disabled tiny triangle threshold test.
wrast/s_tritemp.h
|
57b46ee6ea62f233b20d20aabedbacd814a15697 |
11-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for PB overflow in general_flat_rgba_line()
wrast/s_lines.c
|
e67d632d999fa962377060faacf25e24b17dc341 |
11-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed minor display list bugs (#431517)
ain/dlist.c
|
5891a5dd5545c67c7360d08566f62f54e37a4897 |
11-Jun-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/macros.h Added #define COPY_4UBV() for non i386 machines ----------------------------------------------------------------------
ain/macros.h
|
0ce9f39d237bf86dc50d2822dafde3d6bdc279e1 |
08-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
add check for NULL malloc (from Stanford metacompilation analysis)
ain/enums.c
|
fabc30cfdd6576a1d1edee4ad4ee01e41fabb3fa |
08-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
only copy GLubyte[4] as a GLuint on x86
ain/macros.h
|
36822c50ad84d255f1e7c94b56cfff1cd8bcef85 |
08-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems (bug 430689)
ain/macros.h
|
4a497e649b33f8b73696bbef0e6da221491460fe |
07-Jun-2001 |
davem69 <davem69> |
Remove dependency on MESA sources from gl* files in SPARC glapi optimizations by moving the icache flush into the glapi_sparc.S file. Brian, how is this?
lapi/glapi.c
lapi/glsparcasm.py
parc/glapi_sparc.S
parc/sparc.c
parc/sparc.h
|
a5455bb374571833080fcbd6728edcba13d45b38 |
06-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
test for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed for SSE signal handler
86/common_x86.c
|
6f365c21d796310a9ea70d8420e6879eb5abb6ae |
06-Jun-2001 |
davem69 <davem69> |
SPARC normal tnl optimizations.
parc/norm.S
parc/sparc.c
parc/sparc_matrix.h
|
775355a88a0927e2e3a855036c26950397a61d7b |
06-Jun-2001 |
davem69 <davem69> |
Sparc optimized GLAPI dispatch table.
lapi/glapi.c
lapi/glsparcasm.py
ain/context.c
ain/dispatch.c
parc/glapi_sparc.S
parc/sparc.c
parc/sparc.h
parc/sparc_matrix.h
parc/xform.S
|
0fab0702b03a0036e20cd823ad31bdc361f8fc1b |
06-Jun-2001 |
davem69 <davem69> |
Generate this now that I know which gl.spec file to use.
parc/glapi_sparc.S
|
470a7b48745d0e467973c9b9d751a8be4abec0e6 |
05-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
wrast/s_aatritemp.h
|
a1164746e7f5b574fa12c1e3c45986243049880d |
05-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
filled in a bunch of the function template strings
lapi/glapitemp.h
|
ae14499101314f87099199738fa7f6715603681a |
05-Jun-2001 |
davem69 <davem69> |
Python script for making glapi_sparc.S Unused until Brian shows me what gl.spec file he is actually using for glapi_x86.S as all the ones I can find seem out of sync.
lapi/glsparcasm.py
|
e4f84b4936b72f17ee54b0b1e17bd94831f772a8 |
05-Jun-2001 |
davem69 <davem69> |
Add USE_SPARC_ASM diagnostics to print_info.
ain/context.c
|
b20cea3902122565f843e689ef4f6ab139ed69cf |
05-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed some code in XMesaDestroyContext() which could lead to a segfault
rivers/x11/xm_api.c
|
51b36396ae45f9ee9cec8d612787d038641dc6c8 |
04-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Adaptor code that lets tnl convert compiled (display list) cassettes back to glVertex() type calls. Allows driver-supplied tnl modules to avoid fallback on glCallList inside begin/end pairs. Still a little buggy...
nl/t_context.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/tnl.h
|
bd58a63fe891f6e42c71e8a8f2c8a7990b59eae8 |
04-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
New files to provide glEvalPoint, glEvalCoord implementations for driver tnl modules.
ain/api_eval.c
ain/api_eval.h
|
2c2a956a3a88f5f5868b701f0157320169d19bd4 |
02-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add api_arrayelt.c
akefile.X11
ain/Makefile.X11
|
4b7d6f216bf768482e07e4d7feb8ca3e1be92d53 |
02-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Working implementation of glArrayElt that decomposes to regular glVertex/glNormal/etc calls.
ain/api_arrayelt.c
ain/api_arrayelt.h
|
a7de8b6776ed0fe7e79075d780f810109335fb1f |
01-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added minor comments
nl/t_context.h
|
8a039ffe0ad8ed6c919aafbbded3d6249d894d16 |
01-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Klaus Niederkrueger's CHAN_BITS==32 patch
wrast/s_texture.c
|
741c2e6434f2c4f273c7cdecb227514bacd3cc8a |
01-Jun-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
apply David Miller's quad/backcolor patch
rivers/common/t_dd_tritmp.h
|
4097590bc6e13c1903760dbfb1d60123ee0f527d |
01-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced #ifdef 0 with #if 0
86/x86.c
|
21f80baa35dca54394f100d2655d28eec10cca0a |
01-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
swapped in/out arguments to interp_func. Improved comments
nl/t_context.h
|
e715c4a62d57eacb4b5b3b94276f251b7a4e5d22 |
31-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed s/w alpha channel bug
rivers/osmesa/osmesa.c
|
987caacbeba4396c7333ea406357acdceac1dbbe |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLubyte -> GLchan fix
wrast/s_aatritemp.h
wrast/s_texture.c
|
b5d3f2c52103c6bd834838695cd753ca26991bd6 |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added current raster fog coord and related code
ain/mtypes.h
ain/rastpos.c
wrast/s_bitmap.c
wrast/s_copypix.c
wrast/s_drawpix.c
|
529e48bb0fd53e3a47d01f42c0acfe7faa373912 |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added test for EXT_fog_coord
ain/fog.c
|
47a3c67fa6696cf408378f3593e9a39b39269d37 |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
forgot to check-in yesterday
rivers/x11/realglx.c
rivers/x11/realglx.h
|
71f2c401c5657c6f2fc2236fd019aa70d538daac |
30-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
rerun vertex stage on _MESA_NEW_NEED_EYE_COORDS
nl/t_vb_vertex.c
|
84cac8441fcf5f692cd220e9fa86cab398a4c159 |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more DRI libGL-related changes
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
e4a01fd7e1e37e653837a22a6b485cfdc54f4d3b |
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added math/m_debug_clip.c
ain/Makefile.OSMesa16
|
655ba5d9927187e76b66f5886d090624dc4b1dd9 |
29-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed some old DRI-isms
rivers/x11/glxapi.c
rivers/x11/glxheader.h
rivers/x11/xm_api.c
rivers/x11/xmesaP.h
|
ffa10b1c3b3c944438d0a75c84acdbd92091c35c |
29-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new functions to GLX_functions[]
rivers/x11/glxapi.c
|
736fcbec4732830e7976fb5eb309b13e03be132c |
29-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
infrastructure for GL_ARB_multisample
lapi/glapi.c
ain/attrib.c
ain/buffers.c
ain/buffers.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/state.c
|
5ff1c613ea25be455eda9037a4955d47669a8c79 |
29-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused var
wrast/s_aatriangle.c
|
b0bb4f6226a18e0a6eb40046c7f7b5a841c75eda |
25-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on XMesa / libGL integration
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
12c1bee87fcc3a0912685bb6e83447972e5de64e |
24-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some casts so that older glx.h can be used
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
7cf50e137da497a590ec9001a9918972a6246142 |
24-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial changes to allow Mesa and its fake GLX to be built into XFree86 libGL.
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
9228e17bb5bf219269daeed5cbfdd912c118e926 |
24-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.
ain/extensions.c
ain/teximage.c
ain/texstore.c
|
55ed11bac511bb9ba80c1e2d2115d91e32621be4 |
24-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototyping some new stuff
rivers/x11/glxapi.c
|
f6e0e92beb1cc374a8623390975278f243af881a |
24-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix bug 426657: need to clamp RGBA before color table lookups
ain/pixel.c
|
04a6c35819f0a386c98d65bf5d4bf0e5e776f04c |
23-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated copyright
parc/sparc.c
|
7943b349d696f8030f0d2f836ad42a762f4c6026 |
23-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
SPARC assembly optimizations from David Miller.
ath/m_debug_util.h
ath/m_xform.c
parc/clip.S
parc/sparc.c
parc/sparc.h
parc/sparc_matrix.h
parc/xform.S
|
8bd06931018d5662b92f1cfeee2abaf352d0044c |
22-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
a little more work on GL_SGIS_generate_mipmap
ain/texstore.c
|
6b1e4ea5a54ea852a904440cd9fa50251f63f64c |
21-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a number of multi-texture line bugs
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_lines.c
|
3893e638e6521b9c070e01c0b31d22754ff97a88 |
21-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial support for GL_SGIS_generate_mipmap extension
ain/context.c
ain/extensions.c
ain/get.c
ain/hint.c
ain/mtypes.h
ain/teximage.c
ain/teximage.h
ain/texstate.c
ain/texstore.c
ain/texstore.h
wrast/s_texstore.c
|
e7e38a47a8dd567fd5a848cbef09b14018fb2fe0 |
21-May-2001 |
Gareth Hughes <gareth@valinux.com> |
Initial commit of cliptest work. More to come shortly. - Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized.
akefile.X11
ain/Makefile.X11
ath/m_clip_tmp.h
ath/m_debug.h
ath/m_debug_clip.c
ath/m_xform.c
nl/t_pipeline.c
86/clip_args.h
86/x86.c
86/x86_cliptest.S
|
e9482d004f7b4bdc99312a89c33c061f31552bda |
21-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/Height/height/ (Jeff Potter)
rivers/windows/wmesa.c
|
d577248b8973bee8fa4f84be9f6c87eb33a3f163 |
19-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing #undefs at end of file
ath/m_xform_tmp.h
|
ca78774fc71aa0197c451e924588ad77693447c9 |
19-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a bad error string in ClientActiveTexture()
ain/texstate.c
|
569b5f32b97164b733d47db6c1d4722076b02ea7 |
17-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed two GL error calls
ain/texstate.c
|
758a21f1043b52a8a2fa2397d3c963c0c40c268a |
17-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Width/Height typo (Jeff Hartmann)
wrast/s_stencil.c
|
1341f40dfede5324a56ae20651bf5daf2f872bf6 |
17-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed (void) index; statement
wrast/s_aalinetemp.h
|
5439ab0683d38b000ef2e5aa1dfc5088e6ffc957 |
17-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Comment out __FUNCTION__ usage.
nl/t_array_import.c
|
89dae684aa1d74b06a4f70cb76b33671d0cef9e6 |
17-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix order of decomposition of quad. Remove 'swrast->_MultiTexEnabled' derived value.
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_context.h
wrast/s_lines.c
wrast/s_pointtemp.h
wrast/s_triangle.c
|
47cf442c1164b6b406117fccfb8b564602741ee3 |
16-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)
ain/image.c
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_readpix.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_tritemp.h
|
441a4af435b46e1b475318fbaf4e80b774390cb0 |
16-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate INVALID_OPERATION if active texture != 0 in glMap[12][fd]
ain/eval.c
|
dbd0dad580a6bf501441df95fccf2db718fd5d45 |
16-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for Jouk's glplanet bug
nl/t_context.h
nl/t_imm_exec.c
nl/t_imm_fixup.c
|
5071b0812fc73bcba92e2b6fcbad2f53f063fc32 |
15-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Apply antialiasing coverage factor to alpha after texture application, not before.
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_pointtemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_triangle.c
wrast/s_zoom.c
|
a51f07d5a148705c1c118dece1630972753ca349 |
15-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
_mesa_pack_index_span() was broken for non-GLubyte datatypes
ain/image.c
|
9e48553ccc591a8d0559dac6ef9cd5a956dbd41e |
15-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
increase FOG_MAX to 10.0 to fix CI conformace failure
nl/t_vb_fog.c
|
80532da3bf2a83448c6f38c34dbaf32898acea2d |
15-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups and more comments
wrast/s_aatriangle.c
wrast/s_aatritemp.h
|
0ab16e01348a8feceda9ee55f14b035e400d3c01 |
15-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
New IFLOOR, ICEIL macros from Josh Vanderhoof. Fixes problems with IFLOOR(1.99999)==2, for example. Moved some macros from config.h to glheader.h
ain/config.h
ain/glheader.h
wrast/s_texture.c
|
649971518c6b79bc510d3a15b025250a7f947def |
14-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
typo
nl/t_imm_fixup.c
|
f89035b8c45ff13392fe7cb3ce0c2bdb7e4166be |
14-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed MAX_HEIGHT to 2048
ain/config.h
|
9bf68ad963ba92b5d1e725f965979042495a5313 |
14-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
New triangle rasterization code. Store per-span initial/step values in the new triangle_span struct. Much cleaner code and possibilities for future optimizations.
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
wrast/s_triangle.c
wrast/s_trispan.h
wrast/s_tritemp.h
|
9cf779e7ac5509aa2d8706b882e9a6b43837cebd |
14-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for glean texgen test.
rivers/common/t_dd_vb.c
nl/t_eval_api.c
nl/t_imm_dlist.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
|
b8d091d3503415a29a309dca0ce13b24509bd763 |
14-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
increase blocksize, remove dead opcodes
ain/dlist.c
|
53e4ebd4e36c0ae462d71c87cda3533f9d001324 |
13-May-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix long-standing FP exception bug in _mesa_x86_cliptest_points4().
86/x86.c
86/x86_cliptest.S
|
d29e9dfe93cc4ff22cbffba400741f726b953c66 |
11-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed scissor clear problem (Michael Saunders)
wrast/s_alphabuf.c
|
c6083e1dc47057b64179079715c5eac8f6010467 |
11-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Clean up _tnl_Begin/begin/hard_begin. Fix some problems with draw_arrays, draw_elements.
nl/t_array_api.c
nl/t_array_import.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_fixup.c
nl/t_vb_render.c
|
6d1055c9675fb8c39d3843b550beaa168e031fc9 |
11-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Clean up translation of array elements, copying of elts in pure-elt cassettes. Fixes problem with isosurf/compiled-array-elt/strips.
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
|
1a3e034b122267c4e63ba994c56caead5d9d6434 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
redo previous change in a more defensive way
wrast/s_aatritemp.h
|
a5cc6155d425b1a94e576e0c87140557051b7505 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added check for zero-length spans, avoids potential problems later
wrast/s_aatritemp.h
|
dbed2027444338dc09fc102d6f4bd5c707c238d7 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some divide by zero problems found w/ conform
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
|
bd3d9b9d0497e64feec50153ad953a58a35bcd89 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
RGBA mode GL_NAND was wrong, fixed 16-bit GLchan support
wrast/s_logic.c
|
8b6a91a93f1b3f79796f398884aaca77a8a09198 |
10-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Set 'prefer_float_colors' true, now that tnl uses them natively. Apply Jeff Epler's optimization to ci spans as well, remove old code.
rivers/x11/xm_span.c
ain/api_loopback.c
ain/dlist.c
ain/state.c
|
e296d7f0e455ebb1776d01196020a3b4ce2507fb |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Jeff & Keith's optimization to write_span_mono_pixmap()
rivers/x11/xm_span.c
|
ad51be1ad4c60ad678405a860735901ef1e6ce94 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bad texture border test (sometimes caused a segfault)
rivers/glide/fxdd.c
|
72deb502d7ed2c1e447195dfaafac818ad88b218 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
rivers/glide/fxsetup.c
|
bc69de5f21ebb4d6e1c65bf5652d17a9fc87dda7 |
10-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Driver interface changes
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
|
7954a0cafdce545cde193e8ec317afa85be2b736 |
10-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Replace PipelineStart, PipelineFinish with RunPipeline. Clean up _tnl_run_pipeline() a little.
nl/t_array_api.c
nl/t_context.h
nl/t_imm_exec.c
nl/t_pipeline.c
|
f50bbbf8556483a8def9862c0d05382e43177eb0 |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check hardware type and use SETUP_SNAP if needed
rivers/glide/fxapi.c
rivers/glide/fxdrv.h
rivers/glide/fxvb.c
|
8acb7e9ea211423e196dac4dfde312ffeb78619a |
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed loop bug in _mesa_ConvolutionFilter2D()
ain/convolve.c
|
20dc7e69459a9b529ce99f0669b78ea83162a78d |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
rivers/glide/fxddtex.c
|
91979127ecec0f3d60507f9197b1f9fd00e4e145 |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed font/bitmap x-offset bug (Frank Warmerdam)
rivers/windows/wgl.c
|
7884aa151fb630b3533e060d24f1e0f51724f08b |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Y flip problem in read_rgba_pixels() (Frank Warmerdam)
rivers/windows/wmesa.c
|
61cb081a357e60e988ecfa2fd945a8d2657c49f0 |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
missed a GLfixed->GLfloat fog change
wrast/s_pointtemp.h
|
78023e980891954ab1cd08a25dc3bac521220098 |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exception
wrast/s_bitmap.c
|
f2bfc66c5db02d26e32af5e46b2abb3ceb75ae34 |
09-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed minor logic error in _mesa_StencilOp()
ain/stencil.c
|
cd487af90b0bc95f2dd62d0ebb98e752bfb17c02 |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
remove debug code
rivers/common/t_dd_vb.c
|
5f2230c7bf9432187103ab6c890c0d560c203d5c |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add missing translate functions
ath/m_translate.c
nl/t_imm_elt.c
|
bcf749e83a4844972b8fbb84e9762a9b1ec77c5f |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix possible segfault on destroy context
nl/t_context.c
nl/t_imm_alloc.c
nl/t_imm_exec.c
|
335634b807921285bec0709ee92c454cee87ee88 |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add FLUSH_CURRENT() calls to fix ordering problems (incl. hierarchical dlist calls).
ain/dlist.c
|
e809379cafa1ce24572004cf9f496798b4d94903 |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Use correct PV when clipping.
nl/t_vb_cliptmp.h
|
0a716cdff834624b95832f200446b6a3fe36789c |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't scale basealpha by 255 now it's a float.
ain/light.c
|
0ff31445f20238112c4ee840901e5e5fe9b4c314 |
09-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix eval/colormaterial interaction
nl/t_imm_eval.c
|
bc920f08f5c6f75c8945bc90a71db93bb16ac1f8 |
07-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
set MRD to 1.0, fixes new Glean polygon offset failure
ain/context.c
|
dae62174c5e7736aa93da8c17a20ea356d2f9bdf |
07-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
sample plane equations at fragment centers, not lower-left corner
wrast/s_aatritemp.h
|
95d0fe9c11124b9e9c4b2ae5222855c8967278f0 |
07-May-2001 |
Gareth Hughes <gareth@valinux.com> |
More cleanups.
ain/Makefile.DJ
|
c329f0824caf6756041516cfee843fc6f6cd3f8a |
07-May-2001 |
Gareth Hughes <gareth@valinux.com> |
Initial new Win32 build support. More to come.
ain/Makefile.win
ain/mesa.def
|
a2519c8aed0bf2019d0a664974ff848e918cc510 |
04-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
do FLUSH_VERTICES() in glGet*() functions to make occlusion testing work, perhaps needed for other cases, like GL_CURRENT_COLOR
ain/get.c
|
1b3528fe635242f782fbcdde3ba74b5b7359a362 |
04-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
interpolate fog valus as floats, not fixed - fixed the swrast fog problem
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_bitmap.c
wrast/s_fog.c
wrast/s_fog.h
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_span.c
wrast/s_span.h
wrast/s_texstore.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
|
652a14a2153baf011a9347c6a8820e15ebf9aa2d |
03-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for moebius infinite loop
rivers/common/t_dd_vbtmp.h
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_exec.h
|
a03463303dce5526f9439f704b28625329bde554 |
03-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added assertion to catch infinite loop in _tnl_fixup_compiled_cassette() - might help Keith
nl/t_imm_fixup.c
|
9e351d52ae52927fbe505e8808e70de3e646be79 |
03-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups and warning fixes
rivers/glide/fxdd.c
rivers/x11/xm_api.c
ain/attrib.c
ain/context.c
ain/context.h
wrast/s_texture.c
nl/t_imm_eval.c
|
5028216c81706070fab906f4e56a14c1e2d61cbc |
03-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add disabled test to turn on vertex snapping.
rivers/glide/fxvb.c
|
531ac77263084f4ebb6b39bc739fc1efe6f2319e |
03-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed vertex color problems
rivers/glide/fxtris.c
rivers/glide/fxvbtmp.h
|
fe5cb830b19b4a74b3a88a9f3984bdcb2cae99a1 |
02-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
teximage updates. seems to work fine.
rivers/glide/fxddtex.c
rivers/glide/fxtexman.c
|
104c9fde4edc43c28dcc577d542683c8bbca6783 |
02-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed parameters to _mesa_rescale_teximage2d()
ain/texutil.c
ain/texutil.h
|
70bb9072864801a8110c4c63c6fb8fe8469e7fe6 |
02-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor XFree86 change
rivers/x11/xmesaP.h
|
adcc2ce92bcb6469fcbf389fa19e41faa844e798 |
01-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
float color changes
rivers/glide/fxtris.c
rivers/glide/fxvbtmp.h
|
5b976943ee1a5449e5f73d2a44ac3053b92c75d8 |
01-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
removed debug
nl/t_eval_api.c
nl/t_imm_eval.c
nl/t_imm_exec.c
|
f4a003c3ca15513d69ac07af6403b54b55003af3 |
01-May-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix from Jouk
ain/rastpos.c
|
0e14d6d68eae5b9a3f8d21d63d8129db947e3580 |
30-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Lots more eval fixes
rivers/common/t_dd_vb.c
ain/enums.c
nl/t_context.h
nl/t_eval_api.c
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_eval.h
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_imm_fixup.h
|
16837e4219e03df36c34f08cee1967b946c44536 |
30-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Restore optimization for cva glArrayElement operation.
wrast_setup/ss_vbtmp.h
nl/t_imm_dlist.c
nl/t_pipeline.c
|
3d49061bfc5c40a6238eb972bd47489734d289f8 |
29-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
typo
rivers/common/t_dd_vb.c
|
d92f615fe55a26776ded6b9b97e0d01862467cc9 |
29-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
More HW_DIVIDE checks.
rivers/common/t_dd_vb.c
|
1018a16f392a642da227f2875ab576b78762fc5d |
29-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Allow drivers to provide a dynamic CHECK_HW_DIVIDE, to turn the divide off according to a runtime test.
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
|
f358988f2e121bb164002e9d1b536eb25b446f14 |
28-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix color copying in twosided quads
rivers/common/t_dd_tritmp.h
|
04a374bd0506c565e362faaee7fa78ce0566731a |
28-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add specialized interp for backcolor, edgeflags
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
|
51c0c71811508b6658e0d5dcff8426b618322a73 |
28-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Support for floating point color representation in tnl module.
rray_cache/ac_context.c
rray_cache/ac_import.c
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_vbtmp.h
ain/api_noop.c
ain/context.c
ain/drawpix.c
ain/get.c
ain/light.c
ain/light.h
ain/mtypes.h
ain/rastpos.c
ath/m_translate.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vbtmp.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_array_import.h
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_debug.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/t_vb_cliptmp.h
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_render.c
|
1832f1cc86758fdcbd122edd5bf9e7a29ccade20 |
27-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed xmesa_visual and xmesa_buffer structs to directly include GLvisual and GLframebuffer structs instead of pointers
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xmesaP.h
|
75978bd85ea86b4e0a4153d623eaf1d40976f49b |
27-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_free_framebuffer_data()
ain/context.c
ain/context.h
|
785c3469f45ef4b96f2622cd1575229a1fd9d250 |
27-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added Makefile support for building libOSMesa16.so which is Mesa compiled for 16-bit color channels, using the OSMesa driver.
ain/Makefile.OSMesa16
ain/config.h
|
f20ea88f88398f38ea6029c35260e481b15116ed |
26-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed mem leak in XFreeFontInfo() call
rivers/x11/xfonts.c
|
11785d441da6c729e89243183b5fcb466c622e8f |
26-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
flush pipeline in WMesaSwapBuffers (Frank Warmerdam)
rivers/windows/wmesa.c
|
908be619fdba608b057ae512834dcc7a76aa3224 |
26-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
first pass at eval fixes
nl/t_array_import.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_dlist.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/t_vb_light.c
nl/t_vb_render.c
nl/t_vb_texgen.c
|
8bce6a217ab97ecf732ea9dcf86c94396b79f774 |
26-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
no-copy drawarrays for remaining non-fan primitives
nl/t_array_api.c
|
5a2f32b102ab862fb10ba6b89e0b68a71552c674 |
25-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a potential tex obj reference count problem involving multi-texture
ain/context.c
ain/texobj.c
|
3bfd0e6f9fee39c00cdbaf03d843a997ef16e827 |
25-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor simplification in glGetTexLevelParameter
ain/texstate.c
|
31acab88f29deeccb30ec608634bad7e020b3f57 |
24-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo in GL_ARB_transpose_matrix
ain/extensions.c
|
8753bd89002c31f4cc747cceafbb12368424b8f3 |
24-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed problems with texel component size queries in glGetTexLevelParameter()
ain/texstate.c
|
691f58930b84f5baa566052a270dc2df05806a81 |
24-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
texture image code updates (not finished)
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
|
29acfe5bd40e1741c07959c4b44a9bf46d250283 |
24-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
assign texImage->FetchTexel only if NULL
ain/teximage.c
|
ad608fe44d1593b4283719e885122260f2776212 |
23-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed two mistakes in texture combine code
wrast/s_texture.c
|
cb6ae7b16b196a0995efd8aeaecc992785091fc6 |
21-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
compilation fixes - texturing isn't working at this time
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
|
b570a180dada9e54ff55905ff11ea882ad8cb57d |
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor fixes for Win32 (Karl Schultz).
ain/colortab.c
ain/texstate.c
ain/texutil.c
ain/texutil_tmp.h
wrast/s_accum.c
wrast/s_drawpix.c
|
0a31a672692c7e5f821f6c2f737b0b15f97bf2d9 |
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved a glBindTexture error message
ain/texobj.c
|
1c85aa33321821b44bea83d3dee702ab4e05f406 |
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed a texture conversion problem: sometimes need to produce an intermediate texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
rivers/glide/fxddtex.c
ain/mtypes.h
ain/texformat.c
ain/texstore.c
ain/texstore.h
|
e3a7cc1f9e32c27248d11c88700004835dc7d870 |
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed glext.h hacks
wrast/s_texture.c
|
5ff4075a6961b26042dc2d7f4adcf333439823f4 |
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
bug fixes, added missing state query cases
ain/teximage.c
ain/texstate.c
|
3004bf8fd70e0cf3f68c6ddbd78101d851a49ae2 |
19-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove values from VB->importable_data as those arrays are removed from the VB.
nl/t_pipeline.c
|
2b7c042525c6895016ab547745b15880b2751f36 |
19-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix striding of color material inputs. (Fixes glean colorLitPerf)
ain/macros.h
nl/t_vb_lighttmp.h
|
72fc93302cd1d3738a79e981118562a20d3888fb |
18-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor optimization to dot3 computation
wrast/s_texture.c
|
bcfe3936a8722f43639ad853649c7f0ea8591cf3 |
17-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
ain/attrib.c
ain/enums.c
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
15eddf38fb2418f2e9703569e66e9f94a614e405 |
17-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
another fix in import_texcoord()
rray_cache/ac_import.c
|
a6c6fce7e8515d8d33e542c9567a73d577165255 |
17-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other import functions
rray_cache/ac_import.c
|
0d47d26a68af99c0433c3e88bd062b36146291a7 |
17-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()
nl/t_array_import.c
|
62c24f315bd8fba0c72e4af4076cfb6985d57c1b |
16-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
return hex string for unknown tokens in _mesa_lookup_enum_by_nr()
ain/enums.c
|
a2ade36eb1905bf8ead7143fa1ec8170579552f5 |
16-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing 'break' in _mesa_TexEnvfv(), better error messages
ain/texstate.c
|
bf478280ebed8a60a5d007884d9817391e206987 |
13-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a work-around in _swrast_copy_texsubimage[123]d() to fix alpha channel problem in some DRI drivers (see comments)
wrast/s_texstore.c
|
608889d18f78727753d63d0f867ec4d216e04c4c |
12-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved FRAC macro out of mmath.h into s_texture.c since it's only used there and doesn't do what one might expect for negative values. Reimplemented FRAC in terms of floor() to fix glitches seen in tests/texwrap.c. Minor fix for problem with GL_CLAMP_TO_BORDER_ARB with GL_NEAREST sampling.
wrast/s_texture.c
|
93de8d3d8617e991c091f29236dc7316203a5b8d |
12-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Reimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the various texture API functions to restore state. Before, the device drivers weren't getting notified of important texture state changes.
ain/attrib.c
|
6ac852d45b3a53dc51414773454e6bae7126fe33 |
10-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some divide by zero conformance problems
wrast/s_aaline.c
wrast/s_aatriangle.c
|
33143303feaf84afbef2e63ac0adab2d70b3c344 |
10-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus Niederkrueger)
rivers/x11/xm_api.c
ain/colortab.c
ain/drawpix.c
ain/pixel.c
wrast/s_accum.c
wrast/s_drawpix.c
wrast/s_texture.c
|
148bd34079a677138af570a4824c50ddc6c6e786 |
09-Apr-2001 |
Alan Hourihane <alanh@tungstengraphics.com> |
remove a HAVE_ELTS that I'd stuck before.
rivers/common/t_dd_dmatmp.h
|
8a09c3a34bae4c262512d3a8ec3630732a686206 |
09-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Perform fixup on material values
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
|
c818d6cce55098f48e953f1b7c96bdf188006bb6 |
09-Apr-2001 |
Alan Hourihane <alanh@tungstengraphics.com> |
fix use of projected vertices with notex vertices when DO_PTEX isn't set.
rivers/common/t_dd_vbtmp.h
|
30c75badd18253c75cc1980b5171ca0f54b1a268 |
07-Apr-2001 |
Alan Hourihane <alanh@tungstengraphics.com> |
Add quad and quad_strip
rivers/common/t_dd_dmatmp.h
|
d3abe14a3a2e7d098986f0fb3c1435ba60cc8768 |
06-Apr-2001 |
Alan Hourihane <alanh@tungstengraphics.com> |
add FINISH function at end of each render_* function fix typo.
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_tritmp.h
|
2aacac9a5d14498149c7d493c6e4776db17ef925 |
05-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format()
ain/texformat.c
|
01429fa46a05cba7d2d11825facd7d8e6117dacd |
05-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_INTENSITY case was incorrect in extract_float_rgba()
ain/image.c
|
36f3712e85cafef1b038189678030f6ef4f8b7e9 |
05-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed tmpTexelSize computation bug
ain/texstore.c
|
7d58f44f73be59bd3583e6dfeedf56c43f7fbd55 |
04-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More texture image changes. 1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's internalFormat, format, type params and returns a gl_texture_format. 2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(), allocates storage and transfers the image into the desired format. 3. _mesa_transfer_teximage() now takes a gl_texture_format to describe the destination format. Any combination of input format/type and output gl_texture_format is accepted. Uses optimized _mesa_convert_- texsubimage[123]d() functions when possible. 3. DRI driver's TexImage[123]D functions should be a lot simpler now.
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/dd.h
ain/texformat.c
ain/texformat.h
ain/texstore.c
ain/texstore.h
|
bb0830da9e35666f26bb0e5e530d18d8b9ec8e71 |
04-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated bug report info in _mesa_problem()
ain/context.c
|
bb95cf8934db217b3dbdc79f24af8941d69e9263 |
04-Apr-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Removed glapinoop ----------------------------------------------------------------------
ain/descrip.mms
|
bc80faa7d940bb64421577994490b91a2e6b03de |
03-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
another fix to clear_32bit_ximage()
rivers/x11/xm_dd.c
|
a9e2abdcfbb39d255ee0bf2a14cbae75068371c7 |
03-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
include fxdrv.h before other headers (Ivan Kalvatchev)
rivers/glide/fxwgl.c
|
2e1ed6447a1eea18bf7d8180f86381574127e370 |
03-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed wglUseFontBitmapsA() bugs (Frank Warmerdam)
rivers/windows/wgl.c
|
9d205e3542dbcec948725be74732745fc4dda95a |
03-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
clear pixel value wasn't byteswapped for scissored clears in clear_32bit_ximage()
rivers/x11/xm_dd.c
|
67f755423248e044a94a02a3e9e6856018610909 |
30-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
querying proxy texture image info was segfaulting because of NULL TexFormat pointer
ain/texstate.c
|
347b3f0dafe8d0cc30e9d1e7595d12b0ac31bb4a |
30-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly
ain/teximage.c
|
e116d3b3e55a70ceb4af270ecd1b614117f631a2 |
30-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()
ain/teximage.c
|
7b0b2ec73ac27d571fbaddeb4b23b8cabde7f963 |
30-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed compilation problems related to ctx->_Enabled removal
rivers/glide/fxdd.c
|
5e23af22f708a66695c0e44e599c26f02d8d4dcd |
30-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove all traces of CULL_MASK_ACTIVE.
ain/texformat.c
ain/texutil.c
ain/texutil_tmp.h
ath/m_copy_tmp.h
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_dotprod_tmp.h
ath/m_norm_tmp.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
nl/t_vb_fog.c
nl/t_vb_normals.c
nl/t_vb_texgen.c
86/3dnow.c
86/common_x86_macros.h
86/norm_args.h
86/sse.c
86/x86.c
86/xform_args.h
|
afc5699b08b7eb4d29f2872c308800f2ae43d6b0 |
30-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix calculation of fog coordinate in translate_vertex().
rivers/common/t_dd_vb.c
|
ed39a43b8cb2e1cf69b097fc89365cde470ebf51 |
29-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove ENABLE_* flags, ctx->_Enabled. Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
ain/debug.c
ain/enable.c
ain/mtypes.h
ain/points.c
ain/state.c
wrast_setup/ss_vb.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
|
2780ed4b978b32a08be6eecb0e923250e7b907ee |
29-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence a compiler warning
rivers/osmesa/osmesa.c
|
3d5815f4636be0aa9f1788ca80908d5809d26481 |
29-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT. Added some switchable debug to s_context.c
ain/debug.c
ain/enable.c
ain/feedback.c
ain/mtypes.h
ain/state.c
wrast/s_context.c
|
ee403ff0ba272f5be539ddc921d3fffb3d250cc4 |
29-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed DD_Z_NEVER. Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
rivers/glide/fxtris.c
ain/blend.c
ain/debug.c
ain/depth.c
ain/enable.c
ain/glheader.h
ain/light.c
ain/mtypes.h
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_context.h
wrast/s_lines.c
wrast/s_triangle.c
wrast_setup/ss_vbtmp.h
nl/t_vb_render.c
nl/t_vb_vertex.c
|
1b2fef5c28a40cd001598071e25b876ad4fccdd1 |
29-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Consolidation of asm code in 3.5
akefile.X11
ain/Makefile.X11
ath/m_debug_norm.c
ath/m_debug_xform.c
86/3dnow.c
86/3dnow_normal.S
86/3dnow_xform1.S
86/3dnow_xform2.S
86/3dnow_xform3.S
86/3dnow_xform4.S
86/common_x86.c
86/common_x86_asm.S
86/common_x86_asm.h
86/sse.c
86/sse.h
86/sse_normal.S
86/sse_xform1.S
86/sse_xform2.S
86/sse_xform3.S
86/sse_xform4.S
86/x86.c
86/x86_xform2.S
86/x86_xform3.S
86/x86_xform4.S
|
8e48a232fe48e4b6855cecb1d02363fb142365ae |
29-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Make generation of matypes.h more transparent.
akefile.X11
ain/Makefile.X11
86/gen_matypes.c
|
3d9168025c97b25d7a26f30a3d5e61284861f2ae |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
compilation updates
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
|
f1f288182ec07eddeefa591fce20fe69ce3744e2 |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
adjustment to coverage sample positions
wrast/s_aaline.c
wrast/s_aatriangle.c
|
16a8e986cebae6560d00992b6b9f54549e1d03c6 |
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Restore texImage->IntFormat. - Fix FX driver texture image conversions.
rivers/glide/fxddtex.c
ain/mtypes.h
ain/teximage.c
ain/texstate.c
|
d082417daeb3f8a35a490eb44b6c88463289fa5d |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for startX off the right edge of the window
wrast/s_aatritemp.h
|
5bfaa2f12e35a9de4a4116968e34ee24007973e7 |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use Image[i]->TexFormat to check for mipmap consistency
ain/texobj.c
|
38e3675d7dc6c373366e576e3ca1a1eb966e4dac |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplify test for specific texture formats
wrast/s_triangle.c
|
0a59ca6cae6ef24990f1c41c8c7857214489443c |
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
New type system for assembly code. Asm files should now include matypes.h, which includes assyntax.h and is generated from the core Mesa header files.
akefile.X11
ain/Makefile.X11
86/3dnow.c
86/3dnow.h
86/clip_args.h
86/common_x86.c
86/common_x86_asm.S
86/common_x86_asm.h
86/common_x86_features.h
86/gen_matypes.c
86/mmx.h
86/mmx_blend.S
86/norm_args.h
86/x86.c
86/x86.h
86/x86_cliptest.S
86/xform_args.h
|
38f28665bf9fb5b2464738ca5074848ec2777ae1 |
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
More texture format updates. Drivers now need only plug an appropriate format into texImage->TexFormat, the rest is handled by core Mesa.
ain/mtypes.h
ain/texformat.c
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texutil.c
wrast/s_texstore.c
wrast/s_texture.c
wrast/s_triangle.c
|
c7aeb8bf1fda8dbe4b59fcff2d9129ee69527478 |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a debug message
lapi/glapi.c
|
46560b94aecc67ba9876109adb0d600accb7661f |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer
lapi/glx86asm.py
|
3c257e187bded9417d00471286d86ea4e483a98a |
28-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
New mechanism for thread-safe GL API dispatch. C-based dispatch is faster. Folded glapinoop.c code into glapi.c. Added code to glapitemp.h to fill in dispatch tables. Updated Makefiles.
akefile.X11
lapi/glapi.c
lapi/glapi.h
lapi/glapitemp.h
ain/Makefile.DJ
ain/Makefile.X11
ain/context.c
ain/dispatch.c
|
fb8af6fc9780e6238c309487d265822fc7052a0d |
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass dst and src to CONVERT_TEXEL() macros to fix non-ANSI problems
ain/texutil.c
ain/texutil_tmp.h
|
81e3955acff2c366f9591bc3010ca0024c968d91 |
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed RGBA/RGB typo
ain/texformat.c
|
197c526d63e1d4ea96f29eece392cdc389770b38 |
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
texFormat was a random value in _mesa_store_teximage3d(), fix by undoing last changes
ain/texstore.c
|
19d1e432612cf7db797da11793b13a6c1c6aac16 |
27-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Updates required for DRI drivers on mesa-3-5-branch.
ain/imports.c
ain/mtypes.h
ain/texformat.c
ain/texstore.c
ain/texutil.c
|
06ed3f0a0af158fc3591771fdeaeac363ced57f6 |
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence compiler warnings
rivers/glide/fxapi.c
rivers/glide/fxdd.c
ain/dlist.c
|
6dbb39025cac10aac98e37ee72539e3c2a81a161 |
27-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed DO_GEOMETRY
lapi/glapitemp.h
ain/dispatch.c
|
5535aca5dffdfb8ad9a1970a062e6109227aa17f |
26-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
change glTexImage3D() internalFormat to GLenum to match other OpenGLs
lapi/glapitable.h
lapi/glapitemp.h
ain/teximage.c
ain/teximage.h
|
2bb04cad14f5edd9e2657a1122ceeb1fb468f4a9 |
26-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_border_clamp
ain/enums.c
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
425fea1c346438f1c60a768514e74f655f05417a |
24-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Minor cleanups of ctx->Driver.Current*Primitive usage. - Remove unused gl_reduce_prim array.
ain/context.c
ain/dlist.h
ain/mtypes.h
|
577f318e0edd159d701a1f36893bbdee3c9e8c41 |
24-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix ASSERT_OUTSIDE_SAVE_BEGIN_END() macro as well.
ain/dlist.h
|
6d62d7f32189d6a7b053420d16495217dc62f66f |
23-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweak to visual setup for accum buffers
rivers/x11/fakeglx.c
|
4672b2d88cac92d1dde4909b16b7477e7793d17f |
23-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Min/Max lod clamp bug
wrast/s_texture.c
|
b3678f108044302dc6f50a14568d47c1b345df9b |
23-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Some more minor cleanups of macros.
ain/mtypes.h
|
8b7dfa852626f73894763e278e365609e81f1220 |
23-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.
ain/mtypes.h
|
19bf744556bfb32b7ac4d3f9efbdbbf2b057434b |
22-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable GL_ARB_texture_env_combine and GL_ARB_texture_env_dot3 in _mesa_enable_sw_extensions()
ain/extensions.c
|
ea1bfcc80a524ee2466874081194c1697e1fc936 |
22-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove formats that no longer exist.
ain/texformat.h
|
2f177e29060ded1edf7434ae5adbec92510c599c |
22-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Minor updates.
ain/texformat.h
|
7acad72a1acc5f1d44a5301403e58d0d7d40f97d |
22-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix texture format enum values (Brian Paul).
ain/texformat.h
ain/texutil.c
|
8806915c3ad023bacc0569b03b6394b0f88b7606 |
22-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_env_dot3 enums
ain/enums.c
|
1a59875367b4e38710b37422143efb702b0b1420 |
22-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3
ain/extensions.c
ain/texstate.c
wrast/s_texture.c
|
e9313a64c182701d22a5c6d2a82863c658e7424f |
22-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up in _swrast_choose_triangle()
wrast/s_triangle.c
|
d2733fa1963ddaa6dd4bb41ef488a029964dd8f1 |
22-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add PolygonOffset driver callback.
ain/dd.h
ain/polygon.c
|
8ac1f97e9ecbd2f5ef9cda5d3c51411e0e36bb26 |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added teximage rescaling code. untested at this point
rivers/glide/fxddtex.c
|
6f3178a3bed43b49407f0bde92c2e6d85c40d190 |
21-Mar-2001 |
pesco <pesco> |
* src/swrast_setup/ss_tritmp.h (quad): Changed name of this function to quadfunc. * common_rules.make: Use tabs for command indentation.
wrast_setup/ss_tritmp.h
|
1639518b64297b393d8eed79a2a5ff4ec89d8efd |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor updates for 3.5
rivers/glide/fxsetup.c
|
935d5e5daacd363f38ee6f020b6681a2b96e0198 |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use new texture conversion code, still have to do image rescaling
rivers/glide/fxddtex.c
|
0299ad753224372c7a6147f598fdad33f576a714 |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed some vars, added a bunch of comments
ain/texstore.c
ain/texstore.h
ain/texutil.c
ain/texutil_tmp.h
|
c8cfbf7c19d7c3c213d5b48e1ef5ce5c19d3a656 |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org in sample_depth_texture()
wrast/s_texture.c
|
56671022f97cfbc199a47b3338125431e42030ee |
21-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
depth images were broken by latest teximage changes, this fixes the problem
ain/texstore.c
ain/texstore.h
|
b5f0de18b9b6fb291b6f086bdae3ee01b895d3dc |
20-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Make COPY_FLOAT available to a wider audience.
ain/api_noop.c
|
23f48064b87d9adb0b6270eee74e18a7df9e7feb |
20-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
More updates. Radeon tnl module still disabled by default.
rivers/common/t_dd_vertex.h
|
f3e31787514269c75b21cbee6c6e98fab4c40b01 |
20-Mar-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Mesa/src/texutil_tmp.h -Updated VMS makefile -__FUNCTION__ is not a defined on VMS (and maybe other systems) For VMS __FUNCTION__ is defined to in texutil_tmp.h ----------------------------------------------------------------------
ain/descrip.mms
ain/texutil_tmp.h
|
4e856077b798c70e14c2d0bb5ea27be9cc87e5c8 |
19-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix for gl_ztrick bug (Ove Kaaven)
ain/matrix.c
|
b048d8e084597e43af277f77f3c968ce2d5305c6 |
19-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
New files
wrast/s_imaging.c
wrast/s_texstore.c
|
709892459922a32096fe9dd8261d0d92337bb02f |
19-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Split driver struct into swrast/tnl/core components.
akefile.X11
rray_cache/ac_import.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xmesaP.h
ain/Makefile.X11
ain/colortab.c
ain/convolve.c
ain/dd.h
ain/drawpix.c
ain/mtypes.h
ain/state.c
ain/teximage.c
ain/texstore.c
ain/texstore.h
wrast/s_aatriangle.c
wrast/s_accum.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_triangle.c
wrast/swrast.h
wrast_setup/ss_tritmp.h
nl/t_context.c
nl/t_context.h
nl/t_imm_api.c
nl/t_pipeline.c
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_render.c
|
371ef9c058b0d59bfb62689b64af1b29a2214d9e |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add missing header file include.
ain/texstore.c
|
ad7ce7360968ef536bb20675844152c40b62084b |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove #endif.
ain/texstore.c
|
264c6fd1774019d059876558eafffa1c191045a7 |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Make assertions take new GLchan formats into account.
ain/texutil.c
|
3fa4bd008c900ce42bf44818fadacbc55578e1c4 |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix error message.
ain/texformat_tmp.h
|
7ea33579e733345393410d2c111a638b46e3d241 |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix header info.
ain/texformat_tmp.h
ain/texutil_tmp.h
|
6b406bf09dc18f4d84ccb636d043c990a30da4e1 |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove old code, fix a few comments.
ain/texformat.c
ain/texstore.c
|
2c3d34c905fa6b831a066afae83b938de05eb241 |
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Port 3.4 texture utils, texture format work to 3.5 (including new FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
akefile.X11
ain/Makefile.X11
ain/attrib.c
ain/config.h
ain/context.c
ain/extensions.c
ain/get.c
ain/macros.h
ain/mtypes.h
ain/texformat.c
ain/texformat.h
ain/texformat_tmp.h
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
ain/texutil.c
ain/texutil.h
ain/texutil_tmp.h
|
6e550baa0a2b72bb0e4f5b19fdf74e5d3f377565 |
18-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix lineloops.
rivers/common/t_dd_dmatmp.h
|
bcc513ebf5011a307ec7b1b383f8522e9dc28404 |
17-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix cut&paste bug exposed by clipbug.c demo.
rray_cache/ac_import.c
|
47489c0721348d8f5e5f17b4af63b1c601045116 |
17-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead #define. Add case for triangles culled front and back -- not handled by the culling code inside swrast triangle routines.
ain/mtypes.h
wrast/s_triangle.c
|
c6e2d29cdebc4b14cb4d5bea44ee67f7e22dd21d |
17-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Revert earlier changes protecting against null VB->TexCoordPtr[x]. Do this a better way via check_tex_sizes().
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
|
24fab8e2507d9ccc45c1a94de0ad44088cfb8738 |
15-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ARB_texture_env_add bool flag, use EXT_texture_env_add flag
ain/extensions.c
ain/mtypes.h
|
b082abc28f4462cb702ba3254a70378989b8ab84 |
15-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
use IROUND() instead of (int) cast (Klaus Niederkrueger)
wrast/s_texture.c
|
c6742cedee09d6f359a11b24bc98d5e50c9714ac |
14-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Fix typo.
rivers/common/t_dd_vertex.h
|
3709db0e17fb3d70fe27b60d81df2c5faf11b7b9 |
13-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Initial templates for immediate mode fastpaths, or custom tnl modules. Completely untested and incomplete. More to follow.
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_vertex.h
|
2a938d3ab79e7d1e2ee80478743d970c8b3c5cf9 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Undo -D_POSIX_SOURCE change, fix the way the katmai support test is done.
86/common_x86.c
|
79b2d13ae2280650070d5a0f157afecbfa02f9e6 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we've been using it with the DRI for long enough without any issues and we need it to include the katmai functions. - Make katmai assembly work with the debug tests. - A few general cleanups.
ath/m_copy_tmp.h
ath/m_debug_xform.c
ath/m_dotprod_tmp.h
ath/m_norm_tmp.h
ath/m_trans_tmp.h
ath/m_xform.h
ath/m_xform_tmp.h
|
d4eb665c60eff14c31486986703255b836dd1574 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add missing header file.
ain/context.c
|
467037de2233e1512b1e2981e4092a5d9764a4ee |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add missing header file include.
ain/vtxfmt.c
|
22144ab7552f0799bcfca506bf4ffa7f70a06649 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Consistent copyright info (version number, date) across all files.
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
rray_cache/acache.h
rivers/common/t_dd.c
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_rendertmp.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
lapi/glapi.c
lapi/glapitemp.h
lapi/glthread.c
lapi/glthread.h
ain/accum.c
ain/accum.h
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_loopback.h
ain/api_noop.h
ain/api_validate.c
ain/api_validate.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/buffers.c
ain/buffers.h
ain/clip.c
ain/clip.h
ain/colortab.c
ain/colortab.h
ain/config.h
ain/context.h
ain/convolve.c
ain/dd.h
ain/debug.c
ain/debug.h
ain/depth.c
ain/depth.h
ain/dispatch.c
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.c
ain/enable.h
ain/enums.c
ain/enums.h
ain/eval.c
ain/eval.h
ain/extensions.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/glheader.h
ain/hash.c
ain/hash.h
ain/hint.c
ain/histogram.c
ain/histogram.h
ain/imports.c
ain/imports.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.h
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.c
ain/rastpos.h
ain/simple_list.h
ain/state.c
ain/state.h
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.h
ain/texstore.c
ain/texutil.c
ain/texutil.h
ain/varray.c
ain/varray.h
ain/vtxfmt.c
ain/vtxfmt.h
ain/vtxfmt_tmp.h
ath/m_clip_tmp.h
ath/m_copy_tmp.h
ath/m_debug.h
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_dotprod_tmp.h
ath/m_eval.c
ath/m_eval.h
ath/m_matrix.c
ath/m_matrix.h
ath/m_norm_tmp.h
ath/m_trans_tmp.h
ath/m_translate.c
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
ath/mathmod.h
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_drawpix.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_lines.c
wrast/s_lines.h
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_pixeltex.c
wrast/s_pixeltex.h
wrast/s_points.c
wrast/s_points.h
wrast/s_pointtemp.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vb.h
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_array_api.c
nl/t_array_api.h
nl/t_array_import.c
nl/t_array_import.h
nl/t_context.c
nl/t_context.h
nl/t_eval_api.c
nl/t_eval_api.h
nl/t_imm_alloc.c
nl/t_imm_alloc.h
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_debug.c
nl/t_imm_debug.h
nl/t_imm_dlist.c
nl/t_imm_dlist.h
nl/t_imm_elt.c
nl/t_imm_elt.h
nl/t_imm_eval.c
nl/t_imm_eval.h
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/tnl.h
|
57ffddba9870a0e602ae454e13072a0af48fa150 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Minor cleanups.
ain/vtxfmt.c
|
de6a2e0d194d1afa1a917cff7e80d77773b73c39 |
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Clean up install, restore for exec vtxfmts.
ain/context.c
ain/vtxfmt.c
ain/vtxfmt.h
nl/t_context.c
|
d8aa0269cdadba1608522287bcb3b446c5848c09 |
11-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Support for swappable tnl modules. Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
rivers/common/t_dd_vertex.h
ain/colormac.h
ain/context.c
ain/dd.h
ain/mtypes.h
ain/vtxfmt.c
ain/vtxfmt.h
ain/vtxfmt_tmp.h
nl/t_context.c
|
b1b403665635350df3f30db992faf50776606545 |
10-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add a couple of missing functions.
ain/vtxfmt_tmp.h
|
53e4bf9afd304b91902eeef97617d855a6a2f823 |
09-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
More generic vtxfmt template, useful for creating neutral tnl module as well as fallback functions for driver tnl modules.
ain/vtxfmt_tmp.h
|
ca8c6a03372229ed454b941185a9480bd0e8f110 |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed RBGA ifdef typo
rivers/common/t_dd_vertex.h
|
95e02a210ed339ad20b0c16284dcdcf9af2dc755 |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined
rivers/osmesa/osmesa.c
rivers/x11/xm_tri.c
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_triangle.c
wrast/s_tritemp.h
|
896e8bd2d7eb1385ca89e71b7eac146577320e00 |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
processed by indent to improve readability
ath/m_eval.c
|
417ed16a88bd6c695e9792c2023e3f1737ee1e64 |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed bincoeff var to GLfloat, fixes bug introduced in previous check-in
ath/m_eval.c
|
01915e90e6912f06d43d443a09157f7bbc96ddc5 |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.
rivers/osmesa/osmesa.c
rivers/x11/fakeglx.c
rivers/x11/xfonts.c
rivers/x11/xm_api.c
ain/colormac.h
ain/texobj.c
ath/m_debug_norm.c
ath/m_debug_xform.c
wrast/s_accum.c
wrast/s_blend.c
wrast/s_drawpix.c
wrast/s_texture.c
wrast/s_triangle.c
wrast_setup/ss_triangle.c
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_imm_elt.c
nl/t_imm_exec.c
|
eac57f009ea347cfce0d70452c1bdeb0e6c9eeae |
08-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added an assertion in the init code, just to be safe
rivers/common/t_dd_vbtmp.h
|
9cb9401e8787bf524b8e647d63a3de9d8d1a1dd1 |
07-Mar-2001 |
Jon Taylor <taylorj@ggi-project.org> |
Misc build fixes
rivers/ggi/ggimesa.c
|
4da75f6d91801dbe5efc93a74b6301c535d305b9 |
07-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Add missing copy in _mesa_noop_Color4fv().
ain/api_noop.c
|
b51b0a847d7e7daaea69f77ab569086ef81c24a2 |
07-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of potential problems
rray_cache/ac_import.c
rivers/glide/fxdrv.h
lapi/glapi.c
lapi/glthread.c
ain/clip.c
ain/colortab.c
ain/convolve.c
ain/dlist.c
ain/enums.c
ain/image.c
ain/image.h
ain/imports.c
ain/light.c
ain/teximage.c
ain/texstate.c
ain/texstore.c
ain/texutil.c
ain/varray.c
ath/m_eval.c
ath/m_matrix.c
wrast/s_aaline.c
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_buffers.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_pointtemp.h
wrast/s_readpix.c
wrast/s_stencil.c
wrast/s_tritemp.h
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
|
249aebdd357d20f6326137c967c6b3923bef6c05 |
07-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
_MinMagThresh[] should be GLfloat
wrast/s_context.h
|
90ea5261149f74ca81c723c00b5883209952d1d8 |
07-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some casts in the 16-bit GLchan macros, just to be safe
ain/colormac.h
|
be3d539dac3948458931be63fa3e97e072871550 |
07-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Driver.BlendColor() function, for completeness
ain/blend.c
ain/dd.h
|
ac859a4cbdd55aa51275ab8ed44e67b0c5ba71db |
05-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)
rivers/common/t_dd_vbtmp.h
|
75280a2c742ee241d392618a3b29548fce1520a9 |
05-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macros
ain/teximage.c
|
89700a4abdf0eaa1da80fc9e0c1f856c39a1a9a4 |
05-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
DO_POINT renamed DO_POINTS
rivers/common/t_dd_tritmp.h
|
0ceb82b83843735437a994337d6f743f0460d7cb |
05-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Changes for ffb
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_tritmp.h
|
3db5374e66c902667d260e8ebf31fe419922924e |
05-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix typo
rivers/common/t_dd_vb.c
|
3c646597cf18d19fc89345423061a728dce1b4cc |
05-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICS macro
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
|
a11c0bcf97b00c93dbb156523ace86b9b19b74ba |
05-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced gl_test_os_katmai*() with _mesa_test_os_katmai*()
86/common_x86.c
|
865322f931197c5c73c57b366b64300894565dab |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more clean-ups
wrast/s_blend.c
86/common_x86.c
86/common_x86_asm.S
86/common_x86_asm.h
86/common_x86_features.h
86/mmx.h
86/mmx_blend.S
86/x86_cliptest.S
|
d62269757b3e40e4ddae54cc8bf0cc0e1d5d1eae |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
used indent to clean-up the code
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/glide/fxwgl.c
|
188f2949eaf181f4aab041a6dad26fa76e746eee |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more namespace clean-ups
ath/m_clip_tmp.h
ath/m_debug_norm.c
ath/m_dotprod_tmp.h
ath/m_norm_tmp.h
ath/m_xform.c
ath/m_xform.h
nl/t_vb_fog.c
nl/t_vb_normals.c
nl/t_vb_texgen.c
nl/t_vb_vertex.c
86/3dnow.c
86/x86.c
|
08836341788a9f9d638d9dc8328510ccd18ddeb5 |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of gl_*() to _mesa_*() namespace clean-up
rivers/allegro/amesa.c
rivers/d3d/D3Dvbrender.c
rivers/dos/dosmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/windows/wmesaBackup.c
rivers/windows/wmesaOld.c
rivers/windows/wmesa_stereo.c
rivers/x11/xfonts.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
ain/accum.c
ain/api_noop.c
ain/api_validate.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/clip.c
ain/colortab.c
ain/context.c
ain/context.h
ain/convolve.c
ain/debug.c
ain/debug.h
ain/depth.c
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/enable.c
ain/enums.c
ain/enums.h
ain/eval.c
ain/eval.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/get.c
ain/hint.c
ain/histogram.c
ain/image.c
ain/light.c
ain/light.h
ain/lines.c
ain/matrix.c
ain/matrix.h
ain/mtypes.h
ain/pixel.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/state.c
ain/state.h
ain/stencil.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
ain/texutil.c
ain/varray.c
ath/m_clip_tmp.h
ath/m_copy_tmp.h
ath/m_debug_norm.c
ath/m_debug_xform.c
ath/m_vector.c
ath/m_vector.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_alpha.c
wrast/s_alphabuf.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_lines.c
wrast/s_logic.c
wrast/s_masking.c
wrast/s_points.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_zoom.c
wrast/s_zoom.h
nl/t_array_api.c
nl/t_eval_api.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
86/3dnow.c
86/3dnow.h
86/common_x86.c
86/common_x86_asm.h
86/x86.c
86/x86.h
|
19bbfc62638b60dd1a41e84686f24483adea5b03 |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized lambda calculation (Klaus Niederkrueger)
wrast/s_triangle.c
wrast/s_tritemp.h
|
85312e6db1d04e57a48db097fe5149d91251cf64 |
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed AlphaFunc() ref from GLclampf to GLchan
ain/dd.h
|
eb2b63877a5554ac0a5c9e4653f0a695560cf249 |
02-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed _mesa_getenv() weirdness
ain/imports.c
|
6a2d72ecff29038a131bc4b4609e7368950dec96 |
01-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed mistake in alpha buffer clear test
rivers/x11/xm_dd.c
|
6da33b12495e5a205732e23318e6dfee44a1ed9c |
01-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Uncomment some defaults.
rivers/common/t_dd_dmatmp.h
|
0fe593a71e4f78c5683455cf71d5873a3664f146 |
01-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Bugfixes for vertex format, templates
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
|
d89c87ac40631cb7c8c7da71c61770fc93903a33 |
01-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added s/w alpha buffer clearing
rivers/x11/xm_dd.c
|
b4203c1c49d637432a6ede6e77fe95f6734729bf |
28-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed some bogus error checks
ain/texstate.c
|
feb555af03731cb785cbc484d28e53766e22d8b1 |
28-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Templates are in working order.
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/common/t_dd_vertex.h
|
be3602da412ae56b5ee019fc47cc282eb3d66fad |
28-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead. Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
ain/context.c
ain/context.h
ain/mtypes.h
|
6a9851d72d6cf9f5a6b0e3bd5bbb05706e071387 |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed glitches in error checking of imaging extensions
ain/enable.c
ain/get.c
ain/histogram.c
|
bf8b5f99a11ad43bb3404ed4ae04eceb3027bbab |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
signal _NEW_TEXTURE in all teximage functions
ain/teximage.c
|
2eb801cda2f463513d25629928921072cd62931a |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added fog coord clamping
nl/t_vb_fog.c
|
8753b1c397d8f5778fa527bf4f6bb6b0cb435874 |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
colortable w/ size=0 wasn't handled correctly
ain/colortab.c
ain/pixel.c
|
bed4c5bf58c91f37e2526bbb98fbda27c65455ff |
27-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Initialize Line._Width
ain/context.c
|
18c516655faa7973f981726e91928b525d046df6 |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
more tweaks
ain/extensions.c
|
01a5dd879b2b29a1d30622eac3ff81bddf6b28a1 |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor extension tweaks
rivers/glide/fxdd.c
ain/extensions.c
|
6975540db26309cdfa8f27b3b6dadf3dbf4a1746 |
27-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Disable most extensions by default. Drivers should enable them as needed. Renamed gl_*() functions as _mesa_*().
rivers/glide/fxdd.c
ain/context.c
ain/extensions.c
ain/extensions.h
ain/get.c
|
806e20f463c9b98b945f0095e07642362720256a |
26-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed extension checking in _mesa_BlendEquation()
ain/blend.c
|
eb198d2702aa876a3fd7041c3a51f211407108be |
26-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
tiny change to a gl_problem() call
ain/texobj.c
|
1f57563b9dccfb6ce5026eaf5b7a418dc4dd52b9 |
26-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a cube map error check
ain/teximage.c
|
30038ecaa23a5acb1a532dd32f22a02b910fc17c |
26-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
bilinear sampling of depth textures
wrast/s_texture.c
|
feca368c2995e5c861e71253f3c53ebb231919b2 |
24-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Template work
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
ain/dd.h
wrast/s_context.c
|
0d04827f6dd99bd2fb8055ccfff03482802e8500 |
24-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
another fix in _mesa_stencil_and_ztest_pixels() for hardware fallbacks
wrast/s_stencil.c
|
74b775e14de000027492f6ea3c836aa82f850d21 |
23-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in _mesa_stencil_and_ztest_pixels() found w/ DRI mga driver
wrast/s_stencil.c
|
dab76b4dc585f5833003ff3a0e53c256bf974d47 |
22-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
improvements to regions_overlap() function
wrast/s_copypix.c
|
ea83bacf9cd05825daf56369279b185dab3d2632 |
22-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed some bogus code
rivers/x11/xm_span.c
|
69c283e061be8d7c35daf9fc02cbb5fecd53bd4c |
22-Feb-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms old files removed/ new files included in VMS makefile ----------------------------------------------------------------------
ain/descrip.mms
|
abe094e4a158fcefc40eee9605d5214846881534 |
21-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_LUMINANCE_ALPHA bug in fetch_2d_texel()
ain/texstore.c
|
4eebc90a174722422daea6352d4e980bc81b4bb2 |
20-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.
rray_cache/ac_import.c
ath/m_translate.c
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_vb_light.c
|
c499ce31baf820e84d133c2189f88e15a1a36672 |
20-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture. Added some const keywords in the s/w texturing code.
ain/attrib.c
ain/extensions.c
ain/mtypes.h
ain/state.c
ain/texobj.c
ain/texstate.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_texture.c
wrast/s_texture.h
|
0c75c4c41754a4f66cdc124b4328e92635b473fe |
19-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
plug in fallback teximage DD functions
rivers/glide/fxdd.c
|
2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 |
19-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/dd.h
ain/teximage.c
ain/texstore.c
ain/texstore.h
|
e75d2424e53d6023f4414e40694cd467e5392b96 |
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed FetchTexel() function pointer arguments. Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
rivers/glide/fxddtex.c
ain/context.c
ain/extensions.c
ain/histogram.c
ain/image.c
ain/image.h
ain/mtypes.h
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texstore.c
wrast/s_drawpix.c
wrast/s_texture.c
|
8f9a594ac8116ed5cab7f8eca14c17ec3e250dad |
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added MESA_GLX_FORCE_CI env var (useful for conformance testing)
rivers/x11/fakeglx.c
|
f7e1dfeaefda8865252513bc4d880ea8640efe4d |
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Work in glGetTexImage() to return GL_COLOR_INDEX images. Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
ain/extensions.c
ain/mtypes.h
ain/teximage.c
ain/texstate.c
ain/texstore.c
|
23e8d46e072669e0974d7b2c168d4770183106bd |
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved depth/index/stencil span packing into image.c
ain/image.c
ain/image.h
wrast/s_readpix.c
|
4539e9195d2711fb977fbb6589427e0456102214 |
16-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix state bitmasks for invalidating line,tri,point functions. (won't fix the fog problem, I don't think)
wrast/s_context.c
|
46b0988c673b28e072fd0cbf477632a9ab6f9f18 |
16-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
akefile.X11
rivers/common/t_dd.c
rivers/common/t_dd_dmatmp.h
rivers/common/t_dd_rendertmp.h
rivers/common/t_dd_tritmp.h
rivers/common/t_dd_unfilled.h
rivers/common/t_dd_vb.c
rivers/common/t_dd_vbtmp.h
rivers/glide/fxdd.c
ain/Makefile.X11
ain/enable.c
ain/light.c
wrast/s_aatriangle.c
wrast/s_context.c
wrast/s_context.h
wrast/s_lines.c
wrast/s_lines.h
wrast/s_points.c
wrast/s_points.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast_setup/ss_context.c
wrast_setup/ss_vbtmp.h
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_render.c
|
2448fc7deeaa870d879de17158f243f239c05b15 |
16-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed conform problems with recent material tracking change. Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
akefile.X11
ain/Makefile.X11
ain/state.c
wrast_setup/ss_context.c
wrast_setup/ss_vbtmp.h
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_render.c
|
86ca15ece74ccb5a8f4d566a4b2c8024b178d73b |
15-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor scissor optimizations (Klaus Niederkrueger)
wrast/s_span.c
|
c6b2a92613a5110dbf387721af8ec505744183b9 |
15-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix propogation of material values in VB's that don't reach the lighting stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
ain/dd.h
ain/light.c
ain/light.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_alloc.c
nl/t_imm_api.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_normals.c
|
4e52e192b2507a001817c8172713016cef69206b |
15-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a CI-mode spot light conformance failure, but still not clear why
nl/t_vb_lighttmp.h
|
4e492363f01e6700fc49d13d61c56a70fc23308d |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a misplaced _mesa_logicop_ci_span() call
wrast/s_span.c
|
b5fb4fd55bb49fb969ae483f77aa6f9db8348c20 |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a CI mode segfault, minor clean-ups
nl/t_vb_lighttmp.h
|
88c5ceb6500d6cb442b4e675f0d7928ddd99b1cf |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed an assertion
wrast/s_buffers.c
|
c3a4dbfbd693de951ec0d6dbd0a9f0613839badb |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a few CI mode span bugs and a dither bug
rivers/x11/xm_span.c
|
45323646bdf1e5fa4410a89c2e82908a571b546a |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in gl_validate_all_lighting_tables() found with CI mode conformance tests
ain/light.c
|
10686f42c90673daaac61971be553a78fcdb2ab1 |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed bogus assertions
ain/image.c
|
dc866313affb0b4f2073f1234f69a4804f02c7a7 |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
gl_error clean-ups
ain/enable.c
ain/matrix.c
nl/t_imm_dlist.c
nl/t_imm_fixup.c
|
8f28f4850bbf4f32e84f25ee1a8d72b16b8a41d1 |
14-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_SET bug
wrast/s_logic.c
|
479fa1db1dc7cb8e48219ac28edfb2f2a9c971b2 |
12-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added debug assertions to be sure drivers initialize all required function pointers
ain/state.c
|
a81b3532f7c984878ba1d4b38f796abf731f76b1 |
12-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added ctx->Driver.ResetLineStipple, misc clean-up
rivers/osmesa/osmesa.c
|
3c84ab90f23df09d3114ae0b78cbc65658d5931c |
12-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed RGB over/underflow bug for tiny triangles (bug 128969)
wrast/s_tritemp.h
|
15bf1cd129ce03a985464c52c311a489da92c4be |
10-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor updates to sync w/ XFree86 changes
ain/glheader.h
|
ccc8b9239c8ae5c1f5364a5b99ffa3f8b5a731ab |
10-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes from XFree86 (dawes)
86/common_x86_asm.S
|
9db3f95acea5622573803890afd506ebcdaab3b3 |
09-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bytesPerValue bug in OSMesaGetDepthBuffer()
rivers/osmesa/osmesa.c
|
1f12a07380e8cd4165d94c33661f1ada31f22222 |
08-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bugs in _mesa_clear_depth_buffer(), bug #131366
wrast/s_depth.c
|
1ceda0f84fdfe07951071fdf4fa643d07f09a4d7 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLchan fixes
ain/texstore.c
|
9a0b12ab00a82a6060ca33e17fc135179024751c |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed texel indexing bug in _mesa_GetTexImage()
ain/teximage.c
|
b4736f5e17b23d82ab369c26370c8ff26c45d1d1 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added divide by zero checks
wrast/s_triangle.c
|
5c55aa4e61adcf136a18f2aea08a44f69840c4a0 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed divide by zero problem
wrast/s_linetemp.h
|
a1f1586bcb9fcd4a30930fd14b73323642ce85c5 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some code for proxy texture tests
ain/teximage.c
|
b8e1c70ec104f51f9a8e763bd8c582d3ff5c1d8d |
07-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Correctly calculate size for disabled texcoord arrays.
rray_cache/ac_import.c
|
fb1565bcddc131c687d6ceec9495c82420ae67bb |
07-Feb-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
VMS compile update
ain/descrip.mms
|
6830123a4c07fd521b5d23aead9ed6345d7310d2 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
check texture texel type before using optimized sampling functions
wrast/s_texture.c
|
43bc364af4752ae8c673aa9fff8009f8a228b7ef |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused functions
ain/texstore.c
|
03d967abb59c2e720e1936cbc76ef37622616cd1 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture image routines work now
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
|
6628bc9cff74a6d524165e809f73eabc85ba34b5 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
made some changes to the initialization of gl_texture_image fields
ain/teximage.c
ain/texstore.c
|
78ad878b661d72ce1246b8c66ce97b7f67bed4e7 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated texture image handling - STILL UNTESTED
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxtexman.c
|
f378ab825c0c74aab263e7dec30194eead22c288 |
07-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a number of debugging tests to be sure drivers handle texture images correctly
ain/teximage.c
|
8e39ad2cd67d49be40ff0822f3269affdf83d601 |
06-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of texture image handling. 1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
akefile.X11
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/Makefile.X11
ain/context.c
ain/dd.h
ain/dlist.c
ain/mtypes.h
ain/state.c
ain/teximage.c
ain/teximage.h
ain/texstate.c
ain/texstate.h
ain/texstore.c
ain/texstore.h
wrast/s_texture.c
wrast/s_triangle.c
wrast/s_tritemp.h
nl/t_imm_exec.c
nl/t_imm_fixup.c
|
16461f7c53f3bd88ec20458edfc247df14cde721 |
06-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_adjust_image_for_convolution()
ain/convolve.c
ain/convolve.h
|
d1baa05439c7157eeca42ec191d5375821725bdd |
06-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Use a lookup table to compute exponents in tnl fogging code. Slightly clean up the shine table lookup macro.
rivers/x11/xm_tri.c
ain/dd.h
ain/imports.c
ain/light.h
nl/t_vb_fog.c
|
8fd9f1748d12751683cf8039401a7f7f66ab73fa |
06-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
misc updates to match latest device driver changes
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
|
228748bc494b391d2444f96789591803e72779e6 |
05-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added mesa_profile extern decl
ath/m_debug.h
|
d8bc5a9eba720ffb6a503d32715f895dbdad7197 |
05-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced frustrum with frustum
ain/matrix.c
ath/m_matrix.c
ath/m_matrix.h
|
db7a3318aa82d99a908f16040ef1575ccea7cd2d |
05-Feb-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Updated VMS make-files ----------------------------------------------------------------------
ain/descrip.mms
|
71270195d5f48726d22e8371d0119806d9dcb8e0 |
04-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
rework to correctly respect _ac_import_range()
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
|
6e9f8b7cdbe5daf1767d192faef1cbe98ada1324 |
04-Feb-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fast no-copy drawarrays for large tristrips
nl/t_array_api.c
|
fe69cb4b9bff800b6078ea7da5ea18bab05678d8 |
03-Feb-2001 |
Gareth Hughes <gareth@valinux.com> |
Some more work on interal debugging, timing routines for things that will have implementations in assembly code. To come: texture image conversions, more of internal T&L pipeline and so on.
akefile.X11
ain/Makefile.X11
ath/m_debug.h
ath/m_debug_norm.c
ath/m_debug_util.h
ath/m_debug_xform.c
ath/m_xform.c
86/3dnow.c
86/x86.c
|
6d689e8a69cdd89db181691f5bc21b71518398b0 |
31-Jan-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Updates VMS compile-support ----------------------------------------------------------------------
ain/descrip.mms
|
d68b699291097b49cac0d5c0f3ec4cb6ac14b972 |
30-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added packed types to glGetMinMax and glGetHistogram error checks
ain/histogram.c
|
e56cc3970f19229fd93e246c83aab35d2b7e3116 |
30-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed half pixel offset bug in aa point code
wrast/s_pointtemp.h
|
426628c374d043c5ae2bb73079aff577fc31c138 |
30-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
last segment of AA stippled lines wasn't drawn
wrast/s_aalinetemp.h
|
326f9ddd8ae215173de18827ffe60939961a1e3b |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage()
rivers/x11/xm_span.c
|
ba70e59e829b9ef0db0ce6fbf8227d3911f0e43c |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_SHADE_MODEL wasn't popped correctly
ain/attrib.c
|
961b7cad05d525850cb8f25147f847b0291f3046 |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused vars
ain/buffers.c
|
184a575a00a7d325454bff8f352ab0f407ff19b1 |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
only compute separate specular if texturing really enabled
nl/t_vb_light.c
|
407b487017a5c5a213f399ec1667fe2aa7ed340d |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed computation of _MultiTextureEnabled (again)
wrast/s_context.c
|
d98fdad3bfc7018740cf781e00fa53ad9a4479cd |
29-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Update implementations of Driver.Clear().
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
|
5c1e7fa6ee72f4403d9ec9d12830dd689b966e71 |
29-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
akefile.X11
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/x11/xm_dd.c
ain/Makefile.X11
ain/accum.c
ain/buffers.c
ain/dd.h
ain/drawpix.c
ain/mtypes.h
ain/texobj.c
ain/texstate.c
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_context.h
nl/t_imm_dlist.c
nl/t_pipeline.c
nl/t_vb_cliptmp.h
nl/t_vb_render.c
nl/t_vb_texgen.c
nl/t_vb_vertex.c
|
4b90e68ac6d0fe4ffca5e2cd51794bb4350cac28 |
29-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized lambda computation (Klaus Niederkrueger)
wrast/s_triangle.c
wrast/s_tritemp.h
|
f3da389ae01db060dff84593dacceac9ba682b03 |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
redo _mesa_PopAttrib() to call Mesa state functions so derived state is updated
ain/attrib.c
|
ab36c9aa1c4af92dd9f4ec48028f1eb2e98d1ccc |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed the unused/broken GL_PGI_misc_hints extension
rivers/glide/fxdd.c
ain/context.c
ain/dlist.c
ain/extensions.c
ain/get.c
ain/hint.c
ain/hint.h
ain/mtypes.h
ain/state.c
|
74b493a5e61237de081a438e774e5d8139d4c6b7 |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of GLchan datatype changes. Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
akefile.X11
rray_cache/ac_import.c
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
ain/Makefile.X11
ain/api_noop.c
ain/attrib.c
ain/buffers.c
ain/context.c
ain/dd.h
ain/get.c
ain/macros.h
ain/mtypes.h
ain/texstate.c
ain/texutil.h
ath/m_trans_tmp.h
ath/m_translate.c
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vbtmp.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_elt.c
nl/t_imm_eval.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
|
b6bcae5698df88f7730d40004ce7ce0462e97a20 |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
rivers/glide/fxapi.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/accum.c
ain/attrib.c
ain/buffers.c
ain/context.c
ain/dlist.c
ain/enable.c
ain/feedback.c
ain/get.c
ain/image.c
ain/light.c
ain/matrix.c
ain/mtypes.h
ain/pixel.c
ain/polygon.c
ain/rastpos.c
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_accum.c
wrast/s_alphabuf.c
wrast/s_bitmap.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_points.c
wrast/s_readpix.c
wrast/s_stencil.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
nl/t_vb_light.c
nl/t_vb_render.c
|
ab0c886a6c0dd38ac6168c2a239720a761e6578f |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added dispatch override mechanism, used by trace extension
lapi/glapi.c
lapi/glapi.h
|
f2718b0966f54049056e16e7cca08718341557b2 |
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed glTexSubImage error check bug #128775
ain/teximage.c
|
c0bcd2ca99609fe8b6e992e2277ef8612d46fdfe |
17-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixes for performance bug on compiled array element paths.
ain/enums.c
wrast_setup/ss_vb.c
nl/t_pipeline.c
nl/t_vb_cliptmp.h
nl/t_vb_lighttmp.h
|
547bbcabffffad1a630c261830998c511efc2b96 |
16-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated ctx->Driver functions for s/w setup
rivers/osmesa/osmesa.c
|
d292b83d1a98bffe3ad23d4468c3fd18bc892592 |
16-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a small error in import_color(), include m_translate.h
rray_cache/ac_import.c
|
d43a5943d8952367d9292653800b47a85f905343 |
16-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix several conformance problems. Hack solution to line stipple problem.
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/x11/xm_dd.c
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/swrast_setup.h
nl/t_vb_render.c
nl/t_vb_rendertmp.h
|
3fd01320f1ce3b78584c1fec9b1d6805e8ee6786 |
14-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed conform feedback and drawelements tests. Use correct pv when rasterizing unfilled polys.
ain/feedback.c
ain/lines.c
ain/points.c
wrast_setup/ss_triangle.c
wrast_setup/ss_vbtmp.h
nl/t_array_api.c
nl/t_context.h
nl/t_imm_exec.c
nl/t_pipeline.c
nl/t_vb_rendertmp.h
|
ab8b047ae59c111b4e4ab4fd43a2c6573caf5b85 |
13-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
fix conform dlist test
ain/dlist.c
ain/dlist.h
nl/t_context.c
|
8415686ea22bc9165720590261581ff997f2eb7a |
13-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Use correct pv in swrast lines routines
wrast/s_context.c
wrast/s_lines.c
wrast/swrast.h
|
321f67c4729adeebd7aa9ef9e22c95e709952851 |
13-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix crash in book/stencil. Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors.
ain/light.c
ain/lines.c
ath/m_clip_tmp.h
ath/m_xform.c
ath/m_xform.h
nl/t_context.c
nl/t_context.h
nl/t_imm_exec.c
nl/t_vb_cliptmp.h
nl/t_vb_vertex.c
nl/tnl.h
86/x86.c
86/x86_cliptest.S
|
3f9ee180a887635134ce4303b33c684bc770dbe9 |
12-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop
rivers/osmesa/osmesa.c
|
e448d6cf0c671822f0cb59395c88ff667f4da867 |
09-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added PointSize and PointParametersfv to dd interface, for completeness. Clean-up and updated comments in dd.h file.
ain/dd.h
ain/points.c
|
ce656b6a0a103ae9cb41d509be353f0e661e3574 |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed 'IRound' to 'IROUND' in mmath.h Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
akefile.X11
rivers/glide/fxtris.c
ain/Makefile.X11
ain/mtypes.h
nl/t_array_api.c
nl/t_array_import.c
nl/t_context.c
nl/t_eval_api.c
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_dlist.c
nl/t_imm_dlist.h
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_pipeline.c
nl/t_vb_render.c
|
bfa023921c9d1aa872237e0ac6085160f7c2cbc5 |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Still need 'DD_TRI_CULL_FRONT_BACK'
ain/state.c
|
d7fc376de870c7304d1a7d08be5616784ec9ac3e |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add call to Driver.RenderPrimitive()
nl/t_vb_render.c
|
7a1f3a37a10b162b067239dafa19fc6865a41f14 |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
revert XMesaCreateContext changes
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
|
b980b2eeb62dc48101a7481d02d196c80b9da397 |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
ain/context.c
ain/dd.h
ain/dispatch.c
ain/feedback.c
ain/glheader.h
ain/imports.c
ain/lines.c
ain/macros.h
ain/mtypes.h
ath/m_xform.c
ath/mathmod.h
wrast_setup/ss_context.c
wrast_setup/swrast_setup.h
nl/t_array_import.c
nl/t_vb_light.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
|
44d8de433e684cb4c2bc4dfc5cc6919af1f3cc55 |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Bring the FX driver into line with core mesa changes.
rivers/glide/fxdd.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
|
e9bf776711b22ce336cd462adf534ad3e2d61eec |
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Modify X11 driver and fake glx to store a GLcontext (ie a 'struct __GLcontextRec *') instead of an 'XMesaContext'. This is to fix conflicts in XFree86 where both the indirect XMesaContext and the GLcontext were calling themselves __GLcontextRec's.
rivers/x11/fakeglx.c
rivers/x11/glxheader.h
rivers/x11/xfonts.c
rivers/x11/xfonts.h
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_span.c
rivers/x11/xmesaP.h
|
ba8f6172bdfb44594537a304225b54152584d701 |
06-Jan-2001 |
Gareth Hughes <gareth@valinux.com> |
Implementation of GL_EXT_texture_env_dot3.
ain/enums.c
ain/extensions.c
ain/mtypes.h
ain/texstate.c
wrast/s_texture.c
|
8cbc573eae500aff6d121b2eef93fb00822622f1 |
05-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed bug in MinMagThresh computation. Renamed gl_texture_pixels() to _swrast_texture_fragments()
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/s_span.c
wrast/s_texture.c
wrast/s_texture.h
|
2d7e25c9ffea6f8fb64d54c57bcd0ade5559bb35 |
05-Jan-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms VMS makefile update ----------------------------------------------------------------------
ain/descrip.mms
|
f4b02d1a2675d4a0699b8995a422fbd413c32301 |
05-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
various compilation/warning fixes
akefile.X11
ain/Makefile.X11
ain/context.c
ain/enable.c
ain/varray.c
ath/m_matrix.c
ath/m_xform.h
ath/mathmod.h
|
58e991705392a2e17a1c8b034f4083a0adaf1943 |
05-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/osmesa/osmesa.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/api_validate.c
ain/buffers.c
ain/convolve.c
ain/dd.h
ain/fog.c
ain/mtypes.h
wrast/s_aalinetemp.h
wrast/s_aatritemp.h
wrast/s_feedback.c
wrast/s_triangle.c
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/swrast_setup.h
nl/t_array_import.c
nl/t_context.c
nl/t_context.h
nl/t_imm_api.c
nl/t_imm_exec.c
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_render.c
nl/t_vb_rendertmp.h
|
f22c04cdaec47dfef1068af0e90822062478631b |
04-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added underflow check in validate_shine_table()
ain/light.c
|
6517211e12c4f19c784b31727f6052561956fb7b |
04-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added divide by zero check
wrast/s_aalinetemp.h
|
2fd9c8690fa86b17c42afcc73307d2232b8f79f6 |
04-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed some point functions, new picking code
wrast/s_points.c
|
63cca75e6333281d71e3a3b20496113f0e3ad455 |
04-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor bug fixes
wrast/s_pointtemp.h
|
1c768645c5449f3bb66edb198821cf4947998a68 |
03-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added divide by zero check
nl/t_vb_fog.c
|
d14fce03f0b5db720cfc52a3c81f407626e28111 |
03-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added divide by zero checks
wrast/s_fog.c
|
08dfacd4259b4c6f6d89e4d0c52ade17e811e314 |
03-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
New point rasterization functions based on template code that handles CI/RGB, texture, antialiasing, attenuation, etc.
wrast/s_points.c
wrast/s_pointtemp.h
|
6532db986883ea1a431c043126de4947465834a1 |
03-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More color macro clean-ups. FLOAT_TO_CHAN() macro removed.
rivers/glide/fxdrv.h
ain/colormac.h
ain/image.c
ain/pixel.c
wrast/s_drawpix.c
wrast/s_fog.c
wrast/s_texture.c
nl/t_imm_eval.c
nl/t_vb_lighttmp.h
nl/t_vb_render.c
|
3b399df6382d3cfb3cf9bfde4888878bebd2903f |
03-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
ain/rastpos.c
|
c1d89d43916933237ed40d5f70739c3c04393924 |
03-Jan-2001 |
Jon Taylor <taylorj@ggi-project.org> |
Added missing #include "mmath.h"
rivers/ggi/default/stubs.c
|
a580e1adb7c85711338c23a6703dfe82acbc8310 |
02-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
missed a few color macro changes
ain/api_loopback.c
|
3041d05bbcccfddba01a1eeaba01e5da0e1e99af |
02-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h) Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/api_loopback.c
ain/api_noop.c
ain/colormac.h
ain/get.c
ain/image.c
ain/light.c
ain/mtypes.h
ath/m_trans_tmp.h
ath/m_translate.c
wrast/s_aatriangle.c
wrast/s_texture.c
nl/t_imm_api.c
nl/t_imm_elt.c
|
8446d1bab15ef82b35b8980a0a56072ace6feb04 |
02-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
include state.h
ain/api_validate.c
|
6f89984fede5ba137b5987201cabcfd280b3773f |
02-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor GLchan-related changes
wrast/s_fog.c
|
ef68e7bf718cc81ce25f97d837207c7da5966629 |
02-Jan-2001 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/demos/descrip.mms Mesa/src/descrip.mms Mesa/src/dispatch.c -Updated VMS compile suppport -Included glthread.h in dispatch.c to make sure that THREADS is defined if i.e. PTHREADS is defined in the makefile. ----------------------------------------------------------------------
ain/descrip.mms
ain/dispatch.c
|
88f3b89a2cb77766d2009b9868c44e03abe2dbb2 |
28-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Add render stage for unclipped vb's to fx driver. Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
akefile.X11
rray_cache/ac_import.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxvbtmp.h
ain/Makefile.X11
ain/config.h
ain/varray.c
ath/m_norm_tmp.h
nl/t_array_import.c
nl/t_imm_alloc.c
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_fixup.c
nl/t_vb_cliptmp.h
nl/t_vb_render.c
nl/t_vb_rendertmp.h
|
e5d6fb20a5c2519ac216a9fa247b5922e76528c1 |
28-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/debug.c
|
123ff6549b89f0450653a80832c68f1e6a1141b6 |
28-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/debug.c
|
bc28306f4a6d1c5543444c85b29ec4876f1a9316 |
28-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/debug.c
|
4e96ac080ae05a4439d3104638e645b3a7494642 |
28-Dec-2000 |
Jon Taylor <taylorj@ggi-project.org> |
Fixed GGIMesa build problems. Swrast triangle drawing fixes.
rivers/ggi/default/stubs.c
rivers/ggi/ggimesa.c
|
a884b4b81168df26b2e049ea765af92c393b850b |
28-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/debug.c
ain/dlist.c
|
4292e9c06b1c3f98738e5e76d606e06918b58073 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/dlist.c
|
20911cb17ca2fa418c991c189641d978fc6cde2b |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/dlist.c
|
1b686cedf4f9f4baa1e9b3f399746cd0ebb9b521 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
try and force a log message
ain/dlist.c
|
376d022e4a5a56f81f089a13a34438981fe83178 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix demos/fire, enable lazy vertex flushing
ain/dlist.c
ain/enable.c
ain/mtypes.h
nl/t_imm_exec.c
|
ae8ec0b30d799c29034da5bf616b4e324d42d918 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix evalpoints bug (samples/nurb)
nl/t_context.h
nl/t_imm_eval.c
|
93259cdfa10cfd484323b88cf00c9e8422c06bc5 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix sproingies bug
nl/t_imm_dlist.c
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_vb_cliptmp.h
nl/t_vb_render.c
|
719344b23ed7b1947af1db9281389f3fc74c3fc5 |
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixes for compiling assembly (disable unused 'masked' versions) Fixes for compiling without debug. Fix line clipping Fix unfilled polygon clipping (should be correct now).
wrast/s_context.c
nl/t_array_import.c
nl/t_vb_cliptmp.h
nl/t_vb_light.c
nl/t_vb_normals.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
86/3dnow.c
86/x86.c
|
770169f230a197d969f64df76cfaee1f0e27874f |
26-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
The array cache.
rray_cache/ac_context.c
rray_cache/ac_context.h
rray_cache/ac_import.c
rray_cache/acache.h
|
9ef50d5826c92aa7c9dd19702f18b0dfec59f03c |
26-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix xscreensaver cores
ain/dlist.h
nl/t_imm_dlist.c
|
cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 |
26-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Major rework of tnl module New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
akefile.X11
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/glide/fxtris.c
rivers/glide/fxvb.c
rivers/glide/fxvbtmp.h
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xmesaP.h
lapi/glapitemp.h
ain/Makefile.X11
ain/accum.c
ain/api_arrayelt.c
ain/api_loopback.c
ain/api_noop.c
ain/api_noop.h
ain/api_validate.c
ain/api_validate.h
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/clip.c
ain/colortab.c
ain/config.h
ain/context.c
ain/convolve.c
ain/dd.h
ain/debug.c
ain/depth.c
ain/dispatch.c
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/enable.c
ain/eval.c
ain/feedback.c
ain/fog.c
ain/get.c
ain/hint.c
ain/histogram.c
ain/light.c
ain/light.h
ain/lines.c
ain/macros.h
ain/matrix.c
ain/mtypes.h
ain/pixel.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/state.c
ain/stencil.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/texutil.c
ain/varray.c
ath/m_clip_tmp.h
ath/m_copy_tmp.h
ath/m_dotprod_tmp.h
ath/m_eval.c
ath/m_eval.h
ath/m_translate.c
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
wrast/s_context.c
wrast/s_copypix.c
wrast/s_drawpix.c
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
nl/t_array_api.c
nl/t_array_api.h
nl/t_array_import.c
nl/t_array_import.h
nl/t_context.c
nl/t_context.h
nl/t_eval_api.c
nl/t_eval_api.h
nl/t_imm_alloc.c
nl/t_imm_alloc.h
nl/t_imm_api.c
nl/t_imm_api.h
nl/t_imm_debug.c
nl/t_imm_debug.h
nl/t_imm_dlist.c
nl/t_imm_dlist.h
nl/t_imm_elt.c
nl/t_imm_elt.h
nl/t_imm_eval.c
nl/t_imm_eval.h
nl/t_imm_exec.c
nl/t_imm_exec.h
nl/t_imm_fixup.c
nl/t_imm_fixup.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/t_vb_cliptmp.h
nl/t_vb_fog.c
nl/t_vb_light.c
nl/t_vb_lighttmp.h
nl/t_vb_normals.c
nl/t_vb_points.c
nl/t_vb_render.c
nl/t_vb_rendertmp.h
nl/t_vb_texgen.c
nl/t_vb_texmat.c
nl/t_vb_vertex.c
nl/tnl.h
86/glapi_x86.S
86/x86_cliptest.S
|
9da422c639c9e2bb25a4d49aa6b2c2332217c224 |
16-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
set visual->MRD to 2.0
ain/context.c
|
f1d6b384415a083c358d3824e77f3d434f08bfcc |
16-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Polygon._OffsetAny wasn't being computed
ain/state.c
|
74e2dd38ed2d4be3454683c3b3f6959738ef235a |
15-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor fog clean-ups (Klaus Niederkrueger)
wrast/s_fog.c
|
783d7dfcbf40f727c85915b3e5ea5ff6682eaa48 |
15-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more GLX extension function stubs
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
083e466f88e1203f08b7699fa34b05d0e45b3172 |
14-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Renamed texture object _P to _MaxLevel and _M to _MaxLambda. Now add BaseLevel in _MaxLevel computation.
ain/attrib.c
ain/mtypes.h
ain/teximage.c
ain/texobj.c
wrast/s_texture.c
|
4536021a62e02fceaa6e8eb889b0f61743109cc4 |
14-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some more GLX extension entrypoints (fix GLUT link problems when using glxext.h)
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
a2003c2895b2231ff47ae5fa870887f1ef66ad29 |
14-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed conformance problems in min/max and histogram result packing
ain/histogram.c
|
b0dbd3ed131c1097177d9091ad52b03374eda748 |
13-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)
wrast/s_fog.c
|
ac522d475638ec8bb53428353120f6a6a72d2ef5 |
13-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use inverted Y coordinate for choosing dither value (conformance fixes)
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
|
3cbbef53bcf9a74beec3d6699a03e8d0c2eb24e2 |
13-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
tweaked truecolor dither kernel setup code
rivers/x11/xm_api.c
|
062bc07bde9520d12c3cc051779d67a9543c0ff7 |
13-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved precision of glReadPixels for colorbuffers < 24bpp
ain/pixel.c
ain/pixel.h
wrast/s_readpix.c
|
75639547e70f45b7782cf528b118a39b82b06ba3 |
12-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled two optimized textured triangle functions because of texcoord interpolation errors
wrast/s_triangle.c
|
b38ad54c41aec2d08fdd26a4a8ea4dcdca8b1dfd |
12-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clipping, fog, texture optimizations (Klaus Niederkrueger)
wrast/s_span.c
|
90f042ae8dbc00ecedab5cc68dbc6abae4228af5 |
10-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate GL_INVALID_OPERATION error for bad image format/type combinations
ain/colortab.c
ain/convolve.c
ain/histogram.c
|
8aa019d2efcf0295beae51989fe4b419ca50ca17 |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
_MultiTextureEnabled was being computed incorrectly
wrast/s_context.c
|
ab6e78f3a0abac7becbd8a58ed2c89f860cc6b0b |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
adjust texture size for convolution in glCopyTex[Sub]Image[123]D()
ain/teximage.c
|
89c9a4cbf20742359b3269b778497f79f39bcdc6 |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
set default table size to 0, minor error check fix
ain/colortab.c
|
67adba15a2a454cadb27a86b24e5e67ba65ae6b0 |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize convolution filters to zero
ain/context.c
|
90f8ebfd8f68a888e404206aa3dd9bed1e786be6 |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added queries for convolution enables
ain/get.c
|
2e5819270b4d4283d060fc821cde22be4b40d1ad |
09-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_RESCALE_NORMAL cases
ain/get.c
|
ec15398681249fca439794de03bf2a89d04f6c55 |
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more detailed texture error messages
ain/teximage.c
|
536ede7e00ff5e2f10be3bf9b60cd2cfa80b3518 |
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug 123918: glXCopySubBuffer() y position off by one
rivers/x11/xm_api.c
|
06d05afdd687fcd1d59d46c6a86c2e5707e1859b |
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work on GL_MESA_sprite_point extension. Still need to resolve clipping issues, finalize the spec.
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/mtypes.h
ain/points.c
ain/state.c
wrast/s_points.c
|
fb7899bfec447e5840c2c1ea96619084093be424 |
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Compute attenuated point size in a new pipeline stage. Store computed point size in the SWvertex struct.
wrast/s_points.c
wrast/swrast.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_context.h
|
c1b97d91c7e38290be85eb1ff56e6c108e1e47ca |
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor comments, clean-up
wrast/s_texture.c
wrast/s_tritemp.h
|
ab9e273c75e2d752e5027f7790480120c672ce01 |
07-Dec-2000 |
Gareth Hughes <gareth@valinux.com> |
Allow operating system SSE support test to be overridden with an environment variable.
86/common_x86.c
|
2ac44e2509dff861d50239d3248c60bf08f3ed92 |
06-Dec-2000 |
Gareth Hughes <gareth@valinux.com> |
Merge Mesa 3.4 test for operating system support for SSE.
86/common_x86.c
86/common_x86_asm.S
|
7f55eb2b149a0994a526307d01388cc123868eb9 |
28-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed error tests for depth and stencil buffers
wrast/s_copypix.c
|
86ca491ade2322fbc652b78489cea67759bd09b8 |
28-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed parameter mis-ordering bug in Driver.StencilSpan calls
wrast/s_stencil.c
|
bfea97321ca4ae0ca65b560d7bd2bb30c7ca8a07 |
28-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/swrast/s_copypix.c changed one occurence of rgba to rgbaFloat ----------------------------------------------------------------------
wrast/s_copypix.c
|
45015e4d79d63183f6d9c4e4fad655921e07b0ab |
28-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Pass scale and bias values to _mesa_scale_and_bias_rgba(). Implemented post-convolution scale and bias operation.
ain/image.c
ain/mtypes.h
ain/pixel.c
ain/pixel.h
ain/state.c
wrast/s_copypix.c
|
4304790e3ea6e8ba953fb53e4304777894358a93 |
28-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a convolution pixel store bug
wrast/s_readpix.c
|
72ef753d5c8eedc3375af77da083cf93447a73a3 |
27-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Set ENABLE_LIGHT according to ctx->Light.Enabled whether or not individual light sources are enabled.
ain/attrib.c
ain/enable.c
|
297dfa0fbf38a415d70caaab29d93dad585df1d2 |
27-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes to fix compiler warnings
rivers/glide/fxdrv.h
|
a864432fb4333dfbbe669554de7485d8426e1c38 |
27-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added MaxClipPlanes and MaxLights to gl_constants struct so T&L drivers can report non-default numbers of lights and clip planes.
ain/clip.c
ain/context.c
ain/get.c
ain/light.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
|
50478ded80fe04ab384b702723f227f53516212c |
27-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
map glIndex* functions to glIndexi() (glIndexub was looping back to glIndexub)
ain/api_loopback.c
|
33b2dcf0dad710ddfb92bf63ca69fa4f67684518 |
27-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Modified Files: Mesa/src/tnl/t_context.c Mesa/src/tnl/t_debug.c Mesa/src/tnl/t_pipeline.c Some updates to silence warnings on my VMS-machine ----------------------------------------------------------------------
nl/t_context.c
nl/t_pipeline.c
|
9aff6cfdc37f83a2528463179ad0b50893bf0c58 |
24-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed a couple of bugs that crept into last commit - Eval not compiled correctly - Material colors computed incorrectly Reworked the VERT_TEX flags, now support upto 12 texture units in tnl.
akefile.X11
ain/Makefile.X11
ain/api_loopback.c
ain/dlist.c
ain/dlist.h
ain/light.c
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
|
65dcc30599348c2bfd7952b888db27edd1670fc6 |
24-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Updated VMS-compile support ----------------------------------------------------------------------
ain/descrip.mms
|
b014986fdb259eb60bd3e5a3fbcfcb218969f5f5 |
24-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
New files...
ain/api_loopback.c
ain/api_loopback.h
ain/api_noop.c
ain/api_noop.h
ain/vtxfmt.c
ain/vtxfmt.h
|
ad2ac216fa0cbebc36530bf9e5256e902710b892 |
24-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Support for swappable t&l modules, including an example one in the FX driver (enable with FX_ALLOW_VTXFMT=t).
akefile.X11
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/x11/xm_tri.c
ain/Makefile.X11
ain/clip.c
ain/colormac.h
ain/context.c
ain/dd.h
ain/dlist.c
ain/enable.c
ain/light.c
ain/light.h
ain/macros.h
ain/matrix.c
ain/mtypes.h
ain/rastpos.c
ain/state.c
ain/texstate.c
ain/varray.c
ain/varray.h
ath/m_matrix.c
ath/m_matrix.h
ath/m_xform.c
wrast_setup/ss_vbtmp.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/tnl.h
86/common_x86_asm.h
|
cdfba5d37519f7be2e1cf728588b632ea06028cb |
23-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
More auto* build system updates
rivers/ggi/include/ggi/mesa/debug.h
ain/colortab.c
ain/convolve.c
|
30e5ef86a0e72582db428e6bed47e8652b7d3b23 |
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Modified Files: Mesa/macos/src-gli/MDD.h Mesa/macos/src-gli/mgliContext.c Mesa/macos/src-gli/mgliContext.h Mesa/macos/src-gli/mgliError.c Mesa/src/D3D/D3DMESA.H Mesa/src/D3D/D3Dvbrender.c Mesa/src/D3D/NullProcs.c Mesa/src/S3/S3mesa.c Some more files with capitals. ----------------------------------------------------------------------
rivers/d3d/D3DMESA.H
rivers/d3d/D3Dvbrender.c
rivers/d3d/NullProcs.c
|
dbd1e2b5990a3689bf718296c57c14fc3ba38db5 |
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Modified Files: Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h Mesa/src/FX/fxfastpath.c Mesa/src/GGI/include/ggi/mesa/ggimesa.h Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c Mesa/src/X86/x86.c Removed Files: Mesa/src/mms_depend Oops,... all files containing Caps in directory name or file name were missing in my types->mtypes commit. ----------------------------------------------------------------------
rivers/allegro/amesa.c
rivers/dos/dosmesa.c
rivers/ggi/include/ggi/mesa/ggimesa.h
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wgl.c
rivers/x11/xmesaP.h
86/3dnow.c
86/x86.c
|
22f5dc74c75a4a2fdf06392719060f12f358b552 |
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Modified Files: Mesa/src/descrip.mms Mesa/src/swrast/s_lines.c VMS compile support Added some Type casts to avoid warnings ----------------------------------------------------------------------
ain/descrip.mms
wrast/s_lines.c
|
5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 |
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h Mesa/src/extensions.c Mesa/src/extensions.h Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h Mesa/src/swrast_setup/ss_context.h Mesa/src/swrast_setup/ss_triangle.c Mesa/src/swrast_setup/ss_triangle.h Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h Mesa/src/tnl/tnl.h Added Files: Mesa/src/mtypes.h Removed Files: Mesa/src/types.h Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while compiling on a VMS system. ----------------------------------------------------------------------
rivers/x11/fakeglx.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
lapi/glapi.c
lapi/glthread.h
ain/accum.c
ain/accum.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/buffers.c
ain/buffers.h
ain/clip.c
ain/clip.h
ain/colortab.h
ain/context.c
ain/context.h
ain/convolve.c
ain/convolve.h
ain/debug.c
ain/depth.c
ain/depth.h
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.c
ain/enable.h
ain/eval.c
ain/eval.h
ain/extensions.c
ain/extensions.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/hint.h
ain/histogram.h
ain/image.c
ain/image.h
ain/imports.c
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/matrix.c
ain/matrix.h
ain/mtypes.h
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.c
ain/state.c
ain/state.h
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
ain/texutil.c
ain/texutil.h
ain/varray.c
ain/varray.h
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aatriangle.h
wrast/s_accum.h
wrast/s_alpha.h
wrast/s_alphabuf.h
wrast/s_blend.h
wrast/s_context.c
wrast/s_context.h
wrast/s_depth.h
wrast/s_drawpix.h
wrast/s_feedback.h
wrast/s_fog.h
wrast/s_lines.h
wrast/s_logic.h
wrast/s_masking.h
wrast/s_pixeltex.h
wrast/s_points.h
wrast/s_span.h
wrast/s_stencil.h
wrast/s_texture.h
wrast/s_triangle.h
wrast/s_zoom.h
wrast/swrast.h
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_vb.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/tnl.h
|
fbe3726050f2cd69694df9f24986e951b4c2737e |
22-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
More auto* build system fixes
rivers/ggi/include/ggi/mesa/ggimesa.h
|
e3048be8baea4874610bc60d5d713634aaae5f0c |
22-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
swrast setup fixes
rivers/ggi/ggimesa.c
|
0c000ec90c8ca38bfcb94394001665d0be3112dd |
22-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
call gl_update_state() if needed in glGetColorTable, glGetConvolutionFilter
ain/colortab.c
ain/convolve.c
|
c34cea7de54525a337c904cf22fc026b7ca31578 |
22-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
call RENDER_START/FINISH in read_color_image()
ain/teximage.c
|
26d729581fcf1991fbcc8320f64fa40d73170e95 |
22-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups (Klaus Niederkrueger)
wrast/s_tritemp.h
|
5c0dccc8969d2561c78264aac3fdaa39f880cc22 |
22-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
wrast/s_triangle.c
|
baf3e77ee2ea0a8721715d540d88066771f2dd67 |
22-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some RENDER_START/RENDER_FINISH macros. Minor GLchan changes
ain/colortab.c
ain/convolve.c
|
3c2e1022ed0a9fab82fddedd3ba4e20361665336 |
21-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
More auto* build fixes Removed spurious trace/Makefile from repository
rivers/ggi/ggimesa.c
|
189476f265e2acb69179420f0814b99dffc90b65 |
20-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor multi-tex changes, changed MAX_TEXTURE_UNITS to 4
ain/config.h
nl/t_pipeline.c
|
ce2733b7cc35d79082164afc1bb55c5f6861612e |
20-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed #include <tgmath.h>
ath/m_matrix.c
|
2ac294e67f4c94e0f72ef3ccae45ee628b84d117 |
20-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix lvalue cast on ctx->swtnl_im
nl/t_context.h
|
1487b3ea3ed0d30fa70655247e65d0ede3eef3af |
20-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
* More work on the auto* build system * Added missing #includes all over the place * Added GGI-style debugging harness to GGIMesa
rivers/ggi/default/stubs.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/x11/glxapi.c
rivers/x11/xmesaP.h
ath/m_norm_tmp.h
|
a852378a6289d154364dde440f89a39bbfc33e2d |
20-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars. Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
rivers/glide/fxddtex.c
rivers/glide/fxsetup.c
rivers/osmesa/osmesa.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/attrib.c
ain/colortab.c
ain/context.c
ain/get.c
ain/state.c
ain/state.h
ain/teximage.c
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
wrast/s_aalinetemp.h
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_context.c
wrast/s_context.h
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_lines.c
wrast/s_lines.h
wrast/s_linetemp.h
wrast/s_points.c
wrast/s_points.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/swrast.h
|
54d7a7453250fa3d5d9e0d8d8bcab21a6216cbfb |
19-Nov-2000 |
Gareth Hughes <gareth@valinux.com> |
- Fix tnl/t_context.h inclusion. - Some SSE asm updates, more to come.
86/3dnow.c
86/x86.c
|
912d3a04c191b835be07b8f104eed240d6cf0ada |
18-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
* Auto* build fixes * Added missing includes to math/*
rivers/ggi/default/linear.c
rivers/ggi/include/ggi/mesa/ggimesa.h
ath/m_matrix.c
ath/m_xform.c
nl/t_context.c
86/3dnow.c
86/x86.c
|
5a9026c65d260dc185e072163999f5d810015108 |
17-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor header file changes to silence warnings. Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
rivers/beos/GLView.cpp
rivers/ggi/ggimesa.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/x11/xm_api.c
ain/extensions.c
ain/extensions.h
ath/m_translate.h
ath/m_xform.c
ath/m_xform.h
|
9e83e8c790d8b612a7256c630f6ff7e063faaccb |
17-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Patches to compile Mesa on VMS. -Updated for new directory tree -Now compile with PTHREADS on The patch in glthread.h is temporarily. The include file src/types.h conflicts with the system defined types.h. In future the mesa supplied one should be renamed. Modified Files: Mesa/include/GL/vms_x_fix.h Mesa/src/descrip.mms Mesa/src/glthread.h Mesa/src/mms_depend ----------------------------------------------------------------------
lapi/glthread.h
ain/descrip.mms
|
23caf20169ac38436ee9c13914f1d6aa7cf6bb5e |
16-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Move the transform and lighting code to two new directories math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
akefile.X11
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
ain/Makefile.X11
ain/attrib.c
ain/clip.c
ain/clip.h
ain/colormac.h
ain/context.c
ain/context.h
ain/dd.h
ain/debug.c
ain/debug.h
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/enable.c
ain/eval.c
ain/eval.h
ain/fog.c
ain/fog.h
ain/get.c
ain/light.c
ain/light.h
ain/lines.c
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/points.c
ain/rastpos.c
ain/state.c
ain/texstate.c
ain/texstate.h
ain/varray.c
ain/varray.h
ath/m_clip_tmp.h
ath/m_copy_tmp.h
ath/m_debug_xform.c
ath/m_dotprod_tmp.h
ath/m_matrix.c
ath/m_matrix.h
ath/m_norm_tmp.h
ath/m_trans_tmp.h
ath/m_translate.c
ath/m_translate.h
ath/m_vector.c
ath/m_vector.h
ath/m_xform.c
ath/m_xform.h
ath/m_xform_tmp.h
wrast/s_bitmap.c
wrast/s_lines.c
wrast/s_points.c
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vbtmp.h
nl/t_context.c
nl/t_context.h
nl/t_pipeline.c
nl/t_pipeline.h
nl/tnl.h
86/3dnow.c
86/3dnow.h
86/common_x86_asm.h
86/x86.c
|
179516673211a2350e479d5321840291f339f5dd |
16-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
Small compile fix
rivers/ggi/ggimesa.c
|
0a82c75eab24bb51448630894abc19a4c8bdfd87 |
15-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added includes to silence warnings
ain/light.c
ain/state.c
|
24a32627d9a1b23323429b989bb5705a695fb4c1 |
15-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced ctx->Point.Size with ctx->Point._Size Replaced ctx->Point.UserSize with ctx->Point.Size
ain/context.c
ain/get.c
ain/points.c
wrast/s_points.c
|
30971cd098d147a4363df0dec0c338587dc1478f |
15-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
rewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic projection are handled correctly
wrast/s_fog.c
|
4fae0260a6b9f73bbca8959b6d8f04fb43426a45 |
14-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more Driver.Color, Driver.Index updates
rivers/beos/GLView.cpp
rivers/svga/svgapix.h
|
f930330d5f8dbc61d449be65da9e6a951b18a909 |
14-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused set_color() and set_index() functions
rivers/osmesa/osmesa.c
|
c19d783e0715ac01ad4d3fd0705500d2bf6f7039 |
14-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed Driver.Color() and Driver.Index() functions. Pass color or color index directly to WriteMono*() span functions. Updated current s/w drivers accordingly. Clean-up of X gc handling in XMesa driver.
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/windows/wmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ain/dd.h
wrast/s_span.c
wrast/s_triangle.c
|
1e1aac034c986a08248861363c0baa27dc2ae2d5 |
13-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Cleanup of derived state calculation prior to seperating software T&L into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
rivers/glide/fxdd.c
rivers/x11/xm_dd.c
ain/buffers.c
ain/clip.c
ain/context.c
ain/dd.h
ain/light.c
ain/matrix.c
ain/points.c
ain/rastpos.c
ain/state.c
wrast/s_aaline.c
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_alpha.c
wrast/s_alphabuf.c
wrast/s_buffers.c
wrast/s_context.c
wrast/s_context.h
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_lines.c
wrast/s_points.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_triangle.c
wrast/s_tritemp.h
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/ss_triangle.c
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
|
6b8ae62d6b6a3b06c51628123fc30634cacf9c7c |
13-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused var
rivers/glide/fxsetup.c
|
d45fdeae3531634bb4c5ea48e934e535372fb527 |
13-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed another texImage mistake in _mesa_GetTexImage()
ain/teximage.c
|
dd11e7664da245ca86e9e58996329836d323bc82 |
13-Nov-2000 |
Jon Taylor <taylorj@ggi-project.org> |
* Updated the autoconf/automake/libtool build system * GGIMesa's stubs targets now uses swrast
rivers/ggi/default/stubs.c
|
7351049dbadcfd1c8dbc04090225d9c38de01a0f |
11-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
init WrapR to GL_REPEAT mode
ain/texobj.c
|
e7f55e76db47eb1f198d3f86980fdd066f01542f |
11-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed tr_attrib.c
akefile.X11
ain/Makefile.X11
|
bc58b7b409ed75901158889a18f3db52a5a7ecd7 |
11-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
latest sources from Loki
akefile.X11
ain/Makefile.X11
|
b5012e1ee1b0172dda3921bcf12e3605b1be589b |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced _NEW_IMAGING with _NEW_PIXEL
ain/convolve.c
ain/histogram.c
ain/state.c
|
df37d5f2dbf3821f6b3f24771b83ad34584ca383 |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced s_imaging.h with s_histogram.h
wrast/s_copypix.c
|
8a9507442a9811e2c4a4bac6a993e8a900c50d4d |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed imaging files to histogram since that's what's inside
akefile.X11
ain/Makefile.X11
ain/descrip.mms
ain/dlist.c
ain/histogram.c
ain/histogram.h
ain/image.c
ain/state.c
|
78bb78d1c3f3d0e41b647ea32f5dd57b986744de |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed to histogram
wrast/s_imaging.c
|
ba41b8afb1b40b967cf5c0e604bbf09793eb8fee |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor changes to silence compiler warnings
rivers/glide/fxdd.c
ain/colortab.c
ain/convolve.c
wrast/s_context.c
wrast/s_drawpix.c
wrast/s_lines.c
wrast/s_points.c
wrast/swrast.h
wrast_setup/ss_context.c
wrast_setup/swrast_setup.h
|
6c4268204b0e62218c53f95a7e1c53214e5fc4d7 |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old TexImage() and TexSubImage() functions
ain/dd.h
|
db6aa58267cad3f502f03ab80b9deb6b75320a91 |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
patched to silence compiler warnings (Martin Lindhe)
rivers/x11/fakeglx.c
rivers/x11/xfonts.c
|
8e3366fda795797d92afb6877cd280cf96a6d4e7 |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
restored call to _mesa_select_tex_image() in _mesa_GetTexImage()
ain/teximage.c
|
3d960a0d84be0ffdd491dd37ff80bedf4a44fe92 |
10-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann)
ain/image.c
|
71be653edceb45c0afd4240a1d16b5d1cb92471d |
09-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated with bug fix from 3.4 branch
ain/texutil.c
|
14425aeca18fdf1223625a9b5b6d32f619715bee |
07-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fixed very obvious fog bug
wrast_setup/ss_vb.c
|
7298e71360ca1f38e7f0e0426fbf1a8dcbafdbd7 |
07-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
adjust x/y/zoffset parameters to fill_texture_image() by texture border width
ain/teximage.c
|
2d595d70202bad560c27ea81ec71b740415b3355 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
test ctx->RenderMode in chooser functions
rivers/osmesa/osmesa.c
|
8d915cb6fbe2c2ed06f01d5f4838e1dd2fe406b4 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
test ctx->RenderMode in chooser functions, removed dead code
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
|
4f3e7cd3cf44ef36c77f60105898d506fa08a5ea |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a setup function for selection/feedback
wrast_setup/ss_vb.c
|
8fa6b363dbed32f4e18b4b83866658c62fba8d39 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added buffer test to xmesa_choose_point(), fixes X protocol error
rivers/x11/xm_line.c
|
790ea3dc7fe1ce7c5363e9e6391872efb11095d9 |
06-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Mesa/src/mms_depend Updating VMS compile support ----------------------------------------------------------------------
ain/descrip.mms
|
861ca519ab68f6f215e2de186c76b9836ba2d403 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed obsolete VB vars
rivers/osmesa/osmesa.c
|
b2ad0754b0724c62cbdd838f04db953e0fd13219 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added swrast/s_aaline.c
akefile.X11
ain/Makefile.X11
|
0070d398d13759adc519f9bc764ffd39bc88890e |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
hooked in new AA line code, minor clean-up
wrast/s_lines.c
|
7798374e472a8fa2f8699d38873e6b8490d853a4 |
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
New implementation of antialiased lines. Mesa should now pass the remaining GL conformance tests for AA lines (but not tried yet). TODO: improve code sharing with the AA triangle code.
wrast/s_aaline.c
wrast/s_aaline.h
wrast/s_aalinetemp.h
|
14940c4ffe066a8b85bc14274c19ad3d8e334d61 |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
- Changes for new software rasterizer modules - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
akefile.X11
rivers/d3d/D3Dvbrender.c
rivers/ggi/default/stubs.c
rivers/windows/wmesa.c
rivers/windows/wmesaBackup.c
rivers/windows/wmesaOld.c
rivers/windows/wmesa_stereo.c
ain/Makefile.X11
ain/attrib.c
ain/blend.c
ain/clip.c
ain/context.c
ain/dd.h
ain/depth.c
ain/enable.c
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/light.c
ain/lines.c
ain/macros.h
ain/matrix.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/state.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/varray.c
86/mmx.h
|
1e885f6e6ce9c46c3220eb0472bdfe2aa7946596 |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Reworked to use the new software rasterizer. Optimized line/tri functions are hooked into the software rasterizer.
rivers/osmesa/osmesa.c
|
ec0585883a85a495d94e24970d64e5d6fc889147 |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the new software rasterizer. Reworked optimized line,tri,point functions to fit into the framework provided for extending the software rasterizer.
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
|
cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0 |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Reorganized software rasterizer as a module which manages its own state, with tighter interfaces with the rest of the world. Proper documentation to come.
wrast/s_aatriangle.c
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_context.c
wrast/s_context.h
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_drawpix.c
wrast/s_feedback.c
wrast/s_feedback.h
wrast/s_fog.c
wrast/s_imaging.c
wrast/s_lines.c
wrast/s_lines.h
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_masking.c
wrast/s_pixeltex.c
wrast/s_points.c
wrast/s_points.h
wrast/s_readpix.c
wrast/s_span.c
wrast/s_stencil.c
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/swrast.h
|
7c20642b1091df1aab7d9076a3fe2fb11c6f011c |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
A new module to provide RasterSetup and advanced triangle/line/point functionality layered on top of the software rasterizer. An example entrypoint: void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint ) will coerce the software rasterizer to draw flat, twoside-lit, unfilled and offset triangles (including decomposition to points or lines).
wrast_setup/NOTES
wrast_setup/ss_context.c
wrast_setup/ss_context.h
wrast_setup/ss_triangle.c
wrast_setup/ss_triangle.h
wrast_setup/ss_tritmp.h
wrast_setup/ss_vb.c
wrast_setup/ss_vb.h
wrast_setup/ss_vbtmp.h
wrast_setup/swrast_setup.h
|
c6f348cbc908556da4f68a65cdf218ebd4e678be |
05-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Lots of changes: - use the new interface to the software rasterizer. - manage all fallbacks internally, hooking in swrast or swrast_setup if necessary. - removed lots of marginal code no longer appropriate in a maturing driver. - reworked the vertex-setup and triangle routines, including drawing unfilled triangles from within the driver.
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
|
b35ec1ca05faa7dc83cd2791392b3115c8f96fc6 |
01-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Updated Makefiles for VMS ----------------------------------------------------------------------
ain/descrip.mms
|
acdb6db846de9f3dcf97ab918e2d89781f238592 |
01-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Always call Driver.SetReadBuffer() in copy pixels functions, just to be safe
wrast/s_copypix.c
|
724abeb058ca9372c5a9b9e38ee43dde1accaa41 |
31-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Moved the software rasterizer to a new directory.
akefile.X11
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/Makefile.X11
ain/accum.c
ain/accum.h
ain/blend.c
ain/blend.h
ain/buffers.c
ain/colortab.c
ain/context.c
ain/convolve.c
ain/dd.h
ain/depth.c
ain/depth.h
ain/drawpix.c
ain/drawpix.h
ain/feedback.c
ain/fog.c
ain/fog.h
ain/lines.c
ain/lines.h
ain/points.c
ain/points.h
ain/state.c
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/texstate.c
|
e3a051e0538a605551f4d58294c94f5eb00ed07f |
31-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Moved software rasterizer functionality to new directory.
wrast/s_aatriangle.c
wrast/s_aatriangle.h
wrast/s_aatritemp.h
wrast/s_accum.c
wrast/s_accum.h
wrast/s_alpha.c
wrast/s_alpha.h
wrast/s_alphabuf.c
wrast/s_alphabuf.h
wrast/s_bitmap.c
wrast/s_blend.c
wrast/s_blend.h
wrast/s_buffers.c
wrast/s_context.c
wrast/s_copypix.c
wrast/s_depth.c
wrast/s_depth.h
wrast/s_drawpix.c
wrast/s_drawpix.h
wrast/s_fog.c
wrast/s_fog.h
wrast/s_imaging.c
wrast/s_lines.c
wrast/s_linetemp.h
wrast/s_logic.c
wrast/s_logic.h
wrast/s_masking.c
wrast/s_masking.h
wrast/s_pixeltex.c
wrast/s_pixeltex.h
wrast/s_points.c
wrast/s_readpix.c
wrast/s_span.c
wrast/s_span.h
wrast/s_stencil.c
wrast/s_stencil.h
wrast/s_texture.c
wrast/s_texture.h
wrast/s_triangle.c
wrast/s_triangle.h
wrast/s_tritemp.h
wrast/s_zoom.c
wrast/s_zoom.h
wrast/swrast.h
|
6e0f0f51e0371688a434ed65c4ae0da1b061a4b5 |
31-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead code in FX driver.
akefile.X11
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
ain/Makefile.X11
|
365dc68c3978de3c28e61d4c7151aece219694d7 |
30-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Rearrange VERT_* flags to support 4 texture units.
ain/context.c
ain/varray.c
|
9499e017b7e05411a32b3e4fa94885eaec0d7277 |
30-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead. More minor GLchan changes. Silence some compiler warnings in cva.[ch]
rivers/osmesa/osmesa.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/context.c
ain/drawpix.c
ain/enable.c
ain/fog.h
ain/image.c
ain/pixel.c
ain/state.c
ain/teximage.c
|
caef4a35d602669f742524757bef3c63f0c164a8 |
30-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed references to gcc's __FUNCTION__ macro. Removed dead file fog_tmp.h
ain/varray.c
|
6ad2c5b59aff29d28029bffe9d34ac73cdcb8079 |
30-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
set *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans weren't set
ain/extensions.c
|
a96308c37db0bc0086a017d318bc3504aa5f0b1a |
30-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Replace the flags Mesa was using for ctx->NewState with a new set based on the GL attribute groups. Introduced constants describing the circumstances under which some key derived values can change: _SWRAST_NEW_RASTERMASK -- ctx->RasterMask _SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle function _DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps These are helpful in deciding whether you need to recalculate state if your recalculation involves reference to a derived value.
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/x11/xm_api.c
rivers/x11/xm_tri.c
ain/accum.c
ain/attrib.c
ain/blend.c
ain/buffers.c
ain/clip.c
ain/colortab.c
ain/context.c
ain/convolve.c
ain/dd.h
ain/depth.c
ain/enable.c
ain/eval.c
ain/extensions.c
ain/extensions.h
ain/feedback.c
ain/fog.c
ain/get.c
ain/hint.c
ain/light.c
ain/lines.c
ain/matrix.c
ain/pixel.c
ain/points.c
ain/polygon.c
ain/state.c
ain/stencil.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/varray.c
|
a4575499679d9d91055a35c7673b81872ec127cb |
30-Oct-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/X/xm_api.c included macros.h ----------------------------------------------------------------------
rivers/x11/xm_api.c
|
193005393d6b1422ad9084f8e71004f4f055b88f |
29-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed Current.ByteColor Current.Color
ain/context.c
ain/drawpix.c
ain/enable.c
ain/get.c
ain/light.c
ain/rastpos.c
|
ebb248aa5c018dc676d389221d76ed329059789e |
29-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
rivers/osmesa/osmesa.c
ain/accum.c
ain/config.h
ain/depth.c
ain/macros.h
ain/matrix.c
ain/stencil.c
ain/teximage.c
ain/texobj.c
|
699bc7b73d2fede77d3290f66c1ec355afd0373e |
29-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
More GLchan color channel changes. Some header file re-org: Move matrix, vertex buffer structs to types.h to fix #include mess. Remove typedef, extern declarations from config.h
ain/attrib.c
ain/colormac.h
ain/colortab.c
ain/config.h
ain/context.h
ain/dd.h
ain/drawpix.c
ain/eval.c
ain/image.c
ain/image.h
ain/matrix.h
ain/pixel.c
ain/pixel.h
ain/state.c
ain/teximage.c
ain/texutil.c
ain/texutil.h
|
c893a015d8a50a38cd3f727d99835e7e7e2ccea9 |
28-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
New colormac.h file for color-related macros. Lot's of clean-up in macros.h and mmath.h
ain/clip.c
ain/colormac.h
ain/config.h
ain/convolve.c
ain/dlist.c
ain/drawpix.c
ain/eval.c
ain/feedback.c
ain/fog.c
ain/get.c
ain/image.c
ain/light.c
ain/macros.h
ain/pixel.c
ain/rastpos.c
ain/texstate.c
|
ba643a2094a1e844b6ce60f468057057557859ce |
28-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Basic work to support deep color channels: Replace GLubyte with GLchan Replace 255 with CHAN_MAX
rivers/glide/fxddtex.c
ain/accum.c
ain/attrib.c
ain/blend.c
ain/blend.h
ain/buffers.c
ain/colortab.c
ain/config.h
ain/context.c
ain/convolve.c
ain/dd.h
ain/feedback.c
ain/fog.c
ain/fog.h
ain/get.c
ain/light.c
ain/light.h
ain/lines.c
ain/macros.h
ain/pixel.c
ain/points.c
ain/rastpos.c
ain/teximage.c
ain/texstate.c
|
a897b335bec7465ab688ef369c75b468b7251b05 |
28-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Do per-pixel fog when GL_FOG_HINT is GL_NICEST. Fix scaling bug in per-pixel fog calculations.
ain/fog.c
|
1aa958bc9cbca2d2274124d131968b51ee72d7ed |
28-Oct-2000 |
Jon Taylor <taylorj@ggi-project.org> |
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
rivers/ggi/default/stubs.c
rivers/ggi/display/fbdev_mode.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/display_fbdev.h
|
1c4b3f4dfbd71dfd0d414ecad1499bf44d31a919 |
27-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
restored test for __alpha in _mesa_win_fog_coords_from_z()
ain/fog.c
|
a14cbff8e5b30539d8fdc3497a0e128992efa6c9 |
27-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c and state.c file for plugging those functions into the dispatch table. Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets. Commented-out references to ctx->FogMode and VB->Specular in FX driver. Minor clean-up in extensions.c Removed unused prototype in fog.h
rivers/glide/fxsetup.c
lapi/glapi.c
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/dlist.c
ain/extensions.c
ain/fog.h
ain/state.c
86/glapi_x86.S
|
fe5d67d95f3a5fc84c5421d409a6464642aaf2cb |
27-Oct-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Implement EXT_fog_coord and EXT_secondary_color. EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
rivers/glide/fxdd.c
ain/clip.c
ain/context.c
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/fog.c
ain/fog.h
ain/get.c
ain/light.c
ain/lines.c
ain/points.c
ain/state.c
ain/varray.c
ain/varray.h
|
66202b75d561b2275022bea8b5936a7482c1c315 |
26-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value
ain/config.h
|
21d073d55ad668494fa19977fe06369194eb1ec5 |
24-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added incomplete() debug function/macro
ain/texobj.c
|
9a4a958a5c45024abeb5ec97419362c05c8b76ac |
24-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
signal NEW_TEXTURING if there's a Driver.BindTexture() function
ain/texobj.c
|
5bb27edac0075ed3142559bee2287e51312a81cb |
23-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate separate libOSMesa library ala XFree86/DRI
akefile.X11
ain/Makefile.X11
|
fc2427e81b1c648550d0368652d6a475df785027 |
23-Oct-2000 |
Gareth Hughes <gareth@valinux.com> |
Major audit of all Mesa's x86 assembly code. This round is basically general cleanups - more to come. Added P6 architecture timing to debug_xform routines. Still need to add test_all_vertex_functions test for the v16 asm. Dynamic reconfiguration of counter overhead for more accurate benchmarking.
ain/blend.c
ain/context.c
86/3dnow.c
86/3dnow.h
86/assyntax.h
86/clip_args.h
86/common_x86.c
86/common_x86_asm.S
86/common_x86_asm.h
86/common_x86_features.h
86/mmx.h
86/mmx_blend.S
86/x86.c
86/x86.h
86/x86_cliptest.S
86/xform_args.h
|
eb326f5f01ed2d904e23ada533b92d5570beafee |
21-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a texture enable bug
ain/enable.c
ain/state.c
|
d0d7d62120d7448924655c4683bab6bd5667256e |
21-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
polygon offset changes; added Visual->MRD field
ain/context.c
ain/polygon.c
|
d475730357ff1595470fbe9856b2c88ad0a771ca |
20-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changes for multitexture > 3, code clean-ups. Added GLboolean ctx->Texture.MultiTextureEnabled to determine when multitexture is enabled. Eventually ctx->Texture.ReallyEnabled may become a boolean.
ain/context.c
ain/lines.c
ain/points.c
ain/state.c
ain/varray.c
|
9c7ca850fdc35afa75512db70d14a14ebf162d8c |
19-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rewrote get_static_proc_address(). It made mistakes in some situations
lapi/glapi.c
|
a5b66333fb1f6c60332d49be62cf15071a7b633a |
19-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly
ain/pixel.c
|
9f0bb59c53f1413531ca679e7d3516bf8d30cae3 |
19-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
call Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked clear bug
ain/buffers.c
|
cc50ed60b374e126a85919f20a3c3a033e558aca |
19-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved blending accuracy to fix Glean test failures
ain/blend.c
|
ce938b307e5dcd06a03baf60903c2ecd682cd8d5 |
18-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now. Misc code clean-ups, minor bug fixes. MAX_TEXTURE_UNITS now defaults to 3.
ain/config.h
ain/state.c
ain/varray.c
|
d3672166787028857ea51ad9570cab7e173898c3 |
17-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
ported render begin/end calls from Mesa 3.4
ain/accum.c
ain/buffers.c
ain/drawpix.c
|
1873b567b28a3e3f4d94d0eacb27ffd235ec9529 |
17-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_get_teximages_from_driver()
ain/teximage.c
ain/teximage.h
|
35324a6c60cedf217934db1a7a0c11a7f553d2d4 |
10-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems
ain/context.c
|
1791901468a4eea3cc1a9c9f3a6c4913ff8a35eb |
06-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
update TriangleCaps in GL_POINT/POLYGON_SMOOTH cases
ain/enable.c
|
2c7e6334ec81c2fab2cce9e0fe52cd30256e37ea |
05-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
better handling of GLX_DEPTH_SIZE in glXChooseVisual()
rivers/x11/fakeglx.c
|
fa849a0e1622039bf66ef2b7506669aba8d77d91 |
05-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
drawing color-index image to RGB window was broken
ain/drawpix.c
ain/image.c
|
16eb23a0cb0edfede3968c0e938f533b9abe885c |
02-Oct-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work to support N texture units
ain/state.c
|
9c05c0494d06dcf429d8489107be49e339305690 |
30-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
support for N texture units
ain/drawpix.c
ain/lines.c
ain/rastpos.c
|
e92dd16605dbad8dbf374ca40b8440ef4034a5d4 |
29-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
generalized support for N texure units
ain/lines.c
ain/points.c
|
eb6c6439ae23e47b79b72f3737b6d0d14e1f9f26 |
29-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead
rivers/d3d/D3Dvbrender.c
rivers/osmesa/osmesa.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
ain/attrib.c
ain/context.c
ain/state.c
|
37a6211795cfd0a4431bdb7c676acf54f29df994 |
28-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new params for SpecificCompressedTexFormat() (Bill White)
ain/dd.h
ain/teximage.c
|
574c456a5ac6ca13f293a2884c3a90fd28edd4e1 |
27-Sep-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms inserted imports.c ----------------------------------------------------------------------
ain/descrip.mms
|
f142a0830a76b7ba473ad76bf312405fe726a1cc |
27-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include types.h
ain/imports.c
|
643be9541689e23e7ffcf79f5b0e4f9433bba9be |
26-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed gl_copy_context to _mesa_copy_context
rivers/x11/fakeglx.c
|
6542324cb0985697716293ce9b61c7260c8c55cb |
26-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added imports.c
ain/Makefile.DJ
|
b1394fa92aaaf859ce9efc8b5fc194397921320c |
26-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
First batch of OpenGL SI related changes: Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
akefile.X11
rivers/allegro/amesa.c
rivers/beos/GLView.cpp
rivers/d3d/WGL.C
rivers/dos/dosmesa.c
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_api.c
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
rivers/x11/xmesaP.h
ain/Makefile.X11
ain/accum.c
ain/attrib.c
ain/buffers.c
ain/clip.c
ain/config.h
ain/context.c
ain/context.h
ain/depth.c
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/feedback.c
ain/fog.c
ain/get.c
ain/glheader.h
ain/image.c
ain/imports.c
ain/imports.h
ain/light.c
ain/lines.c
ain/matrix.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/state.c
ain/stencil.c
|
3b18a36f210da9d66acd1228d24948cd77c2e81e |
26-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE. Changed src/Makefile.X11 to compile Trace sources like other drivers.
akefile.X11
lapi/glapi.c
lapi/glapi.h
ain/Makefile.X11
ain/context.c
|
423f2b28845dc8cc93c16a4608d6e19b6b059e6f |
25-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_env_add
ain/extensions.c
|
b9b329d1e536896368f7035086bca62b98fd43e9 |
24-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused display_list struct
ain/dlist.h
|
5e0bb98abd76cdad67ed430c257b76e0d3673658 |
19-Sep-2000 |
Gareth Hughes <gareth@valinux.com> |
Added SSE streaming store instructions, external symbol directives.
86/assyntax.h
|
5aa1c1cd5fb9259b59709255f6c6635d1fa4d9cb |
18-Sep-2000 |
Gareth Hughes <gareth@valinux.com> |
Added SSE prefetching instructions. General cleanups.
86/assyntax.h
|
1c56fdc7072c040de68868748dc2d03c58f5ee22 |
17-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new comments, misc clean-up
ain/context.c
ain/macros.h
ain/matrix.c
ain/matrix.h
|
f3c399ec11947add49d3a5e9d36d93ff6b45d93e |
17-Sep-2000 |
Gareth Hughes <gareth@valinux.com> |
General cleanups. Disable gl_katmai_project_vertices and gl_katmai_project_clipped_vertices for now as they are broken.
86/3dnow.c
|
4ed1d0b2c0c30c0b415cbf78aa90f334da91f543 |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some missing const keywords in GetString
ain/get.c
|
1ff933b4522b7be7d08e015f9e792eea5b53cd5f |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_MESA_trace support
lapi/glapi.c
lapi/glapi.h
ain/context.c
|
4360bd7c76a2c972da761fb82913f88e014a8edf |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused struct display_list_compilation
ain/dlist.h
|
0e52184c48f47023a5d28167a99ee3651bd7af6e |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence compiler warnings
86/3dnow.c
|
f7a4bcaf7970c18ad2ca1d1714babbc307775e70 |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use cpml.h on Alpha (AlanH)
ain/glheader.h
|
64a23a0f9c6a08f6118f6488c191a079c43245a2 |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments
ain/dd.h
ain/image.c
|
23316033db12a4d0df10a7d9dbe51b409856a3ac |
15-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
explicitly init some texture vars
ain/context.c
|
a94ee16534539febc91d81374ca342deab64142a |
14-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced GL_RGBA with GL_BGRA for GL_UNSIGNED_SHORT_1_5_5_5_REV datatype
ain/texutil.c
|
881ec9ee6740b509e59cdcf0344c5b73f3f6fa8a |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
packing of GLushort packed types was broken
ain/image.c
|
8d4bd87c1ad8db33b7cb7eae309abf36f14986d8 |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added format/type error check to draw_rgba_pixels()
ain/drawpix.c
|
e4b684ce49188f906ff032e2df7675257143ec21 |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
init mutex
ain/context.c
ain/texobj.c
|
82cfcfa63a7823a97c368c26e049926044abf89b |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some casts (Takaaki Nomura)
rivers/x11/xm_line.c
rivers/x11/xm_tri.c
|
b9466fca3e5e9c2b46f6588e580a92e7e703d15d |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Win32 updates (Chris Morley)
rivers/windows/wmesa.c
|
8f39dd1e620345ae3d2a422ef8e38025addf3349 |
12-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Win32 update (Chris Morley)
ain/glheader.h
|
038573aae7c38e15c13cee8e1876e7674bd2e630 |
11-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed immediate struct's maybe_transform_vb pointer. Call _mesa_maybe_transform_vb() directly.
ain/eval.c
ain/varray.c
|
b506d8753d8d758d5c47c0a65d94d784555fd7fe |
09-Sep-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms Corrected a typo ----------------------------------------------------------------------
ain/descrip.mms
|
399ae35ac64bd02a294d5db894b70def4eed0aa8 |
09-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused NEW_DRVSTATE flags
rivers/glide/fxdd.c
ain/state.c
|
7f7b205259b228f81442f89e8318829737b08db6 |
08-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ctx->Driver.Dither function
rivers/glide/fxdd.c
rivers/glide/fxsetup.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
rivers/x11/xm_dd.c
ain/dd.h
ain/state.c
|
48c6a6ecd2b94d73317f1579193d98101566217a |
08-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed gl_frame_buffer Xmax and Ymax to be exclusive boundary values
ain/accum.c
ain/buffers.c
ain/context.c
ain/depth.c
ain/drawpix.c
ain/state.c
ain/stencil.c
|
2bf5d9470d3232763cb49b5589209940d4d5398d |
08-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added OSMesaCreateContextExt()
rivers/osmesa/osmesa.c
|
c4c639c9a46967678725370cb9824031a068633c |
07-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed ctx->Driver.LogicOp(). ctx->Driver.Index/ColorMask() now return void. Removed SWmasking and SWLogicOpEnabled variables. LogicOps and color/index masking are no longer special-case device driver functions. The Xlib driver was the only driver that used them. Things are more uniform now.
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
rivers/windows/wmesa.c
rivers/windows/wmesa_stereo.c
ain/accum.c
ain/blend.c
ain/buffers.c
ain/context.c
ain/dd.h
ain/state.c
|
18f73b622ffa1d1cebea5556b9ebe53a9adc31ac |
07-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added xmesa_update_span_funcs()
rivers/x11/xmesaP.h
|
16c3ea9459c327c4bf357d7d719fbc84710312b6 |
07-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed Xlib driver files
akefile.X11
ain/Imakefile
ain/Makefile.X11
ain/descrip.mms
|
693f81be4c16bcec4e017e9b3189f518d157d85f |
07-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
newly organized Xlib driver files
rivers/x11/xm_api.c
rivers/x11/xm_dd.c
rivers/x11/xm_line.c
rivers/x11/xm_span.c
rivers/x11/xm_tri.c
|
38d3f3d660225150715bc06f6b33e394ba803299 |
07-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added device driver function for texture proxy testing
ain/dd.h
ain/teximage.c
|
724f2939f4cf351dba37a8d80e1a01fdcf07f3c2 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence compiler warning (zoomY0)
ain/drawpix.c
|
afa61173a86166cd0ea3389c6f5b4c617789afb7 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
test for __bsdi__ for XFree86
86/assyntax.h
|
37cfb3b5c27e1965dc089e37065750e4845b2d49 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced ## with CONCAT macro
lapi/glx86asm.py
86/glapi_x86.S
|
f96ce6a707979cbece10cd42f8b03a25d26cac65 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
oops- forgot convolution for glGetTexImage. Done now.
ain/teximage.c
|
c52fc9b49cbd6158da9e96ccd57a38197293a3e0 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
passing proxy targets to glGetTexImage() should generate GL_INVALID_ENUM
ain/teximage.c
|
9c27278acfb786c8f2fc591eef9ed0c25135bcf0 |
06-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use clear_proxy_teximage() instead of MEMSET()
ain/teximage.c
|
f75d697c0319e43ac15b42c8bbd5e956286c7005 |
05-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GetConvolution/SeparableFilter() now finished
ain/convolve.c
|
45f3634ce3e48ff891432c4f22b3e9e0d68d4c7a |
05-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added tracing facility from Loki
ain/context.c
|
3a71d05e538c24b23fbe356295e2096f8bb692d1 |
05-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added tracing facility from Loki
lapi/glapi.c
lapi/glapi.h
ain/dispatch.c
|
dca39e89119b8c2c35831ee745b2ff7da3bf11ba |
05-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added const to _mesa_select_tex_object()
ain/teximage.h
|
01e54753ff2bc1831359b04a1906f462d39f33e1 |
05-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed bug in fill_texture_image(). Clean-up in _mesaGetTexImage()
ain/teximage.c
|
513d486e75a15733729a17e4d3e0f8a164f54242 |
02-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
enabled GL_EXT_convolution and GL_ARB_imaging
ain/extensions.c
|
a805bb969199a0f2a5ca7224898a87112ccd2177 |
02-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished convolution
ain/teximage.c
|
bfc6ee1b1371605af434cc411b6e0cc9e987f95b |
02-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
destBytesPerRow was uninitialized in make_texture_image()
ain/teximage.c
|
b3fdfa1246c86c051516f3abb94902a79b24ce4a |
01-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fbiRev and tmuRev weren't getting initialized when using Glide3
rivers/glide/fxglidew.c
|
15915b03d06a34d103666235f346f1c81fb3e665 |
01-Sep-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more resolutions (Andy Sloane)
rivers/glide/fxapi.c
|
5a0d3dc7b39c041a373cb0389bc3563c87ff6c81 |
31-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
convolution for glTexImage[123]D now works
ain/teximage.c
|
b92d64e150a3b1389f5a4b6cbfe57425a77f24bf |
31-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed some variables
ain/image.c
ain/image.h
|
f93b3dd69e744cf1dd6b102a11cdb07c2df4a967 |
30-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more convolution work
ain/drawpix.c
ain/teximage.c
|
116970154dc3bb148178e1a9fe38554fbbd133c8 |
30-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_pack_float_rgba_span()
ain/image.c
ain/image.h
|
8e053916c8052b47c191f68991c126f47c72c3f3 |
30-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more extensions testing code
ain/blend.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/stencil.c
|
289d47eee5342bd7ec1c25a29d9bdc8d6f9dc4ed |
30-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished compressed texture support (Bill White)
ain/dd.h
ain/extensions.c
ain/teximage.c
ain/teximage.h
|
148fb313c5cd60cc2920e2c91fc9d632252a62f8 |
30-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added MESA_FF_R8_G8_B8 (alpha filled to 0xff) format
ain/texutil.c
ain/texutil.h
|
8aee2a3326a5a634df865c50b9f2331744a4c6fc |
29-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't free ctx inside _mesa_initialize_context() if error, caller does that.
ain/context.c
|
ef9025a641624991113b7df2eecdf7c8e330a31c |
29-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated some comments
ain/image.c
|
cf8eebee075e3f69c3daa4ea88994e07527055e4 |
23-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added convolve.h header
ain/dlist.c
ain/state.c
|
732dd6f4173917ca1e21901b9c3fa29dbd5f019f |
23-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
enabling 1D convolution caused a problem
ain/drawpix.c
|
147b08328a2ccb0c1150feaf7871037683236e33 |
23-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved convolution API functions to convolve.c
ain/convolve.c
ain/convolve.h
|
7e70874420266fb81bed13c8464ee4c0309d75b2 |
22-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished separable filter functions
ain/convolve.c
|
b5b5c52034840dbfcd3f76a9e7cde8b379e7d517 |
22-Aug-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/include/GL/glx.h Mesa/include/GL/xmesa.h Mesa/src/descrip.mms Mesa/src/X/glxheader.h Mesa/src/X/xfonts.c Mesa/src/X/xfonts.h Mesa/src-glu/descrip.mms Mesa/src-glut/capturexfont.c Mesa/src-glut/descrip.mms Mesa/src-glut/glut_cmap.c Mesa/src-glut/glut_event.c Mesa/src-glut/glut_fullscrn.c Mesa/src-glut/glut_gamemode.c Mesa/src-glut/glut_init.c Mesa/src-glut/glut_input.c Mesa/src-glut/glut_menu.c Mesa/src-glut/glut_menu2.c Mesa/src-glut/glut_overlay.c Mesa/src-glut/glut_win.c Mesa/src-glut/glut_winmisc.c Mesa/src-glut/glutint.h Mesa/src-glut/layerutil.h Mesa/vms/analyze_map.com Added Files: Mesa/include/GL/vms_x_fix.h Patches effective on VMS only. This allows for compiling with /name=(as_is,short). This breaks the binary compatibility with previous versions for VMS, but is the only way to combine Mesa with GTK for VMS. Jouk ----------------------------------------------------------------------
rivers/x11/glxheader.h
rivers/x11/xfonts.c
rivers/x11/xfonts.h
ain/descrip.mms
|
9b61162d431ecf4944f6390f7df46765a839a2d1 |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use ImageTransferState
rivers/glide/fxdd.c
|
3f8a70e5dde42ea30bc7d3ab02e3cd5c2b0cc3d6 |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added convolve.c to file list
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
a6d46f6b9922327fe9a268b003134a27ba8b931f |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
increased max convolution filter size
ain/config.h
|
d4b799b60c693ecebbbdcdb3fd6931a78b7a0e30 |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more convolution work, not done
ain/convolve.c
ain/convolve.h
|
46e8a513837ae8af03c2e69bf81dba5ae80eebfe |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
basic glDrawPixels convolution implemented
ain/drawpix.c
|
6339e621f5351e4677c5139bd91fefe6d65ef502 |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed image transfer errors
ain/colortab.c
|
fa4525e289b475b928a7b2c4055af9dd7fe46600 |
21-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented new ImageTransferState bitmask
ain/attrib.c
ain/context.c
ain/enable.c
ain/image.c
ain/image.h
ain/pixel.c
ain/state.c
ain/state.h
ain/teximage.c
|
b1097f24a8410b623deb52069ad7e66bae35944c |
16-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized glDrawPixels for glPixelZoom(1,-1) (Andrew Gee)
ain/drawpix.c
|
6f0294ca4706f5edc70c825a4efde860c7ffb7d2 |
16-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo which disabled simple_DrawPixels
ain/drawpix.c
|
e98276c8598969c101c1f4f5a908b6cc77758fd2 |
16-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some warnings (Alan H.)
ain/points.c
|
dff7924e25f83f18568b04aa3fe3f740314dde46 |
13-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed all dependencies on XMesa
rivers/x11/xfonts.c
|
094e2f1a67b522cc9e8d20add86d31b055e4a9e6 |
13-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed segfault problem when using MESA_GLX_FX
rivers/x11/xfonts.c
|
7aac6d6b8eea3fe364da0fff0904fdc668fa56ae |
09-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed depth mask bug in fxddClear(DD_DEPTH_BIT)
rivers/glide/fxdd.c
|
963946d3d7561c2bc7be2e0c739506b8d6d42815 |
08-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated version to 3.5
rivers/x11/fakeglx.c
|
042066887b09f81435f96c2a14702355d05d8290 |
08-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GetInteger/Float/Double/Boolean/Pointer device driver functions
ain/dd.h
ain/get.c
|
507d83e4cc0eb2fbc4a5ce3b87ed0b40634df5a8 |
03-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added NULL parameter checking to API functions
ain/texobj.c
|
ddf69f247fdb246b99ef6525fcfa6eda7b2e2aa7 |
02-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated Phil's email address
rivers/x11/fakeglx.c
|
585d191ae70b12aa9eb190746e6945aaa605b9ab |
02-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from mesa3d@billbaxter.com
rivers/windows/wgl.c
rivers/windows/wmesa.c
|
bd0f7f42d6413577b78c342ab2f73b8d05c81d2f |
02-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed return val bug in glAreTexturesResident()
ain/texobj.c
|
00277e836df1048eb39940e83d59cd3149a374a1 |
02-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
define GL_GLEXT_PROTOTYPES before including mesa_wgl.h
ain/glheader.h
|
6d04725282f32cbd32acbc8b79294a2a056b2158 |
02-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize texture priorities to 1.0, clean-up of _mesa_PrioritizeTextures()
ain/texobj.c
|
390488d12ead1859b075caf80d337397d99436a2 |
01-Aug-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
glGetTexParameter(GL_TEXTURE_RESIDENT) didn't query device driver
ain/texstate.c
|
85dc4e7a773de62ea10e7c884c65909f192cf9bb |
31-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
test against an epsilon magnitude in gl_rotation_matrix()
ain/matrix.c
|
f7d503376fd4a832e6fee31993551ae3852b16b0 |
21-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed beta from version string
ain/get.c
|
cc70e78d65832ad532766d091e502bca3d56f31a |
20-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for eval regression
ain/eval.c
|
206bd46e2b030a9e8a88eadbe770030cb50aee6d |
20-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
a bunch of thread-safety changes
rivers/x11/xmesaP.h
|
26f3b05fe56efc5a21996ee6b956efcc295be777 |
19-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize GenBit[STRQ] in init_texture_unit()
ain/context.c
|
d283df605eb7bdc4c519fff2701de350b94c6f4f |
19-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
restore driver depth test enable/disable state in PopAttrib()
ain/attrib.c
|
912ed380fe48a42b25fd279e2e948aca1e5a4c23 |
19-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed two bugs
ain/KNOWN_BUGS
|
a0faa7f0ec61ed1fc404b0cd88ab160e907b4a07 |
18-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed off-by-one error in compute_shine_table(). Minor code clean-up
ain/light.c
|
a62875d20e4eb1d83a4d2ae700f6118b3b5db8d2 |
17-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for gloss and sgl eval bugs.
ain/eval.c
|
d126c7f8d8ae16748a61ab4d05e3a59ee55c759f |
15-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
another tweak to optimized GL_RETURN code
ain/accum.c
|
6fae9eb4b46ec0569b0ccad7c529fbcfd8b5f1cb |
15-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed AA sampling problem, misc clean-up
ain/points.c
|
3284b5ddbae2792dd008c27bda55d2c7a18f3f24 |
14-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed references to fx_regoff.h and fx_gen_regoff.c
akefile.X11
ain/Makefile.X11
|
f19cba049d7af1824ddc0236e4ff1e910d6002a7 |
14-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed pixel color problem in general_flat_rgba_line(). Added debug code
ain/lines.c
|
f8246e2fdad5180ce300ad1ff187c248d75c12ad |
14-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added extra check to optimized GL_RETURN case
ain/accum.c
|
7eb0603574ebf36059a0813397398400221cc1e3 |
14-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
test for MESA_DEBUG = silent in gl_error(), misc clean-up
ain/context.c
|
cc8e37ffb393c892bbbf8850fef0e208c71d00f4 |
12-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
first bits of convolution code
ain/convolve.c
|
f545e2aedde0d0c09c76a7e772b333163fddba17 |
10-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for miscolored rects in display lists. Forward-port stipple bugfix.
ain/dlist.c
|
bdce2d3a19aa1450bee5332b537a0098d4071c99 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
a6ec02924746e8af94e7d6480aaa3038396cf510 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
ad2ef3347f4158c873c572a50fff36b0dd7e9fb0 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
56c760668ad9d49744f412397c2e8204e18bef0c |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
baf8bbe918ce1bd63d09b3039e962418ff3c4328 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
9fbedc8773b034d9465c1aae5f7033ae36ba5da7 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
1de8f11705df6e36cf41730ea17e7fb4f0b98059 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
a9c909df5be616b4b6fe60cee4fb56d89761de51 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
dd0b2b7f7152e8964c09518f64b74d3b53dbe7e8 |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
7c7de76f825f155feac3a8e87ad0267f2eed4ebc |
07-Jul-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
test
ain/fog.c
|
a38e117fe61efeee57adfb142296e213b6ca1ba0 |
06-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed MAX_WIDTH to 2048 to handle 2K textures
ain/config.h
|
6479a175e4e633fa15075030b729553a5481c4cb |
06-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added texture cube map state save/restore
ain/attrib.c
|
08b082ae1a7e718144615e4ed7f060f77c4aead7 |
05-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Holger's fixes for GL_EXT_texture_env_combine
ain/texstate.c
|
595fce04f6e3477a898d6634e51653d809fcb35b |
01-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added histogram sink test
ain/drawpix.c
|
6c50e16b3dfde581e23791f97697470e8f45d23d |
01-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize some color table scale/bias factors
ain/context.c
|
c29714dccb664562958cf36cdedee9c4377585d2 |
01-Jul-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
enabled GL_POST_CONVOLUTION_COLOR_TABLE
ain/drawpix.c
ain/image.c
|
20df8f5f92d3c7f83fc2138ed67fe65b58648f23 |
30-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
NeedEyeCoords if non-uniform scale transform
ain/state.c
|
fd9f740045f018ebde018ea073911faacdfb9f0f |
30-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_ONE_MINUS_CONSTANT_ALPHA bug (geza)
ain/blend.c
|
86586aa6f9331ededba194b7f37ebfce7908f9c8 |
29-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_TABLE_TOO_LARGE to gl_error()
ain/context.c
|
0dc5edf3ae86a868840796ac87b530e951339c5b |
29-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
several colortable fixes
ain/colortab.c
|
c535ba5a10d068a77615bdf74a40d7b6b1f054d4 |
29-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't add light's ambient color to BaseColor in gl_update_lighting()
ain/light.c
|
ae41a955fbafba1481264f27b11e5ad9ded384b3 |
29-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
add separate specular color support in multitextured_rgba_points()
ain/points.c
|
36b303f15d3b080ce5e67faf65e83a86e0aafbbe |
29-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added flat_multitextured_line()
ain/lines.c
|
73b5e3766fb3d0115946c6a9f6b37e53671f3a3b |
28-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed two proxy texture typos
ain/teximage.c
|
77d61af876de5ae5c309e82ece6070530cc49dfb |
28-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added code to initialize shininess tables
ain/context.c
|
904ecb2355978fb5bf709d287e82c9a8c6aeeca2 |
28-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize TextureStack matrices
ain/context.c
|
2d8db39301349f67e17fc1b21e5d33d5f44cd521 |
28-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added aligned memory allocations (Gareth Hughes)
ain/context.c
ain/matrix.c
ain/matrix.h
86/3dnow.c
86/x86.c
|
24507ff6ab91a85f98da60745bd6585499968b60 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_texture_env_combine (Holger Waechtler)
rivers/osmesa/osmesa.c
ain/context.c
ain/drawpix.c
ain/enums.c
ain/extensions.c
ain/texstate.c
|
2a1f50aee4f30dbd0c55d8f0b7185b690c841051 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_INTENSITY error checking bug
ain/colortab.c
ain/image.c
|
86a2de4f1f620a50a1a74c07f3003be640e63b56 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed bad DrawDestMask assignments
ain/state.c
|
308a7152b2adac7c6e4429e42618696aeac07a48 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed type checking error
ain/drawpix.c
|
5f1eb35ee2be8cca48aab9a53a989c9a5ff73438 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed an assertion and minor bug
ain/buffers.c
|
a25f7e1d90afa2a824e653c54be8e8686579ec3b |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
init Point.UserSize
ain/context.c
|
fd3df4b0f78d7e72aeac6c99c3691d45378cff25 |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled some ctx->NeedEyeCoords shortcuts
ain/state.c
|
de82d063d4dfaaec06d01a51b1a5b811c61712aa |
27-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updating mat ambient/emissive was broke. always compute ctx->EyeZDir
ain/light.c
ain/light.h
|
daf3778e86dce7c52fbf4db48f62e3e80ed73815 |
24-Jun-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Performance fix for unfilled triangles on mga and i810 hardware.
ain/state.c
|
39103d2e20d998fe05e23a0d9332155fb865afe3 |
23-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed ColorMask test in update_rasterflags()
ain/state.c
|
3c8299c77967611db138169c56a7c6a1c0086d1c |
22-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added FREE(depth) in error clause before return
ain/image.c
|
2af2c2b556bbac7d2d6bab416af14aecef594eea |
19-Jun-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix GL_BACK color material bug
ain/light.c
|
e4b65b6e59d3103c2e63c0b1ae6f04520dc780e5 |
19-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
check for special cases of value = 0 or 1 in glAccum
ain/accum.c
|
b92471b74c3902765225d2d71f4f243f052ab947 |
16-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced fxTMReloadSubMipMapLevel() call w/ fxTMReloadMipMapLevel() to work-around subtex bug
rivers/glide/fxddtex.c
|
7dac13272a959654f1010b80c1f1ec6dcae5a4fa |
15-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
revamped glCopyTexSubImage1/2/3D() to be more like glCopyTexImage1/2/3D()
ain/teximage.c
|
5b2a619fb245d6e33dd4bc88db26a35af2b1edaa |
15-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved #define of LLBL into assyntax.h file removed spaces from all uses of LLBL macro, for FreeBSD
86/assyntax.h
86/mmx_blend.S
|
c3501b01d1e3c8d107ee4da79549652c26bb05bc |
14-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added dummy function to silence compiler warning
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
86/3dnow.c
|
63ec4238236479a57420c6b43a09d79eff624928 |
12-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_TEXTURE_BASE_LEVEL wasn't working correctly
ain/texobj.c
|
9fb1279b71c1aa47a5802f70e4dbabcd555838b8 |
12-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
define GL_GLEXT_PROTOTYPES for glext.h
ain/glheader.h
|
b3a58bbf1df101bc15a20a52cb253d7aee787dc9 |
12-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed dispatch of GL_EXT_vertex_array functions
lapi/glapitemp.h
|
614ff87923b967cff5660786b7d8398b44671c00 |
12-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added EXT version of vertex array functions
ain/dlist.c
|
1f0e213bf88500e9c2f7ca92e57392efae5e4459 |
12-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added EXT version of vertex array functions
ain/state.c
ain/varray.c
ain/varray.h
|
ffd561e4b5dcc0f13d30519f08af0f2b5aba1419 |
11-Jun-2000 |
Jon Taylor <taylorj@ggi-project.org> |
Lots of small updates to GGIMesa, tracking LibGGI internals changes
rivers/ggi/default/genkgi_visual.c
rivers/ggi/default/linear.c
rivers/ggi/default/linear_15.c
rivers/ggi/default/linear_16.c
rivers/ggi/default/linear_24.c
rivers/ggi/default/linear_32.c
rivers/ggi/default/linear_8.c
rivers/ggi/default/stubs.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
4c07bd5709830bd11cb29d4d8b8a56e757dc0365 |
09-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
variety of updates to better conform to real GLX
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
77ee5aad27a3037895b3c645d910a1213faa62a3 |
09-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_packed_pixels extension, subset of GL 1.2
ain/extensions.c
|
9540a1dbcf213645b23c6cd9284e92a1152cca05 |
06-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_ARB_texture_compression
ain/dd.h
ain/dlist.c
ain/teximage.c
|
c470d8663341faed6943a52a3b307e89b52a24ba |
06-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bugs in fxSetupDepthTest()
rivers/glide/fxsetup.c
|
bf996dace40a8ac271cde103cd58c6ed720e3920 |
05-Jun-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() in _mesa_Fogfv()
ain/fog.c
|
7d84f5dc5b667510ab9b7cb1366ef63c9563e2a2 |
05-Jun-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . VMS max 31 character external problem. Modified Files: Mesa/src/teximage.h ----------------------------------------------------------------------
ain/teximage.h
|
ad68f17a06cc07520e1462a7261a9d1c51a136a9 |
30-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial work for GL_NV_blend_square extension
ain/blend.c
ain/extensions.c
|
ad817704fa2c6d8449f55565f07ab5592a574fb6 |
30-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_ARB_texture_cube_map
ain/teximage.c
ain/texobj.c
|
eed6f691991ed0d64752fa712c83f67eb700b9ad |
26-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glheader.h instead of system headers
rivers/glide/fxdrv.h
rivers/osmesa/osmesa.c
86/x86.c
|
1e0163272b8a7774db359b0d940d83a304efbd24 |
26-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Eero Pajarre's patch for Windows
ain/glheader.h
|
413d6a21f849a689b5c83ea04395856b44fc65a8 |
26-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_ARB_texture_cube_map
rivers/osmesa/osmesa.c
ain/context.c
ain/state.c
ain/teximage.c
ain/texobj.c
|
2c3a62013333fe624a431115c7913ae007bdd850 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced assertion with a conditional in _glapi_add_entrypoint()
lapi/glapi.c
|
5fb84d263b8068467a2429942ecf113a0a4c8a60 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed allocation/initialization of API dispatch tables
ain/context.c
ain/context.h
ain/dlist.c
ain/dlist.h
ain/state.c
ain/state.h
|
aea66b135eaa5a5f2bc8c652fa7a1a42cca2fe83 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_ARB_texture_compression
ain/dd.h
ain/extensions.c
ain/teximage.c
ain/teximage.h
|
98b88b3e70c079ce2b98221f7ef155af6417daf8 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced _mesa_base_tex_format() with base_colortab_format()
ain/colortab.c
|
478beace4758e35a61b5d5fb1aa5caed31376f18 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable and clean-up of paletted texture code
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
|
f59afc9aad4c1600e72262e90581c424b6b01e31 |
24-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
register recent GL extensions for libGL compatibility
ain/context.c
|
1207bf057aeea3376e5e0f03f789a5d67ed4d29d |
23-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial work for GL_ARB_texture_compression
ain/config.h
ain/context.c
ain/dlist.c
ain/extensions.c
ain/get.c
ain/hint.c
ain/state.c
ain/teximage.c
ain/teximage.h
ain/texstate.c
|
35d5301a54153930ee6fd60dff1010ce9f901397 |
23-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more texture cube work, misc code clean-up
ain/get.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
|
fc4b44399a07a7a7559f20ceab8a791209b4d875 |
23-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_ARB_texture_cube_map
ain/enable.c
ain/get.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texstate.c
|
df54463363729a25a7c11739d3b09f5a1e3083ef |
22-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced __CYGWIN32__ with __CYGWIN__, misc clean-up
ain/glheader.h
|
f2fc19d7851526e4fd4de73b4b9b053a6a87153d |
22-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_blend_func_separate
ain/extensions.c
|
86fc370d399167ec9bb978d053d4a72215c86c16 |
22-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial code for GL_ARB_texture_cube_map
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/teximage.c
ain/texstate.c
|
87a7897d38fe1fa4458901d15475e3306270b51e |
22-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Window-isms previously in gl.h
ain/glheader.h
|
af7ad8dded32d99631b1b42cd0dd1a1d0bdede5e |
22-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
update for Glide3
rivers/glide/fxglidew.c
|
fbbac25ad304e09a4cde52bd09b4940ac4785623 |
20-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed alignment bug in _mesa_image_row_stride()
ain/image.c
|
cc2b08ddf0c6f522172f972526ce34f74a242141 |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed internalFormat to GLenum in TexImage4DSGI and all compressed textimage calls
lapi/glapitemp.h
|
58f71ace5061339e3ceaab1da5d72285453cf3d0 |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a bunch of imaging functions
ain/dlist.c
|
2765e6848abb8def62c5b3eb4d26704446a436f1 |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added const to compressed tex image functions
lapi/glapitemp.h
|
43ddff4549dbb5459b7a30e3a04e2416023708dd |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Pass pixel format to xmesa_color_to_pixel(). Compute clearpixel without dither
rivers/x11/xmesaP.h
|
e160138d1340eca42dd30113408b4b57fb9d4e87 |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glTbufferMask3DFX(), enabled texture compression functions
lapi/glapitemp.h
|
f77064e9e2a0c6c69e1300c5975dcee4e6901a58 |
19-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
DeleteTexturesEXT was missing
86/glapi_x86.S
|
65300223fb4dc882abef70f376782330887fc6f6 |
18-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
now generated from bin/glx86asm.py script
86/glapi_x86.S
|
4420246955e629b24f341cc049c7dead0642e658 |
18-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
bunch of updates to static_functions[]
lapi/glapi.c
|
21301cdc06e7ff66af5f43d959ee8d798d8a9c2f |
18-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added tbuffer and compressed teximage extension functions
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
|
3a94f5c0ac15b233e2db429bec4de7d1e5f6e72a |
18-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Kevin's 32bpp Z buffer fix
ain/context.c
|
0c74657fe0bd8dc126062056d53a84dfee44076d |
18-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced components with internalFormat
ain/dlist.c
|
5a8a6d9ac58a8aada0b6fd51ba3b898fa34db340 |
12-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate X86 dispatch code
lapi/glx86asm.py
|
ecfdd8814e23fa1fc4c0635c2ffc45a927e87e1b |
11-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
recover from offset=? condition, code clean-up
lapi/gloffsets.py
|
3ee628f83a29753cc0a67719ecf3eba298167d49 |
11-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
recover from offset=? condition
lapi/gltable.py
|
da99cded2609312feeb656979b0c26328ed7294a |
11-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed PB bugs, removed MutablePixels, MonoPixels from GLcontext
ain/lines.c
ain/points.c
ain/state.c
|
7a39d2f833807f8defd2304b0ff180944c23ea0c |
10-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL_EXT_convolution work
ain/colortab.c
ain/image.c
ain/image.h
|
102860a4590b64b74af25880e06483da938a2b88 |
10-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed printf
ain/feedback.c
|
0665d482d2bafae09cc36ad05fa58e292cfe4ca8 |
08-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added point UserSize, cleaned up point drawing code
ain/get.c
ain/points.c
|
6698b2294f9a151b777dd4e0d1f1c3e86204617a |
07-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Err, initial code for GL_EXT_convolution, not histogram
ain/attrib.c
ain/config.h
ain/context.c
ain/enable.c
ain/get.c
ain/pixel.c
|
82b02f0ef24bf139778c8eec8d62dfa3366dff35 |
07-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial code for GL_EXT_histogram extension
ain/attrib.c
ain/config.h
ain/context.c
ain/enable.c
ain/get.c
ain/pixel.c
|
293cee76699643596b3f80404f314e07fb5e82d1 |
06-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed glDrawBuffer(GL_NONE) bug
rivers/glide/fxdd.c
rivers/glide/fxsetup.c
|
cf576500dcc9ab613abdd0556966c20ff89db036 |
06-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced buggy fxDDReadRGBAPixels() with read_R5G6B5_pixels()
rivers/glide/fxddspan.c
|
1afd946ce850fe5ffa01b24c3528fa382559ebcc |
06-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
toggle DD_LINE_SMOOTH in GL_LINE_SMOOTH case
ain/enable.c
|
cafc3b35c73b71857a6807b9b591c0ac5fbb5cec |
06-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added check for tmuRam==4 for Voodoo2 (Bernd)
rivers/glide/fxapi.c
|
9635376e446999913017c9e4e87315e5893c8264 |
05-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed the nested extern warning
86/x86.c
|
9f0289dfac0c28feee4901eb72903fa4108624d1 |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
EnvMode GL_BLEND and tex invalidate changes from Daryll
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
|
d78acfa3655733ac862fc688b1082efc8083e275 |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed software alpha flag from GLvisual struct
ain/state.c
|
065607e884e26f0df38c455cab83de8398c68ff2 |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
conditionally include some fields in the context struct for DRI / non-DRI
rivers/glide/fxdrv.h
|
0b5566a9d6eb66dc503e4551fe8824559ddde901 |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
made fxMesaCurrentCtx static
rivers/glide/fxapi.c
|
e70c623cf07f93a3e825116068d3108067988189 |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed software alpha flag from GLvisual struct
ain/buffers.c
ain/context.c
ain/context.h
|
1a1cf7ed75d799bbda34399ddab7949b8c06686e |
04-May-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented GL_EXT_histogram extension
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/image.c
ain/state.c
|
df81387dfae199a71bc55138ea5856dc05eacf24 |
22-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
call _mesa_initialize_context()
rivers/osmesa/osmesa.c
|
178a1c5a25b84bab1d5aae9e14694b531feea3ca |
22-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_initialize_buffer/visual()
ain/context.c
ain/context.h
|
9ad2ce070ee8ccf4c1b98c6a3de7a978d5465335 |
22-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old profiling code
ain/buffers.c
|
96461a25c33219d0204e86a514a22ad960c52dde |
20-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated RENDERER version
rivers/glide/fxdd.c
|
ca4a891bb36a08ae6e9c4d45b21e25820c851c3e |
20-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
rivers/glide/fxdrv.h
|
0f32948dab9fb4cc83ca63938863e568cd8af59c |
20-Apr-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Use smooth shaded triangles always. Fix SoF bug.
rivers/glide/fxsetup.c
|
71dea349d2be623b7819389428b0d6a124e8d184 |
19-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
rivers/x11/fakeglx.c
rivers/x11/xfonts.c
rivers/x11/xfonts.h
|
c397a6b28351ad97f996f913cfe9266b9f9096f6 |
18-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more color table and imaging work
ain/colortab.c
ain/drawpix.c
ain/image.c
ain/image.h
|
7b5f09c7ded33ef41955f4c9fa3e35d4c34f313a |
17-Apr-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
New clipping to avoid division by zero bug.
ain/clip.c
|
4bdcfe50f8886e43714f9b7edd25cbff19e6a97d |
17-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
dynamically allocate color table data, uses less memory
rivers/glide/fxddtex.c
ain/colortab.c
ain/colortab.h
ain/context.c
ain/pixel.c
ain/texobj.c
|
a5f4cae20a5d47bf5e0f8d1aa35650d16391097d |
17-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
work on GL_SGI_color_table
ain/colortab.c
ain/extensions.c
ain/image.c
ain/pixel.c
|
0c12733fb7a9bff685300346b55c19b4a304d1d0 |
16-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a comment about FP overflows
86/x86.c
|
83aeeb0967a5ea4b6942fd255871537026d360c4 |
16-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
cleaned up whitespace
ain/image.c
|
0501b25d69f4adca3356434570c4917615d43d73 |
16-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor updates
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
|
bc95b628fe86594b24a3663086101f43914ad561 |
16-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
wrapper for grTexLodBiasValue()
rivers/glide/fxddtex.c
rivers/glide/fxglidew.h
|
2511ba7c927af49a7595a367ce4f64f00ea7d7d3 |
14-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Bernd's changes to useBGR code
rivers/glide/fxapi.c
|
ddf9b3aa482b21375c8a72b5c854b600014c3dbf |
14-Apr-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . VMS support for pixeltex.c Modified Files: Mesa/src/descrip.mms Mesa/src/pixeltex.h ----------------------------------------------------------------------
ain/descrip.mms
|
ad2f32155f6db21c19fc2dfb002853a0bc0649af |
13-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Keith's fix for the Loki ice bug
ain/clip.c
|
179870a5b806a3ee84cb56fa20c3a003f9fc5b97 |
12-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on GL_SGI_color_table, pixel transfer code clean-up
ain/drawpix.c
ain/image.c
ain/pixel.c
ain/pixel.h
|
13811376c99addb0616c9397cc7d5715befcd8d4 |
12-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL_SGI_color_table extension work
ain/colortab.c
ain/colortab.h
ain/config.h
ain/context.c
ain/enable.c
ain/get.c
|
5223c4d33f6f1f66a30c482cd515558f0591c24a |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed alpha buffer functions
ain/blend.c
ain/buffers.c
|
716be936866dcb4cd51e774e5403e28645d5c685 |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed stencil functions
ain/buffers.c
ain/stencil.c
ain/stencil.h
|
67c01f5f67cf93dc882cbe5b783acad9f8fc338f |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed duplicate variable problem
ain/colortab.c
|
ce8e1a4f13c93679ac44233cc5eae17d12a3f8c4 |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
silenced warnings in FX_grSstPerfStats()
rivers/glide/fxglidew.c
|
b5410da76e15d670063de544569ae07f5ca9a00f |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in XF86 writeRegionClipped()
rivers/glide/fxddspan.c
|
d0130a989a3b331eb8114f1ee4addb95ce31e0e2 |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clip depth/stencil spans to window bounds
ain/depth.c
ain/depth.h
ain/drawpix.c
ain/stencil.c
ain/stencil.h
|
4fe34b27f641459acae8150cde927eb4952277ad |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial work on GL_SGI_color_table extension
ain/colortab.c
ain/context.c
|
ff3e00320e3d9a9a047dd8516ae92cadaa1e21fc |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed stride problem in read_R5G6B5_span
rivers/glide/fxddspan.c
|
43d8e2123f32c8d07f33f4a86f44951bb221837c |
11-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some more functions
lapi/glapitemp.h
|
5605798e56ca6e9f968623f33b58ee7ca90594af |
10-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glXGetFBConfigs(), fixed glXChooseFBConfig()
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
8cce314c325525498c2fa093a9a69ee4ca9f6832 |
10-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_PGI_misc_hints identifiers
ain/context.c
ain/get.c
ain/hint.c
|
ada5f1cd066efd1cd559775635e97576f5e7fb40 |
09-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a printf
ain/state.c
|
250069dbb443f26f4dcc409c9c873019a5f50f9d |
08-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_SGI_color_matrix extension
ain/config.h
ain/context.c
ain/drawpix.c
ain/extensions.c
ain/get.c
ain/image.c
ain/matrix.c
ain/pixel.c
ain/pixel.h
ain/state.c
|
767e2cf2519707f093da61495dafc80ffc82fc99 |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_SGIX/SGIS_pixel_texture
ain/dlist.c
|
b0362de32bc0ecdb022e593cdf721b7061dd6a88 |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added pixeltex.c
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
2b2e925ea4a5652b0ab73b1efbce345a42663842 |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_SGIX/SGIS_pixel_texture extension
ain/attrib.c
ain/context.c
ain/drawpix.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/state.c
|
4e0445550d6cdb0f2045507c1f63219a8a0b8d4c |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
silenced a warning
rivers/glide/fxdd.c
|
15724afd62a1466d616ac6ca4d292c46c6f86648 |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new read_R5G5B5_span() function
rivers/glide/fxddspan.c
|
0771d159d59a856135e375ba89f6af2a057d4f5b |
07-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial histogram and min/max work
ain/config.h
ain/context.c
|
3eae261da989f44c4920b1bfe247c2e1be8724ad |
06-Apr-2000 |
Holger Waechtler <holger@akaflieg.extern.tu-berlin.de> |
added CONCAT(x,y) macro in NASM/MASM section
86/assyntax.h
|
c8735e8f8299676e443e6ca0ffd339ab94e013f9 |
06-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new arguments to XMesaCreateVisual()
rivers/x11/fakeglx.c
|
d708c74ed56c04f49f37bfac6e0a9e7c26617fc1 |
06-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added extern for gl_fog_coord_stage
ain/fog.h
|
9c4f016d2171319ad8cde2366d76fd7f70520621 |
05-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups, renaming
ain/accum.c
ain/buffers.c
ain/dlist.h
|
7e67fb41fb54e050f6983b4de09ed3a317d6148f |
04-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more GL_HP_occlusion_test work
rivers/osmesa/osmesa.c
ain/context.c
ain/enable.c
ain/get.c
|
941dcc797e1a6317808c1ec43476817286d576ba |
04-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use BCOPY macro on FreeBSD
rivers/osmesa/osmesa.c
ain/accum.c
ain/depth.c
|
199d039bc365ce6b3f42037497b1e7ebe232bc69 |
01-Apr-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes for GL_HP_occlusion_test
ain/drawpix.c
ain/state.c
|
962f4269153ba954e137aab94ff4eaad4a7b02ae |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed mistake in glXGetConfig(GLX_VISUAL_CAVEAT_EXT)
rivers/x11/fakeglx.c
|
aa51bb083bf392962a6828cdd6a8c804aa19bd42 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
mask/disable stencil/accum clears in fxDDClear()
rivers/glide/fxdd.c
|
c140020182eb49d149fb602a64d999a829ac7183 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up of info messages
rivers/glide/fxtexman.c
|
7909019a3eb4a597c6d064d6e0e4ef88515e6ea7 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed Voodoo1/2/ stride problem in fxDDReadPixels()
rivers/glide/fxdd.c
|
3bbbfbf20223d753b3b82d4bf6e6769a04886b69 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
misc clean-up
rivers/glide/fxapi.c
|
4a3ccfee8042a0a88ef423cbe9c18122ffebc432 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more debugging code
rivers/glide/fxapi.c
|
e1210b176926349b258c7ec77b7f36716025c82a |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added rest of GLX_EXT_visual_rating extension
rivers/x11/fakeglx.c
|
fc68be6b111473a0bf8f991468f973bb9dd275f4 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor tweak to GLX_VISUAL_CAVEAT_EXT query
rivers/x11/fakeglx.c
|
b2e460018375f699198073a6167e0ee96ba1d267 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates for separate R/G/B/A accum buffer sizes
rivers/ggi/ggimesa.c
rivers/glide/fxapi.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/x11/fakeglx.c
rivers/x11/xmesaP.h
|
b371e0da2b51da7d941de557b62434aaaca5be02 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_create/destroy_visual()
ain/context.c
ain/context.h
|
f2123080b51f4a242bf1d73a8e566b9abb202897 |
31-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
separate R/G/B/A accum buffer size fields
ain/accum.c
ain/get.c
|
047fdf06cc6596cc250a6dc8b4ff47dbd29a0988 |
30-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized glReadPixels()
rivers/glide/fxdd.c
|
e5d68a2b7dba4d4402ee117dcaebde0b35c87956 |
30-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved PrintTexture debug function
ain/teximage.c
|
aed8a96ef22f29b29315c14af6e2148bb9e2bbda |
30-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typos in generate_lookup_tables()
ain/texutil.c
|
5ca0d13823339f7a49cb0b4e0397d599f47bea1c |
30-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed subtexture address calculation bug
ain/texutil.c
|
fffb809777837c6e77c761c4798967c0fe767880 |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed mesaStrDup() to str_dup()
lapi/glapi.c
|
57e7108b755074e97434fd791a60009e9a6ab285 |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture image download code
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
|
845bf3c2b177904443a66a79ecc1bb5d64188f3c |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of new work
ain/texutil.c
ain/texutil.h
|
4827179cc0d314f69671e97dcb016f5a3b90a213 |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes for single-copy textures
ain/dd.h
ain/teximage.c
ain/texobj.c
|
070b2644c6d3b0b4c6da64addd85245d730b6240 |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing GL_INTENSITY case in _mesa_components_in_format()
ain/image.c
|
a14ee6b081e7436cb48c7e384f9c4a3b1d3fdae8 |
29-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some buffer clear bugs
rivers/glide/fxdd.c
|
23ee049401fdaaa77240a3eb02ca4dcce421a939 |
28-Mar-2000 |
Randy Frank <rfrank@rsinc.com> |
Implemented support for the HP occlusion test extension (osmesa and X)
rivers/osmesa/osmesa.c
ain/enums.c
ain/extensions.c
|
d7361e171738d92af6b4201d69faea0c55c2601c |
27-Mar-2000 |
Randy Frank <rfrank@rsinc.com> |
Updated to compile under Irix 6.5
lapi/glapi.c
86/x86.c
|
ba3d9d0ce958dfc6161de41d9423a4b9547fb35c |
27-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed tfxMipMapLevel's used and translate fields, initial teximage clean-up
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxtexman.c
|
de5c19d139f010cf08c05af440ee3c7e5241cead |
27-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_unconvert_teximage()
ain/texutil.c
ain/texutil.h
|
021a525616bef2bafc8f60edc193b975ed2b0efa |
27-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
put _mesa prefix on some functions
ain/context.c
ain/teximage.c
ain/teximage.h
ain/texobj.c
|
56edca9f62e64189381065375a0c5efb0149a493 |
27-Mar-2000 |
Jon Taylor <taylorj@ggi-project.org> |
Minor fixups
rivers/ggi/default/stubs.c
rivers/ggi/ggimesa.c
|
9fd2b0a698163b397b0a17493e52b27273e51b63 |
25-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a Driver.TexImage call typo, misc clean-up
ain/teximage.c
|
d03dc2547756f5ed0b5538646c75e88f1fd7b526 |
24-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added texutil.c source
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
7553e3027c433964f05db622009207520427c3a6 |
24-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial check-in
ain/texutil.c
ain/texutil.h
|
d6998a714cba8bb6f487b792db5d2d271db20d86 |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new texture image functions, minor clean-up
rivers/glide/fxddtex.c
|
45c7e2abe7564880cd6d6939d8be6ab80fbdd7a5 |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some comments and new texture image functions
rivers/glide/fxdrv.h
|
b132e8da5e5f2b7da1f2141e0322e66bb0608e02 |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced decode_internal_format() with _mesa_base_tex_format()
ain/teximage.c
ain/teximage.h
|
f87c5e229f9721aba6a298230979feb18041c084 |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more clean-up and rearranging
ain/dd.h
|
ca1f44b401bcc6b06017d32905a1a6f133a598db |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Daryll's patches for texture alignment
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
|
780c4e057bbd940242874ac193dfec8738efb987 |
23-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added code to die on FP exceptions if DEBEG env var set to FP
ain/context.c
ain/glheader.h
|
29d39d52a0ac1b21f593ccb8ae3e3452f342257f |
22-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated renderer string version to 20000322
rivers/glide/fxdd.c
|
0293878846551bfe349a4aa029a0489f9a73f1ff |
22-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of changes for single-copy texture image DD interface
ain/teximage.c
|
9b8094a663f08b50f01e3bcce8d22e4415b253e4 |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed a few const keywords because of mutex calls
ain/hash.c
ain/hash.h
|
832179c50e2cf5de9735241e4767aea4d6fc33bf |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more locking
ain/dlist.c
ain/hash.c
ain/texobj.c
|
fd2e6dbbc8f5d2283b2cf282687a06d68b056e59 |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed retainInternalCopy from TexSubImage functions
ain/dd.h
|
279d9e3ea7551332d5639b514e004ee66c37d08b |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
made _mesa_native_packing const
ain/image.c
ain/image.h
|
b7d076fc96ac27117421653a043d00a95f789d24 |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed imaging functions to _mesa_ prefix
rivers/glide/fxdd.c
ain/colortab.c
ain/drawpix.c
ain/image.c
ain/image.h
ain/teximage.c
|
43911c8ef06c44d486a17cf9a8fa8ea263b08ade |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up of texture image construction
ain/teximage.c
|
ae40595b6943d41dfad0e9b500d5db70b2ad8c6e |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_image_row_stride()
ain/image.c
ain/image.h
|
8a4014c6fbc1ee3ac487ab10e3b073c62f62b85e |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
more reorganization and clean-up
ain/dd.h
|
633e1dcb2b8164f8b3229758a3317b7769c56a24 |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
rearranged order of some functions
ain/dd.h
|
2090b979980f389a764d2114850a03dcf1a0601f |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new TexImage and TexSubImage functions
ain/dd.h
|
77ce6da028589efc2f3f16cece287f56fd98ce8e |
21-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new_texture_image()
ain/teximage.c
|
f7b5707d66678f09bec652ecce024a0da6cc4a4b |
20-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added device driver functions for CopyTexImage, CopyTexSubImage, GetTexImage
ain/dd.h
ain/teximage.c
|
0555a98926fca7b15cd6c67d22d31b8efc8cc67c |
20-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_FXMESA_global_texture_lod_bias extension
rivers/glide/fxapi.c
rivers/glide/fxdd.c
|
e7eb459d27477ded5805bcb7ae841ac0bfd4b2bf |
20-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed debug printf
ain/context.c
|
4ce2d87cf6bd06104caa4dc3a30baf996b9ff08c |
19-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for Mesa 3.3
rivers/beos/GLView.cpp
|
959f802dabd4f4347dc0ea925ae687abb6938588 |
19-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed compiler warnings on BeOS R4
lapi/glapi.c
ain/accum.c
ain/attrib.c
ain/context.c
ain/context.h
ain/depth.c
ain/dlist.c
ain/image.c
ain/teximage.c
|
e7b16b74bf5d13331b5a88bbbbb9096560297b63 |
17-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence some warnings
rivers/x11/fakeglx.c
|
39c897780276f80c2df82ada6c711b8d4d744391 |
17-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing error checks
ain/hint.c
|
650cb74bcb913d2589355d56a14da1ab0307d1fc |
17-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old Depth buffer pointer var
rivers/osmesa/osmesa.c
ain/context.c
ain/depth.c
|
46f717f949dd13d7be1621873f76d6fbc620149d |
16-Mar-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for tristrip bug and unfilled quad/polygon bug
ain/config.h
|
27b2e83805b77a7d2cae5a33af41b041e4d2e4a9 |
13-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old comment
ain/polygon.c
|
7c652d77220610ecc19aaefa20876216b035e961 |
13-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed polygon stipple packing/unpacking
ain/image.c
ain/image.h
ain/polygon.c
|
ab07ef40930a187f8a9356f57533ec8b74702731 |
13-Mar-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . VMS compile support-update (AATRIANGLE.C) Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
1b2ff69f468d609a88b1cd31041df2b81931816b |
12-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial implementation of GL_HP_occlusion_test extension
ain/context.c
ain/enable.c
ain/extensions.c
ain/get.c
ain/state.c
|
516b8363bbe8e625e8e773630772da950eff7d2a |
10-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
glPopAttrib() now calls Driver's ClearColor, ClearIndex and ColorMask functions
ain/attrib.c
|
fca17350b630ce26e2335ffb29d58c9bf897accb |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed Driver.UseGlobalTexturePalette()
rivers/glide/fxdd.c
rivers/glide/fxsetup.c
ain/dd.h
ain/enable.c
|
7a7ca3f345361d26a56de767fc63a1f2d2934ea8 |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
ain/extensions.h
|
56b99de2fa355533177c2934a6dd100b1479609f |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented FX_grSstPerfStats()
rivers/glide/fxglidew.c
|
aabf086a03f27aace21f56098989f94b5697c8dd |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_texture_lod_bias extension (Michael Vance)
rivers/glide/fxddtex.c
ain/enums.c
ain/extensions.c
ain/texstate.c
|
4f92969899df9eb37d3c831cf3e17545877eda6e |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
made gl_make_fog_coords() static
ain/fog.c
|
b3f16c43508e2875d755e41aba0cd31e3d076d02 |
07-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added target parameter to Driver.TexEnv()
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
ain/dd.h
ain/texstate.c
|
7fc29c5fa7b1fc2cc014c7128ac869d0d3c24c7f |
06-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed off-by-one errors in matrix stack setup/cleanup
ain/context.c
|
0223baaf578598454a36cfdfd7fbeff3358f40ce |
04-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed obsolete logicop function
rivers/windows/wmesa.c
|
1b6592aae72e7974a16437c64f90152e83917450 |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added LineWidth device driver function
ain/attrib.c
ain/dd.h
ain/lines.c
|
4f980f4ebb0fc9ec9032a31d54cc1fd745359e0b |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
depth buffer change, BGR/RGB setup change
rivers/glide/fxapi.c
|
b440dfeee6a8823c685cfd5a0e505ce163a0d2d3 |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up warnings
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
|
ed30dfa1264ec8875a3162c3c8778bc703bf11d5 |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
runtime selectable depth buffer depth
rivers/glide/fxddspan.c
rivers/osmesa/osmesa.c
rivers/x11/fakeglx.c
ain/config.h
ain/context.c
ain/dd.h
ain/depth.c
ain/depth.h
ain/dlist.c
ain/drawpix.c
ain/feedback.c
ain/image.c
ain/matrix.c
ain/polygon.c
ain/rastpos.c
|
8df3d8ae6c48cbbe649e8cfeebd8a99f983784f7 |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
save ColorTable and ColorSubTable commands
ain/dlist.c
|
4ee75bdab562d2125836668afab22e3726732c4c |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved device driver DrawPixels call
ain/drawpix.c
|
c232ecbfdf9e098666853df2013e1f2c4c22cf53 |
03-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added device driver ReadPixels and CopyPixels functions
ain/dd.h
|
f9b9cd71d68528171a4253be027b7c182fc63ad8 |
02-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
ain/points.c
|
9d823a35134f47b9b0ed2493ff0fe49d9571c10f |
02-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
simplification of GLNAME macro setup (David Dawes)
86/assyntax.h
|
65d54604c387dca986c876e811362d8e8517dcac |
02-Mar-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
inserted static const in make_null_texture()
ain/teximage.c
|
aae9db03e43c36d164a86e2b512202ac510b8084 |
28-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added proxy texture targets to GetColorTableParameter (Steven Fuller)
ain/colortab.c
|
e5ed37fa4ed1cf2323b50d96eafb1dc00c1d6d42 |
27-Feb-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
add callbacks for stipple
ain/attrib.c
ain/dd.h
ain/lines.c
ain/polygon.c
|
3994b77bab8c62a4c1a4dffdfba233ef46662b99 |
27-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed glXCopyContext() mask to unsigned long, per GLX spec
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
7f88ac198c7753085969e4b4ba9fba31c1f1e7bb |
27-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
patched for NetBSD support (Allen Briggs)
86/assyntax.h
|
45cec8167dfcfda1991f293e39912f2fdab8280f |
25-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
inserted a tab
rivers/x11/xmesaP.h
|
c1aa1218ef301b0fd0a7c948ac38b531632ceca6 |
25-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed glXCopyContext mask back to GLuint
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
9ec28c03c07cdae1305d5911317eee8c0ca66db1 |
25-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed glXCopyContext's mask to unsigned long
rivers/x11/glxapi.c
|
bb7e2e846cc9eb963a6d6101849952a8e5d770f7 |
25-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed front/back buffer stride problem for XF86DRI
rivers/glide/fxdd.c
|
b11b0954a2c7348bc0a896e256d006eaf7db7924 |
25-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new fxDDClear(), fxDDDrawBitmp(), example extension registration code
rivers/glide/fxdd.c
|
e828bc8f61736f6ba2eff7b2d3dd24056c8b86e0 |
25-Feb-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Fog coordinate stage which drivers may use to replace standard fogging mechanism. LogicOp state change callback
rivers/x11/glxapi.c
ain/attrib.c
ain/clip.c
ain/dd.h
ain/dlist.c
ain/extensions.c
ain/fog.c
ain/lines.c
ain/varray.c
|
8ceb5c34dd4c0da73f9cb58b803a84e17e545c4b |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using SGI-specified dispatch order
lapi/glapi.c
lapi/glapitemp.h
|
7c2225373e95e0a37e744b19a2b792284678ccc7 |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
now generated with Python script
lapi/glapitable.h
|
f1a03a3709c62bfad5066e8ebceaf376aed91a12 |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more entrypoints
86/glapi_x86.S
|
ead285a9266bb5f80e68de122490a6afb88df6f3 |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
bunch of dispatch and extension-related changes
lapi/glapioffsets.h
ain/blend.c
ain/blend.h
ain/colortab.c
ain/colortab.h
ain/dlist.c
ain/get.c
ain/state.c
|
b5d049f15ef387bdd9f51d6d0b9a3c6dc59ba061 |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some error checking
lapi/gloffsets.py
|
87ae69c45dcaaf6bafe0ca210a0e2a655c63792f |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
use quotes for gl.h and glext.h includes
ain/glheader.h
|
b629b0743cbe7362f6e0bfa212ea3f6279d9cffe |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more extension entrypoints
86/glapi_x86.S
|
f3232bcaf1f875e6a7198e3b5ede3e286ceb04fa |
24-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed glXCopyContext()'s mask to unsigned long
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/glxapi.h
|
feb06c8d9ab8b4aa7590ebb1ae8a702ea62e1c57 |
23-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_blend_color is now DEFAULT_ON
ain/extensions.c
|
bfa012d98517174a38cb056060ebb21d6fe3cf4e |
23-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed a GLuint to GLint
lapi/glapi.c
|
ecfa382144894e03b50a836239f655fccccfb310 |
23-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a few glitches
lapi/glapitable.h
lapi/glapitemp.h
|
50877fb096ed8c0943ec18ad0f4887df4e154cc3 |
23-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include GL/glext.h
ain/glheader.h
|
a5116095010d6f57d71f85e5ede9d534a5099179 |
23-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
sort the offsets by number
lapi/gloffsets.py
|
feaf04a27bfe869d5a1093c5291cd6ee5865c88b |
22-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial check-in
lapi/gloffsets.py
lapi/gltable.py
|
7c8cfc69773154937cbe5bbb797595ff78ec4913 |
22-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in 24bpp ximage pixel addressing
rivers/x11/xmesaP.h
|
02da4625b89affc88df296295d549b33c37ce52c |
22-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled an fprintf in FX_grSstQueryHardware()
rivers/glide/fxglidew.c
|
8b590c0ad3d462c7e892662b7fe6791fea66ef45 |
22-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added aatriangle.c source
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
34c6d687ca49c997390ffbdee50a83495444e5bf |
22-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed off by one error in matrix stack depths (Eero Pajarre)
ain/matrix.c
|
df6a28d105a31cfdc3c7d52574ef81f9d31bd3bd |
21-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed minor bug in copytexsubimage_error_check()
ain/teximage.c
|
a5f618a291e67e74c56df235d45c3eb967ebb41f |
21-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed bug in GL_UNSIGNED_INT_10_10_10_2 unpacking
ain/image.c
|
0e3342ea29f980d3dd36783a35d1e413b282b2e4 |
21-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GL_SRC_ALPHA_SATURATE bug, lots clean-up
ain/blend.c
|
5df6816e2c3e5c71d4f2e5f28c964615029d7f58 |
21-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added CHAN_MAX, CHAN_MAXF
ain/config.h
|
21ab2588217e89f950bff32c386525292f9f773e |
17-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed driver RendererString() and ExtensionString() funcs
ain/dd.h
ain/get.c
|
b6273023a22dd971b1c2ad7f7aa4ffadfaee18f1 |
17-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced gl_ggiRendererString() with gl_ggiGetString()
rivers/ggi/ggimesa.c
|
27b4b2f003636d7f64829e0487f5f8dbc8b1eebe |
17-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced renderer_string() with get_string() func
rivers/windows/wmesa.c
|
5bd2987840567047f19cc2dad6fc5f3fb84345fc |
17-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
update fog near/far bug fix
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
|
7a0f9dbb94947110ed47c3ba4befc2d9ffb1e8c8 |
17-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated with changes from DRI project CVS
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
|
6610c2b084a01e72ac5c1602d17ef4b6b25906f6 |
13-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
initialize fxMesa->verbose with MESA_FX_INFO env var
rivers/glide/fxdd.c
|
2c9bf83b906c16a8a47b3b8b371f9de02b8362e1 |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
always include thread.h
lapi/glapi.c
|
85db3d7563f7d2d4d218506771e2a2c27b74b1b1 |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more error checking to _glapi_add_entrypoint()
lapi/glapi.c
|
3ab6bbe6135da26dfe9a9ba880386fdc98f6580a |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using dynamically allocated api dispatch tables
ain/context.c
ain/dlist.c
ain/teximage.c
|
ef5d084d3c86beb132ddf9829d28ea78cb9f0197 |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up
lapi/glapi.c
lapi/glapitable.h
|
e39ed58116bec6c938cbda42e2021ff29823a122 |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
always include <float.h>
ain/glheader.h
|
59d6da5365c876ba18a66cd51ed52b0e1d96704e |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed reference count but in DeleteTextures()
ain/texobj.c
|
bd986282f388e367fa22a232d44987e35fd06b37 |
12-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added MESA_FX_NO_SIGNALS env var (Michael Vance)
rivers/glide/fxapi.c
|
fa937f611a5fc8588acc854eaa83e5378f56b052 |
11-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed WIN32_THREADS error
lapi/glthread.c
lapi/glthread.h
|
af763d5e4379f6dc3b48fdf76332ffa31a44a5bc |
11-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added code for all GL_MESA_window_pos functions
lapi/glapioffsets.h
lapi/glapitable.h
lapi/glapitemp.h
ain/dlist.c
ain/state.c
|
ab656ba642507b722c4b3fb491724e82b31f3864 |
11-Feb-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . New compile support for FX on VMS Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
a360ab2a33d60182323de4a3f22dd8f4b8cea1e0 |
10-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
THREADS now defined by glthread.h, added more prototypes
lapi/glthread.c
lapi/glthread.h
|
3c27be3738f42cb7424483a92dd05259909e54a9 |
10-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed thread TSD initialization
lapi/glapi.c
|
a9601f1b4c57d1579aee36370e7d4bb8820de4bc |
10-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for XFree86 threads. misc clean-up
lapi/glthread.c
lapi/glthread.h
|
ee5baf274761fade0ddb19062e0fcdeceea3893c |
09-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
udpated version/copyright info
rivers/glide/fxapi.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
|
aff45fde8074c3fd64b67341ad476ec8b268afd2 |
09-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed fxDDBufferSize proto
rivers/glide/fxdrv.h
|
e78dd0243c9c1a00f8d1727827182a33f362581c |
09-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated fxDDGetString() for DRI
rivers/glide/fxdd.c
|
bab8f790aed0085ef4353db69d3c6c537f1174b6 |
09-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
glDrawPixels w/ format=GL_COLOR_INDEX was broken
ain/drawpix.c
|
99e89283d6f8f2cbe8bb85da6a0ed144b54de7f8 |
08-Feb-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/src/descrip.mms ----------------------------------------------------------------------
ain/descrip.mms
|
73e6952ad71b9c61398f906a0562e35ede5b3e29 |
08-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() calls
ain/texstate.c
|
397c9dd3755b595777faa426edf4c343e4f2e484 |
06-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
in fxSelectSingleTMUSrc_NoLock(), added check for haveTwoTMUs (Neal Tringham)
rivers/glide/fxsetup.c
|
b79d289bded99e78e6ef64c5f8c4c71770b0e145 |
06-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clearing depth buffer failed when clearing front color buffer
rivers/glide/fxdd.c
|
d4ce76275d17c3de3bdbf91f1ca5b2977c4ee02c |
06-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated with new info
ain/KNOWN_BUGS
|
0b6fec7a6f0d23348c49b430d8ffbe0f47ff0820 |
06-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing glGet cases for GL_EXT_compiled_vertex_array
ain/get.c
|
df37c6bd65dcc76b775af84252c622dbc71e4b35 |
05-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled locked arrays in glDrawRangeElements()
ain/varray.c
|
e69f1f54f9506210c58f104db80adadca0b1fe2c |
05-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARRAY_ELEMENT_LOCK_FIRST/COUNT_SGI changed to _EXT suffix
ain/enums.c
ain/get.c
|
38a683816bb00347d6e34c4b3215e57df8c9c870 |
04-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for GL_RGB5_A1 internal texture format (Eero Pajarre)
rivers/glide/fxddtex.c
|
b13fd0bc9e36379af82f100f8403990b98d791c4 |
04-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass IntFormat, not Format to fxTexGetFormat
rivers/glide/fxsetup.c
|
65cd4d80c4093e44e6a340b41e7bae3489b7ea4a |
03-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SUB_PIXEL_BITS
ain/config.h
|
539cce52483eb31db5439bdf150a2efd800633a2 |
03-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added point/line size limits to gl_constants struct
ain/context.c
ain/get.c
|
1816ec450040a070ec74fff57c3215efb6bc485d |
03-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Const.SubPixelBits
ain/context.c
ain/get.c
|
cd8e492c558c2fee3b2a837e5e68aaa2a9fd2cf8 |
03-Feb-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Updates effective and needed for VMS only Modified Files: Mesa/src/descrip.mms Mesa/src/glapitable.h ----------------------------------------------------------------------
lapi/glapitable.h
ain/descrip.mms
|
ab8de7b678f2e1954ef83e7339d388c8f2f55a4f |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
ain/fog.c
|
5829f0c960f9ccceecd2a4a1c1ce300a71ef4a0f |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed _gl prefix to _mesa_ on fog functions
ain/context.c
ain/fog.c
ain/fog.h
|
4bad6744d20b4efb713e785015dc0abb33cb929c |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced gl_ prefix with _mesa_ prefix on depth funcs
ain/buffers.c
ain/depth.c
ain/depth.h
ain/stencil.c
|
b34024bc6207efb460e621ccd9bc08b944b2c235 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced gl_ prefix with _mesa_ prefix on blend funcs
ain/blend.c
ain/blend.h
|
42fcf03e3a39eb68889f25c279203183e2d820e9 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced gl_ prefix with _mesa_ prefix
ain/attrib.c
ain/attrib.h
|
bd409f4143b20940a2111c73d3367013039491ec |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added check for IntegerAccumScaler > 0 in GL_RETURN case
ain/accum.c
|
8427d93449b69a3f6918ad43b4d7dc3083b29b3d |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed prefix to _mesa_ for a few accum functions
ain/accum.c
ain/accum.h
ain/buffers.c
|
831f8ada7bcb995e0aaf78de73ffb791ee632900 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include dispatch.h
ain/context.c
ain/dlist.c
|
a02fb6afc865a30077ae4d802a7020371c141e73 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added comments
ain/dispatch.c
ain/state.c
|
3face37ca4130b4c8e8aebcc4e25f6f19843c3fa |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include buffers.h
ain/matrix.c
|
fab9712714a3b2d185df6155b1aec1615f8dc053 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated source files
ain/descrip.mms
|
784d76024cde45b02d9a2cabcf6e5d97c605fcec |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved exec dispatch init to state.c
ain/dispatch.c
|
ea39f042c378c234b573ceead4c5194020d949c4 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated includes for source file reorg
ain/accum.c
ain/attrib.c
ain/dlist.c
ain/drawpix.c
ain/rastpos.c
ain/varray.c
|
fa9df40e8a40824942ea8c6ec17c06c28bea1102 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved state functions to state.c
ain/context.c
ain/context.h
|
23903a2338cc5931218fa310d31de002d7a7676b |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed glmisc.c, added buffers.c, hint.c, state.c
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
d0a3ea051a3825441cdc97a82fa9a9c6e7e83087 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
functions from context.c
ain/state.c
ain/state.h
|
f2dce7216766ff8753d730b9b5aa6ac63e8cb0c7 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
functions from old glmisc.c file
ain/buffers.c
ain/buffers.h
ain/hint.c
ain/hint.h
|
b086b95fed094b57b8b4ec5ef541001cd64f613b |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace offset with functionOffset in generate_entrypoint()
lapi/glapi.c
|
6b8cced81a75bfe9f4141e0cbd3b8193ab74c310 |
02-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
patch for XFree86 building
ain/dispatch.c
|
f224b12a5b3dbde3c53d3cf986ffd63da1ca5e2b |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added normal, vertex, viewport message strings
lapi/glapitemp.h
|
59668e3eb35b9b7530346719f1f69ca365072656 |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more message strings
lapi/glapitemp.h
|
075398b8795a014ec9852ae7f13db1e1cc0e15d5 |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
defined FLT_MIN if undefined
ain/light.c
|
9560f05deffaf0321bba1bd0fcc8eeef4199e6e0 |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added mutexes for thread safety
ain/context.c
ain/hash.c
ain/texobj.c
|
bc794059d81e24eaac9f603f71b659d9c2d3716e |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Mutex macros
lapi/glthread.h
|
663049a719ed76aa0a6f24f1951a411d241bc8a4 |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_TexImage3DEXT()
ain/teximage.c
ain/teximage.h
|
2b1c416e213173bbc8db6ff5daf493f331f9ffbe |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added save_TexImage3DEXT()
ain/dlist.c
|
e0a87f9087557b87f9c4abc29d18c5383c10aafd |
01-Feb-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unneeded \n chars
lapi/glapitemp.h
|
3a6eeddb8a97a61601593c8184e073a115653f34 |
31-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed message format, added GL_EXT_texture3d
ain/dispatch.c
|
976dba29650878c980b5eaae4f65b19d1eeeb25b |
31-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more function templates, changed message format
lapi/glapitemp.h
|
8fddcf3343a3da598ff8203f4569845bb41084b7 |
31-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed protos for glTexImage3DEXT and GetDetailTexFuncSGIS
lapi/glapitable.h
|
4428a3f359a791eed45c1a05d22aca9a2cce5ae5 |
31-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Josh's dynamic display assembly generator
lapi/glapi.c
|
4df415b190cc0d6dd19d09729bbce03b6acbeddb |
31-Jan-2000 |
tanner <tanner> |
include conf.h
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
|
a749f75826a2156eb7dab4b058cc2ef0da05d41d |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glapioffset.h instead of ../glapioffsets.h
86/glapi_x86.S
|
bfd2bd2b3a24723b3a9f5fc7d590ea639a92482a |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added -I. to .S.o rule
akefile.X11
ain/Makefile.X11
|
f9b97d95f9bf9286107586d6afdadae74bb94d36 |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed _glapi_CurrentContext to _glapi_Context
lapi/glapi.c
lapi/glapi.h
ain/context.c
ain/context.h
|
9f94399cf331b5b81ef5dee86b0ef02d131337c6 |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed actual GL entrypoints (glapitemp.h)
lapi/glapi.c
|
01c071340d046a909aefcca16e8fa32cbd3c8791 |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved entrypoints here from glapi.c
ain/dispatch.c
|
68ee4bc7caf5a48c8a5c51efc258e74eb9689905 |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable/disable no-context warnings depending on MESA_DEBUG
ain/context.c
|
3228421f69764c10dbbf5cd3df49f133b152515a |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added default template macros
lapi/glapitemp.h
|
8d365ab2048bfee8cd4138c15cb0371fd63f31da |
28-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments
lapi/glapitable.h
lapi/glthread.c
|
83f1d317c2996a98cca1140fd15a635d43e36b72 |
27-Jan-2000 |
Holger Waechtler <holger@akaflieg.extern.tu-berlin.de> |
added prefetchw
86/assyntax.h
|
262f9e52d6a511fffd1e6746de9d83d89cca9e1a |
27-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated version string to Mesa 3.3
rivers/x11/fakeglx.c
|
e9fa7908d16a0dcf28a1357c2c1760980d58c8ec |
27-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include conf.h if HAVE_CONFIG_H defined
lapi/glapi.c
|
04f1248ef9d6bfdac16bea5fe38342c22edbc386 |
25-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated RGB2BGR function
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
|
d8aec9b55b0180384e96cddff48fc48751bbc320 |
25-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
only print info if MESA_DEBUG is set
86/common_x86.c
|
3781b7bfa5bf0f4e69f8e9641b9d0a9af95c1562 |
25-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed VB->IndexPtr==NULL bug (Richard Guenther)
ain/feedback.c
|
ebd5feab9af92ff08c2b9280e6dfa1a44a7d1c22 |
25-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for Mesa 3.3
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
rivers/svga/svgapix.h
|
d13bfbf7c6e6a730ecc4c3fdef6ddd86ab2ea846 |
24-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed VB_MAX, no longer dependant on FX symbol
ain/config.h
|
c79fab4aa6d4c2d399c2ca888fdf0e6c310f7303 |
24-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced HashLookup() with _mesa_HashLookup()
ain/texobj.c
|
bb79790662f56eb71aafd3f020cd86ad810f56b2 |
24-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
prefixed hash functions with _mesa_
ain/context.c
ain/dlist.c
ain/hash.c
ain/hash.h
ain/texobj.c
|
35a2227547e072f1473a3c2d9c2cfc32462c6cc8 |
23-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added #ifdef SVGA, work-around asm code problem
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa16.c
rivers/svga/svgamesa24.c
rivers/svga/svgamesa32.c
rivers/svga/svgamesa8.c
|
28cf3043b69a2e6060a9c825029abd4c70977673 |
23-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added new SVGA driver files
akefile.X11
ain/Makefile.X11
|
fccc9298b8d6ba83510ed954061b098439c29a61 |
23-Jan-2000 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
prevent spaces in fp register names
86/assyntax.h
|
ade76cd4ab8d5aebfcc73d4e0edd1257e76170fe |
23-Jan-2000 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
no brackets for nasm indirect jumps
86/assyntax.h
|
069965f1709d7bcaecca0db9baf6b18e6f20f598 |
22-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated SVGA sources from Mesa 3.2
rivers/svga/svgamesa.c
rivers/svga/svgamesa15.c
rivers/svga/svgamesa15.h
rivers/svga/svgamesa16.c
rivers/svga/svgamesa16.h
rivers/svga/svgamesa24.c
rivers/svga/svgamesa24.h
rivers/svga/svgamesa32.c
rivers/svga/svgamesa32.h
rivers/svga/svgamesa8.c
rivers/svga/svgamesa8.h
rivers/svga/svgapix.h
|
e257733d0348933663ed264963d034a71f584622 |
18-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated with latest DRI tree changes
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
|
d15422a951a9c42b7f8ac8b46548a5fe3945a21f |
18-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced some spaces with a tab
akefile.X11
ain/Makefile.X11
|
ffebe69866b0ca99a135ee778ad461bc52b00230 |
18-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
generic_noop() now returns 0
ain/dispatch.c
|
5666c636936be761e7928566e82b5af2e95a11ce |
18-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed CURRENT_INPUT to _mesa_CurrentInput
ain/context.c
ain/context.h
|
5428705eee20ab73c61f952f19e4c2b29c25610c |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added X86-optimized message for MESA_INFO
ain/context.c
|
003caf24bbf87c46130cda4bb9012495b863a0e4 |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled X86-optimized dispatch when using XF86DRI (temporary)
lapi/glapi.c
|
328bb7f40f3d07bb12607839dd6a9259861af0e0 |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _glapi_Dispatch
lapi/glapi.h
|
c2319b43155a566223c4692e3b0710d98b3aeef6 |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed _mesa_Dispatch to _glapi_Dispatch, misc clean-up
lapi/glapi.c
86/glapi_x86.S
|
e23b16012fecc3ce2f60d153f3034eaf85a4aef9 |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added copyright info
86/glapi_x86.S
|
3db088f7d792021c8ed628a776355fc315a479a9 |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing POINT/LINE RANGE/GRANULARITY tokens
ain/get.c
|
3be135f0000515f677c3ca927034caa2fc669e2e |
17-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Z values were wrong in selection mode (Holger Waechtler), misc clean-up
ain/feedback.c
|
efe03ae1afbb828fe9d942accebcee6c098674e4 |
16-Jan-2000 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
x86 assembly dispatch
lapi/glapi.c
lapi/glapioffsets.h
86/glapi_x86.S
|
c26d81842a9e074d059a802033d3311ac628aa8e |
15-Jan-2000 |
Randy Frank <rfrank@rsinc.com> |
Added occlusion test code. Follows the HP proposed occlusion test extension.
rivers/osmesa/osmesa.c
|
acb6297e14a482e2ec45bc2ed535c08b1a84c249 |
14-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor change for DEBUG builds
lapi/glapi.c
|
304357dcd496f7ebf499fd9c77b4eba83a75abd5 |
14-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLcontext is now nested in OSMesaContext
rivers/osmesa/osmesa.c
|
4d053ddae8cc48dd29a75e67290cd09ed995f5c3 |
14-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added gl_initialize_context_data(), gl_free_context_data(). code clean-up
ain/context.c
ain/context.h
|
113edcc755cd6c86c7eba3929514f628d8c7c119 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added fxMesaContext arg to fxInitPixelTables()
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
|
80c6243e8b7a18114089b2411e68c1083a874cba |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_ArrayElement() proto
ain/varray.h
|
62c184258b7421b20e368ba574d1d4e330e5cb64 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added gl_register_config_var() proto
ain/config.h
|
a0020435f58baef6a67d3c073b62ea6b1d143af1 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
init a few vars to silence compiler warnings
ain/image.c
|
4fc91a1427a909b1db179cec569f12c3870e00f4 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
include dispatch.h
ain/dispatch.c
|
c7a5dbe3b3f5dd0fbbf1acdba3d3ec04d6e42811 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up of eval_coord1/2f()
ain/eval.c
|
16a9efe3ab73bb9b728100a36cf324085c1603b8 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
commented out gl_reinit_light_attrib()
ain/light.c
|
fd75e6d4e551fa21ffec6f215698609f30937d3d |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
commented out unused function
ain/matrix.c
|
4463a24909c9a34fc5ad79b26f2ce03c3ae14118 |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
ain/varray.c
|
780806f4d4987cc5c4268188451b5c209f901eff |
13-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
made some functions static
ain/dlist.c
|
0219d325053e6c7029ae4cedfbeddaefed4fe0e5 |
10-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added printf-message to dispatch templates
lapi/glapi.c
lapi/glapitemp.h
|
b3674092f20e83081f8a855da67aa3448f24c03e |
08-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed DISPATCH_SETUP, added RETURN_DISPATCH
lapi/glapi.c
lapi/glapitemp.h
|
c6c06c92b2b85cd0401fd107c825829a39d186be |
07-Jan-2000 |
Jon Taylor <taylorj@ggi-project.org> |
* Fixups to the GGIMesa code to reflect the recent DD API changes * Added a new GGIMesa debugging-print subsystem
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/default/stubs.c
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/ggi/include/ggi/mesa/display_fbdev.h
|
3c3533c5c8070fcca25247945cebedea60616082 |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing glHintPGI() function
ain/dispatch.c
ain/dlist.c
|
77aa8b9c865eb1e676a0af0cd6c28f3f7967093f |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
improved robustness of extension handling in static_functions[] array
lapi/glapi.c
|
1e4ded3bc3ea312ca7b70c975386043e27c70b63 |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glHintPGI template
lapi/glapitemp.h
|
c2bd8197e1f29390ce346444ef48775ccd0c2297 |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
added BitsPerPixel to XMesaVisual struct
rivers/x11/xmesaP.h
|
0eb3b021eee1db07244add94333f786f36e5cd0a |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed cpp conditionals from _mesa_init_exec_table()
ain/dispatch.c
|
b44c86d67cd47fbabfdbcca0d3946ae33ad85604 |
07-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed GetString template, added GL_SGI_color_table templates
lapi/glapitemp.h
|
075f184b745ed905fd4155b3104a7313ae90924c |
06-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
return GL_FALSE in fxDDColorMask
rivers/glide/fxsetup.c
|
dd020f13a6d520b46aefd4453dae6b6edcc427f6 |
06-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated Clear function for new mask bits
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
rivers/x11/xmesaP.h
|
d3c145b98a6ef51d1239b8a47f199d245e6f1fd3 |
06-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
new Clear function mask
ain/dd.h
|
276988ec96a48d4ee5c28c0a2da3aa2b5ee0bbea |
05-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up in _mesa_unpack_ubyte_color_span()
ain/image.c
|
26e14d2ea15c12a1534f3a76278f149cd0a6278c |
05-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed _glapi_ThreadSafe
lapi/glapi.c
lapi/glapi.h
ain/context.h
|
90d9e02f3ac9bda1650caaf37fe5f0e3f4ce01cf |
04-Jan-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
start search at 1 in HashFindFreeKeyBlock()
ain/hash.c
|
53a36fc0da2b8a904ff82203317d083772acfdad |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
optimized GET_IMMEDIATE for thread safety
ain/context.h
|
09cb14872e97384838b2442a328e1018fd5b2922 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
print thread safety info if MESA_INFO set
ain/context.c
|
a02b03afa495c642766cab209d189cd644b8b720 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated with latest source files
akefile.X11
ain/Makefile.DJ
ain/Makefile.X11
|
ef46f450ee6a466d5495fb44d62657c80a8d6aa7 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced mthreads.c with glthread.c
akefile.X11
ain/Makefile.X11
|
0003778847df6adb792f453df83808fefa560f18 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
further simplification of thread-related code, misc clean-up
ain/context.c
ain/context.h
|
8f91fb630c3292c6294384783d02e2e7402fc778 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added current context functions, made ThreadSafe public
lapi/glapi.c
lapi/glapi.h
|
d3c070ca6a36daa765b1ad7f44e03e6671ad0490 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old thread code
rivers/osmesa/osmesa.c
|
c633693a28caa6ba09bb04e283b485f54f4d498e |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed thread problems
ain/context.c
ain/context.h
|
590d34726d96bbe238c4c1d1b09ab5e905c4ca73 |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
more tweaking of thread support
lapi/glapi.c
|
e2b10e72a641d0450bd7c537af2929381371770f |
17-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't free thread data in pthread_key_create()
lapi/glthread.c
|
6ef84acfece561577496387447d205968cfc21da |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-up
lapi/glapi.c
lapi/glapi.h
|
bb72d326a0c5f24a05bb586d64fbacc6b8172048 |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
thread support now works
lapi/glapi.c
lapi/glapi.h
|
c11371a4e5a600a0c3a5b8e052ff4b4e4fb22820 |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial rev
lapi/glthread.c
lapi/glthread.h
|
3aecc5180509cb14cfd27f8f32e6618db21f2fcf |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor change
lapi/glapi.h
|
0c239fc6c55a6ef1ff0e3b60a4822ddea3efc751 |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
new threading, more functions added
lapi/glapi.c
|
e3a49d0cefe0a16ac8bc30463fa1277e058b320c |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more functions
lapi/glapitable.h
|
fd5d305a9fb8ab3cdddf0e7db671ff1190b46c35 |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more extension functions
lapi/glapitemp.h
|
24e50d4dea37b037f1466c1398cffa43a7a24612 |
16-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial rev
lapi/glapioffsets.h
|
acd181021da35f3cfa92ba4511ed20f430a01bc2 |
15-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _glapi_get_proc_name()
lapi/glapi.h
|
0f710258c22ca1ee4a009162c4c63562a061306a |
15-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
new thread code
lapi/glapi.c
lapi/glapi.h
|
73ee3ef749ffc6e595b9a29feddc4735c68e04c8 |
15-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed _GLAPI_ extension testing
ain/dlist.c
|
67661b04f2b31691ef8e5a557624654b25e6d553 |
15-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added many more extension entry points
lapi/glapi.c
lapi/glapi.h
lapi/glapitable.h
lapi/glapitemp.h
|
945d18a5e2fb64d150c1a66faef63b3d1c77ede1 |
13-Dec-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update for VMS only Modified Files: Mesa/src/stencil.h ----------------------------------------------------------------------
ain/stencil.h
|
6fc61407a31dc1ea2e00b803c7f6d355f278fb0d |
12-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
bitmaps were vertically shifted by one pixel
rivers/x11/xfonts.c
|
97febca0f3b589fb8c245640ac4a5dd45633784c |
11-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GLX_ARB_get_proc_address to extension list
rivers/x11/fakeglx.c
|
cd96388857255711c4e33e7d2626f199d3810d15 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented GL_ARB_tranpose_matrix
lapi/glapi.c
lapi/glapitable.h
lapi/glapitemp.h
ain/dispatch.c
ain/dlist.c
ain/extensions.c
ain/get.c
ain/matrix.c
ain/matrix.h
|
147864793248ac106f3cd06d337eddf6be102be3 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
new depth buffer functions
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxdrv.h
|
4c7fd2cfce9b5cd067837ac09309ea9eec9a96eb |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass new args to gl_create_framebuffer
rivers/glide/fxapi.c
|
d91fb9f5929d8a80dc8ea0b16d69c00342e34319 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Daryll's patches
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
|
4c44d63f01a01f134d7e4456d4209edee97f9ef5 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
pass new args to gl_create_framebuffer()
rivers/osmesa/osmesa.c
|
5c3bee503999fbc0d7c65462ff62f9e38fe40e33 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes in hardware depth buffer support
ain/context.c
ain/context.h
ain/dd.h
ain/depth.c
ain/depth.h
ain/stencil.c
|
f5abeebf491f8f8d0ae57d602fb3166b52b475b6 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Daryll's patches
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
|
5ee41bda2cbcaf77b8ce08f1735141a68a872751 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for hardware stencil support
ain/stencil.c
ain/stencil.h
|
86d518ec5b12248a985dc28021a2f8f4a2a2e525 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added stencil buffer functions
ain/dd.h
|
ab9f21e68e1484263dca002446e2ec482c27954e |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
code clean-up
ain/points.c
|
e7d9d974712646fc41cde8d73e1fb3bf78655405 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glXGetProcAddressARB()
rivers/x11/glxapi.c
|
aaeea91bd045f5693d822085adf5322b022bd092 |
10-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed gl_get_proc_address()
ain/extensions.c
ain/extensions.h
|
a1216fe3a21238c48a56d073bdd0a5a821da64a3 |
04-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clearing stencil buffer now observes the stencil write mask Optimized gl_depth_stencil_span/pixels() functions
ain/stencil.c
|
c63a8693bb2e26b703fcbb99df731f1fe7a81a26 |
04-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor stencil-related changes
ain/context.c
|
32c3255e0688d33d158b19375da085ca85075021 |
02-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
test for null newCtx before newCtx->FirstTimeCurrent
ain/context.c
|
7b0903557af6a1c2342bb1bac4ecd46a4cc509a0 |
02-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added WM_SYSKEYDOWN case in __wglMonitor() (Eero Pajarre)
rivers/glide/fxwgl.c
|
420ef64f18208a54b97e96936b741dc1531e45c8 |
01-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
gl_BindTexture was broken when target==GL_TEXTURE_3D
ain/texobj.c
|
eb6e3d3613fda6e91f3b3fd9fb1e6a656cf461db |
01-Dec-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fxInitPixelTables() change for Voodoo 1/2 vs 3
rivers/glide/fxapi.c
|
b7a4304f70c498ff68fceaf584b579ea2df91acb |
30-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
print debug info in gl_make_current() if MESA_INFO env var set
ain/context.c
|
2ed15898c42aa080d8d2030311581bdf3bd740b9 |
29-Nov-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Update makefiles for VMS due to obsolete files Modified Files: Mesa/src/descrip.mms Mesa/src/mms_depend ----------------------------------------------------------------------
ain/descrip.mms
|
e93842b6aa0e0ecb51ce39b8392a570815ae4358 |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing functions in GLX_functions[] array
rivers/x11/glxapi.c
|
36cfa38760cc2bd91c08b66bb62c4b6cf9eb5454 |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comments, removed obsolete functions
rivers/x11/fakeglx.c
|
cac5cdd6f77c8cb4f293433a90ae0e7d12ca7800 |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed include fakeglx.h
rivers/x11/xfonts.c
|
621a05d12ffa1ad60dd53ce92486113bdb7796db |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed realglx.c
akefile.X11
ain/Makefile.X11
|
71600f0ce62720fbd7b2868a351359a18d5e94bc |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
obsolete
rivers/x11/realglx.c
rivers/x11/realglx.h
|
426cb9f58f194a1e30e0908e8fc971bdcae06960 |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes for new GLX dispatcher
rivers/x11/fakeglx.c
|
e17ba7120fee25e57e7e19fc55d4dbb7b5634f1f |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
all new dispatch system
rivers/x11/glxapi.c
|
6f2311270cb30c74dc705c6e981f35bbf31ddb96 |
28-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial rev
rivers/x11/glxapi.h
|
cdc62309b425da7809375a25ca2709351704c090 |
27-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
move dispatch table size check into _mesa_init_no_op_table()
ain/dispatch.c
|
f25e1ac31f4912babb75d55c7ea86467dedf0a41 |
27-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added call to _mesa_init_no_op_table()
ain/dlist.c
|
59577b577d03d696594f53e7a76a016b3f76da4b |
27-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_init_no_op_table()
ain/dispatch.c
|
91bcefaa49cd707acc6a6407cfb0e987f8a08350 |
27-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of work on extension management
lapi/glapi.c
lapi/glapi.h
|
4329fd5e47f069ee561c789956d3be684a9a7a24 |
27-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _GLAPI_EXTRA_SLOTS symbol
lapi/glapitable.h
|
7110c37d5e0a37d64c9867af5b1a4c9316a13ed0 |
26-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
generate Z values when fog enabled (Andree Borrmann)
ain/drawpix.c
|
88590fb3423943d4b7c27bb5ab0e0d77c93fa7ec |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glapitable.h
lapi/glapi.h
|
7e1161bd2d3e603a82e9626ef89dac23732f37f7 |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using glapitemp.h to generate entrypoints
lapi/glapi.c
|
1210b0d9f31a1bee5225ddc36ff0d428ab4b92b3 |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial rev
lapi/glapitable.h
lapi/glapitemp.h
|
21217695d378a4fcf4a4213491d0f5dbe5fbdc7d |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
include glapi.h
ain/dlist.c
|
c42c33e2a10341e40389119cd60539d28e6f061a |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
bunch of changes for separate read buffer feature
rivers/x11/xmesaP.h
|
086a151f942b2bcd8b9fbc56255e45b8c89b705e |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented glXMakeContextCurrent() and glXGetCurrentReadDrawable()
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
cea0e8e6700e871bb9bcb334cb75fbfbfcdfd702 |
25-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced Driver.SetBuffer() with SetDrawBuffer() and SetReadBuffer()
rivers/glide/fxdd.c
rivers/osmesa/osmesa.c
ain/accum.c
ain/dd.h
ain/teximage.c
|
3f02f90f943a996d88abc20f74503afbb56a4c98 |
24-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for separate read/draw buffers per context
rivers/x11/xmesaP.h
ain/accum.c
ain/blend.c
ain/context.c
ain/context.h
ain/depth.c
ain/depth.h
ain/drawpix.c
ain/matrix.c
ain/stencil.c
ain/teximage.c
|
04c43deb54247377859ac338075c61300a84f714 |
23-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
another typo
ain/attrib.c
|
ad6fd8ed4daa9a1e4167476bdcd0b65195a8045a |
23-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GLX 1.3 functions
rivers/x11/glxapi.c
|
4e176ff358956b773ec486a220cc21971ed97495 |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added _mesa_clip_pixelrect()
ain/drawpix.c
ain/drawpix.h
|
78fc78e0f68a20ae90f3d4aaf361751a9185a0b9 |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up of version handling, removed GLX_EXT_get_proc_address string
rivers/x11/fakeglx.c
|
bdbd2e04c892343a742d8a4507cd4f9cda059912 |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed comment for WriteRGBSpan()
ain/dd.h
|
b82d993b03320818f88f792a9e713f7ed491bfcb |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glXGetCurrentDisplay() for GLX 1.2
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/realglx.c
rivers/x11/realglx.h
|
8acb3a1238f5b3c14400025f08044237838b1882 |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed potential bug in _mesa_ShadeModel()
ain/light.c
|
414b6e7c00d17c61049f05b76539c344dc107466 |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added SET/CLEAR/TEST_BITS macros, misc clean-up
ain/macros.h
|
f2db7ed71e8811679e8bded5dc995092341b92cc |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed shade model bug (A.Borrmann)
ain/attrib.c
|
ca1ea0ac09da2b82c92d6c68de657735dd5364fc |
22-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed redundant fxCloseHardware() decl
rivers/glide/fxdrv.h
|
f0dee6578ab658d89ec57cc476af7143fa13fde3 |
19-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
renamed struct gl_palette as struct gl_color_table
ain/colortab.c
ain/context.c
|
7fb54ae3b3e84c6344bc788a5c51272f2a1c2fa6 |
19-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates for thread safety
lapi/glapi.c
|
0498682406d23226b5bc8973e02c7b3a9e0bdeaa |
19-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates for Mesa 3.3
ain/context.c
ain/context.h
|
784657c37960b954550555a92dbe9e762c9ff488 |
19-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fixes for andree's drawarrays problems
ain/varray.c
|
653c83b9b4d922f05767d7f96429863a76996093 |
19-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
two fixes in gl_DrawArrays (Andree Borrman)
ain/varray.c
|
e160f9419c1ffa1b2e28c7a42d4458a1f54cec17 |
18-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed FX_grSstControl(), now returns FxBool
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
|
e95cc0dce32eb51ce42810abd6ccd441f2d1dcd5 |
18-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused fxTMNewTMFreeNode decl
rivers/glide/fxdrv.h
|
4b7526d001ee739ce4287e9110c9d6cd97738ba4 |
18-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
silence an uninitialized var warning
ain/drawpix.c
|
d0247f53aea8fa8677aadc8a00f75c8993be9ebc |
18-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
test visinfo, not vishandle in save_glx_visual (Wolfram Gloger)
rivers/x11/fakeglx.c
|
6630e2be01f41fb3b0fdf815e00a82d8e980f116 |
18-Nov-1999 |
Andre Werthmann <wertmann@cs.uni-potsdam.de> |
checked in the first new PIII vertex-transformation code
akefile.X11
ain/Makefile.X11
86/common_x86.c
|
80e872df2b1ed10751a99e56f8f2f342be1438e7 |
16-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
make clean removes .lo .la and .libs/
akefile.X11
ain/Makefile.X11
|
ece75acd6b35db24c102f2b40ffc30234210f1fa |
15-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed several texture state bugs found with objbug.c program
ain/context.c
|
9779220286e54e695d696b7f6f6c3341199d08e4 |
15-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
texture palette update
rivers/glide/fxddtex.c
|
de3c9791b0a1db68be25c81e8507689cf8f91ecd |
15-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
include mem.h
rivers/glide/fxdrv.h
|
9b006e00abae97dc5216cf155db484cebf915a80 |
15-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed mistake in merge regarding texture palettes
rivers/glide/fxddtex.c
|
5a95679e58b3861eae5b276a1ff0b508f409f066 |
15-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
update/merge with Daryll's X server changes
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
|
a2ee2fe36043489ca6f185a5ed63306b1dd6cff3 |
13-Nov-1999 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
fixed SSE bugs
86/assyntax.h
|
b4334b2b875c332ee1533141943904bdd3ebe58a |
13-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced EXT_color_table with EXT_paletted_texture
ain/dispatch.c
ain/dlist.c
ain/extensions.c
|
4586d8769ba85f5100d8803b0d315695189ad13b |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced _GLAPI_EXT_color_table with _GLAPI_EXT_paletted_texture
lapi/glapi.c
lapi/glapi.h
|
789cf43f18337f653e95ffc2132be26abedfa396 |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
reordered some functions
lapi/glapi.c
|
2da507defd5783d5e666e4902015f0a2dd11100b |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved assembly-related macros from types.h to glheader.h
ain/glheader.h
|
93b76c048f064455b42c345dc204b94065ad197c |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
restored the gl_Viewport function
ain/matrix.c
ain/matrix.h
|
be599f845f7acac94444ce74eff20296ed0a309f |
12-Nov-1999 |
Kendall Bennett <KendallB@scitechsoft.com> |
. More Watcom C++ warnings fixed in Mesa.
lapi/glapi.c
ain/glheader.h
|
5b974ed6a11638b6aab8bf79a0bc599b80557392 |
12-Nov-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Workaround for the VMS 32 character maximum limit.
ain/colortab.h
|
e312cf26ea1ae0445926df20c43e80363d453cb5 |
12-Nov-1999 |
Kendall Bennett <KendallB@scitechsoft.com> |
. Updates to get X86, MXX and 3DNow assembler code working with Watcom C++ and NASM. This includes lots of _ASMAPI macros to ensure that assembler functions are prototyped as __cdecl, as Watcom C++ uses register calling conventions by default. . Misc fixes to files to remove warnings generated by Watcom C++.
rivers/d3d/D3DCAPS.CPP
rivers/d3d/D3DHAL.H
rivers/d3d/D3DMESA.H
rivers/d3d/D3DRaster.cpp
rivers/d3d/D3DTEXT.CPP
rivers/d3d/D3DTextureMgr.cpp
rivers/d3d/D3DTextureMgr.h
rivers/d3d/D3DUTILS.CPP
rivers/d3d/D3Dvbrender.c
rivers/d3d/DDrawPROCS.c
rivers/d3d/DEBUG.C
rivers/d3d/DEBUG.H
rivers/d3d/MAKEFILE
rivers/d3d/NullProcs.c
rivers/d3d/OPENGL32.DEF
ain/Imakefile
ain/blend.c
ain/texobj.c
ain/varray.c
86/3dnow.c
86/assyntax.h
86/mmx.h
86/x86.c
|
b95d252c347e14825cd61b28223040cfc5d0e7de |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_texture_env_add extension
ain/extensions.c
ain/texstate.c
|
a087e348ab534a8293c0dc1eb7fda8794326259d |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added gl_extension_is_enabled()
ain/extensions.c
ain/extensions.h
|
d23f90726ae47887dbe65cdd5d7c0a8e52473958 |
12-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor clean-ups
lapi/glapi.c
|
1d5971db241be7d928e3096dff6abe597dbe7933 |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed a warning string
ain/colortab.c
|
845117bd054862baae29c4df61d5b4a61dd97f62 |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
ColorTableEXT clean-up
ain/colortab.c
ain/colortab.h
ain/dispatch.c
ain/dlist.c
|
b99db9ea7bbb3cb8c571e8c8cd852cdb73877bb6 |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated for new texture color palette struct
rivers/glide/fxddtex.c
|
eb1f282b73e8c80270c12b17f7420d43ad9c35de |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
don't include strings.h or stdio.h
lapi/glapi.c
|
3d993b7dee26635c458852e30e87e21ef664ce60 |
11-Nov-1999 |
sio <sio> |
Added missing GLAPIENTRY to glConvolution* and glCopy*
lapi/glapi.c
|
d1aeac8d1dfa7de5e68486b30a915008fd8b7207 |
11-Nov-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
version 3.3 update
ain/descrip.mms
|
cb5ecb883eb3be842ef44c61df8d4b527877c858 |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial changes for Mesa 3.3
rivers/osmesa/osmesa.c
|
fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 |
11-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
first big check-in of new Mesa 3.3 code
akefile.X11
rivers/x11/fakeglx.c
rivers/x11/glxheader.h
rivers/x11/xfonts.c
lapi/glapi.c
lapi/glapi.h
ain/Makefile.X11
ain/accum.c
ain/accum.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/clip.c
ain/clip.h
ain/colortab.c
ain/colortab.h
ain/config.h
ain/context.c
ain/context.h
ain/depth.c
ain/depth.h
ain/dispatch.c
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.c
ain/enable.h
ain/enums.c
ain/eval.c
ain/eval.h
ain/extensions.c
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/glheader.h
ain/hash.c
ain/hash.h
ain/image.c
ain/image.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.c
ain/rastpos.h
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
ain/varray.c
ain/varray.h
|
06ac59281bdad6679fb1941e31e3c4df1c12cede |
10-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for colormaterial
ain/enable.c
ain/light.c
|
6adfc6bd9e4923586df770a8f53b65f8ed2e4597 |
09-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
use glClientActiveTexture in interleaved setup
ain/varray.c
|
6a9f16edae2a21b156d1893947cc2ec35593d0a8 |
09-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
more fixes for glDrawArrays
ain/dlist.c
ain/varray.c
|
20f6c10b4170761f8d784a62e6315122f94a72dd |
09-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
second try at drawarrays fix
ain/varray.c
|
e43a3aa2934084cc8d6736780a94b5cf468b0dc7 |
09-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for (some of?) the vertex array problems
ain/varray.c
|
f6a79d045ccebaa0947fe8051ed462d97e341fb1 |
09-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo: replaced |= with != in conditional
ain/varray.c
|
c00c0b323fd46385faaa75395553247ed089eaba |
08-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
header includes clean-up (Daryll)
ain/eval.c
ain/macros.h
|
99f16d01dd508ccac9d37488bf83a7aed5c05832 |
08-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changes to silence MSVC warnings
ain/attrib.c
ain/blend.c
ain/polygon.c
ain/rastpos.c
ain/stencil.c
|
19f90e35ff1419169a2d3522e55e4de05b7ab14c |
08-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
flush pb after each line segment - for conformance
ain/lines.c
|
327c69127cf6203681d418a76186f70cc71b9212 |
08-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up of header includes (Daryll)
ain/accum.c
ain/attrib.c
ain/blend.c
ain/clip.c
ain/colortab.c
ain/context.c
ain/depth.c
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/enums.c
ain/extensions.c
ain/feedback.c
ain/fog.c
ain/image.c
ain/light.c
ain/lines.c
ain/matrix.c
ain/pixel.c
ain/polygon.c
ain/teximage.c
ain/varray.c
|
5b37c322741f019118a618bc6220f37adba4fbcd |
05-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up to reduce MSVC warnings
ain/stencil.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/varray.c
|
30990a65f8e1fd67d394f0b4a73956975a65a215 |
04-Nov-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for glerror on compilation of list containing gldrawelements calls
ain/varray.c
|
5b6677da1659b1d6c0745ab0e1f580a23ad61f12 |
03-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
include assert.h with rest of system headers
ain/accum.c
|
0dd75e288467ee55dc91050f68895570e9659645 |
03-Nov-1999 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
swap operand order for Intel style REGOFF
86/assyntax.h
|
b09a4cd913e2de612fddf5411185a257da35647c |
03-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added another fast-path in _mesa_unpack_ubyte_color_spa(), more comments
ain/image.c
|
c3f0a511a725c7b3d3d7d93b1955aaaa2bb32f0d |
03-Nov-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture image processing
ain/dlist.c
ain/image.c
ain/image.h
ain/teximage.c
ain/teximage.h
|
03d96a0ce28bebe5afd6e5a3cbc460b81ee4f4f7 |
31-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a typo in a comment
ain/dlist.c
|
364b56a20ef679805427121308db0e6a13e10b8c |
30-Oct-1999 |
Ted Jump <tjump@users.sourceforge.net> |
Added checking for FXMESA_USE_ARGB to disable pixel reformatting when not appropriate
rivers/glide/fxwgl.c
|
12cc2bfff76a386533e9675e8ad03a698a2e7bf3 |
30-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
pixel pack/unpack ImageHeight and SkipImages was not initialized
ain/context.c
|
3c14ec9b553f88a4cd4be5d8a564b54bbe81d2b4 |
30-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added a few more scale/bias/lookup functions (for future use)
ain/pixel.c
ain/pixel.h
|
4a867fcbf5c391906f516148991bc8c379db0fb2 |
27-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
disabled glXGetProcAddress code
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
98b607b57da6f7d2ae6e02906c1ae72cd1c3f311 |
26-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed stupid error in GL_RGA case in gl_pack_rgba_span()
ain/image.c
|
64b7da799fe82f566706f8b6771b9d12477e4373 |
22-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed byteswapping bug in gl_pack_rgba_span()
ain/image.c
|
3428162e27c5937291a3ea16d4cd339728ee7f52 |
22-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added optimized GL_RGB, GL_UNSIGNED_BYTE case to gl_pack_rgba_span)
ain/image.c
|
64a79b2f3ad964fa61c46bf3239634736e508a44 |
22-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
applied Jonn Carmack's patch for faster glTexSubImage2D() in Quake
ain/teximage.c
|
bc937424f13094923d67e1409f3f9b6aa38b254f |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated some comments/docs
ain/dd.h
|
5393bb3830c687fe2a3cfc558d2567ad582b4b1c |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
silenced some uninitialized var warnings
ain/points.c
|
fc811e2bfdb77365c23a8679201473bb9ec9f870 |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
silenced ininitialized var warnings
ain/teximage.c
|
88737eeedc26bf4af0d13e2d869628514b95a435 |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
silenced uninitialized variable warnings
ain/blend.c
|
2fb055d891122018e368ae3672432727d649df92 |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up of optimized GL_RETURN code
ain/accum.c
|
34c7c1838aa0e410ee9b62f8a04ed8b48e6a968b |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed divTable precision problem in GL_RETURN case
ain/accum.c
|
2c318aad9ddc67506e16c6c2b42e0f0d2edcfe41 |
21-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
enable lighting even if no light sources are turned on
ain/enable.c
|
3f17dfb8ba48d874814ce0e4a0b7d9e57feb4c36 |
20-Oct-1999 |
Ted Jump <tjump@users.sourceforge.net> |
Minor patches to cleanup some compiler warnings in MSVC
rivers/glide/fxwgl.c
|
d53573daf7bb53a41c9307339d70cfbba4f3b7a5 |
19-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a number of error-test bugs
ain/teximage.c
|
bc41b08073bd764d1844c4cc32bbd4cd0fc0b850 |
19-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
more image type error checking in draw_stencil_pixels()
ain/drawpix.c
|
f3f9b773244d0c1f5518e07127a7c273d4e3989e |
19-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up in gl_LightModelfv()
ain/light.c
|
351752caff2b151c6ddfc02c2df30ba4176e1224 |
19-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added more format/type error checking code
ain/image.c
|
d471473b5842154c0b44b7bec149401f6dab43cc |
19-Oct-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Changes to reduce the memory footprint of display lists
rivers/glide/fxdd.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxsetup.c
ain/context.c
ain/dlist.c
ain/eval.c
ain/light.c
ain/varray.c
ain/varray.h
86/3dnow.c
86/x86.c
|
91baaa3d5a34a0a746dcb70967364a388d5ca438 |
18-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
negative offsets to TexSubImage w/ texture borders caused memory corruption
ain/teximage.c
|
1e083c8c172c6107506ddbf18a94b6b772afee3e |
18-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added glGet cases for vertex array enable state
ain/get.c
|
b9d8c77ca683382f81f13b54c9aa6aeaaac6ccda |
16-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Fixed a MacOS specific compile error.
rivers/glide/fxdd.c
|
d95e2eb1a83db2a1c7e2f7850e9e0d02cb7fe2c8 |
16-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_EXT_get_proc_address
rivers/x11/fakeglx.c
|
b80429e49ef62686792e2f95c8f52b5e6c8a59a9 |
16-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_EXT_get_proc_address
ain/dlist.c
ain/extensions.c
ain/extensions.h
|
42f252fc06e6fd0bb8c95cb9d238c1416b5d50e7 |
14-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed an RGB vs CI bug in overlay visual selection
rivers/x11/fakeglx.c
|
56a5f8820ff2b441174fc10982d8f9b4b59ab8d5 |
14-Oct-1999 |
Ted Jump <tjump@users.sourceforge.net> |
Fixed parameter type for notify function pointer parameter to gl_extensions_add
ain/extensions.c
|
80af3614d88c0cac160e787de7f34b37e96cb626 |
13-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using MALLOC, CALLOC, FREE, etc macros
rivers/glide/fxddtex.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
rivers/x11/fakeglx.c
rivers/x11/xfonts.c
|
bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb |
13-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_ prefix from memory macros
rivers/osmesa/osmesa.c
ain/accum.c
ain/attrib.c
ain/context.c
ain/depth.c
ain/dlist.c
ain/enums.c
ain/eval.c
ain/extensions.c
ain/hash.c
ain/image.c
ain/macros.h
ain/matrix.c
ain/stencil.c
ain/teximage.c
ain/texobj.c
|
cd555f456bbd274f65f0312a43cce0dec4a33727 |
11-Oct-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Repaired definition of GL_CALLOC_STRUC
ain/macros.h
|
0b6c775f1c4d69813ca8135cafbdd5c5608572e6 |
11-Oct-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
#include <stdlib.h>
ain/attrib.c
ain/depth.c
|
4fbb2c627981c9283c62010e71de89f17f6a5a29 |
11-Oct-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
#include <assert.h>
ain/accum.c
|
0279e2bc3aa8eda433129c67f7042c8f93cca978 |
11-Oct-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
misc -> glmisc
ain/descrip.mms
|
567a1de66606ebbb3e54140925a84f5095101532 |
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using GL_MALLOC, GL_FREE
ain/context.c
ain/image.c
ain/texobj.c
|
60a249d009acec34bd61e12f01caf7bdf87e895c |
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using GL_MALLOC, GL_FREE
ain/depth.c
ain/dlist.c
ain/enums.c
ain/eval.c
ain/extensions.c
ain/image.c
ain/matrix.c
ain/stencil.c
ain/teximage.c
|
375853e86734ea5735aa64af3a7aa0129bc551d5 |
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed dumb typo
ain/context.c
|
826e66a21f01c779771da429be1ea67c468b27e1 |
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
now using GL_MALLOC, GL_FREE
ain/accum.c
ain/attrib.c
|
d77fa3076182f60d9e7f835b164aa17f28cf512f |
10-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added memory macros
ain/context.c
ain/macros.h
|
73d03344f43d0f5c7f25a1fea13b5c2bad37dfd9 |
10-Oct-1999 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
no underscore prefix for freebsd >= 3 (Simon Walton)
86/assyntax.h
|
6e6d4c66bd7fd64162ee453b143d7388bb051444 |
09-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
texture units now share default texture objects
ain/context.c
ain/texobj.c
|
7ec8d588abf67934edc78843dee28b9be509f4ca |
09-Oct-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed reference count bug in save_TexImage3DEXT()
ain/dlist.c
|
f8b3fc54540b76c491cee6624c48ca935b07c4b0 |
08-Oct-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fixed voodoo initialization
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
|
485f04074151686fa24d40e3eeb83029d3d8c425 |
08-Oct-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed includes & added a few hooks for the DRI.
akefile.X11
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
rivers/x11/xmesaP.h
ain/Makefile.DJ
ain/Makefile.X11
ain/accum.c
ain/attrib.c
ain/blend.c
ain/clip.c
ain/colortab.c
ain/context.c
ain/depth.c
ain/depth.h
ain/dlist.c
ain/drawpix.c
ain/enable.c
ain/eval.c
ain/extensions.c
ain/extensions.h
ain/feedback.c
ain/fog.c
ain/get.c
ain/hash.c
ain/image.c
ain/light.c
ain/lines.c
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/pixel.c
ain/points.c
ain/polygon.c
ain/rastpos.c
ain/stencil.c
ain/teximage.c
ain/texobj.c
ain/texstate.c
ain/varray.c
ain/varray.h
|
a7313e045dfd1ab439e8e01664d402ea9ce0a37e |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Added PARB support.
rivers/glide/fxglidew.h
|
3af541c541b42986c7fe2cbd5d0ccf5aebc01593 |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Added gl_ext_multitexture_ADD suport.
rivers/glide/fxddtex.c
|
37290c844cbe14f7af15ff9b54d67258fc0e5406 |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Added packed ARGB support.
rivers/glide/fxsetup.c
|
1076e7cd2169429798c1bc1c45749d941362fcc4 |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Packed RGBA support.
rivers/glide/fxglidew.c
|
6a659315cdc754e02d701353a08bd28c02e78dbd |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Packed RGB support.
rivers/glide/fxdrv.h
|
2ed47d29c63892499279fa1076e076b790ac2caa |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Added support for GL_ext_texture_add
rivers/glide/fxdd.c
|
d598ca05e16f9f4a2dece36f79cae0941692d4c0 |
05-Oct-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
Minor cleanup.
rivers/glide/fxapi.c
|
69cfdb2fcb6c6d5538aff6533b587a54fb2e74c3 |
30-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
more hooks for mga driver, including an immediate fastpath
ain/blend.c
ain/dd.h
ain/light.c
ain/texobj.c
|
0b6ae412d32ca2756f659f11d0c919812097716f |
21-Sep-1999 |
Jon Taylor <taylorj@ggi-project.org> |
Disable genkgi sublib handling until we have some sublibs to handle
rivers/ggi/default/genkgi_visual.c
|
14f8b8b5c3316117651eef2c705da37e3047d472 |
20-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Bugfix for ctx->backface_sign calculation
ain/dlist.c
ain/polygon.c
|
5a437d588975ec0e241a2bf7cc4ce3785cb476bd |
20-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Cleaning up
ain/attrib.c
ain/context.c
ain/depth.c
|
c6569511103235fd29a89ea6dd0c21913805b1d2 |
20-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
RasterMask was set incorrectly
ain/matrix.c
|
a63baa3e8dee1d1e879e660c7b2c3636f44f5e11 |
19-Sep-1999 |
Ted Jump <tjump@users.sourceforge.net> |
Removed use of GLU.H - prevents compiler warning wrt:gluGetProcAddressEXT
rivers/glide/fxwgl.c
rivers/windows/wgl.c
|
725ec81ae80e024df4a5490405dbfbc598533e6e |
19-Sep-1999 |
Ted Jump <tjump@users.sourceforge.net> |
More Win32 build compliance fixups
ain/feedback.c
ain/stencil.c
|
1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df |
18-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Large patch: - FX bug fixes. - Polygon mode and edgeflag work properly. - Clipping works with edgeflag. - Driver.ReducedPrimitiveChange() callback so drivers that implement lines & points as triangles can turn culling off before rendering groups of these primitives. - Cleaned up feedback & select primitives.
rivers/glide/fxdd.c
ain/attrib.c
ain/clip.c
ain/clip.h
ain/context.c
ain/dd.h
ain/drawpix.c
ain/enable.c
ain/feedback.c
ain/feedback.h
ain/light.c
ain/lines.c
ain/points.c
ain/stencil.c
|
39d29fe7fec304fa3638db15b868ebbcb8292167 |
17-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Fix for write-rgba-span and others
rivers/glide/fxddspan.c
|
9b563507cb00399faadafb72f6fa2b60ed0c8378 |
17-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
pad GL_TINY to 6 digits
akefile.X11
ain/Makefile.X11
|
1f256fd6b39572e16cadb6460b865a128103bf18 |
17-Sep-1999 |
Ted Jump <tjump@users.sourceforge.net> |
Win32 build req't updates
rivers/glide/fxglidew.c
|
dd4f70889464c9db132d75b3ab3cd3dbbdb9d3f2 |
16-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_get_proc_address clean-up
ain/extensions.c
|
9df2b25af1e795620909497ae7f3553834161a3c |
16-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_get_proc_address
rivers/x11/fakeglx.c
|
43c9c2cfae458cf0d7618af5f25d57c0a5ebae08 |
16-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GLX_MESA_set_3dfx_mode. clean-up of glXGetProcAddress
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
17f0efb89639251527a80744f4db52b36cf6341e |
16-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
changed version string to return 1.2
ain/get.c
|
e3f37862d25b20d952bb5740f1abfd6b6569cdaf |
16-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
Do pop for GL_VIEWPORT_BIT via. the api
ain/attrib.c
|
69b78057d10f37a79f98e251e5fe1a65eb883fba |
15-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
bumped version strings to Mesa 3.1
rivers/x11/fakeglx.c
|
212e625c24be177f488054c86647ac374e61eed5 |
15-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
new version number symbols
akefile.X11
ain/Makefile.X11
|
2f49a40a0777523e9d2bf810a6bdb0400a750a75 |
15-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added third, tiny version number to mklib scripts
akefile.X11
ain/Makefile.X11
|
af19f37b797942e08c5847cfcc9be9792b2ebc32 |
15-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused GLcontext arg from a few functions
ain/image.c
|
eada67136ac0b9377da9e176865d2d2a3c7638fe |
13-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added Eero's multitexture function patch
rivers/glide/fxwgl.c
|
9c097c0f113e58fad2a1f7c26f810606fe184a98 |
13-Sep-1999 |
Jon Taylor <taylorj@ggi-project.org> |
Re-added missing GGIMesa context bufsize structure member
rivers/ggi/include/ggi/mesa/ggimesa.h
|
0f9aed04d8510491e9adcc26310c99aa0d40066a |
12-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed typo in GetProcAddress
rivers/x11/fakeglx.c
|
d8ede96148c7a7338786d028410894f98b5c72f0 |
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up of glXGetProcAddressEXT()
rivers/x11/fakeglx.c
|
6fd3b9682268ee37d5e1150680e63604292206e9 |
11-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
bugix from raul for fxddbitmap
rivers/glide/fxdd.c
|
c5d7d70be8bc9a32db95c861ec25c368f3aee84f |
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_get_proc_address clean-up
ain/extensions.c
ain/extensions.h
|
c0e2871718ef523b3c0841e2052672dfcdb3010a |
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
include extensions.h
rivers/glide/fxdd.c
|
89a42b7e736bd9b0ab090906cab0cd047a6ec12e |
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GLX_EXT_get_proc_address
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
|
585a68c82b9d87ea094143e91fab722070b3dc73 |
11-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_EXT_get_proc_address
ain/context.c
ain/dlist.c
ain/extensions.c
ain/extensions.h
|
6c8657fa5f64044783dc22c20e7b89f188c877eb |
10-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
new DD_Z_NEVER flag
ain/depth.c
|
2ba7c1cbe44ce7d8878e311ff22fe33da0cd6329 |
10-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved gl_GetPointerv() into get.h
ain/varray.h
|
00dd504c72e7af8a171a07a952b03bc38982780a |
10-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
moved gl_GetString() into get.c
ain/get.c
ain/get.h
|
e4c15c12d89315f5913f3350a99471d6f8236e58 |
09-Sep-1999 |
Miklos Fazekas <boga@valerie.inf.elte.hu> |
More compliant error check.
ain/matrix.c
|
45224face0d942094cc4426d2c84d441661a4c62 |
08-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed TexCoordUnit from GLcontext, use Array.ActiveTexture instead
ain/context.c
ain/enable.c
ain/texstate.c
ain/varray.c
|
2ca99ca2e7dee551b8f1730dbae2513f99828cfc |
07-Sep-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
added vertices.c
akefile.X11
ain/Makefile.X11
|
9b7c843671144caf26cdff4341a2abaf1e31b325 |
05-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fixes for the mga driver
ain/matrix.c
|
324beb95f34b29b53c8863af5591fb90393a157e |
04-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for mga depthbuffer resize
ain/context.c
ain/dlist.c
|
da54ffc852996f94dcf46b0cdc40c5ff12b55496 |
03-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
more bugfixes
86/common_x86.c
|
8d8e248ab215df7e127dea1f66916e32e5cc1526 |
03-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fix for GL_COMPILE_AND_EXECUTE bug
rivers/x11/fakeglx.c
|
b6e6937287eb92945e5e66db1c110861bf389085 |
02-Sep-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
fixed GL_FRONT_AND_BACK cull bug
ain/context.c
|
a4bb2ef30ef05c5ed2f9d3d95e2133ca6c227aa6 |
30-Aug-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Added vertices.c to compile list
ain/descrip.mms
|
d858a651d8569a6fd47ee4ee55b27e24a1542a47 |
29-Aug-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
removed bogus call
rivers/glide/fxapi.c
|
50149b085e3695e1945922d9971f80ce35932690 |
29-Aug-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
more fixes on the fast path
rivers/glide/fxdrv.h
|
3875679607fb3359a88ca6c21568d95eb509926b |
29-Aug-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
new files to support vertex-based geometry
ain/context.c
|
4f738b4c1010ddf2e1dc404c198137abeef117d4 |
28-Aug-1999 |
Josh Vanderhoof <joshv@users.sourceforge.net> |
features weren
86/common_x86.c
|
a43cfd71da2fddd6df201f64814d4a8a6d8e7eb9 |
27-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
Fixed double buffering bug when running in X
rivers/ggi/ggimesa.c
|
443dd9fd4dba5a5769a0ead41ab15329a87314dc |
27-Aug-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
This time the correct file
ain/descrip.mms
|
2be79c1aa2c168b7ecfb8289ce462ffb1de935eb |
26-Aug-1999 |
Keith Whitwell <keith@tungstengraphics.com> |
various pipeline bugs
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxdrv.h
ain/context.c
ain/dlist.c
ain/enable.c
ain/polygon.c
ain/varray.c
86/common_x86.c
|
49160c9a818f979995ddc872b504c8877b26f531 |
24-Aug-1999 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Update after disk crash
ain/descrip.mms
|
668b4ab2fa06c27d423a79f4fe93ae1af62252c7 |
24-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/stubs.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/ggimesa.c
rivers/ggi/include/ggi/mesa/ggimesa.h
|
7b9c36d568c7bc8d49d45b95933d799c8fddc721 |
23-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/ggimesa.c
|
72fc9a527d29b731969bc5c94c51467f32f5a2e9 |
22-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/genkgi.conf.in
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/include/ggi/mesa/display_fbdev.h
|
14c53fe1d5490b94138ca570890f734641e99dac |
22-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/genkgi.conf.in
rivers/ggi/default/genkgi_visual.c
rivers/ggi/display/fbdev.conf.in
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
|
035e8d01439b2b77501329db1f5f9a1d370f7388 |
22-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/genkgi.conf.in
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
|
b35b28e4d942da206bc74fbbbd520f71fa6b6209 |
21-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/linear_15.c
rivers/ggi/default/linear_16.c
rivers/ggi/default/linear_24.c
rivers/ggi/default/linear_32.c
rivers/ggi/default/linear_8.c
|
95dcb43951b5d3c99514d1f2a50ea797217d328d |
21-Aug-1999 |
Jon Taylor <taylorj@ggi-project.org> |
*** empty log message ***
rivers/ggi/default/genkgi.conf.in
rivers/ggi/default/genkgi.h
rivers/ggi/default/genkgi_mode.c
rivers/ggi/default/genkgi_visual.c
rivers/ggi/default/linear.c
rivers/ggi/default/linear_15.c
rivers/ggi/default/linear_16.c
rivers/ggi/default/linear_24.c
rivers/ggi/default/linear_32.c
rivers/ggi/default/linear_8.c
rivers/ggi/default/stubs.c
rivers/ggi/display/fbdev.conf.in
rivers/ggi/display/fbdev_mode.c
rivers/ggi/display/fbdev_visual.c
rivers/ggi/include/ggi/mesa/debug.h
rivers/ggi/include/ggi/mesa/display_fbdev.h
rivers/ggi/include/ggi/mesa/ggimesa.h
rivers/ggi/include/ggi/mesa/ggimesa_int.h
|
b30e70436c614629b654664cb36a4f35276d93ad |
19-Aug-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed alpha channel problem in gl_blend_pixels()
ain/blend.c
|
65b5e1e3fda8749adb0a0c3f3a219df8b11700da |
19-Aug-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
glIsEnabled(GL_TEXTURE_3D) was wrong
ain/enable.c
|
cddc583aeb8b7bbfccd34999234b1e92fa9b8d43 |
19-Aug-1999 |
Brian Paul <brian.paul@tungstengraphics.com> |
testing
ain/accum.c
|
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c |
19-Aug-1999 |
jtg <jtg> |
Initial revision
akefile.X11
rivers/allegro/amesa.c
rivers/allegro/direct.h
rivers/allegro/generic.h
rivers/beos/GLView.cpp
rivers/d3d/D3DCAPS.CPP
rivers/d3d/D3DHAL.H
rivers/d3d/D3DInit.cpp
rivers/d3d/D3DMESA.H
rivers/d3d/D3DRaster.cpp
rivers/d3d/D3DShared.h
rivers/d3d/D3DTEXT.CPP
rivers/d3d/D3DTextureMgr.cpp
rivers/d3d/D3DTextureMgr.h
rivers/d3d/D3DUTILS.CPP
rivers/d3d/D3Dvbrender.c
rivers/d3d/DDrawPROCS.c
rivers/d3d/DEBUG.C
rivers/d3d/DEBUG.H
rivers/d3d/DbgEnv.bat
rivers/d3d/MAKEFILE
rivers/d3d/NULLProcs.h
rivers/d3d/NullProcs.c
rivers/d3d/OPENGL32.DEF
rivers/d3d/WGL.C
rivers/d3d/d3dText.h
rivers/dos/DEPEND.DOS
rivers/dos/dosmesa.c
rivers/ggi/ggimesa.conf.in
rivers/glide/fxapi.c
rivers/glide/fxdd.c
rivers/glide/fxddspan.c
rivers/glide/fxddtex.c
rivers/glide/fxdrv.h
rivers/glide/fxglidew.c
rivers/glide/fxglidew.h
rivers/glide/fxopengl.def
rivers/glide/fxsetup.c
rivers/glide/fxtexman.c
rivers/glide/fxwgl.c
rivers/osmesa/osmesa.c
rivers/svga/svgamesa.c
rivers/windows/colors.h
rivers/windows/mesa_extend.c
rivers/windows/mesa_extend.h
rivers/windows/stereo.h
rivers/windows/wgl.c
rivers/windows/wing32.def
rivers/windows/wmesa.c
rivers/windows/wmesaBackup.c
rivers/windows/wmesaOld.c
rivers/windows/wmesa_stereo.c
rivers/windows/wmesadef.h
rivers/x11/fakeglx.c
rivers/x11/glxapi.c
rivers/x11/realglx.c
rivers/x11/realglx.h
rivers/x11/xfonts.c
rivers/x11/xmesaP.h
ain/Imakefile
ain/KNOWN_BUGS
ain/Makefile.DJ
ain/Makefile.X11
ain/accum.c
ain/accum.h
ain/attrib.c
ain/attrib.h
ain/blend.c
ain/blend.h
ain/clip.c
ain/clip.h
ain/colortab.c
ain/colortab.h
ain/config.h
ain/context.c
ain/context.h
ain/dd.h
ain/depth.c
ain/depth.h
ain/descrip.mms
ain/dlist.c
ain/dlist.h
ain/drawpix.c
ain/drawpix.h
ain/enable.c
ain/enable.h
ain/enums.c
ain/enums.h
ain/eval.c
ain/eval.h
ain/extensions.c
ain/extensions.h
ain/feedback.c
ain/feedback.h
ain/fog.c
ain/fog.h
ain/get.c
ain/get.h
ain/hash.c
ain/hash.h
ain/image.c
ain/image.h
ain/light.c
ain/light.h
ain/lines.c
ain/lines.h
ain/macros.h
ain/matrix.c
ain/matrix.h
ain/mesa.conf
ain/pixel.c
ain/pixel.h
ain/points.c
ain/points.h
ain/polygon.c
ain/polygon.h
ain/rastpos.c
ain/rastpos.h
ain/simple_list.h
ain/stencil.c
ain/stencil.h
ain/teximage.c
ain/teximage.h
ain/texobj.c
ain/texobj.h
ain/texstate.c
ain/texstate.h
ain/varray.c
ain/varray.h
86/3dnow.c
86/3dnow.h
86/assyntax.h
86/common_x86.c
86/mmx.h
86/mmx_blend.S
86/x86.c
86/x86.h
|